Commit Graph

103 Commits (8816f0e8372454c6204e13ee13d10b15d7250f58)

Author SHA1 Message Date
Bram van den Heuvel d03aea1f3f Add exposed Room type 2023-03-15 19:39:48 +01:00
Bram van den Heuvel c9cace695f Add first exposed modules 2023-03-15 15:32:02 +01:00
Bram van den Heuvel 1d90d300da Add RoomInvite type 2023-03-15 15:31:29 +01:00
Bram van den Heuvel 45142509d3 Add functionality to join rooms by their id 2023-03-14 23:04:42 +01:00
Bram van den Heuvel 27b3fc562e Eliminate unused code 2023-03-14 22:31:55 +01:00
Bram van den Heuvel 92e9527854 Add complex functions for API endpoints
The Vault will now get an event after having sent it to see what it looks like.

If the user has an expired access token, the Vault will get a new token on the next sync.
2023-03-14 22:11:15 +01:00
Bram van den Heuvel 8c473425f2 Fix bugs 2023-03-14 16:12:44 +01:00
Bram van den Heuvel 840b30e6f3 Fix ASCII snake 2023-03-14 15:51:40 +01:00
Bram van den Heuvel 10903b0e05 Rename CredUpdate -> VaultUpdate 2023-03-14 15:50:23 +01:00
Bram van den Heuvel e90f823000 Refactor: connect API tasks to Context 2023-03-14 15:18:23 +01:00
Bram van den Heuvel e7804b096f Implement Credentials conversion into API 2023-03-13 17:04:52 +01:00
Bram van den Heuvel 81a591383f Move phantom Context type to Internal/Tools folder 2023-03-13 13:53:26 +01:00
Bram van den Heuvel e62b6a09c4 Rename Elm types
Credentials -> Vault

Context (upper level) -> Credentials

Context (lower level) remains called Context
2023-03-13 13:50:41 +01:00
Bram van den Heuvel d3637cf45f elm-format 2023-03-13 13:42:00 +01:00
Bram van den Heuvel aa0fe12fb8 Finish chain refactor 2023-03-12 14:53:56 +01:00
Bram van den Heuvel 65591b710c Refactor to TaskChains 2023-03-10 21:34:25 +01:00
Bram van den Heuvel bd73b97e93 Add invite sending 2023-03-07 14:10:47 +01:00
Bram van den Heuvel dc39036162 Add event redaction 2023-03-05 23:24:27 +01:00
Bram van den Heuvel 69c273f8bf Add API endpoint support documentation 2023-03-05 22:44:05 +01:00
Bram van den Heuvel 692a42bdf8 Add automated login 2023-03-05 22:43:01 +01:00
Bram van den Heuvel 9dec58b3d4 Refactor public types 2023-03-03 16:07:37 +01:00
Bram van den Heuvel caab0ae0bb Finish 1st version of open types
The code is very messy and there are a few optimizations to be made before the code is both user- and developer-friendly, but at least it works.
2023-03-02 14:55:08 +01:00
Bram van den Heuvel 7e345c2b05 Connect internal Credentials, Room, Event
WARNING: contains a few syntax errors - still work in progress
2023-03-01 15:58:40 +01:00
Bram van den Heuvel f88c9604dc Add rooms to Credentials 2023-03-01 12:06:01 +01:00
Bram van den Heuvel 205263f5cd Transform API results into CredUpdate types 2023-03-01 11:40:31 +01:00
Bram van den Heuvel 68d93180c1 Add PreApi for getting unavailable values 2023-03-01 11:21:22 +01:00
Bram van den Heuvel c844c94564 Finish files before API end functions refactor 2023-02-21 16:57:58 +01:00
Bram van den Heuvel 305a312b72 Add CredUpdate type 2023-02-17 15:08:57 +01:00
Bram van den Heuvel faac764c07 Add src/Internal/Credentials.elm 2023-02-17 12:15:58 +01:00
Bram van den Heuvel f7441a54eb Remove old VersionControl.elm 2023-02-17 12:15:36 +01:00
Bram van den Heuvel 186c92c515 Documentation for Credentials type 2023-02-17 11:30:59 +01:00
Bram van den Heuvel 3bdcba13bc Fix Elm warnings 2023-02-17 11:20:54 +01:00
Bram van den Heuvel 885da04383 Edit spec versions on endpoints 2023-02-17 11:16:11 +01:00
Bram van den Heuvel 045b67d77d elm-format 2023-02-17 11:10:03 +01:00
Bram van den Heuvel eaa7bc3444 Refactor Sync endpoint 2023-02-17 11:07:16 +01:00
Bram van den Heuvel a0f19a3fdc Refactor GetEvent API endpoint 2023-02-13 19:09:32 +01:00
Bram van den Heuvel a47d80af9e elm-format 2023-02-13 18:07:08 +01:00
Bram van den Heuvel 293a37c8cd Refactor JoinedMembers API endpoint 2023-02-13 18:05:05 +01:00
Bram van den Heuvel e8c0345290 Write support for sending state key 2023-02-09 19:09:50 +01:00
Bram van den Heuvel 1fcb754e55 Add documentation + add `sameForVersion` function 2023-02-09 18:57:56 +01:00
Bram van den Heuvel dbbd009a58 Rewrite send message library
This should make the modules a lot more flexible when it comes to modular version control.
2023-02-09 15:50:14 +01:00
Bram van den Heuvel d20bc4ae36 elm-format 2023-02-08 16:53:17 +01:00
Bram van den Heuvel 4797ba2f93 Add new Elm types
I have had a few helpful Elm ideas and lessons while at FOSDEM, which may help the project in positive ways. For example, the fact that the file `Leaking.elm` exists, suggests that the code has a few downsides that may shine through when a refactor is made. For this reason, some features will be reworked and reprogrammed.

Luckily, Elm's homepage claims that this language is easy to refactor. :)
2023-02-08 16:52:54 +01:00
Bram van den Heuvel 3bf84a2a57 Add `StateManager` type 2023-01-30 11:31:47 +01:00
Bram van den Heuvel a5af1c40a0 Add `Event` type 2023-01-30 11:31:21 +01:00
Bram van den Heuvel 9b25ca215c Add `All.elm`
This file is the one that should be accessed by files and folders that are allowed to import from the `Internal/Api/` folder.
2023-01-30 10:47:46 +01:00
Bram van den Heuvel c673372534 Add `src/Internal/Api` 2023-01-09 16:57:25 +01:00
Bram van den Heuvel 206353b583 Add Exceptions 2023-01-05 06:47:41 +01:00
Bram van den Heuvel cb3c570c39 Add `src/Internal/Config` folder 2023-01-05 06:40:38 +01:00
Bram van den Heuvel 49f73bac4f Add `src/Internal/Tools` folder 2023-01-05 06:20:34 +01:00