Commit Graph

8906 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan 7e1fbb3017 groups: add appIds field to groups object 2025-02-12 13:07:41 +01:00
Girish Ramakrishnan 7322006455 test: fix route53 tests 2025-02-11 11:29:43 +01:00
Girish Ramakrishnan 58fcca58fc domains: migrate route53 to aws sdk v3 2025-02-10 17:42:56 +01:00
Girish Ramakrishnan 5c605be45c isBase64 check is redundant
As long as it is a string and even if you throw in some garbage, it returns
an empty buffer.

> b = Buffer.from('!@#%%^@', 'base64')
<Buffer >
2025-02-10 14:58:36 +01:00
Girish Ramakrishnan 203ab05d12 test: no more send for superagent.get 2025-02-09 11:17:41 +01:00
Johannes Zellner e608257c1a Return 404 for check dns records if domain is not known 2025-02-06 18:27:40 +01:00
Girish Ramakrishnan c6e93b9870 test: enable nock as needed 2025-02-06 15:01:59 +01:00
Girish Ramakrishnan f64297c256 test: readdirp signature has changed 2025-02-06 15:01:41 +01:00
Girish Ramakrishnan edb9bac503 server: close all connections
without this the server still holds on to active connections in node 18
2025-02-06 15:00:28 +01:00
Girish Ramakrishnan fa64191082 assert.strictEqual results in oom, go figure 2025-02-05 19:11:02 +01:00
Girish Ramakrishnan 4a5c0e7ff0 superagent.get does not want send 2025-02-05 18:58:47 +01:00
Girish Ramakrishnan aa54e47029 tests: enable nock when needed
by default, it makes all requests disappear
2025-02-05 18:27:57 +01:00
Girish Ramakrishnan 7bcb6dd7cb unused require 2025-02-05 17:27:07 +01:00
Girish Ramakrishnan 3ebb41c5ad docker: include error.message 2025-02-05 16:23:31 +01:00
Girish Ramakrishnan 23d91c7b37 upgrade readdirp 2025-02-05 15:50:10 +01:00
Girish Ramakrishnan 55939f6320 test: fix support test 2025-02-05 11:53:33 +01:00
Girish Ramakrishnan c61357ec6d Revert "tld.isValid is deprecated"
This reverts commit daff760280.

deprecated but hasn't seen a release in 7 years
2025-02-05 10:51:05 +01:00
Girish Ramakrishnan daff760280 tld.isValid is deprecated 2025-02-05 10:39:49 +01:00
Girish Ramakrishnan e161c26c35 docker: validate serverAddress 2025-02-05 10:37:01 +01:00
Johannes Zellner 5a16a50b3f Fix typo in setting ssh support status 2025-02-03 18:37:55 +01:00
Girish Ramakrishnan 178ebf3ed0 const 2025-02-02 11:45:48 +01:00
Girish Ramakrishnan 979e91a2eb skip check when no ipv4/ipv6
(cherry picked from commit c478ace8bd)
2025-02-02 08:41:43 +01:00
Girish Ramakrishnan 6c7341b9f3 cloudflare: list recordrecord API does not return zone_id anymore 2025-01-31 23:05:16 +01:00
Girish Ramakrishnan d1da77d6bc const 2025-01-31 09:47:31 +01:00
Girish Ramakrishnan 6cd97d2cb9 remove usage of util.format 2025-01-31 09:46:06 +01:00
Girish Ramakrishnan 74f4849144 req.connection.remoteAddress is deprecated 2025-01-29 10:35:21 +01:00
Girish Ramakrishnan b8c36b034b fix comment 2025-01-29 10:01:18 +01:00
Girish Ramakrishnan d51183be51 lint 2025-01-29 09:59:15 +01:00
Girish Ramakrishnan b43fa38350 username: only ending with .app is reserved 2025-01-25 16:03:19 +01:00
Girish Ramakrishnan 47729e3e43 notifications: add update failure in defaults 2025-01-24 18:51:04 +01:00
Girish Ramakrishnan ac0426d97d notification: update failure mail 2025-01-24 18:44:44 +01:00
Girish Ramakrishnan 837d5803c8 backups: add preserve attributes checkbox 2025-01-24 13:59:01 +01:00
Girish Ramakrishnan 84a1f40115 update mail image 2025-01-23 17:55:19 +01:00
Girish Ramakrishnan abb40b3ad7 mail: rebuild index 2025-01-23 17:47:49 +01:00
Girish Ramakrishnan dfd54b7b54 mail: disable ocr in tika 2025-01-23 17:23:34 +01:00
Girish Ramakrishnan d0fbf68d90 typo 2025-01-20 13:56:26 +01:00
Girish Ramakrishnan 230599417e restore: fix crash with invalid backup id 2025-01-20 13:51:55 +01:00
Girish Ramakrishnan 0280059c13 notifications: server reboot email 2025-01-19 11:18:49 +01:00