Laurent Cozic
2f46a175ab
Fixed tests
2022-12-18 16:39:02 +00:00
Laurent Cozic
31c66ae3cd
Server: Fixes #7463 : Fixed regression introduced by form-parse lib update
2022-12-18 16:00:34 +00:00
Laurent Cozic
c0541950a7
Fix TS errors
2022-11-17 16:34:16 +00:00
Laurent Cozic
64199704c2
Chore: Complete Jest upgrade
2022-11-15 10:23:50 +00:00
Laurent Cozic
97e88d7983
Fixed CI
2022-11-13 11:37:05 +00:00
Laurent Cozic
a9d2af5631
Chore: Fixed server origin (regression)
2022-11-05 11:50:45 +00:00
Laurent Cozic
ccf5d204f0
Server: Fixed account activation logic
2022-11-04 16:36:54 +00:00
Laurent Cozic
21883b4e6b
Server: Fail-safe when trying to delete a non-disabled account
2022-11-04 16:18:41 +00:00
Laurent Cozic
bbc4228ed9
Server: When re-activating an account, remove it from the deletion queue
2022-11-04 15:30:04 +00:00
Laurent Cozic
a8ed365bcf
Chore: Fixed types in server pckage
2022-11-04 09:08:49 +00:00
Laurent Cozic
7183f79b28
Chore: Disable flaky server test
2022-10-29 12:21:44 +01:00
Laurent Cozic
8cb006cfd9
Doc: Fixed typo
2022-10-29 11:48:25 +01:00
Laurent Cozic
5d31c087b0
Chore: Sort property names
2022-10-24 11:38:36 +01:00
Laurent Cozic
1379c9c706
Server: Allow enabling and disabling tasks
2022-10-21 11:47:39 +01:00
Laurent Cozic
35ce87303f
Doc: Update copyright
2022-10-20 14:27:16 +01:00
Laurent Cozic
bf92ee7c44
Server: Update sender email
2022-10-20 11:26:49 +01:00
Laurent Cozic
1cfbefb76a
Server: Allow searching user by email or name
2022-10-18 16:51:04 +01:00
Laurent Cozic
8ac8d537c8
Server: Paginate users
2022-10-18 16:50:36 +01:00
Laurent Cozic
8ea6d89d49
Server: Refactor table structure
2022-10-18 16:45:41 +01:00
Laurent Cozic
0853521bc9
Server: Update email templates
2022-10-06 11:40:11 +01:00
Henry Heino
1069d7d6fb
Chore: Update ESLint and TypeScript ( #6774 )
2022-08-31 12:57:28 +01:00
Laurent Cozic
ce02d4c94f
Chore: Finished applying eqeqeq rule
2022-07-23 11:33:12 +02:00
Laurent Cozic
2c4cf9fbdb
Server: Answer recurrent question
2022-07-05 15:16:33 +01:00
Laurent Cozic
f99b8dfde8
Server: Process user deletions once an hour
2022-06-28 11:05:09 +01:00
Laurent Cozic
ce6797d842
Server: Fixed recursively sharing note
2022-06-14 18:48:15 +01:00
Laurent Cozic
29a1cc022c
Server: Add support for recursively publishing a note
2022-06-14 18:47:43 +01:00
Laurent Cozic
8ea32201e7
Server: Fixes #6491 : Could not manually start task
2022-06-14 15:30:13 +01:00
Laurent Cozic
0618e9ec90
Server: Fixes #6531 : Fixed Unsupported File Type error when sharing certain notes
2022-06-14 14:58:52 +01:00
Laurent Cozic
55db877f85
Tools: Use simpler test passwords
2022-04-12 17:06:53 +01:00
Laurent Cozic
b3d09ce776
Doc: Add Joplin Cloud Teams offer to website
2022-04-07 15:35:15 +01:00
Laurent Cozic
cb637e817b
Server: Do not make checkboxes in published notes clickable
2022-04-05 15:42:06 +01:00
Laurent Cozic
d5dfecc19f
Server: Automatically delete expired sessions
2022-03-28 15:51:44 +01:00
Laurent Cozic
8f8cc12d79
Server: Fixed removal of user deletion tasks
2022-03-28 15:51:43 +01:00
Laurent Cozic
8e1802409f
Server: Cannot sort user deletions by email
2022-03-28 15:51:43 +01:00
Laurent Cozic
053dbabf74
Server: Add support for sidebar in user pages
2022-03-03 11:33:46 +00:00
Laurent Cozic
422a5bfa91
Server: Fixed sidebar menu selection
2022-02-23 14:03:02 +00:00
Laurent Cozic
bfe5ee8ba3
Server: Fixed user deletion schedule
2022-02-23 14:03:01 +00:00
Laurent Cozic
fe787d1257
Chore: clean up
2022-02-12 17:46:32 +00:00
Laurent Cozic
31fcd0ed1d
Server: Only use Stripe "customer.subscription.created" event to provision subscriptions
2022-02-05 18:32:45 +00:00
Laurent Cozic
e3c9bcbec6
Server: Improve admin email UI
2022-02-03 11:25:13 +00:00
Laurent Cozic
4c11bbf0da
Server: Disable session expiration logic for now
...
As we do not know how many people have version 2.5+
2022-02-02 19:17:50 +00:00
Laurent Cozic
69170dd362
Server: Enabled task to automatically delete sessions every 6 hours
2022-02-01 17:57:01 +00:00
Laurent Cozic
1afcb27601
Server: Add task to automate deletion of disabled accounts
2022-02-01 17:55:14 +00:00
Laurent Cozic
68469bc1a5
Server: Temporarily save user info before deleting account
2022-02-01 15:39:25 +00:00
Laurent Cozic
a4e279270b
Chore: Fixed server db types
2022-02-01 14:40:02 +00:00
Laurent Cozic
2f7ab7e92e
Server: Set a timestamp when disabling a user
...
So that it can be used later on to decide if user data
should be automatically deleted or not.
2022-01-31 19:52:30 +00:00
Laurent Cozic
dd705680f1
Doc: Update help
2022-01-29 19:37:27 +00:00
Laurent Cozic
00163f58d0
Server: Always display Help link even when not logged in
2022-01-29 19:31:48 +00:00
Laurent Cozic
df9c460363
Server: Make page wider only when displaying admin pages
2022-01-29 19:21:37 +00:00
Laurent Cozic
01825e6d3e
Tools: Fixed tests
2022-01-24 19:08:32 +00:00
Laurent Cozic
f5f7981dba
Server: View sent emails from admin dashboard
2022-01-22 17:29:09 +00:00
Laurent Cozic
c1aa57a72c
Doc: Update Joplin Cloud cancellation policy
2022-01-18 11:05:37 +00:00
Laurent
ca7e68ba4b
Server: Move admin pages under /admin ( #6006 )
2022-01-14 10:14:43 +00:00
Laurent Cozic
98bfb65ead
Server: Improved string localization in views
2022-01-11 15:11:37 +00:00
Laurent Cozic
09cbe3cb7c
Server: Put admin pages under /admin
2022-01-11 15:09:53 +00:00
Laurent Cozic
fd322edaab
Server: Improved env variable validation and support true-false as boolean values
2022-01-11 15:02:53 +00:00
Laurent Cozic
b92c650f5d
Server: Fixes #5958 : Fixed sharing notebook with a user that does not have E2EE enabled
2022-01-09 15:20:23 +00:00
Laurent Cozic
9dbf5e02eb
Server: Remove uneeded CSS file
2022-01-09 12:04:54 +00:00
Laurent Cozic
df14ffdee2
Server: Resolves #5222 : Fixed handling of mailer security settings, and changed env variable name MAILER_SECURE => MAILER_SECURITY, and default port 587 => 465 (Breaking change)
2022-01-09 11:14:16 +00:00
Laurent Cozic
50dc656f65
Doc: Move faq entry to correct document
2022-01-07 18:12:47 +00: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
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
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
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
169b585928
Server: Added tool to delete old changes
2021-10-23 17:51:44 +01:00
Laurent Cozic
47fc51ea8a
Server: Fixed issue when a notebook is shared, then unshared, then shared again
2021-10-14 15:39:18 +01:00
Laurent Cozic
5a6d851368
Tools: Trying to make TaskService test more robust
2021-10-12 12:50:37 +01:00
Laurent Cozic
8fbea6a90a
Doc: Added Stripe doc
2021-10-12 12:50:37 +01:00
Laurent Cozic
c2e61f548f
Tools: Added a few tools to make testing server easier
2021-10-10 19:59:39 +01:00
Laurent Cozic
03f40daedc
Chore: Refactor compilePackageInfo script so that it can be used from both desktop and server app
2021-10-09 15:32:15 +01:00
Laurent Cozic
31efc9b23e
Server: Sort flags by date
2021-10-07 14:29:23 +01:00
Laurent Cozic
5b58811833
Server: Add support for promotion codes
2021-10-07 14:19:40 +01:00
Laurent Cozic
7e05b5b6dd
Server: Fixes #5507 : Fixed links in published notes
2021-10-06 11:07:45 +01:00
Laurent Cozic
4a7746beb2
Desktop: Upgrade Electron from v10 to v14
2021-10-01 19:35:27 +01:00
Laurent Cozic
730098c683
Allow setting a custom Stripe price for testing
2021-09-29 16:32:51 +01:00
Laurent Cozic
5de53706d8
Server: Remove AccountOverLimit flag from accounts that are now below the limit
2021-09-28 18:16:22 +01:00
Laurent Cozic
3a11885705
Server: Allow manually deleting a user flag
2021-09-28 17:42:00 +01:00
Laurent Cozic
5da820aa0a
Server: Correctly attach Stripe sub to Joplin Server sub when it is recreated from Stripe
2021-09-28 15:09:21 +01:00
Laurent Cozic
79d1ad706a
Server: Add support for events and use them to track background tasks
2021-09-28 11:01:04 +01:00
Laurent Cozic
24945a0d3e
Server: Also clear admin session ID on logout after impersonating a user
2021-09-27 18:34:12 +01:00
Laurent Cozic
8c9331cf61
Server: Display banner when an account is disabled and provide reason
2021-09-27 18:30:46 +01:00
Laurent Cozic
6fec2a93fc
Server: Only disable API access when an account is disabled
2021-09-27 17:46:53 +01:00
Laurent Cozic
2dd80454e4
Server: Send reminder email every time a payment fails
2021-09-27 12:09:23 +01:00
Laurent Cozic
c45f961b8c
Server: Fixed Stripe checkout when a coupon is used
2021-09-26 18:09:52 +01:00
Laurent Cozic
57a1d03b4b
Server: Do not allow accepting share more than once
2021-09-26 17:58:06 +01:00
Laurent Cozic
9f17b28f85
Chore: Cleaned up server UserItem interface
2021-09-25 19:51:44 +01:00
Laurent Cozic
0175348868
Server: Improved share service reliability and optimised performance
2021-09-25 17:39:42 +01:00
Laurent Cozic
e8e8ea3780
typo
2021-09-24 15:14:00 +01:00
Laurent Cozic
e3fd34e5d6
Server: Security: Implement clickjacking defense
2021-09-23 15:56:40 +01:00
Laurent Cozic
4487cb85fc
Tools: Trying to fix tests
2021-09-21 16:26:56 +01:00
Laurent Cozic
a7eea9fc21
Fixed session swap handling on server
2021-09-21 12:31:53 +01:00