citadel
5 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

5 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.

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

6 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

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

6 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

6 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.

6 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

6 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

6 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.

6 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.

6 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

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

6 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.

6 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.

6 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.

6 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

6 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().

6 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.

6 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.

6 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

6 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.

6 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.

6 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

6 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.

6 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.

6 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?

6 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.

6 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

6 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

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

6 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

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

6 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.

6 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.

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

6 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?)

6 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.

6 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

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

6 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

6 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.

6 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.

6 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)

6 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

6 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)

6 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.

6 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.

6 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.

6 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.

6 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.

6 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.

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

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

6 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

6 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.

6 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

6 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

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

6 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

6 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

6 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

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

6 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.

6 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

6 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.

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

6 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.

6 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.

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

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

6 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.

6 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

6 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.

6 years agoLearned that LOG_ALERT is not really appropriate for the kind of things
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

6 years agoIGnet sharing is working properly with the configdb now.
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.

6 years agocloser...
Art Cancro [Sat, 23 Jan 2016 00:20:27 +0000 (19:20 -0500)]
closer...

6 years agoRemoved an old crufty upgrade routing -- minimum upgradable version is now 5.91
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

6 years agoRemoved libb64's behavior of automatically appending a newline to everything
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.

6 years agoremoved some newlines from above
Art Cancro [Mon, 18 Jan 2016 02:39:01 +0000 (21:39 -0500)]
removed some newlines from above

6 years agoHandle zero-length legacy netconfig files correctly (just delete them)
Art Cancro [Mon, 18 Jan 2016 02:31:44 +0000 (21:31 -0500)]
Handle zero-length legacy netconfig files correctly (just delete them)

6 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Wed, 6 Jan 2016 20:01:52 +0000 (21:01 +0100)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

6 years agoremove INLINE, it seems to be problematic with newer gcc's
Wilfried Goesgens [Wed, 6 Jan 2016 19:59:01 +0000 (20:59 +0100)]
remove INLINE, it seems to be problematic with newer gcc's

6 years agoAlmost done...
Art Cancro [Mon, 4 Jan 2016 02:41:17 +0000 (21:41 -0500)]
Almost done...

6 years agoits wCLog now, as js styleguides command us.
Wilfried Goesgens [Sun, 3 Jan 2016 19:05:08 +0000 (20:05 +0100)]
its wCLog now, as js styleguides command us.

6 years agoadjust case
Wilfried Goesgens [Sun, 3 Jan 2016 17:27:07 +0000 (18:27 +0100)]
adjust case

6 years agoIf we find '/' in message IDs, only use the following characters to calculate the...
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.

6 years agoAdd macro to calculate a hash from a part of the message id
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

6 years agoConstruct the msgid for wiki entries by appending the page
Wilfried Goesgens [Sun, 3 Jan 2016 16:04:35 +0000 (17:04 +0100)]
Construct the msgid for wiki entries by appending the page

6 years agoRemove unneeded newlines from syslog calls
Art Cancro [Sun, 3 Jan 2016 05:27:28 +0000 (00:27 -0500)]
Remove unneeded newlines from syslog calls

6 years agomore progress on callers
Art Cancro [Sun, 3 Jan 2016 05:22:07 +0000 (00:22 -0500)]
more progress on callers

6 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Sun, 3 Jan 2016 04:45:15 +0000 (23:45 -0500)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

6 years agoRemoved the caching of netconfig entries. The caching of configdb entries now serves...
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

6 years agoChanged the way we log errors if serv_vcard cannot create a netconfig file.
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.

6 years agoAdd publish button to \edit rooms
Wilfried Goesgens [Sat, 2 Jan 2016 14:13:15 +0000 (15:13 +0100)]
Add publish button to \edit rooms

6 years agofix token.
Wilfried Goesgens [Sat, 2 Jan 2016 14:13:06 +0000 (15:13 +0100)]
fix token.

6 years agoAdd the IDs of a message to the markup, so .js can find it later on.
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.

6 years agoAdd new conditional that finds whether a room name ends with \edit
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

6 years agoFollow type change to StrBuf
Wilfried Goesgens [Sat, 2 Jan 2016 14:10:13 +0000 (15:10 +0100)]
Follow type change to StrBuf

6 years agoI should drink more while writing this
Art Cancro [Sat, 2 Jan 2016 03:46:40 +0000 (22:46 -0500)]
I should drink more while writing this