summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* - add some grayout effects, and general code improvementpiaip2007-12-056-22/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* screen: add grayout systempiaip2007-12-052-1/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: message abstraction for localizationpiaip2007-12-051-22/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans: reduce buffer to reflect its naturepiaip2007-12-052-8/+16
| | | | | | | editpost: better hints for user to understand our recovery feature git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: anti XXMan DBCS detection, improve Windows telnet portabilitypiaip2007-12-051-9/+10
| | | | | | | (both caused by line end processing) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs: if reply() failed, also needs screen update.piaip2007-12-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: new preference configpiaip2007-12-051-148/+180
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed N in userlist forgetting to initialize user nickname.piaip2007-12-051-4/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general refine and improvement, fixing messagespiaip2007-12-053-14/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move hard-coded board names to pttbbs.conf.piaip2007-12-057-15/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general code refine: remove all hard-coded "Ptt" message string and wens2007-12-0513-65/+77
| | | | | | | use macro BBSMNAME/BBSMNAME2 instead git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add random for goto piaip2007-12-041-1/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore interactive: support both BS (0x7f, ^H) and 6 function nav keyspiaip2007-12-041-17/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add option to support both coloured and symboled modification mark (~ and +)piaip2007-12-043-7/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: enable more named keys (@b, @h, @e)piaip2007-12-041-14/+33
| | | | | | | - pmore: extend @all to both ^LK# and ^L# (in the name @a) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: remove warnings and conditional compilepiaip2007-12-043-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* artwork fixpiaip2007-12-032-9/+11
| | | | | | | | - pmore: fixed non-ascii options being dropped - bbs: rollback modified mark to ~ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: artwork for interation optionspiaip2007-12-031-25/+88
| | | | | | | - pmore: add % as recommend (compatible with m3 scoring key) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brcv3: change the "modified" mark to grayed mark.piaip2007-12-031-14/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - security hole: after BM quoting files from other board, they can editpiaip2007-12-031-3/+21
| | | | | | | | list of other boards. Also introducted privacy issue. - Unless someone defineds clear rule, we disable this function for BMs first. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - vote: fixed newer boards (bid>32767) cannot vote, due to using short for bid.piaip2007-12-031-114/+9
| | | | | | | also removed useless code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3617 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BRC v3: process special files better (which may sharepiaip2007-12-021-2/+16
| | | | | | | same create time with others and applying different modify time) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3616 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRV v3: update modified logicpiaip2007-12-022-10/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - modify login: empty input is counted into attemptspiaip2007-12-021-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brcV3: fixed v2 conversion error (v2 may truncate board information)piaip2007-12-021-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BRC v3: MAX brc size may be overriden by config.h.piaip2007-12-021-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brc v3 update: ptt2's MAX_BOAORD reached uint16 limitation,piaip2007-12-021-6/+12
| | | | | | | so expand board size at same time for brc v3. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3610 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix brc v2->v3 migration bugpiaip2007-12-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** IMPORTANT CHANGE ***piaip2007-12-023-166/+194
| | | | | | | | | | | | BRC v3, supporting local modification THINK TWICE BEFORE YOU APPLY TO YOUR SYSTEM. BRC v3 will double size of BRC v2. BRC v3 can allow notifying changes of comment (recommend) system BRC v3 may cause more syscall activities than v2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - shell execute: safer (just commiting ptt2 local modification, piaip2007-12-021-3/+8
| | | | | | | not sure who wrote this - thanks!) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add named input (@u/d/l/r) and special mask set (@all)piaip2007-12-011-11/+76
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rollback recommend system with author self-recommending.piaip2007-12-011-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add named frame (:name:) supportpiaip2007-12-011-12/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sync ptt2 local modification piaip2007-12-014-80/+139
| | | | | | | | - refine post/vote restriction magic code - color in making recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add move_ansi() to support moving to lines with prior ANSI code.piaip2007-12-015-26/+101
| | | | | | | - general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: override fix r3600 (y fix)piaip2007-12-011-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: fix: (x,y) ordering error.piaip2007-12-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-015-24/+69
| | | | | | | | | | | - 'w' in mail can msg - author in mail header will highlight if online - recommendation message fix - ignore empty input for login - better prompt for empty fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: remove blockpnt (character level selection)piaip2007-12-011-148/+102
| | | | | | | | - edit: fixed offset-by-one (line) in block delete - edit: cancel selection (block) for every line change git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3598 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fixed frame offset-by-one error in ^LGpiaip2007-12-011-13/+38
| | | | | | | - pmore: better interactive mode detection git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit.c: enable syntax highlight for pmore movie.piaip2007-11-302-104/+148
| | | | | | | | - edit.c: prepare for better attributed edit_outs - pmore.c: export movie frame header parser git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix continue offset-by-one in K##piaip2007-11-301-1/+12
| | | | | | | - pmore: unmask keys in options interation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add timed and invisible options to interactionpiaip2007-11-301-49/+128
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3594 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: better GOTO implementationpiaip2007-11-301-102/+220
| | | | | | | | - pmore: preserve interation keys (K#..#) - pmore: improve interation processing git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: add GOTO, fix P/L in offset command, add default interactive keypiaip2007-11-301-110/+122
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: complete the execution of option commandpiaip2007-11-281-3/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore.c: improve clrtoeol() workaround.piaip2007-11-281-29/+162
| | | | | | | - pmore.c: add 'option' handler git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: add pausepiaip2007-11-281-16/+123
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix buffer overflow.piaip2007-11-271-9/+65
| | | | | | | | 2. better hiding control codes. 3. add more control code format git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Escape from being watched when playing info is NULLscw2007-11-041-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * save memory, NameList is more like STL's vector nowkcwu2007-10-175-6/+12
| | | | | | | | * fix corner case of fav bug * code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use fency game board in GO and GOMOKUscw2007-10-032-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warnings according to lxb's commit on pttbbslitekcwu2007-10-016-49/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous revisionvictor2007-09-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* grant some admin permission to tag boardvictor2007-09-291-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix typokcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash if BM range-delete his mail after he enter his board.kcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * don't allow reenter mail, otherwise may cause many problems.kcwu2007-09-251-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove rare used feature.kcwu2007-09-241-13/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix warnings.kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-234-41/+66
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Delay when give money.kcwu2007-09-231-0/+7
| | | | | | | The give-tax design is stupid, which make user tend to flood server. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile warnings.kcwu2007-09-231-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix error of handling empty nbrdvictor2007-09-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: skip bad date format.kcwu2007-09-211-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: don't getdata() on non-local variable directly, to avoid ↵kcwu2007-09-216-25/+41
| | | | | | reentrant crash. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unnecessary featurekcwu2007-09-211-28/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * workaround for some account which has no home dirkcwu2007-09-201-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * deny recommend in short time if article is longkcwu2007-09-201-0/+20
| | | | | | | * deny recommend if article is too long git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust OBUFSIZE according observation.kcwu2007-09-201-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise Makefilekcwu2007-09-201-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash bug: race condition between idle and talk interrupt.kcwu2007-09-201-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix access violation.kcwu2007-09-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'L' in board announce to reset chess country datascw2007-07-121-0/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Not permitting edit posts in Security board from pmore.scw2007-07-091-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment typokcwu2007-06-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code.kcwu2007-06-194-9/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use strtok_r() instead of strtok(). fix bad strtok() usages.kcwu2007-06-1915-40/+70
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Fix last brc revise, which makes brc_currbid and currbid inconsistent. kcwu2007-06-191-3/+14
| | | | | | | | * Now brc could save brc_buf to disk temporary and load back. Need to trade off between memory and disk i/o. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ctime4() instead of ctime()scw2007-06-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-124-67/+112
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore fav if load failed.kcwu2007-06-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore fav if load failed.kcwu2007-06-101-4/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2007-06-102-15/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Log angel changing action and report every weekscw2007-06-041-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'I' instruction hint when user does not meet regtime limitscw2007-06-044-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * delete dead code.kcwu2007-06-021-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * don't output progress bar when sync data with utmpserver since it isn't ↵kcwu2007-06-021-21/+0
| | | | | | slow anymore. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix racing bug for giving money.kcwu2007-06-021-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reversi show current # of chess in chess instead of "black" or "white"scw2007-06-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix chess undo incorrectly set info->turnscw2007-06-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reversi (multiplayer othello) addedscw2007-05-308-27/+558
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sigmask properly when leaving chessscw2007-05-301-11/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess signal remasking before setting handlerscw2007-05-281-2/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3521 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allowing denying being watched when playing chess.scw2007-05-281-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * hack dietlibc's allocator. release small block to OS.kcwu2007-05-273-0/+32
| | | | | | | | | | * allocation behavior dirty hack for dietlibc. Avoid allocate 64byte slot, use 128byte slot instead. Thus, they share same memory block. * save about 400mb for ptt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * import dietlibc's allocator.kcwu2007-05-272-1/+237
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rewrite namecomplete2. Avoid small allocation, e.g. linked list, kcwu2007-05-272-6/+282
| | | | | | | | since some allocator, e.g. dielibc, may not return memory to OS. This saves about 1gb memory for ptt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add shutdown flagkcwu2007-05-271-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clear bufferscw2007-05-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No white space padding when prvious string already too longscw2007-05-132-1/+2
| | | | | | | (due to the bug in dietlibc cvs version) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * skip KEY_UNKNOWN.kcwu2007-05-094-1/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 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