Commit Graph

507 Commits

Author SHA1 Message Date
Karol Wypchlo 9302ec8077
add missing cors headers 2022-03-10 08:36:54 +01:00
Karol Wypchlo 6189ec1617
improve user communication on subscription required portal 2022-03-09 14:27:27 +01:00
Karol Wypchlo 4dff19c6c7
remove internal tier 2022-03-08 04:02:01 +01:00
Karol Wypchło e656bd78a3
Merge branch 'master' into include-subscription-info 2022-03-08 03:58:39 +01:00
Karol Wypchło 1b64969461
Merge pull request #1832 from SkynetLabs/redirect-hns-endpoint-to-hns-subdomain
permanent redirect some-portal.com/hns/[domain] to [domain].hns.some-portal.com
2022-03-07 23:55:21 +01:00
Karol Wypchło e78efc3cfa
Merge branch 'master' into redirect-hns-endpoint-to-hns-subdomain 2022-03-06 14:47:41 +01:00
Karol Wypchlo 55f57c9fa2
Revert "use skynet to load our homepage"
This reverts commit ffb1e499b9.
2022-03-06 14:33:23 +01:00
Karol Wypchło 0a669d8730
Merge branch 'master' into include-subscription-info 2022-03-06 13:58:23 +01:00
Karol Wypchło c7b6d17b88
Merge pull request #1830 from SkynetLabs/redirect-sdk-docs
redirect sdk docs to sdk.skynetlabs.com
2022-03-05 20:12:51 +01:00
Karol Wypchlo 7c61d5ef9d
Merge branch 'fix-hns-domains-and-skylinks-without-args' into redirect-hns-endpoint-to-hns-subdomain 2022-03-04 20:01:01 +01:00
Karol Wypchlo dcba6a0950
fix hns domains using redirected skylink endpoint 2022-03-04 19:48:38 +01:00
Karol Wypchlo b3f1d05031
properly handle case where ngx.var.args is nil 2022-03-04 18:36:07 +01:00
Karol Wypchlo d53965b095
fix no args case 2022-03-04 18:21:42 +01:00
Karol Wypchło 4d523cb7bd
Merge branch 'master' into redirect-hns-endpoint-to-hns-subdomain 2022-03-04 18:07:40 +01:00
Karol Wypchlo 59347ba909
permanent redirect some-portal.com/hns/[domain] to [domain].hns.some-portal.com 2022-03-04 13:36:31 +01:00
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 Wypchlo 30e8c886b9
use constants in tier defaults 2022-03-03 19:13:38 +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
Ivaylo Novakov 53c4b7a05c
Merge pull request #1827 from SkynetLabs/pj/blocklist-endpoint
Expose Blocklist Endpoint
2022-03-03 14:08:40 +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
Karol Wypchło 35c3211005
Revert "switch accounts service to docker image" 2022-03-03 11:07:23 +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 Wypchło 3a95ee4744
remove ttl 2022-03-01 12:42:54 +01:00
Karol Wypchło ac76c0fe80
Merge branch 'master' into set-portal-domain-as-server-domain-when-accessing-through-server-domain 2022-02-28 15:18:21 +01:00
Karol Wypchlo 520f935cd2
make code more verbose 2022-02-28 15:11:11 +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 ef31cc6dae
Merge branch 'master' into use-handshake-docker-image 2022-02-25 14:36:30 +01:00
Ivaylo Novakov e5894b1b3c
Merge pull request #1769 from SkynetLabs/switch-accounts-to-docker-image
switch accounts service to docker image
2022-02-25 11:23:54 +01:00
Karol Wypchło b6dd4c5ef6
drop ipv6 support (#1768) 2022-02-25 09:57:55 +01:00
Karol Wypchlo 3942e3fa0e
switch accounts service to docker image 2022-02-25 00:28:50 +01:00
Karol Wypchło c08e928991
Merge branch 'master' into clean-up-nginx-specific-code 2022-02-24 16:17:02 +01:00
Karol Wypchlo f08249e0e5
use handshake docker image 2022-02-24 15:44:41 +01:00
Karol Wypchło 368eaa0fbe
switch blocker to image (#1764) 2022-02-24 13:18:37 +01:00
Karol Wypchło 69e2b59322
switch abuse-scanner to image (#1766) 2022-02-24 13:16:30 +01:00
Karol Wypchlo ccb271a3d7
switch malware-scanner to image 2022-02-24 10:57:08 +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 Wypchlo 87e2a9e3bb
add skynet-cache-ratio header to access log 2022-02-18 13:06:48 +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 Wypchło c481a76748
Merge pull request #1729 from SkynetLabs/update-nginx-distro
upgrade nginx linux distro from ubuntu 18 LTS to 20 LTS
2022-02-17 15:21:34 +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 26a0451d32
upgrade nginx linux distro from ubuntu 18 LTS to 20 LTS 2022-02-16 14:40:29 +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
dependabot[bot] e399cf17ee
Bump node from 16.13.2-alpine to 16.14.0-alpine in /docker/handshake
Bumps node from 16.13.2-alpine to 16.14.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 14:30:44 +00: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 Wypchło 9f4903021f
add ttl for dns entry used for ssl challenge 2022-02-03 12:15:56 +01:00
Karol Wypchlo 04bced818f
never restrict options requests 2022-01-26 23:56:37 +01:00
Karol Wypchlo 4e240f2ad8
add option to limit access to subscription users only 2022-01-21 17:43:30 +01:00
Karol Wypchlo ce3b3d035d
check if blocklist is not null 2022-01-20 11:06:34 +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 46b4cdf0bf
fix empty check on nginx sourced env variable 2022-01-19 17:50:46 +01:00
Karol Wypchlo e4d2dffe86
allow to use skyd api password from env 2022-01-19 15:35:18 +01:00
dependabot[bot] 9e0f84e641
Bump node from 16.13.1-alpine to 16.13.2-alpine in /docker/handshake
Bumps node from 16.13.1-alpine to 16.13.2-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 12:10:13 +00:00
Karol Wypchlo 4b74ced941
changed ACCOUNTS_AUTH_REQUIRED to ACCOUNTS_LIMIT_ACCESS string var for more flexibility 2022-01-12 14:05:25 +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 Wypchlo b7a7d078ea
remove not exisiting dir copy after #1533 2022-01-11 12:56:29 +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 d34366aefc
improve get_stale usage docs 2021-12-20 16:55:14 +01:00
Karol Wypchlo 871712c3f8
improve docs around shared dict size 2021-12-20 16:50:54 +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
PJ b9feec9f1e
Merge branch 'master' of https://github.com/SkynetLabs/skynet-webportal into pj/mail-scanner 2021-12-20 13:46:36 +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