summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
Commit message (Collapse)AuthorAgeFilesLines
* * refine user->customize piaip2009-09-241-8/+10
| | | | | | | * allow setting "dbcs evil client repeat detection" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * detect repeated DBCS commands from evil clientspiaip2009-09-221-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * merge uflag2 and uflag, and refine flag bitmask namespiaip2009-09-211-12/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow setting default value for site like ptt2piaip2009-09-201-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine adbanner_usong againpiaip2009-09-201-10/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine adbanner_usong stuff, add timebombpiaip2009-09-201-11/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine order song init query uipiaip2009-09-191-6/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable more checkings in usong selectionpiaip2009-09-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change the name of 'movie' to 'adbanner' (advertisement banner), which is ↵piaip2009-09-191-1/+11
| | | | | | more descriptive. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine message, due to too many new BMs not knowing why their ↵piaip2009-09-081-2/+3
| | | | | | registration was canceled. git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4822 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix numlogindayspiaip2009-08-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwcu branch) code refine, remove unused code, and finetune alertspiaip2009-08-301-7/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwcu branch) const cuser code completepiaip2009-08-301-120/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4795 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable lastseen and CONST_CUSER, also use cuser_ref as "&cuser".piaip2009-08-291-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine foreigner querypiaip2009-08-241-12/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * improve foreign query interface againpiaip2009-08-241-11/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove foreign query pre-input because some people may have problem using ↵piaip2009-08-241-2/+2
| | | | | | DEL/BS. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use SAFE_ARTICLE_DELETE even if nuser < 30piaip2009-08-231-1/+3
| | | | | | | | | * because we can make rich UI to allow leaving delete reasons in this mode * also because it's stupid to determine by magic 30 * changed board name UnAnonymous to macro in config.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * WITH_EMAILDB was deprecated by USE_EMAILDB in pttbbs.conf.piaip2009-08-191-1/+1
| | | | | | | * ambiguous user id check is toggled by WITH_REGCHECKD git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move ambiguous id check into (emaildb/regcheckd) daemon piaip2009-08-191-66/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prevent ambiguous account registrationpiaip2009-08-191-0/+68
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change 'user number exceeded' error message. thanks to yogira@PttSuggestpiaip2009-08-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Foreigner may not have 9 ~ 10 digit phone numberscw2009-07-251-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4744 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * reg: after getfield() was changed, all function should pause if it prints ↵piaip2009-06-251-2/+5
| | | | | | messages below getfield(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix 'foreign' messages.piaip2009-06-211-1/+1
| | | | | | | * notes: r4078,r4079,r4080 overrides r4077 in a better way git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4687 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable the customizable 'register detail messages' [edit the messages ↵piaip2009-06-211-45/+44
| | | | | | from (0)Admin -> (X)File -> etc/regnotes/* ] git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more description to register/career, according to Ptt1 rulespiaip2009-06-211-13/+37
| | | | | | | * highlight the reject reason in regform git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4684 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * clear previous messagespiaip2009-06-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4675 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow the 'hold mail' to appear as changed titlepiaip2009-06-191-3/+3
| | | | | | | * refine emaildb error messages git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: array forgot initializekcwu2009-06-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: user cannot register when emaildb is malfunction.piaip2009-06-181-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4659 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine the error message when emaildb was malfunctionpiaip2009-06-181-2/+9
| | | | | | | * allow specify db file to generate in initemaildb git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix usernum range (1..MAX_USER)piaip2009-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: incorrect user's tmp buf filename.kcwu2009-06-131-2/+2
| | | | | | | | | * don't test upper case if getdata with LCECHO flag * add some comment * some small code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs: move util_passwd.o to cmbbs/passwd.c.piaip2009-06-121-6/+6
| | | | | | | | * note: in order to workaround the buggy/dirty synchronization hacks, changed 'passwd_query' and 'passwd_update' to passwd_sync_*. * util/* and daemon/* use directly passwd_query/update, and mbbsd should use passwd_sync_*. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make port binding to standalone configuration fine (etc/bindports.conf)piaip2009-06-111-1/+1
| | | | | | | * refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile errorkcwu2009-06-071-35/+36
| | | | | | | - fix snprintf usage git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code revisekcwu2009-06-071-46/+62
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine and prepare for login daemon:piaip2009-06-061-48/+8
| | | | | | | | | * change str_guest and str_new to macro definition names * make passwd utilites (check, verify, ...) available in util_passwd * make logattemtp() use assigned time and host. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4498 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: refine r4464: typo in messagespiaip2009-05-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine: reduce the i/o request to check reserved idpiaip2009-05-231-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - implement reserve id in a better waypiaip2009-05-231-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4462 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add reserved id to prevent malicious registrationpiaip2009-05-231-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4461 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 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