summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - update angel loading orderpiaip2008-04-061-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4086 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent crash connections of angels being pagedpiaip2008-04-061-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refinepiaip2008-04-051-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4084 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4083 ↵piaip2008-04-051-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix friend description length on screenpiaip2008-04-051-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix missing code (compile error, sorry)piaip2008-04-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - announce: fix append size error (was using target size)piaip2008-04-052-1/+5
| | | | | | | - mail: add more fast reject git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: change notification mails to anonymous stylepiaip2008-04-047-8/+35
| | | | | | | - mail: fast reject on replying to system mail/anonymous mail. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - regform: enable kick-out mechanism for regform systempiaip2008-04-043-9/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) eliminate warningspiaip2008-04-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4077 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix typopiaip2008-04-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix go score calculation (prior will have 'lose' overflow - forget to ↵piaip2008-04-032-6/+19
| | | | | | increase at first) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4075 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register: compact ID_RECORD title formatpiaip2008-04-033-2/+21
| | | | | | | register: use "system" in regform reject mail instead of reviewer name git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - support anonymous commenting for angel system (use with caution - define ↵piaip2008-04-034-11/+26
| | | | | | ANGEL_ANONYMOUS_COMMENT to enable) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix a 7-year bug? force_open should really "force" open file.piaip2008-04-0311-37/+49
| | | | | | | - (internal) code refine - drop MAXPATHLEN and change few magic number (256) to PATHLEN. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (board) improve restriction display in board_configpiaip2008-04-031-24/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4071 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change mail/log to specific API.piaip2008-04-038-54/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel: allow user to call paged rejnew angel in hh mode, even if angel has ↵piaip2008-04-033-33/+67
| | | | | | not really replied. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - [announce] fix copy-paste endless loop (reported by Kinra@ptt1, thanks)piaip2008-04-021-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4068 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - handle money more correctly when deleting posts. (process BRD_BAD and flow ↵piaip2008-04-021-27/+50
| | | | | | optimize) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - cache angel data to speed up angel querypiaip2008-04-022-58/+150
| | | | | | | - stop GoToNewHand() board because many people get confused and then post to wrong place. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve changing_angel algorithm to prevent paused angels receiving more ↵piaip2008-04-021-13/+20
| | | | | | clients git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel system: extend pager modes to 3 types (accept, reject new, reject all)piaip2008-04-027-327/+372
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4064 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make angel status more accessible in talk listpiaip2008-04-021-0/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4063 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel: add Ctrl-P in userlist to toggle angel_pause.piaip2008-04-022-2/+20
| | | | | | | - angel: setting angel_pause now takes effects immediately. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4062 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - finetune angel nick processingpiaip2008-04-022-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4061 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel_anon: improve auto nicks [dirty hack]piaip2008-04-021-0/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - print angel_msg last modified datepiaip2008-04-021-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - logging regform validation results to specific board (BN_ID_RECORD)piaip2008-04-014-15/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add NO WARRENTY alerts on gamble.piaip2008-04-011-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4057 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable angel in BN_ANGELPRAY to do anonymous post [dirty hack]piaip2008-04-011-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - announce: align edit_title prompt betterpiaip2008-04-012-7/+7
| | | | | | | - Makefile refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable angel to temporary disable pager again.piaip2008-04-014-5/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable building utmpserverpiaip2008-03-317-60/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove rejects from util/angelpiaip2008-03-311-48/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-3126-129/+132
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop angel_reject features (requested from okcool@ptt)piaip2008-03-316-73/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user (admin): change confirm order to prevent unnecessary alerts when ↵piaip2008-03-311-39/+69
| | | | | | admin aborts such operations (by watch@pttbug) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - log registration data when killing user by adminspiaip2008-03-301-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compiler warningspiaip2008-03-303-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile errorpiaip2008-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: new_register failed to create new regformpiaip2008-03-301-9/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4045 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change 'chicken' to 'pet' in utmp description (ad24@PttSuggest)piaip2008-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4044 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: add 'search for "s"' in G searchpiaip2008-03-303-7/+25
| | | | | | | - user: print reg date in userinfo. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - upgrade script: fix Makefile for compilation.piaip2008-03-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4042 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: message fixpiaip2008-03-291-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register/regform2: add 'assign user' option.piaip2008-03-291-7/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-2912-24/+74
| | | | | | | - board: make 'w' (save_brc) more user friendly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix reaper utility to make it really works.piaip2008-03-291-9/+139
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - expiring user after board set to hidden state.piaip2008-03-292-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error for regform1piaip2008-03-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make regform2 complete by upgrading scripts.piaip2008-03-297-35/+228
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change the chinese description of b_note and message finetune.piaip2008-03-282-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4034 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bnote: change board_note display settings to make it more meaningful.piaip2008-03-282-13/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4033 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: (exp) complete testing code for regform 2: now enables testing ↵piaip2008-03-284-138/+234
| | | | | | from user input to whole adm process git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-2713-132/+197
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code clean upkcwu2008-03-275-30/+33
| | | | | | | - enlarge buffer size to prevent overflow git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4030 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix syntax for old c compiler.kcwu2008-03-273-8/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) drop src directory (moved to common/ now)piaip2008-03-2716-2510/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.piaip2008-03-2728-19/+2533
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move osdep to libbbsutilpiaip2008-03-267-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct file character setwens2008-03-260-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4025 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) util update - sync with latest librarypiaip2008-03-266-232/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) moving more bbs-independent code to utility library.piaip2008-03-2612-216/+221
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) directory layout structure finetunepiaip2008-03-2625-2/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4022 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board_config: many people get confused about "one month", let's display ↵piaip2008-03-261-3/+7
| | | | | | "30 days" instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) drop deprecated old OS support. focus on modern Linux/FreeBSD now.piaip2008-03-268-624/+258
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine board_config display (prevent garbage restriction display)piaip2008-03-251-4/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change kill_user log from VIOLATION to SECURITY.piaip2008-03-251-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4018 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent buffer overflow issues.piaip2008-03-241-18/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - log reason for adm killing user accountspiaip2008-03-241-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix buffer overflow (due to some invalid friend file containing very long id)piaip2008-03-241-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4015 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix user over18 display in admin's user_display.piaip2008-03-243-17/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise code slightly.piaip.newlayout@4011kcwu2008-03-201-51/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (setup) update sample config filespiaip2008-03-192-25/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4009 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - cancelbadpost: prevent update request masked by potential new badposts.piaip2008-03-191-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Fix compilation error: Rename is now in libbbsutil.piaip2008-03-182-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4007 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - check_and_expire: allow preserving accounts for one year (if not requested ↵piaip2008-03-181-12/+12
| | | | | | by others) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: account expiring: fix offset-by-one issue.piaip2008-03-181-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent minus Z search messages shown on OLDRECOMMEND systemspiaip2008-03-181-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: allow expiring accounts created more than one year before.piaip2008-03-182-10/+24
| | | | | | | - chicken: demand money after user decided pet's name (otherwise aborting connection will not get pet) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: search_recommend: add searching recommend<0, for helping BM managementpiaip2008-03-171-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prompt fine-tune: change 'uppercase I' to i.piaip2008-03-163-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Happy r4000!piaip2008-03-153-5153/+5153
| | | | | | | - source code retab. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix crash for mail->'c'->man->D.piaip2008-03-152-2/+5
| | | | | | | - fix crash on Ctrl-T (buffer overflow). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: prevent repeated showing board_enter_notespiaip2008-03-153-4/+7
| | | | | | | | - bbs: make commenting warnings more clear. - menu: make newmail message more clear. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: enable z for some users who already have mail-man before.piaip2008-03-121-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3997 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change show_file parameter to assign striping options in a better way.piaip2008-03-127-22/+52
| | | | | | | - also prevents ESC* style escapes in user_play_query, for security reason. (Thanks to Kinra's report on PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: 'y' for replying in boardspiaip2008-03-122-0/+5
| | | | | | | - try to do full update when unknown return keys(status) was found. (will this cause extra load?) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore/mail/modes: enable 'y' for multi-reply in mail reading, and fix ↵piaip2008-03-125-17/+44
| | | | | | | | | | non-update screen after 'X' in mail. crypt: add comments stuff: prepare to show PttPrints status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - vt100/200 key conversion: improve error handling (may cause endless loop) ↵piaip2008-03-121-10/+22
| | | | | | for HOME/INS family. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix crash: should check every return value of strtok_r.piaip2008-03-111-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3992 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - eliminate compile warningspiaip2008-03-113-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - removed indict, because there's no any reason to keep those out-dated data.piaip2008-03-115-243/+9
| | | | | | | | - removed MRT map because it is not a real 'search' tool. - removed 'search' in P menu because there is no useful stuff in it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revert testing code: should not check-in.piaip2008-03-111-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: fix sudden-death after reviving 'too tired' or 'too full'.piaip2008-03-112-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: revive should update lastvisit to prevent die again.piaip2008-03-111-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 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