Art Cancro [Tue, 27 Jan 2009 15:42:21 +0000 (15:42 +0000)]
* When db->open() fails with ENOMEM, display a log message suggesting that the system administrator should read http://www.citadel.org/doku.php/faq:troubleshooting:out_of_lock_entries
* fix memleak in preferences
* fix buffer overruns in vcard presenting logic
* zero WC->this_httphost at the end of a session, as it becomes invalid then.
Matt [Mon, 26 Jan 2009 10:35:34 +0000 (10:35 +0000)]
* add missing banner on preferences template
* set min-height for #banner for non-room screens
* update knrooms header to match room screens
* summary view remembers size of list pane
* fix double iconbar in graphics upload
* fix enter message not being in the right div + overflowing
* disable :hover rule for input fields
Matt [Mon, 26 Jan 2009 06:54:45 +0000 (06:54 +0000)]
* fix some fallout from last commit: iconbar now in head.html so no one should call it themselves
* set WC->logged_in to 0 at the top of do_logout() to surpress iconbar on logout
* Fix IE6 iconbar bug, still not as good as it used to look :(
* Completely rework roombanner etc. so the web browser sizes roombanner, navbar etc. itself
* Added javascript hack so the new roombanner works in browsers that don't do display: table-cell;
* json doesn't need to escape singlequotes
+ add possibility to json serializer to free the struct, so usage gets smarter
* make params of wildfire calls similar
* take 1st frame to find binary name, as 0 will be libcitadel
Matt [Sun, 25 Jan 2009 13:26:26 +0000 (13:26 +0000)]
* properly check to see if user has turned on wholist-in-iconbar
* Link to wiki "Recommended browsers" on login
* Had to break bullet points on login into individual gettext calls, translators will have to split accordingly
* Fix border style on iconbar logo and switch
Art Cancro [Sun, 25 Jan 2009 05:49:34 +0000 (05:49 +0000)]
* render_MAIL_html() now passes a message number instead of a MIME part number as the third argument to output_html(), which is what that function requires.
Matt [Sat, 24 Jan 2009 08:42:14 +0000 (08:42 +0000)]
* multi-select in webcit is back, apologies to those who had to wait for it.
* alt-click does the same as ctdl-click, this is for Macs where ctrl is usually mapped to right mouse click
* TODO: turn on key bindings as alternative + for internet exploder
Art Cancro [Wed, 21 Jan 2009 16:33:29 +0000 (16:33 +0000)]
* Reduce some of the calendar editor elements to prevent them from overflowing the tab. There are some rather serious problems displaying WebCit on IE6 right now.
Art Cancro [Wed, 21 Jan 2009 05:08:17 +0000 (05:08 +0000)]
* If the user has not selected a time format, make a guess about 12 hour or 24 hour format based on the locale. If strftime('%X') contains the letter 'M' then we go with 12 hour format; otherwise 24 hour.
Art Cancro [Wed, 21 Jan 2009 04:48:37 +0000 (04:48 +0000)]
* ParsePref() was passing NULL values to the target buffer of the string tokenizer, causing all preferences to be thrown away upon reading. Added allocation of StrBuf's for Key and Val members, so it has someplace to store them.
Art Cancro [Wed, 21 Jan 2009 03:08:39 +0000 (03:08 +0000)]
* Reapplied 'mailbox_summary' class to the mailbox table
* Removed the alt-text from the throbber icon. If the graphic isn't loaded for whatever reason, the best substitute is no display at all, since a text message accompanies it anyway.
Art Cancro [Tue, 20 Jan 2009 04:51:47 +0000 (04:51 +0000)]
* When saving a Task, if the status is COMPLETED then also set PERCENT-COMPLETE:100 so Kontact sees it as complete as well. (We probably should go the other way too, but that needs further discussion.)
Art Cancro [Mon, 19 Jan 2009 18:25:17 +0000 (18:25 +0000)]
* Centered the 'Log in using OpenID' link
* Removed the alt text for 'Welcome image'. If there is no welcome image on the server, it is acceptable to display nothing in this location.
Art Cancro [Sun, 18 Jan 2009 05:35:55 +0000 (05:35 +0000)]
* During server startup, if config.c_default_cal_zone is an empty string, run a shell script which attempts to determine the name of the time zone in use on the underlying host system. The script scans the files in /usr/share/zoneinfo and looks for a file whose md5sum matches that of /etc/localtime. This is a kludge but it should work 99% of the time.
Art Cancro [Fri, 16 Jan 2009 20:33:00 +0000 (20:33 +0000)]
* Removed the NETF command and the UI elements which call it. We haven't had the ability to process data transmitted in this way for ages; it makes absolutely no sense that we still have the ability to send it.
* add 'control context'; which will carry information from control elements into their own template replacers
* abstract context checking
* make ITERATE:xxx own template callbacks instead of using SVPUT and friends
* replace conditionals in templates leaning on ITERATE:xxx by their native new implementations
Matt [Tue, 13 Jan 2009 07:47:46 +0000 (07:47 +0000)]
* fix issues with room list in firefox 2 (didn't detect console.log properly, again)
* New JS func: WCLog
* some HTML validation fixes (remove align="center", <br /> -> <br>)
* known issue: FF2 won't hide handle overflow text in table cells. I do have some idea of how to work around
Matt [Tue, 13 Jan 2009 04:23:43 +0000 (04:23 +0000)]
* move output_headers to the top of readloop, before the big switch, so wprintf outputs within <body> instead of above <html> (fixes issue where buttons blew up huge in notesview)
* Only create CtdlDragDrop in summaryview, restores notes functionality for now
* Check to see if iconbar wholist exists before calling Ajax.Updater->fixes error on logon screen
* Fix double id definition for search form
* Restore date format to yyyy-mm-dd i.e pre r6912
Matt [Mon, 12 Jan 2009 23:15:26 +0000 (23:15 +0000)]
*fix numerous regressions that I let slip:
* 'customize this' now below 'log off' in iconbar
* fix embedded wholist in iconbar appearing if not enabled
* make drag and drop menu translucent, with no list padding
* enable chat button again
* no link colors for 'customize this'
* try to properly detect the presence/lack of Firebug/Safari/IE8 developer console (console.log). If you see any console.log missing errors and don't have Firebug installed, please tell me
Art Cancro [Mon, 12 Jan 2009 18:03:14 +0000 (18:03 +0000)]
* webcit.css: returned tabcontent_submit width back to 96% as was originally done in r6522; this repairs the bottom of tabbed dialogs and makes them line up with the rest of the box instead of appearing as a short bottom tab
Art Cancro [Sun, 11 Jan 2009 03:56:02 +0000 (03:56 +0000)]
* Updated render_MIME_ICS() to do the right thing if the calendar attachment happens to be at the MSG4 top level and is already resident. The previous behavior was to attempt to load it using DLAT with msgnum=0, which erased the copy in memory so it didn't render. Invitations sent by Exchange now render properly. Invitations sent by Google Calendar are displaying twice now, which is probably because they do a multipart/alternative *and* send it as an attachment. I don't know why.
* move addressbook popup code back from trailing javascript; its not printed in this usecase.
* did 'svn -R propset svn:ignore -F .svnignore .' to activate .svnignore.
* move some more vars from the session context to strbuf (the use of StrBufAppendTemplate demands this)
* move the default template params to a standard structure, so adding further controll structures here gets more easy
* move some cases to GetServerStatus() to evaluate the server status feedback to queries.
Art Cancro [Wed, 7 Jan 2009 21:46:27 +0000 (21:46 +0000)]
* Tasks in summary view are now clickable too. I also found the bug report; it was an internal report at my office rather than something in Bugzilla. Closed it.
Art Cancro [Wed, 7 Jan 2009 16:15:12 +0000 (16:15 +0000)]
* Any URL may now contain a parameter called 'gotofirst' which specifies a room in which the operation should be carried out. If present, a GOTO to that room will be performed prior to attempting any other action.
Matt [Tue, 6 Jan 2009 10:14:26 +0000 (10:14 +0000)]
+ New function: StrECMAEscAppend, does string escaping for javascript output, things like " -> \" etc.
! changed the if in StrIsNumber to be the other, sensible way around.. I don't use this func anymore however.
Art Cancro [Tue, 6 Jan 2009 04:14:37 +0000 (04:14 +0000)]
* Restored the original date/time display behavior by replacing DATESTR template variable with DATEBRIEF (for summary views) and DATEFULL (for the full date/time to be displayed in messages).
Art Cancro [Mon, 5 Jan 2009 21:30:46 +0000 (21:30 +0000)]
* locate_user_vcard() wasn't using either of its supplied parameters. Removed the parameters and renamed the function to locate_user_vcard_in_this_room()
Art Cancro [Mon, 5 Jan 2009 21:04:57 +0000 (21:04 +0000)]
* icaltime_from_webform() now populates struct icaltimetype directly instead of converting tm->time_t->icaltimetype. This fixes an edge case where the user submits a date that falls during DST but the *current* date is not DST, or vice versa; the old code got it wrong in this case.