Bram van den Heuvel
865e83cdae
Improve Task Chain
2023-11-03 22:43:28 +01:00
Bram van den Heuvel
770423bcd2
LARGE refactor
...
This refactor is an improvement on the API architecture:
- Tasks are replaced by Cmd
- Tasks will now always succeed so the Vault can deal with the issues itself
- Failed tasks will be recorded so they can be re-attempted later
- The Snackbar now fully supports editing sub-parts of a data type.
2023-04-19 15:09:10 +02:00
Bram van den Heuvel
619cd53a3a
Refactor Credentials to Snackbar
...
The Snackbar type is a type of candies (tokens) that is brought along with any data type that may be passed on to the user.
2023-04-12 15:36:56 +02:00
Bram van den Heuvel
290be4e746
Save account data value on confirmation by server
2023-04-06 14:17:17 +02:00
Bram van den Heuvel
75971fec66
Add temporary events
...
The SDK now supports temporarily showing events before getting them from sync.
One example is to let users show the messages they sent themselves before the sync confirms that their events are on the timeline.
2023-04-05 13:57:25 +02:00
Bram van den Heuvel
54f99f0f05
Expose account_data getter/setter functions
2023-03-31 16:39:43 +02:00
Bram van den Heuvel
01f97255fe
contentType --> eventType
2023-03-31 13:50:05 +02:00
Bram van den Heuvel
02c0a8d7f6
Add cookies demo
2023-03-24 17:01:25 +01:00
Bram van den Heuvel
098b38170a
Add event to get older events
2023-03-23 22:45:26 +01:00
Bram van den Heuvel
d03aea1f3f
Add exposed Room type
2023-03-15 19:39:48 +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
10903b0e05
Rename CredUpdate -> VaultUpdate
2023-03-14 15:50: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
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
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