Commit graph

171 commits

Author SHA1 Message Date
John "Elwin" Edwards
2d86b63c98 RLG-Web: set up user directories on registration
Have RLG-Web create various user directories when a new user registers,
as dgamelaunch does.  Also add some debugging messages if registration
fails.
2012-05-22 21:44:38 -07:00
John "Elwin" Edwards
e36f058daf RLG-Web: add user registration
Update the server and client sides of RLG-Web to make use of the new
registration feature of sqlickrypt.
2012-05-22 20:54:33 -07:00
John "Elwin" Edwards
dfbd2a71d0 sqlickrypt.c: add the ability to register new users.
When sqlickrypt is run with the option "register", it expects a
username, password, and email, and adds them to the database if the
username is not already in use.
2012-05-21 21:40:56 -07:00
John "Elwin" Edwards
e7bcd4be4a rlgwebd: switch to dgamelaunch's SQLite database.
The quickrypt utility is replaced with sqlickrypt, which takes a username
and password pair and checks them against the SQLite password database
used by dgamelaunch.  This will be more extensible to using rlgwebd to
register, change passwords, etc.
2012-05-20 15:52:07 -07:00
John "Elwin" Edwards
94f8630eb4 RLGWeb: switch to JSON protocol.
Port the JSON communication from WebTTY to RLGWeb.  Fixing out-of-order
messages is still not implemented on the server side.  Terminal size is
still hard-coded.  Unused code is still lying around.
2012-05-17 09:32:19 -07:00
John "Elwin" Edwards
db55f3f83c webtty.js: check message order.
Implement checking the numbers of the client's messages on the server.
Fixing out-of-ordering isn't implemented because the problem hasn't
been observed yet, though it likely will once actual network transit
is involved.
2012-05-15 16:26:28 -07:00
John "Elwin" Edwards
c7995adad5 shterm.js: Client-side message ordering
Make sure data from the server is written to the terminal emulator in
the correct order.  Out-of-order messages are stored in a queue until
their turn comes.
2012-05-15 09:30:12 -07:00
John "Elwin" Edwards
090e02ed59 webtty: switch upward protocol to JSON
Switch the client-to-server messages from the HTML forms format to
JSON (for the webtty app).  Message numbers are sent but not yet used.
2012-05-13 20:50:13 -07:00
John "Elwin" Edwards
32127f8b77 shterm.js: Add some debugging messages. 2012-05-13 08:47:35 -07:00
John "Elwin" Edwards
b6bf7038ca webtty: switch all server responses to JSON. 2012-05-11 13:33:48 -07:00
John "Elwin" Edwards
71d43603a9 webtty: begin experimenting with JSON protocol. 2012-05-09 16:36:11 -07:00
John "Elwin" Edwards
02cc454ad1 Make the emulator screen resizable. 2012-05-09 13:38:05 -07:00
John "Elwin" Edwards
5b0be4c820 Call the dgl replacement rlgwebd instead of webttyd. 2012-05-07 16:08:59 -07:00
John "Elwin" Edwards
f29453c763 WebTTY: switch terminal size to 80x25. 2012-05-07 16:03:10 -07:00
John "Elwin" Edwards
f40a08f3ef Put common key tables into a common file. 2012-05-07 13:08:24 -07:00
John "Elwin" Edwards
797e84ed08 Add support for the delete key. 2012-05-07 12:50:02 -07:00
John "Elwin" Edwards
ed87e67faa Client: don't assume the terminal is 24x80. 2012-05-07 11:09:14 -07:00
John "Elwin" Edwards
e6cb51d8bf webtty.js: remove tty-module code. 2012-05-06 15:22:13 -07:00
John "Elwin" Edwards
5d2a367e1d webtty.js: set up the environment and working directory. 2012-05-06 15:06:32 -07:00
John "Elwin" Edwards
508b41b488 Add a few comments. 2012-05-06 09:04:14 -07:00
John "Elwin" Edwards
8dec6dff87 Put this project under version control, finally. 2012-05-06 08:45:40 -07:00