citadel.git
12 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Fri, 6 Apr 2012 15:37:36 +0000 (17:37 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

12 years agoSMTP-Client: move the client-shutdown procedure into the DB-Thread; we musn't block...
Wilfried Goesgens [Fri, 6 Apr 2012 15:36:29 +0000 (17:36 +0200)]
SMTP-Client: move the client-shutdown procedure into the DB-Thread; we musn't block the network thread for db IO.

12 years agoMemleak: in case of DNS errors take care whether we need to free the reply or not.
Wilfried Goesgens [Fri, 6 Apr 2012 15:34:19 +0000 (17:34 +0200)]
Memleak: in case of DNS errors take care whether we need to free the reply or not.

12 years agoChange some of the broken links pointing to www.citadel.org
Art Cancro [Tue, 3 Apr 2012 22:01:21 +0000 (18:01 -0400)]
Change some of the broken links pointing to citadel.org

12 years agoAllow webcit 8.10 to be used with citadel 8.05 and libcitadel 8.05
Art Cancro [Thu, 29 Mar 2012 03:29:49 +0000 (23:29 -0400)]
Allow webcit 8.10 to be used with citadel 8.05 and libcitadel 8.05

12 years agoadd netconfigs to install directories
Art Cancro [Tue, 27 Mar 2012 17:10:14 +0000 (13:10 -0400)]
add netconfigs to install directories

12 years agoRemove old smtpqueue code
Wilfried Goesgens [Mon, 26 Mar 2012 20:36:22 +0000 (22:36 +0200)]
Remove old smtpqueue code

12 years agonetedit: add way to specify the room we want to edit.
Wilfried Goesgens [Mon, 26 Mar 2012 20:35:45 +0000 (22:35 +0200)]
netedit: add way to specify the room we want to edit.

12 years agomailinglist management interface: add alternating shadow
Wilfried Goesgens [Mon, 26 Mar 2012 20:00:10 +0000 (22:00 +0200)]
mailinglist management interface: add alternating shadow

12 years agofmout: removed.
Wilfried Goesgens [Sun, 25 Mar 2012 23:17:06 +0000 (01:17 +0200)]
fmout: removed.

  - templatize the logout screen; it doesn't need the old fmout now anymore.
  - templatize the change password dialog; it doesn't need the old fmout now anymore.
  - remove fmout

12 years agoOops, forgot newline
Wilfried Goesgens [Sun, 25 Mar 2012 13:27:47 +0000 (15:27 +0200)]
Oops, forgot newline

12 years agofix read_server_text; it was broken.
Wilfried Goesgens [Sun, 25 Mar 2012 12:51:04 +0000 (14:51 +0200)]
fix read_server_text; it was broken.

  - fixes attendee availability + suppenkasper.

12 years agoDebs: remove old stuff; don't try to restart citserver by ourselves.
Wilfried Goesgens [Sun, 25 Mar 2012 10:58:59 +0000 (12:58 +0200)]
Debs: remove old stuff; don't try to restart citserver by ourselves.

12 years agoSetup: in case of citserver not up & running, sleep & retry 10 times.
Wilfried Goesgens [Sun, 25 Mar 2012 10:56:48 +0000 (12:56 +0200)]
Setup: in case of citserver not up & running, sleep & retry 10 times.

12 years agoUDS: unlink them just to be shure.
Wilfried Goesgens [Sun, 25 Mar 2012 10:56:21 +0000 (12:56 +0200)]
UDS: unlink them just to be shure.

12 years agoAdded license declarations to some files that were missing it
Art Cancro [Fri, 23 Mar 2012 17:14:38 +0000 (13:14 -0400)]
Added license declarations to some files that were missing it

12 years agotext client: status line now configurable
Art Cancro [Fri, 23 Mar 2012 17:07:41 +0000 (13:07 -0400)]
text client: status line now configurable

12 years agoRemoved obsolete features from client
Art Cancro [Fri, 23 Mar 2012 16:26:46 +0000 (12:26 -0400)]
Removed obsolete features from client

12 years agoCitadel Networker: finalize
Wilfried Goesgens [Thu, 22 Mar 2012 23:49:33 +0000 (00:49 +0100)]
Citadel Networker: finalize

  - use the right member to keep the temporary and the final spoolname
  - call stripslashes to cleanup the spoolfilenames
  - fix double calling of handler
  - timeout set only non-null values
  - parser: use own buffer to keep spoolfilenames to stat

12 years agoevent client: fixes
Wilfried Goesgens [Thu, 22 Mar 2012 23:47:53 +0000 (00:47 +0100)]
event client: fixes

  - use just one way to handle timeout in all places
  - split the reply evaluation from HandleInbound into its own subfunction
  - call that after finishing to receive a blob into a file

12 years agoFileRecvChunked(): implement non splice version for legacy linux & bsd
Wilfried Goesgens [Thu, 22 Mar 2012 23:42:23 +0000 (00:42 +0100)]
FileRecvChunked(): implement non splice version for legacy linux & bsd

12 years agoStrBufStripSlashes() we want to _strip_ trailing slashes, not append them.
Wilfried Goesgens [Thu, 22 Mar 2012 23:41:01 +0000 (00:41 +0100)]
StrBufStripSlashes() we want to _strip_ trailing slashes, not append them.

12 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 20 Mar 2012 07:42:21 +0000 (08:42 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

12 years agofix memleak
Wilfried Goesgens [Tue, 20 Mar 2012 07:42:06 +0000 (08:42 +0100)]
fix memleak

12 years agoFixed the missing chrome in the add/delete scripts screen
Art Cancro [Tue, 20 Mar 2012 05:46:58 +0000 (01:46 -0400)]
Fixed the missing chrome in the add/delete scripts screen

12 years agoChanged the comment style of the 'note to translators' found in calendar.c to a style...
Art Cancro [Tue, 20 Mar 2012 05:06:20 +0000 (01:06 -0400)]
Changed the comment style of the 'note to translators' found in calendar.c to a style that will be copied as a comment into every .po file.

12 years agoRemoved the nonstandard banner option from output_headers()
Art Cancro [Tue, 20 Mar 2012 02:57:37 +0000 (22:57 -0400)]
Removed the nonstandard banner option from output_headers()

12 years agoMigrated the sieve screens to room_banner_override. This removes the last of the...
Art Cancro [Tue, 20 Mar 2012 02:51:29 +0000 (22:51 -0400)]
Migrated the sieve screens to room_banner_override.  This removes the last of the nonstandard banner code.  However the 'add/delete scripts' screen is missing its chrome because of the way it was called; I will fix this in another commit.

12 years agoMigrated 'Send instant message' screen to room_banner_override
Art Cancro [Tue, 20 Mar 2012 02:45:03 +0000 (22:45 -0400)]
Migrated 'Send instant message' screen to room_banner_override

12 years agoMigrated 'Add or edit an event' screen to room_banner_override
Art Cancro [Tue, 20 Mar 2012 02:44:03 +0000 (22:44 -0400)]
Migrated 'Add or edit an event' screen to room_banner_override

12 years agoMigrated 'setup wizard' screen (which isn't actually used yet) to room_banner_override
Art Cancro [Tue, 20 Mar 2012 02:43:01 +0000 (22:43 -0400)]
Migrated 'setup wizard' screen (which isn't actually used yet) to room_banner_override

12 years agoMigrated 'configure push email' screen to room_banner_override
Art Cancro [Tue, 20 Mar 2012 02:42:09 +0000 (22:42 -0400)]
Migrated 'configure push email' screen to room_banner_override

12 years agoremoved some blank lines
Art Cancro [Tue, 20 Mar 2012 02:09:47 +0000 (22:09 -0400)]
removed some blank lines

12 years agoWhen an event has no DTEND, set the duration to zero. This prevents a recurring...
Art Cancro [Tue, 20 Mar 2012 01:18:14 +0000 (21:18 -0400)]
When an event has no DTEND, set the duration to zero.  This prevents a recurring event with no DTEND from throwing the recurrence calculator into a very long loop.

12 years agoajax-only behavior for the wholist as well.
Art Cancro [Tue, 20 Mar 2012 00:22:16 +0000 (20:22 -0400)]
ajax-only behavior for the wholist as well.

12 years agoRemove the initial display of Messages, Tasks, and Calendar in the summary view,...
Art Cancro [Tue, 20 Mar 2012 00:16:23 +0000 (20:16 -0400)]
Remove the initial display of Messages, Tasks, and Calendar in the summary view, since PeriodicalUpdater is going to immediately refresh them anyway.  Display throbbers in the empty boxes, which will conveniently display themselves if one section (such as the calendar) is taking a long time to load.

12 years agoRestored the override_room_banner behavior for the summary page
Art Cancro [Tue, 20 Mar 2012 00:00:27 +0000 (20:00 -0400)]
Restored the override_room_banner behavior for the summary page

12 years agoWhen authentication is successful, display a 'please wait' message in the login box...
Art Cancro [Mon, 19 Mar 2012 15:52:15 +0000 (11:52 -0400)]
When authentication is successful, display a 'please wait' message in the login box while waiting for the login destination to load.

12 years agoVILE SLEAZY HACK. If anyone had their start page configured as '/do_template?templat...
Art Cancro [Sun, 18 Mar 2012 16:55:27 +0000 (12:55 -0400)]
VILE SLEAZY HACK.  If anyone had their start page configured as '/do_template?template=summary_page' set it to '/summary' during preferences load.  The correct page will be saved back to the preferences setting when the user logs out, so when we come across this code again in a couple of years we can remove it :)

12 years agostyle cleanup
Art Cancro [Sun, 18 Mar 2012 16:45:34 +0000 (12:45 -0400)]
style cleanup

12 years agotemporary fix to handle summary page not displaying properly on uncensored for a...
Art Cancro [Fri, 16 Mar 2012 03:01:16 +0000 (23:01 -0400)]
temporary fix to handle summary page not displaying properly on uncensored for a logged in user

12 years agoRemove the old queue view and migrate the new one to the override_room_banner logic
Art Cancro [Thu, 15 Mar 2012 21:55:47 +0000 (17:55 -0400)]
Remove the old queue view and migrate the new one to the override_room_banner logic

12 years agoReworked some suboptimal logic found in create_script()
Art Cancro [Thu, 15 Mar 2012 21:39:07 +0000 (17:39 -0400)]
Reworked some suboptimal logic found in create_script()

12 years agoUpgraded the convenience_page() function to the new room_banner_override framework...
Art Cancro [Thu, 15 Mar 2012 21:34:27 +0000 (17:34 -0400)]
Upgraded the convenience_page() function to the new room_banner_override framework as a test.  Really this function ought to be eliminated.

12 years agoremoved a spurious javascript alert
Art Cancro [Thu, 15 Mar 2012 21:20:01 +0000 (17:20 -0400)]
removed a spurious javascript alert

12 years agoReworked the summary page to flow through the main header/footer logic. NOTE: you...
Art Cancro [Thu, 15 Mar 2012 21:17:17 +0000 (17:17 -0400)]
Reworked the summary page to flow through the main header/footer logic.  NOTE: you can now declare a div with an id of 'room_banner_override' which, if present, will automatically replace the room banner in your page.

12 years agoMore license declaration changes which omit the bit about getting in touch with confi...
Art Cancro [Thu, 15 Mar 2012 18:46:50 +0000 (14:46 -0400)]
More license declaration changes which omit the bit about getting in touch with confirmed communist Richard Stallman and his GNU/Nazi foundation.

12 years agoupdated copyright notice in webcit.c and cleaned up some indents
Art Cancro [Thu, 15 Mar 2012 18:30:54 +0000 (14:30 -0400)]
updated copyright notice in webcit.c and cleaned up some indents

12 years agoadd newline to cmd_cull
Art Cancro [Thu, 15 Mar 2012 02:14:48 +0000 (22:14 -0400)]
add newline to cmd_cull

12 years agonetwork_talking_to(): fix detection whether we are already talking to a remote site.
Wilfried Goesgens [Tue, 13 Mar 2012 19:46:26 +0000 (20:46 +0100)]
network_talking_to(): fix detection whether we are already talking to a remote site.

12 years agoall ImportantMessage deliveries are now done through trailing.html
Art Cancro [Tue, 13 Mar 2012 18:37:45 +0000 (14:37 -0400)]
all ImportantMessage deliveries are now done through trailing.html

12 years agoCitadel Networker: after calling sub-writers we need to rewind the state.
Wilfried Goesgens [Sun, 11 Mar 2012 22:10:12 +0000 (23:10 +0100)]
Citadel Networker: after calling sub-writers we need to rewind the state.

12 years agoEvent-client: in sort of uncasual timeout use our regular timeout handler instead...
Wilfried Goesgens [Sun, 11 Mar 2012 22:09:01 +0000 (23:09 +0100)]
Event-client: in sort of uncasual timeout use our regular timeout handler instead of doing it again on our own.

12 years agoImplement sending of files without splice() for elderly linux and *bse
Wilfried Goesgens [Sun, 11 Mar 2012 22:07:29 +0000 (23:07 +0100)]
Implement sending of files without splice() for elderly linux and *bse

12 years agoCitodel Networking: fix removeal of netshare rooms
Wilfried Goesgens [Sat, 10 Mar 2012 12:40:23 +0000 (13:40 +0100)]
Citodel Networking: fix removeal of netshare rooms

12 years agoNetworker: fix error message generation.
Wilfried Goesgens [Sat, 10 Mar 2012 12:01:38 +0000 (13:01 +0100)]
Networker: fix error message generation.

12 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 8 Mar 2012 22:37:00 +0000 (23:37 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

12 years agoEVENT: if we connect a remote port and have ipv4 bind socket, set this as our outboun...
Wilfried Goesgens [Thu, 8 Mar 2012 22:35:54 +0000 (23:35 +0100)]
EVENT: if we connect a remote port and have ipv4 bind socket, set this as our outbound IP.

12 years agoRemove 'wtf' comment from template
Art Cancro [Thu, 8 Mar 2012 18:42:40 +0000 (13:42 -0500)]
Remove 'wtf' comment from template

12 years agomoved a comment up to the top
Art Cancro [Thu, 8 Mar 2012 18:33:24 +0000 (13:33 -0500)]
moved a comment up to the top

12 years agoRepaired several logic issues in sieve.c that were causing the various screens to...
Art Cancro [Thu, 8 Mar 2012 17:07:20 +0000 (12:07 -0500)]
Repaired several logic issues in sieve.c that were causing the various screens to not appear and/or throwing suppenkaspar alerts

12 years agosilence compiler warning with variable no longer used
Art Cancro [Thu, 8 Mar 2012 16:20:48 +0000 (11:20 -0500)]
silence compiler warning with variable no longer used

12 years agomini rfc2047 decoder for the text client
Art Cancro [Wed, 7 Mar 2012 22:23:38 +0000 (17:23 -0500)]
mini rfc2047 decoder for the text client

12 years agoRestored the 'Delete' button to the add/delete scripts panel
Art Cancro [Tue, 6 Mar 2012 23:23:11 +0000 (18:23 -0500)]
Restored the 'Delete' button to the add/delete scripts panel

12 years agoSMTP-Client: more timeout situations where we're in the data timeout situation.
Wilfried Goesgens [Tue, 6 Mar 2012 21:58:31 +0000 (22:58 +0100)]
SMTP-Client: more timeout situations where we're in the data timeout situation.

12 years agoSMTP-Bounce-Message: separate mime header by \r\n
Wilfried Goesgens [Tue, 6 Mar 2012 21:53:37 +0000 (22:53 +0100)]
SMTP-Bounce-Message: separate mime header by \r\n

12 years agoCtdlSaveMsgPointersInRoom() also call AdjRefCountList() once instead of AdjRefCount...
Wilfried Goesgens [Mon, 5 Mar 2012 23:14:34 +0000 (00:14 +0100)]
CtdlSaveMsgPointersInRoom() also call AdjRefCountList() once instead of AdjRefCount() n times

12 years agoAdjRefCountList(): we de/increase the refcount of a number of messages at once.
Wilfried Goesgens [Mon, 5 Mar 2012 22:53:29 +0000 (23:53 +0100)]
AdjRefCountList(): we de/increase the refcount of a number of messages at once.

12 years agoCtdlDeleteMessages(): deploy smarter logic to check which messages are to be deleted
Wilfried Goesgens [Mon, 5 Mar 2012 21:35:18 +0000 (22:35 +0100)]
CtdlDeleteMessages(): deploy smarter logic to check which messages are to be deleted

  - sort the to be deleted message list before starting to search them inside of the list of messages in this room
  - before: compare each in the roomlist to each in the delete list.
  - after: fast forward over the room-messagelist while the message id is smaller than the currently to be checked delete message ID.

12 years agoDVCA: init string literals to empty just to be shure. hopefully silences valgrind...
Wilfried Goesgens [Mon, 5 Mar 2012 18:46:26 +0000 (19:46 +0100)]
DVCA: init string literals to empty just to be shure. hopefully silences valgrind warning.

12 years agoMoved important_message to a more visible location and brightened its text color
Art Cancro [Sat, 3 Mar 2012 23:34:42 +0000 (18:34 -0500)]
Moved important_message to a more visible location and brightened its text color

12 years agowtf? huge pieces of this are either missing or broken
Art Cancro [Sat, 3 Mar 2012 23:25:50 +0000 (18:25 -0500)]
wtf? huge pieces of this are either missing or broken

12 years agoRemoved obsolete declarations
Art Cancro [Sat, 3 Mar 2012 20:38:03 +0000 (15:38 -0500)]
Removed obsolete declarations

12 years agoFlipped a conditional that was causing the sieve script panel to not display, there...
Art Cancro [Sat, 3 Mar 2012 20:29:19 +0000 (15:29 -0500)]
Flipped a conditional that was causing the sieve script panel to not display, there is no way this was tested when it was templatized. Still some other problems I'm figuring out now...

12 years agoRemoved the commented-out code in sieve.c
Art Cancro [Sat, 3 Mar 2012 16:40:27 +0000 (11:40 -0500)]
Removed the commented-out code in sieve.c

12 years agocheck for null
Art Cancro [Fri, 2 Mar 2012 17:05:20 +0000 (12:05 -0500)]
check for null

12 years agoRemove base64 encoding of feed links
Art Cancro [Fri, 2 Mar 2012 03:13:49 +0000 (22:13 -0500)]
Remove base64 encoding of feed links

12 years agoRemove base64-encoding of message permalinks.
Art Cancro [Fri, 2 Mar 2012 03:13:08 +0000 (22:13 -0500)]
Remove base64-encoding of message permalinks.

12 years agoMailQView: fix display
Wilfried Goesgens [Thu, 1 Mar 2012 23:20:44 +0000 (00:20 +0100)]
MailQView: fix display

  - use right value to display
  - rename column to 'next' instead of last.

12 years agoSMTPQ: don't multiplay the value for displaying it.
Wilfried Goesgens [Thu, 1 Mar 2012 23:20:08 +0000 (00:20 +0100)]
SMTPQ: don't multiplay the value for displaying it.

12 years agoSMTP-Client: seems as if libev timestamps are not what we want; disabling.
Wilfried Goesgens [Thu, 1 Mar 2012 23:17:52 +0000 (00:17 +0100)]
SMTP-Client: seems as if libev timestamps are not what we want; disabling.

12 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 28 Feb 2012 20:49:14 +0000 (21:49 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

12 years agoDon't put functionpointer into the hash directly, some gcc warninglevels don't like...
Wilfried Goesgens [Tue, 28 Feb 2012 20:44:32 +0000 (21:44 +0100)]
Don't put functionpointer into the hash directly, some gcc warninglevels don't like this.

12 years agoStop processing if the Sieve script is empty.
Art Cancro [Tue, 28 Feb 2012 16:25:12 +0000 (11:25 -0500)]
Stop processing if the Sieve script is empty.

12 years agoSmall API change to previous commit
Art Cancro [Tue, 28 Feb 2012 16:16:38 +0000 (11:16 -0500)]
Small API change to previous commit

12 years agoSplit out a portion of ctdl_getscript() into a new function get_active_script() becau...
Art Cancro [Tue, 28 Feb 2012 15:37:34 +0000 (10:37 -0500)]
Split out a portion of ctdl_getscript() into a new function get_active_script() because I need it in another place

12 years agoRemove extra newlines
Art Cancro [Tue, 28 Feb 2012 03:50:10 +0000 (22:50 -0500)]
Remove extra newlines

12 years agoSMTP-client: when serializing, make next now+Retry
Wilfried Goesgens [Mon, 27 Feb 2012 23:44:07 +0000 (00:44 +0100)]
SMTP-client: when serializing, make next now+Retry

12 years agoEvent-Client: add wrapper around ev_now()
Wilfried Goesgens [Mon, 27 Feb 2012 23:43:44 +0000 (00:43 +0100)]
Event-Client: add wrapper around ev_now()

12 years agoSMTP-Client: send a message on first failed, or permanently failed attempt & on last...
Wilfried Goesgens [Mon, 27 Feb 2012 22:59:43 +0000 (23:59 +0100)]
SMTP-Client: send a message on first failed, or permanently failed attempt & on last fail.

12 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Mon, 27 Feb 2012 21:52:09 +0000 (22:52 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

12 years agoSMTP-Client: decide when to send a bounce or not.
Wilfried Goesgens [Mon, 27 Feb 2012 21:50:38 +0000 (22:50 +0100)]
SMTP-Client: decide when to send a bounce or not.

12 years agoShow system contexts when RWHO is run via admin socket
Art Cancro [Mon, 27 Feb 2012 21:40:52 +0000 (16:40 -0500)]
Show system contexts when RWHO is run via admin socket

12 years agoInitialize variables in GetSieveRules() , thanks projectgus
Art Cancro [Mon, 27 Feb 2012 16:58:47 +0000 (11:58 -0500)]
Initialize variables in GetSieveRules() , thanks projectgus

12 years agoAdd ServerShutdownModule_GETTEXT() dummy for non NLS enabled systems
Art Cancro [Sun, 26 Feb 2012 20:28:25 +0000 (15:28 -0500)]
Add ServerShutdownModule_GETTEXT() dummy for non NLS enabled systems

12 years agofml
Art Cancro [Sun, 26 Feb 2012 20:27:04 +0000 (15:27 -0500)]
fml

12 years agoRevert "Call textdomain() and bindtextdomain() at the beginning of initialize_locales...
Art Cancro [Sun, 26 Feb 2012 20:16:07 +0000 (15:16 -0500)]
Revert "Call textdomain() and bindtextdomain() at the beginning of initialize_locales() instead of at the end.  This has not yet solved my binding problem but it's definitely a step that is required."

This reverts commit c68578c522448bdd34cb1d6ded094f25ec0578ff.

12 years agoRevert "man page says that '/locale' will be appended to the path but strace says...
Art Cancro [Sun, 26 Feb 2012 20:16:01 +0000 (15:16 -0500)]
Revert "man page says that '/locale' will be appended to the path but strace says otherwise."

This reverts commit 2231ed4d99d9e8adc745c3b2959d885259931c12.

12 years agoRevert "removed empty_locale and just use wc_locales[0] for this purpose"
Art Cancro [Sun, 26 Feb 2012 20:15:53 +0000 (15:15 -0500)]
Revert "removed empty_locale and just use wc_locales[0] for this purpose"

This reverts commit cb12b5d312998b1d481d80ddd65c9aa7e0cf425e.

12 years agoRevert "Simplified tmplput_offer_languages() behavior on non-locale systems"
Art Cancro [Sun, 26 Feb 2012 20:15:44 +0000 (15:15 -0500)]
Revert "Simplified tmplput_offer_languages() behavior on non-locale systems"

This reverts commit 58df800218902d07dcf3b81a28c31354fb1025d2.