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

8 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

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

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

8 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

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

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

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

8 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

8 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

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

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

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

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

8 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

8 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

8 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

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

8 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

8 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

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

8 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

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

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

8 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

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

8 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

8 years agoDONALD TRUMP IS AWESOME
Art Cancro [Sat, 2 Jan 2016 03:03:57 +0000 (22:03 -0500)]
DONALD TRUMP IS AWESOME

8 years agoWhen deleting a room, delete its netconfig configdb entry instead of the netconfig...
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

8 years agoConvert netconfigs to configdb entries at startup.
Art Cancro [Sat, 2 Jan 2016 02:53:16 +0000 (21:53 -0500)]
Convert netconfigs to configdb entries at startup.

8 years agoroom_ops.c: minor style cleanups which barely justify changing the file copyright...
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

8 years agonetconfig.c: Remove unnecessary newlines from syslog
Art Cancro [Fri, 1 Jan 2016 23:00:48 +0000 (18:00 -0500)]
netconfig.c: Remove unnecessary newlines from syslog

8 years ago* New function CtdlDelConfig() to delete a config db record
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