Commit graph

626 commits

Author SHA1 Message Date
yflory
f44e6f9719 lint compliance 2019-11-08 12:08:21 +01:00
yflory
f42574948e Encrypt href for new pads in old shared folders 2019-11-08 12:07:08 +01:00
yflory
5dcc7643da Fix missing teams in the share modal 2019-11-08 12:04:30 +01:00
yflory
722d813e97 Enable read-only migration for teams 2019-11-08 10:15:54 +01:00
yflory
039ab83440 Improve migration script 2019-11-07 17:02:22 +01:00
yflory
5c223f1ae1 Warn users when the drive is offline 2019-11-07 11:54:58 +01:00
yflory
c64eabc33a Change blob password 2019-10-30 18:29:33 +01:00
yflory
96968f2076 Disable 'forget' button for pads in read-only teams 2019-10-29 12:24:44 +01:00
yflory
57a402da72 Make sure we don't encrypt href twice 2019-10-29 11:44:00 +01:00
yflory
b6d44b2a1a Leave the channel when a shared folder is removed from a drive 2019-10-28 18:41:00 +01:00
yflory
176e667128 Add more migration options 2019-10-28 18:22:42 +01:00
yflory
f6bbe70f3c Fix notification issue 2019-10-28 17:40:26 +01:00
yflory
b04d8c0821 Add permissions table 2019-10-28 17:05:11 +01:00
yflory
289f71ae8b Merge branch 'staging' into ro 2019-10-28 15:10:29 +01:00
yflory
a1e4c52a83 Fix editable UI displayed for team viewers 2019-10-28 14:05:08 +01:00
yflory
ccf4553ed3 Fix share modal with unregistered users #457 2019-10-28 10:37:04 +01:00
yflory
37a72d2f87 Fix more issues when changing password of a readonly folder 2019-10-25 16:36:00 +02:00
yflory
f9723a6183 Fix read-only shared folders with password change 2019-10-24 16:06:37 +02:00
yflory
9477ae0895 Merge branch 'sfPassword' into ro 2019-10-22 17:26:32 +02:00
yflory
126f10b782 Fix shared folder password change issues 2019-10-22 17:23:31 +02:00
yflory
fa2ad4e476 Add /p/ to the hash when adding a password 2019-10-22 13:06:21 +02:00
yflory
427cf836b1 Improve password change workflow 2019-10-22 12:50:10 +02:00
yflory
c894351a30 Fix pinning issue causing unnecessary reset 2019-10-22 11:21:41 +02:00
yflory
b2f89e289d Merge branch 'sfPassword' into ro 2019-10-21 17:43:46 +02:00
yflory
efded1063f Fix shared folder duplication bug 2019-10-21 17:26:52 +02:00
yflory
302030e1ee Shared folder password change 2019-10-21 15:23:13 +02:00
yflory
66f2ece08e Add feedback keys 2019-10-15 18:03:53 +02:00
yflory
50829d3db1 Share a folder with a read-only URL 2019-10-14 17:37:58 +02:00
yflory
a3d273ec47 Update rights in inner 2019-10-14 12:01:44 +02:00
yflory
d443c93893 Upgrade/downgrade shared folders access rights 2019-10-11 18:15:48 +02:00
yflory
8ca7e11150 Add support for viewers in roster 2019-10-10 13:59:10 +02:00
yflory
8dcc2cad82 lint compliance 2019-10-10 13:56:55 +02:00
yflory
13df7e8d38 Fix team editor 2019-10-10 13:56:12 +02:00
yflory
d3b03f46ea Migration script 2019-10-10 12:35:01 +02:00
yflory
9a0251f4ba Ability to open an anonymous read only shared folder 2019-10-08 18:47:54 +02:00
yflory
4e4d01a471 Improve getStrongerHash to also look inside shared folders 2019-10-08 17:54:52 +02:00
yflory
e0a1b8724b Merge branch 'staging' into ro 2019-10-08 17:22:44 +02:00
yflory
50d0abd193 Fix team creation UI issue 2019-10-08 15:26:03 +02:00
yflory
e5deffe21f Fix team deletion 2019-10-08 11:10:26 +02:00
yflory
3015d7f22b Fix team deletion 2019-10-08 11:10:03 +02:00
yflory
75b3c99d04 Remove refactoring comment 2019-10-07 18:38:49 +02:00
yflory
5ab3f39fb8 Encrypted href 2019-10-07 18:30:46 +02:00
yflory
7f3aacefd4 Fix undefined range_requests in messenger 2019-10-07 14:37:00 +02:00
yflory
cf0d0e8e4b Provide the secondaryKey to userObject 2019-10-07 14:35:11 +02:00
yflory
39dbea0c10 Fix notifications displayed once per tab 2019-10-07 10:57:37 +02:00
yflory
d5c4285c61 lint compliance 2019-10-03 16:36:04 +02:00
yflory
b79b4dfe8a Fix messenger blocked for unregistered users 2019-10-03 16:23:51 +02:00
yflory
e80edd4a0b Fix error message printed in the console for unregistered users 2019-10-03 16:23:27 +02:00
yflory
66d7d93496 Send an event to all the teams when adding a pad to a drive 2019-10-03 11:18:43 +02:00
yflory
3648eec7a6 Use only one listmap when a shared folder is stored in multiple teams 2019-10-02 18:56:03 +02:00
yflory
0a8c6dc6b2 Fix issue with a same shared folder loaded in multiple teams 2019-10-02 17:49:51 +02:00
yflory
50e39f9945 Fix a race condition in teams 2019-10-01 11:33:42 +02:00
yflory
123794fe99 Remove console.error 2019-09-30 17:38:09 +02:00
yflory
b5cce5f215 Improve team and account deletion for pads multiple owners 2019-09-30 17:36:56 +02:00
yflory
a530776ba8 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-30 15:54:34 +02:00
yflory
1288f28931 Team deletion 2019-09-30 15:49:02 +02:00
ansuz
2a809cf120 roster changes:
* validate that a user can add a role before adding them
* support deletion of non-required metadata attributes via null
2019-09-30 15:35:27 +02:00
yflory
7b4a72b3a2 lint compliance 2019-09-30 15:20:44 +02:00
yflory
295a712942 Transfer team ownership 2019-09-30 15:17:26 +02:00
ansuz
59a361449d don't allow deletion of displayName or notifications via describe command 2019-09-30 14:56:16 +02:00
ansuz
fd31fd3096 roster changes: validate roles when describing. interpret assignment of null as deletion. prevent a typeError when describing somebody that doesn't exist 2019-09-30 11:50:01 +02:00
yflory
3fb0cc38ec Delete team 2019-09-27 18:04:48 +02:00
yflory
aaed0b939e Transfer ownership from or to a team 2019-09-27 16:00:58 +02:00
ansuz
61e66e9add WIP invitation link generation 2019-09-27 12:05:08 +02:00
ansuz
83c19f01f3 Merge branch 'soon' into staging 2019-09-27 11:57:09 +02:00
yflory
8536962fd1 Fix drive event always sent when fetching new pad metadata 2019-09-26 15:01:34 +02:00
yflory
5ad5e32ec8 Change pad password with a team owner 2019-09-26 11:19:16 +02:00
yflory
7c4bc1d583 Teams app improvements 2019-09-25 18:21:45 +02:00
yflory
636b3588cf Fix anonymous shared folders 2019-09-25 12:37:38 +02:00
yflory
007c73d36b Add a limit of teams 2019-09-24 15:25:54 +02:00
yflory
acae946528 Merge branch 'soon' into staging 2019-09-24 15:13:58 +02:00
yflory
5e80efda58 Fix val is undefined 2019-09-24 14:48:52 +02:00
yflory
d90115fbc9 Add translation keys and remove/fix XXX 2019-09-24 10:52:03 +02:00
yflory
b3041bd59a Store latest metadata when loading a team 2019-09-23 17:56:16 +02:00
yflory
851f6db7fb Fix type error in messenger 2019-09-23 17:52:15 +02:00
yflory
0de7395258 Fix metadata not updated when creating a team 2019-09-23 17:01:30 +02:00
yflory
b1dab8e75a Add team usage bar 2019-09-23 15:45:24 +02:00
yflory
83bc0d84f0 Add comments and XXX 2019-09-23 14:35:57 +02:00
yflory
4128c34b93 Fix messenger issues 2019-09-23 14:35:43 +02:00
yflory
f27451e51c Fix leave team error 2019-09-23 12:10:46 +02:00
yflory
9e43e8226f Merge branch 'staging' into team 2019-09-23 11:53:50 +02:00
ansuz
2d761388c1 always return errors as strings when sending roster messages. fix getLastCheckpointHash logic 2019-09-23 11:43:28 +02:00
yflory
97efaf2417 Update roster last known hash 2019-09-23 11:38:57 +02:00
yflory
78022fa527 Merge branch 'staging' into team 2019-09-23 11:35:20 +02:00
yflory
4381ff8107 Leave a team 2019-09-23 11:34:57 +02:00
ansuz
c8389ba657 implement roster.getLastCheckpointHash 2019-09-23 11:07:18 +02:00
yflory
9e7dfed98b Update roster checkpoints hash 2019-09-23 11:04:05 +02:00
yflory
1a9229e0ec Notify the other user when we kick them from a team 2019-09-23 10:51:46 +02:00
yflory
45d37acc84 lint compliance 2019-09-20 17:29:21 +02:00
yflory
5d18dcc8ba Realtime updates when the roster changes 2019-09-20 17:27:15 +02:00
yflory
3cc8b5eb83 Fix roster.stop fix 2019-09-20 16:49:38 +02:00
yflory
5b006a8819 Fix roster.stop 2019-09-20 16:38:04 +02:00
yflory
e4e2c3a19d Team invitation 2019-09-20 15:27:20 +02:00
yflory
1e1d24c6c3 Merge branch 'staging' into team 2019-09-19 13:47:43 +02:00
ansuz
047d64a3c2 clone objects passed to roster commands to avoid mutating the passed value 2019-09-19 13:44:48 +02:00
yflory
30d9cf31c3 Display roster in the team app 2019-09-19 13:30:31 +02:00
ansuz
ce5c841a42 implement auto-checkpoint logic 2019-09-19 09:18:07 +02:00
yflory
3d96f3d7b1 lint compliance 2019-09-18 18:01:37 +02:00
yflory
1b9a8828e9 Update team name and add an avatar to the team 2019-09-18 18:00:44 +02:00
yflory
bd8df41fde Merge branch 'staging' into team 2019-09-18 16:32:35 +02:00
ansuz
7230ee71a8 fix json.sortify in browser contexts. lint compliance 2019-09-18 16:31:23 +02:00
ansuz
4269cb1ec7 fixed a few roster bugs 2019-09-18 16:27:01 +02:00
yflory
84833afcfa Merge branch 'staging' into team 2019-09-18 16:16:46 +02:00
yflory
0d3f9db184 Improve sharing between drive and teams 2019-09-18 16:02:58 +02:00
ansuz
073543fe3d more WIP for roster 2019-09-18 15:04:08 +02:00
yflory
fc2938a27e Fix back button in teams with messenger and drive 2019-09-18 13:30:24 +02:00
yflory
5e58f7db4c Merge branch 'staging' into team 2019-09-17 18:50:14 +02:00
ansuz
5c984854c7 WIP 2019-09-17 18:49:49 +02:00
yflory
9cbe9dbf50 Load the team roster 2019-09-17 18:49:19 +02:00
yflory
fa89ab410d Revert previous commit and make the team pin everything 2019-09-17 16:54:09 +02:00
yflory
02cd15882b Fix reset pin with teams 2019-09-17 16:33:13 +02:00
yflory
74d7c00134 Store team chat keys in the user proxy 2019-09-17 16:24:48 +02:00
yflory
a7c274e6ae Merge branch 'staging' into team 2019-09-17 11:34:03 +02:00
yflory
fb22a4a792 Merge branch 'chat3' into team 2019-09-17 11:33:26 +02:00
ansuz
be8b014b36 WIP roster implementation 2019-09-17 11:28:22 +02:00
yflory
b58b6fa691 Fix back button in teams 2019-09-17 11:09:40 +02:00
yflory
81c2df389a Team chat 2019-09-17 11:05:32 +02:00
yflory
08b105bc10 Remove dead code 2019-09-16 17:27:52 +02:00
yflory
641b69446d Fix issues and replace chat module 2019-09-16 16:48:32 +02:00
yflory
c6a4f78097 Chat V3 2019-09-16 15:56:50 +02:00
yflory
b76cef9660 Store a pad in a team drive 2019-09-13 16:45:07 +02:00
yflory
306fc6cdb9 Create and store pads in a team 2019-09-12 17:54:50 +02:00
yflory
7f0dd4f576 Load shared folder and register change events in teams 2019-09-11 18:01:48 +02:00
yflory
fa2d148df4 Display a team drive 2019-09-11 16:24:04 +02:00
ansuz
c17a28cced WIP roster definition 2019-09-11 15:41:50 +02:00
yflory
222ea650d1 lint compliance 2019-09-10 18:37:11 +02:00
yflory
1b31d8f7c6 Create a team 2019-09-10 18:32:12 +02:00
yflory
798296489a Merge branch 'staging' into team 2019-09-10 15:32:05 +02:00
yflory
7e238245e6 Fix pad not stored in drive when accepting ownership 2019-09-10 15:30:36 +02:00
ansuz
532ba9b9fd update XXX comments which are no longer valid or can wait 2019-09-10 10:29:08 +02:00
yflory
2bd8c2d363 Fix onreconnect in cursor 2019-09-09 18:56:49 +02:00
yflory
29075b7898 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-09 18:47:46 +02:00
yflory
c19ff5958c Fix duplicate join in cursor.js 2019-09-09 18:47:34 +02:00
ansuz
9f9bce7ac5 create the 'what is cryptpad' pad as owned when you register 2019-09-09 18:12:05 +02:00
yflory
b84c4be69c Display OS notifications when receiving a notification on CryptPad 2019-09-09 17:37:11 +02:00
yflory
dbe63f254a Merge branch 'staging' into team 2019-09-09 15:39:28 +02:00
yflory
d993827c7e Fix expiration time not updated properly on accept ownership 2019-09-09 15:31:59 +02:00
yflory
5e5d1ecddb Update local metadata when fetching latest values from the server 2019-09-09 14:59:40 +02:00
yflory
84249a92b5 Keep only one getPadMetadata in outer 2019-09-09 14:47:57 +02:00
yflory
bb0365622b re-encrypt the mailbox field when changing a pad password 2019-09-09 14:13:27 +02:00
yflory
0a5bf7a5c2 Update atime when updating the owners of a pad 2019-09-09 12:19:29 +02:00
yflory
634d24b46c Team APP UI 2019-09-06 18:47:18 +02:00
yflory
15387af020 Merge branch 'staging' into team 2019-09-06 15:46:19 +02:00
yflory
834e12fcba Teams: async-store refactoring 2019-09-06 15:45:56 +02:00
ansuz
ee3ac1cd56 drop unnecessary lint compliance 2019-09-06 13:36:59 +02:00
yflory
1d53e7d8a1 Teams: listAllTags and getTemplates 2019-09-05 19:03:42 +02:00
yflory
35a429d30c Teams: setPadAttribute and getPadAttribute 2019-09-05 18:25:14 +02:00
yflory
4c339afc6c Refactoring part2 2019-09-05 17:55:23 +02:00
yflory
7222d34dc0 Refactor async-store to make it work with teams 2019-09-05 13:56:47 +02:00
ansuz
096b0fb44a move 'getDefaultName' out of 'common-hash' 2019-09-05 12:22:30 +02:00
yflory
a2edf5be64 Preparations for the Team refactoring 2019-09-04 17:59:44 +02:00
yflory
fd7567188b Clean some code 2019-09-04 17:54:32 +02:00
yflory
670d845262 Move the shared folder loader to the new module 2019-09-04 17:46:52 +02:00
yflory
05caf86033 Merge branch 'staging' into team 2019-09-04 17:19:28 +02:00
yflory
dda115a6aa lint compliance 2019-09-04 17:19:10 +02:00
yflory
8ff4e2fd8e Test all shared folders with getDeletedPads because of editable metadata 2019-09-04 17:18:30 +02:00
yflory
7658dbcaeb Add shared folder module 2019-09-04 17:14:44 +02:00
yflory
3745bb76dc Add Team module 2019-09-04 16:37:52 +02:00
ansuz
12dd647a46 lint compliance 2019-09-04 11:13:17 +02:00
ansuz
cdb98ee27f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-03 18:08:11 +02:00
yflory
a8ec344203 Fix UI and rendering issues in the notifications panel 2019-09-03 17:58:56 +02:00
ansuz
83d0b1ad30 WIP clientside components of private mailbox messages 2019-09-03 17:53:12 +02:00
yflory
a6a40c3f6a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-03 17:05:23 +02:00
yflory
32f1d1627f Refresh properties modal when receiving metadata updates 2019-09-03 13:30:35 +02:00
yflory
4708d59a65 Add notifications when removed from owners or pending_owners 2019-09-02 18:46:52 +02:00
yflory
d190b8acd0 Don't send user updates to friends via chat if you know their mailbox 2019-09-02 18:19:56 +02:00
ansuz
31c6e7241e Merge branch 'soon' into staging 2019-09-02 15:25:20 +02:00
yflory
a7bc83ac5d Merge branch 'soon' of github.com:xwiki-labs/cryptpad into soon 2019-09-02 11:33:36 +02:00
yflory
9e8c717035 Fix onlyoffice lastKnownHash bug 2019-09-02 11:30:48 +02:00
yflory
e131661673 Accept and decline ownership offers 2019-08-30 17:36:27 +02:00
yflory
9822c28f3b Implement ADD_OWNER notification with pending_owner metadata 2019-08-30 16:41:48 +02:00
ansuz
1b7d984d39 Merge branch 'soon' into staging 2019-08-30 11:57:46 +02:00
yflory
416e0cde17 Fix removeOwnedChannel 2019-08-29 11:29:50 +02:00
yflory
2a91643d59 Remove an owner 2019-08-28 16:37:13 +02:00
yflory
f6762f7c01 Make the friends list from the share modal reusable 2019-08-28 15:29:38 +02:00
yflory
06809fd3ba Update codemirror settings in realtime 2019-08-19 16:53:17 +02:00
yflory
c608bdd2dc Merge branch 'off' into staging 2019-08-19 15:38:22 +02:00
yflory
656b129543 Ability to remove handlers from worker-channel and metadata-manager 2019-08-19 15:37:08 +02:00
yflory
c1656d7b5b Merge branch 'unifiedMetadata' into staging 2019-08-19 15:27:59 +02:00
yflory
6f0062d023 Add comments and timeout errors 2019-08-19 14:37:55 +02:00
ansuz
04feef793b resolve merge conflicts 2019-08-16 17:39:22 +02:00
yflory
c4a90a90f2 Fix disconnection event not propagating to the UI 2019-08-16 11:33:57 +02:00
yflory
eaeb995661 Remove debugging code 2019-08-14 10:38:42 +02:00
yflory
06748dcfb3 missing comma 2019-08-13 14:23:29 +02:00
yflory
970dcb8b8b null is an object 2019-08-12 15:40:25 +02:00
yflory
3303e9738d Fix drive deletion 2019-08-12 15:38:21 +02:00
yflory
5c6b3155ac Add safety measures to avoid removing your drive by accident 2019-08-12 15:30:59 +02:00
ClemDee
b49c39b895 Fix file progress value going over 100% 2019-07-19 11:34:30 +02:00
yflory
51facff6fd Send a mailbox address (encrypted) to the owned pads metadata 2019-07-17 17:01:25 +02:00
yflory
f0d753e3f4 Merge branch 'staging' into unifiedMetadata 2019-07-17 15:25:01 +02:00
yflory
7bc0c7ce95 Fix duplicate notifications n reconnect 2019-07-17 10:49:26 +02:00
yflory
9b45f0dd79 Add translation keys 2019-07-16 17:29:55 +02:00
yflory
65d76a9241 Merge branch 'request' into staging 2019-07-16 14:37:03 +02:00
yflory
a169b4c3b3 Display a notification when there is a new message from the support team 2019-07-16 14:31:57 +02:00
yflory
5be37f2e45 Unified metadata 2019-07-13 15:24:54 +02:00
yflory
60bea6b33b Request capabilities part 2 2019-07-13 11:47:58 +02:00
yflory
4156b1988f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-07-11 14:16:31 +02:00
yflory
6f1e281cf8 request capabilities temp 2019-07-11 14:16:04 +02:00
ansuz
5f5cd1e045 oups, add a missing closing brace 2019-07-08 12:12:42 +02:00
ansuz
8be6c84e2f guard against null elements in the drive 2019-07-08 12:10:57 +02:00