citadel.git
19 months agoReverts commit c6aec42f213ec284e34648f3d69bcf927dccddb1 because putting the opening...
Art Cancro [Fri, 16 Sep 2022 21:20:04 +0000 (21:20 +0000)]
Reverts commit c6aec42f213ec284e34648f3d69bcf927dccddb1 because putting the opening brace on the same line as the function declaration causes mk_modules_init.sh to barf its lungs out.

19 months agojust some idle style cleanup
Art Cancro [Fri, 16 Sep 2022 18:54:31 +0000 (18:54 +0000)]
just some idle style cleanup

19 months agotext client: if the 'who am i' command is used to populate the host name, strip the...
Art Cancro [Fri, 16 Sep 2022 18:44:08 +0000 (18:44 +0000)]
text client: if the 'who am i' command is used to populate the host name, strip the trailing newline.  Otherwise the newline gets sent as part of an IDEN command and it confuses the server protocol.

19 months agoStyle update to server/modules/ctdlproto/serv_file.c
Art Cancro [Fri, 16 Sep 2022 14:36:49 +0000 (10:36 -0400)]
Style update to server/modules/ctdlproto/serv_file.c

19 months agoChanged 'the Greetingpicture for the login prompt' to 'graphics to be displayed on...
Art Cancro [Thu, 15 Sep 2022 23:05:59 +0000 (19:05 -0400)]
Changed 'the Greetingpicture for the login prompt' to 'graphics to be displayed on the login screen'

19 months agoRender user pic as a circle using clip-path() CSS
Art Cancro [Thu, 15 Sep 2022 22:48:15 +0000 (18:48 -0400)]
Render user pic as a circle using clip-path() CSS

19 months agoConsolidated all renderings of a user profile picture (avatar) into a single renderin...
Art Cancro [Thu, 15 Sep 2022 22:37:50 +0000 (18:37 -0400)]
Consolidated all renderings of a user profile picture (avatar) into a single rendering function render_userpic().  This is currently called to display the user's avatar in the banner when logged in, and in both the mail and forum views.

19 months agoMinor style changes to room list and mailbox reading pane
Art Cancro [Tue, 13 Sep 2022 04:05:28 +0000 (00:05 -0400)]
Minor style changes to room list and mailbox reading pane

19 months agoCSS tweaks to room list view.
Art Cancro [Sun, 11 Sep 2022 03:05:39 +0000 (23:05 -0400)]
CSS tweaks to room list view.

19 months agoMake all CSS comment blocks start in the same column. Probably not sustainable.
Art Cancro [Sun, 11 Sep 2022 02:21:08 +0000 (22:21 -0400)]
Make all CSS comment blocks start in the same column.  Probably not sustainable.

19 months agoREADME.txt is now README.md because why not. Also included an obnoxious comment...
Art Cancro [Sun, 11 Sep 2022 00:13:44 +0000 (20:13 -0400)]
README.txt is now README.md because why not.  Also included an obnoxious comment about how we're not going to use your favorite CSS or JS library because everything is lovingly hand coded and Citadel components tend to outlive web libraries.

19 months agoMoved some of the banner and sidebar items around
Art Cancro [Sat, 10 Sep 2022 19:44:50 +0000 (15:44 -0400)]
Moved some of the banner and sidebar items around

19 months agoRemove the box around the message text in the mailbox view. Set a 3px bottom border...
Art Cancro [Fri, 9 Sep 2022 22:55:41 +0000 (18:55 -0400)]
Remove the box around the message text in the mailbox view.  Set a 3px bottom border under the message list.  Looks pretty good now.

19 months agoRemove the console log of the address render. It works now and we don't need to...
Art Cancro [Fri, 9 Sep 2022 22:09:34 +0000 (18:09 -0400)]
Remove the console log of the address render.  It works now and we don't need to log it.

19 months agoMoved render_msg_author() into a different file
Art Cancro [Fri, 9 Sep 2022 22:08:57 +0000 (18:08 -0400)]
Moved render_msg_author() into a different file

19 months agoSeparate out the display name and email addresses in the JSON output of a message...
Art Cancro [Fri, 9 Sep 2022 19:39:27 +0000 (15:39 -0400)]
Separate out the display name and email addresses in the JSON output of a message.  Also send out the "message originated locally" flag.  This will allow the JS side to be smarter about how it displays.

19 months agomore tweaks to mailbox css
Art Cancro [Fri, 9 Sep 2022 15:58:04 +0000 (11:58 -0400)]
more tweaks to mailbox css

19 months agoThe mailbox reading pane seems to work best when the height is not specified at all.
Art Cancro [Fri, 9 Sep 2022 14:59:24 +0000 (10:59 -0400)]
The mailbox reading pane seems to work best when the height is not specified at all.

19 months agoApplied style changes to the mailbox pane that are both semantically correct and...
Art Cancro [Thu, 8 Sep 2022 23:55:40 +0000 (19:55 -0400)]
Applied style changes to the mailbox pane that are both semantically correct and look really good.  Now I am become keyboard, destroyer of worlds.

19 months agosimplify the build and move the C server into a directory
Art Cancro [Thu, 8 Sep 2022 23:18:54 +0000 (19:18 -0400)]
simplify the build and move the C server into a directory

19 months agoMove *.c and *.h into server/ directory.
Art Cancro [Thu, 8 Sep 2022 23:17:41 +0000 (19:17 -0400)]
Move *.c and *.h into server/ directory.

19 months agomailbox temporary style
Art Cancro [Thu, 8 Sep 2022 23:14:11 +0000 (19:14 -0400)]
mailbox temporary style

19 months agoindent -kr -i8 -brf -bbb -fnc -l132 -nce on all of webcit-classic
Art Cancro [Thu, 8 Sep 2022 21:57:24 +0000 (17:57 -0400)]
indent -kr -i8 -brf -bbb -fnc -l132 -nce on all of webcit-classic

19 months agooops removed some backups that got committed
Art Cancro [Thu, 8 Sep 2022 21:55:01 +0000 (17:55 -0400)]
oops removed some backups that got committed

19 months agominor change to mailbox pane
Art Cancro [Thu, 8 Sep 2022 21:36:02 +0000 (17:36 -0400)]
minor change to mailbox pane

20 months agoGot the mailbox view (mailbox pane + reading pane) working correctly. It's a CSS...
Art Cancro [Wed, 7 Sep 2022 21:31:55 +0000 (17:31 -0400)]
Got the mailbox view (mailbox pane + reading pane) working correctly.  It's a CSS Grid view, so we should be able to offer a side-by-side view later just by amending the styles.

20 months agoContinuing along with the effort to replace the remaining w3css styles with hand...
Art Cancro [Tue, 6 Sep 2022 04:21:43 +0000 (00:21 -0400)]
Continuing along with the effort to replace the remaining w3css styles with hand-crafted CSS of our own.

20 months agoMore CSS cleanup
Art Cancro [Mon, 5 Sep 2022 22:51:53 +0000 (18:51 -0400)]
More CSS cleanup

20 months agoindent -kr -i8 -brf -bbb -fnc -l132 -nce
Art Cancro [Fri, 2 Sep 2022 15:41:46 +0000 (11:41 -0400)]
indent -kr -i8 -brf -bbb -fnc -l132 -nce

20 months agoMore progress on moving to the box layout
Art Cancro [Fri, 2 Sep 2022 15:29:03 +0000 (11:29 -0400)]
More progress on moving to the box layout

20 months agoUse spaces in api.txt
Art Cancro [Wed, 31 Aug 2022 21:52:45 +0000 (17:52 -0400)]
Use spaces in api.txt

20 months agotest commit
Art Cancro [Wed, 31 Aug 2022 03:20:03 +0000 (23:20 -0400)]
test commit

20 months agoRemoved W3CSS and moved to CSS grid layout. There's a bunch of stuff left to tweak...
Art Cancro [Wed, 31 Aug 2022 03:09:31 +0000 (23:09 -0400)]
Removed W3CSS and moved to CSS grid layout.  There's a bunch of stuff left to tweak but this is going to be much easier.

20 months agoUnwrapped some old 80-column code
Art Cancro [Sat, 27 Aug 2022 17:10:29 +0000 (13:10 -0400)]
Unwrapped some old 80-column code

20 months agoTruncate username display to 25 characters so it doesn't overrun the column
Art Cancro [Tue, 9 Aug 2022 13:55:13 +0000 (09:55 -0400)]
Truncate username display to 25 characters so it doesn't overrun the column

20 months agoPassing some idle time by applying rules from the style guide to commands.c
Art Cancro [Tue, 9 Aug 2022 13:47:05 +0000 (09:47 -0400)]
Passing some idle time by applying rules from the style guide to commands.c

21 months agoIn the online users list, display partially logged in (username sent but no successfu...
Art Cancro [Mon, 1 Aug 2022 02:05:18 +0000 (22:05 -0400)]
In the online users list, display partially logged in (username sent but no successful password yet) users as "not logged in" instead of displaying the user name.

21 months agoDisplay "brief" datestamps in mailbox: date if not today, time if today.
Art Cancro [Fri, 22 Jul 2022 18:42:49 +0000 (14:42 -0400)]
Display "brief" datestamps in mailbox: date if not today, time if today.

21 months agoBUILD_ID is now the output of "git describe" , falling back to the two digit year...
Art Cancro [Wed, 20 Jul 2022 21:01:06 +0000 (17:01 -0400)]
BUILD_ID is now the output of "git describe" , falling back to the two digit year and julian date if that fails.

21 months agoRemove w3_ from index.html
Art Cancro [Wed, 20 Jul 2022 20:57:01 +0000 (16:57 -0400)]
Remove w3_ from index.html

21 months agoIncrease the z-index of the fly-in menu on small screens so it isn't covered by the...
Art Cancro [Wed, 20 Jul 2022 20:48:36 +0000 (16:48 -0400)]
Increase the z-index of the fly-in menu on small screens so it isn't covered by the mailbox

21 months agoAdded the dispatch function for entering a new mail message
Art Cancro [Mon, 18 Jul 2022 19:34:41 +0000 (15:34 -0400)]
Added the dispatch function for entering a new mail message

21 months agoRemoved the excess vertical whitespace between headers and message body
Art Cancro [Sun, 17 Jul 2022 22:17:27 +0000 (18:17 -0400)]
Removed the excess vertical whitespace between headers and message body

21 months agoMailbox refresh is working completely now.
Art Cancro [Sat, 16 Jul 2022 17:08:16 +0000 (13:08 -0400)]
Mailbox refresh is working completely now.

21 months agoAdd a web API command for the server STAT command. This will allow us to implement...
Art Cancro [Fri, 15 Jul 2022 17:56:13 +0000 (13:56 -0400)]
Add a web API command for the server STAT command.  This will allow us to implement a new-messages check that does not require loading the entire room again.

21 months agoAll right, this is more or less it. I had to resort to creating a function stuffbar...
Art Cancro [Thu, 14 Jul 2022 15:39:25 +0000 (11:39 -0400)]
All right, this is more or less it.  I had to resort to creating a function stuffbar() that has to be called whenever we render a new screen in the main div, to tell it whether or not the stuffbar requires displaying in this view.  Since we will be using the stuffbar for multiple things this seems ok.

21 months agoFinally got the divs to display correctly by making the mailbox a part of the top...
Art Cancro [Thu, 14 Jul 2022 03:11:17 +0000 (23:11 -0400)]
Finally got the divs to display correctly by making the mailbox a part of the top banner.  Committing this as-is even though I still hjave to make the mailbox load and unload at the correct times.

21 months agoFinally got the pane scrolling working the right way. Wowzers. Saving this as a...
Art Cancro [Tue, 12 Jul 2022 18:38:34 +0000 (14:38 -0400)]
Finally got the pane scrolling working the right way.  Wowzers.  Saving this as a commit before I mess it up again.

21 months agoOk, this is close ... saving my work before I try something destructive
Art Cancro [Tue, 12 Jul 2022 15:37:10 +0000 (11:37 -0400)]
Ok, this is close ... saving my work before I try something destructive

21 months agoConvert RFC2047-encoded strings to UTF8 before display
Art Cancro [Sun, 10 Jul 2022 23:23:01 +0000 (19:23 -0400)]
Convert RFC2047-encoded strings to UTF8 before display

21 months agoutf8ify_rfc822_string() is in libcitadel now
Art Cancro [Sun, 10 Jul 2022 23:09:54 +0000 (19:09 -0400)]
utf8ify_rfc822_string() is in libcitadel now

22 months agoDefine the citserver BUILD_ID as a five digit number consisting of the two digit...
Art Cancro [Wed, 6 Jul 2022 15:51:18 +0000 (11:51 -0400)]
Define the citserver BUILD_ID as a five digit number consisting of the two digit year and a zero-padded three digit julian date.  No, this is not Year 2100 compliant.  I will be delighted if Citadel is still in use half a century after I'm dead and this will be a small problem for someone to solve.

22 months agoBegan CSS stylizing the mailbox view
Art Cancro [Mon, 4 Jul 2022 20:05:10 +0000 (16:05 -0400)]
Began CSS stylizing the mailbox view

22 months agoDon't re-display a selected message when refreshing the mailbox:
Art Cancro [Mon, 4 Jul 2022 15:23:20 +0000 (11:23 -0400)]
Don't re-display a selected message when refreshing the mailbox:

22 months agoClear any existing mailbox refresh when setting up a new one
Art Cancro [Mon, 4 Jul 2022 15:17:52 +0000 (11:17 -0400)]
Clear any existing mailbox refresh when setting up a new one

22 months agoStarted separating mail and forum message renderers
Art Cancro [Mon, 4 Jul 2022 15:09:19 +0000 (11:09 -0400)]
Started separating mail and forum message renderers

22 months agoAdded the logic to auto-refresh mailbox display
Art Cancro [Mon, 4 Jul 2022 04:24:48 +0000 (00:24 -0400)]
Added the logic to auto-refresh mailbox display

22 months agoRendering a single row in a mailbox now has its own function
Art Cancro [Sun, 3 Jul 2022 21:04:46 +0000 (17:04 -0400)]
Rendering a single row in a mailbox now has its own function

22 months agoUse the library functions to stringify a date instead of doing it the hard way.
Art Cancro [Sun, 3 Jul 2022 20:55:42 +0000 (16:55 -0400)]
Use the library functions to stringify a date instead of doing it the hard way.

22 months agoBeginnings of mailbox view
Art Cancro [Sat, 2 Jul 2022 02:17:06 +0000 (22:17 -0400)]
Beginnings of mailbox view

22 months agoI can't see the screen with my sunglasses on
Art Cancro [Fri, 1 Jul 2022 16:30:10 +0000 (12:30 -0400)]
I can't see the screen with my sunglasses on

22 months agoNew API "/ctdl/r/ROOMNAME/mailbox" downloads a mailbox summary of the current room...
Art Cancro [Fri, 1 Jul 2022 16:20:30 +0000 (12:20 -0400)]
New API "/ctdl/r/ROOMNAME/mailbox" downloads a mailbox summary of the current room (all fields).

22 months agoSet things up for mailbox view implementation
Art Cancro [Fri, 1 Jul 2022 15:34:55 +0000 (11:34 -0400)]
Set things up for mailbox view implementation

22 months agoSet up the view dispatcher for mailbox rooms
Art Cancro [Thu, 30 Jun 2022 18:44:45 +0000 (14:44 -0400)]
Set up the view dispatcher for mailbox rooms

22 months agoAdded the javascript logic to delete a message. This pretty much completes the forum...
Art Cancro [Thu, 30 Jun 2022 17:56:30 +0000 (13:56 -0400)]
Added the javascript logic to delete a message.  This pretty much completes the forum module.

22 months agoPass through the data to tell the client if it has room aide privileges and/or permis...
Art Cancro [Wed, 29 Jun 2022 21:17:04 +0000 (17:17 -0400)]
Pass through the data to tell the client if it has room aide privileges and/or permission to delete messages in the current room.  Aide or Room Aide privileges are now indicated via a user-with-cog icon in the room name banner.  The delete button in the forum view now only appears if the client believes it is allowed.

22 months agonew license declaration text
Art Cancro [Wed, 29 Jun 2022 20:21:04 +0000 (16:21 -0400)]
new license declaration text

22 months agowebcit-ng: don't generate .d files , they are not needed
Art Cancro [Wed, 29 Jun 2022 20:13:30 +0000 (16:13 -0400)]
webcit-ng: don't generate .d files , they are not needed

22 months agoRemoved more old artifacts from autoconf's reign of terror.
Art Cancro [Tue, 28 Jun 2022 01:52:58 +0000 (21:52 -0400)]
Removed more old artifacts from autoconf's reign of terror.

22 months agoRemoved close_masters() because it was completely redundant.
Art Cancro [Mon, 27 Jun 2022 16:34:48 +0000 (12:34 -0400)]
Removed close_masters() because it was completely redundant.
Master sockets are already closed during extension shutdown routines.
And yes we still use the word "master" because we are not politicially correct twits.

22 months agoNothing to see here, move along
Art Cancro [Mon, 27 Jun 2022 16:16:27 +0000 (12:16 -0400)]
Nothing to see here, move along

22 months agoRemoved the comments about not needing to block on select() , after remembering that...
Art Cancro [Sat, 25 Jun 2022 17:25:32 +0000 (13:25 -0400)]
Removed the comments about not needing to block on select() , after remembering that even though the thundering herd problem no longer exists, we still have to deal with timer events and incoming data on client sockets.  select() is still appropriate here.

22 months agoMostly just changes to make the code more readable. Everyone should do this once...
Art Cancro [Sat, 25 Jun 2022 17:20:38 +0000 (13:20 -0400)]
Mostly just changes to make the code more readable.  Everyone should do this once in a while.

22 months agoThe unused messages in setup.c are now in an unused function instead of being blocked...
Art Cancro [Sat, 25 Jun 2022 15:08:52 +0000 (11:08 -0400)]
The unused messages in setup.c are now in an unused function instead of being blocked out.  I don't know if this makes a difference to the strings available for translation but I did it just in case.

22 months agoRemoved support for Solaris, which has been dead for at least five years.
Art Cancro [Tue, 21 Jun 2022 18:24:04 +0000 (14:24 -0400)]
Removed support for Solaris, which has been dead for at least five years.

22 months agoI was today years old when I learned that the "thundering herd" problem no longer...
Art Cancro [Mon, 20 Jun 2022 18:13:49 +0000 (14:13 -0400)]
I was today years old when I learned that the "thundering herd" problem no longer exists in the Linux kernel.

22 months agoIn webcit-ng, allow -h to specify the Citadel Server data directory. This will allow...
Art Cancro [Thu, 16 Jun 2022 04:01:44 +0000 (00:01 -0400)]
In webcit-ng, allow -h to specify the Citadel Server data directory.  This will allow -h to work the same across all programs.

22 months agoRelease version 957 generated by do-release.sh v957
Art Cancro [Wed, 15 Jun 2022 18:50:07 +0000 (14:50 -0400)]
Release version 957 generated by do-release.sh

22 months agoRemoved some more portability hacks that were made for systems that are now completel...
Art Cancro [Wed, 15 Jun 2022 18:49:41 +0000 (14:49 -0400)]
Removed some more portability hacks that were made for systems that are now completely obsolete.

22 months agoHandle system accounts differently in auto purger
Art Cancro [Wed, 15 Jun 2022 12:54:38 +0000 (08:54 -0400)]
Handle system accounts differently in auto purger

22 months agoNice color modes in setup
Art Cancro [Tue, 14 Jun 2022 23:55:33 +0000 (19:55 -0400)]
Nice color modes in setup

22 months agoconfigure (in Citadel Server) - don't accept "--prefix" anymore.
Art Cancro [Tue, 14 Jun 2022 23:24:38 +0000 (19:24 -0400)]
configure (in Citadel Server) - don't accept "--prefix" anymore.
This option might confuse some people into thinking they're going
to get ${prefix}/[bin|etc|var] but we don't do that.  Now we only
accept "--ctdldir" to reflect our own directory hierarchy.
Easy Install has been modified to use --ctdldir as well.

22 months agoCtdlEncodeBase64() - only add linebreaks if told to by the caller.
Art Cancro [Tue, 14 Jun 2022 19:06:16 +0000 (15:06 -0400)]
CtdlEncodeBase64() - only add linebreaks if told to by the caller.
Also changed this parameter to an enum.

22 months agoRelease version 956 generated by do-release.sh v956
Art Cancro [Mon, 13 Jun 2022 01:28:35 +0000 (21:28 -0400)]
Release version 956 generated by do-release.sh

22 months agosed might be sed on some systems and gsed on others
Art Cancro [Mon, 13 Jun 2022 01:28:30 +0000 (21:28 -0400)]
sed might be sed on some systems and gsed on others

22 months agoRelease version 955 generated by do-release.sh v955
Art Cancro [Mon, 13 Jun 2022 01:20:30 +0000 (21:20 -0400)]
Release version 955 generated by do-release.sh

22 months agoRelease version 954 generated by do-release.sh v954
Art Cancro [Mon, 13 Jun 2022 01:01:55 +0000 (21:01 -0400)]
Release version 954 generated by do-release.sh

22 months agoRelease version 953 generated by do-release.sh v953
Art Cancro [Mon, 13 Jun 2022 01:01:40 +0000 (21:01 -0400)]
Release version 953 generated by do-release.sh

22 months agoRelease version 952 generated by do-release.sh v952
Art Cancro [Mon, 13 Jun 2022 01:00:26 +0000 (21:00 -0400)]
Release version 952 generated by do-release.sh

22 months agoAdd ${LDFLAGS} to utilities, not just the server.
Art Cancro [Sun, 12 Jun 2022 18:22:38 +0000 (14:22 -0400)]
Add ${LDFLAGS} to utilities, not just the server.

22 months agoThere are three specific compiler warnings that we don't care about. Suppress them...
Art Cancro [Sun, 12 Jun 2022 04:27:59 +0000 (00:27 -0400)]
There are three specific compiler warnings that we don't care about.  Suppress them using a GCC pragma in the header files instead of mucking up the build system.

22 months agoMore tweaking to cleanly support bin and run directories.
Art Cancro [Sun, 12 Jun 2022 04:01:58 +0000 (00:01 -0400)]
More tweaking to cleanly support bin and run directories.

22 months agoCTDLDIR is now properly compiled into the source code based on what was configured...
Art Cancro [Sat, 11 Jun 2022 23:40:07 +0000 (19:40 -0400)]
CTDLDIR is now properly compiled into the source code based on what was configured at build time.  This makes it properly run from its native directory if no extra commands are supplied, but it can run from another data directory if specified.

22 months agoIf you can't handle me at my worst, you don't deserve me at my best.
Art Cancro [Sat, 11 Jun 2022 23:27:53 +0000 (19:27 -0400)]
If you can't handle me at my worst, you don't deserve me at my best.

22 months agoMore work on "make install" including some simplification of database_cleanup.sh...
Art Cancro [Sat, 11 Jun 2022 17:46:34 +0000 (13:46 -0400)]
More work on "make install" including some simplification of database_cleanup.sh.  Debian stopped updating their Berkeley DB packages so we aren't going to support their "db{version}_util" syntax anymore.  This makes life easier for the build process, even though we now have no hope of expecting that a compatible version of BDB will be available in the operating system."

22 months agoModified some of the server source files to carry the new and improved version of...
Art Cancro [Thu, 9 Jun 2022 20:21:20 +0000 (16:21 -0400)]
Modified some of the server source files to carry the new and improved version of the GPL declaration that disrespects Richard Stallman.

22 months agoMake sure all of the utilities carry the new and improved version of the GPL declarat...
Art Cancro [Thu, 9 Jun 2022 20:14:26 +0000 (16:14 -0400)]
Make sure all of the utilities carry the new and improved version of the GPL declaration that disrespects Richard Stallman.

23 months agotextclient: test to see whether iconv requires -liconv in ldflags. Now it should...
Art Cancro [Wed, 8 Jun 2022 19:26:51 +0000 (15:26 -0400)]
textclient: test to see whether iconv requires -liconv in ldflags.  Now it should work on both Linux and FreeBSD.  I will backport this patch to the production release.

23 months agochkpw and chkpwd are now working
Art Cancro [Wed, 8 Jun 2022 14:20:16 +0000 (10:20 -0400)]
chkpw and chkpwd are now working

23 months agoConverted citmail to the new setup:
Art Cancro [Sun, 5 Jun 2022 17:05:38 +0000 (13:05 -0400)]
Converted citmail to the new setup: