Label the ctdl_mail_folder_list for use
authorArt Cancro <ajc@citadel.org>
Sat, 14 Jan 2023 19:32:55 +0000 (14:32 -0500)
committerArt Cancro <ajc@citadel.org>
Sat, 14 Jan 2023 19:32:55 +0000 (14:32 -0500)
webcit-ng/README.md
webcit-ng/static/index.html

index 07910d8e79c6b05cee6133962d62421aef32a664..e5714bd8141bf257cac7672a015d4e61e4bd3119 100644 (file)
@@ -1,8 +1,8 @@
 # WebCit-NG
 
 This is WebCit-NG, a complete refactoring of the WebCit server that will
-focus on "REST first" and build around that.  The code will be well
-layered with as little spaghetti as possible.
+focus on "REST first" and build around that.  The server code is well layered
+with as little spaghetti as possible.
 
 Please don't mess with this yet.  I'm only pushing it upstream so it gets backed up.
 
@@ -10,22 +10,22 @@ Yes, I know the Makefile is built in a way that forces it to recompile everythin
 when you touch even one file.  For the time being this is acceptable.
 
 ## Design goals
-*      Hold as little state as possible
-*      Require NO cleanup.   Killing the process lets the OS reclaim all resources.
-*      As much as possible, resources should be freed by just coming back down the stack.
-       Avoid global variables and thread-local variables as much as possible.
-*      Readability of the code is more important than shaving off a few CPU cycles.
-*      Throw sensitive data such as passwords back and forth in clear text.
-       If you want privacy, encrypt the whole session.  Anything else is false security.
+* Hold as little state as possible
+* Require NO cleanup.  Killing the process lets the OS reclaim all resources.
+* As much as possible, resources should be freed by just coming back down the stack.
+  Avoid global variables and thread-local variables as much as possible.
+* Readability of the code is more important than shaving off a few CPU cycles.
+* Throw sensitive data such as passwords back and forth in clear text.
+  If you want privacy, encrypt the whole session.  Anything else is false security.
 
 REST format URLs will generally take the form of:
 
-       /ctdl/objectClass/[container/]object[/operation]
+  /ctdl/objectClass/[container/]object[/operation]
 
 ## We are using
-*      libcitadel for information about the Citadel server, some string handling, and the JSON encoder
-*      Expat for DAV handling
-*      OpenSSL for TLS
+* libcitadel for information about the Citadel server, some string handling, and the JSON encoder
+* Expat for DAV handling
+* OpenSSL for TLS
 
 ## We are NOT using
 * Your favorite javascript library
index c231a933300b0fde59e6a2800f48d1686b2ebd32..057aabdb1bc300a62160eb44719ae6fda5cb839d 100644 (file)
@@ -46,7 +46,7 @@
        <div class="ctdl-grid-sidebar-item" id="sidebar">
                <ul id="ctdl-sidebar">
                        <li><button class="ctdl-sidebar-button" id="ctdl-sidebar-button-mail" onClick="gotoroom('_MAIL_');"><i class="fa fa-envelope fa-fw"></i>  Mail</button>
-                       <li id="ctdl_mail_folder_list" style="display:none">mail folders here</li>
+                       <li id="ctdl_mail_folder_list" style="display:none">id="ctdl_mail_folder_list"</li>
                        <li><button class="ctdl-sidebar-button" id="ctdl-sidebar-button-forums" onClick="render_room_list();"><i class="fas fa-comments fa-fw"></i>  Forums</button>
                        <li><button class="ctdl-sidebar-button" id="ctdl-sidebar-button-calendar" onClick="gotoroom('_CALENDAR_');"><i class="fa fa-calendar-alt fa-fw"></i>  Calendar</button>
                        <li><button class="ctdl-sidebar-button" id="ctdl-sidebar-button-contacts" onClick="gotoroom('_CONTACTS_');"><i class="fa fa-address-book fa-fw"></i>  Contacts</button>