Art Cancro [Fri, 19 Aug 2011 19:12:50 +0000 (15:12 -0400)]
Clear selected_language when marking a guest session as inuse=0.
This prevents new visitors from seeing their first page in Chinese after Baidu comes calling.
parse reply-to header into its permanent database field
it seems as if some mailers (Open exchange for example) add Reply-To headers; if we don't parse it when receiving it,
our list service adds another header; thus parse it into the database of headers.
while appending the [roomname] to the mailsubject, we have to
- de-qp the original subject
- search for the roomname
- possibly prepend '[roomame] '
- and re-qp everything.
that way we solve...
- multiple [roomname] additions in case of QP encoded subjects
- non RFC-Conformant behaviour in case of roomnames with umlauts.
IE <9 styling with seperate stylesheet
Added conditional for IE less than version 9, removed the nonworking stuff from general stylesheets and moved them to ie_lte8.css
Also forced IE8 to use IE8 rendering instead of "legacy" mode.
- add neccessary stuff to header/trailer to make the page complete
- add URL-handlers for the summary page sections for the refreshing
- fix tokens and circumvent our singlequote bug once more.
"Fixed" issues in IE by removing PIE.htc behaviour from critical places
1. iconbar hover effect lagged awfully behind
2. messages and boxes began to fall apart when an element styled by PIE.htc was scrolled out of the #content div
This might be a bug in PIE.htc, need to check and report upstream, if so.
We are now back to edged uglyness without pretty box shadows, but usability has to be dominant until we find a proper fix
NOTE: border-radius.htc does not work on iconbar buttons, it totally messes them up!
- move the little remaining stuff & needed functionality into useredit.c
- hash users by UID, faster, plus also uniq, and more clever to search from LBIO.
- utilize the new '1' parameter to LBIO so we can quickly locate users
- modify the users found in LBIO to mark them having a bio
- templatize userlist & user detailview.
- if the user provided '1' just the UIDs are listed instead of the actual user name.
- we now use dirent and friends instead of outputting the output of the unix ls command *cough*
Art Cancro [Tue, 12 Jul 2011 04:34:54 +0000 (00:34 -0400)]
Initial implementation of the 'replying_to=' method for extracting Subject and References from Citadel using the msgnum being replied to instead of passing them back and forth through the browser. Fully in place for public rooms Reply and ReplyQuoted. Mail messages are next.
Art Cancro [Mon, 11 Jul 2011 18:46:40 +0000 (14:46 -0400)]
Allow reuse of WebCit sessions currently resident in memory by unbinding unless the session is logged in or explicitly provided a session cookie. This prevents cookieless web spiders from flooding the session table.
Art Cancro [Fri, 8 Jul 2011 23:29:40 +0000 (19:29 -0400)]
If all messages are new during a 'read new messages' operation, assume that this is the user's first visit to the room and start reading on the most recent page instead of showing them ancient history.
This time, I really fixed the alignment in mbox view! Last time, I did fix something else.
Again, credits go to Matthew McBride (matt/mcbridematt) for the patch!
Fixed the alignment before and after sorting the mailbox view!! Thanks to matt (Matthwe McBride)!
Also tried to fix the spacing in the table itself, so that long topics don't leak into the sender name...
Found out that FF3's js engine counts differently from operas and is off by a few pixels.
This is unbelievably frustrating and the current workaround is to leave 1em space, which is far too much.
Added a missing "=" on the userpicture link "alt" tag, the "&" does work fine
Also X-escaped the roomname on knrooms_rooms.html (for the roomnames containing &)
and added two missing </div>s to the knrooms.html. W3C is happier now
Mostly HTML Validation stuff, also removed the #room_ROOMNAME id until we have a proper "space" replacing escaper
<img src=\"image?name=_userpic_&parm=" <- on the userlist might act funny, i hope not
Removed borders from images for FF (what is it with that browser that every image gets a border?!?!)
Pimped the userlist view: edit option is now an icon, added "titles", changed table spacing to look proper,
turned host info into monospaced font and added a navbar
Moved all images out of /static, but the citadel-logo.gif,
most of the gone to /static/webcit_icons/old,
expand.gif and collapse.gif to /static/webcit_icons/, since they are still used