Commit Graph

224 Commits

Author SHA1 Message Date
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
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
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
j3s
7a6ba7675c Pass additional_ram_bytes as a string 2020-05-16 15:49:49 -05:00
j3s
7ffdd7546d Make all shell scripts executable 2020-05-16 11:28:34 -05:00
26340f118f trying to fix logging 2020-05-15 23:19:01 -05:00
3bd9d24a97 support dotenv impls that break on multiline strings 2020-05-15 18:49:17 -05:00
5edc526c79 remove broken unneeded code from bitpay 2020-05-15 18:26:41 -05:00
2bfd3787e9 remove broken unneeded code from bitpay 2020-05-15 18:25:22 -05:00
e9dcf80f6c btcpay working! added bitpay client code to source tree to fix a bug
fixed a stripe race condition

added account balance warning to account balance page
2020-05-15 18:18:19 -05:00
67120e9461 make metrics show up gray when prometheus returns no data 2020-05-15 12:24:09 -05:00
0434c4d43b implement deleting capsuls 2020-05-15 12:23:42 -05:00
8e8705da7b fix bugs and update readme with pipenv run 2020-05-14 23:54:08 -05:00
d1078b8f30 started working on cron job task 2020-05-14 23:40:27 -05:00
0dc58ed6a8 add sql cli and explain it in the readme 2020-05-14 20:05:02 -05:00
8de802aff5 btcpay generating invoices and payments can be invalidated 2020-05-14 18:03:00 -05:00
6440961433 favicon.ico 2020-05-14 12:41:46 -05:00
314b74e33b fix a bug that would allow users to cheat the stripe checkout system 2020-05-14 12:41:12 -05:00
58f85edcb4 added btcpay pairing instructions to readme 2020-05-14 12:40:25 -05:00
63a902774e more metrics tweaks 2020-05-13 14:19:10 -05:00
4ab0a0f565 stupid git 2020-05-13 13:56:55 -05:00
403506a0b0 capacity limiter and general cleanup 2020-05-13 13:56:43 -05:00
a43b3b4e1e remove test image from front page 2020-05-13 00:56:09 -05:00
77547a3397 subtle text shadow 2020-05-13 00:54:37 -05:00
df156181b4 comments and error handling on metrics 2020-05-13 00:49:08 -05:00
34d920b005 fix minor wonks with metrics 2020-05-13 00:34:38 -05:00
30464ac8e5 metrics are working!!! 2020-05-13 00:28:53 -05:00
7337375ae8 stripe tested and working 2020-05-12 13:04:35 -05:00
55d8d8a9a6 oops 2020-05-12 12:40:30 -05:00
d2165e49a5 fix name collision 2020-05-12 12:40:10 -05:00
08e23cf0d1 stripe payment processor 2020-05-12 12:38:36 -05:00
d293d43392 starting to work on stripe 2020-05-12 01:42:50 -05:00
j3s
4117af93e2 Standardize email addresses, rework faq a little 2020-05-12 01:33:49 -05:00
fda3c1040a make ssh key name default to key comment 2020-05-12 00:58:17 -05:00
j3s
bae9c2311d Remove HTML part and 90 spaces from sent login email 2020-05-12 00:46:08 -05:00
d06e07cfd3 account balance 2020-05-12 00:45:37 -05:00
54948a386b allow . and @ in ssh key names 2020-05-11 23:09:11 -05:00
5df06dc1b3 Your account does not have sufficient funds to create a Capsul 2020-05-11 22:59:36 -05:00
d7ddf37cfa fine-tuning and starting to work on account-balance 2020-05-11 20:34:12 -05:00
a6e655ef72 basic capsul detail page 2020-05-11 16:24:37 -05:00
afe18b6166 remove unused files 2020-05-11 15:13:31 -05:00
231d1ed7c0 create capsul and capsuls list page working 2020-05-11 15:13:20 -05:00
452f236c6b SSH keys CRUD working 2020-05-11 11:57:39 -05:00
18e6a1b141 starting to build console controller and views 2020-05-11 01:47:14 -05:00
7932db90d5 added FAQ, Changelog, and Support static pages 2020-05-10 22:55:16 -05:00
5d37f26585 front end html to look like existing capsul site without <pre> 2020-05-10 21:43:06 -05:00
d706ae7761 updating virt_model with email and 2020-05-10 20:23:00 -05:00
838348a0fb oops, missed one file 2020-05-10 18:59:45 -05:00
426fad7b10 first try at creating VirtualizationInterface 2020-05-10 18:59:30 -05:00
7fe0d9a9c5 fine-tuning login 2020-05-10 13:51:54 -05:00
e6fcb847f0 validate email address 2020-05-09 23:45:20 -05:00
3406ff3358 login is working 2020-05-09 23:32:13 -05:00
64bca1fd97 it sends a magic link when you log in 2020-05-09 22:59:22 -05:00
edb476ec41 oops 2020-05-09 20:36:23 -05:00
246ef00540 broken auth WIP 2020-05-09 20:36:14 -05:00
119d4a0052 correctly handle when the desiredSchemaVersion < schemaVersion 2020-05-09 19:22:25 -05:00
4a1924587c postgres automatic schema management roughly working 2020-05-09 19:13:20 -05:00