Commit graph

18 commits

Author SHA1 Message Date
Aravinth Manivannan 3594d4e23b
feat: tombstone deployments instead of deleting them.
It is probably worthwhile storing deleted deployment('s events) for a
bit, before completely wiping them clean. Tombstone allows us to do
that.
2022-12-06 06:29:56 +05:30
Aravinth Manivannan f111b5c8bf
feat: delete deployment from web UI
closes: #13
2022-12-05 17:40:38 +05:30
Aravinth Manivannan 5917e5e29f
feat: DB: get site from deploy secret 2022-12-05 15:45:52 +05:30
Aravinth Manivannan c5ed6bf6c2
feat: add generic method to get latest event of any registered type and
get latest update event
2022-12-03 17:45:06 +05:30
Aravinth Manivannan 1f1b21baac
feat: add public ID to deployments 2022-12-03 16:30:33 +05:30
Aravinth Manivannan f56ca02d39
chore: lints 2022-12-03 16:12:19 +05:30
Aravinth Manivannan 1015ccbf4d
chore: refactor Event to be deserializ-able 2022-11-27 22:01:36 +05:30
Aravinth Manivannan 20c3ee1f11
feat: test for unique event names and return event IDs on update API calls 2022-11-15 20:51:34 +05:30
Aravinth Manivannan f89b3e6d4c
feat: log site deploy ,update and delete events in db 2022-11-15 20:24:13 +05:30
Aravinth Manivannan 1e0fa7279f
chore: apply clippy lints 2022-11-15 18:09:34 +05:30
Aravinth Manivannan 0b2db58483
feat: replace log crate with tracing 2022-11-11 14:56:36 +05:30
Aravinth Manivannan e5450801c1
feat: add DB method to check if hostname exists 2022-11-10 16:19:28 +05:30
Aravinth Manivannan 8aa736da27
fix: use ServiceError::WebsiteNotFound for site related DB operations 2022-11-10 15:23:30 +05:30
Aravinth Manivannan ec7d698252
feat: db: get_site_from_secret for API authentication 2022-11-09 14:45:25 +05:30
Aravinth Manivannan 71533b9860
feat: db: add, rm, list and get site 2022-11-09 14:07:45 +05:30
Aravinth Manivannan d8f2f82ab4
fix: expose update_* db methods 2022-09-12 00:22:56 +05:30
Aravinth Manivannan a0e93f0287
feat: auth db ops 2022-09-10 20:08:59 +05:30
Aravinth Manivannan 8150aa9ca1
feat: init and load db 2022-09-10 19:21:49 +05:30