Commit graph

124 commits

Author SHA1 Message Date
b2eeb5b9fd
chore: lints
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-28 16:10:35 +05:30
946a51e3ad
feat: s/gitea/forgejo/ 2022-12-28 16:08:24 +05:30
e4a8a6f5e4
fix: many-to-one repository mapping.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
DESCRIPTION
    A repository can have multiple deployments, this caused problems
    when linking webhooks to repositories. This patch links a webhook to
    all available deployments from the repository.
2022-12-28 14:07:09 +05:30
d919bad570
feat: test webhooks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-28 13:36:30 +05:30
0c6199494b
feat: install gitea webhook security deps and load gitea webhook module
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-28 04:39:13 +05:30
745b1eb0d5
feat: define gitea webhook routes 2022-12-28 04:38:57 +05:30
8b19a8cac5
chore: reuse app context's http client in conductor obj 2022-12-28 04:38:24 +05:30
3d11bfdcfc
feat: add gitea webhook template list REST API view 2022-12-28 04:37:42 +05:30
0e5db5c7a9
feat: add gitea webhook template inspect web view 2022-12-28 04:37:09 +05:30
b6d53c9937
feat: add gitea webhook template list web view 2022-12-28 04:36:54 +05:30
70e4650876
feat: add gitea webhook template and web view 2022-12-28 04:35:57 +05:30
e423ccc0ee
feat: REST API: list all webhooks created by user 2022-12-28 03:42:44 +05:30
5d4977f421
feat: db: list all webhooks created by user 2022-12-28 03:42:00 +05:30
201032fd07
feat: REST API: add and view webhooks 2022-12-28 03:22:23 +05:30
bce25be282
feat: db: get webhook with owner's username 2022-12-28 03:21:42 +05:30
51e3924d71
feat: db: get site details from repository URL 2022-12-27 20:15:15 +05:30
f26075b881
feat: register new gitea webhooks 2022-12-20 07:11:21 +05:30
631849fceb
fix: override DATABASE_URL _after_ URL is constructed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 12:35:10 +05:30
7db1fa3d3b
debug: db: url
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 11:49:42 +05:30
fdf31ecfd2
debug: CI: switch name back to database and print URI 2022-12-19 10:57:30 +05:30
0f44135f73
fix: CI: use github.com/mcaptcha/website for testing 2022-12-15 01:13:24 +05:30
be3af0e1fa
feat: relay site events to conductor 2022-12-15 01:00:15 +05:30
b7be2811d9
feat: talk to conductor 2022-12-15 00:59:52 +05:30
59b619f6fd
feat: accept conductor configuration 2022-12-15 00:59:35 +05:30
5c0f6fd84d
feat: use librepages/libconfig for handling deployment configurations 2022-12-09 14:24:02 +05:30
538bc41113
feat: fire and test deployment deletion event when deployment is deleted 2022-12-06 06:30:56 +05:30
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
ee6af46ccf
todo: erect deployment deletion tomstone 2022-12-05 19:15:49 +05:30
f111b5c8bf
feat: delete deployment from web UI
closes: #13
2022-12-05 17:40:38 +05:30
398f08c07a
feat: view site details, deploy secret and latest events
closes: #10
2022-12-05 15:48:16 +05:30
5917e5e29f
feat: DB: get site from deploy secret 2022-12-05 15:45:52 +05:30
7e17f9de0a
feat: add show and hide icons 2022-12-05 15:45:04 +05:30
7bf28f0f93
feat: use latest update event DB method when rendering dash home 2022-12-03 17:46:39 +05:30
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
d30d4e29b8
chore: rm debugging statement 2022-12-03 17:45:01 +05:30
bc7153a060
feat: add website from web UI
closes: #4 (comment)
2022-12-03 16:40:53 +05:30
1f1b21baac
feat: add public ID to deployments 2022-12-03 16:30:33 +05:30
f56ca02d39
chore: lints 2022-12-03 16:12:19 +05:30
330e835094
fix: test dashboard homepage and fix template vars in dash home 2022-12-03 15:31:40 +05:30
6660602ab6
fix: redirect to dashboard homepage if user is authenticated 2022-12-03 14:57:08 +05:30
cdeabb06aa
feat: dashboard homepage. List existing deployments with add site btn 2022-12-03 14:56:17 +05:30
21bea52323
fix: revert back to using github.com for testing 2022-12-03 14:53:12 +05:30
2d9e952040
fix: load identity middleware 2022-12-03 14:03:24 +05:30
1015ccbf4d
chore: refactor Event to be deserializ-able 2022-11-27 22:01:36 +05:30
8a25459985
fix: duplicate home page. Redirect to login page, if user is
unauthenticated and redirect to dashboard homepage if user is
authenticated
2022-11-27 21:25:57 +05:30
26fdc1db9f
chore: use common repo URL, as specified in src/tests.rs 2022-11-27 21:07:05 +05:30
54c0323105
chore: mv deploy and meta API endpoints to src/api/v1 2022-11-27 21:06:42 +05:30
20c3ee1f11
feat: test for unique event names and return event IDs on update API calls 2022-11-15 20:51:34 +05:30
f89b3e6d4c
feat: log site deploy ,update and delete events in db 2022-11-15 20:24:13 +05:30
1e0fa7279f
chore: apply clippy lints 2022-11-15 18:09:34 +05:30