Commit Graph

593 Commits (45b5eb7cac193478b97628dfe587ba93a78333b6)

Author SHA1 Message Date
ansuz 9f9bce7ac5 create the 'what is cryptpad' pad as owned when you register
yflory b84c4be69c Display OS notifications when receiving a notification on CryptPad
yflory dbe63f254a Merge branch 'staging' into team
yflory d993827c7e Fix expiration time not updated properly on accept ownership
yflory 5e5d1ecddb Update local metadata when fetching latest values from the server
yflory 84249a92b5 Keep only one getPadMetadata in outer
yflory bb0365622b re-encrypt the mailbox field when changing a pad password
yflory 0a5bf7a5c2 Update atime when updating the owners of a pad
yflory 634d24b46c Team APP UI
yflory 15387af020 Merge branch 'staging' into team
yflory 834e12fcba Teams: async-store refactoring
ansuz ee3ac1cd56 drop unnecessary lint compliance
yflory 1d53e7d8a1 Teams: listAllTags and getTemplates
yflory 35a429d30c Teams: setPadAttribute and getPadAttribute
yflory 4c339afc6c Refactoring part2
yflory 7222d34dc0 Refactor async-store to make it work with teams
ansuz 096b0fb44a move 'getDefaultName' out of 'common-hash'
yflory a2edf5be64 Preparations for the Team refactoring
yflory fd7567188b Clean some code
yflory 670d845262 Move the shared folder loader to the new module
yflory 05caf86033 Merge branch 'staging' into team
yflory dda115a6aa lint compliance
yflory 8ff4e2fd8e Test all shared folders with getDeletedPads because of editable metadata
yflory 7658dbcaeb Add shared folder module
yflory 3745bb76dc Add Team module
ansuz 12dd647a46 lint compliance
ansuz cdb98ee27f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory a8ec344203 Fix UI and rendering issues in the notifications panel
ansuz 83d0b1ad30 WIP clientside components of private mailbox messages
yflory a6a40c3f6a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 32f1d1627f Refresh properties modal when receiving metadata updates
yflory 4708d59a65 Add notifications when removed from owners or pending_owners
yflory d190b8acd0 Don't send user updates to friends via chat if you know their mailbox
ansuz 31c6e7241e Merge branch 'soon' into staging
yflory a7bc83ac5d Merge branch 'soon' of github.com:xwiki-labs/cryptpad into soon
yflory 9e8c717035 Fix onlyoffice lastKnownHash bug
yflory e131661673 Accept and decline ownership offers
yflory 9822c28f3b Implement ADD_OWNER notification with pending_owner metadata
ansuz 1b7d984d39 Merge branch 'soon' into staging
yflory 416e0cde17 Fix removeOwnedChannel
yflory 2a91643d59 Remove an owner
yflory f6762f7c01 Make the friends list from the share modal reusable
yflory 06809fd3ba Update codemirror settings in realtime
yflory c608bdd2dc Merge branch 'off' into staging
yflory 656b129543 Ability to remove handlers from worker-channel and metadata-manager
yflory c1656d7b5b Merge branch 'unifiedMetadata' into staging
yflory 6f0062d023 Add comments and timeout errors
ansuz 04feef793b resolve merge conflicts
yflory c4a90a90f2 Fix disconnection event not propagating to the UI
yflory eaeb995661 Remove debugging code
yflory 06748dcfb3 missing comma
yflory 970dcb8b8b null is an object
yflory 3303e9738d Fix drive deletion
yflory 5c6b3155ac Add safety measures to avoid removing your drive by accident
ClemDee b49c39b895 Fix file progress value going over 100%
yflory 51facff6fd Send a mailbox address (encrypted) to the owned pads metadata
yflory f0d753e3f4 Merge branch 'staging' into unifiedMetadata
yflory 7bc0c7ce95 Fix duplicate notifications n reconnect
yflory 9b45f0dd79 Add translation keys
yflory 65d76a9241 Merge branch 'request' into staging
yflory a169b4c3b3 Display a notification when there is a new message from the support team
yflory 5be37f2e45 Unified metadata
yflory 60bea6b33b Request capabilities part 2
yflory 4156b1988f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 6f1e281cf8 request capabilities temp
ansuz 5f5cd1e045 oups, add a missing closing brace
ansuz 8be6c84e2f guard against null elements in the drive
yflory 9d476ce9cd Fix error in the console
yflory abf8ef6276 Pin admin mailbox
yflory 77e893c3ea Merge branch 'staging' into support
yflory 3f500cfd5c lint compliance
yflory 7a0f30488c Hide duplicates when receiving access to a pad via notifications
yflory 2e8e6e6de2 Return th timestamp in mailbox history
yflory 75e0b68f51 Add mailbox history
yflory 93b4dac8bb Support mailbox in the support and admin apps
yflory 22c9af6961 Support page
yflory 59d5723f3e Fix read-only spreadsheets
yflory bba3e355d0 Invalid ID fix
yflory f5858f524d Fix invalid file ID in the drive
yflory f3dd85a7af Fix infinite loading screen
yflory 2c661310c7 Merge branch 'staging' into foldersColor
yflory 1f5eb66fe0 Merge branch 'soon' into staging
yflory eaa389fcb8 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 07775d6e13 Use shared folders events to pin and unpin pads
ClemDee e9598de655 Add folder metadata and folder color
yflory 04d8578f4e Shared folder history
ansuz 7b8ac3d8c8 Merge branch 'soon' into staging
yflory 3e4ee75137 Fix race condition with pins
yflory db84b41225 Merge branch 'shareModal' into staging
yflory ae9caecc52 fix race condition 2
yflory 62c96d562f Fix race condition with nthen
yflory 9b5104c59e Update the friends when changing the username or avatar
yflory 250d9f3bc6 Fix friend migration and handle UPDATE_DATA mails
yflory 6de97cac14 Migrate friends
yflory d317053db4 Increase tab/worker timeout value
yflory cc44fe846a Update userlist when receiving unfriend
yflory 9d8433d104 Unfriend via mailbox
yflory 5512d1fab7 Remove test code
yflory c3e9b51f76 Realtime update of the friendship status in the profile
yflory 6370c0eeae Update the profile page when receiving a answer for a friend request
yflory 61161c034c Fix profile not updating the user name
yflory 28c8834fa4 Remove the 'enablePinning' config property
yflory bf0fd64a70 lint compliance
yflory ccff67cf42 Fix missing name in notifications
yflory 727470d9ed Add missing file
yflory 6404e5c430 Fix duplicate notications
yflory 8dd557a0f6 Remove the ACCEPT or DECLINE friend request messages instantly
yflory df7a2f35fb Profile refactoring with friend request
yflory 64b0a8c5e3 Re-join the mailboxes channels when reconnecting
yflory e1b8d0bc6c Fix friend request issue
yflory 4240d1c0d5 Fix empty username when declining a friend request
yflory 7666a008d7 Merge branch 'mailbox' into staging
yflory 19a91f11c6 Never dismiss friend requests
yflory 06a07d069e Decline a friend request
yflory 9cb1a059f2 Improve friend request process and UI
yflory 38f8535dd5 Add the mailboxes channels to the pin list
yflory 991c56fec3 Friend requests with mailboxes
yflory 3be85b155d Fix issues with templates in polls
yflory 0732773bba lint compliance
yflory 11a365557c Clear notifications viewed from another store (browser/worker)
yflory 7fd3bba2a6 Test sending a message from a pad (inner iframe)
yflory 9ead40a332 Test sending a message to a friend
yflory b15c67e8d4 Enable encryption in mailboxes and post to other users
yflory 62e128a9fe Store and display new notifications
yflory c9f1a69a2e Merge branch 'staging' into mailbox
yflory de3bb5cdcf Ignore jshint on mailbox placeholder
yflory 2168557124 Merge branch 'cpnetflux' into staging
yflory d3af840f81 Merge branch 'cpnetflux' into mailbox
yflory 909e70905c Add comment
yflory 827a47d9b7 Fix issue when reconnecting to a pad
yflory ce2d0d5b83 Mailbox and notifications prototype
yflory 3feb310fc4 Add mailbox inner channel
yflory 11b57cddb1 Merge branch 'cpnetflux' into staging
yflory c61617411a Add mailbox module
yflory 5a19f7cc5d Recent pads improvements
yflory c4ac858f5d Remove chainpad-netflux-outer
yflory ad3ee14d2b Fix Clean CryptDrive button in settings
yflory f4bf032513 Fix one case of duplicated content
yflory 9b9cedd191 Fix userlist and chat after reconnection in a shared worker
yflory 52dbc296ee Detect phantom tabs using PING in the worker
yflory 1f3ef77349 Service workers tests
yflory bb5f03bd0f Add admin panel
yflory 42055c32b5 Fix undefined settings when creating a new account
yflory 34cc90bd08 Add feedback
yflory f04ba4a3d8 Too many false positive with the timeout detection
yflory 412670c8a6 PCS with owners and password for spreadsheets
yflory 07cd0b21b6 Fix last known hash sent to onlyoffice (it is already known...)
yflory cb89a5fdfe Test timeout to kill phantom viewers
yflory d989b6d6e4 Fix one case of phantom viewers
yflory ed4f8016a1 Merge branch 'staging' into locks
yflory 7d0f34a684 Debugging tools
yflory a66d8c1384 Use lastKnownHash to handle checkpoints in the realtime channel
yflory 8dbeee1af9 Realtime spreadsheets
yflory b79ba61984 Improve realtime channel for onlyoffice
ansuz 6cf8720458 update how the async store chooses to prune history to avoid the diverged checkpoint bug
yflory efdecd4059 First step for realtime in onlyoffice apps
yflory 41a1148c17 Use the same code for the different frontend channels
yflory d87a87410d Preserve hidden owned pads from a deleted folder
yflory f2f9b57505 Own drive migration
yflory bbc06f668f Fix undefined hash for deleted shared folders
yflory 760f58b74c Merge branch 'staging' into oo2
yflory d88dee9a83 Restrict sending messages in a pad chat to editors only
yflory a2e28e6e25 Fix missing avatar in cursor tooltip
yflory 081fc01694 Add a settings category about the cursor
yflory f157f852b1 Fix and improve cursor
yflory 1ba80a344b See other users' cursor position
yflory ca45ff31d1 Refactor messenger to use commands from UI to store
yflory 4daa2266c0 Fix new network open for each shared folder
yflory 498703384f Don't rejoin a dropped channel on reconnect and leave chat channel
yflory 5d3d591228 Keep trying until the first tab is loaded
yflory c59d744d78 Fix loading a tab while another one is initializing the worker
yflory 0a83840c9c View a shared folder with an unregistered user
yflory 17bc1ee703 Load shared folder when not logged in
yflory 179df27e3c Fix autostore not displaying the error message when over pin limit
yflory 6c27d2964c Disable friends chat in pad messenger
yflory 621fc9a897 Ability to disable messenger at a global level
yflory d4dd58e7df Add a pad room when the messenger is active in a pad
yflory e6743887fc Refactor contacts/messenger so that it is usable directly in the apps
yflory 525703e7d8 Fix autostore popup displayed for dropped files
yflory bf9cf95292 Merge branch 'staging' into oo2
yflory ee1027ceb9 Ability to import mediatags to the drive
yflory 7b06626581 Merge branch 'autostore' into staging
yflory 256b7b5bb4 Phantom viewers potential fix
yflory 0e1c525c30 Fix an issue with new shared folder added to drive from another session
yflory d201e9a0cd Disable some toolbar features not available if the pad is not stored
yflory 9ebb598467 Make automatic pad storage configurable
yflory e8a5244362 Autostore base
yflory b084b892bd Fix cache issues with workers in firefox
yflory 9a6fa4cbe2 Create a copy when uploading an owned file in a shared folder
yflory f2baaf5b5b Fix shared folders issues including disappearing folders
yflory bad1d7311a Fix drive tests
yflory d816a2ed9f Prevent timeout when restoring drive
yflory ef73cf89cd Merge branch 'soon' into staging
yflory 8eccffd8e4 Don't remove migrated read-only pads
yflory aafcb1bc02 Merge branch 'sharedfolder' into staging
ansuz e110f20397 support blocks on remote domains
ansuz 1629d7bb1d provide a SANE default in case httpUnsafeOrigin is not provided
ansuz bcbec0144c provide a default in case httpUnsafeOrigin is not provided
yflory 6143bceabb Fix XXX
yflory fc91cf606b Disable moveToTrash button for pads in shared folders
ansuz 2c22232a47 check if a user is logged in strictly by User_hash
ansuz 848a918eda remove out of date comments
yflory 5b48eff78c Remove owned pads deleted from the server in shared folders
yflory b5c2eb8a9c Automatically refresh the drive when a change occurs in a shared folder
yflory 6a80f49fe0 Don't load expired or deleted shared folders
yflory 7d89026d83 Fix more issues with shared folders
yflory 8516587ece lint compliance
yflory 321c7d5512 Move pin/unpin outside of userObject
yflory 4b86ed2dec Shared folders UI
ansuz 0a9ea95796 always set userHash in localStorage even with modern users
yflory 6312dadb60 Fix shared folders names in the drive
yflory e0cc1a6eb6 Display a shared folder in the drive
ansuz 57a39258c3 WIP big commit
ansuz 0c3b898000 simple one line fixes
yflory bd6a199dca Add missing functions to the proxy manager
yflory a25a72b5db Add a proxy manager to handle operations between shared folders
yflory 66591a3654 Merge branch 'rohref' into sharedfolder
ansuz a3e0e765b5 derive block URI and URL in dedicated functions
yflory 425ac8ea57 Migration for read-only links + fix issues with read-only pads
yflory 0f9a71686e Add support for read-only href stored in filesData
ansuz cfc81e8c96 allocate blockSeed as Uint8Array
yflory 554b4a978d Load shared folders in the store
ansuz 7aa7b82c60 merge staging
yflory bfb850554d Fix the contacts app with workers
ansuz 7dc393a2d2 remove debug log
yflory 76bc82ac13 lint compliance
yflory fbe940c024 Fallback to async store in self.crypto doesn't exist in webworkers (ie/edge)
ansuz 01614c4256 verify old user password before proceeding to change passwords
ansuz 6fde027a6c add some TODOs
ansuz c2014c5906 a bit of cleanup, bug fixes, and lint compliance
ansuz c3741f847d resolve conflicts from merge with staging
ansuz d03339f20b check for the presence of a blockHash in localStorage when logging in
ansuz 3ba0ad3cf1 get, set, and clear blocks from localStorage
ansuz cb5fa72dba implement removeLoginBlock rpc
yflory 29f577dfc6 Improve history to load it chunk by chunk
ansuz 577dea4c75 clientside implementation of block signing and encryption
yflory d37aa0646e Change account password (clientside RPC)
yflory 54d63df1cf Ability to change the password of a pad
yflory d1e8baca68 Lint compliance
yflory 4896fe81fe Merge branch 'serviceworker' into staging
yflory 1b49020753 Add support for async store when WebWorker is not available
yflory 4dec2cca5c Translations for new version detected
yflory aeaf7d1950 Fix mediatag...
yflory 8f28621bb0 Remove unnecessary logs when logging in
yflory 996245ec3d Merge branch 'staging' into serviceworker
yflory 47dee664da Add support for login & logout while keeping the same shared worker
yflory 02b282a1a5 Disconnect from shared/service worker
yflory 87f4fe9c84 Add error code to a feedback key
yflory f05e2225d6 lint compliance
yflory 78ff55e34e Fix race condition
yflory 48dc8c78b4 Fix cache and merge issues
yflory 305b47132c lint compliance
yflory 14db9fad8e Merge branch 'echidna' into serviceworker
yflory a6d9ecb3ba lint compliance
yflory 598d56c75e Fix cache issues
yflory cefe19b0e1 Merge branch 'echidna' into serviceworker
yflory 953d98be96 Fix reconnect
yflory ce6779a06f Remove debugging logs
yflory 6ab29f8f3a Test service worker and shared worker store
yflory 9c5ad795e1 Service worker test
yflory b9f5a0f52b Move async store in a webworker!
yflory 93ecc06964 Upload owned files
yflory 8aac7bad45 Make sure the ID is not used when uploading a file
yflory 586193d6a1 Password-protected files: upload files with hashes V2
yflory c7e08fedfb Password-protected files
yflory 4df285fed5 Fix pads using version 0 hashes
ansuz bd66c8fee8 hacks to handle weird entries in drive
ansuz 2170fcb9ad Merge branch 'kanban' into staging
yflory 31f9062422 Fix avatar pin
yflory 65a2083afc Suggest tags based on existing ones. Display existing tags in the drive.
yflory 2d2701596a Loading message and loading bar for migration
yflory 447230d42e Clean migration logging
yflory 6c4c5c135b Async migration
yflory 10ce95087a Merge branch 'password' into staging
ansuz ac09ba65ce strip both old and new style checkpoint labels before decrypting when fetching history
yflory 2451174870 Lint compliance
yflory 009eb13fc3 Merge branch 'master' into staging
ansuz 41583b7858 Merge branch 'checkpoint-bug' into merge-checkpoint-bug
yflory 64c85fe548 Don't return channel in parsePadUrl
yflory 43d046406f Store the channel id as pad attribute
yflory b26ae67df5 Fix issues with channel ID when using a password
yflory 1879c1829c Add passwod prompt to access protected pads
yflory 811463b870 Add support for version 2 hashes needed for password-protected pads
yflory ec0fc85b9f Sort templates by usage in the PCS
yflory e37aab492b Validate messages not coming from history-keeper
yflory a570a73e98 Send checkpoints' id to the server to avoid storing duplicates
yflory 2381dd0e39 Remove owned profile and owned todo in automatic account deletion
ansuz b323989347 remove extraneous console statements
ansuz c24c06e90c sign with your global private signing key
yflory 0993204d14 Disable thumbnails by default
yflory a9d01ac864 Lock the UI when someone is editing
yflory fd1b4189be Save and open oo docs
yflory 9cba630700 lint compliance
yflory a718603b36 Automatic account deletion
yflory 99712ec2f0 getMetadata RPC
yflory 07e361b88d Account deletion button
yflory f1107ae6e5 Don't count other people's owned pads against your limit
yflory ab8306f5d4 Merge branch 'soon' into staging
yflory d6228a39bd Fix userlist notifications missing for join events
yflory c9ed6d6bf8 New pad creation screen