citadel.git
7 years agoMove back to single threaded structure for rss feed puller
Art Cancro [Sun, 26 Feb 2017 01:52:05 +0000 (20:52 -0500)]
Move back to single threaded structure for rss feed puller

7 years agocosmetic cleanup
Art Cancro [Sat, 25 Feb 2017 04:26:46 +0000 (23:26 -0500)]
cosmetic cleanup

7 years agoctdlsh can now run in interactive mode or accept a single command on the command...
Art Cancro [Wed, 15 Feb 2017 04:07:10 +0000 (23:07 -0500)]
ctdlsh can now run in interactive mode or accept a single command on the command line

7 years agoNew function StrBufDecodeQP() to decode a quoted-printable StrBuf in-place without...
Art Cancro [Wed, 1 Feb 2017 03:47:57 +0000 (22:47 -0500)]
New function StrBufDecodeQP() to decode a quoted-printable StrBuf in-place without reallocation

7 years agoFixed an oops in the setup program that was causing the system user to be reset to...
Art Cancro [Sun, 15 Jan 2017 23:24:45 +0000 (18:24 -0500)]
Fixed an oops in the setup program that was causing the system user to be reset to root on subsequent runs.

7 years agoFixed a syntax error introduced by the previous commit. Maybe the Russians did it...
Art Cancro [Sun, 15 Jan 2017 23:15:06 +0000 (18:15 -0500)]
Fixed a syntax error introduced by the previous commit.  Maybe the Russians did it!  HAHAHAHA

7 years agoRemove the vCard module's attempt to create a netconfig file in the obsolete format...
Art Cancro [Sun, 15 Jan 2017 23:06:08 +0000 (18:06 -0500)]
Remove the vCard module's attempt to create a netconfig file in the obsolete format for the Global Address Book room.  Increment version number to 906 for immediate release.

7 years agooops, I left a debug printf in there that I shouldn't have.
Art Cancro [Fri, 6 Jan 2017 23:35:43 +0000 (18:35 -0500)]
oops, I left a debug printf in there that I shouldn't have.

7 years agoFinished up headers mode 1 vs 9, also change vertical bars in subject to hyphens...
Art Cancro [Fri, 6 Jan 2017 23:24:25 +0000 (18:24 -0500)]
Finished up headers mode 1 vs 9, also change vertical bars in subject to hyphens so it doesnt screw up the protocol

7 years agoIntroduce new MSGS mode for threads to avoid breaking old webcit subject lines
Art Cancro [Fri, 6 Jan 2017 22:55:08 +0000 (17:55 -0500)]
Introduce new MSGS mode for threads to avoid breaking old webcit subject lines

7 years agoAdd hashes of message id and references to msgs commands with headers
Art Cancro [Wed, 4 Jan 2017 04:16:49 +0000 (23:16 -0500)]
Add hashes of message id and references to msgs commands with headers

7 years agoChange banner to 2017
Art Cancro [Sat, 31 Dec 2016 19:09:33 +0000 (14:09 -0500)]
Change banner to 2017

7 years agoSanitizing inputs on auth.c
Art Cancro [Fri, 25 Nov 2016 19:30:51 +0000 (14:30 -0500)]
Sanitizing inputs on auth.c

7 years agoLet Berkeley DB remove old database logs on its own, using the DB_LOG_AUTO_REMOVE...
Art Cancro [Mon, 14 Nov 2016 17:25:01 +0000 (12:25 -0500)]
Let Berkeley DB remove old database logs on its own, using the DB_LOG_AUTO_REMOVE flag instead of cdb_cull_logs().
The latter will be removed completely once we are confident this works well.

7 years agoVersion number to 903 for distribution
Art Cancro [Mon, 7 Nov 2016 21:10:17 +0000 (16:10 -0500)]
Version number to 903 for distribution

7 years agoSimple concurrency lock to prevent multiple citservers running at the same time
Art Cancro [Sat, 10 Sep 2016 21:20:21 +0000 (17:20 -0400)]
Simple concurrency lock to prevent multiple citservers running at the same time

7 years agoctdlsh configure script is now awesomer than gnu autotools.
Art Cancro [Thu, 25 Aug 2016 03:42:02 +0000 (23:42 -0400)]
ctdlsh configure script is now awesomer than gnu autotools.

7 years agoRemoved traces of another build that leaked into git master
Art Cancro [Mon, 22 Aug 2016 14:59:13 +0000 (10:59 -0400)]
Removed traces of another build that leaked into git master

7 years ago.gitignore
Art Cancro [Mon, 22 Aug 2016 14:38:48 +0000 (10:38 -0400)]
.gitignore

7 years agoconfigure script
Art Cancro [Fri, 19 Aug 2016 22:39:08 +0000 (18:39 -0400)]
configure script

7 years agoAdded a simple configure script that is superior to gnu autotools
Art Cancro [Fri, 19 Aug 2016 22:15:19 +0000 (18:15 -0400)]
Added a simple configure script that is superior to gnu autotools

7 years agohot help for config command in ctdlsh
Art Cancro [Wed, 17 Aug 2016 17:52:37 +0000 (13:52 -0400)]
hot help for config command in ctdlsh

7 years agoctdlsh can now get and set server configuration varia bles
Art Cancro [Wed, 17 Aug 2016 17:41:18 +0000 (13:41 -0400)]
ctdlsh can now get and set server configuration varia bles

7 years agoa little more work on our autotools-free Makefile
Art Cancro [Wed, 17 Aug 2016 16:50:20 +0000 (12:50 -0400)]
a little more work on our autotools-free Makefile

7 years agoStarted working on a ctdlsh command framework to show and manipulate the server confi...
Art Cancro [Tue, 16 Aug 2016 21:48:35 +0000 (17:48 -0400)]
Started working on a ctdlsh command framework to show and manipulate the server configuration.

7 years agoAdded a simple Makefile for ctdlsh
Art Cancro [Tue, 16 Aug 2016 20:35:20 +0000 (16:35 -0400)]
Added a simple Makefile for ctdlsh

7 years agoremoved all of the gnu autofoo crap from ctdlsh
Art Cancro [Tue, 16 Aug 2016 20:33:17 +0000 (16:33 -0400)]
removed all of the gnu autofoo crap from ctdlsh

7 years ago* Hillary Clinton is obviously sick right now. I hope she dies.
Art Cancro [Tue, 16 Aug 2016 20:24:43 +0000 (16:24 -0400)]
* Hillary Clinton is obviously sick right now.  I hope she dies.

7 years agoFixed a null pointer comparison
Art Cancro [Fri, 29 Jul 2016 14:22:03 +0000 (10:22 -0400)]
Fixed a null pointer comparison

7 years agoignore -p when called from telnetd
Art Cancro [Sat, 14 May 2016 15:09:19 +0000 (11:09 -0400)]
ignore -p when called from telnetd

7 years agoconnection debug on text client
Art Cancro [Sat, 14 May 2016 15:03:47 +0000 (11:03 -0400)]
connection debug on text client

7 years agotextclient: don't try to stat citadel.config; it doesn't exist anymore.
Art Cancro [Fri, 13 May 2016 14:22:17 +0000 (10:22 -0400)]
textclient: don't try to stat citadel.config; it doesn't exist anymore.

Conflicts:
webcit/webcit.h

7 years agoQuick hack to buildpackages, use "buildpackages version" to simply have it tell you... Release_902
Art Cancro [Fri, 6 May 2016 05:50:50 +0000 (01:50 -0400)]
Quick hack to buildpackages, use "buildpackages version" to simply have it tell you what version number it's picking up.

7 years agoFixed the version number display in the template
Art Cancro [Tue, 3 May 2016 03:36:20 +0000 (23:36 -0400)]
Fixed the version number display in the template

7 years agoHide the Telephone Number field in the site config, it is no longer present in Citade...
Art Cancro [Tue, 3 May 2016 03:33:38 +0000 (23:33 -0400)]
Hide the Telephone Number field in the site config, it is no longer present in Citadel Server

7 years agoFixed some fields in the legacy CONF PUT command, they were set up as booleans when...
Art Cancro [Tue, 3 May 2016 03:25:37 +0000 (23:25 -0400)]
Fixed some fields in the legacy CONF PUT command, they were set up as booleans when they should have been strings.

7 years agoWait longer (30 seconds instead of 10) to connect to Citadel server when running...
Art Cancro [Tue, 3 May 2016 02:29:01 +0000 (22:29 -0400)]
Wait longer (30 seconds instead of 10) to connect to Citadel server when running setup.  We might have just started the server and it's still initializing.  Also show a progress bar while doing this.

7 years agodatabase_cleanup.sh has another table to clean
Art Cancro [Tue, 3 May 2016 02:19:31 +0000 (22:19 -0400)]
database_cleanup.sh has another table to clean

8 years agowar on cruft continues
Art Cancro [Tue, 26 Apr 2016 16:29:26 +0000 (12:29 -0400)]
war on cruft continues

8 years agoRemoved the logic that attempted to deliver mailing lists not more than once per...
Art Cancro [Sun, 24 Apr 2016 23:16:09 +0000 (19:16 -0400)]
Removed the logic that attempted to deliver mailing lists not more than once per day.  It had two problems:  (1) The once-per-day logic failed to consider that there could be more than one mailing list; and (2) it didn't work.

8 years agoRemove dotted-decimal version numbers from the text client.
Art Cancro [Sun, 24 Apr 2016 18:53:57 +0000 (14:53 -0400)]
Remove dotted-decimal version numbers from the text client.

8 years agoNew command CONF LISTVAL to output the whole system configuration to an authorized...
Art Cancro [Sun, 24 Apr 2016 18:34:26 +0000 (14:34 -0400)]
New command CONF LISTVAL to output the whole system configuration to an authorized client.

8 years agoMoved all of techdoc/ into docs/ ... for now
Art Cancro [Sun, 24 Apr 2016 17:45:33 +0000 (13:45 -0400)]
Moved all of techdoc/ into docs/  ... for now

8 years agoContinued the war against cruft. Don't touch utmp anymore; always use the output...
Art Cancro [Sun, 24 Apr 2016 17:38:57 +0000 (13:38 -0400)]
Continued the war against cruft.  Don't touch utmp anymore; always use the output of 'who am i' for the client's hostname.  Also replaced old hand-coded extraction with a call to our library function stripallbut().

8 years agoHelp text for the <.H>elp: commands in the text client, has been moved *into* the...
Art Cancro [Sun, 24 Apr 2016 13:32:10 +0000 (09:32 -0400)]
Help text for the <.H>elp: commands in the text client, has been moved *into* the text client.

8 years agoRemoved all references to ctdl_hlp_dir. cmd_mesg() and cmd_emsg() now only look...
Art Cancro [Sat, 23 Apr 2016 18:37:14 +0000 (14:37 -0400)]
Removed all references to ctdl_hlp_dir.  cmd_mesg() and cmd_emsg() now only look in the messages directory.

8 years agoAdded a cast to silence a compiler warning
Art Cancro [Sat, 23 Apr 2016 18:25:26 +0000 (14:25 -0400)]
Added a cast to silence a compiler warning

8 years agoRemoved the HAVE_STRERROR directive and our replacement strerror() function for ...
Art Cancro [Sat, 23 Apr 2016 15:30:19 +0000 (11:30 -0400)]
Removed the HAVE_STRERROR directive and our replacement strerror() function for 'systems which don't have strerror()'.  Seriously, people, it's 2016 and *every* system has strerror.  Linux has it.  FreeBSD has it.  Mac OS has it.  Even the vaguely unix-like OpenBSD has it.  Maybe this was put in to support Tru64 or some other long-gone extinct unix, but at this point there is no longer any point in duplicating functionality which we can confidently guarantee will be in the standard C library of any usable operating system.

8 years agoRemoved all substitution variables from the help files, since they are moving into...
Art Cancro [Sat, 23 Apr 2016 15:19:30 +0000 (11:19 -0400)]
Removed all substitution variables from the help files, since they are moving into the client.

8 years agoslight changes to the help files
Art Cancro [Sat, 23 Apr 2016 15:10:43 +0000 (11:10 -0400)]
slight changes to the help files

8 years agoYes, I'm preparing for the "help" directory to be moved into the text client.
Art Cancro [Thu, 21 Apr 2016 15:51:21 +0000 (11:51 -0400)]
Yes, I'm preparing for the "help" directory to be moved into the text client.

8 years agoRemove the "nice" help file. Seriously, it's 2016.
Art Cancro [Thu, 21 Apr 2016 15:49:05 +0000 (11:49 -0400)]
Remove the "nice" help file.  Seriously, it's 2016.

8 years agoRemoved the "hours" help file. What are we, some 13 year old kid running a dialup...
Art Cancro [Thu, 21 Apr 2016 15:48:22 +0000 (11:48 -0400)]
Removed the "hours" help file.  What are we, some 13 year old kid running a dialup on the home phone line during the overnights?

8 years agoRemoved the "shamelessly swiped from QuartzBBS" language from ./help/intro because...
Art Cancro [Thu, 21 Apr 2016 15:46:19 +0000 (11:46 -0400)]
Removed the "shamelessly swiped from QuartzBBS" language from ./help/intro because we are awesome like Donald Trump and they are douchebags like Ted Cruz.

8 years agowebcit now uses the new roompic calls
Art Cancro [Thu, 21 Apr 2016 15:39:40 +0000 (11:39 -0400)]
webcit now uses the new roompic calls

8 years agoDisplay roompic in the banner using the new code
Art Cancro [Thu, 21 Apr 2016 15:21:57 +0000 (11:21 -0400)]
Display roompic in the banner using the new code

8 years agocopyright date
Art Cancro [Wed, 20 Apr 2016 14:23:16 +0000 (10:23 -0400)]
copyright date

8 years agoLoadXRoomPic() and the XHaveRoomPicLoaded conditional moved from OIMG to DLRI server...
Art Cancro [Wed, 20 Apr 2016 14:17:22 +0000 (10:17 -0400)]
LoadXRoomPic() and the XHaveRoomPicLoaded conditional moved from OIMG to DLRI server command

8 years agostyle cleanup
Art Cancro [Wed, 20 Apr 2016 04:59:12 +0000 (00:59 -0400)]
style cleanup

8 years agoULRI and DLRI commands now replace _roompic_ upload and download.
Art Cancro [Wed, 20 Apr 2016 04:56:59 +0000 (00:56 -0400)]
ULRI and DLRI commands now replace _roompic_ upload and download.

8 years agoRemoved upload and download of _roompic_ keyword. These are obsolete and will be...
Art Cancro [Wed, 20 Apr 2016 04:32:03 +0000 (00:32 -0400)]
Removed upload and download of _roompic_ keyword.  These are obsolete and will be replaced with new commands.

8 years agomaga
Art Cancro [Wed, 20 Apr 2016 03:33:43 +0000 (23:33 -0400)]
maga

8 years agoUse the new data format for RoomInfo in spoolcontrol (what is this for?)
Art Cancro [Wed, 20 Apr 2016 03:27:22 +0000 (23:27 -0400)]
Use the new data format for RoomInfo in spoolcontrol (what is this for?)

8 years agoMigrated the EINF and RINF commands to the new data format. No changes were made...
Art Cancro [Tue, 19 Apr 2016 22:15:38 +0000 (18:15 -0400)]
Migrated the EINF and RINF commands to the new data format.  No changes were made to the wire protocol.

8 years agoRINF command migrated to new data format
Art Cancro [Tue, 19 Apr 2016 21:57:17 +0000 (17:57 -0400)]
RINF command migrated to new data format

8 years agoremove extra log message
Art Cancro [Tue, 19 Apr 2016 19:19:09 +0000 (15:19 -0400)]
remove extra log message

8 years agoDelete old room info and banner files after import
Art Cancro [Tue, 19 Apr 2016 14:46:44 +0000 (10:46 -0400)]
Delete old room info and banner files after import

8 years agoSet internal version number to 902.
Art Cancro [Tue, 19 Apr 2016 14:42:10 +0000 (10:42 -0400)]
Set internal version number to 902.

8 years agoImport roominfo and roompic files into the database.
Art Cancro [Tue, 19 Apr 2016 14:38:59 +0000 (10:38 -0400)]
Import roominfo and roompic files into the database.

8 years agoBegin removing the decimal point from our version number (901 instead of 9.01)
Art Cancro [Fri, 15 Apr 2016 21:42:54 +0000 (17:42 -0400)]
Begin removing the decimal point from our version number (901 instead of 9.01)

8 years agoAC_INIT now declares a non-decimal version number
Art Cancro [Fri, 15 Apr 2016 21:29:04 +0000 (17:29 -0400)]
AC_INIT now declares a non-decimal version number

8 years agoBegin removing the decimal point from our version number (901 instead of 9.01)
Art Cancro [Thu, 14 Apr 2016 22:49:34 +0000 (18:49 -0400)]
Begin removing the decimal point from our version number (901 instead of 9.01)

8 years agoRemoved the _floorpic_ infrastructure entirely -- we don't use those anymore.
Art Cancro [Wed, 13 Apr 2016 21:28:17 +0000 (17:28 -0400)]
Removed the _floorpic_ infrastructure entirely -- we don't use those anymore.

8 years agoUpdate webcit to use the new ULUI command to upload user photo. This completes the...
Art Cancro [Wed, 13 Apr 2016 16:14:49 +0000 (12:14 -0400)]
Update webcit to use the new ULUI command to upload user photo.  This completes the transition of user photo to the database.

8 years agoFinished the ULUI command. Need to update WebCit before we can fully test it.
Art Cancro [Wed, 13 Apr 2016 15:35:38 +0000 (11:35 -0400)]
Finished the ULUI command.  Need to update WebCit before we can fully test it.

8 years agoRemove previous commit, we actually have GuessMimeByFilename() in libcitadel for...
Art Cancro [Wed, 13 Apr 2016 15:15:34 +0000 (11:15 -0400)]
Remove previous commit, we actually have GuessMimeByFilename() in libcitadel for this.

8 years agoRevert "quickie function guess_image_content_type() to guess the content-type of...
Art Cancro [Wed, 13 Apr 2016 15:05:08 +0000 (11:05 -0400)]
Revert "quickie function guess_image_content_type() to guess the content-type of an uploaded or imported photo based on the filename.  We could eventually go with some sort of big global system for this but I wanted it to be fast and reliable for now."

This reverts commit 5282ce6d536fef379e55bb0c3bf2ee4ef3b5f6e6.

8 years agoquickie function guess_image_content_type() to guess the content-type of an uploaded...
Art Cancro [Wed, 13 Apr 2016 14:51:49 +0000 (10:51 -0400)]
quickie function guess_image_content_type() to guess the content-type of an uploaded or imported photo based on the filename.  We could eventually go with some sort of big global system for this but I wanted it to be fast and reliable for now.

8 years agomoar code heere
Art Cancro [Wed, 13 Apr 2016 00:07:05 +0000 (20:07 -0400)]
moar code heere

8 years agoMore skeleton code
Art Cancro [Tue, 12 Apr 2016 23:57:20 +0000 (19:57 -0400)]
More skeleton code

8 years agoRemove the _userpic_ functionality from UIMG , it is useless now
Art Cancro [Tue, 12 Apr 2016 23:37:56 +0000 (19:37 -0400)]
Remove the _userpic_ functionality from UIMG , it is useless now

8 years agoSkeleton ULUI command and cmd_ului() function. Also added CtdlAccessCheck() to DLUI.
Art Cancro [Tue, 12 Apr 2016 23:36:29 +0000 (19:36 -0400)]
Skeleton ULUI command and cmd_ului() function.  Also added CtdlAccessCheck() to DLUI.

8 years agofix warnings - remove variables no longer needed
Art Cancro [Tue, 12 Apr 2016 23:15:25 +0000 (19:15 -0400)]
fix warnings - remove variables no longer needed

8 years agoupdate the comments in cmd_dlui() to match what I put on the wiki docs
Art Cancro [Tue, 12 Apr 2016 23:04:08 +0000 (19:04 -0400)]
update the comments in cmd_dlui() to match what I put on the wiki docs

8 years agoUpdated some comments.
Art Cancro [Tue, 12 Apr 2016 20:49:45 +0000 (16:49 -0400)]
Updated some comments.

8 years agoRemoved old userpic command from the citadel server , it doesnt work anymore
Art Cancro [Mon, 11 Apr 2016 15:27:02 +0000 (11:27 -0400)]
Removed old userpic command from the citadel server , it doesnt work anymore

8 years agoMoved webcit display of user photo to the new protocol
Art Cancro [Mon, 11 Apr 2016 15:13:18 +0000 (11:13 -0400)]
Moved webcit display of user photo to the new protocol

8 years agoRemove all references to userpic dir other than those required for ingesting legacy...
Art Cancro [Sun, 10 Apr 2016 21:11:36 +0000 (17:11 -0400)]
Remove all references to userpic dir other than those required for ingesting legacy data

8 years agofixed old coding style
Art Cancro [Sun, 10 Apr 2016 20:31:58 +0000 (16:31 -0400)]
fixed old coding style

8 years agoUser profiles (bios) are now stored as MIME in the user config room. If a bio/ direc...
Art Cancro [Sat, 9 Apr 2016 23:54:36 +0000 (19:54 -0400)]
User profiles (bios) are now stored as MIME in the user config room.  If a bio/ directory exists it is ingested at startup and deleted.

8 years agorssclient.c - dont compare null strings
Art Cancro [Fri, 1 Apr 2016 22:18:17 +0000 (18:18 -0400)]
rssclient.c - dont compare null strings

8 years agoUse a tokenizer for ParseRoomNetConfigFile() because StrBufSipLine() is skipping...
Art Cancro [Fri, 1 Apr 2016 21:53:57 +0000 (17:53 -0400)]
Use a tokenizer for ParseRoomNetConfigFile() because StrBufSipLine() is skipping lines.

8 years agoremoved some trace messages
Art Cancro [Sat, 26 Mar 2016 02:53:01 +0000 (22:53 -0400)]
removed some trace messages

8 years agoRemoved the "filter" parameter from CtdlForEachNetCfgRoom().
Art Cancro [Fri, 25 Mar 2016 17:03:39 +0000 (13:03 -0400)]
Removed the "filter" parameter from CtdlForEachNetCfgRoom().
In the new architecture it is superfluous, and causing problems.

8 years agodon't issue slrp_highest if we're viewing users mailboxes.
Wilfried Goesgens [Thu, 28 Jan 2016 07:46:17 +0000 (08:46 +0100)]
don't issue slrp_highest if we're viewing users mailboxes.

8 years agomore log silencing.
Wilfried Goesgens [Sat, 23 Jan 2016 16:42:48 +0000 (17:42 +0100)]
more log silencing.

8 years agoSilence the SMTP server.
Wilfried Goesgens [Sat, 23 Jan 2016 15:11:26 +0000 (16:11 +0100)]
Silence the SMTP server.

8 years agoSilence logging in non-debug usecases. The raspii users gonna love this.
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.

8 years agoadd missing reply for header listing chat start
Wilfried Goesgens [Sat, 23 Jan 2016 12:06:17 +0000 (13:06 +0100)]
add missing reply for header listing chat start

8 years agoRevert the parts of 03cd7985fad9d51530f613304869f3b7960b9f81 that remove the configur...
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.