citadel.git
11 years agoROOMEDIT: add a way to configure aliases
Wilfried Goesgens [Sun, 16 Dec 2012 21:58:07 +0000 (22:58 +0100)]
ROOMEDIT: add a way to configure aliases

  - the room edit mailinglist tab now knows howto add/delete a mail alias via SNET/GNET

11 years agoSNET: fix writing of files.
Wilfried Goesgens [Sun, 16 Dec 2012 21:55:50 +0000 (22:55 +0100)]
SNET: fix writing of files.

11 years agoGNET/SNET: allow access to the mail aliases file.
Wilfried Goesgens [Mon, 10 Dec 2012 20:45:46 +0000 (21:45 +0100)]
GNET/SNET: allow access to the mail aliases file.

  - if you specify __MAIL_ALIAS__ its not the current room config which is sent/written - its the email aliases file.
  - since citadel relies on certain aliases for RFC-Compliance, enforce their presence during SNET __MAIL_ALIAS__

11 years agoSMTP: fix authentication.
Wilfried Goesgens [Sun, 9 Dec 2012 20:18:44 +0000 (21:18 +0100)]
SMTP: fix authentication.

11 years agoReplyToAll: fix typo in string matching table
Wilfried Goesgens [Sun, 9 Dec 2012 15:46:25 +0000 (16:46 +0100)]
ReplyToAll: fix typo in string matching table

11 years agoGVEA: StrLength is NULL-Safe and truly tells us whether the string is actually there.
Wilfried Goesgens [Wed, 5 Dec 2012 22:55:39 +0000 (23:55 +0100)]
GVEA: StrLength is NULL-Safe and truly tells us whether the string is actually there.

11 years agoChoose default sender email address by envelope recipient
Wilfried Goesgens [Wed, 5 Dec 2012 22:44:38 +0000 (23:44 +0100)]
Choose default sender email address by envelope recipient

  - propagate the stored 'enVelopeto' to the citadel protocol as 'nvto' header; nvto may contain several recipients.
  - add handlers to read nvto in webcit
  - evaluate which should be the prefered chosen default sender while loading the GVEA Hash instead of while rendering the template
  - if we are replying to an email, base choice on the nvto-header if it exists.
  - in all other cases use the preference chosen in the prefs-screen

11 years agoAddressbook popup: fix escaping.
Wilfried Goesgens [Sat, 1 Dec 2012 20:37:42 +0000 (21:37 +0100)]
Addressbook popup: fix escaping.

11 years agoSMTPSRV: migrate to use StrBuf
Wilfried Goesgens [Sat, 1 Dec 2012 15:44:47 +0000 (16:44 +0100)]
SMTPSRV: migrate to use StrBuf

11 years agoFix memory leak when doing floodprotected system messages
Wilfried Goesgens [Sat, 1 Dec 2012 15:43:28 +0000 (16:43 +0100)]
Fix memory leak when doing floodprotected system messages

11 years agoresync translations with launchpad
Wilfried Goesgens [Tue, 27 Nov 2012 22:04:29 +0000 (23:04 +0100)]
resync translations with launchpad

11 years agoSMPC: when aborting because of to many outbound job free the aborted message in the...
Wilfried Goesgens [Tue, 27 Nov 2012 21:37:43 +0000 (22:37 +0100)]
SMPC: when aborting because of to many outbound job free the aborted message in the right way [tm]

11 years agoSUBST: context rework: some more places for memset 0 found...
Wilfried Goesgens [Mon, 26 Nov 2012 23:53:18 +0000 (00:53 +0100)]
SUBST: context rework: some more places for memset 0 found...

11 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Mon, 26 Nov 2012 23:33:51 +0000 (00:33 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

11 years agoMIME-Renderer typechange: forgot this handler.
Wilfried Goesgens [Mon, 26 Nov 2012 23:33:14 +0000 (00:33 +0100)]
MIME-Renderer typechange: forgot this handler.

11 years agogetting with the times, we dont need to wrap snprintf anymore
Art Cancro [Tue, 20 Nov 2012 04:24:17 +0000 (23:24 -0500)]
getting with the times, we dont need to wrap snprintf anymore

11 years agoremove duplicate.
Wilfried Goesgens [Sun, 11 Nov 2012 20:25:42 +0000 (21:25 +0100)]
remove duplicate.

11 years agoresync translations
Wilfried Goesgens [Sun, 11 Nov 2012 13:31:46 +0000 (14:31 +0100)]
resync translations

11 years agore-sync translations
Wilfried Goesgens [Sun, 11 Nov 2012 13:24:26 +0000 (14:24 +0100)]
re-sync translations

11 years agoStart resync launchpad translation: french by Robert di Rosa
Wilfried Goesgens [Sun, 11 Nov 2012 12:46:32 +0000 (13:46 +0100)]
Start resync launchpad translation: french by Robert di Rosa

11 years agoICAL: validate & fix recurrence and conflict checking.
Wilfried Goesgens [Sun, 4 Nov 2012 13:54:09 +0000 (14:54 +0100)]
ICAL: validate & fix recurrence and conflict checking.

11 years agoICAL: wrap div around attachmentview, so columns don't get messed up.
Wilfried Goesgens [Sun, 4 Nov 2012 13:32:55 +0000 (14:32 +0100)]
ICAL: wrap div around attachmentview, so columns don't get messed up.

11 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sun, 4 Nov 2012 13:24:30 +0000 (14:24 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

11 years agoICAL: add conflict handling
Wilfried Goesgens [Sun, 4 Nov 2012 13:24:22 +0000 (14:24 +0100)]
ICAL: add conflict handling

11 years agoSUBST: fix double linked list handling for contexts.
Wilfried Goesgens [Sun, 4 Nov 2012 13:23:47 +0000 (14:23 +0100)]
SUBST: fix double linked list handling for contexts.

11 years agoMessages: add missing initializations of contexts.
Wilfried Goesgens [Sun, 4 Nov 2012 13:23:07 +0000 (14:23 +0100)]
Messages: add missing initializations of contexts.

11 years agoICAL: properly delete iterator content after done.
Wilfried Goesgens [Sun, 4 Nov 2012 13:06:03 +0000 (14:06 +0100)]
ICAL: properly delete iterator content after done.

11 years agoSUBST: CheckContext: log token name the context is missing to.
Wilfried Goesgens [Thu, 1 Nov 2012 18:48:01 +0000 (19:48 +0100)]
SUBST: CheckContext: log token name the context is missing to.

11 years agoCALENDAR: attendees are to be found on ch not on buf.
Wilfried Goesgens [Sun, 28 Oct 2012 11:07:55 +0000 (12:07 +0100)]
CALENDAR: attendees are to be found on ch not on buf.

11 years agoICAL: implement server backend for conflict handling.
Wilfried Goesgens [Sun, 28 Oct 2012 16:04:59 +0000 (17:04 +0100)]
ICAL: implement server backend for conflict handling.

11 years agoICAL: add handling for appointment attendees.
Wilfried Goesgens [Sun, 28 Oct 2012 15:05:40 +0000 (16:05 +0100)]
ICAL: add handling for appointment attendees.

11 years agoMIME-Renderers: change interface.
Wilfried Goesgens [Sun, 28 Oct 2012 15:02:21 +0000 (16:02 +0100)]
MIME-Renderers: change interface.

  - we now use the context stacking mechanism, so contexts are transparent through several levels of mime and other renderers
  - remove other parameters to harmonize the interface.

11 years agoROOMLIST: start with n = 0 instead of random.
Wilfried Goesgens [Sun, 28 Oct 2012 11:21:24 +0000 (12:21 +0100)]
ROOMLIST: start with n = 0 instead of random.

11 years agoCALENDAR: attendees are to be found on ch not on buf.
Wilfried Goesgens [Sun, 28 Oct 2012 11:07:55 +0000 (12:07 +0100)]
CALENDAR: attendees are to be found on ch not on buf.

11 years agoICAL Display: stack conditionals rather than try to do it with js
Wilfried Goesgens [Sun, 28 Oct 2012 10:31:12 +0000 (11:31 +0100)]
ICAL Display: stack conditionals rather than try to do it with js

11 years agoICAL: fix calculation of the icaltime pointer in our buffer.
Wilfried Goesgens [Sat, 27 Oct 2012 18:34:59 +0000 (20:34 +0200)]
ICAL: fix calculation of the icaltime pointer in our buffer.

11 years agoSUBST: free the sub-context also if we have a negative conditional.
Wilfried Goesgens [Sat, 27 Oct 2012 18:34:05 +0000 (20:34 +0200)]
SUBST: free the sub-context also if we have a negative conditional.

11 years agoICAL-SUBST: work on viewing
Wilfried Goesgens [Sat, 27 Oct 2012 18:09:52 +0000 (20:09 +0200)]
ICAL-SUBST: work on viewing

  - flip stacking of contexts - won't work the other way around.
  - add missing bstrs for the template
  - fix copying of icaltimetype struct.

11 years agoSUBST: fix conditionals creating sub-contexts
Wilfried Goesgens [Sat, 27 Oct 2012 18:02:22 +0000 (20:02 +0200)]
SUBST: fix conditionals creating sub-contexts

  - conditionals now return 0 for error, n for conditional start, or -n for conditional end.
  - if the current context has the same n as -n from the token, the dynamic sub context is to be removed.

11 years agoBSTR: add method to run-time add numbers
Wilfried Goesgens [Sat, 27 Oct 2012 11:37:02 +0000 (13:37 +0200)]
BSTR: add method to run-time add numbers

  - fix format warnings about wrong size of long

11 years agoURL-Parsing: fix off by one when checking the length of URL params
Wilfried Goesgens [Sun, 21 Oct 2012 22:16:47 +0000 (00:16 +0200)]
URL-Parsing: fix off by one when checking the length of URL params

11 years agovnote: replace st00pid uses of strcpy
Wilfried Goesgens [Sun, 21 Oct 2012 20:59:29 +0000 (22:59 +0200)]
vnote: replace st00pid uses of strcpy

11 years agotools: replace st00pid uses of strcpy
Wilfried Goesgens [Sun, 21 Oct 2012 20:57:22 +0000 (22:57 +0200)]
tools: replace st00pid uses of strcpy

11 years agomimeparser: replace st00pid uses of strcpy
Wilfried Goesgens [Sun, 21 Oct 2012 20:53:24 +0000 (22:53 +0200)]
mimeparser: replace st00pid uses of strcpy

11 years agoVCARD: in case of OOM, don't loose more memory.
Wilfried Goesgens [Sun, 21 Oct 2012 20:43:55 +0000 (22:43 +0200)]
VCARD: in case of OOM, don't loose more memory.

11 years agoVNOTE: rather use memcpy if we know the length to copy anyways.
Wilfried Goesgens [Sun, 21 Oct 2012 20:28:42 +0000 (22:28 +0200)]
VNOTE: rather use memcpy if we know the length to copy anyways.

11 years agoSTRBUF: handle more OOM strbuf places.
Wilfried Goesgens [Sun, 21 Oct 2012 19:20:35 +0000 (21:20 +0200)]
STRBUF: handle more OOM strbuf places.

11 years agoHASH: sanitase edge cases of OOM
Wilfried Goesgens [Sun, 21 Oct 2012 18:45:55 +0000 (20:45 +0200)]
HASH: sanitase edge cases of OOM

11 years agoSTRBUF: fix sanity check when resetting the buffer pointer.
Wilfried Goesgens [Sun, 21 Oct 2012 17:52:09 +0000 (19:52 +0200)]
STRBUF: fix sanity check when resetting the buffer pointer.

11 years agoSTRBUF: evaluate fails to increase the buffer
Wilfried Goesgens [Sun, 21 Oct 2012 17:47:40 +0000 (19:47 +0200)]
STRBUF: evaluate fails to increase the buffer

11 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 18 Oct 2012 18:12:17 +0000 (20:12 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

11 years agoTEMPLATING: add possibility to stack another context inbetween conditional tags
Wilfried Goesgens [Thu, 18 Oct 2012 18:11:00 +0000 (20:11 +0200)]
TEMPLATING: add possibility to stack another context inbetween conditional tags

11 years agoICAL Templating: work on porting the display of events in the mail view.
Wilfried Goesgens [Thu, 18 Oct 2012 18:10:25 +0000 (20:10 +0200)]
ICAL Templating: work on porting the display of events in the mail view.

11 years agoBootstrapping
Wilfried Goesgens [Thu, 18 Oct 2012 18:08:56 +0000 (20:08 +0200)]
Bootstrapping

  - move scripts into their own directories like in citserver
  - add automatic grabbing of all libical enums

11 years agofix spelling error
Art Cancro [Mon, 15 Oct 2012 02:40:20 +0000 (22:40 -0400)]
fix spelling error

11 years agoEVENT_CLIENT: to ease debugging put the function names in the log line; else we may...
Wilfried Goesgens [Thu, 11 Oct 2012 15:05:14 +0000 (17:05 +0200)]
EVENT_CLIENT: to ease debugging put the function names in the log line; else we may have problems with the post mortem analysis to find out which path we went.

11 years agoEVENT_CLIENT: we settled for 0 being the invalid FD.
Wilfried Goesgens [Thu, 11 Oct 2012 15:00:06 +0000 (17:00 +0200)]
EVENT_CLIENT: we settled for 0 being the invalid FD.

11 years agoEVENT: while abusing the timeout trigger for aborting the session we need to specify...
Wilfried Goesgens [Thu, 11 Oct 2012 14:59:13 +0000 (16:59 +0200)]
EVENT: while abusing the timeout trigger for aborting the session we need to specify a timeout > 0; else the abort might not work.

11 years agoCtdlTerminateOtherSession(): fix evaluation whether we may kill this session or not.
Wilfried Goesgens [Thu, 11 Oct 2012 14:57:32 +0000 (16:57 +0200)]
CtdlTerminateOtherSession(): fix evaluation whether we may kill this session or not.

11 years agoadd missing changes for libcitadel-4
Wilfried Goesgens [Sat, 29 Sep 2012 20:39:38 +0000 (22:39 +0200)]
add missing changes for libcitadel-4

11 years agomake git compileable again. more work on this topic needed.
Wilfried Goesgens [Sun, 23 Sep 2012 14:19:47 +0000 (16:19 +0200)]
make git compileable again. more work on this topic needed.

11 years agofix debian compile of new libcitadel version
Wilfried Goesgens [Sat, 22 Sep 2012 18:46:46 +0000 (20:46 +0200)]
fix debian compile of new libcitadel version

11 years agoUpsie, usleep is 10^6 times smaller than sleep
Wilfried Goesgens [Sun, 16 Sep 2012 14:59:36 +0000 (16:59 +0200)]
Upsie, usleep is 10^6 times smaller than sleep

11 years agoFDIOBuffer: wrong member type; thus we need increase the library version again.
Wilfried Goesgens [Thu, 13 Sep 2012 19:25:50 +0000 (21:25 +0200)]
FDIOBuffer: wrong member type; thus we need increase the library version again.

11 years agoICAL: some work on adding ical items into templates
Wilfried Goesgens [Mon, 3 Sep 2012 21:26:51 +0000 (23:26 +0200)]
ICAL: some work on adding ical items into templates

11 years agoSUBST: add a way to post plain char* strings into template strings in a formated way
Wilfried Goesgens [Mon, 3 Sep 2012 21:24:59 +0000 (23:24 +0200)]
SUBST: add a way to post plain char* strings into template strings in a formated way

11 years agowebcit_fmt_date: return length of generated string
Wilfried Goesgens [Mon, 3 Sep 2012 21:24:25 +0000 (23:24 +0200)]
webcit_fmt_date: return length of generated string

11 years agoDOC: add some explanations about the way we log
Wilfried Goesgens [Mon, 3 Sep 2012 21:23:03 +0000 (23:23 +0200)]
DOC: add some explanations about the way we log

11 years agoLOGGING: add name to pop3 logging & message writing
Wilfried Goesgens [Mon, 3 Sep 2012 21:22:22 +0000 (23:22 +0200)]
LOGGING: add name to pop3 logging & message writing

11 years agoWhen logging an invalid url_key include the browser host in the message, allowing...
Art Cancro [Sat, 25 Aug 2012 20:06:15 +0000 (16:06 -0400)]
When logging an invalid url_key include the browser host in the message, allowing fail2ban to work

11 years agoURL-Parsing: abort on error.
Wilfried Goesgens [Sat, 25 Aug 2012 07:27:56 +0000 (09:27 +0200)]
URL-Parsing: abort on error.

11 years agoADDRESSBOOK POPUP: templatize.
Wilfried Goesgens [Fri, 24 Aug 2012 15:34:07 +0000 (17:34 +0200)]
ADDRESSBOOK POPUP: templatize.

11 years agoPARAMHANDLING: add parser for paired lists; which then can be rendered into a template.
Wilfried Goesgens [Fri, 24 Aug 2012 15:32:18 +0000 (17:32 +0200)]
PARAMHANDLING: add parser for paired lists; which then can be rendered into a template.

11 years agoROOMHANDLING: add conditional which can compare the roomname to another string.
Wilfried Goesgens [Fri, 24 Aug 2012 15:31:36 +0000 (17:31 +0200)]
ROOMHANDLING: add conditional which can compare the roomname to another string.

11 years agoSUBST: add method to retrieve room preferences from a token
Wilfried Goesgens [Fri, 24 Aug 2012 13:31:41 +0000 (15:31 +0200)]
SUBST: add method to retrieve room preferences from a token

  - when specifying a template string you now can use ."roompreference" similar to :"preference"

11 years agoAdressbook-popup: set link using the template.
Wilfried Goesgens [Fri, 24 Aug 2012 12:06:23 +0000 (14:06 +0200)]
Adressbook-popup: set link using the template.

11 years agoLISTSUSB: finalize templating.
Wilfried Goesgens [Fri, 24 Aug 2012 11:48:39 +0000 (13:48 +0200)]
LISTSUSB: finalize templating.

11 years agoSUBST: Dynamicaly generate contexts
Wilfried Goesgens [Fri, 24 Aug 2012 10:37:43 +0000 (12:37 +0200)]
SUBST: Dynamicaly generate contexts

  - so far we needed to add contexts to subst.h + subst.c; Now we simply register new ones before registering tokens using them.
  - RegisterCTX is duplicate safe, so you can call it several times for the same context. That way you can make shure the context is there before registering handlers in several .c files.

11 years agoEVENT-CLIENT: fix potential compile problems with older compilers
Wilfried Goesgens [Thu, 23 Aug 2012 21:59:58 +0000 (23:59 +0200)]
EVENT-CLIENT: fix potential compile problems with older compilers

  - forward declarations of structs musntn't duplicate. use the cpp to circumvent this.

 tnx the_mgt for reporting this.

11 years agoDnD-Move: remove debug log.
Wilfried Goesgens [Tue, 21 Aug 2012 22:40:57 +0000 (00:40 +0200)]
DnD-Move: remove debug log.

11 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 21 Aug 2012 22:13:45 +0000 (00:13 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

11 years agoDrag+Drop move: propperly escape the roomname so + and friends in roomnames remain...
Wilfried Goesgens [Tue, 21 Aug 2012 22:12:51 +0000 (00:12 +0200)]
Drag+Drop move: propperly escape the roomname so + and friends in roomnames remain intact.

11 years agoRemoved borders around blockquotes and adapted margins to the normal messageview...
Stefan Garthe [Tue, 21 Aug 2012 15:07:21 +0000 (17:07 +0200)]
Removed borders around blockquotes and adapted margins to the normal messageview styles

11 years agoBeautified the margins on the nested blockquotes in the message view
Stefan Garthe [Tue, 21 Aug 2012 12:03:28 +0000 (14:03 +0200)]
Beautified the margins on the nested blockquotes in the message view

This makes emails with lots of quotes inside of quotes more legible

11 years agoICONTHEME: add a way to store a selected icontheme in the users preferences.
Wilfried Goesgens [Mon, 20 Aug 2012 19:39:29 +0000 (21:39 +0200)]
ICONTHEME: add a way to store a selected icontheme in the users preferences.

  - add the 'icontheme' setting
  - crawl all icon themes, remember it.
  - check which theme was selected (if) or choose a default theme.
  - add template token ICONTHEME to output the prefered icontheme or the default
  - add iterator PREF:VALID:THEME to output a list of available icon themes
  - add selector to the users preferences to choose the available icontheme.

11 years agoSMTP-Client: add the current hostname we're talking to to the status.
Wilfried Goesgens [Sun, 19 Aug 2012 16:45:33 +0000 (18:45 +0200)]
SMTP-Client: add the current hostname we're talking to to the status.

11 years agoSMTP-Queue display: wrap lines after ; so we get one line per error message.
Wilfried Goesgens [Sun, 19 Aug 2012 15:26:34 +0000 (17:26 +0200)]
SMTP-Queue display: wrap lines after ; so we get one line per error message.

11 years agoC-Ares: add the query data to the errormessage, so the user can evaluate this informa...
Wilfried Goesgens [Sun, 19 Aug 2012 14:57:59 +0000 (16:57 +0200)]
C-Ares: add the query data to the errormessage, so the user can evaluate this information.

11 years agoSMTP-Client: add the stati of all delivery attempts to the status messages.
Wilfried Goesgens [Sun, 19 Aug 2012 14:13:16 +0000 (16:13 +0200)]
SMTP-Client: add the stati of all delivery attempts to the status messages.

11 years agoC-Ares: fix debug logging
Wilfried Goesgens [Sun, 19 Aug 2012 14:12:48 +0000 (16:12 +0200)]
C-Ares: fix debug logging

11 years agoWhen logging invalid url_key, do not include the attempted key
Art Cancro [Wed, 8 Aug 2012 22:14:21 +0000 (18:14 -0400)]
When logging invalid url_key, do not include the attempted key

11 years agoNetworker: set state
Wilfried Goesgens [Tue, 7 Aug 2012 22:03:01 +0000 (00:03 +0200)]
Networker: set state

11 years agoSMTP-Queue: display the SMTP-State
Wilfried Goesgens [Tue, 7 Aug 2012 20:34:57 +0000 (22:34 +0200)]
SMTP-Queue: display the SMTP-State

11 years agoSMTP-Client: output our current state on the useragent; since we're internal only.
Wilfried Goesgens [Tue, 7 Aug 2012 20:34:16 +0000 (22:34 +0200)]
SMTP-Client: output our current state on the useragent; since we're internal only.

11 years agoEVENT: output the FD number in the debug log once we know it
Wilfried Goesgens [Tue, 7 Aug 2012 19:07:07 +0000 (21:07 +0200)]
EVENT: output the FD number in the debug log once we know it

11 years agoNetworker: when a remote host fails to connect successfully add floodprotection.
Wilfried Goesgens [Mon, 6 Aug 2012 23:32:35 +0000 (01:32 +0200)]
Networker: when a remote host fails to connect successfully add floodprotection.

11 years agoNetworker: send fail message in DB queue; add flood protection.
Wilfried Goesgens [Mon, 6 Aug 2012 23:17:29 +0000 (01:17 +0200)]
Networker: send fail message in DB queue; add flood protection.

11 years agoRSSClient: send flood protected errormessage if we fail to retrieve the feed.
Wilfried Goesgens [Mon, 6 Aug 2012 21:32:55 +0000 (23:32 +0200)]
RSSClient: send flood protected errormessage if we fail to retrieve the feed.

11 years agoAdd aide message functionality that uses the UT table to protect the user from an...
Wilfried Goesgens [Mon, 6 Aug 2012 21:31:59 +0000 (23:31 +0200)]
Add aide message functionality that uses the UT table to protect the user from an error message flood from repetive tasks.

11 years agoRemove deprecated function.
Wilfried Goesgens [Mon, 6 Aug 2012 19:21:17 +0000 (21:21 +0200)]
Remove deprecated function.