Commit Graph

316 Commits

Author SHA1 Message Date
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
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