summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* Revert r3495. Fix bug of birthday checking and statistic report for today-login.kcwu2007-05-071-14/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* randomvictor2007-05-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use macrovictor2007-05-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed movie in some statevictor2007-05-024-18/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bad date of horoscopevictor2007-04-241-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 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
* fix util/birth.cvictor2007-04-161-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix stupid bugvictor2007-04-161-1/+1
| | | | | | | give samples for new installation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* horoscope flavor birthday cardvictor2007-04-163-4/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit for normal userwens2007-04-091-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seperate email modificationwens2007-04-091-12/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a error message ptt2007-04-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the line errorptt2007-04-061-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the email security holeptt2007-04-061-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3498 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
* not necessary to dereferencevictor2007-03-262-12/+13
| | | | | | | mark race git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Only write fav to disk when really dirty. To reduce heavy load of mass ↵kcwu2007-03-261-1/+29
| | | | | | logout after peak hour. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix warning: array subscript has type 'char'scw2007-03-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Set timeout for confirmation when playing chess to avoidscw2007-03-241-18/+39
| | | | | | | wasting others' time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not necessary to keep movie historyvictor2007-03-232-29/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused variablesvictor2007-03-231-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3489 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Police Manager, can search user infowens2007-03-133-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Police can only kill new userswens2007-03-131-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3486 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
* Add a FIXME in do_quote().mhsin2007-02-051-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3483 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
* Mail securityscw2007-01-251-8/+9
| | | | | | | | | * user without PERM_SYSOP can't edit mails * always record source when crossposting from mail * crossposting to Test board does not count as a post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug of the cost of deleting postptt2007-01-182-37/+52
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log osongvictor2007-01-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* append dot only if sender is valid id formatvictor2007-01-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug on stamp file which does unnecessary memset sometimes.ptt2007-01-112-7/+14
| | | | 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-072-3/+5
| | | | 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-072-4/+20
| | | | | | | | | 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
* Ptt_prints prototype changed, length of input string should be givenvictor2006-12-264-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new mail notification for internal mailwens2006-12-131-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitscw2006-12-101-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* angel can have a nick namescw2006-12-101-7/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MAX_MOVIE is changed from 999 to 500 (reload_pttcache loads only 500 items)victor2006-11-281-3/+3
| | | | | | | Those hard coded "500" are changed to MAX_MOVIE now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* should be big enough now...victor2006-11-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #define MAX_GUESTvictor2006-11-201-1/+1
| | | | | | | | fix util/stock.perl thanks watch.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitvictor2006-11-081-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of moving tagged favvictor2006-11-061-8/+10
| | | | | | | | 't' will not added now s/prepend/preappend/ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change user information display.timerover2006-10-121-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add article header for chess log. also hint user the replay log hotkey 'z'.kcwu2006-10-084-3/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sleep longer when BAN_FILE presentwens2006-10-071-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2006-10-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only log violations reported by policewens2006-10-032-10/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* violations are logged twice, one anonymouswens2006-10-021-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* request reason for police actionswens2006-10-012-6/+10
| | | | 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-012-7/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* damn backslash in dbcswens2006-09-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3434 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-282-12/+33
| | | | | | | | | * 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-243-22/+56
| | | | | | | | | | 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
* PageUp, PageDown, End should work with large screen in editor nowwens2006-09-191-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code revise.kcwu2006-09-171-6/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3425 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, forgot to change in revision [3420]kcwu2006-09-171-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav.c - fix memory leakvictor2006-09-172-60/+25
| | | | | | | user.c - warning free git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty hack to fix fav memory leak.kcwu2006-09-171-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3421 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allocate water[] on demend. Saved about 4400 bytes.kcwu2006-09-174-1/+22
| | | | | | | Only 4%~5% online user of ptt use this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't include telopts[],telcmds[] symbols if not debugging.kcwu2006-09-171-0/+2
| | | | | | | | These symbols is inside data section on linux. Saved about 500 bytes. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix malloc(0) error when number of hotboard is 0.kcwu2006-09-171-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid to use gethostbyname() which require hidden memory consumption.kcwu2006-09-172-13/+3
| | | | | | | save near 1k memory. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of regcode generation: rand() always has same sequence since no srand().kcwu2006-09-171-1/+1
| | | | | | | use random() instead of rand(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missed counting of SYSWRITEkcwu2006-09-171-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enum usage fix, saved few bytes.kcwu2006-09-174-14/+14
| | | | 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
* remove potential permission risk.wens2006-09-121-11/+1
| | | | | | | self introduction is not needed. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* since only passwd_lock() when register, no need to call passwd_init() every ↵kcwu2006-09-012-4/+4
| | | | | | login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uninitialized value...wens2006-08-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Unset all "WITHME" flag when login (but WITHME_NO left unchanged)scw2006-08-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Disable /u in chat roomscw2006-08-281-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3400 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reverse photo display in chess game to fit the directionscw2006-08-091-8/+8
| | | | | | | of the game (especially chc). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When setting user data, point out and accept original angelscw2006-08-081-3/+15
| | | | | | | if s/he no longer has angel permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* short -> intvictor2006-08-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Display angel usage when calling angelscw2006-07-302-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* yes the code is right.wens2006-07-301-2/+0
| | | | | | | automargin mean terminal will autowrap, so we don't have to do it git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3394 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
* Fix tail \n in angle messagescw2006-07-261-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3390 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r3385scw2006-07-261-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change brdnum from short to intvictor2006-07-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change how badpost limit is counted, so default value of 0 will workwens2006-07-253-12/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add badposts as post/vote limitwens2006-07-253-2/+47
| | | | | | | show post limits on board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give angles larger mailbox (as large as SYSSUPERSUBOP)scw2006-07-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* display current offline message for angelsscw2006-07-231-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3384 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
* confirmation of cancelling votewens2006-07-221-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* regcodefilein22006-07-191-7/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3380 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
* build banned ip list on compilewens2006-06-182-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject bad ips, including tor and bbsnetin22006-06-182-0/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make emacs happyin22006-06-181-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.remove str_checksum() (use StringHash() now)in22006-06-164-13/+20
| | | | | | | 2.prevent cross posting from mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix possible bug on posting limitswens2006-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use exactly the length of the chinese board namevictor2006-06-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a stupid bugvictor2006-06-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3367 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* convert .fav4.bakvictor2006-06-052-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2006-06-051-7/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3365 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead short for bid in favvictor2006-06-041-51/+103
| | | | | | | | Note that fav structure is updated, which will be converted in runtime. (New fav will be $USERHOME/.fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject group mail from user in reject listscw2006-06-011-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3440@kcwu: kcwu | 2006-05-25 00:04:16 +0800kcwu2006-05-251-0/+2
| | | | | | | fix two resource leak: fclose() not paired. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* give a message if nothing foundvictor2006-05-191-7/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert ui: always show empty dir in favvictor2006-05-171-11/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freedvictor2006-05-171-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3357 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: delete a user called USER from user list also removes others called ↵victor2006-05-172-35/+30
| | | | | | USERetc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not setuserfile if filename is emptyin22006-05-081-15/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3355 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of revious revisionvictor2006-05-071-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a simple help page to calendarvictor2006-05-042-50/+57
| | | | | | | take the format of 19XX instead of XX git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more precise date checkingvictor2006-05-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace .fav4 only if ferror failedvictor2006-05-011-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3351 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
* allow key '*' only in favvictor2006-04-172-7/+6
| | | | | | | rename functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* const instead of staticvictor2006-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* re-generate new regcodes every time instead of calculating from userid.in22006-04-151-36/+43
| | | | | | | | XXX: not complete. there should be a program to clean used regcode files in jobspool/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* actually that doesn't mean to list all boards..victor2006-04-121-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4404@voyager: victor | 2006-04-09 15:17:05 +0800victor2006-04-091-1/+1
| | | | | | | | unnecessary to check permission here. (it makes the consistency between nbrd and fav.) those boards will be shown as hidden later. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4403@voyager: victor | 2006-04-09 15:12:29 +0800victor2006-04-091-3/+6
| | | | | | | filter out the bad symlink git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r4402@voyager: victor | 2006-04-09 15:03:59 +0800victor2006-04-091-41/+47
| | | | | | | | fix some display problem of fav always give guests the whole board list git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-0813-17/+162
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, should not access out of board arraykcwu2006-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* random sleep to make race condition harder.kcwu2006-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce race condition period which lead to leave utmp record after user has ↵kcwu2006-04-081-1/+1
| | | | | | been kick out. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3338 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
* bug fix: vote status not refresh properly and write value out of board arraykcwu2006-04-081-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3334 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* blame on dirty code.kcwu2006-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3333 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* output message when reload bcache done.kcwu2006-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3332 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce crash possibility due to race condition.kcwu2006-04-081-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3331 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only sethomepath when angel exists.kcwu2006-04-081-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix potential infinite loop bug,kcwu2006-04-081-8/+16
| | | | | | | and properly release resource when connection fail. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3329 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent query too frequently by sleeping after each query.kcwu2006-04-081-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3328 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: board not found error handling.kcwu2006-04-082-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix unpaired brace in commentkcwu2006-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, board class disappear because incorrect bsorted[] made by race ↵kcwu2006-04-081-1/+1
| | | | | | condition. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3325 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose error message.kcwu2006-04-081-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3324 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make different tmp file to avoid open same file for write.kcwu2006-04-082-3/+2
| | | | | | | (however, open with "w" flag will write to different inode, so won't make things corruption) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3323 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more crash assertion.kcwu2006-04-011-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3322 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* it's better to log current time.kcwu2006-04-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* small syntax fix.kcwu2006-04-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3320 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make it harder to multi-login by race condition.kcwu2006-04-012-33/+56
| | | | | | | prevent logout function reenter. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more crash assertion.kcwu2006-04-011-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3318 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix message about mailbox full.kcwu2006-04-012-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3317 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong check on angel changingscw2006-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle if process errorkcwu2006-03-301-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3313 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent multi-login and slow login flooding.kcwu2006-03-302-56/+93
| | | | | | | WARRNING, utmpserver protocol is incompatiable with old mbbsd. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* write brc to temporary file and rename it after write successfully.kcwu2006-03-271-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3310 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more meaningful message for SIGXCPU.kcwu2006-03-271-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verify userid when sethome path.kcwu2006-03-274-24/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: clear quote_file[] after use.kcwu2006-03-271-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix crash, workaround for incorrect roll after resize.kcwu2006-03-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3306 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix crash if search in empty gem dir.kcwu2006-03-271-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3305 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more assertion for tracking bug.kcwu2006-03-273-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3304 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit.kcwu2006-03-241-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3301 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty workaround for race condition in multi-login checking.kcwu2006-03-231-18/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3300 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* redirect stderr(fd 2) to file.kcwu2006-03-231-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3299 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support DETECT_CLIENT, hash telnet sequence.kcwu2006-03-232-1/+62
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* assert for fav_malloc size.kcwu2006-03-231-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3297 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Warning, API semantic changes.kcwu2006-03-232-3/+13
| | | | | | | searchuser() rejects empty userid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-portable strtok() usage.kcwu2006-03-231-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3293 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugs introduced because replace sprintf and strncpy with snprintf and ↵kcwu2006-03-232-2/+2
| | | | | | strlcpy without careful checks. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3292 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* load go score when loginscw2006-03-181-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on big5 workaround.kcwu2006-03-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid C++ keywords to make include files C++ friendly.kcwu2006-03-132-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid unnecessary linear scan if LOCK_THIS.kcwu2006-03-131-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO scoring and displaying on userlist.scw2006-03-125-19/+48
| | | | | | | !!!NOTE: shared memory changed!!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sync birthday limit between user setting and registerscw2006-03-011-1/+1
| | | | | | | (remove least age limit) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Setting angel of a user to "-" means banned andscw2006-02-251-1/+2
| | | | | | | is accepted. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3274 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3281@kcwu: kcwu | 2006-02-18 13:36:52 +0800kcwu2006-02-181-1/+10
| | | | | | | | update time variable in signal handler. Thanks to the notice from rafan. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r3280@kcwu: kcwu | 2006-02-18 13:33:14 +0800kcwu2006-02-181-3/+0
| | | | | | | remove unused code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * comment strange getindex() behavior.kcwu2006-02-092-43/+74
| | | | | | | | | | * fix select_read() * don't incremental select if sr_mode = RE_MARK or RS_RECOMMEND * fix selection result repeating if timestamp match (or entry deleted?) * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Confirm before removing boards from fav.scw2006-02-021-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r3267, board title disappear after setting boardsscw2006-01-221-12/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3269 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-1214-71/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the naming to fit the menu.ptt2006-01-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3266 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the register bugptt2006-01-052-5/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add time in the cancel-bad-post log.ptt2006-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a back slash '\' after Kong (special chinese character)ptt2006-01-041-2/+2
| | | | | | | | add break line for logfile git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add log for canceling bad post.ptt2006-01-041-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug for cancel postptt2006-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-045-5/+51
| | | | | | | | | 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 typovictor2006-01-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3259 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix nonstandard syntax.victor2006-01-031-2/+4
| | | | | | | thanks yinyins.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save IO from check mailptt2005-12-221-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Key "UP" at the first entry of article list work as key "END"scw2005-12-151-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3256 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
* security fix: users could forward hidden articles in board announcein22005-12-131-8/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix the procedures of FULLUPDATE, PARTUPDATE and DIRCHANGED.victor2005-12-052-49/+42
| | | | | | | Close ticket #39. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Restrict the frequency of brc & fav write back request.scw2005-11-271-2/+9
| | | | | | | * Describe the key binding in help. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allow banning user from using angel function.scw2005-11-271-2/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reverse r3247,r3248victor2005-11-222-7/+14
| | | | 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-212-15/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorvictor2005-11-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3246 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-213-148/+17
| | | | | | | | | | 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
* Fix chc machine readable log board initial state.scw2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3244 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug:ptt2005-11-161-1/+1
| | | | | | | | purge utmp only after passwd_update(); git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for new feature.ptt2005-11-163-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3242 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERMISSION can be changed even if the user is online.ptt2005-11-165-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add color to the violation messageptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typo.ptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add restriction to PERM_VIOLATELAWptt2005-11-153-11/+28
| | | | | | | | | | no chat no write no plan file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only PERM_ACCOUNTS could SetUserin22005-10-284-12/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject editing the symlink of board for security issue.in22005-10-281-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3234 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 'w' in board list for favorite and brc write backscw2005-10-271-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-275-3/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change "Court to Police Station"ptt2005-10-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new police permission.ptt2005-10-223-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* single daemon for all portsin22005-10-211-16/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix status readwens2005-10-201-10/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3227 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check money only if one really wants to ordervictor2005-10-201-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3226 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add data and stack size display for linuxwens2005-10-181-0/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3225 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug about mailalertptt2005-10-141-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changes mailalert to 1 bit only.ptt2005-10-136-13/+11
| | | | | | | | reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move announce: it's still safe to add one more byte.piaip2005-10-131-1/+1
| | | | | | | | be careful if you want to add more since a hard-coded limit value of 9999 is already there. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a long feast that make statusbar unterminated (ANSI_RESET).piaip2005-10-112-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use strlcpy()in22005-10-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to fix the same "shift by 1" problemvictor2005-09-291-30/+37
| | | | | | | it's should be rewriten actually. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3218 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
* hide when debugsleeppiaip2005-09-281-3/+10
| | | | | | | try to prevent segv in waterball git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift index by 1victor2005-09-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove another unused identvictor2005-09-261-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove things about ident which is useless nowvictor2005-09-263-21/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the 2048 limitvictor2005-09-261-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* namecomplete display improvementpiaip2005-09-262-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make 's' search_board in board-list work with this case:piaip2005-09-263-2/+6
| | | | | | | 2 boards with same prefix and user input for exactly the shorter one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Declare xsin only when needed.wens2005-09-251-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3208 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix tag-ctrl(d) in mail menupiaip2005-09-251-1/+2
| | | | | | | (digest articles will not be deleted, and FILE_DIGEST is same to FILE_REPLIED) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log the modification of boardvictor2005-09-231-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gomoku machine readable log reading fixscw2005-09-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prepare for connect6piaip2005-09-223-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong ordering argumentvictor2005-09-221-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204