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: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!
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 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 [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
* 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.
* 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.
* 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.
* 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
* 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.
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.
* 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.
* defines may now be ored or anded
* conditionals should check, whether one of the above, ored: != 0, anded: == checkvalue
* added that to the QR* conditionals
* use the or/and notation in QR of room edit