Commit Graph

355 Commits

Author SHA1 Message Date
Karol Wypchlo b72c997e55
add proxy for stripe webhook endpoint 2021-12-19 16:53:50 +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
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 95e8b85df9
Merge branch 'master' into ivo/clamav 2021-12-14 09:30:54 +02:00
dependabot[bot] f25a2ce604
Bump node from 16.13.0-alpine to 16.13.1-alpine in /docker/handshake
Bumps node from 16.13.0-alpine to 16.13.1-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 14:39:06 +00:00
PJ d0da240ab9
Move script 2021-12-10 17:15:49 +01: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 b3e7716a01
Merge branch 'master' into ivo/clamav 2021-12-09 14:32:13 +01:00
Ivaylo Novakov 39c4790364 Weekly Deploy for Dec 6, 2021. Including cache pruning fix
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEl73IdNcm91gzFlRkmt3TRPEwV/YFAmGuXlsACgkQmt3TRPEw
 V/b+dA//THc5/LWTRs8r7BAOQj8V9QzxJsuS7g+gV4zeDW5ymXlK0lSRSXvjNsOW
 mQ21Qx5fE05ztRlUNOUPKd1bZUgnL4O5AUBWUm87rq6NXHVop1JYaFGOpbfUpRZT
 HWE2SwGgwBRUjSgkwkz+jsg8SkajADwThLf8aSNAmKWienondtEFA8hMtBqUcyjK
 A7AsQbjjjS62lUsP78SJEPM5pG0vX+FxHzMAUtkqT94foJlI4RosyAp3yDPjrR/8
 eUn/CCci9p/ORzKnKos9DAo+1G5X0qgrP/9aGlnpDlkYZ2SQfJVMAKWaMpfIUsWi
 zihJYPogFAUHaDY1ddEnx47aYRN7hmumDGM+iUvbi39LshPBdBaeW56RRyA3qBel
 pD5eXr53C6kje5Wu6t9SbzILjh5cuQ8vd50hnrJ282vSMZbwqwwKjpliZu4FsrQC
 OiA1K7l7P8gAiL8d5YQOJ2uBTviAA0A8wNVPHx8qd/hWNOr7WxSM75POyTvRNtRq
 GdZko6/FDrK48Gw8LNxZMUa7x5LfjgtyiWfGsYomRG3GLBcy44neEhk3P37sELJv
 /jr0aOhLW+95r3OI7sUqnMppWdCKa5XFEqxTHc5Zax+NKzao3aSvRDNtujKxe+IC
 NfzJVXLtsde/Bho1B1q7GSG3YTINcJ422YwDNWfbCV0qajW40GU=
 =JEZB
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEWWr7bKPf/zmGZCrIBrk1SrCL6cYFAmGyAhsACgkQBrk1SrCL
 6ca/cwf/eXbHwojF27fYPoziWWskatsdCKJ2jnu1ovqVceVYztX9Kt+CQ++Ri4A9
 LqKvDPwLfKXF0W3x/nK6FtL2CSq81SPED/mLKMH/XTsbwtsnPFbnAzxdl7tqSA2Y
 6mqyBnyeyGby6tGW2ZE5EAYRv/dkKYzlTp7WMqoalleoRy6sbS6RZ8bJMA8xrbPo
 RwIAfvl4MVItt/qpws+J9g/qQ2QR8ZZKZtDxLxGNSFw9GDQBk/hKxRI9nP1WEsVp
 SEHCmfveOAdbzf8Cbr4j/m6wmoXPr+2qF5QIJ8eDiEAQ2YLPKbMpk6xO500geAFl
 k+6BHOQR2dOfsyyo33IFIcV9NyvDAQ==
 =F885
 -----END PGP SIGNATURE-----

Merge tag 'deploy-2021-12-06' into ivo/clamav

Weekly Deploy for Dec 6, 2021. Including cache pruning fix

# gpg: Signature made Mon Dec  6 20:02:51 2021 CET
# gpg:                using RSA key 97BDC874D726F758331654649ADDD344F13057F6
# gpg: key 9ADDD344F13057F6: public key "Matthew Sevey (Created on MacOS Big Sur for Yubi Key Nano 5) <mjsevey@gmail.com>" imported
# gpg: Total number processed: 1
# gpg:               imported: 1
# gpg: Good signature from "Matthew Sevey (Created on MacOS Big Sur for Yubi Key Nano 5) <mjsevey@gmail.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 97BD C874 D726 F758 3316  5464 9ADD D344 F130 57F6
2021-12-09 14:18:19 +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
Christopher Schinnerl b2dbe4bdb4
Merge pull request #1408 from SkynetLabs/pj/abuse
Abuse Reports
2021-12-02 19:12:28 +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 7f28d30a44
Update branch arg 2021-12-02 17:20:14 +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
PJ a03860419f
Update dockerfile 2021-12-01 11:04:02 +01:00
PJ 3722969f0f
Add blocker Dockerfile 2021-12-01 10:57:28 +01:00
PJ d1cbbb4ebb
Add min_free param to proxy_cache_path directive 2021-12-01 10:38:25 +01:00
Matthew Sevey c273634e27
Update docker/nginx/conf.d/server/server.api 2021-11-30 07:43:17 -05:00
Karol Wypchło b0fefce39e
Update docker/accounts/Dockerfile
Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
2021-11-24 00:38:45 +01:00
Ivaylo Novakov 57c15cd833
Scan a maximum of 100MB of each stream. 2021-11-16 14:13:49 +01:00
Ivaylo Novakov ec94429f2a
Expose accounts's challenge-response endpoints + CORS. 2021-11-16 09:27:04 +01:00
Ivaylo Novakov 6f20d223b1
No custom port for malware-scanner. 2021-11-16 09:19:47 +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 a0789be7a4
Move the clamd.conf where it should be. 2021-11-12 18:04:26 +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
Ivaylo Novakov b34d213274
Update docker/malware-scanner/Dockerfile
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-11-11 13:33:52 +01:00
Ivaylo Novakov f92ff89d71
Use the `malware-scanner` data dir. 2021-11-11 10:34:50 +01:00
Ivaylo Novakov 50b2c8f85c
Add ClamAV config and continue the setup. 2021-11-10 21:09:16 +01:00
Matthew Sevey 2f0f7d64e0
Update handshake to use v3.0.1 2021-11-09 18:19:49 -05:00
Ivaylo Novakov f0a4dc5f8f
Add a malware-scanner service. 2021-11-09 18:04:05 +01:00
Karol Wypchło 81acfe1e48
Update Dockerfile 2021-11-09 12:45:11 +01:00
dependabot[bot] c25618cd76
Bump caddy from 2.4.5-builder to 2.4.6-builder in /docker/caddy
Bumps caddy from 2.4.5-builder to 2.4.6-builder.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 11:37:06 +00: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
dependabot[bot] 162a9fa200
Bump node from 16.12.0-alpine to 16.13.0-alpine in /docker/handshake
Bumps node from 16.12.0-alpine to 16.13.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>
2021-11-08 12:10:15 +00:00
Karol Wypchlo c4e771759b
unit tests 2021-11-05 17:12:01 +01:00