citadel.git
9 years agoRan the releaseversion.sh script to mark everything as version 9.01 v9.01
Art Cancro [Wed, 1 Apr 2015 16:58:03 +0000 (12:58 -0400)]
Ran the releaseversion.sh script to mark everything as version 9.01

9 years agoby Harry Coin: fix implementation - this buffer was missing.
Wilfried Goesgens [Mon, 30 Mar 2015 20:57:37 +0000 (22:57 +0200)]
by Harry Coin: fix implementation - this buffer was missing.

9 years agoby Harry Coin:
Wilfried Goesgens [Mon, 30 Mar 2015 20:57:05 +0000 (22:57 +0200)]
by Harry Coin:
 - fix commandline help message.

9 years agoBy Harry Coin:
Wilfried Goesgens [Mon, 30 Mar 2015 20:55:33 +0000 (22:55 +0200)]
By Harry Coin:
  - fix detection of libdiscount
  - add detection for pwuid & friends

9 years agoby Harry Coin: remove deprecated -t option from the debian init script.
Wilfried Goesgens [Mon, 30 Mar 2015 20:54:19 +0000 (22:54 +0200)]
by Harry Coin: remove deprecated -t option from the debian init script.

9 years agoBy Harry Coin: make IsEmptyStr NULL-pointer-safe.
Wilfried Goesgens [Mon, 30 Mar 2015 20:53:45 +0000 (22:53 +0200)]
By Harry Coin: make IsEmptyStr NULL-pointer-safe.

9 years agoBy Harry Coin:
Wilfried Goesgens [Mon, 30 Mar 2015 14:29:58 +0000 (16:29 +0200)]
By Harry Coin:

1)  The problem long discussed upstream to do with LDAP auth wanting the user name offered after the PASS command to stick around for later vcard use.  The approach is to have vcard related searches use the citserver username to search against the ldap CN, while login searches behave as in the release version.

2) The vcard has a field uid, which citserver uses to tag vcards  for uniqueness.  LDAP also has a uuid for each of its records, most aptly saved also in the vcard as uuid.  These collided causing the vcard to be reloaded every check owing to the overwriting the LDAP written uid over the citserver use of the same field. The patches below use the RFC approved 2.1 X- extension to support the field X-UUID for the ldap uuid.  There's also small code cleanup to avoid setting the UID twice.

9 years agoFix debian init script so it works with systemd.
Wilfried Goesgens [Sun, 1 Mar 2015 16:04:59 +0000 (17:04 +0100)]
Fix debian init script so it works with systemd.

9 years agoAdd epic editor copyright
Wilfried Goesgens [Sun, 1 Mar 2015 15:13:09 +0000 (16:13 +0100)]
Add epic editor copyright

9 years agoadd epic to the install target.
Wilfried Goesgens [Sun, 1 Mar 2015 14:53:52 +0000 (15:53 +0100)]
add epic to the install target.

9 years agoFix memory leaks; need to register lookups so their list is free'd afterwards.
Wilfried Goesgens [Sun, 1 Mar 2015 13:38:55 +0000 (14:38 +0100)]
Fix memory leaks; need to register lookups so their list is free'd afterwards.

9 years agomkd_cleanup() frees the output buffer.
Wilfried Goesgens [Sun, 1 Mar 2015 12:59:15 +0000 (13:59 +0100)]
mkd_cleanup() frees the output buffer.

9 years agoAdd libdiscount for markdown
Wilfried Goesgens [Sun, 1 Mar 2015 12:00:30 +0000 (13:00 +0100)]
Add libdiscount for markdown

9 years agoNeed to set the header data.
Wilfried Goesgens [Thu, 19 Feb 2015 23:06:07 +0000 (00:06 +0100)]
Need to set the header data.

9 years agoRSSClient: Add the location header provided URL to the error message, if we fail...
Wilfried Goesgens [Thu, 19 Feb 2015 22:31:59 +0000 (23:31 +0100)]
RSSClient: Add the location header provided URL to the error message, if we fail with a 30x HTTP

9 years agoSend crashmessage just once per day.
Wilfried Goesgens [Tue, 17 Feb 2015 19:20:05 +0000 (20:20 +0100)]
Send crashmessage just once per day.

9 years agoFix utf8-handling.
Wilfried Goesgens [Mon, 16 Feb 2015 19:52:59 +0000 (20:52 +0100)]
Fix utf8-handling.

9 years agoFix utf8-non-encoding in xml-escape
Wilfried Goesgens [Mon, 16 Feb 2015 19:35:57 +0000 (20:35 +0100)]
Fix utf8-non-encoding in xml-escape

9 years agoAdded the Easy Install script to contrib
Art Cancro [Sun, 15 Feb 2015 13:22:27 +0000 (08:22 -0500)]
Added the Easy Install script to contrib

9 years agoFixed the remaining bugs in roster iq replies.
Art Cancro [Sat, 14 Feb 2015 22:26:32 +0000 (17:26 -0500)]
Fixed the remaining bugs in roster iq replies.

9 years agofix to previous commit
Art Cancro [Sat, 14 Feb 2015 22:14:43 +0000 (17:14 -0500)]
fix to previous commit

9 years agoAdded a from= attribute to the reply to discovery queries. This appears to fix recen...
Art Cancro [Sat, 14 Feb 2015 20:21:56 +0000 (15:21 -0500)]
Added a from= attribute to the reply to discovery queries.  This appears to fix recently discovered XMPP client problems.

9 years agoChange copyright date in banner to 2015
Art Cancro [Thu, 12 Feb 2015 19:15:14 +0000 (14:15 -0500)]
Change copyright date in banner to 2015

9 years agoAs sugested by Robotamer: append the view parameter to the link.
Wilfried Goesgens [Mon, 9 Feb 2015 13:00:35 +0000 (14:00 +0100)]
As sugested by Robotamer: append the view parameter to the link.

9 years agoAdd jshintrc
Wilfried Goesgens [Sun, 1 Feb 2015 12:23:24 +0000 (13:23 +0100)]
Add jshintrc

9 years agofix token
Wilfried Goesgens [Thu, 22 Jan 2015 23:05:39 +0000 (00:05 +0100)]
fix token

9 years agofix type in testcase too.
Wilfried Goesgens [Tue, 20 Jan 2015 23:11:21 +0000 (00:11 +0100)]
fix type in testcase too.

9 years agoUse a Type for the stream pointers instead of void* so we have better error checking.
Wilfried Goesgens [Tue, 20 Jan 2015 22:56:22 +0000 (23:56 +0100)]
Use a Type for the stream pointers instead of void* so we have better error checking.

9 years agoAdd error handling to the stream functions
Wilfried Goesgens [Tue, 20 Jan 2015 22:27:46 +0000 (23:27 +0100)]
Add error handling to the stream functions

9 years agoIts the job of the stream lib to suppress chunks just consisting of the gzip header.
Wilfried Goesgens [Tue, 20 Jan 2015 21:11:12 +0000 (22:11 +0100)]
Its the job of the stream lib to suppress chunks just consisting of the gzip header.

9 years agoDon't send an extra chunk for the gzip header.
Wilfried Goesgens [Sun, 18 Jan 2015 19:12:40 +0000 (20:12 +0100)]
Don't send an extra chunk for the gzip header.

9 years agoFill the noncompress blacklist from what debian /etc/mime.types brings about uncompre...
Wilfried Goesgens [Sun, 18 Jan 2015 18:51:57 +0000 (19:51 +0100)]
Fill the noncompress blacklist from what debian /etc/mime.types brings about uncompresseable.

9 years ago - put proper pointer into the free function
Wilfried Goesgens [Sun, 18 Jan 2015 14:32:13 +0000 (15:32 +0100)]
 - put proper pointer into the free function
 - abort if the algorythm says more to come but doesn't send anymore.

9 years agoProperly detect stream pointers to avaid crashes on freeing.`
Wilfried Goesgens [Sun, 18 Jan 2015 14:31:44 +0000 (15:31 +0100)]
Properly detect stream pointers to avaid crashes on freeing.`

9 years agoFix chunked encoding gzip.
Wilfried Goesgens [Sun, 18 Jan 2015 11:41:45 +0000 (12:41 +0100)]
Fix chunked encoding gzip.

9 years agoHandle situation in where we have multiple buffers to send at the end.
Wilfried Goesgens [Sun, 18 Jan 2015 11:40:42 +0000 (12:40 +0100)]
Handle situation in where we have multiple buffers to send at the end.

9 years agoSilence!
Wilfried Goesgens [Tue, 13 Jan 2015 22:57:57 +0000 (23:57 +0100)]
Silence!

9 years agodon't fetch & dereference pointers on shut down all the time.
Wilfried Goesgens [Tue, 13 Jan 2015 22:18:14 +0000 (23:18 +0100)]
don't fetch & dereference pointers on shut down all the time.

9 years agoFix marking of rows: if none was selected, start at row #0 not 1
Wilfried Goesgens [Mon, 12 Jan 2015 20:14:20 +0000 (21:14 +0100)]
Fix marking of rows: if none was selected, start at row #0 not 1

9 years agomore destriptions on how to transition.
Wilfried Goesgens [Sun, 11 Jan 2015 22:39:50 +0000 (23:39 +0100)]
more destriptions on how to transition.

9 years agoFix seen expiration for RSS
Wilfried Goesgens [Sun, 11 Jan 2015 21:09:44 +0000 (22:09 +0100)]
Fix seen expiration for RSS

9 years agoAdd detection for https-urls in webcit.
Wilfried Goesgens [Sun, 11 Jan 2015 14:19:12 +0000 (15:19 +0100)]
Add detection for https-urls in webcit.

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sun, 11 Jan 2015 11:44:49 +0000 (12:44 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

9 years agosilence lnog noise.
Wilfried Goesgens [Sun, 11 Jan 2015 11:30:39 +0000 (12:30 +0100)]
silence lnog noise.

9 years agoMinor cleanup of rss parser in preparation for some upcoming changes.
Art Cancro [Wed, 7 Jan 2015 21:54:08 +0000 (16:54 -0500)]
Minor cleanup of rss parser in preparation for some upcoming changes.

9 years agoGzip stream chunked encoding is working now.
Wilfried Goesgens [Tue, 6 Jan 2015 23:59:43 +0000 (00:59 +0100)]
Gzip stream chunked encoding is working now.

9 years agowhen entering the blog view via gotonext, utilize seen information to determine which...
Wilfried Goesgens [Tue, 6 Jan 2015 22:12:53 +0000 (23:12 +0100)]
when entering the blog view via gotonext, utilize seen information to determine which blog post has new comments; if only one has unseen comments, view this post.

9 years agoMove the thread matching from the blog to a more generic place.
Wilfried Goesgens [Tue, 6 Jan 2015 21:00:46 +0000 (22:00 +0100)]
Move the thread matching from the blog to a more generic place.

9 years agoAdd test for stream interface
Wilfried Goesgens [Sun, 4 Jan 2015 17:03:02 +0000 (18:03 +0100)]
Add test for stream interface

9 years agoMove over deprecated function, adopt to new handler structures
Wilfried Goesgens [Sat, 3 Jan 2015 21:12:43 +0000 (22:12 +0100)]
Move over deprecated function, adopt to new handler structures

9 years agoMerge branch 'master' of git+ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sat, 3 Jan 2015 20:34:06 +0000 (21:34 +0100)]
Merge branch 'master' of git+ssh://git.citadel.org/appl/gitroot/citadel

9 years agouse viewspecific to transport params through the blogview_renderer
Wilfried Goesgens [Sat, 3 Jan 2015 20:31:14 +0000 (21:31 +0100)]
use viewspecific to transport params through the blogview_renderer

9 years agoEmpty handlers for closing tags of <bind> and <query> stanzas. We handled those...
Art Cancro [Sat, 3 Jan 2015 16:48:42 +0000 (11:48 -0500)]
Empty handlers for closing tags of <bind> and <query> stanzas.  We handled those when they opened, so don't call them unknown.

9 years agowhitespace cleanup
Art Cancro [Sat, 3 Jan 2015 16:38:05 +0000 (11:38 -0500)]
whitespace cleanup

9 years agoTake commenters back to the blog article and the comments section where they just...
Wilfried Goesgens [Sat, 3 Jan 2015 14:17:32 +0000 (15:17 +0100)]
Take commenters back to the blog article and the comments section where they just posted their comment to.

9 years agoAdd more plausability checks during startup so the admin knows if something is fishy.
Wilfried Goesgens [Thu, 1 Jan 2015 19:50:15 +0000 (20:50 +0100)]
Add more plausability checks during startup so the admin knows if something is fishy.

9 years agoproperly abort if we fail to create debug files instead of crashing.
Wilfried Goesgens [Thu, 1 Jan 2015 15:36:50 +0000 (16:36 +0100)]
properly abort if we fail to create debug files instead of crashing.

9 years agoFix directory permission checks
Wilfried Goesgens [Thu, 1 Jan 2015 15:32:48 +0000 (16:32 +0100)]
Fix directory permission checks
  - on citserver start check whether all our required directories are present, if not create them.
  - only create digest spool files if we actualy need them, and only remove them once we sent it.

9 years agoFix size calculation. thanks clang.
Wilfried Goesgens [Thu, 1 Jan 2015 15:28:27 +0000 (16:28 +0100)]
Fix size calculation. thanks clang.

9 years agoooops! we intended to reset the timer in the loop! thanks clang.
Wilfried Goesgens [Thu, 1 Jan 2015 15:27:18 +0000 (16:27 +0100)]
ooops! we intended to reset the timer in the loop! thanks clang.

9 years agoMerge branch 'master' of git+ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Wed, 31 Dec 2014 19:24:52 +0000 (20:24 +0100)]
Merge branch 'master' of git+ssh://git.citadel.org/appl/gitroot/citadel

9 years agoAdjust preconditions for attempting a digest delivery.
Wilfried Goesgens [Wed, 31 Dec 2014 18:41:38 +0000 (19:41 +0100)]
Adjust preconditions for attempting a digest delivery.

9 years agomerge
Art Cancro [Wed, 31 Dec 2014 15:53:32 +0000 (10:53 -0500)]
merge

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Wed, 31 Dec 2014 15:26:45 +0000 (10:26 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

Conflicts:
citadel/modules/xmpp/serv_xmpp.c
citadel/modules/xmpp/xmpp_presence.c
citadel/modules/xmpp/xmpp_query_namespace.c

9 years agoRevert some of the later changes in XMPP and fix other parts
Art Cancro [Wed, 31 Dec 2014 15:25:34 +0000 (10:25 -0500)]
Revert some of the later changes in XMPP and fix other parts

9 years agoCreate more directories on whichs presence we rely on at runtime.
Wilfried Goesgens [Wed, 31 Dec 2014 12:42:06 +0000 (13:42 +0100)]
Create more directories on whichs presence we rely on at runtime.

9 years agoRevert xmpp back to a working state
Wilfried Goesgens [Wed, 31 Dec 2014 12:23:47 +0000 (13:23 +0100)]
Revert xmpp back to a working state

9 years agoDigest delivery:
Wilfried Goesgens [Wed, 31 Dec 2014 12:05:20 +0000 (13:05 +0100)]
Digest delivery:
  - fix pick of wrong address list
  - implement that the digest is only sent once a day.

9 years agoAs clang told us: we have to check for empty buffer here - not null pointer.
Wilfried Goesgens [Wed, 31 Dec 2014 11:48:25 +0000 (12:48 +0100)]
As clang told us: we have to check for empty buffer here - not null pointer.

9 years agostart defining stuff that could handle subtokens - message-chatstate here.
Wilfried Goesgens [Mon, 29 Dec 2014 23:40:24 +0000 (00:40 +0100)]
start defining stuff that could handle subtokens - message-chatstate here.

9 years ago - enable TLS
Wilfried Goesgens [Mon, 29 Dec 2014 23:39:50 +0000 (00:39 +0100)]
 - enable TLS
 - void* is better here then char*

9 years agoApply patches sugested by Taroe Hong plus some more bugfixes.
Wilfried Goesgens [Mon, 29 Dec 2014 21:47:34 +0000 (22:47 +0100)]
Apply patches sugested by Taroe Hong plus some more bugfixes.

9 years agoAdjust the folder counters when reading / deleting / moving messages
Wilfried Goesgens [Mon, 29 Dec 2014 15:17:14 +0000 (16:17 +0100)]
Adjust the folder counters when reading / deleting / moving messages

9 years agoFix bit flag operations for debug parameter.
Wilfried Goesgens [Mon, 29 Dec 2014 14:29:06 +0000 (15:29 +0100)]
Fix bit flag operations for debug parameter.

9 years agoSMTP-Client: while evaluating failed attempts:
Wilfried Goesgens [Mon, 29 Dec 2014 10:45:58 +0000 (11:45 +0100)]
SMTP-Client: while evaluating failed attempts:
  - if we decide to fail complete, finalize the sending of the message.

9 years agoProper handling in DNS queries: if the client decides to continue with DB-IO we need...
Wilfried Goesgens [Mon, 29 Dec 2014 10:45:22 +0000 (11:45 +0100)]
Proper handling in DNS queries: if the client decides to continue with DB-IO we need to hand over here too.

9 years agoFix terminating of other contexts
Wilfried Goesgens [Mon, 29 Dec 2014 10:10:53 +0000 (11:10 +0100)]
Fix terminating of other contexts
  - adjust pointer magic
  - if the other context wants to do a DB-Operation for finalization, we have to follow his advise.

9 years agoFreshly bootstrapped config.
Wilfried Goesgens [Mon, 22 Dec 2014 19:16:07 +0000 (20:16 +0100)]
Freshly bootstrapped config.

9 years agomore places to fix the new linebreak behaviour of the base64 encoder.
Wilfried Goesgens [Mon, 22 Dec 2014 19:15:48 +0000 (20:15 +0100)]
more places to fix the new linebreak behaviour of the base64 encoder.

9 years agosince the template engine doesn't do this for you, we have to evaluate the subscribe...
Wilfried Goesgens [Mon, 22 Dec 2014 19:14:47 +0000 (20:14 +0100)]
since the template engine doesn't do this for you, we have to evaluate the subscribe command here too.

9 years agoWe need to have a definite number for the linenumber enums.
Wilfried Goesgens [Mon, 22 Dec 2014 18:46:52 +0000 (19:46 +0100)]
We need to have a definite number for the linenumber enums.

9 years agoThe new base 64 encoder adds linebreaks, we need to remove them again for the list...
Wilfried Goesgens [Mon, 22 Dec 2014 18:45:39 +0000 (19:45 +0100)]
The new base 64 encoder adds linebreaks, we need to remove them again for the list subscription tokens

9 years agoFix CLANG compile: local inline functions _have_ to be static.
Wilfried Goesgens [Mon, 22 Dec 2014 17:09:00 +0000 (18:09 +0100)]
Fix CLANG compile: local inline functions _have_ to be static.

9 years agoCatch errors while saving roomnet configs
Wilfried Goesgens [Mon, 8 Dec 2014 22:23:52 +0000 (23:23 +0100)]
Catch errors while saving roomnet configs

9 years agoForce ascii in grep; thanks to user 'nnnn20430' for pointing this out.
Wilfried Goesgens [Sun, 7 Dec 2014 15:15:23 +0000 (16:15 +0100)]
Force ascii in grep; thanks to user 'nnnn20430' for pointing this out.

9 years agowork on decompressing
Wilfried Goesgens [Sun, 7 Dec 2014 15:11:21 +0000 (16:11 +0100)]
work on decompressing

9 years agodon't use non-ascii chars.
Wilfried Goesgens [Sun, 7 Dec 2014 15:04:06 +0000 (16:04 +0100)]
don't use non-ascii chars.

9 years agoStream Z-encoding seems to work now.
Wilfried Goesgens [Sun, 30 Nov 2014 13:02:41 +0000 (14:02 +0100)]
Stream Z-encoding seems to work now.

9 years agooutput the session ids when logging that we kill'em
Wilfried Goesgens [Sat, 22 Nov 2014 14:49:21 +0000 (15:49 +0100)]
output the session ids when logging that we kill'em

9 years agoFucked up the sequence of arguments for the floodprotected aide message
Wilfried Goesgens [Sat, 22 Nov 2014 14:33:31 +0000 (15:33 +0100)]
Fucked up the sequence of arguments for the floodprotected aide message

9 years agoadded a skeletal 'export' command to ctdlsh
Art Cancro [Tue, 18 Nov 2014 05:49:25 +0000 (00:49 -0500)]
added a skeletal 'export' command to ctdlsh

9 years agoAdded <progress> tags to our export format. This will be used by future tools to...
Art Cancro [Sun, 16 Nov 2014 22:46:25 +0000 (17:46 -0500)]
Added <progress> tags to our export format.  This will be used by future tools to display a progress bar during export.

9 years agoRemove legacy command ARTV
Art Cancro [Fri, 14 Nov 2014 19:11:33 +0000 (14:11 -0500)]
Remove legacy command ARTV

9 years agoRevert parts of b11aa21e7968de3591f30d7af1ba561fab7bc53f which weren't intended to...
Wilfried Goesgens [Tue, 11 Nov 2014 21:32:10 +0000 (22:32 +0100)]
Revert parts of b11aa21e7968de3591f30d7af1ba561fab7bc53f which weren't intended to be committed with this chunk

9 years agosome more places for the transition IO->DB queue
Wilfried Goesgens [Tue, 11 Nov 2014 21:26:38 +0000 (22:26 +0100)]
some more places for the transition IO->DB queue

9 years agoremove duplicate code to cleanup curl stuff
Wilfried Goesgens [Tue, 11 Nov 2014 21:26:08 +0000 (22:26 +0100)]
remove duplicate code to cleanup curl stuff

9 years agoadd function to lock the current user.
Wilfried Goesgens [Sat, 8 Nov 2014 14:13:16 +0000 (15:13 +0100)]
add function to lock the current user.

9 years agoFixed a null pointer issue
Art Cancro [Fri, 7 Nov 2014 22:22:29 +0000 (17:22 -0500)]
Fixed a null pointer issue

9 years agoAs pointed out by HarryC, we need to do nullpointerchecks here.
Wilfried Goesgens [Fri, 7 Nov 2014 00:01:14 +0000 (01:01 +0100)]
As pointed out by HarryC, we need to do nullpointerchecks here.

9 years agoway back from DB -> IO Queue
Wilfried Goesgens [Thu, 6 Nov 2014 23:44:41 +0000 (00:44 +0100)]
way back from DB -> IO Queue