summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
Commit message (Collapse)AuthorAgeFilesLines
* merge the branch from ptt.fpgptt2004-07-011-6/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2109 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge bbs merge moduleptt.fpg@2092ptt2004-06-261-5/+84
| | | | | | | | usage: make -D BBSMERGE to enable this module git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-12/+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-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of select perm '1-4'ptt2004-05-201-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2009 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix empty muser.justifyin22004-05-051-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid race condition at tag board->paste boardptt2004-05-021-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-4/+1
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans -> getdataptt2004-04-291-2/+2
| | | | | | | | getkey -> vmsg_lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use old getans()in22004-04-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for ptt2ptt2004-04-281-3/+4
| | | | | | | | | | | | | | | | | | | | | : : 1. 在分類看板內的各群組下的看板列表不正常 : : 會有部份的板找不到 重進群組每次大概會多出現兩個板 : : 這對小組長來說很麻煩吧 fixed...看板等victor回來再review一次 : : 2. 叮叮聲是沒之前嚴重了 不過原本如果在文章列表的最後一篇文章按↓ : : 會出現的叮叮聲現在消失了 可不可以把這個叮要回來 ^^" fixed : : 3. 換頁時可不可以跟之前一樣是換一整頁 而不是現在這樣只換半頁 @@ fixed : 4. tag 完文章按 ^D 之後的確認 能不能不要按個 y 就直接砍掉 : 應該要多按個 enter 再砍比較保險一點 default是'N'應該還好囉 我覺得這用久會比較方便 不想改了'''''''''' : 5. 在文章列表上按 ctrl + q 查詢 user 後 會接著進入設定該帳號的畫面 : 這正常嗎? XD fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* two moutsptt2004-04-241-2/+2
| | | | | | | clean one mouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-9/+5
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix brd.firstchild errorptt2004-04-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commiting bugvictor2004-04-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* D: delete symlinkvictor2004-04-181-4/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1718 ↵ptt2004-04-081-2/+2
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* brdname must starts with an alphabetic character (not a number)in22004-04-011-2/+2
| | | | | | | | edit board default to abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cuser debugptt2004-03-311-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1643 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd delete bugptt2004-03-301-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from victor.symbolic branchvictor2004-03-121-16/+81
| | | | | | | | | 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
* login water ballptt2004-03-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 ↵ptt2004-03-121-0/+28
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commitvictor2004-02-091-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong pathvictor2004-02-091-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.特殊搜尋使用者裡victor2003-12-271-6/+6
| | | | | | | | | | | | | | | | 請輸入使用者關鍵字[電話|地址|姓名|上站地點|email|小雞id] 可否加上身分證字號? 2.退註冊後重註 填完x後資料就會送過來 被退的人無法更新資料 我們又不見得有時間馬上去退掉 常常被罵好玩的啊XD 3.連署看板時 申請原因一欄沒有標題說明 常常有人因此重新連署@@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer sizekcwu2003-11-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1283 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* admin.c: multiple reason for rejectionvictor2003-09-091-6/+10
| | | | | | | mbbsd.c: change the sequence of some action git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-10/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free(no author)2003-08-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* trim spacekcwu2003-06-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix error to get backup datavictor2003-05-301-10/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2003-05-161-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@858 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2003-05-161-10/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* renamevictor2003-05-121-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* showvictor2003-05-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong index ><victor2003-05-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* un-init varvictor2003-05-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* last commit errvictor2003-05-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ifdef-else-endif :Qbbs2003-05-111-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use another clear bits -_-victor2003-05-091-8/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* foreigner identificationvictor2003-05-091-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not permit subop to del brdbbs2003-05-071-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * there are so many fopen() without fclose()kcwu2003-01-201-3/+10
| | | | | | | | * assert fopen() * clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-15/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check the using of `sizeof' with strlcpy()kcwu2002-07-221-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-20/+20
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcpy() -> strlcpy()in22002-07-211-13/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-381/+401
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix gamble lockptt2002-06-231-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-06-191-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@328 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix register bugin22002-06-171-5/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only one shared memoryin22002-06-071-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-40/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register reject reasonin22002-06-021-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-06-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugin22002-05-301-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register user if he isn't onlinein22002-05-301-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-05-251-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-211-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no warningin22002-05-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@180 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-10/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* general namecompletein22002-05-111-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-081-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@152 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-16/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-181-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@45 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-181-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@44 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* one key to confirm registerin22002-03-171-1/+7
| | | | | | | delete justify.wait git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@41 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* boards/<hash>/<brdname>in22002-03-101-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register default to skipin22002-03-081-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@3 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+1105
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204