Commit graph

204 commits

Author SHA1 Message Date
Aravinth Manivannan e819cf850a
feat: load form api settings 2022-12-29 16:40:06 +05:30
Aravinth Manivannan 088088c91e
feat: CI: deploy librepages/forms
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-29 03:42:50 +05:30
Aravinth Manivannan fe76a648a4
feat: deploy forms in dev env script 2022-12-29 03:39:26 +05:30
Aravinth Manivannan b2eeb5b9fd
chore: lints
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-28 16:10:35 +05:30
Aravinth Manivannan 946a51e3ad
feat: s/gitea/forgejo/ 2022-12-28 16:08:24 +05:30
Aravinth Manivannan 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
Aravinth Manivannan d919bad570
feat: test webhooks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-28 13:36:30 +05:30
Aravinth Manivannan 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
Aravinth Manivannan 745b1eb0d5
feat: define gitea webhook routes 2022-12-28 04:38:57 +05:30
Aravinth Manivannan 8b19a8cac5
chore: reuse app context's http client in conductor obj 2022-12-28 04:38:24 +05:30
Aravinth Manivannan 3d11bfdcfc
feat: add gitea webhook template list REST API view 2022-12-28 04:37:42 +05:30
Aravinth Manivannan 0e5db5c7a9
feat: add gitea webhook template inspect web view 2022-12-28 04:37:09 +05:30
Aravinth Manivannan b6d53c9937
feat: add gitea webhook template list web view 2022-12-28 04:36:54 +05:30
Aravinth Manivannan e97712312f
fix: web: favicon alt-text crowding 2022-12-28 04:36:39 +05:30
Aravinth Manivannan 70e4650876
feat: add gitea webhook template and web view 2022-12-28 04:35:57 +05:30
Aravinth Manivannan e423ccc0ee
feat: REST API: list all webhooks created by user 2022-12-28 03:42:44 +05:30
Aravinth Manivannan 5d4977f421
feat: db: list all webhooks created by user 2022-12-28 03:42:00 +05:30
Aravinth Manivannan 201032fd07
feat: REST API: add and view webhooks 2022-12-28 03:22:23 +05:30
Aravinth Manivannan bce25be282
feat: db: get webhook with owner's username 2022-12-28 03:21:42 +05:30
Aravinth Manivannan 51e3924d71
feat: db: get site details from repository URL 2022-12-27 20:15:15 +05:30
Aravinth Manivannan f26075b881
feat: register new gitea webhooks 2022-12-20 07:11:21 +05:30
Aravinth Manivannan b93373e96b
fix: CI: build release profile bin and publish
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-19 15:15:18 +05:30
Aravinth Manivannan 4b1535848f
fix: rm cmd in publisher
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 14:16:46 +05:30
Aravinth Manivannan f205543c02
fix: CI: don't purge publisher img
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 13:52:30 +05:30
Aravinth Manivannan cfc3f81989
feat: CI: bin publish
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 13:34:42 +05:30
Aravinth Manivannan 88aa76c55b
feat: bin publisher docker img. Get bin from realaravinth/librepages 2022-12-19 13:34:29 +05:30
Aravinth Manivannan ee23632e90
fix: bulid with DATABASE_URL unset and apply migrations
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 12:50:06 +05:30
Aravinth Manivannan 98e3a9d810
fix: switch to global env vars
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 12:43:13 +05:30
Aravinth Manivannan 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
Aravinth Manivannan e1c475d05a
debug: CI: switch to local env vars for passing DATABASE_URL
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 12:31:12 +05:30
Aravinth Manivannan a0144bcf9b
debug: CI: explicitly supply DATABASE_URL
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 12:00:53 +05:30
Aravinth Manivannan 7db1fa3d3b
debug: db: url
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 11:49:42 +05:30
Aravinth Manivannan fdf31ecfd2
debug: CI: switch name back to database and print URI 2022-12-19 10:57:30 +05:30
Aravinth Manivannan 0a05fb945f
debug: CI: rm db port from url
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 10:48:45 +05:30
Aravinth Manivannan fb967e554b
debug: CI: pass DB url as string
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 10:42:45 +05:30
Aravinth Manivannan b249696776
debug: CI: use different hostname for postgres container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 10:34:51 +05:30
Aravinth Manivannan 55e4c95d6c
fix: checkin sqlx offline compilation data
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 10:24:51 +05:30
Aravinth Manivannan 56c1a5373e
fix: CI: unset DATABASE_URL while fetching deps 2022-12-19 09:49:18 +05:30
Aravinth Manivannan f021e6fa87
fix: update sqlx offline compilation data
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 09:14:35 +05:30
Aravinth Manivannan 97b59a7576
fix: CI: sed command
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 09:04:38 +05:30
Aravinth Manivannan 409b2be66d
fix: CI: rm release build step, use binary from docker img
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:51:52 +05:30
Aravinth Manivannan abe3cf1dac
fix: CI: use the right image to publish bins 2022-12-19 08:51:40 +05:30
Aravinth Manivannan 87f39721c9
fix: CI: write sed output to config file & rm init conductor from make dev-env
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:45:27 +05:30
Aravinth Manivannan 61fe325db0
fix: CI: source code uri
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:41:34 +05:30
Aravinth Manivannan f919dcb691
fix: CI: fix conductor type
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:38:06 +05:30
Aravinth Manivannan 04e3ab398d
fix: CI: booleans
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:36:01 +05:30
Aravinth Manivannan 20e326fb51
fix: CI: port is a number
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:34:25 +05:30
Aravinth Manivannan df3ed747b0
fix: CI: add librepages-conductor img
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-19 08:33:48 +05:30
Aravinth Manivannan 4250a62165
feat: add CI build status badge 2022-12-19 08:27:28 +05:30
Aravinth Manivannan 321ff0beb8
fix: cache-buster link 2022-12-19 06:37:11 +05:30