Commit Graph
81 Commits
Author SHA1 Message Date
3wc ff4e63339f Merge branch 'master' into yolocolo 2021-08-04 12:19:57 +02:00
3wc bcd1190f50 Fix API 🙈 2021-07-29 11:36:58 +02:00
3wc 6963e22933 Merge branch 'publicapi' into yolocolo 2021-07-29 11:16:54 +02:00
3wc 816be36a52 Revert unthemed template changes, tweak theme 2021-07-29 11:11:51 +02:00
3wc d6f2f6d0bf Merge branch 'master' into yolocolo 2021-07-29 09:47:31 +02:00
3wc cffa40c0e3 Fix up API 2021-07-23 23:28:06 +02:00
3wc 6dbae94bd6 Fix typo 2021-07-23 18:08:05 +02:00
3wc 42edcd1c33 Updates for upstream IP handling 2021-07-23 18:07:37 +02:00
3wc b27d5b3c5b Add basic "create" API..
.. using server-side API tokens
2021-07-23 18:07:35 +02:00
3wc cfb323bf60 Merge branch 'yc-templates' into yolocolo 2021-07-22 01:03:02 +02:00
3wc 8c7197f118 Merge branch 'docker' into yolocolo 2021-07-22 01:02:34 +02:00
3wc fb83f52162 Merge branch 'master' into yolocolo 2021-07-22 00:57:01 +02:00
3wc 982556a2c5 Tag with current branch, instead of latest 2021-07-22 00:28:33 +02:00
3wc 13646e64da Make docker-compose file less demanding 2021-07-21 23:50:47 +02:00
3wc 67149f437a Changes from @decentral1se code review 2021-07-21 23:50:47 +02:00
3wc 308ac05fe6 Add openssh-cient to Dockerfile for ssh-keyscan 2021-07-21 23:50:47 +02:00
3wc c378c2b287 STRIPE_SECRET_KEY not STRIPE_PUBLISHABLE_KEY 2021-07-21 23:50:47 +02:00
3wc 5367822747 Load secrets from files if _FILE vars are set 2021-07-21 23:50:47 +02:00
3wc e295b4420c Docker updates for libvirtd 2021-07-21 23:50:47 +02:00
3wc e4180b8306 Use Flask server in development 2021-07-21 23:50:47 +02:00
3wc 5cd5126039 Multi-stage build oh my! 2021-07-21 23:50:47 +02:00
3wc f8e9ab2482 Initial attempt at Docker 2021-07-21 23:50:47 +02:00
3wc c4ba5ea197 Merge branch 'master' of ssh://git.autonomic.zone:2222/3wordchant/capsul-flask 2021-07-21 23:46:37 +02:00
3wc 33f4551cf4 Merge branch 'docs-reshuffle' 2021-07-21 23:44:42 +02:00
3wc 0fa7fb28b5 Split README up into separate files, plus:
* forest's ReadMe docs changes
* add Configuration-type-stuff that lives in the database
2021-07-21 23:43:44 +02:00
3wc bf7487f4f0 Don't load /btcpay if BTCPAY_PRIVATE_KEY un-set 2021-07-21 23:43:44 +02:00
3wc 8b0ce0ba71 Hide the BTCPay link if BTCPAY_PRIVATE_KEY un-set 2021-07-21 23:43:44 +02:00
3wc bca570882e Add load_config_vars context processor..
..to allow accessing config variables in the templates.

This removes the need for adding config variables manually to template
contexts.
2021-07-21 23:43:44 +02:00
3wc 827ca4a50b Auto-generate the pricing table from the database 2021-07-21 23:43:44 +02:00
3wc 487a1ac0a3 Revert accidental change to main images 2021-07-21 23:30:14 +02:00
3wc 71344fbf4d Merge branch 'yc-templates' into yolocolo 2021-07-21 22:49:17 +02:00
3wc 6f3ecf991d Custom theme fixes 2021-07-21 22:48:54 +02:00
3wc 40aa3bccd3 Load YOLOCOLO templates from a "theme" folder..
..configurable using the THEME env var.

Defaults to normal Capsul theme.
2021-07-21 22:24:25 +02:00
3wc bcc3f20b27 Tweak table style 2021-07-21 22:12:13 +02:00
3wc 8bd3971545 Improve form styling 2021-07-21 22:12:13 +02:00
3wc c639899cd0 Remove cash payment option 2021-07-21 22:12:13 +02:00
3wc a47c430855 Further colour tweak 2021-07-21 22:12:13 +02:00
3wc d5362897df Fix typo, tweak colours 2021-07-21 22:12:13 +02:00
3wc a52d183f2e More cheeky template changes 2021-07-21 22:12:13 +02:00
3wc 73042d1705 Disco updates for YOLOCOLO site 2021-07-21 22:12:13 +02:00
3wc 8f2becb9ee Fix SyntaxWarning on is not ""
`capsulflask/__init__.py:143: SyntaxWarning: "is not" with a literal. Did you mean "!="?`
2021-07-21 21:51:50 +02:00
3wc d3078fc5ce Merge branch 'yc-templates' into yolocolo 2021-07-21 21:07:59 +02:00
3wc d60238f6f0 Improve form styling 2021-07-21 21:07:51 +02:00
3wc ab55146d41 Remove cash payment option 2021-07-21 21:07:49 +02:00
3wc 7191213646 Further colour tweak 2021-07-21 21:07:27 +02:00
3wc 8c802a977a Fix typo, tweak colours 2021-07-21 21:07:27 +02:00
3wc 929aa29663 More cheeky template changes 2021-07-21 21:07:26 +02:00
3wc 61beee8d3b Disco updates for YOLOCOLO site 2021-07-21 21:07:03 +02:00
3wc 8586b85095 Merge branch 'master' into yolocolo 2021-07-21 20:38:36 +02:00
3wc 7923f3a99f Auto-generate the pricing table from the database 2021-07-21 12:19:28 +02:00
3wc b2b78e0015 Merge branch 'yc-templates' into yolocolo 2021-07-21 11:43:17 +02:00
3wc d6f4be8197 Improve form styling 2021-07-21 11:43:04 +02:00
3wc 5d3d0a1c5e Merge branch 'docker' into yolocolo 2021-07-21 11:38:58 +02:00
3wc fc7e264178 Make docker-compose file less demanding 2021-07-21 11:38:01 +02:00
3wc 157e81e6e5 Merge branch 'yc-templates' into yolocolo 2021-07-21 02:02:58 +02:00
3wc 97f9486ea3 Remove cash payment option 2021-07-21 02:02:21 +02:00
3wc 4b90a6c7ae Merge branch 'yc-templates' into yolocolo 2021-07-21 01:56:45 +02:00
3wc adc3342a8c Further colour tweak 2021-07-21 01:56:36 +02:00
3wc f8bbdcc3c5 Merge branch 'yc-templates' into yolocolo 2021-07-21 01:54:35 +02:00
3wc 1133caa8a4 Fix typo, tweak colours 2021-07-21 01:54:21 +02:00
3wc 1f384f34b5 Merge branch 'yc-templates' into yolocolo 2021-07-21 01:44:52 +02:00
3wc c25d85bbdd More cheeky template changes 2021-07-21 01:44:45 +02:00
3wc 0f4ac8e444 Merge branch 'yc-templates' into yolocolo 2021-07-21 01:15:51 +02:00
3wc 3cf501a393 Disco updates for YOLOCOLO site 2021-07-21 01:13:52 +02:00
3wc 180efa01af Merge branch 'optional-btcpay' into yolocolo 2021-07-21 00:30:34 +02:00
3wc 7ed847251f Don't load /btcpay if BTCPAY_PRIVATE_KEY un-set 2021-07-21 00:22:58 +02:00
3wc e3a4776a5d Hide the BTCPay link if BTCPAY_PRIVATE_KEY un-set 2021-07-21 00:20:38 +02:00
3wc 357d99cb91 Add load_config_vars context processor..
..to allow accessing config variables in the templates.

This removes the need for adding config variables manually to template
contexts.
2021-07-21 00:19:38 +02:00
3wc f5c079ffc2 Un-hard-code SSH key name 2021-07-20 23:55:03 +02:00
3wc 0e5dfe6bde Last re-hard-coding for "working" joy 2021-07-20 23:55:03 +02:00
3wc 2adbb8d94c Further filthy fix for local libvirt 2021-07-20 23:55:03 +02:00
3wc 8446d11720 Revert hardcoded local path to tank dir 2021-07-20 23:55:03 +02:00
3wc a580b04659 Bag of hacks to get local libvirt working 2021-07-20 23:55:03 +02:00
3wc 2e6894ad14 Changes from @decentral1se code review 2021-07-20 23:48:23 +02:00
3wc 2e6c6517f3 Add openssh-cient to Dockerfile for ssh-keyscan 2021-07-20 01:52:17 +02:00
3wc be6c1b38b7 STRIPE_SECRET_KEY not STRIPE_PUBLISHABLE_KEY 2021-07-19 01:17:18 +02:00
3wc aa8e129913 Load secrets from files if _FILE vars are set 2021-07-19 00:24:22 +02:00
3wc 71e09807a7 Docker updates for libvirtd 2021-07-15 00:13:11 +02:00
3wc 4816170c03 Use Flask server in development 2021-07-15 00:13:11 +02:00
3wc 6af241e8be Multi-stage build oh my! 2021-07-15 00:13:11 +02:00
3wc c8ec53f207 Initial attempt at Docker 2021-07-15 00:13:11 +02:00