SimpleCloudNotifier/scnserver
2023-01-06 02:03:10 +01:00
..
.idea migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
api migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
cmd/scnserver migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
db migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
google move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
jobs migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
logic migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
models Fix SQL unmarshalling of optional nested structs (LEFT JOIN) 2022-12-22 12:43:40 +01:00
push move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
swagger small cleanups 2022-12-23 20:27:21 +01:00
test migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
website move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
.gitignore move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
config.go goext 55 2023-01-06 02:03:10 +01:00
Dockerfile move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
go.mod goext 55 2023-01-06 02:03:10 +01:00
go.sum goext 55 2023-01-06 02:03:10 +01:00
init.go move server/* to scnserver/* 2022-12-21 12:35:56 +01:00
Makefile Added a SQL-Preprocessor - this way we can unmarshal recursive structures (LEFT JOIN etc) 2022-12-21 18:14:13 +01:00
README.md migrate to multiple sqlite db files ( primary + requests + logs ) 2023-01-06 00:39:21 +01:00
util.go move server/* to scnserver/* 2022-12-21 12:35:56 +01:00

TODO


  • migration script for existing data

  • app-store link in HTML

  • route to re-check all pro-token (for me)

  • tests (!)

  • deploy

  • diff my currently used scnsend script vs the one in the docs here

  • Pagination for ListChannels / ListSubscriptions / ListClients / ListChannelSubscriptions / ListUserSubscriptions

  • cannot open sqlite in dbbrowsr (cannot parse schema?)

  • (?) use str-ids (also prevents wrong-joins) -> see psycho

  • error logging as goroutine, get sall errors via channel, (channel buffered - nonblocking send, second channel that gets a message when sender failed ) (then all errors end up in second sqlite table) due to message channel etc everything is non blocking and cant fail in main

  • request logging (log all requests with body response, exitcode, headers, uri, route, userid, ..., tx-retries, etc), (trim body/response if too big?)

  • jobs to clear requests-db and logs-db after to only keep X entries...

-> logs and request-logging into their own sqlite files (sqlite-files are prepped)


  • in my script: use (backupname || hostname) for sendername

  • (?) default-priority for channels

  • (?) ack/read deliveries && return ack-count (? or not, how to query?)

  • (?) "login" on website and list/search/filter messages

  • (?) make channels deleteable (soft-delete) (what do with messages in channel?)