Commit Graph

309 Commits

Author SHA1 Message Date
72cf27796d add namecoin address so the person who owns capsul.bit can send domain
to us
2020-09-24 16:22:46 -05:00
4b5ca4a89c add supported operating systems to pricing page 2020-08-27 20:47:47 -05:00
e6021324f7 fix exceptions related to btcpay HTTP calls. better cleanup of expired
btcpay invoices.
2020-07-18 10:16:17 -05:00
2f60e2715e Make backing image changes, fix minor spelling 2020-06-28 16:27:26 +00:00
vvesley
ee7f0dbfe2 Show VMs that you can afford 2020-06-27 18:06:58 +00:00
j3s
dd607b3c9b Add pricing details to front page 2020-06-08 18:27:13 -05:00
j3s
22f85dcd85 Update doc 2020-06-05 13:26:25 -05:00
j3s
4ac045cc6e second draft for 7th schema 2020-06-05 13:23:24 -05:00
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
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
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