citadel.git
13 years agoWhen we 503, do it in HTML
Art Cancro [Tue, 11 Jan 2011 03:53:12 +0000 (22:53 -0500)]
When we 503, do it in HTML

13 years agoFixed bug in ConditionalHavewikiType() which returned the wrong value
Art Cancro [Mon, 10 Jan 2011 21:11:18 +0000 (16:11 -0500)]
Fixed bug in ConditionalHavewikiType() which returned the wrong value

13 years agoFixed several errors introduced during templatization of the Wiki engine.
Art Cancro [Mon, 10 Jan 2011 04:48:45 +0000 (23:48 -0500)]
Fixed several errors introduced during templatization of the Wiki engine.
* the 'home' conditional was reversed
* the 'Edit this page' link should always appear

13 years agoForce wiki room views into the wiki viewer instead of a read loop
Art Cancro [Mon, 10 Jan 2011 04:17:51 +0000 (23:17 -0500)]
Force wiki room views into the wiki viewer instead of a read loop

13 years agofix parameter order of memset as reported by Silvio Cesare in debian Bug#609384
Wilfried Goesgens [Sun, 9 Jan 2011 10:09:04 +0000 (11:09 +0100)]
fix parameter order of memset as reported by Silvio Cesare in debian Bug#609384

13 years agominor cleanup
Art Cancro [Fri, 7 Jan 2011 20:56:25 +0000 (15:56 -0500)]
minor cleanup

13 years agoMade the elimination of nocookies permanent.
Art Cancro [Fri, 7 Jan 2011 20:51:04 +0000 (15:51 -0500)]
Made the elimination of nocookies permanent.

13 years agomore logging for previous commit
Art Cancro [Fri, 7 Jan 2011 19:40:21 +0000 (14:40 -0500)]
more logging for previous commit

13 years agoThe 'gotofirst' key is now called 'go' for brevity
Art Cancro [Fri, 7 Jan 2011 19:34:43 +0000 (14:34 -0500)]
The 'gotofirst' key is now called 'go' for brevity

13 years agoThe 'nocookies' error page is no longer needed
Art Cancro [Fri, 7 Jan 2011 17:13:49 +0000 (12:13 -0500)]
The 'nocookies' error page is no longer needed

13 years agopush/pop destination_url instead of passing it through the chain
Art Cancro [Wed, 5 Jan 2011 21:18:18 +0000 (16:18 -0500)]
push/pop destination_url instead of passing it through the chain

13 years agoAdd new member 'PushedDestination' to wcsession. This will be used soon.
Art Cancro [Wed, 5 Jan 2011 20:00:29 +0000 (15:00 -0500)]
Add new member 'PushedDestination' to wcsession.  This will be used soon.

13 years agominor html markup change
Art Cancro [Wed, 5 Jan 2011 17:18:09 +0000 (12:18 -0500)]
minor html markup change

13 years agoMoved the noscript warning to head.html
Art Cancro [Wed, 5 Jan 2011 16:57:11 +0000 (11:57 -0500)]
Moved the noscript warning to head.html

13 years agoCOND:ROOM:EDITACCESS now observes (not) logged in
Art Cancro [Wed, 5 Jan 2011 04:08:22 +0000 (23:08 -0500)]
COND:ROOM:EDITACCESS now observes (not) logged in

13 years agoApplied the GetLoggedInFirst() semantics to the Reply buttons
Art Cancro [Wed, 5 Jan 2011 03:58:55 +0000 (22:58 -0500)]
Applied the GetLoggedInFirst() semantics to the Reply buttons

13 years agofix b0rken on IE, maybe operat too
Art Cancro [Wed, 5 Jan 2011 02:36:30 +0000 (21:36 -0500)]
fix b0rken on IE, maybe operat too

13 years agoThe Citadel icon is now a cute button
Art Cancro [Wed, 5 Jan 2011 00:09:46 +0000 (19:09 -0500)]
The Citadel icon is now a cute button

13 years agoAuth box now uses proper Citadel and OpenID icons
Art Cancro [Tue, 4 Jan 2011 23:55:23 +0000 (18:55 -0500)]
Auth box now uses proper Citadel and OpenID icons

13 years agoNew CSS for the login modal
Art Cancro [Tue, 4 Jan 2011 20:43:43 +0000 (15:43 -0500)]
New CSS for the login modal

13 years agoCleaned up the CSS for the login box
Art Cancro [Tue, 4 Jan 2011 04:43:47 +0000 (23:43 -0500)]
Cleaned up the CSS for the login box

13 years agoAdded a bit of whitespace
Art Cancro [Mon, 3 Jan 2011 21:47:32 +0000 (16:47 -0500)]
Added a bit of whitespace

13 years agoReplaced missing 'content' div in create room screen.
Art Cancro [Mon, 3 Jan 2011 21:46:43 +0000 (16:46 -0500)]
Replaced missing 'content' div in create room screen.

13 years agoGetLoggedInFirst() now goes directly to destination_url if already logged in
Art Cancro [Mon, 3 Jan 2011 21:28:36 +0000 (16:28 -0500)]
GetLoggedInFirst() now goes directly to destination_url if already logged in

13 years agoforward-port r4a30bae41553 from stable
Art Cancro [Mon, 3 Jan 2011 17:08:35 +0000 (12:08 -0500)]
forward-port r4a30bae41553 from stable

13 years agoCleanup of previous commit
Art Cancro [Fri, 31 Dec 2010 22:29:39 +0000 (17:29 -0500)]
Cleanup of previous commit

13 years ago503 Service Unavailable when we can't connect to citserver
Art Cancro [Fri, 31 Dec 2010 19:50:52 +0000 (14:50 -0500)]
503 Service Unavailable when we can't connect to citserver

13 years agoFixed broken location of sources in create-pot.sh
Art Cancro [Thu, 30 Dec 2010 21:50:45 +0000 (16:50 -0500)]
Fixed broken location of sources in create-pot.sh

13 years agouse the short commit hash
Art Cancro [Thu, 30 Dec 2010 21:43:28 +0000 (16:43 -0500)]
use the short commit hash

13 years agoPerformed a bunch of markup fixes suggested by validator.w3.org
Art Cancro [Thu, 30 Dec 2010 20:52:29 +0000 (15:52 -0500)]
Performed a bunch of markup fixes suggested by validator.w3.org

13 years agocosmetic stuff
Art Cancro [Thu, 30 Dec 2010 20:18:12 +0000 (15:18 -0500)]
cosmetic stuff

13 years agoThe 'Log in' button now routes to GetLoggedInFirst(do_welcome)
Art Cancro [Wed, 29 Dec 2010 22:50:53 +0000 (17:50 -0500)]
The 'Log in' button now routes to GetLoggedInFirst(do_welcome)

13 years agoSmooth transition between logged-in and not-logged-in states
Art Cancro [Wed, 29 Dec 2010 22:41:23 +0000 (17:41 -0500)]
Smooth transition between logged-in and not-logged-in states

13 years agoInitial version of modal login is now working.
Art Cancro [Wed, 29 Dec 2010 22:34:21 +0000 (17:34 -0500)]
Initial version of modal login is now working.

13 years agoWrote the initial version of the 'ajax_login_username_password' handler
Art Cancro [Wed, 29 Dec 2010 18:55:02 +0000 (13:55 -0500)]
Wrote the initial version of the 'ajax_login_username_password' handler

13 years agoChanged 'free software' to 'open source' to piss off Richard Stallman
Art Cancro [Wed, 29 Dec 2010 18:43:58 +0000 (13:43 -0500)]
Changed 'free software' to 'open source' to piss off Richard Stallman

13 years agoChanged 'free software' to 'open source' to piss off Richard Stallman
Art Cancro [Wed, 29 Dec 2010 18:40:53 +0000 (13:40 -0500)]
Changed 'free software' to 'open source' to piss off Richard Stallman

13 years agoInitial (not yet working) version of modal/ajax login box
Art Cancro [Wed, 29 Dec 2010 18:21:53 +0000 (13:21 -0500)]
Initial (not yet working) version of modal/ajax login box

13 years agoBegan implementing GetLoggedInFirst(destination_url) path
Art Cancro [Wed, 29 Dec 2010 16:00:53 +0000 (11:00 -0500)]
Began implementing GetLoggedInFirst(destination_url) path

13 years agocosmetic cleanup only
Art Cancro [Wed, 29 Dec 2010 15:39:08 +0000 (10:39 -0500)]
cosmetic cleanup only

13 years agoSummary page displays site name instead of user name when not logged in
Art Cancro [Tue, 28 Dec 2010 22:55:36 +0000 (17:55 -0500)]
Summary page displays site name instead of user name when not logged in

13 years agoSmoother navigation and restricted iconbar for guest mode
Art Cancro [Tue, 28 Dec 2010 22:20:27 +0000 (17:20 -0500)]
Smoother navigation and restricted iconbar for guest mode

13 years agoA conditional in roombanner.html was reversed. Fixed it.
Art Cancro [Tue, 28 Dec 2010 19:10:16 +0000 (14:10 -0500)]
A conditional in roombanner.html was reversed.  Fixed it.

13 years agoadded a javascript alert to display an error when does not exist.
Art Cancro [Tue, 28 Dec 2010 18:26:30 +0000 (13:26 -0500)]
added a javascript alert to display an error when  does not exist.

13 years agoupgrade scriptaculous to 1.9.0
Art Cancro [Tue, 28 Dec 2010 02:00:15 +0000 (21:00 -0500)]
upgrade scriptaculous to 1.9.0

13 years agoupgrade prototype to 1.7
Art Cancro [Tue, 28 Dec 2010 01:58:40 +0000 (20:58 -0500)]
upgrade prototype to 1.7

13 years agoBegan removing some of the logged-in checks
Art Cancro [Thu, 23 Dec 2010 05:20:03 +0000 (00:20 -0500)]
Began removing some of the logged-in checks

13 years agoTuned up the 'logged in as' / 'not logged in' ...
Art Cancro [Thu, 23 Dec 2010 05:15:33 +0000 (00:15 -0500)]
Tuned up the 'logged in as' / 'not logged in' ...

13 years agoTemplated a new location in the banner to display loggedin/notloggedin
Art Cancro [Wed, 22 Dec 2010 23:00:07 +0000 (18:00 -0500)]
Templated a new location in the banner to display loggedin/notloggedin

13 years agoRoom info popup is now onMouseOver instead of onClick
Art Cancro [Wed, 22 Dec 2010 22:50:49 +0000 (17:50 -0500)]
Room info popup is now onMouseOver instead of onClick

13 years agoResync i18n with launchpad
Wilfried Goesgens [Wed, 22 Dec 2010 13:18:46 +0000 (14:18 +0100)]
Resync i18n with launchpad

13 years agoResync i18n with launchpad; add Czek translation.
Wilfried Goesgens [Wed, 22 Dec 2010 13:16:11 +0000 (14:16 +0100)]
Resync i18n with launchpad; add Czek translation.

13 years agofix typo in french po file.
Wilfried Goesgens [Wed, 22 Dec 2010 12:03:46 +0000 (13:03 +0100)]
fix typo in french po file.

13 years agoFix off by one here too; else we will send two '<' in the MAIL FROM command.
Wilfried Goesgens [Wed, 22 Dec 2010 11:59:41 +0000 (12:59 +0100)]
Fix off by one here too; else we will send two '<' in the MAIL FROM command.

13 years agoRevert "libevent integration"
Art Cancro [Wed, 22 Dec 2010 04:38:28 +0000 (23:38 -0500)]
Revert "libevent integration"

This reverts commit ceec483b7aac5ec74a718a1080de75e10860d298.

13 years agoRevert "Libevent integration"
Art Cancro [Wed, 22 Dec 2010 04:38:26 +0000 (23:38 -0500)]
Revert "Libevent integration"

This reverts commit fdb030b497950239b2b7db63b3953f6a6f425f1e.

13 years agoRevert "Revert "Replaced client_read() with socket_read_blob() in serv_network.c""
Art Cancro [Wed, 22 Dec 2010 04:36:58 +0000 (23:36 -0500)]
Revert "Revert "Replaced client_read() with socket_read_blob() in serv_network.c""

This reverts commit 49982a083283668bcdc6852390f2f746bc44c220.

13 years agoRevert "Replaced client_read() with socket_read_blob() in serv_network.c"
Art Cancro [Wed, 22 Dec 2010 04:35:03 +0000 (23:35 -0500)]
Revert "Replaced client_read() with socket_read_blob() in serv_network.c"

This reverts commit f4fcd4228633ddd1334f24f0a572d0667215082f.

13 years agoLibevent integration
Wilfried Goesgens [Tue, 21 Dec 2010 23:40:34 +0000 (00:40 +0100)]
Libevent integration

 - add a configure option --with-experimental_eventsmtp to enable the following items
 - add a thread that spawns a signaling pipe plus the libevent queue
 - add functions that allow to add jobs via that signalling pipe
 - add experimental smtp queue handler sending messages via libevent (message goes out but then... ;-)

13 years agolibevent integration
Wilfried Goesgens [Tue, 21 Dec 2010 23:37:55 +0000 (00:37 +0100)]
libevent integration

 - Add functions that are able to do just one read()/write() so they can be used as libevent callbacks.
 - Add linereader function that reads from "incomplete buffers" and falls back to a re-attemt if not enough data is available.

13 years agoReplaced client_read() with socket_read_blob() in serv_network.c
Art Cancro [Mon, 20 Dec 2010 04:12:19 +0000 (23:12 -0500)]
Replaced client_read() with socket_read_blob() in serv_network.c

13 years agoCleaned up the loop that receives network spool. NOT THE FIX
Art Cancro [Fri, 17 Dec 2010 19:12:36 +0000 (14:12 -0500)]
Cleaned up the loop that receives network spool.  NOT THE FIX

13 years agoContent-transfer-encoding: ISO-8859-1 joins the 'no encoding' list
Art Cancro [Fri, 17 Dec 2010 04:10:06 +0000 (23:10 -0500)]
Content-transfer-encoding: ISO-8859-1 joins the 'no encoding' list

13 years agoMove: give the SMTP-Client its own file.
Wilfried Goesgens [Wed, 15 Dec 2010 11:44:57 +0000 (12:44 +0100)]
Move: give the SMTP-Client its own file.

 - move the SMTP-Client functionality into its own file.
 - re-bootstrap so the new files are added to your makefiles!

13 years agoRoom info in banner should respect utf8 when cutting the text; fixed.
Wilfried Goesgens [Wed, 15 Dec 2010 09:03:03 +0000 (10:03 +0100)]
Room info in banner should respect utf8 when cutting the text; fixed.

13 years agoRoom info in banner was completely broken. Fixed.
Art Cancro [Tue, 14 Dec 2010 22:13:03 +0000 (17:13 -0500)]
Room info in banner was completely broken.  Fixed.

13 years agoSMTP Async I/O:
Wilfried Goesgens [Mon, 13 Dec 2010 17:23:31 +0000 (18:23 +0100)]
SMTP Async I/O:

 - while sending data, wait relative to the size of the mail /128 + a minimal set of 50.

13 years agoJ-escape instead of U-escape attachment removal urls.
Art Cancro [Mon, 13 Dec 2010 15:12:25 +0000 (10:12 -0500)]
J-escape instead of U-escape attachment removal urls.

13 years agoremove attach works now but has filename escape bugs
Art Cancro [Mon, 13 Dec 2010 05:02:22 +0000 (00:02 -0500)]
remove attach works now but has filename escape bugs

13 years agourl binding and skeleton js for remove attachment
Art Cancro [Mon, 13 Dec 2010 00:29:21 +0000 (19:29 -0500)]
url binding and skeleton js for remove attachment

13 years agoWrote the ajax call for remove_attachment(), todo: js binding
Art Cancro [Mon, 13 Dec 2010 00:11:39 +0000 (19:11 -0500)]
Wrote the ajax call for remove_attachment(), todo: js binding

13 years agoMimeparser Bugfix
Wilfried Goesgens [Sun, 12 Dec 2010 14:47:14 +0000 (15:47 +0100)]
Mimeparser Bugfix

 - use the right pointer to calculate the terminal border of the first memchr

13 years agoIgnore all of our test binaries.
Wilfried Goesgens [Sun, 12 Dec 2010 14:09:49 +0000 (15:09 +0100)]
Ignore all of our test binaries.

13 years agoAdd possibility to trigger the tests with Valgrind
Wilfried Goesgens [Sun, 12 Dec 2010 14:06:09 +0000 (15:06 +0100)]
Add possibility to trigger the tests with Valgrind

13 years agoBugfix: several errors in our test program
Wilfried Goesgens [Sun, 12 Dec 2010 14:03:43 +0000 (15:03 +0100)]
Bugfix: several errors in our test program

 - initialize the count before passing it into wildfirea
 - free all our buffers properly.

13 years agoBugfixing: free our hashpositions...
Wilfried Goesgens [Sun, 12 Dec 2010 14:02:40 +0000 (15:02 +0100)]
Bugfixing: free our hashpositions...

13 years agoAttachments count is now updated in navbar
Art Cancro [Sun, 12 Dec 2010 03:15:35 +0000 (22:15 -0500)]
Attachments count is now updated in navbar

13 years agoShow throbber during attachment upload
Art Cancro [Sun, 12 Dec 2010 02:23:16 +0000 (21:23 -0500)]
Show throbber during attachment upload

13 years agoHide upload box during an upload. TODO: add throbber.
Art Cancro [Sat, 11 Dec 2010 22:24:06 +0000 (17:24 -0500)]
Hide upload box during an upload.  TODO: add throbber.

13 years agoremove image borders in the upload pane
Art Cancro [Sat, 11 Dec 2010 17:41:31 +0000 (12:41 -0500)]
remove image borders in the upload pane

13 years agoChange 'Attach' to 'Attachments: 0' (updater will follow)
Art Cancro [Sat, 11 Dec 2010 17:36:13 +0000 (12:36 -0500)]
Change 'Attach' to 'Attachments: 0' (updater will follow)

13 years agoIntegrate IGs tests
Wilfried Goesgens [Sat, 11 Dec 2010 15:36:07 +0000 (16:36 +0100)]
Integrate IGs tests

 - add to run_tests.sh
 - wrap c-unit around the test cases...

13 years agoNew upload dialog is now feature complete
Art Cancro [Sat, 11 Dec 2010 02:23:52 +0000 (21:23 -0500)]
New upload dialog is now feature complete

13 years agoUploading now works. It is ugly but it works.
Art Cancro [Fri, 10 Dec 2010 21:25:51 +0000 (16:25 -0500)]
Uploading now works.  It is ugly but it works.

13 years agoPerform uploads via a (eventually to be hidden) iframe
Art Cancro [Fri, 10 Dec 2010 21:18:58 +0000 (16:18 -0500)]
Perform uploads via a (eventually to be hidden) iframe

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Fri, 10 Dec 2010 18:31:54 +0000 (13:31 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoMimeparser Bugfix:
Wilfried Goesgens [Fri, 10 Dec 2010 18:14:35 +0000 (19:14 +0100)]
Mimeparser Bugfix:

 - while parsing the headers, don't forget to \0 the extracted strings.

13 years agoPerformance improvement / Bugfix Mime handling while outputting messages:
Wilfried Goesgens [Fri, 10 Dec 2010 18:13:28 +0000 (19:13 +0100)]
Performance improvement / Bugfix Mime handling while outputting messages:

  - we switched to decode just that part we'd want to output, we should choose the pointer with the decoded buffer.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Fri, 10 Dec 2010 17:26:25 +0000 (12:26 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoReworking the enter message and attach dialogs
Art Cancro [Fri, 10 Dec 2010 17:26:22 +0000 (12:26 -0500)]
Reworking the enter message and attach dialogs

13 years agoFix typo in translation.
Wilfried Goesgens [Fri, 10 Dec 2010 17:18:12 +0000 (18:18 +0100)]
Fix typo in translation.

13 years agoMimeparser bugfix; if we continue we must flush the already parsed headers too.
Wilfried Goesgens [Fri, 10 Dec 2010 17:14:40 +0000 (18:14 +0100)]
Mimeparser bugfix; if we continue we must flush the already parsed headers too.

13 years agoHunt for mime_parser bugs...
Wilfried Goesgens [Fri, 10 Dec 2010 16:08:54 +0000 (17:08 +0100)]
Hunt for mime_parser bugs...

 - don't prepend the content-type/content-length - mime header if we don't intend to use it anyways.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Thu, 9 Dec 2010 17:07:24 +0000 (12:07 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoMore tiny bugfixes on the mimeparser
Wilfried Goesgens [Thu, 9 Dec 2010 00:05:16 +0000 (01:05 +0100)]
More tiny bugfixes on the mimeparser

 - in the for-loop, search first start as initializer, this saves one unneccesary memcmp
 - cr/lf detection: we need to do that _before_ the first mime content is evaluated.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Wed, 8 Dec 2010 14:04:52 +0000 (09:04 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoAdded the regression test I wrote while fixing stripallbut() yesterday
Art Cancro [Wed, 8 Dec 2010 03:17:47 +0000 (22:17 -0500)]
Added the regression test I wrote while fixing stripallbut() yesterday

13 years agoCorrectly evaluate whether we have a decoded mime part, or if we need to output the...
Wilfried Goesgens [Tue, 7 Dec 2010 22:30:12 +0000 (23:30 +0100)]
Correctly evaluate whether we have a decoded mime part, or if we need to output the raw content.

13 years agoPerformance: use memchr to find the next '-' and then call memcmp to check whether...
Wilfried Goesgens [Tue, 7 Dec 2010 22:20:43 +0000 (23:20 +0100)]
Performance: use memchr to find the next '-' and then call memcmp to check whether this is a boundary

 - we fast forward to the next '-' since every mime boundary starts with '-'
 - from a '-' we check thorough whether at this point we can find the searched boundary

Thanks to cirrus for pointing me to memchr()

13 years agoAdd more test-mimecontainers.
Wilfried Goesgens [Tue, 7 Dec 2010 21:27:52 +0000 (22:27 +0100)]
Add more test-mimecontainers.