citadel.git
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

9 years agoInstead of initiating the transition between DB & IO-Queue from within the applicatio...
Wilfried Goesgens [Thu, 6 Nov 2014 23:38:18 +0000 (00:38 +0100)]
Instead of initiating the transition between DB & IO-Queue from within the application logic, we now only prepare the swap and let the control-logic handle the transition. By this we avoid possible race conditions.

9 years agoCtdl_LDAP_to_vCard() migrated to ctdl_ldap_initialize()
Art Cancro [Thu, 6 Nov 2014 21:25:20 +0000 (16:25 -0500)]
Ctdl_LDAP_to_vCard() migrated to ctdl_ldap_initialize()

9 years agoCtdlTryPasswordLDAP() migrated to ctdl_ldap_initialize()
Art Cancro [Thu, 6 Nov 2014 21:23:44 +0000 (16:23 -0500)]
CtdlTryPasswordLDAP() migrated to ctdl_ldap_initialize()

9 years agoCtdlTryUserLDAP() migrtated to ctdl_ldap_initialize()
Art Cancro [Thu, 6 Nov 2014 21:21:05 +0000 (16:21 -0500)]
CtdlTryUserLDAP() migrtated to ctdl_ldap_initialize()

9 years agowtf
Art Cancro [Thu, 6 Nov 2014 21:06:15 +0000 (16:06 -0500)]
wtf

9 years agoAll calls to ldap_init(host,port) are now replaced with a wrapper function ctdl_ldap_...
Art Cancro [Thu, 6 Nov 2014 17:52:12 +0000 (12:52 -0500)]
All calls to ldap_init(host,port) are now replaced with a wrapper function ctdl_ldap_init() that connects to the correct server specified in our config.

9 years agoRemoved a previous attempt at using ldap_initialize() -- it was being called the...
Art Cancro [Thu, 6 Nov 2014 17:47:41 +0000 (12:47 -0500)]
Removed a previous attempt at using ldap_initialize() -- it was being called the wrong way

9 years agoFix locking of netcnofigs
Wilfried Goesgens [Tue, 28 Oct 2014 07:29:17 +0000 (08:29 +0100)]
Fix locking of netcnofigs

9 years agoOne more place were we have to check whether this is still our context first.
Wilfried Goesgens [Mon, 27 Oct 2014 21:29:11 +0000 (22:29 +0100)]
One more place were we have to check whether this is still our context first.

9 years agoAdjust handling of seen events, add debug functions to retrieve & set seen stamps
Wilfried Goesgens [Mon, 27 Oct 2014 21:00:15 +0000 (22:00 +0100)]
Adjust handling of seen events, add debug functions to retrieve & set seen stamps

9 years agofind places which access information after the context is not owned anymore
Wilfried Goesgens [Mon, 27 Oct 2014 20:21:37 +0000 (21:21 +0100)]
find places which access information after the context is not owned anymore

9 years ago - don't use logfunctions that access the non-owned IO anymore
Wilfried Goesgens [Mon, 27 Oct 2014 20:19:27 +0000 (21:19 +0100)]
 - don't use logfunctions that access the non-owned IO anymore
 - move stopping of c-ares from free to stop client watchers

9 years agodisable unfinished panic.log functionality
Wilfried Goesgens [Mon, 27 Oct 2014 20:17:29 +0000 (21:17 +0100)]
disable unfinished panic.log functionality

9 years agoMore places to use the right api function.
Wilfried Goesgens [Thu, 23 Oct 2014 20:05:37 +0000 (22:05 +0200)]
More places to use the right api function.

9 years ago*moregna*
Wilfried Goesgens [Thu, 23 Oct 2014 19:10:30 +0000 (21:10 +0200)]
*moregna*

9 years ago*gna*
Wilfried Goesgens [Thu, 23 Oct 2014 19:10:14 +0000 (21:10 +0200)]
*gna*

9 years agoUse a single function to transition from IO to DB Queue
Wilfried Goesgens [Thu, 23 Oct 2014 19:03:09 +0000 (21:03 +0200)]
Use a single function to transition from IO to DB Queue

9 years agoAdd DB/IO/W to backtraces
Wilfried Goesgens [Thu, 23 Oct 2014 19:02:30 +0000 (21:02 +0200)]
Add DB/IO/W to backtraces

9 years agoMostly we should happen to add one IO context, output its id.
Wilfried Goesgens [Tue, 21 Oct 2014 22:20:17 +0000 (00:20 +0200)]
Mostly we should happen to add one IO context, output its id.

9 years agoadd whether we're in which eventloop / a worker thread to the log output.
Wilfried Goesgens [Tue, 21 Oct 2014 19:57:54 +0000 (21:57 +0200)]
add whether we're in which eventloop / a worker thread to the log output.

9 years agoTidyup the networker
Wilfried Goesgens [Mon, 20 Oct 2014 23:16:43 +0000 (01:16 +0200)]
Tidyup the networker

9 years agoreplace strlens by breaks, fix comparison warnings.
Wilfried Goesgens [Mon, 20 Oct 2014 20:12:42 +0000 (22:12 +0200)]
replace strlens by breaks, fix comparison warnings.

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Mon, 20 Oct 2014 19:15:10 +0000 (21:15 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

9 years agoFix compilation with -o2
Wilfried Goesgens [Mon, 20 Oct 2014 19:14:24 +0000 (21:14 +0200)]
Fix compilation with -o2

9 years agocontinuing war on unnecessary include of sys/time.h
Art Cancro [Tue, 30 Sep 2014 13:39:48 +0000 (09:39 -0400)]
continuing war on unnecessary include of sys/time.h

9 years agocleanup warnings
Art Cancro [Tue, 30 Sep 2014 13:26:50 +0000 (09:26 -0400)]
cleanup warnings

9 years agoRevert "sys/time.h no longer needed on modern systems"
Art Cancro [Tue, 30 Sep 2014 13:23:26 +0000 (09:23 -0400)]
Revert "sys/time.h no longer needed on modern systems"

This reverts commit ebc64e2caae8740dd047e5317de2172eb3f44fc3.

9 years agosys/time.h no longer needed on modern systems
Art Cancro [Tue, 30 Sep 2014 13:22:37 +0000 (09:22 -0400)]
sys/time.h no longer needed on modern systems

9 years agoRemoved the tag to prevent MS Smart Tags from being parsed, as that feature was remov...
Art Cancro [Wed, 24 Sep 2014 20:58:58 +0000 (16:58 -0400)]
Removed the tag to prevent MS Smart Tags from being parsed, as that feature was removed from the IE 6 betas a long time ago.

9 years agonew url for lingering_close() description
Art Cancro [Thu, 18 Sep 2014 11:14:01 +0000 (07:14 -0400)]
new url for lingering_close() description

9 years agoNetworker: when we're aborting anyways we don't need to set us a timeout alarm.
Wilfried Goesgens [Wed, 10 Sep 2014 06:22:30 +0000 (08:22 +0200)]
Networker: when we're aborting anyways we don't need to set us a timeout alarm.

9 years agoBase64: we need the length of the string; else we fail
Wilfried Goesgens [Sun, 31 Aug 2014 23:41:32 +0000 (01:41 +0200)]
Base64: we need the length of the string; else we fail

9 years agoLDAP: check for new values in LDAP on each login (by HarryC)
Wilfried Goesgens [Wed, 23 Jul 2014 15:08:47 +0000 (17:08 +0200)]
LDAP: check for new values in LDAP on each login (by HarryC)

9 years agoNNTP and NNTPS port configurations in both the text and web clients.
Art Cancro [Fri, 4 Jul 2014 19:20:47 +0000 (15:20 -0400)]
NNTP and NNTPS port configurations in both the text and web clients.

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Mon, 30 Jun 2014 19:58:44 +0000 (21:58 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

9 years agofix goto stuff
Wilfried Goesgens [Mon, 30 Jun 2014 19:58:12 +0000 (21:58 +0200)]
fix goto stuff

9 years agoRemove erroneous extra parameter from display_error() call in setup.c (submitted...
Art Cancro [Mon, 30 Jun 2014 17:45:16 +0000 (13:45 -0400)]
Remove erroneous extra parameter from display_error() call in setup.c (submitted by Thierry Moreau)

9 years agoCompleted the merge of a read-only, reader-only NNTP service into Citadel server.
Art Cancro [Tue, 13 May 2014 02:32:03 +0000 (22:32 -0400)]
Completed the merge of a read-only, reader-only NNTP service into Citadel server.

9 years agoWe have a read-only, reader-only NNTP service finished. Preparing the code for merge...
Art Cancro [Tue, 13 May 2014 02:15:43 +0000 (22:15 -0400)]
We have a read-only, reader-only NNTP service finished.  Preparing the code for merge into 

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel into nntp
Art Cancro [Sat, 10 May 2014 16:30:44 +0000 (12:30 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel into nntp

9 years agoDecodeBase64: wrapper needs to 0-terminate buffer.
Wilfried Goesgens [Sat, 10 May 2014 09:20:55 +0000 (11:20 +0200)]
DecodeBase64: wrapper needs to 0-terminate buffer.

9 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Sat, 10 May 2014 09:09:09 +0000 (11:09 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

9 years agoFix default landing mechanism
Wilfried Goesgens [Sat, 10 May 2014 09:04:59 +0000 (11:04 +0200)]
Fix default landing mechanism

if we fail to find a handler for the current URL, we redirect to landing, forcing a go.
If i.e. a RSS gives a false link, the session then is moved to the lobby, which is bad.

10 years agoLIST OVERVIEW.FMT - change :bytes and :lines to Bytes: and Lines: in order to keep...
Art Cancro [Sun, 27 Apr 2014 19:11:50 +0000 (15:11 -0400)]
LIST OVERVIEW.FMT - change :bytes and :lines to Bytes: and Lines: in order to keep some newsreaders from barfing.  RFC3977 says that this is allowed even though these items are technically considered metadata rather than headers.

10 years agoConvert a room name to ctdl.xx.xx style newsgroup name if no dots appear at all
Art Cancro [Sun, 27 Apr 2014 19:09:12 +0000 (15:09 -0400)]
Convert a room name to ctdl.xx.xx style newsgroup name if no dots appear at all

10 years agomore over/xover stuff
Art Cancro [Fri, 28 Mar 2014 16:36:15 +0000 (12:36 -0400)]
more over/xover stuff

10 years agoGlobal warming is a socialist communist scam.
Art Cancro [Thu, 20 Mar 2014 16:16:03 +0000 (12:16 -0400)]
Global warming is a socialist communist scam.

10 years agoThe Linux operating system uses the Linux kernel. It's open source.
Art Cancro [Thu, 20 Mar 2014 16:08:14 +0000 (12:08 -0400)]
The Linux operating system uses the Linux kernel.  It's open source.

10 years agoImplemented the range handling code for XOVER
Art Cancro [Wed, 19 Mar 2014 20:28:06 +0000 (16:28 -0400)]
Implemented the range handling code for XOVER