Commit Graph

52 Commits

Author SHA1 Message Date
ea1eec7f92 fixing exception in capsul detail 2021-02-17 21:10:20 -06:00
fd5d23cf22 prevent keyError when double_check_capsul_address returns None 2021-02-17 20:56:52 -06:00
ba0b29462c first try at implementing the vm start and stop feature 2021-02-17 20:50:17 -06:00
e8348052a8 fixing get inconsistency and adding vm_state_command 2021-02-16 21:13:51 -06:00
ab4c94e37c correctly test for none result in double_check_capsul_address 2021-02-15 20:32:24 -06:00
af272a6b70 Revert "temporarily thow exception from check capsul addr"
This reverts commit 1fd3ccb8a3.
2021-02-15 20:27:17 -06:00
1fd3ccb8a3 temporarily thow exception from check capsul addr 2021-02-15 20:13:04 -06:00
0a70c974ec ssh_public_keys -> ssh_authorized_keys rename (merge fix) 2021-02-15 19:44:26 -06:00
dad6547825 Merge branch 'master' into multiple-hosts
Conflicts:
	capsulflask/console.py
	capsulflask/db.py
	capsulflask/shared.py
	capsulflask/virt_model.py
2021-02-15 17:52:17 -06:00
c849ec3c11 add 25 cent buffer to affordable_vm_sizes logic for UX 2021-01-30 15:27:24 -06:00
280bcfd584 check null on double_check_capsul_address 😬 2021-01-30 02:10:22 -06:00
a7c61f01df remove extra debug logs 2021-01-30 01:42:27 -06:00
50cea6e0b4 first crack at adding ssh host key display to the capsul detail page 2021-01-30 01:39:48 -06:00
40016ecbe6 fix debug code again :( 2021-01-29 00:22:19 -06:00
7914a2e518 fix "datetime is not JSON serializable" err in debug log code 2021-01-29 00:19:05 -06:00
274c7a2c76 add logging around ssh keys to capsul creation to support a user who is
experiencing bugs
2021-01-29 00:13:32 -06:00
9fb6d58e1a fix remnants of list_ids being an async operation 2021-01-04 15:18:50 -06:00
4833c6250b create capsul is working 2021-01-04 15:02:56 -06:00
6764c5c97d got httpclient working, spoke heartbeat is working 2021-01-04 13:32:52 -06:00
c59dc21ba6 starting work on hub mode and spoke mode -- implemented hub model 2021-01-02 17:10:01 -06:00
d8d6124005 forest uncommitted changes on multi-host branch 2020-12-29 17:34:43 -06:00
vvesley
ee7f0dbfe2 Show VMs that you can afford 2020-06-27 18:06:58 +00:00
fd7dd7390f implement anti-csrf measures in all posted forms 2020-05-22 16:04:47 -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
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
j3s
e3f4de214c Strip out deleted VMs before passing them to shell scripts 2020-05-20 18:37:53 -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
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
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
2b04463e4e switch to polling for btcpay payment sessions because btcpay web hooks
are super duper slow
2020-05-16 22:04:51 -05:00
26340f118f trying to fix logging 2020-05-15 23:19:01 -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
0434c4d43b implement deleting capsuls 2020-05-15 12:23:42 -05:00
d1078b8f30 started working on cron job task 2020-05-14 23:40:27 -05:00
8de802aff5 btcpay generating invoices and payments can be invalidated 2020-05-14 18:03:00 -05:00
403506a0b0 capacity limiter and general cleanup 2020-05-13 13:56:43 -05:00
30464ac8e5 metrics are working!!! 2020-05-13 00:28:53 -05:00
08e23cf0d1 stripe payment processor 2020-05-12 12:38:36 -05:00
fda3c1040a make ssh key name default to key comment 2020-05-12 00:58:17 -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
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