summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * experimental money-related changes in vice_log branch (not in trunk yet)pttbbs.vice_logpiaip2010-06-1216-378/+242
| | | | | | | | | | * free ordersong (with other restriction) * free changing from * add money transactio log * remove notes_ans git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.vice_log@5063 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* create branch for vice log testingpiaip2010-06-120-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.vice_log@5061 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * code refine: prevent arbitary format identifierpiaip2010-06-115-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * code refine: clang-safepiaip2010-06-113-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: if BM dropped connection before answering 'badpost', btotal would go ↵piaip2010-06-101-5/+14
| | | | | | | | | | wrong * fix: 'badpost' question has wrong ANSI stuff * add comment for the known issue of 'use cross-post to create reserved title prefix' git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make entropy ratio in editor customizablepiaip2010-06-101-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5057 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * let global gamble (openticket) support recent vice logpiaip2010-06-101-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * let BM abort 'validate list' and provide more information.piaip2010-06-101-2/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * highlight BM cross-post statuspiaip2010-06-092-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow BM to cross-post articles to their own board, by mail-cross-post or ↵piaip2010-06-082-20/+31
| | | | | | | | | | board-cross-post. * the reason to relax such rule is, many personal boards may forward lots or series articles. * if any BM is using this feature in inproper way, we can fire him. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add message for insufficient perm to chatroompiaip2010-06-081-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add experimental AID support inside pagerpiaip2010-05-223-119/+138
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add prompt for kind of 'post/mail/reply' (idea from PttSuggest)piaip2010-05-224-3/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add comments on the breaking-emacs-compatibility issuepiaip2010-05-221-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add AID to cross-post articles (idea by sunev@PttSuggest)piaip2010-05-221-1/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove the default order song message and force non-blank input piaip2010-05-221-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fixing delete_records, which caused 'recent log' to be shifted incorrectlypiaip2010-05-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add common binding (eg, %, a, A) to minimorepiaip2010-05-171-134/+144
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5045 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix the wrong display when dymaxactive > MAX_ACTIVEpiaip2010-05-081-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5044 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * check system overload flag again before starting servicepiaip2010-05-031-3/+21
| | | | | | | * also set overload flag when ack queue exceed boundary git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * reject user who haven't pass registration to get BM permissionpiaip2010-05-031-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5042 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add some usleep() when i/o gets EAGAIN (note: not sure why read() on ↵piaip2010-05-021-4/+28
| | | | | | blocking fd gets EAGAIN so this may a valid workaround, or not) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix previous commit, code at wrong placewens2010-04-261-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5040 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add boundary check when ack queue grows too high, in order to prevent ↵piaip2010-04-261-1/+12
| | | | | | buffer full on tunnel git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove newline from last line in Welcome screenwens2010-04-261-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add priority to logind acks, to prevent tunnel buffer full situationpiaip2010-04-261-1/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5037 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add user agreement to user menuwens2010-03-181-0/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Abort edit if load file failedwens2010-03-161-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change indent so data fits in screenwens2010-03-151-19/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5034 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * temporary hack to enable 'adm only comments'piaip2009-11-301-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5033 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more check on setting ip log because it's easy to hit by accidentspiaip2009-11-241-5/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5032 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * permission typo... orzpiaip2009-11-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * wrong setting perm... orzpiaip2009-11-231-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5030 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove set_mind restrictionspiaip2009-11-213-22/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * let more managers able to use tn_announce.piaip2009-11-172-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add ALLOW_FREE_TN_ANNOUNCE conditional controlpiaip2009-11-171-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * early providing badpost results piaip2009-11-171-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * offset-by-one error (for the trailing NUL)piaip2009-11-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5025 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make TN_ANNOUNCE only available to BMs.piaip2009-11-163-17/+78
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * let user know the status of badposts removalpiaip2009-11-161-1/+2
| | | | | | | * still some users thought they have fewer badposts than they really have. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * give_money should prompt and highligh the final input userid piaip2009-11-111-3/+6
| | | | | | | * maybe doing this in namecomplete* is better... git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5022 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * nios: the new network i/o frameworkpiaip2009-11-081-0/+667
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5021 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove page_requestor because I don't see any reason to use it as static ↵piaip2009-11-031-8/+4
| | | | | | variable... git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compilation error on incorrect macro constant namepiaip2009-11-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove all add_io and use vkey_poll insteadpiaip2009-11-034-35/+78
| | | | | | | * prepare for new include protos git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5018 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move I_* virtual key constant to vtkbd.h and change value definitionpiaip2009-11-032-6/+10
| | | | | | | | * since it's an INT now, no need to care about what 'conflict with XXX' issue * add sec->milliseconds constant git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add notes and commentspiaip2009-11-032-6/+13
| | | | | | | | * chess: found I_TIMEOUT which is never reached so comment it out. * assess: 'bad comments' will not be enabled shortly (maybe never since no plan to fix it yet) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * possible fix: 's' in file pager may result in wrong init cursor position ↵piaip2009-11-021-1/+1
| | | | | | | | | for new entered board * 'possible' because I've never really seen this issue and never reproduced, not sure why. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5015 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compliation error on no-assess modepiaip2009-10-301-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * ability to give 'badpost' according to X commentspiaip2009-10-303-83/+199
| | | | | | | * still need ADM's approval because this is a buggy implementation git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove the experimental CCW signaturepiaip2009-10-301-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5012 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change vkey_purge to the planned behaviorpiaip2009-10-294-64/+90
| | | | | | | | | * isolate vkey layer * use 'static inline' instead of 'inline static' to make it more clear... * I'm not sure if any compiler will really care about the ordering here git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow configuring cpu limits for xhcatd in site config filepiaip2009-10-291-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable adjusting cpu/core limitspiaip2009-10-291-0/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5009 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * introduce vkey_is_typeahead APIpiaip2009-10-294-9/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5008 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make pager hotkey processing independent from io.c input APIpiaip2009-10-292-13/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5007 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add vkey_is_ready() as num_in_buf()>0piaip2009-10-296-6/+15
| | | | | | | * we need a lighweight version for term refresh() later. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change vkey_flush to vkey_purge to make its name more descriptive, ↵piaip2009-10-297-17/+17
| | | | | | | | | prevent confusion * thanks for kcwu's suggestion git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change empty param declaration to (void) because this is C...piaip2009-10-283-20/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change add_io(fd, 0) to vkey_attach()piaip2009-10-286-11/+19
| | | | | | | * for add_io with timeout > 0, we need vkey_poll() so do it later. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change add_io(0,0) to vkey_detach()piaip2009-10-288-267/+247
| | | | | | | | * add_io(fd, n) [vkey_attach(fd)] requires more work (changing related vkey() calls) so it is not changed in this commit * removed some debug helper API that we won't use in the future git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5002 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change more API names to new vkey system flavorpiaip2009-10-287-81/+78
| | | | | | | * move getdata/vgets stub from io.c to stuff.c, since it's not really related to i/o. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5001 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * happy commit r5000!piaip2009-10-271-4/+3
| | | | | | | * revert bzero because it's deprecated in posix. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add Cdate_mdHMS (we need seconds)piaip2009-10-273-4/+20
| | | | | | | * use bzero instead of memset git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change igetch() to vkey() to prepare for new i/o frameworkpiaip2009-10-2720-48/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * workaround: paging will fail if rejected before without leaving userlistpiaip2009-10-271-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4997 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make function static inline to improve performancepiaip2009-10-271-43/+49
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * query sent wrong message...piaip2009-10-251-1/+30
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix vbuf read/write regarding EOF socketspiaip2009-10-252-12/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chat: restore 'query' command, but now goes to server sidepiaip2009-10-252-23/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * officially change chat/talk to new ccwpiaip2009-10-256-1113/+79
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4992 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * apply new tax (always 10% with enhanced user interface)piaip2009-10-251-25/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4991 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * vbuf: refine tests and invert the definition of head and tail (to name ↵piaip2009-10-252-180/+244
| | | | | | like queue) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix attached vbuf structure piaip2009-10-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4989 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add cstr() (flattern) to vbufpiaip2009-10-252-19/+76
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more useful API to vbufpiaip2009-10-254-24/+115
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chat: reflect command abbreviationpiaip2009-10-251-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4986 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * relax topic to /tpiaip2009-10-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use readv/writev for vbuf_read/write. (thanks to kcwu)piaip2009-10-252-40/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chat: input cannot strip(all) space!piaip2009-10-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add virtual (ring) buffer implementationpiaip2009-10-253-2/+457
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable DBCS-safe for highlightspiaip2009-10-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * strip blanks in chat windowpiaip2009-10-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow post editing in give_money. piaip2009-10-242-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add default values to name completionpiaip2009-10-242-4/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add G in userlist to give money (just like q/Q)piaip2009-10-241-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust tax rever calculationpiaip2009-10-241-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4976 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * for non-ascii nicks, highlight all.piaip2009-10-241-2/+10
| | | | | | | * add EXP_CCW_MOTD for bug reports stuff. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4975 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * xchatd: add xinfo command to report server statuspiaip2009-10-241-3/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4974 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove 'common client' - we only accept BBS clients nowpiaip2009-10-241-137/+47
| | | | | | | * change 'private message' colour to WOW style git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4973 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * xchatd supports multiple op nowpiaip2009-10-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * login_limits look stable now, let's enable it as standard configuration.piaip2009-10-234-15/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4971 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add vs_hdr2* APIpiaip2009-10-233-16/+99
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add tosend/torecv because they can take additional flags (helpful to ↵piaip2009-10-232-0/+40
| | | | | | writing without SIGPIPE) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4969 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: ccw/talk terminates process due to SIGPIPE.piaip2009-10-231-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * note: ending session in ccw/talk sometimes makes remote user to ↵piaip2009-10-232-1/+2
| | | | | | | | | disconnect, not sure why yet... * maybe caused by incorrect fd value, so let's put asserts to it and inspect. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4967 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove TAB(idle) from chatpiaip2009-10-232-30/+31
| | | | | | | | * add highlights in chat display * change ANSI escapes in source to pmore-style macro git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4966 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chat: add highlights piaip2009-10-231-22/+92
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * improve ccw designpiaip2009-10-232-116/+135
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * unify localized names of talk & chat.piaip2009-10-234-30/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * misc refinepiaip2009-10-231-28/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4962 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * retab and refinepiaip2009-10-231-494/+506
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4961 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more pager_modes names to varpiaip2009-10-234-34/+45
| | | | | | | * refine ccw data structure and variable names git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add module name in calpiaip2009-10-234-42/+37
| | | | | | | * move CCW_CTX from pttstruct to ccw because we'll hide all secret inside ccw.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4959 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * message refinepiaip2009-10-221-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4958 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * isolate anti-flood codepiaip2009-10-221-28/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4957 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing header for FILE*piaip2009-10-221-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix scr_restore when scrollingpiaip2009-10-223-17/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4955 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow ccw/talk and traditional talk to exist at the same timepiaip2009-10-222-12/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * undef non-used code when CCW is enabled. piaip2009-10-221-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4953 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add new Common Chat Window frameworkpiaip2009-10-226-329/+1179
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4952 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * comments on screen: scrolling makes bug for scr_dump/scr_restore.piaip2009-10-221-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4951 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add DBCS-safe trimming in xchatdpiaip2009-10-221-13/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4950 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add DBCS safe trim APIpiaip2009-10-222-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4949 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prevent incomplete ANSI escapes in user article making damage to internal ↵piaip2009-10-221-3/+3
| | | | | | output attributes git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4948 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add new CCW based chat (define EXP_CCW_TALK to enable)piaip2009-10-213-48/+383
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4947 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix typo for 'separator'piaip2009-10-217-12/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4946 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove legacy codepiaip2009-10-211-144/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4945 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add confirm when hiding boards: suggest by VOT1077/Blusdan [ptt.cc] ↵piaip2009-10-211-3/+18
| | | | | | (PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4944 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * looks like we've fixed ANSI in getdata(), so let's unlock all colourful ↵piaip2009-10-215-36/+2
| | | | | | prompts git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4943 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable ansi-safe refresh mechanism againpiaip2009-10-212-8/+10
| | | | | | | * modify vgets() to workaround ansi stuff git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing page_dirty (cleartobot)piaip2009-10-201-6/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * typo on prefix changestpiaip2009-10-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make anonymous handle always look positivepiaip2009-10-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Bye-bye, blogspiaip2009-10-1814-1030/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4938 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use vgetstring() with callbacks to implement generalcomplete.piaip2009-10-161-6/+160
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4937 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move give_tax from common back to mbbsd, because it's really rarely usedpiaip2009-10-154-23/+108
| | | | | | | * add experiemental new give_money UI with fixed tax rate git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4936 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * reflect new callback namespiaip2009-10-151-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4935 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine vgetstring: add 'redraw' callback and change 'post' to 'change'.piaip2009-10-154-129/+151
| | | | | | | * fix: history navigation in namecomplete caused incorrect further complete git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4934 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move stampfile_u to cmbbs piaip2009-10-143-55/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4933 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * we don't support 'post notify' anymore, so why keep the code?piaip2009-10-142-8/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fsync() is not required in network socketspiaip2009-10-142-6/+3
| | | | | | | * dbcs is no longer needed in chat(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: endless loop if frame header is invalid OPTION and appears as the ↵piaip2009-10-131-21/+28
| | | | | | | | | last line (Eg, ^L:aaa:#@r# ) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove warning when PMORE_USE_INTERNAL_HELP was not enabledpiaip2009-10-101-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4929 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * for better compatibility, disable FORCE_CLRTOEOL by default in M3.piaip2009-10-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4928 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * since PTT uses its own expand_star, let's leave the sample implementation ↵piaip2009-10-101-1/+1
| | | | | | in pmore to use traditional numlogins git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4927 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix missing FULLUPDATE in M3piaip2009-10-101-7/+12
| | | | | | | * added PMORE_NO_FORCE_CLRTOEOL, although I'm not sure if it really helps on some M3 git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4926 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine pager prompt piaip2009-10-101-19/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4925 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine pager prompt in 80x25 environmentpiaip2009-10-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4924 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: accident debug input ><piaip2009-10-101-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4923 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable customizable footer floating messagespiaip2009-10-103-180/+267
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make help colours themable and sync T-table rendering codepiaip2009-10-105-77/+111
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * help message updatepiaip2009-10-101-6/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4920 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * new style help for mailpiaip2009-10-101-0/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * pmore2007+ style helppiaip2009-10-101-1/+82
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * do not give money/post to posts on default board (SYSOP).piaip2009-10-091-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move help rendering (as T-Table) from more.c to vtuikit: ↵piaip2009-10-083-188/+228
| | | | | | vs_multi_T_table_simple git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * code refine of help display system piaip2009-10-082-37/+56
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * ui layout refinepiaip2009-10-081-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4914 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * pmore: lost pref selection in previous changepiaip2009-10-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * pmore: use key_handler callback to prevent dirty hotkey listpiaip2009-10-083-219/+391
| | | | | | | * pmore: new pluggable help system git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add missing definitionpiaip2009-10-071-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4911 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * pmore: after experiements, seems like the display pointer check works ↵piaip2009-10-071-3/+5
| | | | | | fine and prevents the check of frame number. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4910 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: pmore absolute frame command failed (due to previous changeset)piaip2009-10-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4909 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * pmore: fix unclosed OPTION (#) with only one option may fall into ↵piaip2009-10-071-0/+13
| | | | | | | | | non-stop execution * pmore: add check to 'goto self frame' git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * the 'deleted' (by owner[0] == '-') check should be also applied to ↵piaip2009-10-071-2/+2
| | | | | | | | | | recommend otherwise people may still give comments to it. * also, removed the check of owner[1] because most other checks do not examine it. * note: there may be many, many other places to fix like recommend... however sine we've rejected '-' for anonymous prefix, the bug may not easily appear. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move 'not-maintained' to branch directorypiaip2009-10-0643-2340/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * anonymous id should not use '-' as prefix because it has special meaning ↵piaip2009-10-061-5/+13
| | | | | | (deleted). git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * prevent pause in auto merge (which may break sync)piaip2009-10-061-9/+0
| | | | | | | * note: smart merge still cannot promise 100% sync in current model. however, it should be good enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4902 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine message: angels should not reveal sex.piaip2009-10-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove the FREECLOAK configuration and make it always enabledpiaip2009-10-035-38/+2
| | | | | | | * if your own site need such feature, please make it as your local patch. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4900 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make del/edit in digest work more like beforepiaip2009-10-032-5/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4899 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: cannot del_post / edit_post in digest modepiaip2009-10-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * check post is deleted before do_voteboardreply. thanks report from ↵kcwu2009-10-021-5/+6
| | | | | | herman602@ptt git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add termtype call back (although we don't really trust it at this moment...)piaip2009-09-302-12/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4896 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * check post restriction for 'delete post' and 'edit post'.piaip2009-09-302-3/+23
| | | | | | | | | * reason 1: this account may be occupied by someone else. * reason 2: BM may alter post restrictions to this board * reference: sohate5566@ptt.cc #1AmiRDvG (PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix initial numlogindays, again (need to also fix LoginSave condition)piaip2009-09-291-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine comment documentpiaip2009-09-291-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * vtkbd: add support of rxvt style HOME/ENDpiaip2009-09-291-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4892 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rename visio in commentspiaip2009-09-291-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * logind: use vtkbd for key parsingpiaip2009-09-291-95/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4890 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * vtkbd: add rxvt/SCO supportpiaip2009-09-291-2/+59
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine kbd stack and move to common/bbspiaip2009-09-2910-119/+120
| | | | | | | * rename visio to vtuikit git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4888 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * new keyboard input framework: vtkbdpiaip2009-09-2811-319/+567
| | | | | | | | | * BS/BS2 is now merged to BS. * DEL/Ctrl-D is not mreged. * pager code (waterball) is a little refined but still far from good. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * drop 'dbcsaware detection' ui, because we have the better 'repeat detection'.piaip2009-09-287-108/+14
| | | | | | | * also changed UF_DBCSAWARE to UF_DBCS_AWARE git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: 'found nothing' after search 3-4 levelspiaip2009-09-272-3/+16
| | | | | | | | * reason: sizeof(currdirect)<64> != sizeof(newdirect)<PATHLEN> * simply added message, not extending currdirect to prevent very long filenames git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * solve: 'ctrl-u a' several times will drop connectionpiaip2009-09-274-11/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * initialize numlogindays as '1' for new register userspiaip2009-09-261-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4883 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add 'self' to del-post noticepiaip2009-09-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine user->customize piaip2009-09-244-30/+44
| | | | | | | * allow setting "dbcs evil client repeat detection" git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix DBCS detection: DEL is 0x7f not 0x1fpiaip2009-09-231-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4880 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * reject people without basic permission (why such user exist?).piaip2009-09-221-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * to preven non-registered user getting money/post from free boardspiaip2009-09-221-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4878 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * detect repeated DBCS commands from evil clientspiaip2009-09-224-4/+73
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine messagepiaip2009-09-221-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4876 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add auto-forward in admin viewpiaip2009-09-222-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4875 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more info (mostly uflags) to admin viewpiaip2009-09-221-4/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4874 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * convert more fieldspiaip2009-09-212-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine output formatpiaip2009-09-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * merge uflag2 and uflag, and refine flag bitmask namespiaip2009-09-2119-185/+234
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4871 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine menu and ad banner system, making the code simple and readablepiaip2009-09-204-43/+82
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4870 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix adbanner mappiaip2009-09-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* This goes with the previous revisionwens2009-09-201-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4868 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Banner mapping is needed...wens2009-09-201-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * allow setting default value for site like ptt2piaip2009-09-201-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine adbanner_usong againpiaip2009-09-202-12/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine adbanner_usong stuff, add timebombpiaip2009-09-202-11/+40
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4864 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add last_login_time for some check rules in the futurepiaip2009-09-202-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * mark auto-forward in mail title because some users just does not ↵piaip2009-09-191-2/+9
| | | | | | understand what they've done. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4862 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine order song init query uipiaip2009-09-193-6/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4861 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * adjust pref description and orderpiaip2009-09-191-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4860 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* display user songs by defaultwens2009-09-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix ordersong directory detectionpiaip2009-09-192-5/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4858 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable more checkings in usong selectionpiaip2009-09-192-6/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4857 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Always display designated system banner first.wens2009-09-196-19/+75
| | | | | | | | 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@4856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add more comments to explain the expression of adbanner index calculationpiaip2009-09-191-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change the name of 'movie' to 'adbanner' (advertisement banner), which is ↵piaip2009-09-1911-42/+53
| | | | | | more descriptive. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * to make restriction more visiblepiaip2009-09-181-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4853 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more, more aggressive cache of pwcu...piaip2009-09-171-4/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4852 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine pwcuExitSave again, prevent the initial query if possible.piaip2009-09-174-66/+51
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@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@4850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * notify about how numpost workspiaip2009-09-171-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4849 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * move WATER_* from uflag2 to cuser.pager_ui_type (standalone variable)piaip2009-09-1711-51/+108
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine badpost code againpiaip2009-09-174-23/+18
| | | | | | | * remove more deprecated stuff git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4847 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine uflagspiaip2009-09-173-62/+51
| | | | | | | | * remove and mark for more deprecated uflags * finetune pwcu exit save for uflags git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change magic numbers to const namespiaip2009-09-163-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4845 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more logs for exmailboxpiaip2009-09-161-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4844 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * more robust check of SHM version and sizepiaip2009-09-142-12/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4843 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable size tag in shmpiaip2009-09-144-4/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bpop3d compilationpiaip2009-09-142-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4841 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Required subdirectorieswens2009-09-141-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * enable some variables again for the toolspiaip2009-09-142-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * put-back the code to handle numlogin (changed to numlogindays)piaip2009-09-145-11/+66
| | | | | | | * we can enable this after current code base becomes stable git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * performance improve: clear alerts when cuser was reloaded.piaip2009-09-142-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * also reload when ordering songspiaip2009-09-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: money was not synchronized...piaip2009-09-135-4/+40
| | | | | | | * also enhanced more check with explicit reload git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * note brc v3 capability changepiaip2009-09-121-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add check for ambiguous id in case user cheat on adminspiaip2009-09-121-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * according to PTT SYSOP posts, some people really try to register then ask admpiaip2009-09-121-3/+9
| | | | | | | to change for ambiguous id - allright, let's forbid them all. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4832 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ask for confirmation before clearing writelog.mhsin2009-09-121-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * some users do not understand the numpost is for all boards, so let's hint ↵piaip2009-09-101-1/+1
| | | | | | them. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * rev number was not matched orzpiaip2009-09-102-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * make pwcu branch as trunk.piaip2009-09-1041-908/+1141
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: mandexx crashed (segv) when total board number gets close to MAXBOARDSpiaip2009-09-081-6/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add view recent login in trunkpiaip2009-09-063-1/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4815 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine messagepiaip2009-09-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix ANSI in getdata/vgets promptspiaip2009-08-314-14/+30
| | | | | | | * allow badpost filtering for everyone git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix getyx_ansi calculation (however, getdata/vgets is still not able to ↵piaip2009-08-312-1/+4
| | | | | | display ANSI code in prompt string correctly with ordinal screen.c) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4804 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add 'validate namelist by badpost', suggested by VOT1077@ptt.cc(PttSuggest)piaip2009-08-311-13/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4803 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * forgot to modify vote limitation creation for numloginpiaip2009-08-301-5/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * [code refine] add const modifierpiaip2009-08-293-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix line wrong positionpiaip2009-08-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4788 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * we don't support ver r2275 (chick) password anymore (too old).piaip2009-08-291-4/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4787 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * because PERM_HIDE does not update lastlogin time, we must skip them in ↵piaip2009-08-291-1/+6
| | | | | | namelist validation (thanks to Lwms@ptt.cc#PttBug) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4785 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix r4780: incorrect macro usagepiaip2009-08-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4781 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * solve "topboard is gone, need to press 'S'" by forcing sorted mode in ↵piaip2009-08-271-1/+6
| | | | | | class root git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * refine ordersongpiaip2009-08-266-254/+284
| | | | | | | | | * 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@4779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change chess source file names to be prefixed with ch_*.piaip2009-08-265-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4778 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove lovepaper generator because it's rarely used by observation.piaip2009-08-263-126/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4777 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * remove numlogin from topusrpiaip2009-08-261-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204