Wilfried Goesgens [Sat, 23 Jan 2016 15:11:26 +0000 (16:11 +0100)]
Silence the SMTP server.
Wilfried Goesgens [Sat, 23 Jan 2016 14:30:39 +0000 (15:30 +0100)]
Silence logging in non-debug usecases. The raspii users gonna love this.
Wilfried Goesgens [Sat, 23 Jan 2016 12:06:17 +0000 (13:06 +0100)]
add missing reply for header listing chat start
Wilfried Goesgens [Sat, 23 Jan 2016 11:56:24 +0000 (12:56 +0100)]
Revert the parts of
03cd7985fad9d51530f613304869f3b7960b9f81 that remove the configurability of what to send to syslog.
Art Cancro [Sat, 23 Jan 2016 04:45:17 +0000 (23:45 -0500)]
Learned that LOG_ALERT is not really appropriate for the kind of things
we use it for. Began replacing with LOG_INFO
Art Cancro [Sat, 23 Jan 2016 04:15:37 +0000 (23:15 -0500)]
IGnet sharing is working properly with the configdb now.
There might be one edge case where a room has a lastsent but
no shares, and does processing anyway, will check that.
Art Cancro [Sat, 23 Jan 2016 00:20:27 +0000 (19:20 -0500)]
closer...
Art Cancro [Fri, 22 Jan 2016 22:49:06 +0000 (17:49 -0500)]
Removed an old crufty upgrade routing -- minimum upgradable version is now 5.91
Art Cancro [Fri, 22 Jan 2016 19:40:10 +0000 (14:40 -0500)]
Removed libb64's behavior of automatically appending a newline to everything
it encodes. This is what broke listsub and probably other things as well.
I deliberately changed the calling syntax of base64_encode_blockend() to make
it break if someone tries to upgrade it later, so it will call their attention
to this difference.
Art Cancro [Mon, 18 Jan 2016 02:39:01 +0000 (21:39 -0500)]
removed some newlines from above
Art Cancro [Mon, 18 Jan 2016 02:31:44 +0000 (21:31 -0500)]
Handle zero-length legacy netconfig files correctly (just delete them)
Wilfried Goesgens [Wed, 6 Jan 2016 20:01:52 +0000 (21:01 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Wed, 6 Jan 2016 19:59:01 +0000 (20:59 +0100)]
remove INLINE, it seems to be problematic with newer gcc's
Art Cancro [Mon, 4 Jan 2016 02:41:17 +0000 (21:41 -0500)]
Almost done...
Wilfried Goesgens [Sun, 3 Jan 2016 19:05:08 +0000 (20:05 +0100)]
its wCLog now, as js styleguides command us.
Wilfried Goesgens [Sun, 3 Jan 2016 17:27:07 +0000 (18:27 +0100)]
adjust case
Wilfried Goesgens [Sun, 3 Jan 2016 16:08:41 +0000 (17:08 +0100)]
If we find '/' in message IDs, only use the following characters to calculate the thread hash, so we can identify threads by wiki page ids.
Wilfried Goesgens [Sun, 3 Jan 2016 16:05:16 +0000 (17:05 +0100)]
Add macro to calculate a hash from a part of the message id
Wilfried Goesgens [Sun, 3 Jan 2016 16:04:35 +0000 (17:04 +0100)]
Construct the msgid for wiki entries by appending the page
Art Cancro [Sun, 3 Jan 2016 05:27:28 +0000 (00:27 -0500)]
Remove unneeded newlines from syslog calls
Art Cancro [Sun, 3 Jan 2016 05:22:07 +0000 (00:22 -0500)]
more progress on callers
Art Cancro [Sun, 3 Jan 2016 04:45:15 +0000 (23:45 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sun, 3 Jan 2016 04:43:09 +0000 (23:43 -0500)]
Removed the caching of netconfig entries. The caching of configdb entries now serves the same purpose.
Finished the new netconfig API and all code is working and tested. The only remaining task is to update
the callers. DO NOT RUN THIS BUILD, NETCONFIGS ARE NOT YET BEING SAVED
Art Cancro [Sun, 3 Jan 2016 02:22:23 +0000 (21:22 -0500)]
Changed the way we log errors if serv_vcard cannot create a netconfig file.
Never use LOG_EMERG , it broadcasts to all users on most systems.
Wilfried Goesgens [Sat, 2 Jan 2016 14:13:15 +0000 (15:13 +0100)]
Add publish button to \edit rooms
Wilfried Goesgens [Sat, 2 Jan 2016 14:13:06 +0000 (15:13 +0100)]
fix token.
Wilfried Goesgens [Sat, 2 Jan 2016 14:12:27 +0000 (15:12 +0100)]
Add the IDs of a message to the markup, so .js can find it later on.
Wilfried Goesgens [Sat, 2 Jan 2016 14:11:03 +0000 (15:11 +0100)]
Add new conditional that finds whether a room name ends with \edit
Wilfried Goesgens [Sat, 2 Jan 2016 14:10:13 +0000 (15:10 +0100)]
Follow type change to StrBuf
Art Cancro [Sat, 2 Jan 2016 03:46:40 +0000 (22:46 -0500)]
I should drink more while writing this
Art Cancro [Sat, 2 Jan 2016 03:03:57 +0000 (22:03 -0500)]
DONALD TRUMP IS AWESOME
Art Cancro [Sat, 2 Jan 2016 03:00:46 +0000 (22:00 -0500)]
When deleting a room, delete its netconfig configdb entry instead of the netconfig file
Art Cancro [Sat, 2 Jan 2016 02:53:16 +0000 (21:53 -0500)]
Convert netconfigs to configdb entries at startup.
Art Cancro [Sat, 2 Jan 2016 00:01:07 +0000 (19:01 -0500)]
room_ops.c: minor style cleanups which barely justify changing the file copyright date to 2016
Art Cancro [Fri, 1 Jan 2016 23:00:48 +0000 (18:00 -0500)]
netconfig.c: Remove unnecessary newlines from syslog
Art Cancro [Fri, 1 Jan 2016 22:57:17 +0000 (17:57 -0500)]
* New function CtdlDelConfig() to delete a config db record
* Updated Berkeley DB hook to syslog properly when db version >= 5.0
* Updated startup banner copyright year to 1987-2016
Wilfried Goesgens [Fri, 1 Jan 2016 13:58:55 +0000 (14:58 +0100)]
Templatize.
Wilfried Goesgens [Thu, 31 Dec 2015 14:09:19 +0000 (15:09 +0100)]
Add new mask to create a blog + edit room with sample text.
Wilfried Goesgens [Thu, 31 Dec 2015 14:07:33 +0000 (15:07 +0100)]
Fix flipping to alternate templates, and add success flag.
Wilfried Goesgens [Thu, 31 Dec 2015 14:07:08 +0000 (15:07 +0100)]
Fix free loading of other templates; add success flag.
Wilfried Goesgens [Thu, 31 Dec 2015 12:04:00 +0000 (13:04 +0100)]
Parametrize the escaping of the IMPORTANTMESSAGE token.
Wilfried Goesgens [Wed, 30 Dec 2015 15:19:36 +0000 (16:19 +0100)]
Templatize the info editing boxes
Wilfried Goesgens [Sun, 27 Dec 2015 00:01:11 +0000 (01:01 +0100)]
rename template so the name is more meaningfull.
Wilfried Goesgens [Sat, 26 Dec 2015 23:57:08 +0000 (00:57 +0100)]
Rework blogview renderer, so it can build the threads with only the information our new MSGS with parametrized headers demanded gives us.
Wilfried Goesgens [Sat, 26 Dec 2015 23:56:28 +0000 (00:56 +0100)]
Add more headers that only appear on the transport via the citadel protocol, but aren't persisted to disk.
Wilfried Goesgens [Mon, 21 Dec 2015 18:06:44 +0000 (19:06 +0100)]
put standard handlers into their own enum-lookupable list.
Wilfried Goesgens [Mon, 21 Dec 2015 14:01:11 +0000 (15:01 +0100)]
Use a table similar to citserver to map message fields.
Wilfried Goesgens [Sun, 20 Dec 2015 22:19:34 +0000 (23:19 +0100)]
Implemnet new message listing mode, that allows to specify which headers to send
Wilfried Goesgens [Sun, 20 Dec 2015 21:18:29 +0000 (22:18 +0100)]
Add lookup table for message headers instead of doing rumpelstilskin lookup
Wilfried Goesgens [Sun, 20 Dec 2015 19:03:03 +0000 (20:03 +0100)]
move FourHash into libcitadel.
Wilfried Goesgens [Sun, 20 Dec 2015 18:12:27 +0000 (19:12 +0100)]
Improve documentation:
- start converting to markdown
- put the enums into the network mnemonics table
Wilfried Goesgens [Sun, 20 Dec 2015 13:59:27 +0000 (14:59 +0100)]
Split mailview renderers from mailview tokens
Wilfried Goesgens [Sun, 20 Dec 2015 13:29:04 +0000 (14:29 +0100)]
Remove function from header.
Wilfried Goesgens [Sun, 20 Dec 2015 13:27:15 +0000 (14:27 +0100)]
Remove function from header.
Wilfried Goesgens [Sun, 20 Dec 2015 13:22:23 +0000 (14:22 +0100)]
remove disappeared function from header.
Wilfried Goesgens [Sun, 20 Dec 2015 13:19:53 +0000 (14:19 +0100)]
Remove unneccesary stuff from webcit.h
Wilfried Goesgens [Sun, 13 Dec 2015 18:24:42 +0000 (19:24 +0100)]
add preference whether the user prefers to send markdown messages.
Wilfried Goesgens [Sun, 13 Dec 2015 15:26:18 +0000 (16:26 +0100)]
Allow to stack contexts into message renderers.
Wilfried Goesgens [Sun, 13 Dec 2015 14:26:52 +0000 (15:26 +0100)]
fix peramnent link to blog entry
Wilfried Goesgens [Sun, 13 Dec 2015 13:57:00 +0000 (14:57 +0100)]
Add new setting to disable posting of notification messages to file rooms.
Wilfried Goesgens [Sun, 13 Dec 2015 13:55:28 +0000 (14:55 +0100)]
fix link
Wilfried Goesgens [Sat, 12 Dec 2015 18:58:45 +0000 (19:58 +0100)]
Template the last bits of the blog view.
Wilfried Goesgens [Sat, 12 Dec 2015 18:40:37 +0000 (19:40 +0100)]
add template token to output the current hostname
Wilfried Goesgens [Sat, 12 Dec 2015 14:23:00 +0000 (15:23 +0100)]
Use strbuf in template token handler
Wilfried Goesgens [Sun, 6 Dec 2015 13:48:19 +0000 (14:48 +0100)]
Protect precious strlens, as pointed out by John Goerzen
Wilfried Goesgens [Thu, 3 Dec 2015 18:36:07 +0000 (19:36 +0100)]
By John Goerzen: fix buffer overrun in the text client when sending files with mimetypes.
Art Cancro [Thu, 26 Nov 2015 01:35:52 +0000 (20:35 -0500)]
Updated the COPYING file to have a 2015 date instead of 2012. Also removed the word GNU wherever possible because Richard Stallman is a freedom-hating left wing lunatic.
Art Cancro [Wed, 25 Nov 2015 22:13:20 +0000 (17:13 -0500)]
Handle importing of new config system in serv_migrate.c
Art Cancro [Wed, 25 Nov 2015 21:57:49 +0000 (16:57 -0500)]
Removed unneeded newlines in serv_migrate.c
Wilfried Goesgens [Sat, 21 Nov 2015 21:43:03 +0000 (22:43 +0100)]
Cleanup
Wilfried Goesgens [Thu, 19 Nov 2015 21:47:40 +0000 (22:47 +0100)]
finalize vcard list display
Wilfried Goesgens [Thu, 19 Nov 2015 21:44:44 +0000 (22:44 +0100)]
fix vcard sorting and tabs
Wilfried Goesgens [Thu, 19 Nov 2015 21:29:53 +0000 (22:29 +0100)]
Fix off by one when cutting utf8-strings
Wilfried Goesgens [Tue, 17 Nov 2015 23:18:14 +0000 (00:18 +0100)]
remove wrong output of tail item
Wilfried Goesgens [Tue, 17 Nov 2015 22:17:19 +0000 (23:17 +0100)]
Cleanup vcard rendering code
Wilfried Goesgens [Tue, 17 Nov 2015 22:17:03 +0000 (23:17 +0100)]
Finalize vcard list templates
Wilfried Goesgens [Tue, 17 Nov 2015 22:09:21 +0000 (23:09 +0100)]
Make the swap buffer content function publically available.
Wilfried Goesgens [Tue, 17 Nov 2015 18:59:31 +0000 (19:59 +0100)]
HTML-escape tablabels.
Wilfried Goesgens [Mon, 16 Nov 2015 21:38:47 +0000 (22:38 +0100)]
Templatize email list interface.
Wilfried Goesgens [Mon, 16 Nov 2015 21:37:25 +0000 (22:37 +0100)]
Finalize new iterator property tokens: COND:ITERATE:ISMOD and ITERATE:N:DIV
Wilfried Goesgens [Mon, 16 Nov 2015 21:36:56 +0000 (22:36 +0100)]
Make it const.
Wilfried Goesgens [Mon, 16 Nov 2015 19:28:06 +0000 (20:28 +0100)]
Assert that we don't always have a valid session.
Art Cancro [Sun, 15 Nov 2015 14:09:46 +0000 (09:09 -0500)]
Removed using_web_installer variable , we do not check it anymore
Art Cancro [Sun, 15 Nov 2015 02:16:14 +0000 (21:16 -0500)]
Reworked the setup program to use the new config system.
Wilfried Goesgens [Mon, 9 Nov 2015 21:49:32 +0000 (22:49 +0100)]
move CTX_VCARD one layer up: so we have the message number etc.
Wilfried Goesgens [Mon, 9 Nov 2015 20:05:17 +0000 (21:05 +0100)]
Cleanup templating of vcard lists
Wilfried Goesgens [Mon, 9 Nov 2015 20:02:35 +0000 (21:02 +0100)]
Add modulo operator for the list iterator so the templates can do multi level list operations
Wilfried Goesgens [Fri, 6 Nov 2015 17:47:07 +0000 (18:47 +0100)]
Cleanup vcard rendering code to be better able to template the list view.
Wilfried Goesgens [Thu, 29 Oct 2015 23:11:14 +0000 (00:11 +0100)]
Output really all email headers in the mail headers output
Wilfried Goesgens [Thu, 29 Oct 2015 23:09:50 +0000 (00:09 +0100)]
make shure we send a linebreak after the headers.
Wilfried Goesgens [Sun, 18 Oct 2015 18:15:48 +0000 (20:15 +0200)]
Finalize vcard editing:
- remove deprecated paramhandling functions that une implicit strlen() and their easy errnous usecases
- add handling for : (and url escaped:) splitting of parameters
- implement posting of vcards to structured grammers.
Wilfried Goesgens [Sun, 18 Oct 2015 18:14:47 +0000 (20:14 +0200)]
- Add new function for demo printing hashes
- make vcard param const.
Wilfried Goesgens [Mon, 12 Oct 2015 17:49:52 +0000 (19:49 +0200)]
Start migrating the vcard editing formulars to templates
Wilfried Goesgens [Mon, 12 Oct 2015 17:48:24 +0000 (19:48 +0200)]
Fix json structures; need to use the LKEY & lHashfunc
Wilfried Goesgens [Sun, 11 Oct 2015 21:30:22 +0000 (23:30 +0200)]
Cleanup.
- remove old display vcard implementation
- fix leaks
- fix template syntax
- remove debug prints
Wilfried Goesgens [Sun, 11 Oct 2015 21:26:26 +0000 (23:26 +0200)]
fix buffer overrun
Wilfried Goesgens [Sun, 11 Oct 2015 21:26:01 +0000 (23:26 +0200)]
fix memory leak for invavlid HTTP-Heeaders
Wilfried Goesgens [Sun, 11 Oct 2015 21:24:37 +0000 (23:24 +0200)]
Add propper debugging for lflathashs, crash if debug and invalid combination of *FlatHash and LKEY / IKEY
Wilfried Goesgens [Sun, 11 Oct 2015 11:57:27 +0000 (13:57 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sun, 11 Oct 2015 11:56:12 +0000 (13:56 +0200)]
Implement template based display of a single vcard.