Commit Graph

157 Commits

Author SHA1 Message Date
j3s
42b295dc0a Adjust pricing according to standard model 2020-06-05 12:58:50 -05:00
j3s
e287c00a5d Bump schema version 2020-06-05 01:10:07 +00:00
j3s
a709fe7469 Migrate to generic template names 2020-06-05 00:55:32 +00:00
e0c9e77bed affero GPL license 2020-05-26 19:56:09 -05:00
fd7dd7390f implement anti-csrf measures in all posted forms 2020-05-22 16:04:47 -05:00
2b0ff06ec8 cleanup 2020-05-22 15:31:53 -05:00
9164250d4d fix favicon.ico 2020-05-22 15:20:36 -05:00
672ff49d6d implement content-security-policy, static assets cache bust, and fix
stripe back button ratchet issue

because the only way to use stripe checkout is to run their proprietary
JS, and we arent using a SPA, naturally what happens is, when you land
on the stripe payment page if you hit the back button it goes back to
the same page where you got re-directed to stripe. this commit fixes
that.
2020-05-22 15:20:26 -05:00
5a080fe1c5 correctly decode output from list-ids.sh 2020-05-21 22:45:00 -05:00
f74a361c5f log inconsistency warning email 2020-05-21 21:45:38 -05:00
e2c51d067e implement ensure_vms_and_db_are_synced in cron task and add default
sender to readme
2020-05-21 21:40:41 -05:00
2f55ce904e set schema version on guix notready schema downgrade 2020-05-21 19:40:24 -05:00
b30f86f7d0 update readme to explain how to use .env file 2020-05-21 19:39:06 -05:00
j3s
4b9d56f610 Clarify some common workflow confusion 2020-05-20 23:01:14 -05:00
j3s
7f3fb8b898 Guixsd -> Guix 2020-05-20 18:43:09 -05:00
j3s
f0b262f0b1 Bump desired schema version 2020-05-20 18:40:42 -05:00
j3s
f91fa9a1a4 Deprecate GuixSD for now 2020-05-20 18:40:15 -05:00
j3s
e3f4de214c Strip out deleted VMs before passing them to shell scripts 2020-05-20 18:37:53 -05:00
j3s
773aa78ac4 Switch shellscripts to customer pool 2020-05-20 16:37:45 -05:00
5a4c67d202 WHERE deprecated = FALSE os_images 2020-05-19 23:04:28 -05:00
f448dd8bac UPDATE schemaversion SET version = 3; 2020-05-19 23:01:01 -05:00
af16ef89d1 add deprecated column for os_images 2020-05-19 22:55:23 -05:00
7a478b7ab1 read config properly 2020-05-19 22:55:08 -05:00
j3s
cf9d9605b3 Merge branch 'master' of giit.cyberia.club:~forest/capsul-flask 2020-05-19 22:49:05 -05:00
j3s
fdc2394f83 Add OpenBSD 6.7 2020-05-19 22:48:59 -05:00
86da60aa0d Merge remote-tracking branch 'origin/master' 2020-05-19 22:46:31 -05:00
5b5c752e1a make VIRTUALIZATION_MODEL configurable 2020-05-19 22:46:11 -05:00
j3s
36fa867002 Add OpenBSD 6.7 migrate scripts 2020-05-19 22:24:41 -05:00
j3s
8962345fd2 Merge branch 'master' of giit.cyberia.club:~forest/capsul-flask 2020-05-17 14:19:15 -05:00
j3s
5b8f62a16c Correct regex with non-wildcard, always check name 2020-05-17 14:19:10 -05:00
17c559123c readme explain \n in BTCPAY_PRIVATE_KEY 2020-05-17 00:04:15 -05:00
496db2bb06 add new tables to 02_down migration script 2020-05-17 00:00:36 -05:00
633e2907df changelog: 2020-05-16: Beta version of new Capsul web application 2020-05-16 23:50:39 -05:00
bb90738fde libvirtd_domain_info_maximum_memory_bytes 2020-05-16 23:44:03 -05:00
62a062fff2 fix bug when created query string is not present 2020-05-16 23:28:21 -05:00
684128361c correctly display vm_months 2020-05-16 23:24:11 -05:00
4b169e9886 implement bill for at least 24 hours 2020-05-16 23:21:09 -05:00
4f002458b3 adjust memory metric query 2020-05-16 23:11:47 -05:00
5c1a977a87 remove query string XSS from login token 2020-05-16 23:05:45 -05:00
e3a2e8eee4 fine-tuning the create-capsul experience 2020-05-16 23:02:02 -05:00
321a46d77b add ecdsa to the pipfile 2020-05-16 22:11:44 -05:00
27c7f28e53 remove test data 2020-05-16 22:08:59 -05:00
2b04463e4e switch to polling for btcpay payment sessions because btcpay web hooks
are super duper slow
2020-05-16 22:04:51 -05:00
155b0d579a print invoice 2020-05-16 21:28:28 -05:00
be8cfee3c3 add more logs to btcpay webhook 2020-05-16 21:24:40 -05:00
j3s
7448cd90da Properly decode output of create and destroy 2020-05-16 16:55:18 -05:00
j3s
942d629d6e Decode bytes to string before comparing with regex
- Python3 makes this a lil more complicated
- see https://stackoverflow.com/questions/21689365/python-3-typeerror-must-be-str-not-bytes-with-sys-stdout-write
2020-05-16 16:45:21 -05:00
j3s
60a8f34a9b Invert get.sh name check, don't use -v and -q together. 2020-05-16 16:14:15 -05:00
j3s
109e57ffc9 Correct template match regex 2020-05-16 15:59:01 -05:00
j3s
539fded22d Correct comparison type, add more verbose error 2020-05-16 15:51:38 -05:00