Commit Graph

525 Commits

Author SHA1 Message Date
Karol Wypchlo 241de3f2ae
use remote sia dockerfile 2022-07-06 18:40:24 +02:00
Matthew Sevey 37a56e5568
Remove NGINX code 2022-05-25 15:18:12 -04:00
Karol Wypchlo 1ac4c04e42
server domain workaround for single server portals 2022-05-17 13:04:34 +02:00
Matthew Sevey cdfd94d290
Revert "Revert "Merge pull request #1917 from SkynetLabs/use-accounts-image"" 2022-04-22 13:50:28 -04:00
Karol Wypchło a6ab6b31b7
Merge pull request #2046 from SkynetLabs/track-uploader-ip
track uploader ip
2022-04-22 17:38:39 +02:00
Karol Wypchlo 446049986c
Revert "Merge pull request #1917 from SkynetLabs/use-accounts-image"
This reverts commit f3ec613a5a, reversing
changes made to 25d573b9ba.
2022-04-22 17:33:26 +02:00
Karol Wypchlo 0772958064
use pairs instead of ipairs 2022-04-22 17:06:17 +02:00
Karol Wypchlo f88dcf3eee
include unit tests for uploader ip 2022-04-22 15:38:09 +02:00
Karol Wypchlo 39f9b4d196
fix headers 2022-04-22 15:19:07 +02:00
Karol Wypchlo 5301384609
do not include form header 2022-04-22 15:16:07 +02:00
Karol Wypchlo e8babb625e
try formvalue 2022-04-22 15:08:01 +02:00
Karol Wypchlo 20f6831eb0
track file uploader ip 2022-04-22 15:00:05 +02:00
Karol Wypchło 5d33b79f69
Merge pull request #2041 from SkynetLabs/nginx-docker-improvements
Nginx docker improvements
2022-04-22 14:35:55 +02:00
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 Wypchlo d65397ac67
include nginx list of license conditions and disclaimer 2022-04-22 14:00:33 +02:00
Karol Wypchlo 9e675a2a04
add comment about skynet_portal_domain being set to server domain 2022-04-22 10:17:30 +02:00
Karol Wypchlo 1d6d3cbfb6
fix DL3025 warning 2022-04-21 16:01:20 +02:00
Karol Wypchlo ac99a426b3
fix DL3014 warning 2022-04-21 15:59:07 +02:00
Karol Wypchlo 873f23b7bf
add nginx license source 2022-04-21 15:57:16 +02:00
Karol Wypchlo 306442eef3
use volumes to mount nginx configuration 2022-04-21 15:34:52 +02:00
Karol Wypchlo 98306b473c
use official nginx entrypoint with envsubst and custom restart script 2022-04-21 15:21:58 +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 cfdfc52e6a
fix hadolint reported issues 2022-03-31 12:23:16 +02:00
Karol Wypchlo fbdd689669
fix hadolint reported issues 2022-03-31 12:18:26 +02:00
Karol Wypchlo 2d52aa3b75
fix hadolint reported issues 2022-03-31 12:05:08 +02:00
Karol Wypchlo aa03f62bc7
fix hadolint reported issues 2022-03-31 12:02:31 +02:00
Karol Wypchło 713579d04c
Merge branch 'master' into use-accounts-image 2022-03-30 17:41:38 +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 Wypchlo 084ef04690
use skynet-accounts image instead of local dockerfile 2022-03-24 13:45:31 +01: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