Commit Graph

371 Commits

Author SHA1 Message Date
Karol Wypchlo d27dca72d1
remove unused variable 2022-04-22 14:26:34 +02:00
Karol Wypchlo b88cdf6d76
track anon uploads 2022-04-22 14:23:01 +02:00
Karol Wypchło 8a6eec3e7b
Merge pull request #2010 from SkynetLabs/dnslink-sponsor
pass skylink from request context to /user/limits
2022-04-21 12:55:42 +02:00
Michał Leszczyk f433287bb6
Dashboard v2 - fixes + publishing under /v2 path (#2008)
* fix(dashboard-v2): fix current usage graph on portals without Stripe configured

* ops(dashboard-v2): publish new dashboard under /v2 prefix

* ops(dashboard-v2): fix SkynetClient on multi-server portals

* fix(dashboard-v2): fix skylinks validation for sponsor keys

* ops(dashboard-v2): don't actually launch the new dashboard yet :)

* chore(dashboard-v2): cleanup console.log call

* fix(dashboard-v2): always set portal domain for SkynetClient
2022-04-19 13:16:57 +02:00
Karol Wypchlo ad090fd1ff
pass skylink from request context to /user/limits 2022-04-14 15:58:01 +02:00
Karol Wypchło c1d07083fb
Merge pull request #1974 from SkynetLabs/improve-lua-stability-and-test-coverage
improve lua stability and test coverage
2022-04-14 13:20:07 +02:00
Karol Wypchlo cfe4ca0d87
add skynet-sponsor-key dnslink functionality 2022-04-08 13:56:20 +02:00
Karol Wypchlo 2e39fb4736
remove spy stub that will never be called 2022-04-08 13:24:35 +02:00
Karol Wypchlo a0693ac6b6
fix bad test title 2022-04-08 13:20:48 +02:00
Karol Wypchlo 4e64ddd798
match lowercase true/false 2022-04-08 13:20:05 +02:00
Karol Wypchło decb62d15a
Merge branch 'master' into improve-lua-stability-and-test-coverage 2022-04-08 11:52:59 +02:00
Karol Wypchlo 1c3fcf6999
add newlines on eof 2022-04-08 11:51:53 +02:00
Karol Wypchło e7183f471b
remove max body size constraint on tus endpoint (#1976) 2022-04-07 13:52:23 +02:00
Karol Wypchlo 9b3e659ec5
lua testing and codecov v3 2022-04-06 15:14:44 +02:00
Karol Wypchlo aa03f62bc7
fix hadolint reported issues 2022-03-31 12:02:31 +02:00
Karol Wypchlo c324572356
ensure portal and server api headers on dnslink server 2022-03-29 12:54:09 +02:00
Karol Wypchło 65cb6a4c2a
include lua linter luacheck in github action (#1923) 2022-03-25 13:56:03 -04:00
Karol Wypchło 66480dd026
Merge branch 'master' into certbot 2022-03-21 17:01:05 +01:00
Christopher Schinnerl a292a9e2a2
Merge pull request #1856 from SkynetLabs/ivo/nginx_passes_apikey
Nginx to pass Skynet-Api-Key and Authorization headers
2022-03-21 17:00:00 +01:00
Karol Wypchlo c19ef307d8
clean up code and comments 2022-03-21 14:43:42 +01:00
Karol Wypchlo 75fad4fb91
reformat 2022-03-21 14:38:57 +01:00
Karol Wypchlo b42ac0678b
clean up cookie extraction 2022-03-21 14:31:53 +01:00
Karol Wypchlo d0de18fcd0
explain subscription mode 2022-03-21 13:29:48 +01:00
Karol Wypchło 5ede788667
Merge branch 'master' into improve-subscription-only-portal-communication 2022-03-21 13:20:00 +01:00
Karol Wypchlo 27bfac6801
add empty lines 2022-03-21 13:18:20 +01:00
Karol Wypchlo 12fd1d5b7d
replace caddy with certbot 2022-03-21 10:32:23 +01:00
Karol Wypchło f47bd3f9a4
Merge branch 'master' into ivo/nginx_passes_apikey 2022-03-18 15:27:36 +01:00
Karol Wypchło 83b962a70f
Merge pull request #1873 from SkynetLabs/fix-blocker-host-not-found-when-blocker-module-not-enabled
fix: host not found in upstream "blocker"
2022-03-18 13:03:30 +01:00
Christopher Schinnerl 94c88d4fac
Merge pull request #1876 from SkynetLabs/return-buffer-values-to-default
return buffer values to default
2022-03-17 16:35:56 +01:00
Ivaylo Novakov 2f9f895ef8
Merge pull request #1855 from SkynetLabs/ivo/limits_bytes
Request /user/limits in bytes.
2022-03-17 16:22:33 +01:00
Karol Wypchlo 6c9f026910
return buffer values to default 2022-03-17 16:18:24 +01:00
Karol Wypchlo ca61d359be
fix: host not found in upstream "blocker" 2022-03-17 11:30:52 +01:00
Karol Wypchło a916cc5a93
expose Accept-Ranges header (#1872) 2022-03-17 09:29:24 +01:00
Karol Wypchlo 8623f53d9d
export is_table_empty from utils module 2022-03-15 22:56:24 +01:00
Karol Wypchlo e8345a3be6
extract is_table_empty to separate utils lib 2022-03-15 22:53:31 +01:00
Karol Wypchlo d631aad058
move req headers to timer arguments 2022-03-15 22:43:35 +01:00
Karol Wypchlo e2beee6fac
drop nginx blocklist proxy endpoint 2022-03-15 10:47:02 +01:00
Karol Wypchlo 4f6b5fb0a8
clean up nginx skylink cache related code 2022-03-15 09:40:25 +01:00
Ivaylo Novakov 2db648b0ad
Nginx passes Skynet-Api-Key and Authorization headers at all spots where it passes the Cookie header. 2022-03-10 18:11:37 +01:00
Ivaylo Novakov e40ca0011c
Request /user/limits in bytes. 2022-03-10 14:52:45 +01:00
Karol Wypchlo a743b625ff
Revert "Merge pull request #1831 from SkynetLabs/redirect-base64-skylink-to-base32"
This reverts commit e998882ca8, reversing
changes made to 85dd22a72e.
2022-03-10 09:55:24 +01:00
Karol Wypchlo 6e3f7d76d5
Revert "Merge pull request #1832 from SkynetLabs/redirect-hns-endpoint-to-hns-subdomain"
This reverts commit 1b64969461, reversing
changes made to 7da5a24c6e.
2022-03-10 09:55:09 +01:00
Karol Wypchlo fadf7fccb8
Revert "Merge pull request #1853 from SkynetLabs/add-missing-cors-headers"
This reverts commit 85df3958c1, reversing
changes made to 8db71f57ec.
2022-03-10 09:54:18 +01:00
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