Commit Graph

48 Commits

Author SHA1 Message Date
Filip Rysavy 838c2084a9
Add note to sync changes in blocklist scripts 2021-10-26 09:49:03 +02:00
firyx ec02e9afa2
Update scripts/blocklist-skylink.sh
Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
2021-10-26 09:43:21 +02:00
Filip Rysavy 80373bb73f
Update blocklist skylink script 2021-10-25 16:51:27 +02:00
Karol Wypchło 2f88d081e5
Merge pull request #1301 from SkynetLabs/ivo/fix_backups_order
Backup MongoDB before CockroachDB
2021-10-22 21:28:47 +01:00
firyx cd46f5eaa5
Merge branch 'master' into fix-blocklist-skylink 2021-10-22 15:10:16 +02:00
Filip Rysavy 3e8c8a5d01
Fix blocklist skylink script 2021-10-22 10:23:06 +02:00
Matthew Sevey 9e4ac0eb38
add missing servers and missing blocklist command to script 2021-10-21 14:41:24 -04:00
Ivaylo Novakov 96c634b6e7
Backup MongoDB before CockroachDB because we can backfill user registrations in MongoDB but not in CockroachDB. 2021-10-21 10:40:33 +02:00
Ivaylo Novakov e541669a65
Remove merge leftovers. 2021-10-19 17:13:05 +02:00
Ivaylo Novakov 8bb5e24e24
Fix fingers-faster-than-brain bug. 2021-10-19 17:12:00 +02:00
Ivaylo Novakov 96a85e3ec4
Add an update for awscli. Restore the backtracking paths. 2021-10-19 17:10:31 +02:00
Ivaylo Novakov b6a165cb28
Make sure db restore works reliably and overwrites backup collections. 2021-10-19 16:10:41 +02:00
Karol Wypchlo 9026d56777
fix health check script invalid syntax
python lint job
2021-10-06 14:21:58 +02:00
Ivaylo Novakov bbdea48633
Just make the scripts runnable. 2021-08-16 15:48:59 +03:00
Matthew Sevey e5fb26ca95
replace --no-run-if-empty with -r
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-07-27 10:33:20 -04:00
Matthew Sevey f0434da421 Fix server list and use common NGINX command 2021-07-26 16:03:49 -04:00
Karol Wypchlo a6b9f1fe06 clean up webapp directory and update some deps 2021-06-17 14:40:02 +02:00
Ivaylo Novakov bbafe2de68
Increase the Jaeger sampling rate to 100%.
Update the list of servers on which we blacklist skylinks.
2021-05-25 15:01:47 +02:00
Marcin S 9346898775
Test deploy 2021-05-20 09:39:46 -04:00
Ivaylo Novakov 09fc534249
Merge pull request #752 from SkynetLabs/ivo/db_backups_fix
Fix DB backups creation
2021-05-18 10:38:53 +02:00
Ivaylo Novakov 07ba3f8e3b
Move the script to the scripts dir. 2021-05-11 16:42:37 +02:00
Ivaylo Novakov 03e9fbf481
Update awscli every time we run the script, otherwise Python will break randomly. 2021-05-11 11:26:11 +02:00
Ivaylo Novakov c9d33c0fdb
Add a script that prunes Elasticsearch indexes. 2021-05-04 13:24:09 +02:00
Ivaylo Novakov a01884dcd0
Update the hardcoded list of servers for blocking skylinks. 2021-04-27 11:13:41 +02:00
firyx 9ee51f3fab
Merge pull request #650 from SkynetLabs/sevey/scripts-readme
Add README to scripts package
2021-04-21 15:11:43 +02:00
Ivaylo Novakov 7ecb234072
Better cron for backups. 2021-04-13 12:08:26 +02:00
Ivaylo Novakov 0f18d062d9
Better custom command name. 2021-04-07 14:04:46 +02:00
Ivaylo Novakov 482f9655c4
Merge branch 'ivo/db_backups' into ivo/db_backups_new 2021-04-01 15:30:06 +02:00
Karol Wypchło fede204c6b
Accounts (#554)
* stripe env

* stripe env

* stripe env

* allow post

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* favicon

* foo

* foo

* foo

* foo

* foo

* foo

* title

* fix dashboard timestamp

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* prices

* Revert "prices"

This reverts commit 7071ed4ef4.

* Make sure we don't accidentally commit `kratos.yml`.

* Add Oathkeeper access rules for Stripe.

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* Add `max_breaches` to Kratos's sample config file.

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* cache .next folder

* Use own fork of Kratos's `master` in order to get the fix for the migrations issue.

* Don't retry running Kratos migrations.

* payments

* restart: no

* no

* no

* no

* no

* no

* no

* no

* no

* no

* payments

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* limits

* limits

* nginx depends on accounts and kratos-migrate depends on cockroach.

* upload limit rate

* upload limit rate - 2

* upload limit rate - 3

* upload limit rate - 4

* upload limit rate - 5

* upload limit rate - 6

* upload limit rate - 7

* upload limit rate - 8

* upload limit rate - 9

* forgotten password link

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* copy to clipboard

* fix ratelimit issue

* Allow access to the stripe webhook.

* enable allow_promotion_codes

* Allow POST on webhook.

* Add all env vars accounts need to docker-compose.

* Don't use custom port for accounts.

* print recovery

* recovery sign up link

* refactor cors header response

* refactor cors header response

* do not log unauthorized

* fix registration link

* settings logging

* update node and tailwindcss

* move webapp from volume

* host 0.0.0.0

* refactor dockerfile

* enable accounts

* cache public

* uncache public

* remove cache control

* no-cache

* no cache

* Do not use the person's name for registration.

* add verify route

* add verify route

* add verify route

* Go back to using the stock kratos image.

* add verify route

* fix settings link

* clean up verify flow

* refactor Dockerfile

* Remove first and last name from used traits.

* Remove account verification via email.

* Allow additional properties.

* Cookies and tokens last for 30 days now.

* Rename secure.siasky.net to account.siasky.net.

* redirect secure to account

Co-authored-by: Ivaylo Novakov <inovakov@gmail.com>
Co-authored-by: Ivaylo Novakov <ro-tex@users.noreply.github.com>
2021-04-01 15:15:37 +02:00
Matthew Sevey 8cd969f546 Add README to scripts package 2021-03-24 13:38:25 -06:00
Karol Wypchlo 7904f42f79 build first, then restart 2021-02-01 21:29:30 +01:00
Karol Wypchlo d0804c5547 fix maintenance script permissions 2021-01-23 19:19:40 +01:00
Karol Wypchlo b3ef6eaf62 store maintenance upgrade script 2021-01-23 19:17:49 +01:00
Karol Wypchlo d695426f1d add delay option 2021-01-21 12:29:31 +01:00
Karol Wypchlo 7024b680e7 add timeout option to portal-down script 2021-01-21 12:15:10 +01:00
Karol Wypchlo ba7cb64d34 update portal scripts 2021-01-21 12:04:21 +01:00
Karol Wypchlo be0545197e add new siasky.net servers 2021-01-14 14:07:33 +01:00
Karol Wypchło 92f9ca3efe
improve nginx skylinks cache purging (#553)
* purge test

* purge test

* purge test

* purge test

* purge test

* purge test

* purge test

* purge test
2020-12-03 12:59:50 +01:00
Karol Wypchlo 5a203a9583 show line number if bad skylink is found 2020-11-24 15:14:22 +01:00
Karol Wypchło fd404fa2ea
wording: blank line -> new line 2020-11-24 14:51:20 +01:00
Karol Wypchlo 24ab5063e0 fix cache prune docker command 2020-11-24 14:40:39 +01:00
Karol Wypchlo 311162020b add option to pass a list of skylinks for blocklist 2020-11-24 12:43:46 +01:00
Karol Wypchlo c7cfff728d comment out uniswap links from health-check 2020-11-18 16:08:03 +01:00
Karol Wypchlo 05e34b5aaa rename blacklist to blocklist 2020-11-13 17:29:40 +01:00
Karol Wypchlo c76f0cebcf add volume removal 2020-09-24 11:13:50 +02:00
Karol Wypchlo c03c482d36 update portal upgrade script 2020-09-21 18:48:46 +02:00
Karol Wypchło 1fbaee6caf
Update portal-upgrade.sh 2020-09-14 18:20:26 +02:00
Karol Wypchlo a02c27664b adjust scripts 2020-09-14 17:40:18 +02:00