Bram van den Heuvel
31420c37fe
Push /messages to spec versions v1.7 and v1.8
2023-09-22 15:01:28 +02:00
Bram van den Heuvel
18fd7426c9
Push /get-event to spec versions v1.7 and v1.8
2023-09-22 14:56:47 +02:00
Bram van den Heuvel
c91f77bab8
Push /ban to spec versions v1.7 and v1.8
2023-09-22 14:43:04 +02:00
Bram van den Heuvel
e8a7a28285
Add description for spec versions v1.7 and v1.8
2023-09-22 14:37:38 +02:00
Bram van den Heuvel
1f0b817697
Add filter problem whitepaper
2023-05-12 20:18:09 +02: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
4aaabe3a0a
Add status code errors
2023-04-18 14:55:11 +02:00
Bram van den Heuvel
3f4508d07c
Fix temporary issue
2023-04-12 15:38:00 +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
66383551d1
Update Event documentation
2023-04-12 12:00:08 +02:00
Bram van den Heuvel
a8d1cb4c4b
Update Room documentation
2023-04-12 11:59:56 +02:00
Bram van den Heuvel
e1f12a8ae2
Fix temp event incorrect de-caching bug
2023-04-11 15:47:29 +02:00
Bram van den Heuvel
2769685c13
Remove temp events only on confirmed sync
2023-04-06 15:51:59 +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
70cbe5b682
elm-format
2023-04-05 12:50:15 +02:00
Bram van den Heuvel
f18dbcc941
Force access token on account data + fix bug
2023-04-04 16:11:50 +02:00
Bram van den Heuvel
bc2d1a183b
Add function to get username
2023-04-04 16:11:16 +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
ff84d70d7f
Add internal account_data getter and setter
2023-03-31 16:23:14 +02:00
Bram van den Heuvel
e2dd69c5d2
Add account data viewer
2023-03-31 13:50:43 +02:00
Bram van den Heuvel
01f97255fe
contentType --> eventType
2023-03-31 13:50:05 +02:00
Bram van den Heuvel
1e1d9490bf
Temporarily remove whoami for demo
...
It's annoying, and it doesn't serve any purpose if it's not getting used anyway.
2023-03-24 17:11:10 +01:00
Bram van den Heuvel
02c0a8d7f6
Add cookies demo
2023-03-24 17:01:25 +01:00
Bram van den Heuvel
cd3a16d6bd
Update elm.json
2023-03-24 15:26:14 +01:00
Bram van den Heuvel
ba4a4b98c3
Fix imports + remove unused variables
2023-03-24 15:22:04 +01:00
Bram van den Heuvel
4de2bd03b1
Add VaultUpdate case for banning + whoami
2023-03-24 15:16:40 +01:00
Bram van den Heuvel
eb047e0bff
Utilize /whoami for better token evaluation
2023-03-24 15:12:59 +01:00
Bram van den Heuvel
c45ecd2da3
Add /whoami API endpoint
2023-03-24 14:56:31 +01:00
Bram van den Heuvel
4de93e9039
Update documentation
2023-03-24 14:19:25 +01:00
Bram van den Heuvel
bf2cf7395a
Add ban API
2023-03-24 14:14:58 +01:00
Bram van den Heuvel
e2ae6f582e
Add exposed Event module
2023-03-24 14:14:15 +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
c32a62c242
Get older messages from a chat
2023-03-22 15:22:57 +01:00
Bram van den Heuvel
e0086daa59
Update login for all spec versions
...
The currently officially supported/legacy spec versions, at least.
2023-03-19 16:45:56 +01:00
Bram van den Heuvel
5dfd95196b
Updating spec versions documentation
2023-03-16 11:58:32 +01:00
Bram van den Heuvel
b09ef1c7e8
Upgrade to spec version v1.6
2023-03-16 10:32:03 +01:00
Bram van den Heuvel
0c535916eb
Add documentation to exposed modules
2023-03-16 10:24:03 +01:00
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