Laurent
7f64fbfd9b
Tools: Use Yarn 3 to manage monorepo ( #5833 )
2021-12-20 15:08:43 +00:00
Laurent Cozic
10c6af8aa7
Fixed tests
2021-12-16 11:42:33 +01:00
Laurent Cozic
e9ce3d194c
Server: Changed ID length from 32 to 22 characters
...
Should still prevent collisions for 60 times the age of the Universe
2021-12-16 11:27:22 +01:00
Laurent Cozic
83a46e563d
Server: Disable logs and items pages for end-user
...
These pages don't provide very useful information, even possibly
confusing and could probably be used to DoS the server since the
associated requests are not optimised.
2021-12-16 11:18:35 +01:00
Laurent Cozic
aa42cebbca
Server: Setup localisation
2021-12-16 11:08:43 +01:00
Laurent Cozic
4a1bc075ac
Server: Display NTP server domain and port when there is an error, and display message when NTP check is skipped
2021-12-16 10:53:28 +01:00
Laurent Cozic
35f684a1ee
Server: Increase default MAX_TIME_DRIFT to 2000
2021-12-03 12:24:29 +00:00
Laurent Cozic
122afd6d46
Server: Improved storage command
2021-12-02 11:27:22 +00:00
Laurent
6bbf053a4f
Tools: Run Joplin Server Postgres tests on CI ( #5807 )
2021-11-30 15:37:07 +00:00
Laurent Cozic
dc67eace24
Server: Allow disabling NTP time drift check
2021-11-29 18:39:07 +00:00
Laurent Cozic
4fecb083a7
Server: Optimise reading from external storage when fallback driver is not present
2021-11-29 18:28:39 +00:00
Laurent Cozic
ef23d99b47
Added tests
2021-11-29 17:51:41 +00:00
Laurent Cozic
01048f5971
Server: Added command to delete database item content
2021-11-29 17:27:40 +00:00
Laurent Cozic
a6884a2ee4
Server: Remove unique constraint errors from the log when they are already handled by the application
2021-11-29 10:17:13 +00:00
MovingEarth
920847245f
Server: Do not set the SMTP auth option when user or password are not set ( #5791 )
2021-11-28 19:45:07 +00:00
Laurent Cozic
8e54a65ca5
Server: Increase default MAX_TIME_DRIFT to 100ms
2021-11-24 10:57:38 +00:00
Laurent Cozic
75f729620e
Server: Added task to compress changes older than 6 months
2021-11-23 16:25:36 +00:00
Laurent Cozic
080c3cc7dc
Server: Allow specifying a max content size when importing content to new storage
2021-11-23 16:06:56 +00:00
Laurent Cozic
16d5047379
Server: Perform storage checks before starting services
2021-11-20 15:20:10 +00:00
Laurent Cozic
fc419d98c4
Server: Fixed HandleOversizedAccounts task interval
2021-11-17 18:41:26 +00:00
Laurent Cozic
0bf323dc63
Server: Resolves #5738 : Check for time drift when the server starts
2021-11-17 18:41:25 +00:00
Laurent Cozic
42a4edb19c
Server: Display more detailed error messages on SQL query errors
2021-11-16 11:31:13 +00:00
Laurent Cozic
3716972829
Server: Display more debug info in error log
2021-11-16 10:51:56 +00:00
Laurent Cozic
5eb3a926db
Server: Prevent large data blobs from crashing the application
...
Ref: https://github.com/brianc/node-postgres/issues/2653
2021-11-14 16:47:16 +00:00
Laurent Cozic
5a41d80b75
Server: Improved storage migration error handling, and improved storage test units
2021-11-13 11:50:33 +00:00
Laurent Cozic
5cd4537044
Server: Rename "ReadOnly" mode to "ReadAndClear" to avoid any confusion
2021-11-11 17:31:24 +00:00
Laurent Cozic
4bfb4db5f1
Server: Fixed S3 connection string record in db
2021-11-11 16:36:43 +00:00
Laurent Cozic
4fc3bcbfd7
Server: Fixed S3 storage connection and improved connectiob checks
2021-11-11 16:32:34 +00:00
Laurent Cozic
73137cfb27
Server: Hide credentials from the log
2021-11-11 16:13:36 +00:00
Laurent Cozic
dfa5f8b357
Server: Fixed S3 configuration
2021-11-11 15:22:30 +00:00
Laurent Cozic
c6dec0a045
Server: Added command to test a storage connection
2021-11-11 14:42:22 +00:00
Laurent Cozic
005f720f7b
Server: Added command to migrate content to different storage
2021-11-11 13:59:05 +00:00
Laurent Cozic
9ffa29f658
Chore: Add tests for storage driver loading
2021-11-10 12:03:45 +00:00
Laurent Cozic
7431da9f3a
Server: Lazy-load storage drivers
2021-11-10 11:48:06 +00:00
Laurent
485c0d0314
Server: Allow storing item content in database, filesystem or S3 (depending on config) ( #5602 )
2021-11-09 16:05:42 +00:00
Laurent Cozic
3e5ad0a374
Desktop, Cli: Fixes #5653 : Long resource filenames were being incorrectly cut
2021-11-07 16:41:39 +00:00
Laurent Cozic
70d5c7a648
Server: Set resource content size when viewing published note
2021-11-07 11:47:37 +00:00
Laurent Cozic
9e1cb9db2c
Server: Immediately ask user to set password after Stripe checkout
2021-11-04 12:49:51 +00:00
Laurent
af19865865
All, Server: Add support for sharing notes when E2EE is enabled ( #5529 )
2021-11-03 16:24:40 +00:00
Laurent Cozic
a0d23046bf
Migration can be null
2021-11-03 15:20:17 +00:00
Laurent Cozic
7ad73df170
Server: Display latest migration name after auto-migration
2021-11-03 15:18:20 +00:00
Laurent Cozic
ce5c5d6042
Server: Disable mailer service if no-reply email is not set
2021-11-03 14:11:13 +00:00
Laurent Cozic
190550fe8e
Tools: Fixed server tests
2021-11-03 12:53:25 +00:00
Laurent
47a31c4ef1
All, Server: Add support for faster built-in sync locks ( #5662 )
2021-11-03 12:26:26 +00:00
Laurent Cozic
b5d792c606
Server: Improved env variable handling to make it self documenting and enforce type checking
2021-11-02 12:51:59 +00:00
Laurent Cozic
370441333f
Server: Improved logging and rendering of low level middleware errors
2021-11-01 19:20:36 +00:00
Laurent Cozic
99ea4b73b5
Server: Fixed issue that could cause server to return empty items in some rare cases
2021-10-31 18:29:47 +00:00
Laurent Cozic
f7a18bac2a
Server: Add unique constraint on name and owner ID of items table
...
In theory, the server enforces uniquness because when doing a PUT
operation it either creates the items if it doesn't exist, or overwrite
it. However, there's race condition that makes it possible for multiple
items with the same name being created per user. So we add this
constraint to ensure that any additional query would fail (which can be
recovered by repeating the request).
2021-10-30 10:37:56 +01:00
Laurent Cozic
4a2af32f6b
Server: Remove session expiration for now
2021-10-28 20:42:26 +01:00
Laurent Cozic
2cbcfa5bc8
Slow down migration
2021-10-28 17:06:16 +01:00