[Citadel Development] Citadel commit log: revision 6990

2009-01-25 Thread matt

r6990 | matt | 2009-01-25 06:59:17 -0500 (Sun, 25 Jan 2009) | 3 lines
Changed paths:
   M /trunk/webcit/messages.c
   M /trunk/webcit/static/summaryview.js
   M /trunk/webcit/static/t/view_message.html

* fix search in mailbox view
* fix nodename in message display




[Citadel Development] Citadel commit log: revision 6991

2009-01-25 Thread matt

r6991 | matt | 2009-01-25 08:26:26 -0500 (Sun, 25 Jan 2009) | 5 lines
Changed paths:
   M /trunk/webcit/static/t/iconbar.html
   M /trunk/webcit/static/t/login.html
   M /trunk/webcit/static/wclib.js
   M /trunk/webcit/static/webcit.css

* 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 




[Citadel Development] (no subject)

2009-01-25 Thread matt
Just some notes out of the last commit:

* I created http://www.citadel.org/doku.php/faq:everydayuse:webcit_browser to
officially state what browsers work well and why some features don't work in
IE. A link to there has been placed on the login page.

* Can someone more familiar with DokuWiki update the table of contents on
http://www.citadel.org/doku.php/doku.php?id=faq:start so it lists everything?
There are a few items such as the How do I ... in Webcit and the
Recommended Browsers articles that nstoc seems to miss. 

* I went and broke up the notes on the login page into individual gettext
calls so translators will need to split them up (does create-pot have access
to strings defined in templates?)

* Also regarding templates, there are some strings defined in JS (such as
switch/customize) in iconbar that I will have to move into HTML. I'll do this
soon.

* I fixed search mode in mailbox view. For some reason there is an issue with
safemode mailbox view where clearing the search and then switching to another
message page shows no results. I can't see any cause for this in code, unless
some additional cacheing is done when SortBy/startmsg/maxmsgs and search
query are all involved.

[Citadel Development] Re: mod_auth_citadel

2009-01-25 Thread Freakdog
Wow...I don't even see --with-apr as an option when I run configure 
--help.  
  


[Citadel Development] Citadel commit log: revision 6992

2009-01-25 Thread dothebart

r6992 | dothebart | 2009-01-25 11:03:49 -0500 (Sun, 25 Jan 2009) | 3 lines
Changed paths:
   M /trunk/libcitadel/Makefile.in
   M /trunk/libcitadel/configure.in
   M /trunk/libcitadel/debian/rules
   A /trunk/libcitadel/lib/json.c
   M /trunk/libcitadel/lib/libcitadel.h
   A /trunk/libcitadel/lib/wildfire.c

+ add C-to-Json serializer
+ add Wildfire implementation




[Citadel Development] Re: Citadel commit log: revision 6992

2009-01-25 Thread dothebart
This is the backend needed to signal errormessages to firephp, a firebug
plugin. 

I'm going to replace the messages into the templates by these. 

That way errormessages won't garble the layout anymore, and you can debug
templates in a proper manner.

[Citadel Development] (no subject)

2009-01-25 Thread dothebart
So Jan 25 2009 08:40:03 EST von m...@comalies (comalies) 

  

Just some notes out of the last commit:

* I created http://www.citadel.org/doku.php/faq:everydayuse:webcit_browser
to officially state what browsers work well and why some features don't work
in IE. A link to there has been placed on the login page.

* Can someone more familiar with DokuWiki update the table of contents on
http://www.citadel.org/doku.php/doku.php?id=faq:start so it lists everything?
There are a few items such as the How do I ... in Webcit and the
Recommended Browsers articles that nstoc seems to miss. 



usualy dokuwiki does take care of that itself. sometimes it can take a while
till it re-renders its cache. 


* I went and broke up the notes on the login page into individual gettext
calls so translators will need to split them up (does create-pot have access
to strings defined in templates?)



 the reason why templating does _(I18nme) is to make it simple to get
create-pot call the usual backends that process C-Files doesn't have to do
anything special. If you split up texts, some may be autodetected, some may
need manual interaction. Texts that where there en block might be better
translatable as such, since they may hve common sense... In general adding
formating to texts should be avoided.
 

 

* Also regarding templates, there are some strings defined in JS (such as
switch/customize) in iconbar that I will have to move into HTML. I'll do this
soon.

  

Hm, translating js files would make them uncacheable... I wonder which
solutions other Ajax apps have therefore? If we want to create them by those
templating stuff (which we'd probably want for prefs-controlled CSS Too) We'd
have to change the templating engine to parce .css and .js too; plus webcit
probably needs to set another mimetype header for them?

[Citadel Development] Citadel commit log: revision 6993

2009-01-25 Thread dothebart

r6993 | dothebart | 2009-01-25 16:31:24 -0500 (Sun, 25 Jan 2009) | 3 lines
Changed paths:
   M /trunk/webcit/auth.c
   M /trunk/webcit/groupdav_main.c
   M /trunk/webcit/listsub.c
   M /trunk/webcit/locate_host.c
   M /trunk/webcit/mainmenu.c
   M /trunk/webcit/openid.c
   M /trunk/webcit/preferences.c
   M /trunk/webcit/roomops.c
   M /trunk/webcit/rss.c
   M /trunk/webcit/serv_func.c
   M /trunk/webcit/webcit.c
   M /trunk/webcit/webcit.h
   M /trunk/webcit/webserver.c

* shuffled members of wcsession - do a make clean or everything will burst in 
your face
* moved two more wcsession-members to strbuf




[Citadel Development] Re: Citadel commit log: revision 6993

2009-01-25 Thread dothebart
I've tried to structure the wcsession a little, grouped those who will just
have a lifetime of one request,  which data they contain,  Maybe we should
split it up later by these bounds.

as mentioned above, do a make clean, bootstrap configure run, just to be
shure.

[Citadel Development] Citadel commit log: revision 6994

2009-01-25 Thread dothebart

r6994 | dothebart | 2009-01-25 19:28:20 -0500 (Sun, 25 Jan 2009) | 5 lines
Changed paths:
   M /trunk/libcitadel/lib/json.c
   M /trunk/libcitadel/lib/libcitadel.h
   M /trunk/libcitadel/lib/stringbuf.c
   M /trunk/libcitadel/lib/wildfire.c

* 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




[Citadel Development] Citadel commit log: revision 6995

2009-01-25 Thread dothebart

r6995 | dothebart | 2009-01-25 19:30:22 -0500 (Sun, 25 Jan 2009) | 2 lines
Changed paths:
   M /trunk/webcit/context_loop.c
   M /trunk/webcit/roomops.c

* handle new strbufs in wcsession correctly




[Citadel Development] Citadel commit log: revision 6996

2009-01-25 Thread dothebart

r6996 | dothebart | 2009-01-25 19:30:54 -0500 (Sun, 25 Jan 2009) | 3 lines
Changed paths:
   M /trunk/webcit/subst.c
   M /trunk/webcit/webcit.c
   M /trunk/webcit/webcit.h

* add wildfire output to errormessages





[Citadel Development] Re: Citadel commit log: revision 6996

2009-01-25 Thread dothebart
ok, It's working. Tiny Howto:

* install firebug in firefox

* install firephp in firefox

* click on the tiny brown bug in the loer right

* use ^ to make firebug its own window 

* enable the konsole and the network monitor for your devel webcit host

* enable firephp for your devel host



Server:

(only working on linux with backtrace support) 

configure libcitadel  webcit with '--with-backtrace' 

make shure addr2line lives in /usr/bin/

 

jam one of your templates by adding for example a blank to a template token

surf webcit to that template...

the firebug console will show the error message plus a backtrace in the list

 

subst.c LogTemplateError shows how to send backtraces and error messages.

[Citadel Development] Citadel commit log: revision 6997

2009-01-25 Thread matt

r6997 | matt | 2009-01-25 20:45:30 -0500 (Sun, 25 Jan 2009) | 2 lines
Changed paths:
   M /trunk/webcit/static/t/head.html
   M /trunk/webcit/static/t/iconbar.html
   M /trunk/webcit/static/webcit.css
   M /trunk/webcit/webcit.c

* Move iconbar out of global div so I can shuffle main content position rules




[Citadel Development] Citadel commit log: revision 6998

2009-01-25 Thread matt

r6998 | matt | 2009-01-26 01:54:45 -0500 (Mon, 26 Jan 2009) | 7 lines
Changed paths:
   M /trunk/webcit/auth.c
   M /trunk/webcit/iconbar.c
   M /trunk/webcit/static/iconbaricns.css
   M /trunk/webcit/static/summaryview.js
   M /trunk/webcit/static/t/add_node.html
   M /trunk/webcit/static/t/aide_inetconf.html
   M /trunk/webcit/static/t/display_aide_menu.html
   M /trunk/webcit/static/t/display_ignet_confirmdelete.html
   M /trunk/webcit/static/t/display_main_menu.html
   M /trunk/webcit/static/t/display_netconf.html
   M /trunk/webcit/static/t/display_sitewide_config.html
   M /trunk/webcit/static/t/edit_message.html
   M /trunk/webcit/static/t/edit_node.html
   M /trunk/webcit/static/t/edituser_select.html
   M /trunk/webcit/static/t/files.html
   M /trunk/webcit/static/t/files_jspicview.html
   M /trunk/webcit/static/t/head.html
   M /trunk/webcit/static/t/preferences.html
   M /trunk/webcit/static/t/roombanner.html
   M /trunk/webcit/static/t/userlist_detailview.html
   M /trunk/webcit/static/t/who.html
   M /trunk/webcit/static/wclib.js
   M /trunk/webcit/static/webcit.css

* 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;