summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* * merge uflag2 and uflag, and refine flag bitmask namespiaip2009-09-213-69/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine menu and ad banner system, making the code simple and readablepiaip2009-09-201-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine order song init query uipiaip2009-09-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Always display designated system banner first.wens2009-09-192-3/+2
| | | | | | | | Let user choose whether to display user songs. r4856_adbanner will reset all users to not display user songs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change the name of 'movie' to 'adbanner' (advertisement banner), which is ↵piaip2009-09-194-7/+8
| | | | | | more descriptive. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine pwcuExitSave again, prevent the initial query if possible.piaip2009-09-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * well, after discussion, let's keep OFO mode in user selectionpiaip2009-09-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move WATER_* from uflag2 to cuser.pager_ui_type (standalone variable)piaip2009-09-173-8/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine badpost code againpiaip2009-09-172-10/+5
| | | | | | | * remove more deprecated stuff git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4847 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine uflagspiaip2009-09-171-13/+5
| | | | | | | | * remove and mark for more deprecated uflags * finetune pwcu exit save for uflags git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change magic numbers to const namespiaip2009-09-161-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4845 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more robust check of SHM version and sizepiaip2009-09-141-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable size tag in shmpiaip2009-09-141-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * performance improve: clear alerts when cuser was reloaded.piaip2009-09-141-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: money was not synchronized...piaip2009-09-131-2/+4
| | | | | | | * also enhanced more check with explicit reload git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make const_cuser defaultpttbbs.pwcupiaip2009-09-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * merge trunkpiaip2009-09-081-4/+0
| | | | | | | | * merge current * allow view old 'goodpost' just like old numlogin git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4820 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow query old login number (for self only)piaip2009-09-072-2/+3
| | | | | | | * merge latest git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4816 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine message with quantitypiaip2009-09-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4813 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* let's try this namepiaip2009-09-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * experimental: add user recent login history viewpiaip2009-09-061-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change display name of numlogindays to macro (we may change it again in ↵piaip2009-09-051-0/+2
| | | | | | future) git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * merge pwcu branch with trunkpiaip2009-08-311-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4806 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more checking to numlogindayspiaip2009-08-301-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix numlogindayspiaip2009-08-301-3/+2
| | | | 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-8/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwcu branch) const cuser code completepiaip2009-08-302-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4795 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwcu branch) make user compatible to pwcu APIpiaip2009-08-301-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4794 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwch branch) change chess results to use pwcu APIpiaip2009-08-301-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4793 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * (pwcu branch) code refinepiaip2009-08-291-2/+2
| | | | | | | | * also changed numlogin formula to 'only increase max to one per each day', which allow us to update the value in login state instead of logout stage git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable lastseen and CONST_CUSER, also use cuser_ref as "&cuser".piaip2009-08-292-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * modify more APIspiaip2009-08-281-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * moving into the new pwcu (password - current user helper) APIpiaip2009-08-282-7/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine ordersongpiaip2009-08-261-4/+3
| | | | | | | | | * merge topsong and ordersong to single ordersong.c * change max song from MAX_MOVIE to MAX_SONG * change random menu 'movie' to sequential slide show mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove numlogin from vote/post restriction (confirmed by SYSOPs)piaip2009-08-251-85/+99
| | | | | | | | | | * reason: this variable can be easily cheated by bots and hard to detect/avoid. * this can be replaced by regtime (or, count of 'days' that logged in). * we also plan to remove all references to numlogins in future because it's hard to be kept on web-forum systems. * also refined code layout in pttstruct.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable timeout in toconnectex.piaip2009-08-251-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use SAFE_ARTICLE_DELETE even if nuser < 30piaip2009-08-232-2/+6
| | | | | | | | | * 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
* * move ambiguous id check into (emaildb/regcheckd) daemon piaip2009-08-191-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4755 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prepare to move ambiguous id check into regmaild (it should be named as ↵piaip2009-08-191-0/+1
| | | | | | regcheckd instead someday) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine stampdir behaviorpiaip2009-08-181-0/+1
| | | | | | | | * we don't want massive user to use man(announce) as blog/home, so restrict folder number back to 4096 * for deleted/junk boards, they need to use large set (65535) because they may contain all boards from entire site git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4750 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove bid as claimed before.piaip2009-07-162-22/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove more bid assess(good/bad sale) stuffpiaip2009-06-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add Security and ALLPOST to system internal readonly boardspiaip2009-06-301-0/+1
| | | | | | | | * previously, ALLPOST was set to reject del_post by attr BRD_VOTEBOARD; however this is confusing to admins. * in order to prevent such potential issue, we'd force it to be readonly in source level. (since it has special meaning in the code) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change function to several display text screen from pager to show_file.piaip2009-06-221-3/+4
| | | | | | | * may get better performance (?) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move structure used in UTMPD mode to daemons.hkcwu2009-06-222-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move emaildb to standalone regmaildbpiaip2009-06-192-28/+56
| | | | | | | * integrate the daemon structure to daemons.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * missing check-in filespiaip2009-06-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4662 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing filespiaip2009-06-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4636 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revert r4584, r4586, r4595: to preserve old behavior.kcwu2009-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: incorrect user's tmp buf filename.kcwu2009-06-132-8/+1
| | | | | | | | | * 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
* * revise brc interface: brc will not change currbid, currboard, currbrdattrkcwu2009-06-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* vedit revisekcwu2009-06-132-9/+9
| | | | | | | | | * move global save_title[] to local * vedit() vedit2() interface change * add veditfile() for editing normal file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs: move util_passwd.o to cmbbs/passwd.c.piaip2009-06-122-17/+21
| | | | | | | | * 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 AYT customizablepiaip2009-06-121-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine cmbbs/cache.c: we don't need 'util_cache.o' anymore! simply common ↵piaip2009-06-122-54/+49
| | | | | | bbs library (libcmbbs.a). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make port binding to standalone configuration fine (etc/bindports.conf)piaip2009-06-111-1/+6
| | | | | | | * refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add is_valid_brdname() to cmbbskcwu2009-06-112-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unused or rear used header file include in bbs.hkcwu2009-06-101-11/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * IDLEN macro cannot be quoted - because friend.c is using toStr(IDLEN) as ↵piaip2009-06-101-1/+3
| | | | | | #IDLEN. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4539 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing checking piaip2009-06-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * sendmsg() with ancillary on Linux seems like requiring unix domain socket ↵piaip2009-06-101-1/+1
| | | | | | original path, even if the socket was already opened. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * define size of fromhost as IPV4LEN(15)+NUL.piaip2009-06-092-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * minor fixes:piaip2009-06-081-5/+5
| | | | | | | | | * menu: item name refine * mbbsd: merge INSCREEN and BANNER. * logind.h: refine tabs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add client code detection to tunnel modepiaip2009-06-082-5/+16
| | | | | | | * refine telnet library to support write customization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove post_msg_fpath(), no longer used.kcwu2009-06-071-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: crashed for read_more case in tty_read.piaip2009-06-071-1/+1
| | | | | | | | * example: got waterball then SEGV * reason: telnet_process should take signed size_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change telnet interface to accept extra parameter for callbacks (*_arg)piaip2009-06-072-9/+11
| | | | | | | * refine mbbsd to allow pre-setting terminal window git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rework r4509: add missing file (logind.h)piaip2009-06-071-0/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * improve tobind() with customizable parameterspiaip2009-06-071-3/+7
| | | | | | | * add ancillary remote fd API git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - extract telnet.c to cmsyskcwu2009-06-071-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile warningskcwu2009-06-071-1/+1
| | | | | | | - str_decode_M3: Assume output size is shorter than input size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move code of innbbsd/str_decode.c to cmsys/string.ckcwu2009-06-071-0/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine and prepare for login daemon:piaip2009-06-062-3/+7
| | | | | | | | | * 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
* add 'where am I' in announce system (thanks to sangl@ptt[PttSuggestion])piaip2009-06-041-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - many small revisekcwu2009-05-273-7/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine: reduce the i/o request to check reserved idpiaip2009-05-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add reserved id to prevent malicious registrationpiaip2009-05-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4461 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the message when password input was wrong (thank to ↵piaip2009-05-181-1/+1
| | | | | | Palasopikov@PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up some compile warnings (unused, signess)wens2009-03-211-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add mvprints (like ncurses mvprintw)wens2009-03-011-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove my_ctimewens2009-03-011-2/+2
| | | | | | | add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* nonexistent function sigfreewens2009-03-011-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add support for querying article URL.mhsin2009-01-071-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post and money update:scw2008-11-162-2/+3
| | | | | | | | * no money for posts on boards without BM * BM and self deleting posts decrease number of posts regardless of login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Enable chess country for reversiscw2008-11-141-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not usedwens2008-11-012-9/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strstr is char *, not const char *wens2008-10-011-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Common daemonize functionwens2008-08-211-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use file_exist_record directlywens2008-08-041-3/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* util/mandex.c uses stamplink.wens2008-06-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move stamp* to common library, with weak symbolswens2008-06-194-6/+9
| | | | | | | | Remove stamplink Header file cleanup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Split out os dependent librarywens2008-06-172-31/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up header dependencieswens2008-06-172-5/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite namecomplete2 using visio APIwens2008-06-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add const modifierwens2008-06-162-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused code.wens2008-06-161-9/+0
| | | | | | | Use visio API to display prompt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Constant vector (initialized with reference to given data)wens2008-06-161-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Goodbye NameList* and namecompletewens2008-06-161-12/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4367 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ToggleNameList like function for Vectorwens2008-06-161-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use general Vector_*.wens2008-06-151-1/+1
| | | | | | | include/proto.h in last commit should be in this one :( git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4359 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove declarations.wens2008-06-152-17/+12
| | | | | | | Add extern. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General vector-like listwens2008-06-151-0/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4357 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partial fix dietlibc supplemental librarywens2008-06-133-11/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move BBS non-related functions to independent librarywens2008-06-132-11/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve reg-email check procedure and error messagepiaip2008-06-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent wrong email test on multiple '@'s.piaip2008-06-041-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add missing includespiaip2008-05-151-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4311 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNING: THIS PATCHSET CHANGED SHM STRUCTURE. PLEASE READ UPDATING CAREFULLY.piaip2008-05-131-1/+1
| | | | | | | - (internal) change IP/from sorting mechanism. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: X (recommend) on vote_post should do like 'y' -- reply vote.piaip2008-05-121-1/+0
| | | | | | | | | - config: always FAST_LOGIN. - (internal) mbbsd: speed up task before getnewutmpent to prevent multi login - (internal) chat: refine /b and /ban test code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4302 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (register) fix BIG5 partial string strstr issue (solving some invalid ↵piaip2008-05-101-3/+4
| | | | | | address error) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change 86400/... (seconds of day/month/...) to named constants.piaip2008-05-102-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve give_money process and red_envelop writing procedure.piaip2008-05-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine: separate inner_send APIpiaip2008-05-071-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) replace all localtime4() by localtime4_r().piaip2008-05-051-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add localtime4_r thread-safe APIpiaip2008-05-051-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add more Cdate format functionpiaip2008-05-051-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow F forward only for authenticated userspiaip2008-04-282-3/+3
| | | | | | | - check reject list for local users in F forward git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: guests should not get announce sub-op, and sub-op should not have BM ↵piaip2008-04-241-1/+0
| | | | | | permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) refine visio callback piaip2008-04-242-3/+9
| | | | | | | - (internal) move utility function to name.c, prepare for isolation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4238 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - ZA: simple workaround to prevent Ctrl-U re-entrant issuepiaip2008-04-231-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-221-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refinepiaip2008-04-211-4/+0
| | | | | | | | - 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
* - refine key processing of CR(C-M), LF(C-J), BS(C-H), BS2(0x7f)piaip2008-04-211-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio/vget: change old NOECHO to ASCII_ONLY + NOECHO.piaip2008-04-211-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'top boards' in ZA selection.piaip2008-04-201-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - artwork improve for ZA bar.piaip2008-04-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4208 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make ZA system complete.piaip2008-04-191-0/+4
| | | | | | | - elimiate minor warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add priority to vcolpiaip2008-04-191-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable large terminal for menu and menu_movie.piaip2008-04-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4200 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) export osdep from cmsys, fixing bbsctl linking errorpiaip2008-04-192-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) fix chicken and bid data padding errorpiaip2008-04-191-1/+4
| | | | | | | - user: fix conditional compile error git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4195 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** PASSWD CHANGE *** PLEASE READ UPDATING FOR DEFAILT INFORMATION.piaip2008-04-191-7/+19
| | | | | | | | | 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
* - xchat: fix "waterball exists forever" issue, and prevent printing mail ↵piaip2008-04-182-5/+6
| | | | | | | | | alerts all the time. - visio: improve history navigation ordering git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - for struct written to file, use type with fixed sizekcwu2008-04-181-81/+80
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change chat to use vgetstring with new callback systempiaip2008-04-172-6/+13
| | | | | | | - (internal) move DBCS API to string lib git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) getans -> vanspiaip2008-04-172-9/+16
| | | | | | | - (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add vgetspiaip2008-04-175-13/+37
| | | | | | | | - (internal) add key name KEY_BS2 - (internal) move getDBCSstatus to DBCS_Status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change sender address of auto forward to forwarder, to prevent confusion ↵piaip2008-04-161-1/+1
| | | | | | | | | 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
* - (internal) visio: add vfill/vfillw, with more flexity to vcols.piaip2008-04-161-25/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add columned output API.piaip2008-04-162-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) migrate more code to visio API.piaip2008-04-151-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change API names to visio format: stand_title -> vs_hdr.piaip2008-04-152-3/+3
| | | | | | | - mouts -> (curses style) mvouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - update visio header file for new apipiaip2008-04-151-6/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine - improving visio systempiaip2008-04-153-20/+52
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add aligned format of commentspiaip2008-04-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add calendar in login viewpiaip2008-04-132-3/+3
| | | | | | | | - add color help in calendar help - change param of more path to const git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: move cursor when leaving same board.piaip2008-04-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - visio: add vbar and varf, better l-r API.piaip2008-04-131-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal code refine)piaip2008-04-123-16/+9
| | | | | | | | - drop deprecated EDIT_ITEM, standout(), standend() - replace outmsglr() with vfooter(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) use new visio/vfooter() API to display footerspiaip2008-04-122-20/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - visio: add vfooter() high level API.piaip2008-04-121-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: fix incorrect display position for ESC_STAR variables in vertical ↵piaip2008-04-122-1/+5
| | | | | | | | | scrolling. - pmore: put sample expand_esc_star into source for better porting. #define HAVE_EXPAND_ESC_STAR to define your own. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) vedit should not change input parameter.piaip2008-04-101-2/+2
| | | | | | | - (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change tobind/toconnect interface.wens2008-04-102-3/+3
| | | | | | | **OUTTACACHE is now UTMPD** git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restrict VIOLATE_LAW cross-postingpiaip2008-04-093-0/+11
| | | | | | | - add owner/delete in SAFEDEL title as log git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Drop Solaris supportwens2008-04-091-27/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable customization of hostname shown in AID query window.piaip2008-04-091-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change Ptt_prints to better function: expand_esc_starpiaip2008-04-091-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fixed: BM can skip PostRestriction check for x-crosspost.piaip2008-04-091-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add some Maple-3 API interface to help portingpiaip2008-04-082-8/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: change notification mails to anonymous stylepiaip2008-04-042-0/+11
| | | | | | | - 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-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4078 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - support anonymous commenting for angel system (use with caution - define ↵piaip2008-04-031-1/+1
| | | | | | ANGEL_ANONYMOUS_COMMENT to enable) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change mail/log to specific API.piaip2008-04-032-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel: allow user to call paged rejnew angel in hh mode, even if angel has ↵piaip2008-04-031-1/+3
| | | | | | not really replied. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - angel system: extend pager modes to 3 types (accept, reject new, reject all)piaip2008-04-023-10/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4064 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - logging regform validation results to specific board (BN_ID_RECORD)piaip2008-04-012-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable angel to temporary disable pager again.piaip2008-04-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable building utmpserverpiaip2008-03-312-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-20/+20
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop angel_reject features (requested from okcool@ptt)piaip2008-03-313-13/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - read: add 'search for "s"' in G searchpiaip2008-03-301-2/+3
| | | | | | | - user: print reg date in userinfo. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-292-0/+9
| | | | | | | - board: make 'w' (save_brc) more user friendly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make regform2 complete by upgrading scripts.piaip2008-03-291-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change the chinese description of b_note and message finetune.piaip2008-03-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4034 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: (exp) complete testing code for regform 2: now enables testing ↵piaip2008-03-281-73/+0
| | | | | | from user input to whole adm process git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-274-20/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.piaip2008-03-273-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move osdep to libbbsutilpiaip2008-03-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) moving more bbs-independent code to utility library.piaip2008-03-263-12/+14
| | | | 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-262-33/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix user over18 display in admin's user_display.piaip2008-03-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change show_file parameter to assign striping options in a better way.piaip2008-03-122-1/+13
| | | | | | | - also prevents ESC* style escapes in user_play_query, for security reason. (Thanks to Kinra's report on PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore/mail/modes: enable 'y' for multi-reply in mail reading, and fix ↵piaip2008-03-121-0/+1
| | | | | | | | | | non-update screen after 'X' in mail. crypt: add comments stuff: prepare to show PttPrints status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - removed indict, because there's no any reason to keep those out-dated data.piaip2008-03-111-4/+0
| | | | | | | | - removed MRT map because it is not a real 'search' tool. - removed 'search' in P menu because there is no useful stuff in it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: Regform2 API prototype (for concurrent registration form ↵piaip2008-03-081-2/+6
| | | | | | | | | | 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-1/+1
| | | | | | | - register: general source code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more: change 's' to 'select-board' instead of 'search'.piaip2008-03-061-1/+2
| | | | | | | - board:enable 'd' to remove myfav entries. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user/chicken: enable sysop toggle chicken-deathpiaip2008-03-062-8/+7
| | | | | | | - mail: UI message finetune, prevent 'mail-folder' for non-authorized users git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: enable PK with new mmap stylepiaip2008-03-062-1/+2
| | | | | | | - userec_t: comments for deprecated chicken data git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: move chicken data to user directory, with mmap based synchronization.piaip2008-03-061-7/+7
| | | | | | | | - WARNING: PLEASE RUN upgrade/r3968_chicken.c TO MIGRATE USER CHICKEN DATA. - YOU NEED TO RESTART BBS FOR THIS PATCH. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - [code refine] move all registration code to register.cpiaip2008-03-061-0/+1
| | | | 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-5/+5
| | | | | | | - 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
* - msg update: prevent using "illegal/invalid" confusing terms, and other ↵piaip2008-03-041-1/+1
| | | | | | minor msgs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add option "default to backup" (from PttSuggest@ptt2)piaip2008-03-031-1/+8
| | | | | | | - user/reg: prevent ambigious regcode. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3962 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify give_money in both userlist/g and menu/g.piaip2008-02-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - b_config: more detail hints on user post permission checkingpiaip2008-02-261-0/+1
| | | | | | | - bcache code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: (exp) new admin interface for regform validation (page mode)piaip2008-02-201-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for new admin reg procedurepiaip2008-02-201-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - SRexpire: enable expiring search cache recordspiaip2008-02-131-0/+1
| | | | | | | | - EDITFLAG_ALLOWTITLE: prevent editor to prompt for non-changable titles - user: general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add dashc() for file create timepiaip2008-02-103-21/+4
| | | | | | | - remove unused structure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change over18 calculation as standalone function, in order user changed ↵piaip2008-01-312-0/+2
| | | | | | birthday. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve registration processpiaip2008-01-301-0/+1
| | | | | | | - 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
* - revise menu.c code.kcwu2008-01-261-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: provide the possibility to optimize some API. keep port information.piaip2008-01-261-1/+5
| | | | | | | - make DEBUGSLEEP waiting configurable. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove duplicated prototype.kcwu2008-01-241-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3860 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise passwd_apply() api, prevent use global variable to pass data.kcwu2008-01-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: add title for AID displaypiaip2008-01-141-10/+12
| | | | | | | | | | - xyz: prevent mmap crash for note_ans - pfterm/screen: add getyx_ansi - fav: add ASKBOARD to new account default favs - record: add setaidfile() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable ncurses 'typeahead' APIpiaip2008-01-132-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add new toc display/compatibility warning and 0.113 APIpiaip2008-01-101-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - terminal: add newwin()piaip2008-01-101-0/+2
| | | | | | | - pfterm: fix some bounadry checkings of x range git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - term: add doupdate() to force refresh even if input queue is not emptypiaip2008-01-071-0/+1
| | | | | | | | - menu: disable talk/chat for non-reg-ok user - bbslua: change bbs.refresh() to doupdate() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: peek_input keeps waiting for new input. (due to buf control)piaip2008-01-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add more APIpiaip2008-01-061-0/+1
| | | | | | | | - cache: add getutmpmode() - othellow: quick exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: prevent false alerts more carefullypiaip2008-01-062-2/+3
| | | | | | | | | - pfterm: add getmaxyx - bbslua: change format detection and API refine - var/mode: string fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add BBSLUA mode for utmppiaip2008-01-051-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbslua: add detection of buffer, and enable 'P' in pmore to start bbsluapiaip2008-01-051-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - io: add more control APIpiaip2008-01-051-0/+3
| | | | | | | - bbslua: enable system break git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - BBS-Lua project: Extend BBS by Lua scripting language.piaip2008-01-041-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bid issuepiaip2008-01-041-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: move ChessReplay (z) to outside.piaip2008-01-031-4/+5
| | | | | | | - bbs: use 'now' to prevent time() system call. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - re-enable sysop-edit in article list modepiaip2008-01-032-3/+4
| | | | | | | - move sysop-edit log to more instead of pmore body git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify login prompt. (it is suggested to not use DBCS version of ':' -piaip2008-01-031-1/+0
| | | | | | | to avoid some Mac font issue - which will display as different character) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use emaildb interface in user registerwens2008-01-021-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make Test as macro namepiaip2008-01-023-0/+11
| | | | | | | - general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - modify file size limitation controlpiaip2007-12-301-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3765 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix announce crash bugs (reason: entering a_menu may have different board piaip2007-12-292-9/+3
| | | | | | | than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix definition errorpiaip2007-12-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow all non-guest user to use myfav (PERM_BASIC)piaip2007-12-282-1/+6
| | | | | | | - add GLOBAL_NEWBIE and GLOBAL_SYSOP to default fav (for new registered user, not empty fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3748 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add MENU_UNREGONLY definitionpiaip2007-12-251-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3737 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - redrawin() changed to 'invalid only' and will take change at next refreshpiaip2007-12-241-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - clean unused codekcwu2007-12-231-32/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3732 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add Q and improve return value definition in pagerpiaip2007-12-231-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3729 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change configuration macro namespiaip2007-12-221-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3724 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add outstr() to output complete (DBCS-aware) non-ANSI string ↵piaip2007-12-211-1/+2
| | | | | | (non-functional in old screen but works in pfterm) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3719 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-17/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - grayout: API change, from [y,end) to [y,end]piaip2007-12-202-2/+8
| | | | | | | | - feature names change: now HAVE_GRAYOUT - edit ask() changed to vmsg to prevent standout() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate low level termial i/o api calls, prepare for pfterm piaip2007-12-191-24/+19
| | | | | | | (piaip's flat terminal system) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3710 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable vice tickets < specific numberpiaip2007-12-191-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3708 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - exp: edit/upload now enabled for special boardspiaip2007-12-192-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-172-6/+11
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add "fix aloha" for userspiaip2007-12-171-0/+1
| | | | | | | - general message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-172-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix recommends update cache and good_post relationpiaip2007-12-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-171-0/+1
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prepare for text-only editingpiaip2007-12-161-0/+1
| | | | | | | - message update for modified post git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bug "good post dropped if user online"piaip2007-12-161-15/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable interupting ANSI inside DBCS characters (for UTF-8 or piaip2007-12-162-2/+9
| | | | | | | non-DBCS clients) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3688 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify processing clock variable 'now'piaip2007-12-151-0/+1
| | | | | | | - pmore: support time refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - isolate telnet protocol. moved from mbbsd.cpiaip2007-12-131-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204