1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
Commit Graph

259 Commits

Author SHA1 Message Date
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
Laurent Cozic
7fac1941cd Server: Manage subscription entirely from Stripe 2021-09-21 10:51:10 +01:00
Laurent Cozic
061761f224 Server: Clear cookie when account has been deleted to allow viewing login page again 2021-09-21 10:49:41 +01:00
Laurent Cozic
63e88c05d9 Server: Add support for changing user own email 2021-09-20 19:48:17 +01:00
Laurent Cozic
a6b1cffd50 Server: Handle Joplin Cloud failed subscription payments 2021-09-20 17:04:09 +01:00
Laurent Cozic
8cc720963a Fixed typo 2021-09-20 17:04:08 +01:00
Laurent Cozic
818c7d4640 Fixed CSRF handling when impersonating user 2021-09-20 15:38:26 +01:00
Laurent Cozic
4577c9c161 Server: Allow entering coupon code on Stripe checkout page 2021-09-20 15:25:59 +01:00
Laurent Cozic
03b4b6eb2d Server: Allow an admin to impersonate a user 2021-09-20 13:49:38 +01:00