Commit graph

997 commits

Author SHA1 Message Date
yflory
0a993a8750 Merge branch 'staging' into ooslide 2021-03-23 17:02:07 +01:00
yflory
34b2eb2e33 Fix race condition between RPC and restricted shared folders 2021-03-23 16:35:11 +01:00
yflory
e874e49441 Remove debugging code 2021-03-23 13:40:25 +01:00
yflory
e5935d7feb Clear channel cache when destroying a pad owned by a team 2021-03-23 13:34:44 +01:00
yflory
2fc020761a Don't show error screen when deleting a loaded pad 2021-03-23 11:48:23 +01:00
yflory
7b1a4b1ae7 Recover from corrupted roster cache 2021-03-23 10:59:15 +01:00
yflory
9c8924ee27 Fix change password to a previously used value 2021-03-22 18:45:03 +01:00
yflory
ba4bef2beb Reload when a drive is created in a different worker (driveless mode) 2021-03-22 18:26:04 +01:00
yflory
550c5175aa Fix password change issues with cache 2021-03-22 17:49:33 +01:00
ansuz
cddace08ea Merge branch 'staging' into ooslide 2021-03-22 14:30:01 +05:30
ansuz
c10a49145d Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-03-22 13:13:17 +05:30
yflory
c6b8b11dc3 Fix Destroy and change password when pad not stored 2021-03-19 18:10:27 +01:00
yflory
18e995f63a Add the degraded threshold value to the translation key in toolbar 2021-03-19 17:08:11 +01:00
yflory
9980346ef7 Set degraded mode limit in AppConfig 2021-03-19 15:19:57 +01:00
yflory
3e969dd9a5 Fix noDrive uid always modified 2021-03-19 15:09:28 +01:00
yflory
31414ca7b0 Fix degraded mode not set when multiple tabs on the same pad 2021-03-19 15:09:05 +01:00
ansuz
5600720a98 remove an XXX 2021-03-19 16:31:26 +05:30
yflory
c72658f36f Merge branch 'staging' into ooslide 2021-03-19 11:36:12 +01:00
yflory
e1e1795714 Fix race condition and display name with noDrive 2021-03-19 10:57:06 +01:00
yflory
dd6cf8c74b Slide prototype 2021-03-18 18:12:26 +01:00
yflory
7971a6d267 Major broadcast refactoring 2021-03-16 17:00:23 +01:00
yflory
dbce0fe429 Use 33 characters admin channels 2021-03-16 15:25:28 +01:00
yflory
a03e2546e5 Fix ownership broadcast channel 2021-03-15 14:54:07 +01:00
yflory
8ebefb0456 Allow anonymous notifications 2021-03-12 18:38:54 +01:00
yflory
632d5db8d2 Order notifications by creation time across all mailboxes 2021-03-12 18:13:05 +01:00
yflory
d15c0461cc Add /api/broadcast and improve message deletion 2021-03-12 12:46:11 +01:00
yflory
3858d68a0a Reload worker on new version 2021-03-11 13:27:06 +01:00
yflory
171d00a943 Broadcast deletion (manual and automatic) 2021-03-11 12:27:12 +01:00
yflory
fee8a88169 Instance notification prototype 2021-03-09 18:27:12 +01:00
yflory
2c5f28807b Merge branch 'degraded' into nodrive 2021-03-08 17:23:47 +01:00
yflory
508201ab28 On-demand anon creation drive 2021-03-08 17:23:13 +01:00
yflory
0aff693e7e Merge branch 'soon' into degraded 2021-03-08 12:41:30 +01:00
yflory
8fc5647aea Guard against possible type error 2021-03-08 12:07:46 +01:00
yflory
942efcae07 Fix type error 2021-03-08 11:26:10 +01:00
yflory
3a91f7c06d Fix team avatar 2021-03-08 11:25:23 +01:00
yflory
d81e1f3ecd Prototype 2021-03-08 10:59:54 +01:00
yflory
e6b11c3748 Remove ID map in pad chat to save network and CPU usage 2021-03-05 16:01:27 +01:00
yflory
f6015e419e Implement degraded mode when too many editors are in a pad 2021-03-04 18:24:31 +01:00
ansuz
1f61dbcc02 Merge branch 'staging' into deleteBlock 2021-03-04 17:04:17 +05:30
yflory
b099db3ef1 Merge branch 'soon' into replace-help-menu 2021-03-03 17:05:09 +01:00
yflory
ddd0aa7195 lint compliance 2021-03-03 16:56:12 +01:00
yflory
a69fb1fae9 Disable autostore for owned pads 2021-03-03 16:54:25 +01:00
yflory
321f1d418f Fix anonymous drive 2021-03-03 13:38:46 +01:00
ansuz
5a71042568 remove XXX note 2021-03-03 17:00:28 +05:30
yflory
88c9589c49 lint compliance 2021-03-02 18:22:00 +01:00
yflory
8cc0f75f49 Fix user logged out after registration 2021-03-02 18:19:07 +01:00
yflory
eb7f7aaa89 Delete block when deleting account 2021-03-02 17:47:05 +01:00
yflory
890e516f3a Fix shared folder stuck offline 2021-03-01 16:31:05 +01:00
yflory
958fa726f9 Fix account deletion 2021-02-26 12:03:15 +01:00
yflory
1edfbadf4e Fix invisible restricted shared folders in teams 2021-02-25 18:31:44 +01:00
yflory
86b436582c Fix ERESTRICTED loop 2021-02-25 14:54:29 +01:00
yflory
f5a0d541a5 lint compliance 2021-02-25 14:42:18 +01:00
yflory
70b796c406 Fix shared folders with offline teams 2021-02-25 14:11:05 +01:00
yflory
058922918d Merge branch 'fixallow' into fixsf 2021-02-25 13:05:15 +01:00
yflory
daeae8b74e Fix race condition with the allow list 2021-02-25 11:27:39 +01:00
yflory
f071e2df25 Fix shared folders allow list 2021-02-25 11:15:24 +01:00
yflory
9913efad7a Merge branch 'staging' into c 2021-02-24 11:35:08 +01:00
yflory
9e0a1285a6 Merge branch 'soon' into staging 2021-02-24 11:34:57 +01:00
yflory
7cc92d1399 Disable latest fix 2021-02-24 11:34:43 +01:00
yflory
6cbeb9c28f Merge branch 'staging' into c 2021-02-24 10:08:39 +01:00
ansuz
cdf4006549 Merge branch 'soon' into staging 2021-02-24 09:05:48 +05:30
yflory
701d350fac Fix shared folders access list 2021-02-23 18:44:45 +01:00
yflory
193ea3033e Fix OO locks when reloading a page within the same worker 2021-02-23 17:37:37 +01:00
yflory
5c87c57371 Improve UI for offline teams 2021-02-22 12:58:21 +01:00
yflory
4e5f8fcb99 Fix drive stuck offline 2021-02-19 15:01:52 +01:00
yflory
549a128815 Fix worker stuck offline 2021-02-18 15:00:46 +01:00
ansuz
0110342ef5 Merge branch 'staging' into offline2 2021-02-18 15:19:49 +05:30
yflory
e7e27da9f9 Fix previous commit 2021-02-17 14:58:40 +01:00
yflory
e3b823155d Guard against synchronous waitFor 2021-02-17 14:54:33 +01:00
yflory
794589ac7e Remove TODO comment 2021-02-17 14:06:28 +01:00
ansuz
baab65fa36 Merge branch 'callback' into staging 2021-02-17 17:47:57 +05:30
yflory
64452dc1c0 Merge branch 'staging' into offline2 2021-02-11 17:32:18 +01:00
yflory
cb153187ce Offline teams 2021-02-11 17:30:40 +01:00
yflory
f7477b65ea Offline shared folders 2021-02-11 12:31:13 +01:00
yflory
3fb8c52f0a Fix race condition in rich text and restrict pad settings 2021-02-10 12:28:02 +01:00
yflory
287b80d4b8 Merge branch 'staging' into callback 2021-02-09 15:30:46 +01:00
yflory
ea4c529e39 Remove offset code 2021-02-09 15:29:34 +01:00
yflory
42dfa9a941 Merge branch 'staging' into dark 2021-02-05 10:23:20 +01:00
yflory
3952b2f013 Fix PCS issues: duplicate templates and offline PCS 2021-02-04 18:12:56 +01:00
yflory
37b5e8f559 Keep theme on logout 2021-01-26 17:44:39 +01:00
ansuz
8786c5a618 remove more XXX notes 2021-01-21 17:48:26 +05:30
yflory
0fc8bfde4a Use new server format for history keeper time 2021-01-20 15:06:43 +01:00
yflory
03e690b0bc lint compliance 2021-01-19 15:14:19 +01:00
yflory
5a104eaa58 Add the drive channel to support tickets 2021-01-19 14:57:26 +01:00
yflory
5ca7247304 More cache eviction tools 2021-01-18 18:05:01 +01:00
yflory
87a7669f29 Fix timeout issue on cacheready 2021-01-12 14:10:51 +01:00
yflory
98acca0c0e Fix drive reconnect error 2021-01-12 13:09:47 +01:00
yflory
25e67c2027 Fix FALSE_INIT error 2021-01-08 17:38:58 +01:00
yflory
b239a528bf Minor code improvement 2021-01-08 16:51:34 +01:00
yflory
57a4d0590c Guard against forks while in offline mode 2021-01-08 16:48:17 +01:00
yflory
181a4efd8b Fix race conditions and multiple tabs on the same worker 2021-01-08 15:13:45 +01:00
yflory
2928cd2c7e Fix race condition and infinite loading screen in offline mode 2021-01-08 14:33:05 +01:00
yflory
82624c10a5 Open 'cache' apps when the worker is stuck offline 2021-01-08 11:19:41 +01:00
yflory
d12603c50a Fix shared folder password change with the cache 2021-01-07 17:55:41 +01:00
yflory
b7a492a11b Fix race condition between setPadTitle and drive sync 2021-01-07 16:57:52 +01:00
yflory
bb2299376f Fix cursor error logs when not synced yet 2021-01-07 16:22:03 +01:00
yflory
b33225e2d7 Fix safe links for pads stored in teams 2021-01-07 16:00:51 +01:00
yflory
224fae35aa Handle XXX in async store 2021-01-07 15:50:48 +01:00
yflory
3ff54a4a71 Correctly set feedback and token when the drive is synced 2021-01-07 15:47:17 +01:00
ansuz
beb74b46d5 merge offlineCache and soon 2021-01-07 17:15:00 +05:30
ansuz
ecdd1a3f43 replace cache XXX notes with ICE (in case of emergency) strings 2021-01-06 17:10:11 +05:30
ansuz
7ddeacc629 serialize localForage errors and add a safety net 2021-01-06 15:56:58 +05:30
yflory
32669dc099 Fix type error 2020-12-23 12:00:17 +01:00
yflory
8cb19cdc76 Fix invalid LKH in roster 2020-12-23 11:55:54 +01:00
ansuz
b7ea099eab re-enable indexedDB cache for testing 2020-12-21 15:02:13 +05:30
ansuz
d44f1880a4 temporarily disable the document cache, wait to clear it before redirecting to login 2020-12-18 20:17:50 +05:30
yflory
eb5c93965a Clear cache when channel or blob is deleted 2020-12-14 13:51:36 +01:00
yflory
dfc2d6ce0d Remove deleted pad from cache 2020-12-14 13:31:39 +01:00
yflory
453b207bcc Remove the throttled function from memory only 2020-12-14 12:09:19 +01:00
yflory
51ebdf4ed2 Clear throttled functions in cache 2020-12-14 12:06:18 +01:00
yflory
e3102d2746 Throttle channel cache 2020-12-14 11:52:24 +01:00
yflory
e656a67c16 Fix channel cache 2020-12-14 11:05:39 +01:00
ansuz
e9033d8b0a rule out double-callbacks when clearing cache 2020-12-11 17:06:37 +05:30
ansuz
dad7a16135 add some uncommitted notes as code review 2020-12-11 16:44:32 +05:30
yflory
f21eb64fc2 lint compliance 2020-12-10 13:03:22 +01:00
yflory
0411aa3c4a Fix cache issue with Firefox Private browsing 2020-12-10 12:11:03 +01:00
yflory
ed7becbb54 lint compliance 2020-12-09 15:36:30 +01:00
yflory
892fca7d99 Improve contact requests process 2020-12-09 14:54:22 +01:00
yflory
3e673bfd05 Don't store a copy of owned pads in your own drive 2020-12-07 11:53:44 +01:00
yflory
20cecbcfa2 Fix cached mediatags in pads 2020-12-01 18:18:16 +01:00
yflory
682e722d72 sframeChan Uint8Array without conversion 2020-11-30 18:02:17 +01:00
yflory
004c242f63 Fix duplicate mediatag issues 2020-11-30 17:19:13 +01:00
yflory
d4055f6ef5 Improve blob cache 2020-11-30 14:40:07 +01:00
yflory
7756306966 Clear cache on logout 2020-11-27 17:19:03 +01:00
yflory
d199da9563 lint compliance 2020-11-24 16:49:12 +01:00
yflory
93ddf51564 Merge branch 'download' into cacheRT 2020-11-24 16:46:22 +01:00
yflory
93f6619a3e Fix team always offline 2020-11-12 17:35:57 +01:00
yflory
59f427f1b5 Don't notify for old mailbox messages 2020-11-12 17:23:11 +01:00
yflory
90b4b0459e Don't notify for old mailbox messages 2020-11-12 17:20:48 +01:00
yflory
cebe1252f8 Fix workers submodules after reconnecting 2020-11-10 16:50:38 +01:00
yflory
e629f0aa47 Offline fixes 2020-11-09 13:29:16 +01:00
yflory
989020a436 Open pads in offline mode 2020-11-06 17:13:41 +01:00
yflory
80a33a5cb5 Merge branch 'cacheRT' into offlineCache 2020-11-06 15:33:59 +01:00
yflory
11abd6170b Use indexeddb cache for blobs 2020-11-06 15:30:56 +01:00
yflory
5946b10d0b No page reload when the cache is corrupted onReady 2020-11-06 15:00:58 +01:00
yflory
59b4ba6e99 Merge branch 'cacheRT' into offlineCache 2020-11-05 17:29:33 +01:00
yflory
e37cf4b59c lint compliance 2020-11-05 16:50:20 +01:00
yflory
e998c21691 Invalidate corrupted caches 2020-11-05 16:19:05 +01:00
yflory
65628a5169 Only use offline cache in the drive app for now 2020-11-05 14:02:03 +01:00
yflory
bb13165e86 lint compliance 2020-11-04 18:20:57 +01:00
yflory
980d3c7fff Load the drive and its shared folders without any network 2020-11-04 17:59:08 +01:00
yflory
3a24ef8935 Merge branch 'offlineDrives' into cacheRT 2020-11-04 15:14:30 +01:00
yflory
446cca0725 Use offline state per shared folder in the drive 2020-11-03 18:29:09 +01:00
yflory
ebd007fdb9 Use offline state per team and not global state 2020-11-03 17:17:20 +01:00
yflory
8d5d85c7f8 Add XXX 2020-11-03 15:35:14 +01:00
yflory
4126ae5d8b Display pad content from cache before joining the network/channel 2020-11-03 13:48:59 +01:00
yflory
d16cc2472d First prototype of an offline cache 2020-11-03 10:49:13 +01:00
yflory
cb8bf2cdeb Fix various issues 2020-11-02 12:46:44 +01:00
yflory
733db7d39f Stop using sessionStorage in CryptPad 2020-10-30 15:13:22 +01:00
yflory
f3d2fc6ad5 Stop using sessionStorage for login redirect and new pad options 2020-10-30 15:00:12 +01:00
yflory
1016c05e64 Merge branch 'staging' into sessionStorage 2020-10-29 17:18:48 +01:00
yflory
9d73e3db5f Merge branch 'loading' into staging 2020-10-29 17:18:27 +01:00
yflory
1454119e4f Merge branch 'staging' into sessionStorage 2020-10-29 17:16:58 +01:00
yflory
fe30d5243c Fix 'store pad prompt' always displayed 2020-10-29 17:16:41 +01:00
yflory
f803c94478 Encrypt password before putting it in the hash 2020-10-29 17:14:39 +01:00
yflory
63502abce8 Prompt to store edit link to your drive when you're a team viewer 2020-10-29 14:39:23 +01:00
yflory
7763f966c6 Fix feedback 2020-10-22 12:14:52 +02:00
yflory
66e04f6204 Improve script to remote duplicate teams 2020-10-22 12:09:48 +02:00
yflory
0440f8c03e Merge branch 'soon' into staging 2020-10-20 15:45:50 +02:00
yflory
7b989784b8 Make sure team MEMBERS can't invite VIEWERS 2020-10-20 15:02:36 +02:00
yflory
758c33f7fd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2020-10-20 14:02:46 +02:00
yflory
98579cfa25 Fix team access rights 2020-10-20 14:02:35 +02:00
ansuz
b4adf65dc8 guard against a possible typeError in the worker 2020-10-20 16:31:34 +05:30
ansuz
c059d801a6 Merge branch 'soon' into staging 2020-10-19 19:34:07 +05:30
yflory
abeadb59e1 Fix a race condition that could break team access rights 2020-10-19 16:02:53 +02:00
yflory
79378c536e Fix duplicate team script to support owners 2020-10-19 14:17:53 +02:00
yflory
01a8e45307 Fix duplicate team bug 2020-10-19 14:06:05 +02:00
yflory
baf71a3c04 Check if a team's pinning keys are valid 2020-10-16 14:16:57 +02:00
yflory
6bdebad352 Add more steps to the loading progress bar 2020-10-15 14:48:17 +02:00
yflory
0e1588a883 New loading screen 2020-10-14 15:20:56 +02:00
yflory
d17265f2eb Add missing error messages 2020-10-08 10:53:42 +02:00
ansuz
d509fd8b8f downgrade severity of several XXX notes 2020-10-07 17:09:46 +05:30
yflory
c6f87e6ccd Fix race conditon when leaving history mode in OO 2020-10-01 16:22:17 +02:00
yflory
9cbe8e3715 Merge branch 'history' into historyOO 2020-10-01 15:32:29 +02:00
yflory
784306f947 Display a warning bar when viewing a versioned link 2020-10-01 15:29:43 +02:00
yflory
2287c81d86 Merge branch 'history' into historyOO 2020-09-29 12:02:59 +02:00
yflory
c8f16d427d Implement snapshots 2020-09-25 16:38:42 +02:00
yflory
16af013bce Versioned hash for onlyoffice 2020-09-24 16:05:25 +02:00
yflory
68423f49bc Merge branch 'history' into historyOO 2020-09-22 15:28:35 +02:00
yflory
74577b54e4 lint compliance 2020-09-22 15:28:21 +02:00
yflory
3ae8d983f7 Merge branch 'history' into historyOO 2020-09-22 15:27:20 +02:00
yflory
e6bcd71d89 lint compliance 2020-09-22 11:00:54 +02:00
yflory
4f147d4fd2 Add support for onlyoffice history 2020-09-18 17:54:57 +02:00
yflory
b31707098a Improve getHistoryRange to support 'toHash' 2020-09-18 12:42:09 +02:00
yflory
6e4e932cc0 Merge branch 'staging' into history 2020-09-17 11:31:57 +02:00
yflory
fff2956393 Fix team edit rights not applied without a worker reload 2020-09-08 15:49:11 +02:00
yflory
16a95eb3fd Dismiss messages from a mailbox when closing it 2020-09-08 12:21:00 +02:00
yflory
9210bbd4fc Clear localStorage settings on logout 2020-09-08 11:50:52 +02:00
yflory
1bd6c134ae Remove console.log 2020-09-07 15:01:21 +02:00
yflory
7048f0d814 Fix an issue that could result in a self-kick from a team 2020-08-31 12:01:00 +02:00
yflory
e69df1b7dd Remove debugging logs 2020-08-31 11:03:36 +02:00
yflory
6aac0b91ce Improve team invitation notifications 2020-08-31 11:01:00 +02:00
yflory
63a7609a55 Fix typo 2020-08-31 10:52:08 +02:00
yflory
9d0f33bad1 Fix team invitation issues 2020-08-31 10:48:15 +02:00
yflory
bbd101ec8a Fix login issues with safe links 2020-08-05 15:03:06 +02:00
ansuz
2302d6ef7e Merge branch 'sfTrash' into staging 2020-07-21 11:18:56 -04:00
yflory
a798873230 Add basic support for versioned link 2020-07-08 14:59:23 +02:00
yflory
ba854e88c0 Merge branch 'staging' into history 2020-07-08 11:22:13 +02:00
yflory
f5831cccb0 Add support for version hash 2020-07-08 11:21:51 +02:00
yflory
2bac4193df lint compliance 2020-07-07 15:03:55 +02:00