Commit Graph

65 Commits

Author SHA1 Message Date
Ivaylo Novakov e2171b5a89
Don't use a default reason when downing a portal. 2022-04-06 18:18:32 +02:00
Ivaylo Novakov 5473b8475a
Update portal control scripts, so they can talk to the new health-check container. 2022-04-06 11:59:28 +02:00
Karol Wypchlo 94fb6dc244
rename s3 backup subdirectory 2022-03-31 14:38:06 +02:00
Karol Wypchlo b4d111871d
remove nginx prune script 2022-03-15 23:20:55 +01:00
Karol Wypchlo e2beee6fac
drop nginx blocklist proxy endpoint 2022-03-15 10:47:02 +01:00
Karol Wypchlo 837829afb8
ensure path exists and fix filename 2022-02-22 16:47:17 +01:00
Karol Wypchlo 40cf0b227f
fix bucket naming 2022-02-22 12:10:57 +01:00
Karol Wypchlo b969ae2a2a
make backup script executable 2022-02-22 12:08:00 +01:00
Karol Wypchlo 3e5c576902
incremental logs and skylinks backup 2022-02-11 14:41:21 +01:00
Karol Wypchlo dac4d57b12
clean up manual blocklist script 2022-01-10 22:35:04 +01:00
Ivaylo Novakov 991cfc3000
Cleanup Kratos, Oathkeeper, CockroachDB. 2021-12-16 13:08:35 +02:00
Filip Rysavy b4e2eec2fe
Block skylinks in batches 2021-12-13 17:35:00 +01:00
Filip Rysavy 12fffc28e2
Hot reload nginx after pruning cache 2021-12-13 12:48:12 +01:00
Filip Rysavy 1c1f3c6ec1
Fix condition mistake 2021-12-06 16:13:00 +01:00
Filip Rysavy aca71c245e
Add comments to nginx pruning script 2021-12-06 14:13:56 +01:00
Filip Rysavy 0af14d32db
Add pruning Nginx cache 2021-12-06 13:35:17 +01:00
Filip Rysavy 400aca12bc
Fix removing skylink from nginx 2021-10-27 10:55:09 +02:00
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