summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* - b_config: more detail hints on user post permission checkingpiaip2008-02-261-4/+7
| | | | | | | - bcache code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3948 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
* - mail: do not add numposts for cross-posting mailspiaip2008-02-171-12/+10
| | | | | | | - 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
* - 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
* - 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
* - 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
* - SRexpire: enable expiring search cache recordspiaip2008-02-131-2/+37
| | | | | | | | - 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
* - 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
* - 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-051-3/+6
| | | | 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-051-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3902 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
* - bbs: change default cursor location to "end of .DIR records" excluding ↵piaip2008-01-291-2/+2
| | | | | | | | | .DIR.bottom - general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: hinting on SYSOP permission update of setting emailpiaip2008-01-281-1/+1
| | | | | | | | | - 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
* - 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
* - fix limit edit displaypiaip2008-01-211-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: allow local mail for web based tarqueuepiaip2008-01-161-1/+15
| | | | | | | | | | - 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
* - bbs: add title for AID displaypiaip2008-01-141-8/+16
| | | | | | | | | | - 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
* - mmbsd: improve DEBUGSLEEP proctitle for debugging multiple versionspiaip2008-01-101-2/+7
| | | | | | | | - 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
* - refine limit edit sourcepiaip2008-01-081-94/+85
| | | | | | | - move M (maintain vote) to integrated board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: enhance title editingpiaip2008-01-071-2/+5
| | | | | | | | - 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
* - mail: prevent false alerts more carefullypiaip2008-01-061-6/+6
| | | | | | | | | - 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
* - comments: better not use Ctrl-O as hotkey. UNIX does not send ^O by default.piaip2008-01-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bid issuepiaip2008-01-041-13/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: move ChessReplay (z) to outside.piaip2008-01-031-2/+1
| | | | | | | - 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-031-21/+39
| | | | | | | - 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
* - make Test as macro namepiaip2008-01-021-5/+6
| | | | | | | - general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 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
* - modify file size limitation controlpiaip2007-12-301-9/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix announce crash bugs (reason: entering a_menu may have different board piaip2007-12-291-1/+2
| | | | | | | than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: redraw on display changepiaip2007-12-251-1/+4
| | | | | | | - bbs: workaround clrtoln bug in screen.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add Q and improve return value definition in pagerpiaip2007-12-231-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - compact AID query UIpiaip2007-12-231-14/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: API change, from [y,end) to [y,end]piaip2007-12-201-3/+3
| | | | | | | | - feature names change: now HAVE_GRAYOUT - edit ask() changed to vmsg to prevent standout() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - exp: edit/upload now enabled for special boardspiaip2007-12-191-9/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-171-19/+48
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add "fix aloha" for userspiaip2007-12-171-0/+2
| | | | | | | - general message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-171-8/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix recommends update cache and good_post relationpiaip2007-12-171-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-171-2/+6
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize big I formatting piaip2007-12-171-46/+1
| | | | | | | - disable mail pre-check permission until someone fix it git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move more BM management keys to integrated b_configpiaip2007-12-161-187/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for text-only editingpiaip2007-12-161-7/+15
| | | | | | | - message update for modified post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bug "good post dropped if user online"piaip2007-12-161-0/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - ignore bottom for recommending in special modespiaip2007-12-161-4/+5
| | | | | | | - general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message fixpiaip2007-12-161-55/+66
| | | | | | | | | - screen: force dirty of ANSI escapes - bbs: isolate the process of making 'modification' to .DIR with recommends and edit_post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3685 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable cross-post requirement if AUTO_CPLOG onpiaip2007-12-151-6/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3684 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix typo (reported by watch.bbs@ptt.cc)piaip2007-12-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3682 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - crosspost: better logic to anti crosspost spammerspiaip2007-12-151-33/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-121-35/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise codekcwu2007-12-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (msg) fix backslash in stringpiaip2007-12-111-245/+16
| | | | | | | | - hints recommending in non-conditional .DIR - move b_config from bbs.c to board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard coded .DIR to macro definitionspiaip2007-12-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - edit_post/smartmerge: use fnv hash instead of external MD5.piaip2007-12-111-16/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3665 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit_post: add Smart Mergepiaip2007-12-101-5/+131
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - hinting outposts may not receive recommendationspiaip2007-12-091-16/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* b_config: fix const errorpiaip2007-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3655 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better decision of modified markspiaip2007-12-081-41/+43
| | | | | | | - artwork for big I (board conf) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change money name to macro for better isolationpiaip2007-12-081-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3650 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard-coded board names to definespiaip2007-12-071-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* digest: fixed "user can post at first time entering digest",piaip2007-12-071-4/+6
| | | | | | | reported by flyworldhan@PttCurrent git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* artwork: better grayout for big-Ipiaip2007-12-071-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3646 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable board for artwork againpiaip2007-12-051-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add some grayout effects, and general code improvementpiaip2007-12-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans: reduce buffer to reflect its naturepiaip2007-12-051-7/+15
| | | | | | | editpost: better hints for user to understand our recovery feature git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs: if reply() failed, also needs screen update.piaip2007-12-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move hard-coded board names to pttbbs.conf.piaip2007-12-051-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general code refine: remove all hard-coded "Ptt" message string and wens2007-12-051-27/+29
| | | | | | | use macro BBSMNAME/BBSMNAME2 instead git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add option to support both coloured and symboled modification mark (~ and +)piaip2007-12-041-5/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* artwork fixpiaip2007-12-031-3/+5
| | | | | | | | - pmore: fixed non-ascii options being dropped - bbs: rollback modified mark to ~ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - brcv3: change the "modified" mark to grayed mark.piaip2007-12-031-14/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRV v3: update modified logicpiaip2007-12-021-8/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** IMPORTANT CHANGE ***piaip2007-12-021-69/+58
| | | | | | | | | | | | BRC v3, supporting local modification THINK TWICE BEFORE YOU APPLY TO YOUR SYSTEM. BRC v3 will double size of BRC v2. BRC v3 can allow notifying changes of comment (recommend) system BRC v3 may cause more syscall activities than v2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rollback recommend system with author self-recommending.piaip2007-12-011-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sync ptt2 local modification piaip2007-12-011-60/+84
| | | | | | | | - refine post/vote restriction magic code - color in making recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add move_ansi() to support moving to lines with prior ANSI code.piaip2007-12-011-5/+5
| | | | | | | - general improvement git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General Update by PttSuggest:piaip2007-12-011-16/+10
| | | | | | | | | | | - 'w' in mail can msg - author in mail header will highlight if online - recommendation message fix - ignore empty input for login - better prompt for empty fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warnings according to lxb's commit on pttbbslitekcwu2007-10-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix crash if BM range-delete his mail after he enter his board.kcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r3571kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix warnings.kcwu2007-09-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise code for entering board.kcwu2007-09-231-32/+8
| | | | | | | * fix board permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: don't getdata() on non-local variable directly, to avoid ↵kcwu2007-09-211-12/+17
| | | | | | reentrant crash. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3564 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * deny recommend in short time if article is longkcwu2007-09-201-0/+20
| | | | | | | * deny recommend if article is too long git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'I' instruction hint when user does not meet regtime limitscw2007-06-041-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * delete dead code.kcwu2007-06-021-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CheckPostPerm depends on currboard. However, it's undefined in your mailbox.victor2007-04-161-5/+3
| | | | | | | There is another haspostperm() after that, let me assume it's enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add LOGPOSTin22007-03-281-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip non-existing board for do_crosspostptt2007-03-271-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move text to the rightwens2007-02-161-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* big hole in lock postwens2007-01-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug of the cost of deleting postptt2007-01-181-7/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug on stamp file which does unnecessary memset sometimes.ptt2007-01-111-5/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* copy post's metadata (including money) while it is deleted.ptt2007-01-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* If post in board with BRD_BAD attribute won't add the post number.ptt2007-01-071-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a typo in delete_allpostptt2007-01-071-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug.ptt2007-01-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix a bug that files' stamp in the same board are not in order.ptt2007-01-071-4/+19
| | | | | | | | | 2. delete user's posts when the id is deleted git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3466 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix an off-by-1 bugptt2007-01-061-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3465 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Automatically delete cross postptt2007-01-061-16/+94
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* crosspost to Test board does not count as a postscw2006-12-261-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* request reason for police actionswens2006-10-011-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article lock sends copy to BM and PoliceLog boardwens2006-10-011-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typowens2006-09-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * police logswens2006-09-281-12/+19
| | | | | | | | | * lock article confirmation * change permission of police actions (BMs are not allowed) * remove police info from lock article git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of do crosspostptt2006-09-251-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add log to Lock/unlock fileptt2006-09-251-1/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change key of locking post from Ctrl('L') to Ctrl('E') ptt2006-09-241-33/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Lock post for police and BMptt2006-09-241-22/+54
| | | | | | | | | | 2. BM and Police can set board cool down 3. All post posted by new account (<14 days) will show in NEWIDPOST board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enum usage fix, saved few bytes.kcwu2006-09-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* deny abuse of recommendation, don't recommend too frequently.kcwu2006-09-171-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix cooldown bugwens2006-07-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no reply can only be set by super group ops or sysopswens2006-07-281-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2006-07-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change how badpost limit is counted, so default value of 0 will workwens2006-07-251-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add badposts as post/vote limitwens2006-07-251-0/+40
| | | | | | | show post limits on board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forgot newlinewens2006-07-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3383 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add no reply to boardswens2006-07-221-1/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugs...wens2006-07-031-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in r3375wens2006-07-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limit recommendwens2006-07-011-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify last commitwens2006-07-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* group ops can alter posting limitswens2006-07-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.remove str_checksum() (use StringHash() now)in22006-06-161-1/+1
| | | | | | | 2.prevent cross posting from mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Update btotal of the recording board when recording bad post.scw2006-04-241-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-2/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent board master use gamble race condition to earn illegal money.kcwu2006-04-081-2/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3335 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbs.c message update to fix the situationscw2006-01-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some strncpy with strlcpy, or just strcpy if src is constvictor2006-01-121-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add "cancel bad post" feature.ptt2006-01-041-0/+1
| | | | | | | | | 2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitscw2005-12-141-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * recording bad post judgement made by BM on boardscw2005-12-141-2/+24
| | | | | | | | defined by BAD_POST_RECORD * post older than a week cannot be made bad post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reverse r3247,r3248victor2005-11-221-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass through directly if there's no board notevictor2005-11-221-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove deadc0de for deprecated featurevictor2005-11-211-14/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-211-8/+0
| | | | | | | | | | remove unused and deprecated features return NULL if malloc(0) buildAnnounce: qsort takes pointer ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* PERMISSION can be changed even if the user is online.ptt2005-11-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BRD_OVER18 patch. see http://www.ticrf.org.tw for detailsin22005-10-271-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a long feast that make statusbar unterminated (ANSI_RESET).piaip2005-10-111-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make check_cooldown work for recommendationpiaip2005-09-281-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose ver.cpiaip2005-09-201-5/+5
| | | | | | | pretty print for board-config (I) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-181-2/+2
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation ip log optional, piaip2005-09-171-27/+46
| | | | | | | toggled by BMs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose msg and skip multilogin check for debugsleepingpiaip2005-09-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make textlen an optionpiaip2005-09-151-4/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3177 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous N fixes again... orzpiaip2005-09-151-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix again: touch file record.piaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous patch, logic errorpiaip2005-09-151-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous offset-by-one errorpiaip2005-09-151-1/+2
| | | | | | | | | --This line, afind those below, will be ignored-- M mbbsd/bbs.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* real main text editing.piaip2005-09-151-13/+51
| | | | | | | recommendation/comments are not modifiable now. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* match current user behaviorpiaip2005-09-151-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default recommendation is now (add comment only).piaip2005-09-151-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make cplog compatiblepiaip2005-09-151-6/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new recommendation style: (#undef GUESTRECOMMEND)piaip2005-09-151-21/+48
| | | | | | | | | | record date/time. IP is omitted because article owner may modify it. If guest is allowed to recommend, then use old style recommendation log to keep IP info. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some debug codes were checked in accidentally in last patchset (r3136).piaip2005-09-081-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wide terminal rules.piaip2005-09-081-0/+2
| | | | | | | This time we have userlist and mailbox support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typo in previous patchpiaip2005-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help compatible with traditional C.piaip2005-09-071-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* distinguish functions that need item or not, and allow the latter in empty ↵kcwu2005-08-281-104/+105
| | | | | | itemlist. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix off-by-one bug.kcwu2005-08-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate more compiler warningspiaip2005-08-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3083 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate compiler warnings (mostly signed/unsigned)piaip2005-08-251-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3082 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Big E (re-edit_post) enhanced:piaip2005-08-251-2/+54
| | | | | | | | - remove unsaved temp file (hope so) - check if file was modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3081 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set*() family functions all assume buffer size = PATHLEN, to prevent buffer ↵kcwu2005-08-231-5/+5
| | | | | | | | | overflow. do some s/256/PATHLEN/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-big5 typo in r3012piaip2005-08-091-6/+8
| | | | | | | and make locking more solid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. let is unable to use gamble command if the board is under violation.ptt2005-08-081-0/+11
| | | | | | | 2. unable to open ticket while the CPU loading is high. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3012 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-081-1/+1
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg pretty printpiaip2005-08-081-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New chess frameworkscw2005-08-081-1/+0
| | | | | | | | | | | | | * Provides common parts of all chess games * Chinese chess fully ported * Improved watching * Leaving possibility to implement replaying !!!NOTE!!! Protocal not backward compatible, STOP ALL clients before upgrade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msgs updatespiaip2005-08-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revision 3000piaip2005-08-061-5/+48
| | | | | | | - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money system upgrade againpiaip2005-08-061-3/+8
| | | | | | | now fully works(hope so). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* article money issue updatespiaip2005-08-061-48/+56
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Large Terminal Rulespiaip2005-08-061-6/+12
| | | | | | | New api: *lr family calls are used to pad and fir terminal width. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-14/+32
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* various money related fixpiaip2005-08-061-12/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* incremental select_readptt2005-08-051-5/+18
| | | | | | | | fix 'Q' in view post money. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* BM logic error @@ orzpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix b_config msg max heightpiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix long bm+title display bugpiaip2005-08-051-5/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi.money updates,piaip2005-08-051-12/+62
| | | | | | | | - experimental money listing mode - prevent unread black-hole mails git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make compiler happypiaip2005-08-051-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* post post ALLHIDPOST for hidden boards.ptt2005-08-041-13/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let BM decide fast recommendation durationpiaip2005-07-281-18/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some users complained about restricting fast recommendationpiaip2005-07-281-5/+23
| | | | | | | will make them not able to recommend different articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restrict fast recommendationpiaip2005-07-261-2/+18
| | | | | | | - release large memory buffer for CopyBuffer(announce.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate warning msgpiaip2005-07-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent scroll for all situation!piaip2005-07-251-2/+2
| | | | | | | | because some people complained about scrolling makes their useless head dizzy. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make recommendation system betterpiaip2005-07-251-1/+11
| | | | | | | | - prevent waterball overwrites recommendation - eliminate confirm scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help normal user to query board modepiaip2005-07-251-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* After discussion on PttSuggest and with PTT SYSOPs,piaip2005-07-241-8/+8
| | | | | | | | | decided to change auto cp log to a postive option. WARNING: YOU MUST INVERSE ALL AUTOCPLOG OPTIONS (which was NOCPLOG) AFTER THIS PATCH APPLIED. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2950 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation: a more elegant UIpiaip2005-07-241-38/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrated board attr setuppiaip2005-07-241-55/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove complex #ifdef'spiaip2005-07-241-21/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix msg errorpiaip2005-07-231-2/+2
| | | | | | | - make old compilers happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* option to toggle cp auto logpiaip2005-07-231-19/+81
| | | | | | | | for both entire site def and board conf. also updated board conf (for recommendation/cp auto log) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2944 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo fixpiaip2005-07-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2943 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cp log format updatepiaip2005-07-231-5/+15
| | | | | | | cp with invis board mosaic format update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust cp log color/stylepiaip2005-07-221-4/+6
| | | | | | | and we should update board record. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if cp to invisible board, mosaic the destination namepiaip2005-07-221-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#30: realtime board perm updatepiaip2005-07-221-1/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ticket#31, both implemented.piaip2005-07-221-5/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose message,piaip2005-07-181-0/+3
| | | | | | | and disable recommendation scroll git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - scroll for recommending articlespiaip2005-07-161-0/+3
| | | | | | | - confirm vote_admin git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation system, updated for result previewpiaip2005-07-091-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tricky way to solve ticket #24, part 2piaip2005-07-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix ticket#24 first partpiaip2005-07-091-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free, make gcc 4.0 happyvictor2005-07-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: to make gcc4 happy with signed/unsigned issuepiaip2005-07-071-0/+2
| | | | | | | bbs: eliminate warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* position updatepiaip2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recommendation compatible modepiaip2005-07-071-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty format.piaip2005-07-071-10/+46
| | | | | | | | boardhelp is fixed ('cause i used large term lasttime) and recommendation system is now better. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix write_header for outside edit.cpiaip2005-07-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: should set FILE_BOTTOM after checking, patch submitted by ↵kcwu2005-07-061-2/+3
| | | | | | CatMan@ptt2. fixed #15. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-041-4/+4
| | | | | | | turn off FOREIGN_REG by default in sample/pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* misc update:piaip2005-07-031-0/+10
| | | | | | | | | | fix recent PttBug/PttSuggest request - bid prompt - tag display bug - category colors git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/版/板/in22005-06-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* articles in FILE_BOTTOM could be editedin22005-06-261-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. patch of defining BBSENAMEptt2005-06-221-0/+3
| | | | | | | | | | | | 2. chage log format for red envelope 3. remove unused function give_money_log 4. add log for deleting a post. (who delete it) 5. add log for changing basic permission. 6. add log for changing user's password and mail to notify user and witnesses. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* articles in Security or FILE_BOTTOM should not be edited.in22005-06-191-6/+7
| | | | | | | | guest should not edit his articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-31/+31
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug that END usually gets "no articles" in ALLPOST.piaip2005-06-141-1/+8
| | | | | | | read.c: add HOME to 1st article. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update board notes behaviorpiaip2005-06-131-2/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* animated board notespiaip2005-06-121-5/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* when some files were corrupted (disappeared on disk)piaip2005-06-121-2/+3
| | | | | | | | the read mark was not updated so 'unread' flag couldn't be removed. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-28/+34
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix wrong prototype for r2732scw2005-05-241-0/+4
| | | | | | | | | * fix link error without defining USE_COOLDOWN * clean flag in curredit after replying (thanks peter53.bbs@ptt2.cc) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2733 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamically change the limitation of waterpost according to the number of users.ptt2005-05-191-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Cooldown does not prevent SYSOPs & BMs from seeing number of users in ↵wens2005-05-161-1/+1
| | | | | | current board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2722 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* seGga's suggestion: ptt2005-05-111-10/+12
| | | | | | | | in categories of badpost the default is cancel. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typoptt2005-05-071-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no_water_post only for nuser>50.ptt2005-05-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2718 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* corrected typosptt2005-05-071-38/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.kick people before give them ticket.ptt2005-05-061-28/+33
| | | | | | | | | | 2.set bad post -> 1 hour can't post. 3.maxiam 9 post whin 3 min. 4.one ticket for every 5 bad post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fixed vedit crash issues when long lines caused split()piaip2005-04-261-1/+1
| | | | | | | | being called frequently. also update previous patch (typo). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* workarounds to eliminate bugs: weather out of date,piaip2005-04-261-0/+3
| | | | | | | viewpostmoney does not work with FILE_BOTTOM. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer overflow: file path [64] is too small!piaip2005-04-211-4/+4
| | | | | | | use PATHLEN instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. make tty_read more clear and reablepiaip2005-04-181-3/+2
| | | | | | | 2. hack to prevent ^W SIGSEGV when parent is incorrect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* array index off by 1 bugkcwu2005-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more statistickcwu2005-03-271-0/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead code. its key has been overrided.kcwu2005-03-271-85/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2677 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* currboard is constant pointerkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* save about 500 bytes stackkcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-47/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove display of board users when cool downptt2005-03-191-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204