Commit Graph

485 Commits (fix_publish_note)

Author SHA1 Message Date
Laurent Cozic 9426a2170c Server v2.7.2 2021-12-29 14:34:28 +01:00
Laurent Cozic b47a541976 Server v2.7.1 2021-12-29 14:34:28 +01:00
Laurent Cozic b214c8e42a Server v2.7.2 2021-12-29 12:21:20 +01:00
Laurent Cozic 7c00bc5d0e Server v2.7.1 2021-12-29 12:20:41 +01:00
Laurent Cozic 863d894af1 Tools: Test migration upgrade and downgrade on Joplin Server 2021-12-29 11:54:27 +01:00
Laurent d1e02fd5f0
Server: Allow deleting complete user data (#5824) 2021-12-28 09:55:01 +00:00
Laurent Cozic 26883d31da Setup new release 2.7 2021-12-27 17:56:59 +01:00
Laurent Cozic e08359f7e0 Tools: Removed no longer needed double-dash and fixed CI 2021-12-21 17:55:30 +01:00
Laurent Cozic 106ce4b09d Tools: Do not clear output of tsc watch 2021-12-21 12:43:12 +01:00
Laurent Cozic a7a2dfbbd0 Tools: Allow the server clean command to run on Windows 2021-12-20 16:48:40 +01:00
Laurent 7f64fbfd9b
Tools: Use Yarn 3 to manage monorepo (#5833) 2021-12-20 15:08:43 +00:00
Daniel Landau 79a930597d
Doc: Add instructions for Docker on Linux (#5864) 2021-12-18 15:16:57 +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 684857752f Server v2.6.14 2021-12-09 10:20:47 +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 6eec0dd58e Server v2.6.13 2021-11-29 18:41:53 +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 7985958f03 Server v2.6.12 2021-11-23 16:31:11 +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
nzlov 90957e5a34
Doc: Server: fix type File -> Filesystem (#5730)
update  `STORAGE_DRIVER` type . From `File` to `Filesystem`
2021-11-15 00:50:30 -05:00
Laurent Cozic c908347cec Server v2.6.11 2021-11-14 17:15:03 +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 73b702b8dc typo 2021-11-13 17:27:45 +00:00
Laurent Cozic 4b23d6c1f5 Doc: Add section on how to setup Joplin Server storage 2021-11-13 17:25:05 +00:00
Laurent Cozic 61df69f609 Server v2.6.10 2021-11-13 12:48:36 +00:00
Laurent Cozic 76d95a9e18 Server v2.6.9 2021-11-13 12:47:08 +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 72f336a5af Server v2.6.8 2021-11-11 15:24:21 +00:00
Laurent Cozic dfa5f8b357 Server: Fixed S3 configuration 2021-11-11 15:22:30 +00:00
Laurent Cozic 3cdbd6dd15 Server v2.6.7 2021-11-11 14:44:06 +00:00
Laurent Cozic c6dec0a045 Server: Added command to test a storage connection 2021-11-11 14:42:22 +00:00
Laurent Cozic 4879edc59a Server v2.6.6 2021-11-11 14:06:27 +00:00
Laurent Cozic 005f720f7b Server: Added command to migrate content to different storage 2021-11-11 13:59:05 +00:00
Laurent Cozic fc64c8264c Server v2.6.5 2021-11-10 12:08:10 +00:00
Laurent Cozic cc23a8b70b Server v2.6.4 2021-11-10 12:07:06 +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 021ce14348 Server v2.6.3 2021-11-08 15:21:20 +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 8c6d78e01c Merge branch 'dev' into release-2.6 2021-11-03 12:55:28 +00:00
Laurent Cozic a65c424233 Server v2.6.2 2021-11-03 12:55:01 +00:00
Laurent Cozic 190550fe8e Tools: Fixed server tests 2021-11-03 12:53:25 +00:00
Laurent Cozic f1bfcfde81 Server v2.6.1 2021-11-03 12:27:28 +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 bcd568a496 Setup new release 2.6 2021-11-02 20:07:13 +00:00
Laurent Cozic 08ee2b200f Merge branch 'release-2.5' into dev 2021-11-02 14:47:19 +00:00
Laurent Cozic 57b8aa1789 Server v2.5.10 2021-11-02 14:46:52 +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 251400ccaf Server v2.5.9 2021-10-28 20:44:25 +01:00
Laurent Cozic 6c6e2a68e1 Merge branch 'dev' into release-2.5 2021-10-28 20:43:14 +01:00
Laurent Cozic 4a2af32f6b Server: Remove session expiration for now 2021-10-28 20:42:26 +01:00
Laurent Cozic 3359ea3fa0 Server v2.5.8 2021-10-28 17:07:44 +01:00
Laurent Cozic 2cbcfa5bc8 Slow down migration 2021-10-28 17:06:16 +01:00
Laurent Cozic 0a7fdac850 Server v2.5.7 2021-10-27 19:40:32 +01:00
Laurent Cozic a753429277 Server: Fixed items.owner_id migration 2021-10-27 19:38:45 +01:00
Laurent Cozic dca13b3a68 Server: Moved CLI commands to separate files 2021-10-27 19:30:43 +01:00
Laurent Cozic 9ba90b551a Server: Fixed Stripe portal page redirection 2021-10-27 16:39:45 +01:00
Laurent Cozic f1c4d35ef3 Server: Fixed owner_id migration for SQLite 2021-10-27 16:33:03 +01:00
Laurent Cozic b0e3e1b50e Server v2.5.6 2021-10-27 16:21:21 +01:00
Laurent Cozic b655f2780f Server: Added item owner ID, and allow disabling db auto-migrations 2021-10-27 16:18:42 +01:00
Laurent Cozic 0ada1dfb46 Server: Expire sessions after 12 hours 2021-10-26 12:35:06 +01:00
Laurent Cozic b497177fff Server: Delete all sessions when a password is changed or reset 2021-10-25 17:36:40 +01:00
Piotr Kowalski 1a90ad326f
Server: Fixed display of latest migration in startup log (#5627) 2021-10-25 12:31:01 +01:00
Laurent Cozic 2f09f884be Server: Run oversized account task more frequently 2021-10-24 12:23:36 +01:00
Laurent Cozic bc5a853460 Server: Improved task service log entries 2021-10-24 12:23:36 +01:00
Laurent Cozic 643bddf44e Added comments 2021-10-24 12:23:36 +01:00
Laurent Cozic d4a03222f5 Server v2.5.5 2021-10-23 21:58:53 +01:00
Laurent Cozic 82f7052ebf Tools: Fixing server Docker image build 2021-10-23 21:57:53 +01:00