Commit Graph

316 Commits

Author SHA1 Message Date
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
2cca908d79 add to changelog 2021-02-17 21:45:29 -06:00
1de0388df2 fine-tuning vm list page ip display depending on state 2021-02-17 21:29:03 -06:00
5d3dbac9ba fixing more bash issues 2021-02-17 21:22:01 -06:00
64db728731 fixing bash if statement issues related to negation 2021-02-17 21:19:27 -06:00
8d5e3d007d add warnings when get.sh fails 2021-02-17 21:15:23 -06:00
ea1eec7f92 fixing exception in capsul detail 2021-02-17 21:10:20 -06:00
bf927c4f1e fix line before shebang in script and fine-tune list page style 2021-02-17 21:06: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
j3s
2e265703bd Add vm state management scripts 2021-02-16 20:58:23 -06:00
dbff6e23ed simplify postgres connection parameters as a single string 2021-02-16 16:08:54 -06:00
f7d4b485a5 missed a spot 2021-02-15 23:52:52 -06:00
9389c80cb6 fixing error messages and naming functions better 2021-02-15 23:51:59 -06:00
0de5305eac explain error from vms with no ip yet 2021-02-15 21:17:10 -06:00
e55798494b pig snorting sounds 2021-02-15 21:10:57 -06:00
f75575313b fix merge missing "fix index out of range when parsing output from
shell_scripts/get.sh"
2021-02-15 21:08:44 -06:00
2bc5b10284 add INTERNAL_HTTP_TIMEOUT_SECONDS option 5min default 2021-02-15 21:00:34 -06:00
bf281b12e1 copy and paste error 2021-02-15 20:35:49 -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
05d5b15c4a oops I was thinking golang dont assign append it returns None 2021-02-15 20:20:42 -06:00
1fd3ccb8a3 temporarily thow exception from check capsul addr 2021-02-15 20:13:04 -06:00
47b2b3ee13 introduce InterThreadResult to ensure that current_app is only accessed
from the main flask thread
2021-02-15 20:06:35 -06:00
0a70c974ec ssh_public_keys -> ssh_authorized_keys rename (merge fix) 2021-02-15 19:44:26 -06:00
8d0088ef13 fix version #s 2021-02-15 19:24:31 -06:00
534855c764 correctly merge db migrations with origin master (coreos) 2021-02-15 19:19:20 -06:00
4c9a492ae3 remove wishful thinking type anotation 2021-02-15 18:35:44 -06:00
cc164dce01 manually merging in the sshkeys to the spoke model/hub model interface 2021-02-15 18:16:15 -06:00
44ee42764c delete unused virt model 2021-02-15 18:05:17 -06:00
b1129a8355 manually merging the spoke model / virt model changes 2021-02-15 18:05:01 -06:00
1c6d7eb380 eclipse failed to add deleted files 2021-02-15 17:52:31 -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
j3s
4b3f3603cc CoreOS isnt ready 2021-02-01 12:27:22 -06:00
j3s
3639a295c4 Add coreos 2021-02-01 10:59:13 -06:00
645ddede02 fix a bug where accumulating stale login tokens can lock out an account 2021-01-31 18:02:46 -06:00
cbe658b7ae clarify cloud based use case for hypothetical non-tofu ssh 2021-01-31 02:31:27 -06:00
51721ffdc0 wording 2021-01-31 02:20:20 -06:00
7568699920 clearly specify that its about the default ssh config 2021-01-31 02:16:13 -06:00
9222daefbc fix wording 2021-01-31 02:13:55 -06:00
a853eeef69 replace nonsensical namecoin plug with "Why ssh more ssh" 2021-01-31 02:09:42 -06:00
d878a07350 Will anyone actually attack you like that? Who knows. Personally, I'd
rather not find out.
2021-01-31 01:31:20 -06:00
cee23f1799 apostrophe 2021-01-31 01:24:46 -06:00
658f8bf316 more fix wording 2021-01-31 01:22:23 -06:00
a785392b00 blah 2021-01-31 01:19:04 -06:00
57666cf2ab more grammar & writing edits 2021-01-31 01:18:15 -06:00
7a904114c3 mor grammer fixs 2021-01-31 00:57:33 -06:00
ebaf348dd3 fix grammer 2021-01-31 00:25:06 -06:00
a4f39ca018 fix whitespace 2021-01-31 00:21:25 -06:00
bef26c38cf dont put lists inside <p> tags 2021-01-30 22:41:20 -06:00
01a31be091 signed, forest 2021-01-30 22:30:12 -06:00
a9bf277842 more wikipedia links 2021-01-30 22:25:13 -06:00
f56135c599 more wikipedia links! 2021-01-30 22:24:12 -06:00
113e6e9339 link to https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2021-01-30 22:22:32 -06:00
d85ebd9042 "on the network between A and B " 2021-01-30 22:20:26 -06:00
cf9bcd1912 duplicate links to /about-ssh 2021-01-30 22:17:09 -06:00
0b5583a0ed make link to about-ssh be a paragraph 2021-01-30 22:15:34 -06:00
7217ff7a6d add /about-ssh essay 2021-01-30 22:14:04 -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
39980d836b remove debug log 2021-01-30 02:05:06 -06:00
485a17ae6b fix ssh-keyscan.sh newlines printf 2021-01-30 02:03:29 -06:00
e18d15f7e7 forgot to decode ssh-keyscan.sh output to string 2021-01-30 01:57:52 -06:00
71222e07e6 chmod +x capsulflask/shell_scripts/ssh-keyscan.sh 2021-01-30 01:51:52 -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
29008bc963 fix index out of range when parsing output from shell_scripts/get.sh 2021-01-29 00:26:21 -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
3f6491f359 add support for postgres sslmode 2021-01-20 16:43:32 -06:00
j3s
6a82e6df01 bump changelog 2021-01-19 19:25:03 -06:00
j3s
1c2d5cf605 Add Alpine 3.13 2021-01-19 19:24:07 -06:00
j3s
74621a85dd Add guixsystem 1.2.0 to capsul 2021-01-14 21:31:38 -06:00
e9d6230c69 remove janky logger monkey patch 2021-01-04 17:20:30 -06:00
d82aa99c40 working on cleaning up the logs 2021-01-04 17:20:03 -06:00
df7a750794 fixed delete not working 2021-01-04 15:27:18 -06:00
9fb6d58e1a fix remnants of list_ids being an async operation 2021-01-04 15:18:50 -06:00
3fdd78df2e fix segfault in draw_plot_png_bytes 2021-01-04 15:18:23 -06:00
4833c6250b create capsul is working 2021-01-04 15:02:56 -06:00
44e918a974 fix double slash 2021-01-04 13:34:53 -06:00
6764c5c97d got httpclient working, spoke heartbeat is working 2021-01-04 13:32:52 -06:00
d9c30e1ef8 trying to set up assignment of create operation 2021-01-03 19:17:30 -06:00
42a8e0c886 http client class 2021-01-03 15:19:29 -06:00
ad082eb0f9 fleshing out spoke API 2021-01-03 14:44:56 -06:00
0a379b74ad add hub-and-spoke diagrams to readme 2021-01-02 19:07:43 -06:00
b991ec89d2 eclipse misses deleted files :D 2021-01-02 17:10:14 -06:00
c59dc21ba6 starting work on hub mode and spoke mode -- implemented hub model 2021-01-02 17:10:01 -06:00
eba3bd6a5a fixing bugs with email ignore case feature 2020-12-29 19:03:37 -06:00
ff38858c74 fixing login email case sensitivity issues 2020-12-29 18:42:38 -06:00
d8d6124005 forest uncommitted changes on multi-host branch 2020-12-29 17:34:43 -06:00
44738c78a9 first steps towards multiple hosts -- schema & heartbeat 2020-12-10 20:32:43 -06:00
j3s
7f1f5ac976 Add blurb about crypto mining 2020-11-23 18:58:37 -06:00
5a5f0d1ce1 Merge remote-tracking branch 'origin/master' 2020-11-02 14:36:16 -06:00
159449c38c fixing a bug which occurs when for some reason stripe doesn't put the
display_items on the invoice
2020-11-02 14:36:01 -06:00
j3s
7ae00c9940 * 2020-10-29 21:34:39 -05:00
j3s
4906680e88 Update changelog 2020-10-29 21:33:01 -05:00
j3s
630f8926fd Issue small correction 2020-10-29 21:29:28 -05:00
j3s
95f31b9cfa Allow / in template image filename 2020-10-29 21:25:45 -05:00
j3s
cd92e8486d Add latest openbsd and alpine support 2020-10-29 21:25:29 -05:00
j3s
f02974eb5a Simplify disk setup process 2020-10-22 18:34:09 -05:00
j3s
c0d93d3db8 Correct minor doc mistakes 2020-10-22 14:34:26 -05:00
j3s
11160ad4f2 Change mailto links from halp to help 2020-10-22 14:30:07 -05:00
j3s
731af8a597 Update changelog and FAQ 2020-10-22 14:29:16 -05:00
2e046a2f05 add "Where do the VMs run" to FAQ 2020-09-29 13:11:31 -05:00
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