Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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 4dff19c6c7
remove internal tier 2022-03-08 04:02:01 +01:00
Karol Wypchło 0a669d8730
Merge branch 'master' into include-subscription-info 2022-03-06 13:58:23 +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 Wypchlo e1ddb3c3dc
include subscription info in internal accounts endpoint 2022-02-28 14:24:13 +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 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
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 c04fd5067d
introduce portals for authenticated users only 2022-01-11 17:07:57 +01:00
Karol Wypchlo d34366aefc
improve get_stale usage docs 2021-12-20 16:55:14 +01:00
Karol Wypchlo 5673f44d1a
blocklist improvements 2021-12-20 13:12:56 +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