Karol Wypchlo
600fe21611
include query args
2022-03-04 11:26:59 +01:00
Karol Wypchlo
fd05cfd8c9
redirect base64 skylink to base32 subdomain
2022-03-03 22:04:55 +01:00
Karol Wypchło
ccee4be9a8
Merge branch 'master' into include-subscription-info
2022-03-03 19:11:28 +01:00
Karol Wypchło
774962fba9
Merge branch 'master' into redirect-sdk-docs
2022-03-03 19:01:26 +01:00
Marcin S
bd0d2dba1d
Merge pull request #1825 from SkynetLabs/enable-cors-pubkey-registration-endpoints
...
Enable CORS on the accounts' endpoints for registering public keys.
2022-03-03 17:43:13 +00:00
Karol Wypchlo
7a213bb05a
match also static pages like /docs/v4
2022-03-03 16:44:27 +01:00
Karol Wypchlo
3b47411f31
redirect sdk docs to sdk.skynetlabs.com
2022-03-03 16:27:19 +01:00
PJ
f62e7334eb
Only cache successful responses
2022-03-03 13:44:30 +01:00
PJ
85e28dbc3f
Expose cache header
2022-03-03 13:28:39 +01:00
PJ
baed1bbb2c
Add Skynet portal blocklist endpoint
2022-03-03 13:18:58 +01:00
Ivaylo Novakov
b3cba9fb2d
Enable CORS on the accounts' endpoints for registering public keys.
2022-03-03 11:15:15 +01:00
Ivaylo Novakov
a8dda639da
Merge pull request #1569 from SkynetLabs/enable-cors-on-logout-endpoint
...
enable cors on /logout endpoint
2022-03-02 17:45:23 +01:00
Karol Wypchlo
e1ddb3c3dc
include subscription info in internal accounts endpoint
2022-02-28 14:24:13 +01:00
Karol Wypchlo
169d0a8d55
set portal domain header to server domain when accessing through server domain
2022-02-25 15:24:09 +01:00
Karol Wypchło
b6dd4c5ef6
drop ipv6 support ( #1768 )
2022-02-25 09:57:55 +01:00
Karol Wypchlo
9241979ca5
clean up nginx cache specific code
2022-02-23 17:40:57 +01:00
Karol Wypchlo
0bd5af87fc
report bypass instead of miss when skyd cache is enabled
2022-02-18 13:12:03 +01:00
Karol Wypchło
e1e56a60e0
Merge pull request #1727 from SkynetLabs/replace-api-env-vars-with-domains
...
replace api env vars with domain vars
2022-02-17 15:40:48 +01:00
Karol Wypchlo
8a536cf43c
use ngx.var.scheme instead of https
2022-02-16 15:09:33 +01:00
Karol Wypchlo
f7f03d183a
replace api env vars with domain vars
2022-02-16 14:59:15 +01:00
Karol Wypchlo
ce7c2cdc13
add user-agent override
2022-02-16 14:25:42 +01:00
Karol Wypchło
f8f39ea936
update limit_conn to 100
...
Co-authored-by: Michał Leszczyk <michasko37@gmail.com>
2022-02-16 11:41:56 +01:00
Karol Wypchlo
166c452dbb
expose /skynet/trustless/basesector
2022-02-16 10:55:19 +01:00
Ivaylo Novakov
6371ee57e5
Update docker/nginx/conf.d/include/cors-headers
...
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2022-02-15 15:21:03 +01:00
Ivaylo Novakov
0c8fa3283b
Allow the Skynet-API-Key header.
...
Add a health-check command for fetching the test user's API key.
2022-02-15 14:59:19 +01:00
Karol Wypchlo
b827616fab
disable nginx cache when skyd cache is enabled
2022-02-10 14:55:04 +01:00
Karol Wypchlo
1d006ef163
changelog entry
2022-02-09 17:00:01 +01:00
Karol Wypchlo
d91b71ae48
escape uri on subdomain skylink requests
2022-02-09 16:47:34 +01:00
Karol Wypchlo
4e240f2ad8
add option to limit access to subscription users only
2022-01-21 17:43:30 +01:00
Karol Wypchlo
634bf8d6ba
enable cors on /logout endpoint
2022-01-19 18:08:14 +01:00
Karol Wypchlo
cafa312e10
Revert "enable cors on /logout endpoint"
...
This reverts commit 377a154da0
.
2022-01-19 18:07:43 +01:00
Karol Wypchlo
377a154da0
enable cors on /logout endpoint
2022-01-19 18:07:24 +01:00
Karol Wypchlo
15aea1da40
Merge remote-tracking branch 'origin/master' into account-only-portals
2022-01-12 13:44:36 +01:00
Karol Wypchlo
c04fd5067d
introduce portals for authenticated users only
2022-01-11 17:07:57 +01:00
Karol Wypchło
a7bad7411a
Merge pull request #1497 from SkynetLabs/adjust-blocklist-airtable-script
...
do not prune nginx cache on airtable blocklist script
2022-01-11 16:38:07 +01:00
Karol Wypchło
a86cb6e5b3
Merge pull request #1533 from SkynetLabs/get-rid-of-cache-purging-code
...
get rid of unused cache purgin code
2022-01-11 10:21:53 +01:00
Karol Wypchlo
a73858e8e9
get rid of unused cache purgin code
2022-01-10 17:10:59 +01:00
Karol Wypchlo
6a889ad793
registry subscription endpoint
2022-01-10 14:51:16 +01:00
Karol Wypchło
31e80e129e
Merge pull request #1519 from SkynetLabs/use-portal-modules-to-discover-services
...
use portal modules env to discover services in nginx
2022-01-07 13:59:50 +01:00
Karol Wypchlo
31b7090863
change var name and add description
2022-01-07 13:36:04 +01:00
Karol Wypchlo
d24c677a30
use portal modules env to discover services in nginx
2022-01-07 11:53:16 +01:00
Karol Wypchlo
669f700a9e
prevent files larger than 1GB from being stored in cache
2022-01-05 16:14:13 +01:00
Karol Wypchlo
5cf5acb4e2
do not prune blocklist manually
2021-12-23 13:17:07 +01:00
Karol Wypchlo
928e038749
fix skapp link redirect
2021-12-21 16:29:41 +01:00
Karol Wypchlo
51b56d2e42
fix skapp link redirect
2021-12-21 16:28:52 +01:00
Karol Wypchlo
f456f1c850
remove /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Applications/VMware Fusion.app/Contents/Public /usr/local/MacGPG2/bin /Library/Apple/usr/bin redirecting to
2021-12-21 16:17:40 +01:00
Karol Wypchlo
6b9e825966
expose /abuse and /abuse/report endpoints
2021-12-21 16:07:18 +01:00
Karol Wypchło
5b1d281ee1
Merge pull request #1479 from SkynetLabs/pj/abuse-skapp
...
Abuse Skapp: Update CORS rules
2021-12-21 15:56:13 +01:00
Karol Wypchło
76e302aa2a
Merge pull request #1478 from SkynetLabs/blake-hashing-lua
...
no delay blocklisting
2021-12-20 17:25:25 +01:00
Karol Wypchlo
9805ac9b2a
limit local networks
2021-12-20 14:54:42 +01:00
Karol Wypchło
a95a2627d8
Update docker/nginx/conf.d/server.local.conf
...
Co-authored-by: Ivaylo Novakov <ro-tex@users.noreply.github.com>
2021-12-20 14:18:48 +01:00
Karol Wypchlo
5673f44d1a
blocklist improvements
2021-12-20 13:12:56 +01:00
Ivaylo Novakov
d09950f1e0
Fix the port of malware-scanner.
2021-12-20 12:52:17 +02:00
Karol Wypchlo
b72c997e55
add proxy for stripe webhook endpoint
2021-12-19 16:53:50 +01:00
PJ
a78d0cd98c
Use plain CORS
2021-12-17 16:00:01 +01:00
Ivaylo Novakov
b37008b497
Merge pull request #1364 from SkynetLabs/sevey/update-default-limit
...
Update default limit for Uploads
2021-12-17 15:32:33 +01:00
PJ
91cd98eaa1
Add newline
2021-12-17 15:20:31 +01:00
PJ
98dc87ba6f
Update CORS rules
2021-12-17 15:15:06 +01:00
Karol Wypchlo
a3711b1e0f
expose accounts /health endpoint
2021-12-15 12:44:01 +01:00
Ivaylo Novakov
412ba559fa
Expect 200s.
2021-12-14 14:38:40 +02:00
Ivaylo Novakov
60cef34bfc
Move blocker from .102 to .110
2021-12-14 11:10:15 +02:00
Ivaylo Novakov
bf5aa247dd
Add nginx triggers that would let malware-scanner know that it needs to scan a given skylink.
2021-12-09 16:21:49 +01:00
Ivaylo Novakov
a4242a9234
Merge branch 'master' into accounts-api-refactor
...
# Conflicts:
# .gitignore
2021-12-09 14:03:59 +01:00
Matthew Sevey
7bf366db24
Add serverload endpoint ( #1410 )
...
* write usage script for cpu and free disk space tracking, testing new endpoint
* Test alias nginx path
* testing json
* fix server load json file being served by nginx
* Fix filenames
* Add changelog
* Add systemd file for serverload
* Update setup-scripts/serverload.sh
Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2021-12-06 12:49:58 +01:00
Chris Schinnerl
495dd8d14b
Merge remote-tracking branch 'origin/master' into accounts-api-refactor
2021-12-03 10:20:33 +01:00
PJ
341f313839
Remove comments
2021-12-02 17:28:40 +01:00
PJ
6e1af409c6
Remove commented out code
2021-12-02 17:23:37 +01:00
PJ
938c5905c5
Remove CORS settings
2021-12-02 17:07:11 +01:00
PJ
c89663b393
Add missing semi colon
2021-12-02 14:05:41 +01:00
PJ
6c99803749
Bypass CORS issue
2021-12-01 16:51:40 +01:00
PJ
25fd697d5f
Configure routes
2021-12-01 16:23:56 +01:00
PJ
63b283fc42
Update block routes
2021-12-01 12:56:25 +01:00
PJ
1fe2c3d76f
Add abuse location
2021-12-01 11:18:25 +01:00
Matthew Sevey
c273634e27
Update docker/nginx/conf.d/server/server.api
2021-11-30 07:43:17 -05:00
Ivaylo Novakov
ec94429f2a
Expose accounts's challenge-response endpoints + CORS.
2021-11-16 09:27:04 +01:00
Matthew Sevey
0e9d9a624e
Merge branch 'master' into sevey/update-default-limit
2021-11-15 10:12:07 -08:00
Matthew Sevey
aba544aa2e
increase to 5GB limit for uploading large directories:
2021-11-15 10:11:38 -08:00
Karol Wypchlo
74084a8da8
upgrade accounts to new api
2021-11-13 01:34:00 +01:00
Ivaylo Novakov
030b8b9419
Set burst to 10, parallel to 5.
2021-11-12 18:10:38 +01:00
Ivaylo Novakov
c0eb41d10d
Set burst to 2.
2021-11-11 17:17:53 +01:00
Karol Wypchlo
e0520de05e
introduce hard upload limits
2021-11-11 16:59:51 +01:00
Matthew Sevey
6a3edd6848
Drop unused requested skylink header
2021-11-08 13:13:44 -05:00
Karol Wypchło
d4eb04f702
Merge pull request #1346 from SkynetLabs/ivo/inc_body_restore
...
Increase the request body size of the /skynet/restore endpoint to 5MB.
2021-11-08 16:31:40 +01:00
Karol Wypchlo
c4e771759b
unit tests
2021-11-05 17:12:01 +01:00
Karol Wypchlo
a4ce3c935d
implement base32 decoder
2021-11-05 13:29:33 +01:00
Karol Wypchlo
878660c52a
remove siapath
2021-11-03 17:16:28 +01:00
Karol Wypchlo
d4b9146ecf
add siapath
2021-11-03 15:06:09 +01:00
Karol Wypchlo
eec5150264
fix /restore endpoint
2021-11-03 14:51:10 +01:00
Karol Wypchlo
040ea5b581
fix /restore endpoint
2021-11-03 14:50:20 +01:00
Ivaylo Novakov
7787903c06
Proxy-pass /skynet/restore to skyd.
2021-11-03 14:22:05 +01:00
Ivaylo Novakov
c34a32a3fd
Require auth.
2021-11-03 12:51:29 +01:00
Ivaylo Novakov
adff743fde
Add CORS.
2021-11-03 10:17:44 +01:00
Ivaylo Novakov
45688eeab1
Increase the request body size of the /skynet/restore endpoint to 5MB.
2021-11-03 09:57:55 +01:00
Karol Wypchlo
40d0bb0e4d
fix caching
2021-10-26 16:47:06 +02:00
Karol Wypchlo
d13a68d825
fix caching
2021-10-26 16:44:06 +02:00
Karol Wypchlo
81a1338f00
move cache to lua to minimise number of requests
2021-10-26 13:01:15 +02:00
Karol Wypchlo
d4bc9df1ce
Merge remote-tracking branch 'origin/master' into wildcard-api
2021-10-26 12:48:00 +02:00
Karol Wypchło
97b1920409
fix registry tracking method ( #1299 )
2021-10-19 16:59:23 +02:00
Karol Wypchlo
ffb1e499b9
use skynet to load our homepage
2021-10-18 16:24:23 +01:00
Karol Wypchlo
aa99006822
Merge remote-tracking branch 'origin/master' into wildcard-api
2021-10-15 15:04:06 +02:00