root [Tue, 31 Aug 2010 16:06:56 +0000 (12:06 -0400)]
Test git commit
root [Tue, 31 Aug 2010 15:40:30 +0000 (17:40 +0200)]
some indentions and changes to the comments, to reflect new comment style
Wilfried Göesgens [Sun, 29 Aug 2010 22:33:51 +0000 (22:33 +0000)]
* added debugging output while reading blobs via ssl.
Wilfried Göesgens [Sun, 29 Aug 2010 22:00:28 +0000 (22:00 +0000)]
* output what we're sending into the BIGBAD_IODBG too.
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:25 +0000 (16:57 +0000)]
* remove old session-local template support. YAY!
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:21 +0000 (16:57 +0000)]
* use the right subst in the iconbar
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:14 +0000 (16:57 +0000)]
* fix syntax error
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:09 +0000 (16:57 +0000)]
* don't compare the current section via the subst, its in the context-string anyways.
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:04 +0000 (16:57 +0000)]
* LDAP wasn't exposed that way for a long time; TODO: does this way still represent the reality with the new ldap support?
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:00 +0000 (16:57 +0000)]
* hm, what was 'MsgPrintable' ?
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:53 +0000 (16:56 +0000)]
* used wrong conditionals, fixed
* add conditional which was done wrong via SUBST
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:48 +0000 (16:56 +0000)]
* remove sv* in messages.c
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:42 +0000 (16:56 +0000)]
* remove WCVIEW, we have COND:THISROOM:CURR_VIEW; TODO: is the usage in roombanner realy what we wanted here?
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:37 +0000 (16:56 +0000)]
* beginbox is split into two all over the place. remove monolitic template.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:31 +0000 (16:56 +0000)]
* split boxes into beginbox_1 + 2, and put title directly. remove svput of boxtitle.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:27 +0000 (16:56 +0000)]
* remove svput with empty string.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:24 +0000 (16:56 +0000)]
* remove dummy function
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:16 +0000 (16:56 +0000)]
* migrate the ZONESTR to strbuf context, so no more SVPUT here either.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:11 +0000 (16:56 +0000)]
* meanwhile iterators know ITERATE:KEY on their own, no need to svput them.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:05 +0000 (16:56 +0000)]
* FILE:HAVEPICS isn't used, remove it.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:01 +0000 (16:56 +0000)]
* don't use sv* here
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:55 +0000 (16:55 +0000)]
* substracting independend pointers with no conjunction gives mad numbers. thanks samjam for pointing that out.
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:50 +0000 (16:55 +0000)]
* print name of context instead of number into the error message.
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:46 +0000 (16:55 +0000)]
* move some sv* into more modern templating
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:41 +0000 (16:55 +0000)]
* block parameters starting with __ from making it into the list, they're internal use only
Wilfried Göesgens [Sat, 28 Aug 2010 18:14:38 +0000 (18:14 +0000)]
* moan, if somebody didn't read the full buffer.
Wilfried Göesgens [Sat, 28 Aug 2010 13:11:01 +0000 (13:11 +0000)]
* fix GTSN not to cut seen stats at 1024 chars
Wilfried Göesgens [Sat, 28 Aug 2010 13:10:50 +0000 (13:10 +0000)]
* do typedef the visit struct, remove all those 'struct' statements from all over the source
Art Cancro [Fri, 27 Aug 2010 18:37:59 +0000 (18:37 +0000)]
* One more change to the recent header folding bugfix
Wilfried Göesgens [Thu, 26 Aug 2010 21:51:44 +0000 (21:51 +0000)]
* shuffle arround the whole room stuff. we now have:
* roomops.c : handlers; load / save / edit / goto etc. rooms, floors
* roomlist.c : load lists from the server, sort them.
* roomviews.c : view properties
* roomtoknes.c : room & floor tokens & conditionals
Wilfried Göesgens [Thu, 26 Aug 2010 21:51:32 +0000 (21:51 +0000)]
* shuffle arround the whole room stuff. we now have:
* roomops.c : handlers; load / save / edit / goto etc. rooms, floors
* roomlist.c : load lists from the server, sort them.
* roomviews.c : view properties
* roomtoknes.c : room & floor tokens & conditionals
Wilfried Göesgens [Thu, 26 Aug 2010 21:51:25 +0000 (21:51 +0000)]
* remove old wiki navbar code
Wilfried Göesgens [Thu, 26 Aug 2010 17:39:40 +0000 (17:39 +0000)]
* if we fail to log in because of user/passvoid wrong, reply with NO instead of BAD
Art Cancro [Thu, 26 Aug 2010 02:35:36 +0000 (02:35 +0000)]
* Fixed a wrap bug in convert_internet_message()
* This also is backported to stable, which is now 7.84
ich [Wed, 25 Aug 2010 21:39:16 +0000 (21:39 +0000)]
Forgot to commit the new, smaller files... And with "fine tuning" I meant finding out in which .css they really belong. I left everything uncertain or ambiguous in webcit.css
ich [Wed, 25 Aug 2010 21:36:15 +0000 (21:36 +0000)]
Split webcit.css into smaller chunks, makes maintaining them easier (i hope).
There needs to be some finetuning, especially for #room_actions stuff and other things in the banner
Art Cancro [Wed, 25 Aug 2010 15:11:46 +0000 (15:11 +0000)]
* Remove doorway cmd from messages/mainmenu
Art Cancro [Wed, 25 Aug 2010 15:09:54 +0000 (15:09 +0000)]
* Added an undocumented feature to the text client: login as 'guest' to go straight to the main loop without logging in. This is intended to test the behavior of guest mode as we begin implementing it.
* Removed the deprecated 'Doorway' feature.
ich [Wed, 25 Aug 2010 11:33:33 +0000 (11:33 +0000)]
Last commit concerning .css movement. I changed the links to the stylesheets, but these serverrestart pages are in a messy state in general and need attention!
ich [Wed, 25 Aug 2010 11:33:23 +0000 (11:33 +0000)]
Modified the files for mobiles to reflect the change to DOCTYPE Transitional and to find the .css files in the correct location
ich [Wed, 25 Aug 2010 11:33:14 +0000 (11:33 +0000)]
Commit of files where headers or other places refering to the placing of .css files were changed. These are the clean and easy ones.
ich [Wed, 25 Aug 2010 11:33:04 +0000 (11:33 +0000)]
Beginning to move files into dedicated subdirectories: Moved static/*.css to static/styles/
Wilfried Göesgens [Tue, 24 Aug 2010 22:29:16 +0000 (22:29 +0000)]
* fix wiki navbar (partly ;-)
Wilfried Göesgens [Tue, 24 Aug 2010 20:35:29 +0000 (20:35 +0000)]
* work on the wiki parts of the navbar
Wilfried Göesgens [Tue, 24 Aug 2010 20:35:25 +0000 (20:35 +0000)]
* show the navbar while editing rooms
Wilfried Göesgens [Tue, 24 Aug 2010 20:35:21 +0000 (20:35 +0000)]
* fix room-type dropdown, its different here.
Wilfried Göesgens [Tue, 24 Aug 2010 20:35:06 +0000 (20:35 +0000)]
* add dummy wiki conditionals
* remove old navbar, use the template.
Wilfried Göesgens [Tue, 24 Aug 2010 20:34:14 +0000 (20:34 +0000)]
* add the two default cases to the bbsview
* fix wrong colons
Art Cancro [Tue, 24 Aug 2010 20:16:08 +0000 (20:16 +0000)]
* No need to load the service name in getnameinfo() - we were just throwing it away. Replace with NULL.
Art Cancro [Tue, 24 Aug 2010 19:58:56 +0000 (19:58 +0000)]
* If we convert an IPv6-mapped-IPv4 address to dotted quad format, and the hostname was equivalent to the IP address, convert the hostname too.
Art Cancro [Mon, 23 Aug 2010 04:56:41 +0000 (04:56 +0000)]
* Fixed bug in webcit-to-citadel IPv6/IPv4 connectivity
Art Cancro [Fri, 20 Aug 2010 17:19:07 +0000 (17:19 +0000)]
* Began implementation of WebCit connecting to Citadel server using IPv6
Art Cancro [Fri, 20 Aug 2010 02:01:08 +0000 (02:01 +0000)]
* Don't tell libcurl to use an interface that does not exist
Art Cancro [Fri, 20 Aug 2010 01:57:00 +0000 (01:57 +0000)]
* Cleanup and tuning of previous commit
Art Cancro [Fri, 20 Aug 2010 01:31:37 +0000 (01:31 +0000)]
* When attempting to connect() to the first available of multiple addresses, create a new socket() with the correct address type (IPv6 or IPv4) for the address we're about to try.
* Also CLOSE that socket if the connection attempt fails. This also fixes a socket descriptor leak that's been in the previous implementation pretty much forever.
Art Cancro [Thu, 19 Aug 2010 17:58:53 +0000 (17:58 +0000)]
* text client - tell the user the actual hostname and IP address of the Citadel server to which we connected.
Art Cancro [Thu, 19 Aug 2010 16:52:24 +0000 (16:52 +0000)]
* Updated the text client with the new tcp client socket implementation which supports multiple addresses per host and IPv4/IPv6.
Art Cancro [Thu, 19 Aug 2010 16:41:34 +0000 (16:41 +0000)]
* Client connectsock() is now TCP only
ich [Thu, 19 Aug 2010 10:47:25 +0000 (10:47 +0000)]
removed floors.o from Makefile.in, since floors.c was removed
Art Cancro [Thu, 19 Aug 2010 03:26:18 +0000 (03:26 +0000)]
* If there are multiple IP addresses available for a host, sock_connect() now tries all of them. This includes IPv6/IPv4.
Art Cancro [Thu, 19 Aug 2010 03:06:16 +0000 (03:06 +0000)]
* Replaced sock_connect() with a new version that can connect to both IPv4 and IPv6. TODO: try multiple addresses if available.
Art Cancro [Thu, 19 Aug 2010 02:39:31 +0000 (02:39 +0000)]
* Removed the 'protocol' parameter from the sock_connect() function. All we have ever used here is TCP, and we don't have the functions in place to support UDP datagrams anyway. Removed the spurious parameter in preparation for an overhaul of this function.
ich [Thu, 19 Aug 2010 00:20:07 +0000 (00:20 +0000)]
minor HTML validation fixes, only cases, typos, superflous spaces/tabs and some </div> tags removed where there were too many
Wilfried Göesgens [Wed, 18 Aug 2010 21:11:22 +0000 (21:11 +0000)]
* move floor-save-handlers into roomops.c, remove floors.c
Wilfried Göesgens [Wed, 18 Aug 2010 21:11:13 +0000 (21:11 +0000)]
* New COND:FLOOR:NROOMS : whether this floor has n-rooms
* use the right toknes...
* use LFLR
* fix comment token function
Wilfried Göesgens [Wed, 18 Aug 2010 18:29:59 +0000 (18:29 +0000)]
* add a comment token '--', whichs content will show up in the output if -T is active
* fix typo
Art Cancro [Wed, 18 Aug 2010 15:50:00 +0000 (15:50 +0000)]
* Support IPv6 RBL as described in tools.ietf.org/html/draft-irtf-asrg-dnsbl-08
Art Cancro [Wed, 18 Aug 2010 14:38:07 +0000 (14:38 +0000)]
* Fix doxygen note for haschar(). The return value is the number of times ch appears in st, not the position at which it appears.
ich [Wed, 18 Aug 2010 14:38:05 +0000 (14:38 +0000)]
New templates for floor editing, will replace floors.c
Additional defines for conds and variables are needed
ich [Wed, 18 Aug 2010 00:47:10 +0000 (00:47 +0000)]
Attempt to replicate the navbar as html template. Removed "default" section, since the individual cases should cover all possibilities. VIEW_WIKI needs two new defines, one for "are we wiki home" and one for "are we history". The latter should replace the if/else section from roomops.c
Wilfried Göesgens [Tue, 17 Aug 2010 22:02:10 +0000 (22:02 +0000)]
* add a leading '?'
Wilfried Göesgens [Tue, 17 Aug 2010 22:00:41 +0000 (22:00 +0000)]
* BSTR:FORWARD : just append a query param if it was already in our URL line
Wilfried Göesgens [Tue, 17 Aug 2010 21:38:21 +0000 (21:38 +0000)]
* fix rss/pop aggregation configs
Art Cancro [Tue, 17 Aug 2010 20:58:55 +0000 (20:58 +0000)]
* Style cleanup
Wilfried Göesgens [Tue, 17 Aug 2010 20:54:14 +0000 (20:54 +0000)]
* FlushIgnetCfgs() get me out of FlushFolder, so we can reload GNET configs after netedit() saving it
* GetNetConfigHash() read all lines... and fix it all together
* add missing defines to other lines of GNET so we don't struggle over it while reading that
* print the recipient; listsub working now.
Art Cancro [Tue, 17 Aug 2010 20:49:15 +0000 (20:49 +0000)]
* Previous commit broke RBL checking. This fixes it and also eliminates a bunch of extra unnecessary library calls. TODO: support IPv6 RBL
Wilfried Göesgens [Mon, 16 Aug 2010 22:45:06 +0000 (22:45 +0000)]
* GetNetConfigHash(): fix some edge cases
* folder: add another pointer for the notnull, there is a 0 in that enum
* SetCurrentRoomFlags(): debug output the flags before saving them
* room/edit/tab_listserv: reorder list, so it doesn't look that funny with the subscription URL.
Art Cancro [Mon, 16 Aug 2010 21:49:14 +0000 (21:49 +0000)]
* Noted where we have to modify rbl_check() and friends to support IPv6
Wilfried Göesgens [Mon, 16 Aug 2010 21:43:35 +0000 (21:43 +0000)]
* GetWhoKnowsHash(): don't forget to step forward.
* do_invt_kick(): we need to be able to parse a coma separated list of users; the addressbook popup creates such.
* room/edit.html: add the needed includes for the addressbook popup.
Wilfried Göesgens [Mon, 16 Aug 2010 20:22:46 +0000 (20:22 +0000)]
* create_run_directories (): use defines from man (2) chmod, not numbers
* create_run_directories (): run-dir needs to be go+rx so others are able to see our sockets
Wilfried Göesgens [Mon, 16 Aug 2010 19:48:03 +0000 (19:48 +0000)]
* edit_value(): if no environment variable specified, use ""
* set_str_val(): don't check NULL here, expect it to be non-null.
Art Cancro [Mon, 16 Aug 2010 19:41:05 +0000 (19:41 +0000)]
* Initial work on IPv6-enabling citserver
Art Cancro [Mon, 16 Aug 2010 19:18:03 +0000 (19:18 +0000)]
* Oops ... went over my usual 109-character screen width when I was working on my netbook the other night. Fixed.
Art Cancro [Mon, 16 Aug 2010 17:04:07 +0000 (17:04 +0000)]
* citserver locate_host() migrated to getpeername() and getnameinfo(). These API's are both simpler and IPv4/IPv6 compatible.
Art Cancro [Mon, 16 Aug 2010 16:53:12 +0000 (16:53 +0000)]
* Suppress hostname lookup for trusted clients
Wilfried Göesgens [Sun, 15 Aug 2010 21:18:31 +0000 (21:18 +0000)]
* cleanup & shuffle 'folders' struct (make clean!); Order and listorder are the same; follow this change in roomlist.c
* remove unused entries from wcsession
* streamline when we flush the rooms & folder cache
* remove old roomediting code
* extract SaveRoomAide(SETA), GetCurrentRoomFlags(GETR), SetCurrentRoomFlags(SETR) into their own functions, use them all over the place; use folder struct instead of local structs / var to save state between GETR & SETR
* tab_expire.html: fix policy names we show.
Wilfried Göesgens [Sun, 15 Aug 2010 21:18:26 +0000 (21:18 +0000)]
* simplify more complex output of 'git branch' so we can deal with it.
Wilfried Göesgens [Sun, 15 Aug 2010 13:02:47 +0000 (13:02 +0000)]
* cmd_spex (): the new 'roompolicy' thing was missing here too.
Wilfried Göesgens [Sun, 15 Aug 2010 13:02:43 +0000 (13:02 +0000)]
* set_room_policy(): use modern representations of the policy names
Wilfried Göesgens [Sun, 15 Aug 2010 13:02:38 +0000 (13:02 +0000)]
* cmd_gpex(): fix policy querieing for rooms
Wilfried Göesgens [Sun, 15 Aug 2010 12:12:02 +0000 (12:12 +0000)]
ignore the icon directory link
Wilfried Göesgens [Sun, 15 Aug 2010 12:11:58 +0000 (12:11 +0000)]
* do_login(): if we're already logged in, don't show st00pit shit, but the main-menu plus the error message as important message.
Wilfried Göesgens [Sun, 15 Aug 2010 12:11:54 +0000 (12:11 +0000)]
* make the citadel run directory world readable, its just our unix domain sockets in there.
Wilfried Göesgens [Sun, 15 Aug 2010 12:11:47 +0000 (12:11 +0000)]
* fix crash when the env requested isn't set
Art Cancro [Sun, 15 Aug 2010 07:06:52 +0000 (07:06 +0000)]
* Rewrote webcit_tcp_server() to work with both IPv4 and IPv6 on host systems with both hybrid stacks and dual stacks. This brings back support for IPv4-only hosts running on MacOS and OpenBSD.
Art Cancro [Sun, 15 Aug 2010 06:19:04 +0000 (06:19 +0000)]
* Renamed ig_tcp_server() to webcit_tcp_server()
* Renamed ig_uds_server() to webcit_uds_server()
Wilfried Göesgens [Sat, 14 Aug 2010 22:07:19 +0000 (22:07 +0000)]
* fix various tiny flags, room-config is working flawlessly now.
Wilfried Göesgens [Sat, 14 Aug 2010 22:07:13 +0000 (22:07 +0000)]
* FlushFolder (): memset (0) the struct, so flags etc. go away too.
* LoadRoomXA (): we need to call GETR not GETA
* add debugging code translating the QR-Flags into plaintext for the log
* flush folders in more situations.
Wilfried Göesgens [Sat, 14 Aug 2010 17:11:39 +0000 (17:11 +0000)]
* add a way for the tabbed api to re-open the same tab on save again.
Wilfried Göesgens [Sat, 14 Aug 2010 15:01:28 +0000 (15:01 +0000)]
* print the header of the tab into the comment before the tab starts.