summaryrefslogtreecommitdiffstats
path: root/mbbsd
Commit message (Collapse)AuthorAgeFilesLines
* * now should be initialized before register(new), otherwise birthday will ↵piaip2009-06-111-1/+1
| | | | | | always be error... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add is_valid_brdname() to cmbbskcwu2009-06-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add is_valid_brdname() to cmbbskcwu2009-06-112-18/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only 2 bytes are useful (3rd byte with big5 results in garbage)wens2009-06-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4552 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * on Linux, argv0 is modified after *every* setproctitle. fix previous ↵piaip2009-06-101-6/+6
| | | | | | check-in. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix setproctitle behavior difference on Linux (prevent long proc titles)piaip2009-06-101-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile warningskcwu2009-06-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine logind: deliver port info and add more keyspiaip2009-06-101-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compile error on linuxkcwu2009-06-102-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove unused or rear used header file include in bbs.hkcwu2009-06-102-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extra login messages should be displayed only in tunnel mode.piaip2009-06-101-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * provide some messages in tunnel modepiaip2009-06-101-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4532 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
* * minor fixes:piaip2009-06-082-6/+7
| | | | | | | | | * 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
* * the 'only special key to break in interactive mode' was not needed - ↵piaip2009-06-081-10/+4
| | | | | | | | | command can already do that * minor comment fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * delete dead code.kcwu2009-06-081-28/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * set_converting_type should be only used within #ifdef CONVERTpiaip2009-06-081-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add client code detection to tunnel modepiaip2009-06-082-1/+8
| | | | | | | * 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-11/+2
| | | | 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-11/+30
| | | | | | | * refine mbbsd to allow pre-setting terminal window git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: should use pointer instead.piaip2009-06-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * experimental sending keepalive packets (hope this can reduce user's ↵piaip2009-06-071-1/+8
| | | | | | auto-disconnect issue) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * it seems still better to use KEEP_ALIVE, although detection duratio is ↵piaip2009-06-071-4/+5
| | | | | | long... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine login procedure (support+prepare for tunnel mode)piaip2009-06-071-79/+266
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4509 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
* - extract telnet.c to cmsyskcwu2009-06-073-304/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - minor revise: call init_convert()kcwu2009-06-071-11/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rework r4500: resolve_fcache() seems only required in where() [thanks to wens]piaip2009-06-071-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine setup_utmp procedurepiaip2009-06-071-13/+20
| | | | | | | | * reduce the latency * moved SSH_CONNECTION fromhost overriding to shell_login git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine and prepare for login daemon:piaip2009-06-064-87/+91
| | | | | | | | | * 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
* card: make prompt message more clear, and accept user response betterpiaip2009-06-061-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change deleted posts/dirs to backup in FN_JUNK instead of FN_DELETED for ↵piaip2009-06-061-9/+24
| | | | | | mail-man (users with PERM_EMAILLIMIT only), thanks to watch@ptt [PttBug] git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* speed up gameplay procedurepiaip2009-06-061-40/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make more description for token number displaypiaip2009-06-061-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce the latency of game playpiaip2009-06-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4493 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'where am I' in announce system (thanks to sangl@ptt[PttSuggestion])piaip2009-06-041-6/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bug fix: ssh still can login even overloadkcwu2009-06-041-10/+14
| | | | | | | | - change start_client calling. wish compiler will use tail call optimization to reduce stack use. - code revise git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 18x boards should not provide URLspiaip2009-06-041-8/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* the 'D' command on hot boards (using safe_delete) must check valid range ↵piaip2009-06-021-1/+3
| | | | | | (reported by YTDoctor@ptt) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4489 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* workaround some type of board entrance: LG then LE (random one frame then ↵piaip2009-05-311-0/+14
| | | | | | | | | stop immediately). such syntax without would display remaining frames on large terminals. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - many small revisekcwu2009-05-276-11/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - more sleep. try to prevent bad user to try password or multi-loginkcwu2009-05-261-2/+10
| | | | | | | - add debug log git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4486 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise flag_checkload. it should not bypass out of service.kcwu2009-05-261-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4485 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - rename 'port' back to 'listen_port' and make it public. (for later use)kcwu2009-05-261-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd use getopt() to parse command line optionskcwu2009-05-262-128/+269
| | | | | | | - many mbbsd code revises and clean up git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4483 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* again - remove 'ptt' from messagespiaip2009-05-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* continue of r4449, happy localization: remove 'Ptt' in messages:piaip2009-05-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refine card play messagespiaip2009-05-251-9/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4480 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
* - avoid call external program "stty".kcwu2009-05-251-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - security update: stop using BBS money in the game, because of too many botspiaip2009-05-252-222/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - optimize ip->desc lookup loopkcwu2009-05-241-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error if defined KEYWORD_LOGkcwu2009-05-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: crash when input board name was invalid in voteboard (thanks: ↵piaip2009-05-241-0/+15
| | | | | | LukET@PttBug) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix edit ctrl-g bug, reported by dishpan@ptt PttBug.kcwu2009-05-241-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - sleep longer for card game. we don't like robot play.kcwu2009-05-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - temporary disable the 'only system key to break' in LG mode, for backward ↵piaip2009-05-241-1/+4
| | | | | | compatibility. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4465 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
* refine pmore movie syntax highlight, againpiaip2009-05-231-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore: add include/interrupt (LI) commandpiaip2009-05-231-8/+94
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve pmore movie syntax highlightpiaip2009-05-231-7/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4458 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - simple parser for pmore style movie editingpiaip2009-05-221-11/+148
| | | | | | | - ugly and really simple... just for experimental. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4457 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix push (recomment) input location wrong in screen modepiaip2009-05-181-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add commentspiaip2009-05-181-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent BM accidentally removed post notes (suggest by GeniusKiKi@PttCurrent)piaip2009-05-181-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pfterm: don't use bs to optimize when there's wrap concern.piaip2009-05-151-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent screen wrapping issuepiaip2009-05-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Replace PTT in mail title by macroscw2009-04-101-1/+1
| | | | | | | Thanks sodas.bbs@ptt2.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up some compile warnings (unused, signess)wens2009-03-215-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct new gamble BM money functionscw2009-03-041-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix explanation for last commit.scw2009-03-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix gamble for BMscw2009-03-041-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add mvprints (like ncurses mvprintw)wens2009-03-011-0/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove my_ctimewens2009-03-011-3/+1
| | | | | | | add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'l' key for entering boards in boardlist.mhsin2009-01-141-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix area calculation for disabled URL querying site.mhsin2009-01-071-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add support for querying article URL.mhsin2009-01-071-1/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No unread status for lines and folders in favoritesscw2008-11-231-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix compile error in util/scw2008-11-181-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* love paper is still mailing, follow friend/reject rulesscw2008-11-171-9/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4421 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post and money update:scw2008-11-164-7/+36
| | | | | | | | * 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
* Correct gamble explanationscw2008-11-151-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Last commit should be 1000pscw2008-11-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reduce BM reward on gamble to max(0.1%, 10000p)scw2008-11-141-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Enable chess country for reversiscw2008-11-141-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revert recommend restirction.kcwu2008-10-291-7/+0
| | | | | | | | I still think this is correct direction. But I don't have enough time to fine tune a better solution. So revert it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add macro ALLOW_RECOMMEND_NONLOCAL_SAVED_ARTICLEkcwu2008-10-291-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * In news group (轉信板), recommending on non-local saved articles is ↵kcwu2008-10-291-0/+5
| | | | | | not permitted. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove board directory if failedwens2008-10-221-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Check if boards are full when creating new boardswens2008-10-211-1/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* data should be empty on failed completewens2008-09-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4406 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix last commitwens2008-08-051-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Support tagging of multiple files with same chronowens2008-08-051-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't modify Vector data; use temporary buffer.wens2008-08-041-11/+10
| | | | | | | Is second searchuser really nessecary? git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use file_exist_record directlywens2008-08-044-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clear curredit so we can enter mailbox after sending mail from userlist.wens2008-07-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4390 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* generalnamecomplete() support input historyscw2008-07-131-0/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* No reply on deleted post (not necessary to check here but thisscw2008-07-081-1/+1
| | | | | | | prevent some runtime error happens later) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change Vector_searchwens2008-07-053-7/+10
| | | | | | | fix namecomplete case error git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reorder libraries.wens2008-06-281-3/+3
| | | | | | | Use time() in fhdr_stamp.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Gomoku rule fix: lifting a ban by another ban (以禁解禁)scw2008-06-281-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4383 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused codewens2008-06-191-44/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move stamp* to common library, with weak symbolswens2008-06-191-22/+2
| | | | | | | | 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-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite namecomplete2 using visio APIwens2008-06-172-139/+124
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add const modifierwens2008-06-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused code.wens2008-06-161-31/+3
| | | | | | | Use visio API to display prompt. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite usercomplete using namecomplete2 and vector-constantwens2008-06-161-224/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't use keywordswens2008-06-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Possible memory leak?wens2008-06-161-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Goodbye NameList* and namecompletewens2008-06-162-322/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4367 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Switch to Vector and namecomplete2wens2008-06-161-49/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Simplify variable expansionwens2008-06-161-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4365 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Vector must be initialized firstwens2008-06-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent memory leakwens2008-06-161-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use Vector and namecomplete2wens2008-06-161-7/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ToggleNameList like function for Vectorwens2008-06-161-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ShowNameList() like function for Vectorwens2008-06-161-0/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use general Vector_*.wens2008-06-152-171/+28
| | | | | | | 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 duplicate code (in common library)wens2008-06-151-18/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4355 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Temporary version of aids.c.mhsin2008-06-131-34/+46
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4351 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move BBS non-related functions to independent librarywens2008-06-131-185/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Makefile cleanupwens2008-06-131-10/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix make for FreeBSDkcwu2008-06-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up makefileswens2008-06-121-14/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Handle tabs in outc()wens2008-06-111-1/+17
| | | | | | | Fix buffer offset off by 1 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add comments and eliminate compile warningpiaip2008-06-042-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce the frequency of alertspiaip2008-06-041-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve reg-email check procedure and error messagepiaip2008-06-042-111/+131
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - passwd: enable ALERT_PWD_RELOADpiaip2008-06-041-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - minimore: fix inversed navigation key (j/k).piaip2008-06-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add keys for previous/next articlewens2008-06-041-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Avoid FILE * leakwens2008-06-041-3/+3
| | | | | | | Update screen on exit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: show vote limitation for VOTE_BOARDs.piaip2008-06-041-10/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4337 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent wrong email test on multiple '@'s.piaip2008-06-041-4/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix buying check money: offset-by-one bugpiaip2008-06-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4333 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
* - bbs: check 'badpost' post restriction only if assess is enabled.piaip2008-05-312-2/+7
| | | | | | | | - bbs: prevent del_post demand incorrect money (if money > MAX_POST_MONEY) - chicken: fix compile error git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4331 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent sharing buy_ticket for chicken and gamblepiaip2008-05-302-4/+36
| | | | | | | - prompt user gamble type choice git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: boardlist->E->E board title input dialog too long.piaip2008-05-271-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fixed: ten-half may be played without having PMONEY. piaip2008-05-271-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4325 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
* - display and hint the approx value of register requestspiaip2008-05-211-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make file types visible to all userspiaip2008-05-191-15/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4318 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refresh deleted board after deleting announce(man/gem) postspiaip2008-05-191-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4317 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: allow better revive for adminpiaip2008-05-171-3/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4315 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve chicken revive formula to avoid death-revive cycle exploitpiaip2008-05-161-70/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: alert when replying to board fallbacks to reply-mail.piaip2008-05-164-21/+31
| | | | | | | | - 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
* - add HOME/END in announce cursor movement (suggestion from PttBug)piaip2008-05-141-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4310 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail: ignore self from reject listpiaip2008-05-143-25/+6
| | | | | | | - record/mbbsd: drop unused code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix angel give_money anonymous default option bugpiaip2008-05-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNING: THIS PATCHSET CHANGED SHM STRUCTURE. PLEASE READ UPDATING CAREFULLY.piaip2008-05-132-9/+9
| | | | | | | - (internal) change IP/from sorting mechanism. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message refinepiaip2008-05-133-22/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4306 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
* - mbbsd: fix mind init sizepiaip2008-05-121-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4304 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd: clean trailing stuff when fromd is enabled.piaip2008-05-121-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4303 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: X (recommend) on vote_post should do like 'y' -- reply vote.piaip2008-05-123-173/+76
| | | | | | | | | - 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
* Disable host alias when using FROMD.wens2008-05-121-2/+2
| | | | | | | Buffer size off by 1. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4301 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix etc_edit log formatpiaip2008-05-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4300 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - user: fix email disallow (banemail) algorithmpiaip2008-05-121-7/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4299 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: add /ban and /unban commandspiaip2008-05-111-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix show_signature display error (forgot last newline)piaip2008-05-111-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4297 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - register: drop some rejected words which are valid in some addressespiaip2008-05-113-2/+15
| | | | | | | | - 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
* - typo fixpiaip2008-05-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4293 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add more detail error log for admin's unum errorpiaip2008-05-101-1/+4
| | | | | | | - kick users before changing userid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4292 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: fix 'x'/default being rejected in user->changemailpiaip2008-05-101-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4288 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-102-6/+5
| | | | 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-1011-26/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: refine menu's and isolate personal files as submenu.piaip2008-05-092-67/+74
| | | | | | | - drop merge_sob support. if you really need it, revert and merge by yourself. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4282 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
* - (internal) xchatd: remove unused codepiaip2008-05-083-5/+6
| | | | | | | - (internal) general code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) replace ctime4 by Cdate, prevent developer confused by the the ↵piaip2008-05-089-57/+38
| | | | | | trailing '\n'. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve give_money process and red_envelop writing procedure.piaip2008-05-084-61/+117
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) code refine: separate inner_send APIpiaip2008-05-072-39/+64
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - gamble: refine open ticket message formatpiaip2008-05-061-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix crash on cross-posting to non-exist boards (reported by astro)piaip2008-05-061-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4274 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - alert message for reg-email whitelistpiaip2008-05-051-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) replace all localtime4() by localtime4_r().piaip2008-05-0513-85/+71
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - security exploit: calling localtime() during getdata() may change the log ↵piaip2008-05-051-8/+22
| | | | | | | | | date result of recommend(). - (internal) money verification code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4269 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - message refine for chatpiaip2008-05-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4266 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - cal: fix debugsleeping process considered as multi-login issuepiaip2008-05-031-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix minute input errorpiaip2008-05-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - voteboard: hint on how to join votingpiaip2008-04-301-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - refine menu items: keep better compatibility with old ordering.piaip2008-04-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chicken: make sysop revive and user revive work in same waypiaip2008-04-301-8/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix chicken sudden death after sysop revivepiaip2008-04-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better menu name for xchatpiaip2008-04-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4259 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent user vote for twice by changing id capitals (thx to hrs113355)piaip2008-04-293-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allowing set gambling and bidding end time to minute.scw2008-04-291-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board: shrink search_board input textbox sizepiaip2008-04-293-2/+5
| | | | | | | | - menu: improve message - chat: check again permission git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - message refine and menu item re-ordering for talk/chat.piaip2008-04-292-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent user get BM permission before BMcache ready.piaip2008-04-291-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mail/Forward: prevent assert error by checking valid userid.piaip2008-04-281-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - allow F forward only for authenticated userspiaip2008-04-281-1/+31
| | | | | | | - 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
* - alert on multi login which results in userinfo out-of-syncpiaip2008-04-271-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - check send mail permissionpiaip2008-04-272-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable 'Q' in userlist to query all userspiaip2008-04-261-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - artwork: align chat input and message barpiaip2008-04-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve 'C' in namelist editing: removing users haven't login for a ↵piaip2008-04-252-4/+34
| | | | | | specific time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4246 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: support realtime viewing chatlog.piaip2008-04-251-7/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix safe del header rule: when deleteing 'already deleted' files, should ↵piaip2008-04-251-5/+5
| | | | | | not show current userid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4244 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - message refinepiaip2008-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - friend_list: add 'C' to clear non-exist users.piaip2008-04-241-2/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4242 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pmore: RIGHT key at end should return like LEFT (mailbox was not refreshed).piaip2008-04-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - Police should be able to enter BM boardspiaip2008-04-241-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix: guests should not get announce sub-op, and sub-op should not have BM ↵piaip2008-04-243-14/+10
| | | | | | permission. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) refine visio callback piaip2008-04-244-98/+99
| | | | | | | - (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-232-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - prevent 'title' prompt in editing board_notepiaip2008-04-232-1/+4
| | | | | | | | - allow sysop to always have post permission (found in cross post error) - both reported by daiYuTsung@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4236 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
* - CRLF issue: make accepting LF an option.piaip2008-04-221-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4232 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (mail) more hints and check on auto-forward settingspiaip2008-04-222-1/+16
| | | | | | | - (board) hints on Ctrl-S to search for local boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - notification on forward behavior changepiaip2008-04-222-2/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.piaip2008-04-2213-23/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - show user plan when forwarding (x) mail.piaip2008-04-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'search only for local boards' back in Ctrl-S.piaip2008-04-221-0/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4227 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-212-4/+159
| | | | | | | | - 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-2116-47/+59
| | | | 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-212-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - visio: simulate old behavior, rejecting non-ascii characters for NOECHO ↵piaip2008-04-211-0/+8
| | | | | | (pw) input. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - admin: add fields to change user career/phonepiaip2008-04-211-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: fixed: push_bottom nofitication not refreshed if abort.piaip2008-04-204-312/+12
| | | | | | | | | - io: drop traditional getdata code - read: prevent non-BM seeing ZA alert messages - visio: change license to 2-clause BSD because I don't want to maintain compatible code... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: fix key hit (I_OTHERDATA) when doing ZA.piaip2008-04-201-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4218 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add system updates log in menupiaip2008-04-202-44/+31
| | | | | | | - remove testing code (sorry again...) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: add ZA in chatpiaip2008-04-204-10/+35
| | | | | | | | - mail/read: allow ^P in mail to send iner mail - syspost: fix some messages without trailing newlines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - bbs: alert push_bottom for the relationship with original filespiaip2008-04-202-16/+30
| | | | | | | - register: explain on being revoked for registration. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - drop push_bottom warning in mailboxpiaip2008-04-202-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - clear input line when getting pssword in new visio.piaip2008-04-201-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - notify BM for new b_config (edit board ctitle).piaip2008-04-201-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add 'top boards' in ZA selection.piaip2008-04-202-3/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - board_config/edit_title (Bb): only log if user really changed title.piaip2008-04-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move 'B' (edit board title) to 'b' in board_config (i/I), and B now also ↵piaip2008-04-203-37/+31
| | | | | | | | | | activates board_config (B/i/I). This helps to work in compatible with M3 hotkeys. - add '_' key binding (M3) for push_bottom (^X now) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - artwork improve for ZA bar.piaip2008-04-192-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4208 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - finetune (rollback) menu and userlist layoutpiaip2008-04-192-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4207 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move set_bottom (old ctrl-z) to ctrl-x.piaip2008-04-192-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make ZA system complete.piaip2008-04-194-33/+106
| | | | | | | - elimiate minor warning git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - restore stat after Ctrl-Z change to allow r/w hotkeys after Ctrl-Z. ↵piaip2008-04-191-2/+4
| | | | | | (reported by hrs113355@ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204