summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - chicken: prevent confusing displaypiaip2008-03-111-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3986 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: display over18 evalulation resultpiaip2008-03-112-4/+11
| | | | | | | - register: reject invalid (in future) birthday input. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - over18 check is redundent in complete check.piaip2008-03-101-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BM should have permission, even over18. Also we prevent over18 BMs setting ↵piaip2008-03-101-6/+11
| | | | | | this property. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bug: board active user limit (may exceed 32768)piaip2008-03-101-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fix non-exist file crashpiaip2008-03-102-4/+376
| | | | | | | - register: regform2 in paged validator (new style UI) implementation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - talk: reduce GotoNewHand crash (C-Uhh or C-Urhh)piaip2008-03-091-9/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: 's' - remove the global search after empty input (because we cannot ↵piaip2008-03-081-2/+11
| | | | | | really enter board yet). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fix forward error for 'x' addresspiaip2008-03-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: message improvement.piaip2008-03-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: never use 'x' as foward address. help manual registered users.piaip2008-03-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3976 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: Regform2 API prototype (for concurrent registration form ↵piaip2008-03-087-24/+523
| | | | | | | | | | validation) [not applied yet] - file/passwd/assess: API finetune - menu: menu item finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken/upgrade: add live upgrade functionpiaip2008-03-074-27/+116
| | | | | | | - register: general source code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - upgrade script updatepiaip2008-03-063-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: general code refine, no functionality change.piaip2008-03-061-320/+317
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: change 's' to 'select-board' instead of 'search'.piaip2008-03-065-24/+41
| | | | | | | - board:enable 'd' to remove myfav entries. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user/chicken: enable sysop toggle chicken-deathpiaip2008-03-065-16/+51
| | | | | | | - mail: UI message finetune, prevent 'mail-folder' for non-authorized users git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: enable PK with new mmap stylepiaip2008-03-063-3/+6
| | | | | | | - userec_t: comments for deprecated chicken data git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: move chicken data to user directory, with mmap based synchronization.piaip2008-03-065-136/+303
| | | | | | | | - WARNING: PLEASE RUN upgrade/r3968_chicken.c TO MIGRATE USER CHICKEN DATA. - YOU NEED TO RESTART BBS FOR THIS PATCH. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - upgrade: directory for all upgrading scripts/tools/programspiaip2008-03-064-0/+239
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3967 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - [code refine] move all registration code to register.cpiaip2008-03-064-1836/+1814
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3966 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore/common: prompt message finetune for recommendationpiaip2008-03-053-8/+11
| | | | | | | - register: alert user that only 8 characters of password are valid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - talk: warn user that we don'e accept empty input for talklog decision.piaip2008-03-051-2/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - msg update: prevent using "illegal/invalid" confusing terms, and other ↵piaip2008-03-043-8/+11
| | | | | | minor msgs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add option "default to backup" (from PttSuggest@ptt2)piaip2008-03-035-9/+31
| | | | | | | - user/reg: prevent ambigious regcode. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3962 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent resending regforms if regcode is incorrect.piaip2008-03-031-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore/movie: rollback *[m prefix - not really so common.piaip2008-03-022-8/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore/movie: more comments on LS usage.piaip2008-03-021-0/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - display remaining days info for chatroom restriction piaip2008-03-021-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3958 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable ESC[m as prefix for pmore movie (for some ANSI editors)piaip2008-03-024-7/+33
| | | | | | | - document update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3957 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add warning on famous gamespiaip2008-03-011-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve violation-pay process (prevent misunderstanding)piaip2008-03-011-16/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3955 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fail-safe filename check to avoid segv crashpiaip2008-02-291-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - message improve: mark for recommend restrictionpiaip2008-02-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - give_money: reduce the chance to require password authenticationpiaip2008-02-261-4/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify give_money in both userlist/g and menu/g.piaip2008-02-263-27/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - give_money: require user input password again, to prevent malicious macrospiaip2008-02-261-5/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3950 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: prompt fine-tune, reducing unnecessary messagespiaip2008-02-261-28/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: more detail hints on user post permission checkingpiaip2008-02-264-34/+52
| | | | | | | - bcache code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: reject reason finetune, suggested by iamori@pttpiaip2008-02-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: should not allow changing info when browsing PASSWD history.piaip2008-02-241-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3946 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: fixed: searching user generates wrong unumpiaip2008-02-242-7/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - asses: gpfix: align MAXGP to real value.piaip2008-02-241-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3944 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: improve regform UI by various feedbackspiaip2008-02-241-5/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3943 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - assess: when fixing goodpost number, overwrite values even if alerted.piaip2008-02-231-1/+5
| | | | | | | (fixing the issue that some people get wrong gp after fixed) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: correct default value promptspiaip2008-02-232-48/+70
| | | | | | | - admin: regform ui: unify the reject hotkeys and support "back to edit" after SPACE pressed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: deleting and creating posts now will change numpost only if file has ↵piaip2008-02-221-27/+49
| | | | | | | | | valid money records. This helps solving cross-post issue against numposts. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: should not able to change title in sysopedit. (rpt by ↵piaip2008-02-221-1/+4
| | | | | | daiYuTsung@PttBug#ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: improve new regform ui <real test version>piaip2008-02-211-12/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: fine-tune and improve admin regform new UIpiaip2008-02-211-4/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: new-regform: fixed: 'q' deletes all forms in last page.piaip2008-02-211-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: improve promptspiaip2008-02-212-19/+78
| | | | | | | - admin: code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: comment on symlinkpiaip2008-02-212-300/+290
| | | | | | | - admin: code-refine for new admin regform validation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3934 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - talk: comment on mail_checkpiaip2008-02-213-4/+12
| | | | | | | | - cache: better def-style on aggchk - admin: enable showing regform counter git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3933 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: change 'X' to 'D' for invalid accountspiaip2008-02-213-2/+12
| | | | | | | - cache: only check aggressive for specific folder. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: (exp) new admin interface for regform validation (page mode)piaip2008-02-202-26/+533
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for new admin reg procedurepiaip2008-02-203-5/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - cache: aggresive song detection: provide more debug messagespiaip2008-02-191-6/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3929 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user: improve regcode prompt/checkpiaip2008-02-192-27/+118
| | | | | | | cache: support for dynamic aggressive topic handler git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve order song agreementpiaip2008-02-191-8/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve the message and explain for fix_aloha.piaip2008-02-191-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - notify user if the regcode is already expired.piaip2008-02-191-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: do not add numposts for cross-posting mailspiaip2008-02-172-16/+13
| | | | | | | - cross-post: notify user that all cp will not add numposts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change BIG5 ':' to SBCS, more convenient for admins to copy/paste data. ↵piaip2008-02-151-7/+7
| | | | | | (suggested by daiYuTsung@ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3923 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - hide restricted board names when cross-posting (suggested by iamori@ptt1)piaip2008-02-151-2/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - testing to narrow down buffer overrun reasonpiaip2008-02-151-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - verify if record entry is still valid before modifying.piaip2008-02-151-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3920 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: make message more clear (reported by Kinra@PttSuggest)piaip2008-02-151-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: allow ignoring users not in chatroom.piaip2008-02-152-16/+66
| | | | | | | - chat: help/prompt msg fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more options to prevent chatroom floodingpiaip2008-02-141-5/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop all 033 dirty ANSI characterpiaip2008-02-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - lovepaper: add newmail alert, fix title issue. (reported by watch@pttbug)piaip2008-02-141-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improved user searchingpiaip2008-02-141-21/+51
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - searching user should bypass invalid recordspiaip2008-02-141-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - SRexpire: enable expiring search cache recordspiaip2008-02-135-8/+66
| | | | | | | | - EDITFLAG_ALLOWTITLE: prevent editor to prompt for non-changable titles - user: general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - friend: use constants, prevent magic numberspiaip2008-02-132-2/+3
| | | | | | | - mbbsd: guests do not need adding new favs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - the report for changing user permission should use post_msg, to prevent ↵piaip2008-02-131-29/+21
| | | | | | wrong btotal calculation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: fix the prompt of illegal regcode.piaip2008-02-101-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fix delay of deleted/junk directory. (reporeted by watch@ptt2.PttBug)piaip2008-02-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add dashc() for file create timepiaip2008-02-105-21/+27
| | | | | | | - remove unused structure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: pad title length to align most fields againpiaip2008-02-092-3/+3
| | | | | | | - stuff: fix angel pause prompt message git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3906 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: isolate edflags determinationpiaip2008-02-081-14/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3905 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reply: boards with NOREPLY should enable mail reply by default.piaip2008-02-081-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce the chance of alert messagespiaip2008-02-052-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add warning messages to alert about cross-postpiaip2008-02-052-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3902 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: add more colors to hot-boardspiaip2008-02-041-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: use fork to reduce memory wastingpiaip2008-02-042-11/+66
| | | | | | | - user: add more emaildb check git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3900 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - dice: no longer supportedpiaip2008-02-043-473/+6
| | | | | | | | - pfterm: more safe check - board: output message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: prevent printing zeros if mobile has not been setpiaip2008-02-012-1/+41
| | | | | | | - register: force user to update birthday information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile update: to add more conditional flags and ctags builderpiaip2008-01-311-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - __libc_freeres() seems releasing "all" runtime memory, which may cause ↵piaip2008-01-311-1/+2
| | | | | | SEGV. disable it until we have more information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3896 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more checks on fhdr to prevent crashpiaip2008-01-311-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: apply cache reductionpiaip2008-01-311-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change over18 calculation as standalone function, in order user changed ↵piaip2008-01-315-16/+36
| | | | | | birthday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: fix bottom articles across pages (after doing new post) will lead to ↵piaip2008-01-311-4/+9
| | | | | | incorrect display git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fav: add TEST to default fav boards and change orderpiaip2008-01-311-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: make birthday registration earlier, also helps over18 work ↵piaip2008-01-314-4/+36
| | | | | | | | | | correctly. - register: change '1st register' check to email instead of birthday:year. - emaildb: fix offset-by-one (because the 'self' is not counted now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: consider "no birthday" as less than 18 years oldpiaip2008-01-302-2/+8
| | | | | | | - pfterm: mini optimization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix over18 calculationpiaip2008-01-301-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration processpiaip2008-01-305-78/+122
| | | | | | | - COPY2TMP and other pager functions now require BASIC permission git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -- emaildb: release runtime cache resource to reduce memory after emaildb ↵piaip2008-01-301-0/+4
| | | | | | being loaded/released git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration process: modify justify earlier, and fix emaildb ↵piaip2008-01-302-32/+45
| | | | | | limitation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove strncpy(). use memcpy() and strlcpy() instead.piaip2008-01-306-12/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: enable changing to MyFavorite in HotBoardspiaip2008-01-304-9/+3
| | | | | | | - bugfix: snprintf() on UNIX takes directly sizeof(buf) and always append NUL. Warning: Windows port will not output NUL if truncated. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: make cursor default position before .DIR.bottom articlespiaip2008-01-292-4/+7
| | | | | | | - board: yank shall not work outside myfavorite. 'addfav' should not work outside myfavorite. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: change default cursor location to "end of .DIR records" excluding ↵piaip2008-01-292-4/+3
| | | | | | | | | .DIR.bottom - general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: enlarge check range again, due to some people lost newmail ↵piaip2008-01-281-1/+1
| | | | | | notification after "mail my waterlog". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3880 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: optimization on movie/frame movepiaip2008-01-281-50/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: avoid black holes, even if board article counter is wrong.piaip2008-01-281-17/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent malicious user flooding chat page to hide his useridpiaip2008-01-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: hinting on SYSOP permission update of setting emailpiaip2008-01-285-7/+21
| | | | | | | | | - register: improve new-account process - bbs: hints on hotkey change(H) - board/fav: make TAG bits more meaningful. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mark dirty after set_attr, fix bug reported at #17dLCl9P (SYSOP) [ptt.cc]victor2008-01-281-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fix assert in case some new mail has empty filename.piaip2008-01-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: allow admins to change email to 'invalid'.piaip2008-01-283-5/+11
| | | | | | | | - admin: try to solve "registration failed if user is online" - register: fix display for expired accounts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Temporary version of aids.cmhsin2008-01-261-0/+291
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: revert back with traditional stylepiaip2008-01-261-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: fix compilation error (typedef/struct)piaip2008-01-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add iolimit() apipiaip2008-01-262-6/+24
| | | | | | | - board: remove the const name "MyFavFolder" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise menu.c code.kcwu2008-01-264-70/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: provide the possibility to optimize some API. keep port information.piaip2008-01-262-6/+34
| | | | | | | - make DEBUGSLEEP waiting configurable. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - buy-mail-box: prevent user accidentally enter the option.piaip2008-01-251-2/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix AID search for blackholed boards.mhsin2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: prevent post-reply respond to invalid userpiaip2008-01-251-12/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid empty filenameswens2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: fixed currbid=0 assert for anti-crosspost check over non-posts.piaip2008-01-251-19/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3862 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise code uinfo_query(); fix bug: user will be killed if set perm bits to 4.kcwu2008-01-241-82/+91
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove duplicated prototype.kcwu2008-01-241-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3860 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise passwd_apply() api, prevent use global variable to pass data.kcwu2008-01-244-30/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - announce: prevent asserts for "entering deleted directories".piaip2008-01-241-11/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3858 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Tagging: offset-by-one error on alerting userpiaip2008-01-232-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: more check on TagNum to prevent announce paste bugpiaip2008-01-232-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: cursor_position is not really useful. and it will cause SEGV for piaip2008-01-231-7/+2
| | | | | | | large cmdmode (why not crashed before?). Let's remove it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: prepare for storage APIpiaip2008-01-231-51/+116
| | | | | | | - bbslua: display logo correctly with traditional screen git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - stuff: fix show_file auto wrapped for file with length=80piaip2008-01-223-5/+8
| | | | | | | | - announce: change announce re-edit to work like board re-editing post - use same file. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3853 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb(init): speed up by transactionpiaip2008-01-211-4/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - emaildb: add the init functionalitypiaip2008-01-211-1/+82
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: board admins should be able to do E in admin menupiaip2008-01-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile: modified for static libraries and provide hints for different ↵piaip2008-01-211-4/+10
| | | | | | system configurations git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3849 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix limit edit displaypiaip2008-01-211-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: bugfix for toc redirecting and displaypiaip2008-01-211-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3847 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix w32 snprintf issuepiaip2008-01-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix w32 issuepiaip2008-01-191-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3845 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: change userid() to variable, add usernick, restrict more on lastref.piaip2008-01-192-12/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: require LatestRef/Title match for latest referringpiaip2008-01-192-100/+394
| | | | | | | - bbslua: add storage and hash system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve input system logicpiaip2008-01-192-1/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error (reported on watch@PttBug/ptt2)piaip2008-01-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix bbs.kball() on w32 portpiaip2008-01-181-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - var/user: prevent printing NULL for login view confpiaip2008-01-162-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: allow local mail for web based tarqueuepiaip2008-01-166-34/+96
| | | | | | | | | | - bbslua: unbind file api, add bbs.kball(), reduce kbhit min peek time - annouce: prevent deep directory crash - edit: syntax highlight update - pttbbs.conf: add ASKBOARD into default fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fixed resize crash issue. GREAT THANKS TO kcwu.piaip2008-01-161-18/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: rich support of Lua syntax highlightpiaip2008-01-151-20/+226
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add default value for getdata, add LatestRefpiaip2008-01-141-23/+132
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: add title for AID displaypiaip2008-01-147-18/+102
| | | | | | | | | | - xyz: prevent mmap crash for note_ans - pfterm/screen: add getyx_ansi - fav: add ASKBOARD to new account default favs - record: add setaidfile() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: simple Lua syntax highlightpiaip2008-01-141-14/+123
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable ncurses 'typeahead' APIpiaip2008-01-134-8/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: minor revisekcwu2008-01-131-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix warnings.kcwu2008-01-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix warnings, eol-stylekcwu2008-01-131-21/+21
| | | | | | | | - bbslua: fix "sitename" - bbslua: fix strip_ansi if argument more than 1 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Makefile: identify objects in more detailpiaip2008-01-121-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fixed bbs.clock() calculation on win32 portpiaip2008-01-121-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: limit lua memory usage.kcwu2008-01-121-5/+49
| | | | | | | - bbslua: revise bl_strip_ansi memory allocation code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io/getdata: close buffer piaip2008-01-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: stop making political petspiaip2008-01-121-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - license text updatepiaip2008-01-123-10/+48
| | | | | | | | - pmore: change lua hotkey to L - bbslua: don't grayout at exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua/pfterm: Add Win32 portingpiaip2008-01-122-28/+136
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3822 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: correct line number in file.kcwu2008-01-111-3/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: disable sellingpiaip2008-01-113-71/+6
| | | | | | | | - menu: fix 80-width titles - bbslua: return empty string instead of nil for getdata() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable t_column width of content.piaip2008-01-111-5/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: enable ^C to break <workaround>piaip2008-01-112-15/+73
| | | | | | | - TODO: enable ungetch() someday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - screen: fix compilation error, reported on watch@PttBugpiaip2008-01-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent ignored users flood by entering/leaving chatroomspiaip2008-01-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3816 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add new toc display/compatibility warning and 0.113 APIpiaip2008-01-102-70/+215
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix previous patchset - x forgot to increasepiaip2008-01-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: handle X position better.piaip2008-01-101-16/+11
| | | | | | | | warning: \n at eol (>=cols) will now create one blank line. such case should be handled by pager, not terminal system. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3813 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - terminal: add newwin()piaip2008-01-103-8/+62
| | | | | | | - pfterm: fix some bounadry checkings of x range git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: disable massive scroll for smooth output in pftermpiaip2008-01-102-28/+12
| | | | | | | | - mbbsd: "dbg_myrev is not required", told by kcwu. just "gdb pid" will work. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mmbsd: improve DEBUGSLEEP proctitle for debugging multiple versionspiaip2008-01-103-5/+40
| | | | | | | | - bbs: try to prevent mmap SEGV issue (caused by mv(1) truncating ?) - pmore: change back to MAP_SHARED, and try MAP_POPULATE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fixed: pause() return integer (should be string)piaip2008-01-081-8/+13
| | | | | | | - bbslua: fixed: bbs.color() should reset color git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: try to prevent munmap crash issuepiaip2008-01-082-10/+29
| | | | | | | - cache: skip DEBUGSLEEPING process git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3808 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix corrupted coroutinepiaip2008-01-081-21/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine limit edit sourcepiaip2008-01-082-107/+118
| | | | | | | - move M (maintain vote) to integrated board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - since there's nothing to use for non-reg-ok users in menu 'P', disable it.piaip2008-01-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - term: add doupdate() to force refresh even if input queue is not emptypiaip2008-01-075-17/+27
| | | | | | | | - menu: disable talk/chat for non-reg-ok user - bbslua: change bbs.refresh() to doupdate() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add TOC infopiaip2008-01-071-17/+127
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add version infopiaip2008-01-072-34/+62
| | | | | | | - Makefile: workaround FreeBSD env git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: enhance title editingpiaip2008-01-073-9/+189
| | | | | | | | - bbslua: add more APIs, fix svn prop - bbsluaext: put non-standard modules in our framework git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3801 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: enable bbs:clock()piaip2008-01-061-7/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3800 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: peek_input keeps waiting for new input. (due to buf control)piaip2008-01-064-14/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add more APIpiaip2008-01-064-6/+80
| | | | | | | | - cache: add getutmpmode() - othellow: quick exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - display userid in xchatd (to prevent spammers, reported by PttSuggest)piaip2008-01-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: prevent false alerts more carefullypiaip2008-01-067-35/+99
| | | | | | | | | - pfterm: add getmaxyx - bbslua: change format detection and API refine - var/mode: string fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix potential exploits (reported by kcwu)piaip2008-01-053-4/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3795 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fix tail issue, general refinepiaip2008-01-051-15/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: fixed compilation error if not using BBS-Luapiaip2008-01-053-2/+8
| | | | | | | | - bbslua: fix key names - sample conf: add description for guest dbcs intresc option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3793 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove extra ';'piaip2008-01-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow setting guest with/without DBCS interuppting escapespiaip2008-01-051-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add BBSLUA mode for utmppiaip2008-01-053-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add detection of buffer, and enable 'P' in pmore to start bbsluapiaip2008-01-054-21/+137
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-053-5/+172
| | | | | | | - bbslua: enable system break git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin/reg: fix offset by one on rejectionpiaip2008-01-051-6/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BBS-Lua project: Extend BBS by Lua scripting language.piaip2008-01-043-0/+250
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm/screen: add more ncurses like API (add*)piaip2008-01-042-0/+75
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3785 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xyz: show userplan for mailing sysopspiaip2008-01-041-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - comments: better not use Ctrl-O as hotkey. UNIX does not send ^O by default.piaip2008-01-043-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bid issuepiaip2008-01-042-13/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: enable 'v' for 'readall'piaip2008-01-031-7/+72
| | | | | | | | - mail: make check range as constant definition - mail: refresh mail usage count after delete git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3781 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix TAB calculationpiaip2008-01-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: move ChessReplay (z) to outside.piaip2008-01-034-20/+35
| | | | | | | - bbs: use 'now' to prevent time() system call. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - re-enable sysop-edit in article list modepiaip2008-01-035-64/+73
| | | | | | | - move sysop-edit log to more instead of pmore body git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify login prompt. (it is suggested to not use DBCS version of ':' -piaip2008-01-032-2/+1
| | | | | | | to avoid some Mac font issue - which will display as different character) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general fix of some messagespiaip2008-01-024-12/+28
| | | | | | | | - improve Makefile more - prevent broken Welcome git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reorder Makefile, move common modules to topwens2008-01-021-18/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3775 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use emaildb interface in user registerwens2008-01-024-4/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine Makefile to fit conditional compile in a better waypiaip2008-01-021-4/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New email database interface for restricting how many registered ids per ↵wens2008-01-021-0/+92
| | | | | | email. (uses sqlite) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - in the name of secure, let's remove the evil escape that reveals user piaip2008-01-022-27/+24
| | | | | | | information - **b (birthday) and **m (money). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3771 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make Test as macro namepiaip2008-01-027-8/+25
| | | | | | | - general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: fix TAB behaviorpiaip2008-01-021-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3769 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix display error piaip2008-01-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3768 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better flush/synchronization flowpiaip2007-12-314-6/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: workaround NetTerm/PacketSite bold attribute issuepiaip2007-12-312-17/+75
| | | | | | | | - pfterm: improve DBCS stack and do rawmove after C1 control codes (used by Big5-UAO PUA) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - modify file size limitation controlpiaip2007-12-304-19/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more check for TagNumpiaip2007-12-302-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent possible bug to create unlimited huge filepiaip2007-12-302-37/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3763 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit: add hard limitation of size and linespiaip2007-12-301-16/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: maximize reset() to be friendly to non-default fg terminalspiaip2007-12-293-5/+11
| | | | | | | - stuff: remove unknown ANSI git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3761 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: optimize chattr, and improve display for those who set special piaip2007-12-291-2/+12
| | | | | | | color for default. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore - skip warn when playing first pagepiaip2007-12-291-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3759 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: relax the movement message in movie playing modepiaip2007-12-291-6/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: enable warning messages for movie playingpiaip2007-12-292-1/+18
| | | | | | | - pfterm: fix chattr optimization for background attr change git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3757 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove unused variables and clean deprecated codepiaip2007-12-291-66/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: prefer "reset" better than "change bg attr to black".piaip2007-12-292-1/+68
| | | | | | | - pfterm: add compatablity document git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix announce crash bugs (reason: entering a_menu may have different board piaip2007-12-297-52/+96
| | | | | | | than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message updatepiaip2007-12-294-14/+22
| | | | | | | - modify menu permissions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3753 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix display error when user input wrong value in email address (reported ↵piaip2007-12-291-1/+2
| | | | | | by watch @ ptt1) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: warning for ANSI move commands in contentpiaip2007-12-291-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix reg screen display error, reported by watch@PttBugpiaip2007-12-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix definition errorpiaip2007-12-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-288-207/+252
| | | | | | | - add GLOBAL_NEWBIE and GLOBAL_SYSOP to default fav (for new registered user, not empty fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: configuration to workaround very poor terms which do not allow ↵piaip2007-12-271-1/+19
| | | | | | omitting ANSI 2-param commands like ESC[mH. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - assess: apply real MAXGPpiaip2007-12-263-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove terminal workarounds if we use pftermpiaip2007-12-261-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3745 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: why a output("1", 1)?piaip2007-12-251-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -pfterm: FTCROW/FTAROW works with ft.y, not ft.ry. Never use them in ↵piaip2007-12-251-5/+7
| | | | | | refresh() internal loop. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* -pfterm: reprint should compare "current attribute" instead of "old piaip2007-12-251-2/+2
| | | | | | | attribute". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - gp auto fix: update display attribute error and msg logicpiaip2007-12-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: redraw on display changepiaip2007-12-252-3/+9
| | | | | | | - bbs: workaround clrtoln bug in screen.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'good post auto recovery' toolpiaip2007-12-252-0/+204
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix: interactive+topions movies may use option bar attribute piaip2007-12-251-0/+1
| | | | | | | for content. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3738 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add MENU_UNREGONLY definitionpiaip2007-12-251-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3737 63ad8ddf-47c3-0310-b6dd-a9e9d9715204