summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
Commit message (Collapse)AuthorAgeFilesLines
* Overrides r2977. PLEASE DO NOT USE include/pttbbs.conf.piaip2005-08-051-2/+5
| | | | | | | | | | | | | The better way is to write default values in include/config.h and then make an entry in "sample/pttbbs.conf". <recent updates always put new settings in sample/* and no one updates only in "local" files> A new file of sample/pttbbs_minimal.conf is added to make things clear. And DO NOT reveal magic numbers to files in repository. We have to change RECODE_MAGIC now... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recall of non-uflag options in user.cpiaip2005-07-101-33/+86
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better code to handle user customizationpiaip2005-07-081-98/+90
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2920 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free, make gcc 4.0 happyvictor2005-07-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-041-7/+7
| | | | | | | 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
* - multi-signature browsing modepiaip2005-07-031-12/+43
| | | | | | | - song order: quick abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't change any permission after the password is set.ptt2005-06-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix permission when changing user's password or emailin22005-06-281-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* display the warning message when re-email_justifyptt2005-06-241-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change email will be asked to re-email_justifyptt2005-06-241-93/+100
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of email justifyptt2005-06-241-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 2 bug for last patch.ptt2005-06-221-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. patch of defining BBSENAMEptt2005-06-221-3/+20
| | | | | | | | | | | | 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
* better readability.in22005-06-141-22/+22
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* msg updatepiaip2005-06-111-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* help user upgrade regcodepiaip2005-06-111-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo in sample conf orzpiaip2005-06-111-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new scrambled regcodepiaip2005-06-111-2/+52
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* well, message revised again.piaip2005-06-111-7/+10
| | | | | | | btw disable detection for guests or some people may get crazy. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* detect evil client: some complained about the descriptionpiaip2005-06-111-5/+5
| | | | | | | | ok, let's change it and make guest see it everytime because guests are unknown. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2825 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user: don't update passwd so frequentlypiaip2005-06-091-6/+12
| | | | | | | pmore: trying to make raw-ansi mode better git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* io.c: revised keyseqpiaip2005-06-091-0/+7
| | | | | | | user/pmore: general update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New DBCS aware: detecting and reversed default valuepiaip2005-06-081-17/+106
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-23/+23
| | | | | | | | | 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
* user customization: should be case insensitivepiaip2005-06-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reorder UI to help user customize easily.piaip2005-06-071-10/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dbcs_aware: can be toggled.piaip2005-06-071-4/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (fix r2742) there was no typo in users.cpiaip2005-06-031-1/+12
| | | | | | | (pmore) fix search display bug in scroll mode(should be refreshed) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2745 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove rarely used function block_shift_left and block_shift_right,victor2005-06-031-1/+1
| | | | | | | | which causes buffer overflow. Fix typo in user.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Registeration, let's go English.piaip2005-05-161-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2723 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* corrected typosptt2005-05-071-4/+5
| | | | 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-0/+14
| | | | | | | | | | 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
* comment on bad codekcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refactor post articlekcwu2005-03-191-23/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-191-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for r2580in22005-03-161-6/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-4/+4
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove "proverb" function, which doesn't work for a long timekcwu2005-03-121-36/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-5/+6
| | | | 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-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove personal ident for registration.in22005-03-081-74/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/#ifdef/#if/victor2005-02-191-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define FOREIGN_REG to allow foreigner's registrationvictor2005-02-191-3/+7
| | | | | | | define FOREIGN_REG_DAY to limit their deadline to get the right of stay git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* showplans() does not always called after getuser() so that it shouldscw2005-02-181-0/+3
| | | | | | | update xuser itself. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing #ifdef/endif pairvictor2005-02-161-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use chomp() instead of assigning '\0' directly.scw2005-02-121-3/+3
| | | | | | | Change a little code in searching of more() to reduce call of strlen(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country plan showing problem. Display country plan onscw2005-02-021-1/+1
| | | | | | | query also when viewing elo grade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless \nin22005-01-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix Cdate without newlinewens2005-01-251-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allow user to modify their chess country self-description.scw2005-01-231-2/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country plan display error.scw2005-01-211-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous commit.scw2005-01-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong output for chess country query.scw2005-01-081-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2390 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Use testing and setting macros instead of accessing yank_flagscw2004-11-291-1/+1
| | | | | | | | | directly in board.c * Add 'a' and 'i' to add favorite directly in favorite mode. * Remove duplicated `const' qualifier. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2357 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add modifier "const" to some constantvictor2004-11-091-1/+1
| | | | | | | | remove a static char array of 60 bytes from mail.c:doforward avoid DDOS in mail.c:send_inner_mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise to proper buffer lenvictor2004-10-101-14/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* same problemvictor2004-10-091-11/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2234 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong size of ident -_- it may cause malfunction of uflag2victor2004-10-091-5/+5
| | | | | | | e.g. strange subscribtion of favorite git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add subscribed boards only when loginvictor2004-09-271-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: when deleting an user, the aloha record won't be deleted.victor2004-09-201-0/+2
| | | | | | | add file: file.c, move some useful subroutine out of friend.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Personal chess country data query done.scw2004-09-121-0/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Solaris compatiblevictor2004-09-121-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* allow people born after 1990 to register.ptt2004-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Mail user when PERM_ANGEL setted.scw2004-08-211-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject F222222222 as personalidin22004-08-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22004-07-181-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2141 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge bbs merge moduleptt.fpg@2092ptt2004-06-261-0/+1
| | | | | | | | usage: make -D BBSMERGE to enable this module git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from victor.screen branchvictor2004-06-121-9/+0
| | | | | | | remove showansi option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 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-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typovictor2004-05-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-4/+54
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix register error for foreignerptt2004-05-161-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix register for foreignerptt2004-05-161-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correcting Calendar function.scw2004-05-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22004-05-051-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix some stuff for getkeyptt2004-04-291-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans -> getdataptt2004-04-291-1/+1
| | | | | | | | getkey -> vmsg_lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for ptt2ptt2004-04-281-22/+12
| | | | | | | | | | | | | | | | | | | | | : : 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
* warning freein22004-04-251-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-1/+1
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug of segfault on userlistptt2004-04-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1821 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix wrong wordin22004-04-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-86/+85
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change some ambiguous termsptt2004-04-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove restriction for foreignerptt2004-04-201-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buggy fix for linuxptt2004-04-201-22/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register changeptt2004-04-201-15/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1793 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error & warning freein22004-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unsigned int for moneyptt2004-04-071-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use case insensitive string functions for banemailin22004-04-061-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* admin change data and also update indexptt2004-04-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix warning, including:scw2004-04-021-1/+4
| | | | | | | | | | Prototype differance of crypt() on linux. Adding _ISOC99_SOURCE to get declaration of snprintf() on linux. Including strings.h to get declaration of strcasecmp() on linux. Using mkstemp() instead of tempnam(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refiningptt2004-03-311-3/+3
| | | | | | | | 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-84/+83
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd update debugptt2004-03-301-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd delete bugptt2004-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* faster passwd by lower the lseek.ptt2004-03-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 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
* registerin22004-03-021-21/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* subscription should be perform after choice, move some code from board.c to ↵victor2004-02-221-0/+2
| | | | | | fav.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnessesary codevictor2004-02-061-7/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.特殊搜尋使用者裡victor2003-12-271-2/+3
| | | | | | | | | | | | | | | | 請輸入使用者關鍵字[電話|地址|姓名|上站地點|email|小雞id] 可否加上身分證字號? 2.退註冊後重註 填完x後資料就會送過來 被退的人無法更新資料 我們又不見得有時間馬上去退掉 常常被罵好玩的啊XD 3.連署看板時 申請原因一欄沒有標題說明 常常有人因此重新連署@@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error without define FOREIGN_REGvictor2003-11-251-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* init var "fore", "備註"->"心情"victor2003-11-201-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add PERM_NOREGCODEvictor2003-10-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add PERM_NOREGCODEvictor2003-10-301-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1271 ↵ptt2003-10-281-2/+9
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1270 ↵ptt2003-10-281-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mbbsd.c for SSH_CLIENTvictor2003-09-011-0/+1
| | | | | | | user.c for passwd_update when changing the habit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register(no author)2003-08-281-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register(no author)2003-08-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warn if a foreignervictor2003-08-141-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1094 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* non-init varbbs2003-07-201-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not allow a foreigner with Taiwan IDvictor2003-07-181-22/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1062 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* random signaturevictor2003-07-171-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce SHM size(remove realname)in22003-07-171-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-07-171-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix rulebbs2003-07-131-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strstr("����", "��") return truein22003-07-061-5/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-07-041-4/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-06-271-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-06-261-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-06-211-47/+41
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-06-021-5/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* renamevictor2003-05-121-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* stupidvictor2003-05-121-10/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix wrong varvictor2003-05-111-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* last commit errvictor2003-05-111-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ifdef-else-endif :Qbbs2003-05-111-3/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix err showvictor2003-05-101-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use another clear bits -_-victor2003-05-091-13/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* foreigner identificationvictor2003-05-091-22/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* A-Ein22003-03-301-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user could set if hilight favoritein22003-03-261-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* customizein22003-03-261-3/+61
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* �W�[���J ���R�H�c�� ����in22003-03-101-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-03-081-4/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-02-221-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@672 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22003-02-211-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * there are so many fopen() without fclose()kcwu2003-01-201-2/+6
| | | | | | | | * assert fopen() * clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make gcc33 happyin22003-01-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use gcc's extension to check format stringkcwu2002-12-261-2/+2
| | | | | | | and make compiler happier git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove personal id from userinfoin22002-12-141-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-12-051-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-10-261-54/+81
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-10-161-19/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-09-021-6/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* For personal privacy, some functions should only be used on debug purpose.kcwu2002-08-291-11/+5
| | | | | | | Approved by in2. git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-08-281-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@498 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix idcard number bugin22002-08-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-07-251-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-36/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix using strlcpy() bugin22002-07-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-32/+32
| | | | | | | 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-24/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* registerin22002-07-071-11/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-428/+468
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use vmsg()in22002-07-021-13/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* hit for registerin22002-06-301-14/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug( Admin -> SetUserPasswd )in22002-06-261-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@355 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***bbs2002-06-211-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@331 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-06-191-6/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only one shared memoryin22002-06-071-2/+2
| | | | 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-36/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix register bugin22002-06-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some hintsin22002-05-301-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix regcode lengthin22002-05-171-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simple regcodein22002-05-161-20/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-9/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-21/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for mbbsd.iccin22002-04-271-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register screenin22002-04-061-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@85 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug (register)in22002-03-201-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@55 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug(register)in22002-03-191-31/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@49 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if justify.wait no exists ^^"in22002-03-191-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@48 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register use X, not 0in22002-03-181-6/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@47 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete justify.waitin22002-03-171-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@42 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-171-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@40 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-171-11/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@39 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22002-03-171-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@38 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* :)in22002-03-171-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@37 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register by EMail codein22002-03-171-27/+154
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@36 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* boards/<hash>/<brdname>in22002-03-101-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+980
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204