Commit Graph

347 Commits (f668edda86905d1bc8d45888026aea1a6511615b)

Author SHA1 Message Date
Philippe Pittoli 4d73afa642 Bulma now has some input boxes. 2023-06-09 00:28:03 +02:00
Philippe Pittoli 48a9a55533 Add untested because I'm lazy, lol 2023-06-08 22:00:53 +02:00
Philippe Pittoli ed5b30900d Commit: ignore app/index.js 2023-06-08 21:51:58 +02:00
Philippe Pittoli 987133954f Bulma CSS style: WIP. 2023-06-08 21:51:12 +02:00
Philippe Pittoli 3831b275b4 Administrative interface for authd now in a new container. 2023-06-08 18:13:59 +02:00
Philippe Pittoli 7576bc682c Remove useless example code (child components A B and C). 2023-06-08 16:38:39 +02:00
Philippe Pittoli 09b2908403 Add bulma, remove 'npm serve' (let's go darhttpd!). 2023-06-08 16:31:51 +02:00
Philippe Pittoli 4a7cd19407 NPM: bulma and esbuild. 2023-06-08 16:10:23 +02:00
Philippe Pittoli 5f13307d86 UserAdded: message was correctly parsed after all. 2023-06-04 02:01:50 +02:00
Philippe Pittoli 6c69eaea5a Code in now way clearer. 2023-06-04 01:24:05 +02:00
Philippe Pittoli 0bdef754ae AddUser (WIP: working but UserAdded answer isn't parsed properly). 2023-06-03 03:50:54 +02:00
Philippe Pittoli 17b07ada18 Users can now register (but currently no validation). 2023-06-03 01:53:58 +02:00
Philippe Pittoli 57367168ae Register: new form inputs. 2023-06-03 00:54:18 +02:00
Philippe Pittoli c42cbbeb8a Authentication form now informs when there is a failed authentication attempt. 2023-06-02 20:05:03 +02:00
Philippe Pittoli 7804dd6647 AuthForm: WS disconnection on successful authentication. 2023-06-02 00:53:01 +02:00
Philippe Pittoli e44b1aebe9 Very slight code simplification. 2023-06-02 00:27:24 +02:00
Philippe Pittoli dc523d0c5f Successful authentication removes authentication form rendering. 2023-06-02 00:10:08 +02:00
Philippe Pittoli 361558f9f1 Authentication form is rendered only if no Token. Component output TODO. 2023-06-01 03:20:53 +02:00
Philippe Pittoli 39bc79d05c A few more request messages. 2023-06-01 02:19:18 +02:00
Philippe Pittoli 0b09cefa57 A few more messages. 2023-06-01 01:14:39 +02:00
Philippe Pittoli 84d285c9e9 Add a few requet message codecs (WIP). 2023-05-31 02:42:53 +02:00
Philippe Pittoli 5b08ba5b54 PermissionLevel: codec fixed. 2023-05-31 00:22:38 +02:00
Philippe Pittoli 5e6edd2f7f Grooming. 2023-05-30 23:13:24 +02:00
Philippe Pittoli ea0046783b Simplify a few things. 2023-05-30 16:42:52 +02:00
Philippe Pittoli d668f297dc Remove useless module. 2023-05-29 20:44:16 +02:00
Philippe Pittoli a51b943f84 AlternativeMain, to test stuff (currently sum types JSON encoding). 2023-05-27 17:04:23 +02:00
Philippe Pittoli bc5c7d3fde Grooming. 2023-05-27 15:56:28 +02:00
Philippe Pittoli f66aba1c41 Received messages codecs are okay-ish (some properties are missing in UserPublic module). 2023-05-27 13:35:44 +02:00
Philippe Pittoli d12278be30 New decoded messages: permissions! 2023-05-27 13:24:52 +02:00
Philippe Pittoli 20b3a5aeb2 Grooming for the PermissionLevel module. 2023-05-27 13:01:23 +02:00
Philippe Pittoli 9d3e139b52 Parse PermissionLevel (a simple sum data type). 2023-05-27 12:26:03 +02:00
Philippe Pittoli d17e29c1f5 Decode a few other message types. 2023-05-27 00:58:18 +02:00
Philippe Pittoli e80b71c0cd Codecs, Codecs everywhere! 2023-05-26 01:39:50 +02:00
Philippe Pittoli 2d269d088c Parsing JSON messages: FIXED. 2023-05-25 00:07:59 +02:00
Philippe Pittoli 0671e1780c Pretty print. 2023-05-23 02:50:08 +02:00
Philippe Pittoli 78e1922178 Print JSON message when there is a parsing problem. 2023-05-23 01:15:23 +02:00
Philippe Pittoli 29ee6f9a87 Main only starts App.Container. 2023-05-22 20:02:53 +02:00
Philippe Pittoli b4f5a4aefa re: better with the attached files. 2023-05-22 16:38:31 +02:00
Philippe Pittoli 48006c37e8 Multiple components: still WIP but compiling. 2023-05-22 16:23:21 +02:00
Philippe Pittoli 778a51604b Authentication form: improved. 2023-05-22 02:11:40 +02:00
Philippe Pittoli c94456e8f4 Removing warnings. 2023-05-22 00:42:44 +02:00
Philippe Pittoli df11d8e7aa Compiles again. 2023-05-21 22:10:20 +02:00
Philippe Pittoli 089ba00c58 decodeAnswerMessage doesn't work atm. 2023-05-21 20:39:33 +02:00
Philippe Pittoli ce57643cec Minor changes (mostly comments). 2023-05-21 18:08:41 +02:00
Philippe Pittoli 0d99e00e93 IPC: final message format (typed messages) is implemented. 2023-05-21 16:04:43 +02:00
Philippe Pittoli faa258b54e Playing with AuthD messages. WIP. 2023-05-21 02:52:15 +02:00
Philippe Pittoli e19ff224b0 New way to handle messages. Still very much WIP. 2023-05-21 02:13:09 +02:00
Philippe Pittoli 864b5f24ee First try at doing JSON stuff. 2023-05-21 00:32:08 +02:00
Philippe Pittoli ef623b8f1c Add an example of Websockets with ArrayBuffer. 2023-05-20 13:50:11 +02:00
Philippe Pittoli 4aa473f1f0 Add shared example on discord. 2023-05-20 00:49:12 +02:00