Art Cancro [Fri, 23 Sep 2022 18:55:37 +0000 (14:55 -0400)]
Resized the banner bar using vh instead of pixels. Resized the sidebar using vw instead of pixels. Replaced the CITADEL name in the corner with our logo, also bearing a link to the web site.
Art Cancro [Thu, 22 Sep 2022 23:30:42 +0000 (19:30 -0400)]
Fixed the rendering on the 'older posts' and 'newer posts' buttons. No longer relies on w3css styles we aren't using anymore. Also made the whole div clickable instead of just the text.
Art Cancro [Thu, 22 Sep 2022 22:06:59 +0000 (18:06 -0400)]
Tightened up the padding around the room list and rendered it with the flexbox model. Cleaned up the styles used in hover and selection on the sidebar.
Art Cancro [Wed, 21 Sep 2022 22:44:43 +0000 (18:44 -0400)]
Added a new parameter to html_to_ascii() to let it know when it's rendering to a terminal that supports ANSI escape sequences. When this support is active, render blockquotes in dimmer video and italic (if supported by the terminal).
Art Cancro [Wed, 21 Sep 2022 22:25:48 +0000 (18:25 -0400)]
When rendering messages in the old text client format, identify pull quotes and render them in dimmer video and italic font (if supported by the terminal).
Art Cancro [Sat, 17 Sep 2022 21:15:40 +0000 (17:15 -0400)]
Removed the 'UIMG 0||userpic' server command issued to check whether the user has permission to upload the photo. That is an obsolete command and it will fail every time unless the user is an administrator.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.