summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
Commit message (Collapse)AuthorAgeFilesLines
* CheckPostPerm depends on currboard. However, it's undefined in your mailbox.victor2007-04-161-5/+3
| | | | | | | There is another haspostperm() after that, let me assume it's enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add LOGPOSTin22007-03-281-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip non-existing board for do_crosspostptt2007-03-271-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move text to the rightwens2007-02-161-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* big hole in lock postwens2007-01-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug of the cost of deleting postptt2007-01-181-7/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug on stamp file which does unnecessary memset sometimes.ptt2007-01-111-5/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* copy post's metadata (including money) while it is deleted.ptt2007-01-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* If post in board with BRD_BAD attribute won't add the post number.ptt2007-01-071-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a typo in delete_allpostptt2007-01-071-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug.ptt2007-01-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix a bug that files' stamp in the same board are not in order.ptt2007-01-071-4/+19
| | | | | | | | | 2. delete user's posts when the id is deleted git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3466 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix an off-by-1 bugptt2007-01-061-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3465 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Automatically delete cross postptt2007-01-061-16/+94
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* crosspost to Test board does not count as a postscw2006-12-261-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* request reason for police actionswens2006-10-011-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article lock sends copy to BM and PoliceLog boardwens2006-10-011-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typowens2006-09-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * police logswens2006-09-281-12/+19
| | | | | | | | | * lock article confirmation * change permission of police actions (BMs are not allowed) * remove police info from lock article git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of do crosspostptt2006-09-251-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add log to Lock/unlock fileptt2006-09-251-1/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change key of locking post from Ctrl('L') to Ctrl('E') ptt2006-09-241-33/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Lock post for police and BMptt2006-09-241-22/+54
| | | | | | | | | | 2. BM and Police can set board cool down 3. All post posted by new account (<14 days) will show in NEWIDPOST board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enum usage fix, saved few bytes.kcwu2006-09-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* deny abuse of recommendation, don't recommend too frequently.kcwu2006-09-171-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix cooldown bugwens2006-07-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no reply can only be set by super group ops or sysopswens2006-07-281-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2006-07-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change how badpost limit is counted, so default value of 0 will workwens2006-07-251-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add badposts as post/vote limitwens2006-07-251-0/+40
| | | | | | | show post limits on board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forgot newlinewens2006-07-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3383 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add no reply to boardswens2006-07-221-1/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugs...wens2006-07-031-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in r3375wens2006-07-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limit recommendwens2006-07-011-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify last commitwens2006-07-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* group ops can alter posting limitswens2006-07-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.remove str_checksum() (use StringHash() now)in22006-06-161-1/+1
| | | | | | | 2.prevent cross posting from mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Update btotal of the recording board when recording bad post.scw2006-04-241-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-2/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent board master use gamble race condition to earn illegal money.kcwu2006-04-081-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3335 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs.c message update to fix the situationscw2006-01-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some strncpy with strlcpy, or just strcpy if src is constvictor2006-01-121-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-041-0/+1
| | | | | | | | | 2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitscw2005-12-141-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * recording bad post judgement made by BM on boardscw2005-12-141-2/+24
| | | | | | | | defined by BAD_POST_RECORD * post older than a week cannot be made bad post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reverse r3247,r3248victor2005-11-221-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass through directly if there's no board notevictor2005-11-221-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove deadc0de for deprecated featurevictor2005-11-211-14/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-211-8/+0
| | | | | | | | | | remove unused and deprecated features return NULL if malloc(0) buildAnnounce: qsort takes pointer ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERMISSION can be changed even if the user is online.ptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-271-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a long feast that make statusbar unterminated (ANSI_RESET).piaip2005-10-111-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make check_cooldown work for recommendationpiaip2005-09-281-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose ver.cpiaip2005-09-201-5/+5
| | | | | | | pretty print for board-config (I) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-181-2/+2
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation ip log optional, piaip2005-09-171-27/+46
| | | | | | | toggled by BMs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose msg and skip multilogin check for debugsleepingpiaip2005-09-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make textlen an optionpiaip2005-09-151-4/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3177 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous N fixes again... orzpiaip2005-09-151-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix again: touch file record.piaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch, logic errorpiaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous offset-by-one errorpiaip2005-09-151-1/+2
| | | | | | | | | --This line, afind those below, will be ignored-- M mbbsd/bbs.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* real main text editing.piaip2005-09-151-13/+51
| | | | | | | recommendation/comments are not modifiable now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* match current user behaviorpiaip2005-09-151-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default recommendation is now (add comment only).piaip2005-09-151-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make cplog compatiblepiaip2005-09-151-6/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new recommendation style: (#undef GUESTRECOMMEND)piaip2005-09-151-21/+48
| | | | | | | | | | record date/time. IP is omitted because article owner may modify it. If guest is allowed to recommend, then use old style recommendation log to keep IP info. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some debug codes were checked in accidentally in last patchset (r3136).piaip2005-09-081-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wide terminal rules.piaip2005-09-081-0/+2
| | | | | | | This time we have userlist and mailbox support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typo in previous patchpiaip2005-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help compatible with traditional C.piaip2005-09-071-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-281-104/+105
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate more compiler warningspiaip2005-08-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3083 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate compiler warnings (mostly signed/unsigned)piaip2005-08-251-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Big E (re-edit_post) enhanced:piaip2005-08-251-2/+54
| | | | | | | | - remove unsaved temp file (hope so) - check if file was modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set*() family functions all assume buffer size = PATHLEN, to prevent buffer ↵kcwu2005-08-231-5/+5
| | | | | | | | | overflow. do some s/256/PATHLEN/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-big5 typo in r3012piaip2005-08-091-6/+8
| | | | | | | and make locking more solid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. let is unable to use gamble command if the board is under violation.ptt2005-08-081-0/+11
| | | | | | | 2. unable to open ticket while the CPU loading is high. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3012 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-081-1/+1
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-08-081-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New chess frameworkscw2005-08-081-1/+0
| | | | | | | | | | | | | * Provides common parts of all chess games * Chinese chess fully ported * Improved watching * Leaving possibility to implement replaying !!!NOTE!!! Protocal not backward compatible, STOP ALL clients before upgrade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msgs updatespiaip2005-08-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revision 3000piaip2005-08-061-5/+48
| | | | | | | - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money system upgrade againpiaip2005-08-061-3/+8
| | | | | | | now fully works(hope so). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-061-48/+56
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-061-6/+12
| | | | | | | New api: *lr family calls are used to pad and fir terminal width. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-14/+32
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* various money related fixpiaip2005-08-061-12/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental select_readptt2005-08-051-5/+18
| | | | | | | | fix 'Q' in view post money. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BM logic error @@ orzpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix b_config msg max heightpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix long bm+title display bugpiaip2005-08-051-5/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi.money updates,piaip2005-08-051-12/+62
| | | | | | | | - experimental money listing mode - prevent unread black-hole mails git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make compiler happypiaip2005-08-051-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* post post ALLHIDPOST for hidden boards.ptt2005-08-041-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let BM decide fast recommendation durationpiaip2005-07-281-18/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some users complained about restricting fast recommendationpiaip2005-07-281-5/+23
| | | | | | | will make them not able to recommend different articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restrict fast recommendationpiaip2005-07-261-2/+18
| | | | | | | - release large memory buffer for CopyBuffer(announce.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warning msgpiaip2005-07-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent scroll for all situation!piaip2005-07-251-2/+2
| | | | | | | | because some people complained about scrolling makes their useless head dizzy. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation system betterpiaip2005-07-251-1/+11
| | | | | | | | - prevent waterball overwrites recommendation - eliminate confirm scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help normal user to query board modepiaip2005-07-251-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* After discussion on PttSuggest and with PTT SYSOPs,piaip2005-07-241-8/+8
| | | | | | | | | decided to change auto cp log to a postive option. WARNING: YOU MUST INVERSE ALL AUTOCPLOG OPTIONS (which was NOCPLOG) AFTER THIS PATCH APPLIED. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2950 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation: a more elegant UIpiaip2005-07-241-38/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrated board attr setuppiaip2005-07-241-55/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove complex #ifdef'spiaip2005-07-241-21/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix msg errorpiaip2005-07-231-2/+2
| | | | | | | - make old compilers happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* option to toggle cp auto logpiaip2005-07-231-19/+81
| | | | | | | | for both entire site def and board conf. also updated board conf (for recommendation/cp auto log) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2944 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo fixpiaip2005-07-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2943 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cp log format updatepiaip2005-07-231-5/+15
| | | | | | | cp with invis board mosaic format update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust cp log color/stylepiaip2005-07-221-4/+6
| | | | | | | and we should update board record. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if cp to invisible board, mosaic the destination namepiaip2005-07-221-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#30: realtime board perm updatepiaip2005-07-221-1/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#31, both implemented.piaip2005-07-221-5/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message,piaip2005-07-181-0/+3
| | | | | | | and disable recommendation scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - scroll for recommending articlespiaip2005-07-161-0/+3
| | | | | | | - confirm vote_admin git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation system, updated for result previewpiaip2005-07-091-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tricky way to solve ticket #24, part 2piaip2005-07-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket#24 first partpiaip2005-07-091-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free, make gcc 4.0 happyvictor2005-07-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: to make gcc4 happy with signed/unsigned issuepiaip2005-07-071-0/+2
| | | | | | | bbs: eliminate warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* position updatepiaip2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation compatible modepiaip2005-07-071-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format.piaip2005-07-071-10/+46
| | | | | | | | boardhelp is fixed ('cause i used large term lasttime) and recommendation system is now better. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix write_header for outside edit.cpiaip2005-07-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: should set FILE_BOTTOM after checking, patch submitted by ↵kcwu2005-07-061-2/+3
| | | | | | CatMan@ptt2. fixed #15. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-041-4/+4
| | | | | | | turn off FOREIGN_REG by default in sample/pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* misc update:piaip2005-07-031-0/+10
| | | | | | | | | | fix recent PttBug/PttSuggest request - bid prompt - tag display bug - category colors git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/版/板/in22005-06-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* articles in FILE_BOTTOM could be editedin22005-06-261-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. patch of defining BBSENAMEptt2005-06-221-0/+3
| | | | | | | | | | | | 2. chage log format for red envelope 3. remove unused function give_money_log 4. add log for deleting a post. (who delete it) 5. add log for changing basic permission. 6. add log for changing user's password and mail to notify user and witnesses. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* articles in Security or FILE_BOTTOM should not be edited.in22005-06-191-6/+7
| | | | | | | | guest should not edit his articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-31/+31
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug that END usually gets "no articles" in ALLPOST.piaip2005-06-141-1/+8
| | | | | | | read.c: add HOME to 1st article. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update board notes behaviorpiaip2005-06-131-2/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* animated board notespiaip2005-06-121-5/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* when some files were corrupted (disappeared on disk)piaip2005-06-121-2/+3
| | | | | | | | the read mark was not updated so 'unread' flag couldn't be removed. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-28/+34
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix wrong prototype for r2732scw2005-05-241-0/+4
| | | | | | | | | * fix link error without defining USE_COOLDOWN * clean flag in curredit after replying (thanks peter53.bbs@ptt2.cc) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamically change the limitation of waterpost according to the number of users.ptt2005-05-191-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Cooldown does not prevent SYSOPs & BMs from seeing number of users in ↵wens2005-05-161-1/+1
| | | | | | current board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2722 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seGga's suggestion: ptt2005-05-111-10/+12
| | | | | | | | in categories of badpost the default is cancel. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typoptt2005-05-071-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no_water_post only for nuser>50.ptt2005-05-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2718 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* corrected typosptt2005-05-071-38/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.kick people before give them ticket.ptt2005-05-061-28/+33
| | | | | | | | | | 2.set bad post -> 1 hour can't post. 3.maxiam 9 post whin 3 min. 4.one ticket for every 5 bad post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed vedit crash issues when long lines caused split()piaip2005-04-261-1/+1
| | | | | | | | being called frequently. also update previous patch (typo). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* workarounds to eliminate bugs: weather out of date,piaip2005-04-261-0/+3
| | | | | | | viewpostmoney does not work with FILE_BOTTOM. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer overflow: file path [64] is too small!piaip2005-04-211-4/+4
| | | | | | | use PATHLEN instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-181-3/+2
| | | | | | | 2. hack to prevent ^W SIGSEGV when parent is incorrect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* array index off by 1 bugkcwu2005-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more statistickcwu2005-03-271-0/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead code. its key has been overrided.kcwu2005-03-271-85/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2677 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* currboard is constant pointerkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save about 500 bytes stackkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-47/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove display of board users when cool downptt2005-03-191-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-5/+5
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change the display of L+M. It become '!' ptt2005-03-151-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only articles with S and M flags could not be pushed.in22005-03-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2613in22005-03-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use Copy() instead Link() for most casesin22005-03-131-22/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dark screen bugptt2005-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solved what DonaldLam said about allpost problemptt2005-03-131-29/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, 587 byteskcwu2005-03-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable to local, save another 536 byteskcwu2005-03-121-15/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-101-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-091-0/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2005-03-031-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post limits do not apply to BMs and SYSOPswens2005-03-031-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add regtime to post & vote limitswens2005-03-031-10/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 'internal error' when deleting articles from other sites.in22005-02-251-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-241-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a warning message if SYSOP enters a hidden boardin22005-02-121-0/+7
| | | | | | | and s/he is not in its board friend list. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check if uid is in range in deumoney(). or damage SHM.in22005-02-121-2/+2
| | | | | | | | | this checking should be done in upper layer or users could not get the error messages. so mark as TODO. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite few lines.kcwu2005-02-121-2/+2
| | | | | | | comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When OLDRECOMMAND is defined, we don't have to care about BRD_NOBOO.scw2005-02-111-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Recommand code clean up and make length limit depend on ID length.scw2005-02-091-27/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2485 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In generalnamecomplete(), complete as more as possible when space (' ')scw2005-02-051-10/+2
| | | | | | | | | | | | | | | is pressed. (As what <tab> does in most shell) * In all three completing functions (namecomplete, usercomplete and generalnamecomplete), return null string instead of partial matched name which makes users able to talk/annoy those they are not supposed to talk to (admins or cloaks). * Type of parameters of generalnamecomplete has typedefed and should be clearer. * New macro CompleteBoard and CompleteOnlineUser are defined since most of the usage of generalnamecomplete are the same. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix dark screen problemptt2005-02-031-1/+1
| | | | | | | | Clear the screen only after he can post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert last commitwens2005-01-191-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limitedit should be SYSOP onlywens2005-01-191-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix missing initialization (default is insert mode)victor2005-01-191-1/+1
| | | | | | | fix possible error about anonymous mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* proper layout for long screenvictor2005-01-171-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't use those useless data (I'll review edit.c later)victor2005-01-171-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-01-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only sysop can set `chess country' and `restricted post.'scw2005-01-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only SYSOPs can change post limitwens2005-01-091-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make BM be able to set whether everyone can postscw2005-01-071-1/+27
| | | | | | | or only board friend can. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add post limits for BM.wens2005-01-071-15/+119
| | | | | | | | rename "do_votelimitedit" to "do_limitedit". rename "zerovotelimit.c" to "zero_limits.c". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function for BMs to choose default save methodwens2004-12-201-2/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linux againwens2004-12-111-3/+3
| | | | | | | | | | | WARNING! There are some major differences in SHM_t. All pointers storing offsets in SHM_t have been changed to indexes. When updating to this revision, please rebuild the whole tree and restart the entire BBS system (kill all users first, stop, and start). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fucking compile errorvictor2004-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r2368 due to compilation failurein22004-12-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix title lengthwens2004-12-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linuxwens2004-12-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add board to title for deleted articles as in ALLPOSTwens2004-12-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changed money in fileheader_t into unionwens2004-12-031-16/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-32/+1
| | | | | | | | more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added vote board limits for BM using key 'C'wens2004-11-201-1/+4
| | | | | | | fixed no mail alert when replying to board and mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* moved cancel bid earlierwens2004-11-181-2/+17
| | | | | | | added ability for seller to end bidding early git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Anonymous post can be delete by posterptt2004-10-131-12/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. remove do_unanonymous_post function. It is almost the same as do_crosspost.ptt2004-10-131-4/+4
| | | | | | | | | | | And it didn't touch the btotal. 2. Change setbtotal to touchbtotal at do_crosspost. Because this boards are not popular. To count .DIR every time is needless. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* found black hold.ptt2004-10-051-2/+2
| | | | | | | lower the threshold of safe_article_delete git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use getkey instead of vmsgptt2004-10-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* oh....ptt2004-10-021-18/+8
| | | | | | | the bit FILE_HIDE is already used git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* split no reply and solvedptt2004-10-021-6/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little bit modification of crosspost policyvictor2004-09-281-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check FILE_SOLVE when people want reply during reading.ptt2004-09-231-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix 1 make errorptt2004-09-231-4/+4
| | | | | | | | | | 2. add perm_nocitizen 3. add no reply for FILE_SOLVE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix malfunction of '[', ']', '=' keys on article with long titlevictor2004-09-221-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move up the threshold of safe_deleteptt2004-09-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fixed for badpostptt2004-08-291-23/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use vmsg() instead of outs() + pressanykey()in22004-08-271-20/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sallkoy's color for pressanykey and push bottomptt2004-08-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2161 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2157in22004-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug goodpost & bad postptt2004-08-041-10/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-12/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead of longin22004-07-301-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add <> for deleted announce.ptt2004-07-191-5/+7
| | | | | | | | 2. change the display of push bottom. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the color of marked postptt2004-07-131-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chage the color of push bottomptt2004-07-131-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the display way of push bottomptt2004-07-131-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix typo in chinese.ptt2004-07-011-4/+4
| | | | | | | 2. fix the problem that board name in fpg has the initial number. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. use setupmailusage instead touchmailusageptt2004-06-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.debug select_read problem with "SR" in board name.ptt2004-06-261-1/+3
| | | | | | | 2.cache mailsum. get_sum_record is a bad function that cause a lot of IO git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add a flag for BM to choose BRD_NOBOO by 'I'ptt2004-06-221-6/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* anonymous posting in innin22004-06-151-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2068 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* re-indentin22004-06-151-210/+213
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* OLDRECOMMENDin22004-06-151-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-11/+11
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-3/+3
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of unable to change the title while reeditingptt2004-05-191-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/\\n// foreach vmsg("xxx")victor2004-05-181-60/+52
| | | | | | | indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete uncessary repost to ALLPOSTptt2004-05-161-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typo i > 2 not i > 1ptt2004-05-141-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.add [BC] when broadcasting messageptt2004-05-141-12/+9
| | | | | | | 2.change default of recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't show bad word on recommendptt2004-05-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust recommend color againptt2004-05-131-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust recommend to the front of idptt2004-05-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust the color and layout of recommendptt2004-05-131-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204