summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-5/+5
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change the display of L+M. It become '!' ptt2005-03-151-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only articles with S and M flags could not be pushed.in22005-03-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2613in22005-03-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use Copy() instead Link() for most casesin22005-03-131-22/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dark screen bugptt2005-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solved what DonaldLam said about allpost problemptt2005-03-131-29/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, 587 byteskcwu2005-03-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable to local, save another 536 byteskcwu2005-03-121-15/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-101-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-091-0/+63
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2005-03-031-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post limits do not apply to BMs and SYSOPswens2005-03-031-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add regtime to post & vote limitswens2005-03-031-10/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 'internal error' when deleting articles from other sites.in22005-02-251-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-241-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a warning message if SYSOP enters a hidden boardin22005-02-121-0/+7
| | | | | | | and s/he is not in its board friend list. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check if uid is in range in deumoney(). or damage SHM.in22005-02-121-2/+2
| | | | | | | | | this checking should be done in upper layer or users could not get the error messages. so mark as TODO. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite few lines.kcwu2005-02-121-2/+2
| | | | | | | comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When OLDRECOMMAND is defined, we don't have to care about BRD_NOBOO.scw2005-02-111-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Recommand code clean up and make length limit depend on ID length.scw2005-02-091-27/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2485 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In generalnamecomplete(), complete as more as possible when space (' ')scw2005-02-051-10/+2
| | | | | | | | | | | | | | | is pressed. (As what <tab> does in most shell) * In all three completing functions (namecomplete, usercomplete and generalnamecomplete), return null string instead of partial matched name which makes users able to talk/annoy those they are not supposed to talk to (admins or cloaks). * Type of parameters of generalnamecomplete has typedefed and should be clearer. * New macro CompleteBoard and CompleteOnlineUser are defined since most of the usage of generalnamecomplete are the same. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix dark screen problemptt2005-02-031-1/+1
| | | | | | | | Clear the screen only after he can post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert last commitwens2005-01-191-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limitedit should be SYSOP onlywens2005-01-191-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix missing initialization (default is insert mode)victor2005-01-191-1/+1
| | | | | | | fix possible error about anonymous mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* proper layout for long screenvictor2005-01-171-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't use those useless data (I'll review edit.c later)victor2005-01-171-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-01-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only sysop can set `chess country' and `restricted post.'scw2005-01-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only SYSOPs can change post limitwens2005-01-091-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make BM be able to set whether everyone can postscw2005-01-071-1/+27
| | | | | | | or only board friend can. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add post limits for BM.wens2005-01-071-15/+119
| | | | | | | | rename "do_votelimitedit" to "do_limitedit". rename "zerovotelimit.c" to "zero_limits.c". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function for BMs to choose default save methodwens2004-12-201-2/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linux againwens2004-12-111-3/+3
| | | | | | | | | | | WARNING! There are some major differences in SHM_t. All pointers storing offsets in SHM_t have been changed to indexes. When updating to this revision, please rebuild the whole tree and restart the entire BBS system (kill all users first, stop, and start). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fucking compile errorvictor2004-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r2368 due to compilation failurein22004-12-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix title lengthwens2004-12-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linuxwens2004-12-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add board to title for deleted articles as in ALLPOSTwens2004-12-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changed money in fileheader_t into unionwens2004-12-031-16/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-32/+1
| | | | | | | | more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added vote board limits for BM using key 'C'wens2004-11-201-1/+4
| | | | | | | fixed no mail alert when replying to board and mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* moved cancel bid earlierwens2004-11-181-2/+17
| | | | | | | added ability for seller to end bidding early git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Anonymous post can be delete by posterptt2004-10-131-12/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. remove do_unanonymous_post function. It is almost the same as do_crosspost.ptt2004-10-131-4/+4
| | | | | | | | | | | And it didn't touch the btotal. 2. Change setbtotal to touchbtotal at do_crosspost. Because this boards are not popular. To count .DIR every time is needless. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* found black hold.ptt2004-10-051-2/+2
| | | | | | | lower the threshold of safe_article_delete git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use getkey instead of vmsgptt2004-10-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* oh....ptt2004-10-021-18/+8
| | | | | | | the bit FILE_HIDE is already used git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* split no reply and solvedptt2004-10-021-6/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a little bit modification of crosspost policyvictor2004-09-281-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check FILE_SOLVE when people want reply during reading.ptt2004-09-231-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix 1 make errorptt2004-09-231-4/+4
| | | | | | | | | | 2. add perm_nocitizen 3. add no reply for FILE_SOLVE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix malfunction of '[', ']', '=' keys on article with long titlevictor2004-09-221-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move up the threshold of safe_deleteptt2004-09-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fixed for badpostptt2004-08-291-23/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use vmsg() instead of outs() + pressanykey()in22004-08-271-20/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sallkoy's color for pressanykey and push bottomptt2004-08-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2161 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2157in22004-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug goodpost & bad postptt2004-08-041-10/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-12/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead of longin22004-07-301-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add <> for deleted announce.ptt2004-07-191-5/+7
| | | | | | | | 2. change the display of push bottom. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove the color of marked postptt2004-07-131-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chage the color of push bottomptt2004-07-131-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2133 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the display way of push bottomptt2004-07-131-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix typo in chinese.ptt2004-07-011-4/+4
| | | | | | | 2. fix the problem that board name in fpg has the initial number. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. use setupmailusage instead touchmailusageptt2004-06-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.debug select_read problem with "SR" in board name.ptt2004-06-261-1/+3
| | | | | | | 2.cache mailsum. get_sum_record is a bad function that cause a lot of IO git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add a flag for BM to choose BRD_NOBOO by 'I'ptt2004-06-221-6/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2076 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* anonymous posting in innin22004-06-151-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2068 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* re-indentin22004-06-151-210/+213
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* OLDRECOMMENDin22004-06-151-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-11/+11
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-3/+3
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of unable to change the title while reeditingptt2004-05-191-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/\\n// foreach vmsg("xxx")victor2004-05-181-60/+52
| | | | | | | indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete uncessary repost to ALLPOSTptt2004-05-161-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one typo i > 2 not i > 1ptt2004-05-141-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.add [BC] when broadcasting messageptt2004-05-141-12/+9
| | | | | | | 2.change default of recommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't show bad word on recommendptt2004-05-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust recommend color againptt2004-05-131-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust recommend to the front of idptt2004-05-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust the color and layout of recommendptt2004-05-131-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1 char offset for recommendptt2004-05-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* adjust color and textptt2004-05-131-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* read/write recommend with same fd, ptt2004-05-121-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* a small bug of lseek in do_add_recommendptt2004-05-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1962 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update int olny when recommendptt2004-05-121-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove MODE_ETC useless functionptt2004-05-121-16/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for colorptt2004-05-121-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* why only bm can recommendvictor2004-05-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1957 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a little bitptt2004-05-121-14/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add show bad post on postlistptt2004-05-121-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function for recommendptt2004-05-121-28/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refactor show_brdlist()victor2004-05-071-2/+4
| | | | | | | I hope these local variable wont cost too much @@; git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* safe_delete won't happen when mode_digestptt2004-05-021-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean up getindex() and substitute recordptt2004-04-301-57/+1
| | | | | | | fix bug of OSONG git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.fix some bug for reference tagptt2004-04-301-129/+34
| | | | | | | | | 2.add static _mode to cost down select_read's time. Note: getindex is a bad!! funcation...must get ride of that some day. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-12/+6
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.avoid bottom black holeptt2004-04-291-2/+8
| | | | | | | | 2.check board friend when crosspost 3.add 'X' in more git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (y/N)in22004-04-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buf overflow of vmsgptt2004-04-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite ptt2004-04-271-94/+14
| | | | | | | | | | | i_read() i_read_key() thread() select_mode() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify a little for vmsgptt2004-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-27/+13
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-2/+2
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless codesPtt.read@1812ptt2004-04-231-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-52/+52
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom fixptt2004-04-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1768 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only check if the file exists when marking. (not unmarking)in22004-04-141-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1759 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dircacheptt2004-04-141-11/+1
| | | | | | | prevent error for push bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1758 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* small bug of directptt2004-04-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gamble bugptt2004-04-141-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 防堵利用不同id同時舉辦賭場ptt2004-04-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1753 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 防堵利用不同id同時舉辦賭場ptt2004-04-141-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.change outs pressanykey -> vmsgptt2004-04-141-13/+5
| | | | | | | 2.secrete chess git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify the codeptt2004-04-131-13/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* message bug of push bottomptt2004-04-131-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom fixptt2004-04-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom bug fixptt2004-04-131-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid delete board by delete articleptt2004-04-131-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mark brokenin22004-04-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1745 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom fixptt2004-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do select fixptt2004-04-121-6/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* safe article delete limited to only hot boards (nuser>20)ptt2004-04-121-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* FULLUPDATE when abort selecting board.scw2004-04-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1738 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom() marks brokenin22004-04-091-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1735 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1732 ↵ptt2004-04-081-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottom completeptt2004-04-081-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1730 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-081-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom fixptt2004-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1721 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom fixptt2004-04-081-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Write back brc record before switch board using 's'.scw2004-04-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push bottomptt2004-04-061-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* push_bottom ptt2004-04-061-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add push_bottom functionptt2004-04-061-7/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix currboard usage when crosspost.scw2004-04-051-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bm permission errorvictor2004-04-021-5/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1672 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check post perm on demandvictor2004-04-021-12/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.ptt2004-04-021-12/+19
| | | | | | | | | | avoid return FULLUPDATE. use return TITLE_REDRAW / READ_REDRAW 2. showfilename in read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1665 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* brdname must starts with an alphabetic character (not a number)in22004-04-011-1/+1
| | | | | | | | edit board default to abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refiningptt2004-03-311-5/+2
| | | | | | | | cuser & passwd_update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-59/+57
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Let currboard likely be setted to DEFAULT_BOARD.scw2004-03-281-1/+1
| | | | | | | (Not really copy it in to currboard) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Correcting action about make brc_buf be malloc.scw2004-03-281-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix bug when .boardrc full.scw2004-03-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* get ride of delete_fileptt2004-03-281-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify record.cptt2004-03-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1616 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* leave board if brc_buf is not loadedin22004-03-271-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify the position of board's titleptt2004-03-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplfy append_recordptt2004-03-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the problem of black holeptt2004-03-241-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show #bfs at article listin22004-03-201-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from victor.symbolic branchvictor2004-03-121-3/+3
| | | | | | | | | symbolic link to board rename something might cause misunderstanding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong flag testing.scw2004-02-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Opening wrong file. Remove the code and leave the racing.scw2004-02-181-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in del_range()in22004-02-141-6/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SAFE_ARTICLE_DELETE for 'D'in22004-02-131-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Define string macro GLOBAL_DIGEST in pttbbs.conf to set the digest board name.scw2004-02-121-1/+3
| | | | | | | Or undifine it to remove this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong coditionvictor2004-02-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if the gamble is stopped, dont joinvictor2004-02-121-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change default valuevictor2004-02-121-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong conditionvictor2004-02-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-02-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix wrong symbol link when abort editing artical.scw2004-02-081-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #ifdef ASSESSvictor2004-02-041-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reason for bad postvictor2004-02-021-1/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix wrong result on ALLPOST when editting artical.scw2004-02-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204