summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
Commit message (Collapse)AuthorAgeFilesLines
* - improve reg-email check procedure and error messagepiaip2008-06-041-1/+118
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve reg ui messagespiaip2008-05-311-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4332 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register validation: change message from "validated" to "viewed".piaip2008-05-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4320 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: alert when replying to board fallbacks to reply-mail.piaip2008-05-161-7/+15
| | | | | | | | - board: prevent showing groups in 's' of boardlist. - register: fix too old/too young error string git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: finetune reject reasons and logs according to admin requests.piaip2008-05-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4305 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: drop some rejected words which are valid in some addressespiaip2008-05-111-1/+2
| | | | | | | | - user: support 80 column in signature preview - admin: log admin/sys(etc)edit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register/captcha: remove some ambigious options/alphabetspiaip2008-05-111-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix warnings.kcwu2008-05-101-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (register) fix BIG5 partial string strstr issue (solving some invalid ↵piaip2008-05-101-41/+40
| | | | | | address error) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: check copy-pasting sample birthdaypiaip2008-05-101-5/+21
| | | | | | | - register: reduce captcha max tries git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4287 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (exp captcha) random seed should be initialized earlier for captcha.piaip2008-05-101-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4286 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (exp) register: add figlet captcha systempiaip2008-05-101-8/+167
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4285 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change 86400/... (seconds of day/month/...) to named constants.piaip2008-05-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: fixed: page mode validation treated all user as "D" (non-exist).piaip2008-05-081-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4281 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: refine reject-notify process. user will be able to reply at the ↵piaip2008-05-081-186/+201
| | | | | | first time. drop sysop/id_problem report message. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: add more information on registration waiting state.piaip2008-04-231-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4235 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: allow quick return for aborting rejection (no reason input)piaip2008-04-221-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4234 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add customizable registration rejecting notespiaip2008-04-221-3/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) fix register query prompt extra codepiaip2008-04-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4225 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refinepiaip2008-04-211-4/+4
| | | | | | | | - change pmore to non-official pager again. Explicitly #define USE_PMORE in pttbbs.conf to use it. - add mini pager (minimore) as a default replacement of pmore for license issue. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4224 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: alert push_bottom for the relationship with original filespiaip2008-04-201-16/+25
| | | | | | | - register: explain on being revoked for registration. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change GUEST rule to checking PERM_BASIC.piaip2008-04-191-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4203 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** PASSWD CHANGE *** PLEASE READ UPDATING FOR DEFAILT INFORMATION.piaip2008-04-191-96/+31
| | | | | | | | | YOU NEED TO SHUTDOWN BBS TO PREPARE THIS CHANGE. - split justify to career and phone - prevent padding in structers that wil be written to disk git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: add log for "assigning specific user to validate".piaip2008-04-171-11/+17
| | | | | | | - visio: better check to prevent input half big5 characters git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-171-3/+3
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change sender address of auto forward to forwarder, to prevent confusion ↵piaip2008-04-161-6/+2
| | | | | | | | | caused by incorrect forward settings. - (internal) change bsmtp to allow assigning from address git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: fix reject reason in paged validation modepiaip2008-04-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-151-6/+6
| | | | | | | - mouts -> (curses style) mvouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine - improving visio systempiaip2008-04-151-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: forgot to stop dryrun mode!!piaip2008-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4160 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add aligned format of commentspiaip2008-04-131-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - officially change to regform v2 and drop old (v1) support.piaip2008-04-131-777/+5
| | | | | | | WARNING: PLEASE REMEMBER TO MIGRATE YOUR register.new (ref: UPDATING) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: do not remove spaces until buildling justify stringpiaip2008-04-121-2/+11
| | | | | | | | - mail: drop old reg-confirm mail - Makefile: prevent corpses when using make test git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4143 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) vedit should not change input parameter.piaip2008-04-101-0/+1
| | | | | | | - (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix regform2: skip all LOGIN_OK userspiaip2008-04-081-6/+9
| | | | | | | | - add displaying T (reject regcode) information in single validation display - change user info display ordering to show perms in register validation view git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4095 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix reg-career checkpiaip2008-04-071-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - check more on careeer/student inputpiaip2008-04-061-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: change notification mails to anonymous stylepiaip2008-04-041-2/+13
| | | | | | | - mail: fast reject on replying to system mail/anonymous mail. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - regform: enable kick-out mechanism for regform systempiaip2008-04-041-9/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register: compact ID_RECORD title formatpiaip2008-04-031-2/+8
| | | | | | | register: use "system" in regform reject mail instead of reviewer name git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - logging regform validation results to specific board (BN_ID_RECORD)piaip2008-04-011-10/+49
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-1/+1
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile errorpiaip2008-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: new_register failed to create new regformpiaip2008-03-301-9/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4045 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: message fixpiaip2008-03-291-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register/regform2: add 'assign user' option.piaip2008-03-291-7/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-291-2/+10
| | | | | | | - board: make 'w' (save_brc) more user friendly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error for regform1piaip2008-03-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make regform2 complete by upgrading scripts.piaip2008-03-291-31/+51
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: (exp) complete testing code for regform 2: now enables testing ↵piaip2008-03-281-135/+231
| | | | | | from user input to whole adm process git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) moving more bbs-independent code to utility library.piaip2008-03-261-5/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) drop deprecated old OS support. focus on modern Linux/FreeBSD now.piaip2008-03-261-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - check_and_expire: allow preserving accounts for one year (if not requested ↵piaip2008-03-181-12/+12
| | | | | | by others) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: account expiring: fix offset-by-one issue.piaip2008-03-181-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: allow expiring accounts created more than one year before.piaip2008-03-181-8/+12
| | | | | | | - chicken: demand money after user decided pet's name (otherwise aborting connection will not get pet) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: display over18 evalulation resultpiaip2008-03-111-2/+9
| | | | | | | - register: reject invalid (in future) birthday input. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: fix non-exist file crashpiaip2008-03-101-4/+371
| | | | | | | - register: regform2 in paged validator (new style UI) implementation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: Regform2 API prototype (for concurrent registration form ↵piaip2008-03-081-11/+398
| | | | | | | | | | validation) [not applied yet] - file/passwd/assess: API finetune - menu: menu item finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken/upgrade: add live upgrade functionpiaip2008-03-071-21/+29
| | | | | | | - register: general source code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: general code refine, no functionality change.piaip2008-03-061-320/+317
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - [code refine] move all registration code to register.cpiaip2008-03-061-3/+1808
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3966 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore/common: prompt message finetune for recommendationpiaip2008-03-051-1/+4
| | | | | | | - register: alert user that only 8 characters of password are valid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for new admin reg procedurepiaip2008-02-201-0/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: prevent printing zeros if mobile has not been setpiaip2008-02-011-0/+38
| | | | | | | - register: force user to update birthday information. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: make birthday registration earlier, also helps over18 work ↵piaip2008-01-311-0/+28
| | | | | | | | | | correctly. - register: change '1st register' check to email instead of birthday:year. - emaildb: fix offset-by-one (because the 'self' is not counted now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration processpiaip2008-01-301-38/+68
| | | | | | | - COPY2TMP and other pager functions now require BASIC permission git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: hinting on SYSOP permission update of setting emailpiaip2008-01-281-0/+13
| | | | | | | | | - register: improve new-account process - bbs: hints on hotkey change(H) - board/fav: make TAG bits more meaningful. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: allow admins to change email to 'invalid'.piaip2008-01-281-1/+2
| | | | | | | | - admin: try to solve "registration failed if user is online" - register: fix display for expired accounts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* since only passwd_lock() when register, no need to call passwd_init() every ↵kcwu2006-09-011-0/+4
| | | | | | login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verify userid when sethome path.kcwu2006-03-271-11/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Warning, API semantic changes.kcwu2006-03-231-2/+2
| | | | | | | searchuser() rejects empty userid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some strncpy with strlcpy, or just strcpy if src is constvictor2006-01-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changes mailalert to 1 bit only.ptt2005-10-131-1/+1
| | | | | | | | reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change bsmtp's prototype since ``method'' is not usedvictor2005-09-181-1/+1
| | | | | | | try to make the temporary, outgoing mail unique git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pager=waterball made readablepiaip2005-09-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NO_GUEST_ACCOUNT_REG. thanks rafan.in22005-08-161-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate kill-user's codevictor2005-08-131-10/+2
| | | | | | | | bug killed: somethings a new user will be alohaed by friends of previous owner of the same id. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix race condition of user registeration (as well as while restoring avictor2005-08-081-26/+28
| | | | | | | | | | | | | | | backed-up account): Procoess A Process B ====================== ===================== uid = searchuser("") uid = searchuser("") setuserid(uid, userid) setuserid(uid, userid) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3007 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
* log new user registrationin22005-06-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-2/+2
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New DBCS aware: detecting and reversed default valuepiaip2005-06-081-1/+11
| | | | 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-2/+2
| | | | | | | | | 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
* remove dead codekcwu2005-03-191-12/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-191-2/+1
| | | | 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-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-3/+3
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-4/+7
| | | | 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-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a message for hidden password inputin22005-03-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uhash problem ptt2005-01-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-1/+1
| | | | 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-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* init userec_t versionvictor2004-10-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment with non-big5 charkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused uflag: MIND_FLAG, COLOR_FLAGvictor2004-10-061-1/+1
| | | | | | | disable chinese chess watching git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2224 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
* fix UPPER/LOWER case problem when register.ptt.testclient@2117ptt2004-07-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2117 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-1/+1
| | | | | | | | | | | | 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
* s/\\n// foreach vmsg("xxx")victor2004-05-181-3/+3
| | | | | | | indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-17/+4
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use strncasecmp instead strcasestr for checking if userid has fuck or shitJaky.i18n@1807in22004-04-221-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-16/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1718 ↵ptt2004-04-081-0/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix warning, including:scw2004-04-021-0/+1
| | | | | | | | | | 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
* add mmap to cuser get ride of passwd_updateptt2004-03-311-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd update debugptt2004-03-301-11/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd delete bugptt2004-03-301-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let no PERM_LOGIN user read the mail before fill the register form.victor2004-03-021-4/+13
| | | | | | | dont check length of nick, address, blahblah every time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* setmoney to 0 after registeringin22004-01-071-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* UserAgreementin22003-10-261-0/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* XDvictor2003-08-281-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* always clear plaintext password in memory after checkingkcwu2003-06-261-9/+12
| | | | | | | code clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* default: don't add new brd to favbbs2003-06-191-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject for registering userid containing shit or fuckin22002-11-301-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-12/+12
| | | | | | | 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-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-148/+148
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-25/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-5/+4
| | | | 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-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* register by EMail codein22002-03-171-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@36 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+339
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204