This is a better version of detect_logged_in() for webcit-ng that
authorArt Cancro <ajc@citadel.org>
Fri, 14 Jan 2022 16:08:55 +0000 (11:08 -0500)
committerArt Cancro <ajc@citadel.org>
Fri, 14 Jan 2022 16:08:55 +0000 (11:08 -0500)
commit366e4c2fd1d8ee0036ee9705c49241655874ae92
tree87f0e4c42be899aaaaf752b5d76422d79a59f877
parent224e9cc7a1a084568e136f7b959c32e177ce7ef8
This is a better version of detect_logged_in() for webcit-ng that
checks the server cookie instead of clumsily attempting a command.
This works synchronously so it can be combined with other commands
without creating a race condition.  Also moved the login screen to
a modal.
webcit-ng/ctdlclient.c
webcit-ng/http.c
webcit-ng/static/index.html
webcit-ng/static/js/login.js
webcit-ng/static/js/main.js
webcit-ng/static/js/util.js
webcit/listsub.c