Commit Graph

8994 Commits

Author SHA1 Message Date
Girish Ramakrishnan
5342dae5b3 tokens: add ip restriction 2025-03-07 17:50:50 +01:00
Girish Ramakrishnan
2b0fd17fbf directoryserver: init allowlist as empty string 2025-03-07 15:16:59 +01:00
Girish Ramakrishnan
f0848e23c7 replace validator module 2025-03-07 12:32:50 +01:00
Girish Ramakrishnan
3dc6e274f0 use ipaddr.js for ip validation 2025-03-07 12:32:50 +01:00
Johannes Zellner
b7b738c92b Add cron job to cleanup exired oidc objects 2025-03-05 11:48:33 +01:00
Girish Ramakrishnan
a669144d16 graphite: static IP
this allows some predictible connectivity from apps to play around
2025-03-03 17:06:20 +01:00
Johannes Zellner
da8a7041d1 Fix fs promise usage in sftp addon 2025-03-02 15:13:37 +01:00
Girish Ramakrishnan
6aca198428 domains: add option to set custom/vanity nameservers
this flag skips the NS name validation when a custom nameserver is set
i.e not to the provider's NS but uses the provider's API.
2025-03-02 09:52:08 +01:00
Girish Ramakrishnan
3f3bb4d3b7 base image 5.0.0 2025-02-28 22:52:05 +01:00
Girish Ramakrishnan
148e3dc65b boxerror: error must be string or Error 2025-02-27 16:55:12 +01:00
Girish Ramakrishnan
558620cdfa deprecate ubuntu 20.04 support 2025-02-26 16:38:04 +01:00
Girish Ramakrishnan
7b62c9e8a4 superagent: fix field() multipart generation 2025-02-26 15:08:39 +01:00
Girish Ramakrishnan
b44d65d265 superagent: use private fields 2025-02-26 14:56:25 +01:00
Girish Ramakrishnan
1197693591 test: add root dn response 2025-02-26 14:14:42 +01:00
Girish Ramakrishnan
81f91f3324 lint 2025-02-26 14:03:30 +01:00
Girish Ramakrishnan
f78f6634fa ldap: automatically detect if server supports pagination 2025-02-26 12:18:32 +01:00
Girish Ramakrishnan
28eee609de ldap: add pagination to supportedControl 2025-02-26 12:05:20 +01:00
Girish Ramakrishnan
a3e1843e8b superagent: add field() 2025-02-22 17:48:07 +01:00
Girish Ramakrishnan
5aadf88ae3 superagent: fix chaining 2025-02-20 10:56:04 +01:00
Girish Ramakrishnan
4e038142da superagent: fix multipart form-data 2025-02-18 16:55:31 +01:00
Girish Ramakrishnan
d75e95a23d superagent: rewrite using native node request
the learning is that fetch() is really meant to be a browser side
XMLHttpRequest replacement. It's complicated to do things like
setting user agent, custom headers like Host, disabling tls validation etc.
2025-02-18 16:23:06 +01:00
Girish Ramakrishnan
d3b10a6711 async not needed, they already return a promise 2025-02-18 14:03:09 +01:00
Girish Ramakrishnan
faa14fa91d superagent: retry in graphs logic to workaround node socket issue
https://github.com/nodejs/undici/issues/3492
2025-02-18 12:41:34 +01:00
Girish Ramakrishnan
85dced9cd1 superagent: print attempt and any error 2025-02-18 12:13:14 +01:00
Girish Ramakrishnan
e45df6fa6d typo 2025-02-18 11:28:23 +01:00
Girish Ramakrishnan
8bbf9b50b4 superagent: redirect should not throw 2025-02-18 10:43:29 +01:00
Girish Ramakrishnan
12794a499d domains: validate domain configs in a cron
no email notification yet, we have to rework this notifications/eventlog stuff
2025-02-17 19:11:11 +01:00
Girish Ramakrishnan
3d31f73453 add missing await 2025-02-17 18:38:20 +01:00
Johannes Zellner
11c64f3035 http reqs still have statusCode 2025-02-17 14:26:17 +01:00
Girish Ramakrishnan
b5721fe6f3 inline basic-auth module 2025-02-15 16:56:40 +01:00
Girish Ramakrishnan
ec99cae3d9 superagent: do not read file as string 2025-02-15 16:26:50 +01:00
Girish Ramakrishnan
cceae6770c superagent: multipart requires content-type to be unset 2025-02-15 16:11:55 +01:00
Girish Ramakrishnan
4cfa658fde add some superagent tests 2025-02-15 15:54:39 +01:00
Girish Ramakrishnan
8e58349bfa replace with custom superagent based on fetch API 2025-02-15 15:14:09 +01:00
Girish Ramakrishnan
20a30b303b s3: fix encoding of downloaded stream 2025-02-13 19:29:07 +01:00
Girish Ramakrishnan
5459a540e7 users: do nothing when nothing to update 2025-02-13 17:28:10 +01:00
Girish Ramakrishnan
221181092e tasks -> changes 2025-02-13 17:28:10 +01:00
Girish Ramakrishnan
c7572f0624 rename function 2025-02-13 17:07:34 +01:00
Girish Ramakrishnan
b94ce542c3 syncer: simply return the changes
this is easier to test. the initial code wanted to make the changes a stream.
but this never happenned since the need never arose
2025-02-13 17:06:24 +01:00
Girish Ramakrishnan
59721a3f1a s3: in v3, Body is a stream
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrate-s3.html
2025-02-13 15:17:48 +01:00
Girish Ramakrishnan
bd5ecf358a tests: tests for underscore 2025-02-13 14:51:51 +01:00
Girish Ramakrishnan
dd5e4adc73 replace underscore with our own
we only need like 5 simple functions
2025-02-13 14:14:34 +01:00
Girish Ramakrishnan
cb6d531300 storage: automatically abort old multipart uploads in s3 2025-02-13 11:09:15 +01:00
Girish Ramakrishnan
e7b11a7ceb typo 2025-02-13 10:31:20 +01:00
Girish Ramakrishnan
54c6c2e6cd Fix package.json url 2025-02-13 10:22:12 +01:00
Girish Ramakrishnan
c7ef32bf3c remove ununsed module hock 2025-02-12 23:08:52 +01:00
Girish Ramakrishnan
a138425298 storage: start migration of s3 api 2025-02-12 23:04:37 +01:00
Girish Ramakrishnan
9888aa8c08 storage: rework listDir api to be a generator (like) function 2025-02-12 19:34:57 +01:00
Girish Ramakrishnan
bd44bb4534 groups: add app access tests 2025-02-12 14:21:46 +01:00
Girish Ramakrishnan
31599c5da9 add missing await 2025-02-12 13:13:40 +01:00