summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* add authserver, set attributeswens2007-02-034-2/+242
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3482 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
* missed onewens2007-01-201-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2007-01-201-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3478 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* padding for alignmentwens2007-01-201-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incorrect paddingwens2007-01-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug of the cost of deleting postptt2007-01-183-37/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log osongvictor2007-01-132-0/+2
| | | | 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
* header file changes for the last commitptt2007-01-111-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3472 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-073-4/+6
| | | | 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-073-5/+21
| | | | | | | | | 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-062-16/+97
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix potential security holewens2006-12-281-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3463 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugswens2006-12-281-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3462 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wretch bbs man converterwens2006-12-282-0/+116
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3461 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-265-18/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add padding by alignmentwens2006-12-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3458 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shift photos by 1victor2006-12-206-68/+68
| | | | | | | thanks watch.bbs@ptt2.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3457 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new dog modelvictor2006-12-1917-205/+184
| | | | | | | thanks F6.bbs@ptt.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbslink uses gmtime() so is in UTC timezonescw2006-12-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3455 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
* Dealing with angels for waterball arrangement.scw2006-12-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNING: SHM_t changedvictor2006-12-031-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MAX_MOVIE is changed from 999 to 500 (reload_pttcache loads only 500 items)victor2006-11-283-4/+6
| | | | | | | 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
* add padding (previously added by gcc)wens2006-11-201-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #define MAX_GUESTvictor2006-11-203-2/+6
| | | | | | | | 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-072-3/+1
| | | | 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
* missed file in last commitwens2006-10-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3437 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-283-12/+34
| | | | | | | | | * 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
* commit the struct change for last modification.ptt2006-09-241-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3428 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
* move counterwens2006-09-171-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3424 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-175-1/+23
| | | | | | | 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
* fix compile errorwens2006-09-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3412 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
* correct counter.wens2006-09-111-3/+12
| | | | | | | help message. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3410 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
* bug fix: sort banip list numerically instead of dictionary orderkcwu2006-09-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* it works!wens2006-08-311-20/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug.wens2006-08-311-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3406 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limit concurrent clients.wens2006-08-311-2/+14
| | | | | | | tweak events. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3405 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
* utmpserver with libeventwens2006-08-312-2/+330
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3403 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
* currpid not initialized.wens2006-08-291-3/+7
| | | | | | | add option to specify broadcaster. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3401 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
* site-wide broadcastwens2006-08-212-1/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3399 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-303-4/+33
| | | | 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-254-4/+51
| | | | | | | 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-222-1/+17
| | | | 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-183-4/+161
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject bad ips, including tor and bbsnetin22006-06-183-0/+40
| | | | 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
* newer MRT mapvictor2006-06-071-60/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3368 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-043-61/+116
| | | | | | | | 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
* handle ALLHIDPOSTin22006-06-022-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3363 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
* mkdir jobspool/in22006-05-201-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3360 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-173-36/+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-043-50/+58
| | | | | | | 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
* Fix r3348scw2006-04-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3350 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
* deny user login in less than 3 second, to prevent flooding and race ↵kcwu2006-04-081-3/+6
| | | | | | condition of multilogin checking. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3337 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show error message about connect fail.kcwu2006-04-081-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3336 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
* bug fix: online user number is SHM->UTMPnumber instead of SHM->number. ↵kcwu2006-04-011-4/+0
| | | | | | however, don't modify it here. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject login if too high frequecy.kcwu2006-04-011-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3315 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-303-105/+154
| | | | | | | WARRNING, utmpserver protocol is incompatiable with old mbbsd. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix, clear friend data only when all account logout.kcwu2006-03-291-8/+8
| | | | | | | allow like/hate oneself. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3311 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-275-25/+51
| | | | 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
* remove dead program.kcwu2006-03-272-53/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3303 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dangerous function.kcwu2006-03-271-5/+0
| | | | | | | rename it if anyone want that function. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3302 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-234-1/+68
| | | | 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
* show statistics for utmpserver2.kcwu2006-03-231-0/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* utmpserver should ignore SIGPIPE, otherwise it will abort.kcwu2006-03-232-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3295 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Warning, API semantic changes.kcwu2006-03-233-3/+14
| | | | | | | 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
* remove unused code.kcwu2006-03-231-1778/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3291 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
* make g++4 happy. thanks scw.kcwu2006-03-131-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dependency, make linux happykcwu2006-03-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3288 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error when NOFLOODING definedkcwu2006-03-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3287 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite core function of tumpserver, maintaining friend relation 300 timers ↵kcwu2006-03-133-4/+607
| | | | | | faster. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3286 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* close socket if read failkcwu2006-03-131-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3285 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
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3283 ↵kcwu2006-03-130-0/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* list the dependency explicitly.kcwu2006-03-131-4/+5
| | | | | | | (I have to say, pttbbs build system is so ugly.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3282 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seperate compiling and linking, to utilize ccache.kcwu2006-03-131-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3281 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid C++ keywords to make include files C++ friendly.kcwu2006-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid C++ keywords to make include files C++ friendly.kcwu2006-03-134-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't need to detect endian anymore, remove it. kcwu2006-03-131-13/+0
| | | | | | | (it is annoying to get _LITTLE_ENDIAN redefined warnings if include sys/types.h on FreeBSD) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3278 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-127-26/+83
| | | | | | | !!!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-047-9/+61
| | | | | | | | | 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-272-3/+10
| | | | | | | * 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-215-151/+19
| | | | | | | | | | 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-167-8/+18
| | | | 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-154-12/+31
| | | | | | | | | | no chat no write no plan file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore leading '[' when scanning BM list in toplazyBM.cscw2005-11-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3237 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
* add fixbcachein22005-10-281-0/+57
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3235 63ad8ddf-47c3-0310-b6dd-a9e9d9715204