Commit Graph

  • 3c40cc381e Add missing argument to the delete/2 function. main absc 2024-09-15 20:28:22 +0000
  • be8fd2e0e6 Remove also the cookies using storage:delete_set/2. absc 2024-09-15 20:21:03 +0000
  • 140427853e Add delete_set, a function needed to remove a series of records from a bucket. absc 2024-09-15 20:18:38 +0000
  • 5b73df8999 Corrected the back-end calls to support multi-hosting. absc 2024-09-15 19:22:47 +0000
  • b784afdea5 The users app depends on the storage layer and on crypto. absc 2024-09-15 18:56:40 +0000
  • e7754b972c The back-end does not need to initialize the rand subsystem. absc 2024-09-15 18:53:36 +0000
  • ea339a1024 Updated che back-end to use the new multi-host calls. absc 2024-09-15 13:44:10 +0000
  • b1c4ab8e16 Add support for multi-host to the authentication module. absc 2024-09-15 13:23:38 +0000
  • f51847fe97 Handle multi-host users. absc 2024-09-15 13:17:19 +0000
  • 9e100b0317 Also the users process does not depend on ranch and cowboy. absc 2024-09-15 12:45:56 +0000
  • c3731bf0f3 The back-end does not depend from ranch and cowboy. absc 2024-09-15 12:44:10 +0000
  • 9fd60a2dfa The main includes are from the back-end. absc 2024-09-15 12:41:47 +0000
  • 5f14a4f6cb Start to split the back-end further in more minor processes. absc 2024-09-15 12:14:29 +0000
  • e5631798ce Corrected compilation problems. absc 2024-09-10 19:47:53 +0000
  • b357ae8124 Correct application files. absc 2024-09-10 19:43:08 +0000
  • eebf62d527 Split the web front-end and the backend into separate applications. absc 2024-09-10 19:40:30 +0000
  • 31da1067da Add the backend app. absc 2024-09-09 20:14:18 +0000
  • 0e7c173cba Corrected the usage of ERLFLAGS. absc 2024-08-15 22:48:21 +0000
  • 45b5bc3d2d Corrected documentation string. absc 2024-08-15 22:44:45 +0000
  • 18a430614f Use proplists instead of lists. absc 2024-08-15 22:39:22 +0000
  • e95e91b645 The defines file is not needed here. absc 2024-08-15 22:15:57 +0000
  • ae07951cd2 Add the authentication handler to the routes. absc 2024-08-15 22:11:19 +0000
  • 1ca3e1f4ef No need to mention the cookies. absc 2024-08-15 22:08:46 +0000
  • eb58109292 Add the macros file. absc 2024-08-15 22:03:30 +0000
  • 861f3e0258 Use macros for the cookie names. absc 2024-08-15 22:02:57 +0000
  • 812b182499 Abstract updating user informations. absc 2024-08-15 21:59:35 +0000
  • bbb44f9337 Make reading the registration data a more abstract operation. absc 2024-08-15 21:54:41 +0000
  • b3cdc8ee45 Abstract reading the login data from the request. absc 2024-08-15 21:45:36 +0000
  • f9d3c5fa4b Make indentation consistent. absc 2024-08-15 21:26:22 +0000
  • a3f041cff7 Remove not needed newline. absc 2024-08-15 21:22:54 +0000
  • 38d8e29734 Abstract setting the cookie for the client request. absc 2024-08-15 21:20:38 +0000
  • c9fcd47064 Abstract cookies invalidation. absc 2024-08-15 21:12:07 +0000
  • a18fa4989c Use the auth_cookie function to extract cookies. absc 2024-08-15 21:02:41 +0000
  • dac21c4537 Abstract cookie handling. absc 2024-08-15 21:00:06 +0000
  • a0cbc962d1 Corrected call to authenticate. absc 2024-08-15 20:41:30 +0000
  • 29cb046e3d Corrected authenticate function calls. absc 2024-08-15 20:37:08 +0000
  • 73d98ed56f Move the defines in their own file. absc 2024-08-15 20:27:02 +0000
  • e7e34d78d6 We plan to use this with a reverse proxy. The plan may change in the future. absc 2024-08-12 21:01:16 +0000
  • e8ccc3a29f Keep it simple for now. We want to write a proper test suite for this and letting it crash is more than good enough. absc 2024-08-12 21:00:26 +0000
  • 2ad3b52c06 Corrected syntax error. absc 2024-08-12 20:41:24 +0000
  • f60a8b1725 Import "gun", the HTTP client. We will use it for the tests and the ActivityPub activities. absc 2024-08-11 22:08:52 +0000
  • 640ffe4d75 Corrected stuffs found through the dialyzer. absc 2024-08-11 20:56:11 +0000
  • 2b530fbe7e Added some more detailed responses to the JSON API calls. absc 2024-08-11 20:49:48 +0000
  • 2d0d384d1e Add the JSON body to the user API responses. absc 2024-08-09 22:35:53 +0000
  • dcc7bc3ca3 Introduce the authentication handler. absc 2024-08-09 22:19:17 +0000
  • 51675065a9 Pass the user for authentication with cookies in a cookie itself. absc 2024-08-09 20:37:47 +0000
  • 6acd5e3a5a Move the cookie parameter as value. absc 2024-08-09 19:50:19 +0000
  • 318ab0d301 Corrected module documentation. absc 2024-08-07 22:19:11 +0000
  • ceea61c1ed Add the username to the JSON response to GET. absc 2024-08-07 22:10:45 +0000
  • df09a192b0 Updated function documentation specification. absc 2024-08-07 20:26:38 +0000
  • 3b9693e276 Properly set the cookie validity, and return it to the caller along with the cookie itself. absc 2024-08-07 20:22:45 +0000
  • 9bf0e3609a Replace hard-coded value with the macro. absc 2024-08-07 01:23:30 +0200
  • b06e7d9f50 Complete the registration API. absc 2024-08-07 01:17:35 +0200
  • 2b995f67c8 After some internal (with myself) debate, we will go with JSON. absc 2024-08-04 13:54:46 +0200
  • 96781451b0 Improve the registration bit. absc 2024-08-03 01:13:47 +0200
  • fa66ec399d We only allow POST for the registration form. absc 2024-08-02 23:46:24 +0200
  • 2470af1296 Give a better name to the registration handler. absc 2024-08-02 23:43:03 +0200
  • 631f729ed9 No, JSON is not needed here. absc 2024-08-02 23:40:55 +0200
  • 33cc07914d Complete the GET handler. It would return some wrong codes before. absc 2024-08-02 23:24:54 +0200
  • f1ad05f789 Make the ip address type configurable. absc 2024-08-02 23:15:28 +0200
  • dbf5371122 The routes were in the wrong format. Correct them. absc 2024-08-02 23:12:33 +0200
  • 59f02f4edf This application will handle the mime types at the web request layer. absc 2024-08-02 23:05:41 +0200
  • 94ee24c777 Add the right arguments to the bootstrap procedure. absc 2024-08-02 22:56:03 +0200
  • c6328bd174 The bootstrap procedure must be done before the first start. absc 2024-08-02 22:53:04 +0200
  • 60989b17cd Revert "Remove table replica functions." absc 2024-07-28 19:26:44 +0200
  • 529f15c301 Remove table replica functions. absc 2024-07-28 17:50:04 +0200
  • e571a69820 Use crypto:rand_seed(). absc 2024-07-27 13:16:05 +0200
  • ab3ca1ec64 No need to use an additional variable just to compose the salted pass. absc 2024-07-27 12:38:30 +0200
  • 80af46c6be Just use the classic POST form. absc 2024-07-27 12:36:14 +0200
  • 895e0a5330 Enter the user handler API. absc 2024-07-27 01:57:34 +0200
  • 285f4ad402 Correct the callback matching for the ProvidedCallback function. absc 2024-07-25 01:18:00 +0200
  • 8f7481d785 Use the REST handler instead of the default one. absc 2024-07-24 23:32:16 +0200
  • 03b76bddf2 No need for the bucket to be configurable. absc 2024-07-23 23:42:31 +0200
  • 3280596836 Skeleton for the storage bootstrap. absc 2024-07-23 23:15:36 +0200
  • 65d6e5fa05 File committed as error. absc 2024-07-23 22:59:39 +0200
  • 1f243b16d3 Import the initial dudeswave code. absc 2024-07-23 22:52:57 +0200
  • 14e6c3cc94 Import the storage application. absc 2024-07-23 22:09:08 +0200
  • 4aa09346d7 Import ranch. absc 2024-07-23 22:07:38 +0200
  • 9fdf706bcb Import cowboy. absc 2024-07-23 22:06:21 +0200
  • 8ebac63dac Import cowlib. absc 2024-07-23 22:04:25 +0200