Wilfried Göesgens [Sun, 1 Feb 2009 21:43:04 +0000 (21:43 +0000)]
+ new way to retrieve integers from templates (bstr, pref...)
+ add logging to GetTemplateTokenNumber and GetTemplateTokenString
+ iterate now has three optional parameters: StartAt, StepWidth, StopAt; defaults: 0, 0, -1
* move inetconf parameters so they don't interfere with the new iterator params
Matt [Sun, 1 Feb 2009 06:14:51 +0000 (06:14 +0000)]
* Fix some IE (mainly IE6) overflow issues
Art Cancro [Sat, 31 Jan 2009 21:44:57 +0000 (21:44 +0000)]
* Corrected strbuf errors in auth.c, this appears to fix openID login but we need to test several different login scenarios
Art Cancro [Sat, 31 Jan 2009 21:30:47 +0000 (21:30 +0000)]
* Removed the 'New User' button from openid_login; new and existing users are handled identically here
Wilfried Göesgens [Sat, 31 Jan 2009 14:28:09 +0000 (14:28 +0000)]
* when loading text/* templates add utf-8 charset to the mimetype.
Wilfried Göesgens [Sat, 31 Jan 2009 14:20:01 +0000 (14:20 +0000)]
* add sig_inserted flag to template, so we don't insert a signature again on adding attachments
Wilfried Göesgens [Sat, 31 Jan 2009 13:48:07 +0000 (13:48 +0000)]
+ guess mimetype by template extension
+ do_template now uses the guessed mimetype and sets it as http header
Wilfried Göesgens [Sat, 31 Jan 2009 12:54:47 +0000 (12:54 +0000)]
* add empty lines to html view of messages.
Wilfried Göesgens [Sat, 31 Jan 2009 11:57:34 +0000 (11:57 +0000)]
* display single vcard by just calling read_message directly
Matt [Sat, 31 Jan 2009 09:45:18 +0000 (09:45 +0000)]
* fix preview_pane scroll memory bug
* fix openid login page, but haven't been able to test
* ran create-pot.sh, as I split up openid login bullets as well
* update nl.po and fr.po with the two new lines
Art Cancro [Sat, 31 Jan 2009 05:40:15 +0000 (05:40 +0000)]
* Added the words 'to' and 'Subject:' back into the message header displays.
* Removed links and action buttons from the printable version of the message display.
Art Cancro [Sat, 31 Jan 2009 05:18:23 +0000 (05:18 +0000)]
* Fixed an error in the template that was causing the 'c_rbl_at_greeting' field to load without its value checked
Art Cancro [Sat, 31 Jan 2009 05:13:43 +0000 (05:13 +0000)]
* Fixed an error in the template that was causing the 'c_creataide' field to load without its value checked
Art Cancro [Sat, 31 Jan 2009 05:09:04 +0000 (05:09 +0000)]
* The code which loads expire policies had been incompletely ported to strbuf, causing the data to be lost. Fixed.
Art Cancro [Sat, 31 Jan 2009 04:56:26 +0000 (04:56 +0000)]
* Fixed the auto-purger hour field in the admin screen. It was keying on 'calhourformat' - changed it to 'c_purge_hour'
Art Cancro [Fri, 30 Jan 2009 21:24:18 +0000 (21:24 +0000)]
* Add 'actiondiv' to the summary screen banner so that the 'make this my start page' link appears in the correct location and style
Art Cancro [Fri, 30 Jan 2009 21:17:22 +0000 (21:17 +0000)]
* Found three different styles for '#banner'. Merged them. Also removed the min-height attribute for this div because it looks obtuse on large screens, and we do want the banner to be as small as it needs to be, leaving room for content.
Art Cancro [Fri, 30 Jan 2009 21:02:47 +0000 (21:02 +0000)]
* Minor tweaks to css
Art Cancro [Fri, 30 Jan 2009 20:22:48 +0000 (20:22 +0000)]
* Do not allow message subjects to wrap, if the length happens to exceed the table cell width even after our usual truncation.
* Also removed the grey lines between each message. With the alternating grey bars in place this is no longer needed.
Art Cancro [Fri, 30 Jan 2009 18:32:36 +0000 (18:32 +0000)]
* Re-added tiny_mce, this time with the language packs
Art Cancro [Fri, 30 Jan 2009 18:30:38 +0000 (18:30 +0000)]
* removed tiny_mce again
Art Cancro [Fri, 30 Jan 2009 18:25:21 +0000 (18:25 +0000)]
* upgraded new version of tiny_mce
Art Cancro [Fri, 30 Jan 2009 18:24:41 +0000 (18:24 +0000)]
* Deleted tiny_mce - update is coming in the next commit
Art Cancro [Fri, 30 Jan 2009 18:02:22 +0000 (18:02 +0000)]
* serv_ldap.c: upon successful connect to an LDAP server, post an aide message warning the site operator that this module is deprecated.
Art Cancro [Thu, 29 Jan 2009 23:09:44 +0000 (23:09 +0000)]
* Restored zlib.h support to WebCit
Art Cancro [Thu, 29 Jan 2009 21:37:46 +0000 (21:37 +0000)]
* Hacked together some of the missing strings from nl.po
Art Cancro [Thu, 29 Jan 2009 21:32:53 +0000 (21:32 +0000)]
* Ran create-pot.sh again; there's at least one set of strings that hadn't been updated :(
Thierry Pasqualier [Thu, 29 Jan 2009 21:17:41 +0000 (21:17 +0000)]
Updated french translation. (incomplete)
Art Cancro [Thu, 29 Jan 2009 20:39:21 +0000 (20:39 +0000)]
* Updated nl.po submitted by Wim Kuilman
Art Cancro [Thu, 29 Jan 2009 04:33:50 +0000 (04:33 +0000)]
* Restored the '(none)' and '(nothing)' displays in the summary screen when the Tasks and Calendar windows contain no relevant data.
Matt [Thu, 29 Jan 2009 04:17:53 +0000 (04:17 +0000)]
* Encapsulate iconbar contents in another div that carries the white background. This restores previous appearance where the page background carried on below iconbar
Art Cancro [Thu, 29 Jan 2009 04:12:11 +0000 (04:12 +0000)]
* Room actions (offer start page, search, view-as) are now left-aligned with each other. I think this looks a bit nicer than right-aligned.
Wilfried Göesgens [Wed, 28 Jan 2009 23:06:26 +0000 (23:06 +0000)]
+ add To and CC to message display windows
Wilfried Göesgens [Wed, 28 Jan 2009 23:02:42 +0000 (23:02 +0000)]
* log whole sentences to wildfire
Wilfried Göesgens [Wed, 28 Jan 2009 22:28:05 +0000 (22:28 +0000)]
* load inline texts with DLAT not MSG4
* add download link to inline texts; maybe the framed divs display_inline_attachment and display_inline_attachment_body could use some styling
Art Cancro [Wed, 28 Jan 2009 17:23:02 +0000 (17:23 +0000)]
* After replacing /etc/nsswitch.conf, set its permissions correctly. Resolves bug 451.
Art Cancro [Wed, 28 Jan 2009 04:46:51 +0000 (04:46 +0000)]
* If an address matches both a 'masq domain' and a 'directory domain', IsDirectory() now returns it as a directory domain regardless of which order they appear in the configuration. This fixes a problem found earlier today on a site that had overlapping domain declarations, and entries weren't being added to the directory index.
* Also fixed the log message that displays when adding an entry to the directory index; now it only displays if the entry was actually written.
Matt [Wed, 28 Jan 2009 02:56:19 +0000 (02:56 +0000)]
* restore context menu in online user list
* fix online user in iconbar list becoming big after last commit
* replace #iconbar > ul > li selectors with classes so IE6 can understand them, and so these changes don't cause the above
Wilfried Göesgens [Tue, 27 Jan 2009 23:14:14 +0000 (23:14 +0000)]
* don't de-qp strings while rendering, do it while initializing.
Wilfried Göesgens [Tue, 27 Jan 2009 23:06:52 +0000 (23:06 +0000)]
* detect zlib, don't link it. libcitadel does this for us.
Art Cancro [Tue, 27 Jan 2009 20:24:57 +0000 (20:24 +0000)]
* When we encounter a compressed database record on a citserver built without compression support, abort() instead of returning bad data.
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 citadel.org/doku.php/faq:troubleshooting:out_of_lock_entries
Wilfried Göesgens [Mon, 26 Jan 2009 23:46:50 +0000 (23:46 +0000)]
* fix Reply to url in message display; thanks for samjam to point me to this
Wilfried Göesgens [Mon, 26 Jan 2009 23:25:41 +0000 (23:25 +0000)]
* when X-escaping translate linebreaks too.
Wilfried Göesgens [Mon, 26 Jan 2009 23:25:02 +0000 (23:25 +0000)]
+ add linebreak to html linebreak converting to StrEscAppend if nolinebreaks == 2
Wilfried Göesgens [Mon, 26 Jan 2009 20:49:37 +0000 (20:49 +0000)]
* since we migrated the mail create attachments to the genneral mail mime attachments we need to use its template tokens.
Wilfried Göesgens [Mon, 26 Jan 2009 17:43:07 +0000 (17:43 +0000)]
* 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.
Wilfried Göesgens [Mon, 26 Jan 2009 17:41:39 +0000 (17:41 +0000)]
* use memcpy instead of strcpy, as here we know how many chars to copy.
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;
Matt [Mon, 26 Jan 2009 01:45:30 +0000 (01:45 +0000)]
* Move iconbar out of global div so I can shuffle main content position rules
Wilfried Göesgens [Mon, 26 Jan 2009 00:30:54 +0000 (00:30 +0000)]
* add wildfire output to errormessages
Wilfried Göesgens [Mon, 26 Jan 2009 00:30:22 +0000 (00:30 +0000)]
* handle new strbufs in wcsession correctly
Wilfried Göesgens [Mon, 26 Jan 2009 00:28:20 +0000 (00:28 +0000)]
* 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
Wilfried Göesgens [Sun, 25 Jan 2009 21:31:24 +0000 (21:31 +0000)]
* shuffled members of wcsession -> do a make clean or everything will burst in your face
* moved two more wcsession-members to strbuf
Wilfried Göesgens [Sun, 25 Jan 2009 16:03:49 +0000 (16:03 +0000)]
+ add C-to-Json serializer
+ add Wildfire implementation
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
Matt [Sun, 25 Jan 2009 11:59:17 +0000 (11:59 +0000)]
* fix search in mailbox view
* fix nodename in message display
Art Cancro [Sun, 25 Jan 2009 06:06:25 +0000 (06:06 +0000)]
* The '/webcit' prefix was only stripped when running in proxy mode. Fixed.
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.
Art Cancro [Sun, 25 Jan 2009 04:59:08 +0000 (04:59 +0000)]
* mailbox summary view - make headers smaller
* Add a space between display name and email address in header:
Art Cancro [Sat, 24 Jan 2009 23:41:32 +0000 (23:41 +0000)]
* Ran create-pot.sh
Wilfried Göesgens [Sat, 24 Jan 2009 21:02:14 +0000 (21:02 +0000)]
* fix text in translation; thanks to Dirk Heinrichs for pointing this ou; fixes #450
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 [Fri, 23 Jan 2009 21:29:40 +0000 (21:29 +0000)]
* Move iconbar font size declaration to webcit.css
Art Cancro [Fri, 23 Jan 2009 03:45:11 +0000 (03:45 +0000)]
* Font size change to iconbar
Art Cancro [Fri, 23 Jan 2009 02:54:14 +0000 (02:54 +0000)]
* Specify all font sizes in percent.
Wilfried Göesgens [Thu, 22 Jan 2009 09:49:52 +0000 (09:49 +0000)]
+ beautification: remove double slashes from filenames, they tend to irretate users.
Wilfried Göesgens [Thu, 22 Jan 2009 09:48:50 +0000 (09:48 +0000)]
* make it const so gcc doesn't moan
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:38:18 +0000 (03:38 +0000)]
* fmt_time() in 24-hour mode, no leading space
Art Cancro [Wed, 21 Jan 2009 03:20:37 +0000 (03:20 +0000)]
* Summary view - don't display a time for all day events
Art Cancro [Wed, 21 Jan 2009 03:13:44 +0000 (03:13 +0000)]
* Reduced mailbox_summary font size down to 8pt, looks real nice now on a 1024x768 monitor
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.
Matt [Tue, 20 Jan 2009 23:49:26 +0000 (23:49 +0000)]
temporarily have IterateStruct in subst.h so mailbox conditionals can get at them (temporary solution only)
Matt [Tue, 20 Jan 2009 09:09:05 +0000 (09:09 +0000)]
Restore mailbox view
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 22:48:16 +0000 (22:48 +0000)]
* Fixed a template error that caused c_auth_mode to be set to 0 during any config save operation.
Wilfried Göesgens [Mon, 19 Jan 2009 20:43:53 +0000 (20:43 +0000)]
* applied samjams fix. Note: /static is also to be mapped to webcit in proxy configs; webcit ignores /webcit if its passed in.
Art Cancro [Mon, 19 Jan 2009 18:52:57 +0000 (18:52 +0000)]
* Restored the instant messenger popup
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 [Mon, 19 Jan 2009 18:20:51 +0000 (18:20 +0000)]
* Edit user: markup was showing through because USERLIST:PASSWD was not defined; fixed
Art Cancro [Mon, 19 Jan 2009 15:23:11 +0000 (15:23 +0000)]
* iterate_load_userlist() zeroed out the wrong struct; fixed
Wilfried Göesgens [Sun, 18 Jan 2009 19:33:45 +0000 (19:33 +0000)]
+ add flag to print backtraces in template logging error...
* we need to substitute all contexts..
Wilfried Göesgens [Sun, 18 Jan 2009 16:55:06 +0000 (16:55 +0000)]
! fix crash in X-Preferences API; return NULL if not found.
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.
Wilfried Göesgens [Sat, 17 Jan 2009 10:22:09 +0000 (10:22 +0000)]
* make error logging NULL safe.
Art Cancro [Fri, 16 Jan 2009 20:49:12 +0000 (20:49 +0000)]
* Restore the proper tty parameters when exiting because of a dead server connection.
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.
Art Cancro [Fri, 16 Jan 2009 20:23:47 +0000 (20:23 +0000)]
* Moved some comments around
Art Cancro [Fri, 16 Jan 2009 20:18:18 +0000 (20:18 +0000)]
* Removed some redundant code
Wilfried Göesgens [Thu, 15 Jan 2009 23:32:22 +0000 (23:32 +0000)]
* document function calls and structures
Wilfried Göesgens [Thu, 15 Jan 2009 00:23:48 +0000 (00:23 +0000)]
* temporarily disable parameter-checking. Conditionals don't contain enough information, this needs to be fixed.
Wilfried Göesgens [Wed, 14 Jan 2009 23:46:21 +0000 (23:46 +0000)]
* 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
Art Cancro [Wed, 14 Jan 2009 03:00:18 +0000 (03:00 +0000)]
* In host auth mode, if a user logs in who has no gecos configured, use the login name instead. This resolves bug #439.
Matt [Tue, 13 Jan 2009 22:38:24 +0000 (22:38 +0000)]
* fix bug introduced by last commit - messages now aligned to justify like they should be
Wilfried Göesgens [Tue, 13 Jan 2009 21:13:35 +0000 (21:13 +0000)]
* fix tiny memory leak; hashpos needs to be freed.
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