You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TODO.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# ToDo Next
2
+
-[ ] current forgejo based backend should be migrated to one where the tokens in the config cannot be used as is, I though of two methods, both depending on adding a new endpoint to mint tokens:
3
+
- option 1: generate a private token (or let the user provide it) -> feed into keyed hash function with server secret -> result is public token. When a request comes in, do the same and look at fetched config
4
+
- option 2: generate a private token (or let the user provide it) -> encrypt with server secret -> result is saved in the config. When fetching a new config, we decrypt the tokens in the config and then can just look up the tokens in memory for incoming requests
5
+
6
+
7
+
# Ideas for the future
8
+
> Some of the feature below might be better handled by a workflow engine or serverless functions platform
1
9
-[ ] migrate away from quasi stateless forgejo backend to a stateful sqlite one, that auto restored litestream backup on startup and stream litestream backups to target location during operation
2
10
-[ ] use new backend to implement url shortening service under $patchwork_domain/s/...
3
11
-[ ] add oidc integration for auth to manage data, tokens etc
@@ -8,4 +16,4 @@
8
16
-[ ] look into adding data storage for small scripts
9
17
-[ ] add web endpoints for mqtt broker (subscribe to mqtt patterns using SSE, send messages using a simple POST)
10
18
-[ ] look into optional integration into a mosquitto-logger service (idea would be to integrate it, but make it optional and allow users to start the logger without the rest of the server)
11
-
-[ ] think about integrating simple file sharing using s3 backend with pre-signed urls etc (or direct rclone integration instead)
19
+
-[ ] think about integrating simple file sharing using s3 backend with pre-signed urls etc (or direct rclone integration instead)
0 commit comments