Commit Graph

253 Commits

Author SHA1 Message Date
Karol Wypchlo 3cc3685273 Merge remote-tracking branch 'origin/master' into pin-endpoint 2021-06-04 13:21:47 +02:00
Ivaylo Novakov 3ac8cf2fe9
Merge pull request #826 from SkynetLabs/clean-up-stats-endpoint
Clean up stats endpoint
2021-06-04 12:53:56 +02:00
Karol Wypchlo aa34c1f088 add new lines on eof 2021-06-04 12:35:16 +02:00
Karol Wypchlo ed7c1f71c7 add /skynet/pin endpoint and clean up config 2021-06-04 12:33:37 +02:00
Christopher Schinnerl b35ea89ff6
Merge pull request #829 from SkynetLabs/v2-skylinks-cache
V2 skylinks cache
2021-06-04 12:29:43 +02:00
PJ bd8593039d
Do not increase proxy_connect_timeout 2021-06-04 11:58:38 +02:00
PJ 898a728f5a
Increase request timeout 2021-06-04 11:43:52 +02:00
Karol Wypchlo c84723b159 add sia-auth 2021-06-02 18:15:04 +02:00
Karol Wypchlo 2b9d469f1e fix dir variable name 2021-06-02 18:03:35 +02:00
Karol Wypchlo ece2025561 /skynet/pin endpoint 2021-06-02 17:56:35 +02:00
Karol Wypchlo 3589e2ac04 remove cache key 2021-06-01 12:57:50 +02:00
Karol Wypchlo 20b8a99f14 fix redirect 2021-06-01 12:56:11 +02:00
Karol Wypchlo f59d00e172 log cache key 2021-06-01 12:46:47 +02:00
Karol Wypchlo 9c4f9c8300 log cache key 2021-06-01 12:36:08 +02:00
Karol Wypchlo c9081e9d87 log cache key 2021-06-01 12:33:13 +02:00
Karol Wypchlo 176e5c7a9d fixed caching 2021-06-01 12:29:33 +02:00
Karol Wypchlo a2a4b6ea8f fixed != to ~= 2021-06-01 12:20:25 +02:00
Karol Wypchlo 60cb812148 support v2 caching 2021-06-01 12:17:08 +02:00
Karol Wypchło 45ce3de7c2
disable caching v2 skylinks (#827)
* disable caching v2 skylinks

* amend comment

* fix boolean switch
2021-05-31 20:27:56 +02:00
Karol Wypchlo dec29600c1 clean up stats endpoint 2021-05-31 14:44:36 +02:00
Christopher Schinnerl fda0e2304f
Merge pull request #786 from SkynetLabs/bump-tus-limit
replace limit on body size on tus endpoint
2021-05-31 10:09:37 +02:00
Karol Wypchlo 2db2ae60f6 adjust tus request max body size 2021-05-26 18:02:32 +02:00
Karol Wypchlo f49701f84d bump caddy to 2.4.1 2021-05-26 17:25:32 +02:00
Karol Wypchlo c10353f6d5 bump tus limit to 100G 2021-05-26 16:23:19 +02:00
Karol Wypchlo ac86dfcdee expose tus upload-metadata header 2021-05-25 17:53:05 +02:00
Marcin S 9346898775
Test deploy 2021-05-20 09:39:46 -04:00
Karol Wypchlo c01d340c54 copy over all /go/bin artifacts 2021-05-17 22:05:28 +02:00
Ivaylo Novakov ad79bb369c
Merge branch 'master' into ivo/sia_docker
# Conflicts:
#	packages/website/src/pages/index.js
2021-05-17 09:30:45 +02:00
Karol Wypchlo 24cae03bfe downgrade caddy 2021-05-13 18:34:28 +02:00
Karol Wypchlo 0dce2218d2 upgrade node 2021-05-13 12:30:35 +02:00
Karol Wypchlo 86225c8082 hardcode accounts ip so nginx doesn't die if accounts are not present 2021-05-13 12:25:48 +02:00
Karol Wypchlo d2694c82d3 hardcode health-check ip in nginx 2021-05-13 12:23:46 +02:00
Karol Wypchlo dbbff224d9 upgrade openresty image 2021-05-13 12:23:03 +02:00
Karol Wypchlo 1e9b22977a upgrade caddy to 2.4.0 2021-05-13 12:21:23 +02:00
Karol Wypchło bd6763b47c
disable api access from subdomained skapps (#719)
* disable api access from subdomained skapps

* temporary reroute from skynet-mysky to ann1 dev version

* revert dev change

* mistakenly deleted try
2021-05-11 18:32:02 +02:00
Karol Wypchlo dc47164e45 dont block on nginx level 2021-05-11 11:26:19 +02:00
Karol Wypchlo cc23a1eed6 return method not allowed 2021-05-11 11:24:18 +02:00
Karol Wypchlo 39d0bc593b return method not allowed 2021-05-11 11:19:59 +02:00
Karol Wypchlo e95dd0195d Sia-UI 2021-05-11 11:12:44 +02:00
Karol Wypchlo 0209ae7f60 new GET /skynet/metadata endpoint 2021-05-11 11:08:27 +02:00
Karol Wypchlo db2a553252 decrease cache time on /skynet/stats from 10 minutes to 1 minute 2021-05-10 16:11:12 +02:00
Karol Wypchło 0c0be50e89
accounts health checks and testing improvements (#717)
* add account health check

* circular dep resolution

* error cannot be undefined
2021-05-05 14:18:10 +02:00
Karol Wypchlo 8b5a426a97 cache /accounts internal response for 1 minute 2021-05-04 14:57:46 +02:00
Karol Wypchlo fb2193c3d0 restore sia-auth 2021-04-30 13:59:50 +02:00
Karol Wypchlo 07bd6ef883 user agent 2021-04-30 13:50:46 +02:00
Karol Wypchlo 2c258c65ec support tus.io standard 2021-04-30 13:05:21 +02:00
Ivaylo Novakov 58c1fa94bf
Merge pull request #701 from SkynetLabs/upgrade-node-docker-image
upgrade node docker image to 16.0.0
2021-04-29 18:27:18 +02:00
Karol Wypchlo 23646e9969 upgrade node docker image to 16.0.0 2021-04-29 17:57:32 +02:00
Karol Wypchlo 3bfdd820dc increase buffer size for apps with large headers to load 2021-04-29 17:51:21 +02:00
Karol Wypchlo 7fab576e6a atomic writes 2021-04-29 16:56:53 +02:00
Karol Wypchlo c9f871e5b4 fix api routes 2021-04-22 14:14:30 +02:00
Karol Wypchlo 941641ae7a fix account redirects to static next assets 2021-04-22 14:06:31 +02:00
Ivaylo Novakov d7ee2e5782
Support Sia versions before 1.5.6. 2021-04-20 14:07:43 +02:00
Karol Wypchlo dd905fb302 missing an 2021-04-20 12:35:56 +02:00
Karol Wypchlo b41d9b540f fix typo 2021-04-20 12:34:35 +02:00
Karol Wypchło 06fe6fa89e
Update docker/caddy/Caddyfile
Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2021-04-20 11:46:33 +02:00
Karol Wypchlo 2f5c27d78e use SSL_CERTIFICATE_STRING 2021-04-20 11:42:00 +02:00
Karol Wypchlo cd4a062e90 fix ssl certificate generation 2021-04-20 11:27:17 +02:00
Karol Wypchlo 143ef617fe set defaults for caddyfile 2021-04-20 11:09:01 +02:00
Karol Wypchlo 1034e7b572 Merge remote-tracking branch 'origin/master' into website 2021-04-15 11:04:22 +02:00
Ivaylo Novakov 96c5b5df73
Configure accounts' branch from docker-compose.accounts.yml. 2021-04-14 12:43:57 +02:00
Karol Wypchlo 16a1bcaef8 move to SkynetLabs 2021-04-12 17:38:50 +02:00
Karol Wypchlo a96b929909 pass all headers to /track endpoint 2021-04-12 13:37:18 +02:00
Marcin S a345737964
Merge branch 'master' into website 2021-04-09 14:47:25 -04:00
Marcin S 3cc22ee4d7
Update docs location 2021-04-09 14:05:39 -04:00
Karol Wypchlo 63efcc4b37 use authenticated status 2021-04-08 14:02:35 +02:00
Karol Wypchlo 3021032464 fix response 2021-04-08 12:57:15 +02:00
Karol Wypchlo c8e87bf2ba fix accounts endpoint 2021-04-08 12:53:19 +02:00
Karol Wypchlo 01e9ea57cc add internal endpoint for user info 2021-04-08 12:36:04 +02:00
Karol Wypchlo 987fa62c67 upgrade node to 15.14.0 2021-04-08 11:12:23 +02:00
Ivaylo Novakov d268a99e60
When rebuilding `sia` use the `portal-latest` branch and the `latest` container by default. 2021-04-07 11:55:43 +02:00
Karol Wypchlo 91263e05dc update gitlab link 2021-04-02 16:46:23 +02:00
Karol Wypchlo e855458d86 Merge remote-tracking branch 'origin/master' into website 2021-04-01 15:22:55 +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
Karol Wypchlo d3357e6cbc replace webapp with website 2021-04-01 14:04:20 +02:00
Karol Wypchlo 7ec5e5106f update to 1.5.5 2021-03-22 12:31:17 +01:00
Christopher Schinnerl 387ab92270
Merge pull request #644 from NebulousLabs/ivo/fix_skyd_binary_names
Adjust the binary names.
2021-03-19 16:30:09 +01:00
Karol Wypchlo 6eed5227cc allow credentials 2021-03-19 15:18:52 +01:00
Ivaylo Novakov 9e9c13767f
Adjust the binary names. 2021-03-18 17:54:41 +01:00
Karol Wypchło 33d169c4ed
Update Dockerfile (#642) 2021-03-18 17:03:50 +01:00
PJ 18cca5c256
Target new skyd repo 2021-03-18 16:36:29 +01:00
Karol Wypchlo 69940ffc27 add skynet-portal-api header 2021-02-18 10:10:04 +01:00
Karol Wypchlo e91d0cb78c upgrade to node 15.8.0 2021-02-09 11:28:15 +01:00
Karol Wypchlo c9672b0f1d do not add cache status on this request 2021-01-28 18:16:42 +01:00
Karol Wypchlo 783cff28e6 fix protocol version issue 2021-01-28 18:12:34 +01:00
Karol Wypchlo 4a3fafa9e5 fix docker/nginx/conf.d/client.conf 2021-01-28 15:47:18 +01:00
Karol Wypchlo 1a691038b7 cache only registry calls from hns endpoint 2021-01-28 15:02:51 +01:00
Karol Wypchlo 1177b7cf94 cache registry endpoint for 30s 2021-01-28 14:25:38 +01:00
Karol Wypchlo 203ff0fd84 ensure skylink_rest is local 2021-01-27 13:39:00 +01:00
Karol Wypchlo 5576c223ce fix hns links redirects 2021-01-27 13:27:41 +01:00
Karol Wypchło dab6f10a41
Merge pull request #580 from NebulousLabs/caddy-2.3.0
upgrade caddy to 2.3.0
2021-01-23 15:11:33 +01:00
Ivaylo Novakov 903fe96751
Merge pull request #585 from NebulousLabs/expose-skynet-skylink-header
expose skynet skylink header
2021-01-18 14:37:32 +01:00
Karol Wypchło c4a6e71260
reduce directory tree nesting size (#583) 2021-01-18 12:33:17 +01:00
Karol Wypchlo a7cc85acd4 improve nginx cache 2021-01-15 16:11:06 +01:00
Karol Wypchlo fb1b41a52c expose skynet skylink header 2021-01-15 12:34:46 +01:00
Karol Wypchło 7923506052
add hns_domain and remove named variables 2021-01-13 17:49:24 +01:00
Karol Wypchlo 6053cb3eb2 add new nginx metrics to measure performance 2021-01-13 15:13:34 +01:00
Karol Wypchło 83a2170afc
upgrade sia to 1.5.4 (#582)
* upgrade sia to 1.5.4

* bump builder image
2021-01-13 12:42:49 +01:00
Karol Wypchlo 1a9e4f1a4d upgrade openresty image to ubuntu 18 2021-01-08 13:47:30 +01:00
Karol Wypchlo 6a35c8e58e upgrade caddy to 2.3.0 2021-01-08 13:13:10 +01:00