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
Replaced orange feed/rss image by the blue one from our iconset, added file icon for rooms with files into banner, made the "X files" description the same style as the rss line above it.
Had to fool around with the css for the banner again, in order to do so.
Added the id #room_ROOMNAME to the body tag, this enables us to use some conditionals throughout the whole webcit like:
body#room_ROOMNAME #some_id { whatever-css: youlike; }
Made the file chooser input selector bigger so that you can actually read the filename
Added class .bio to the bio view and a service.css to style it
Art Cancro [Sun, 3 Jul 2011 22:21:51 +0000 (18:21 -0400)]
Allow the token 'dotgoto?' to bypass wiki hyperlink rewriting, so that we can post links to specific rooms in wiki pages. This seems hackish and could potentially be replaced by a better solution.
Tried to fix the scrolling in #room_info and renamed contancts.png. All our images have "singular" case in their name. (task.png, not tasks.png for example!)
Cleaned and sobered up the roombanner css and html:
1. It is all a table now
2. paddings and margins look good (room info no longer growing into actiondiv)
3. moved the "logged in as" into actiondiv (looks a bit crowded, but we will take care of that soon)
4. fade in/out effects for extended room info are no longer collibri style
I am not yet satisfied with the height of the #room_info and the scrollbar doesnt work!
again some improvements, chat and edit links now avaiable in navbar, dropped <?WHO:PIC>
how would we pass the username to this template? I need that for testing...
Renamed the /icons directory to /webcit_icons because of incompatibility with symlinking to local iconset for mimetypes
Also changed the references to reflect the new positions
Templatize sieve rules editor; return success/fail state of serverwrite
- return status of sending stuff to citserver, so we can abort loops in time if our connection dies.
- add sieve scripts lists with content to the session for one request
- add hooks for listing sieve scripts and their contents
- add parser for our webcit embedded sieve editor
- add hooks for our webcit embedded sieve editor
- add templates with the contents from sieve.c
Improved logic and look of the login.html (and partly the modal)
Also renamed the delete.png to abort, makes more sense.
Deployed abort.png where it fits (closewindow.gif loks bad when blown to 32pixel)
Art Cancro [Fri, 1 Jul 2011 02:47:57 +0000 (22:47 -0400)]
Generate wiki diffs using a temp file instead of a big string of realloc() calls.
Noted a block of code in which we are smashing the stack and need to fix.
Adapted c-files to new iconset "Essen"
Moved some additional icons from static/ to static/icons
The goal is, that we can remove all stray image files from static/ after the transition
Only relevant .gif in static that is left should be citadel-logo.gif.
Added new iconset "Essen" from http://pc.de/icons/ and modified all files under static/t accordingly
Icons are in subfolder "icons/essen" so we can eventually add other iconsets and make them choosable from Webcit
Moved some commonly used icons we need to keep to newly created icons/ dir
Old icons will go to subfolder "icons/old" after the transition, so retro enthusiasts can choose them eventually
Places in c-files will follow in next commit
fix the GETMETADATA command; we mustn't count our naive split of the comand, it will fail if we have blanks in roomnames.
this fixes troubles seen with citadel <-> bynari connector.
Art Cancro [Tue, 21 Jun 2011 22:48:36 +0000 (18:48 -0400)]
Untangled the hashloading of VTDODO with the hashloading of VEVENT items. Some changes that were made to the calendar code were keeping tasks from displaying at all.
Art Cancro [Wed, 15 Jun 2011 04:26:25 +0000 (00:26 -0400)]
xmpp_destroy_buddy() now accepts an 'aggressively' flag that indicates whether the server should push an 'unsubscribed' presence tag. Apparently we can only do this when sending a roster flush at the beginning of the session, because sending it when another user logs out in the middle of our session confuses Jitsi into thinking that the other user rejected a subscription request. I think it's making Pidgin behave better too, but more testing is needed.
the_mgt [Mon, 30 May 2011 22:51:05 +0000 (00:51 +0200)]
changed height of .iconbar_text to 24px instead of 2em, mixing both does not make sense here, since we do not get 100px height if people set different default font size