cd26fcec5d
skip assigning IP on creation and add back update_vm_ip for now
...
because IP assignment on creation isn't done yet (need to manage MAC
address)
2021-12-19 12:10:32 -06:00
5637da73ec
desired_state column to be updated when the user starts/stops vm
2021-12-17 17:38:28 -06:00
cc349d266f
working on support for managing VM state and IP address
2021-12-05 16:47:37 -06:00
08eb38dc57
correctly enforce affordable_vm_sizes post form submission
2021-07-21 16:45:53 -05:00
36329796f0
define BTCPAY_ENABLED based on URL and btcpay key, pass it explicitly
2021-07-21 12:12:41 -05:00
fcbea1e29b
fixing capsul creation after I broke it with the pre-allocated IP
...
address changes
2021-07-11 12:18:58 -05:00
862b14545b
more managed ips work: cli sql improvements, added admin panel
2021-07-09 14:13:28 -05:00
961bb4976b
remove newlines and strip content first before parsing ssh key name
2021-05-12 12:21:26 -05:00
4590671984
improve invalid ssh key name error message
2021-05-12 12:18:39 -05:00
e3e1059ba1
allow colons in ssh key names
2021-05-12 12:14:55 -05:00
71db4b3333
allow colons in ssh key comments and adjust ssh key whitespace handling
2021-05-12 11:48:55 -05:00
70628039c4
fix wrong var name
2021-02-17 21:57:57 -06:00
88905b944d
clean up massive onliner
2021-02-17 21:57:09 -06:00
fa0ddad5f5
fix missing paren
2021-02-17 21:46:46 -06:00
1de0388df2
fine-tuning vm list page ip display depending on state
2021-02-17 21:29:03 -06:00
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
e3f4de214c
Strip out deleted VMs before passing them to shell scripts
2020-05-20 18:37:53 -05:00
8962345fd2
Merge branch 'master' of giit.cyberia.club:~forest/capsul-flask
2020-05-17 14:19:15 -05:00
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