Commit Graph

648 Commits (011acbe73cb860fdbfdd554c0fb22efdef63ee17)

Author SHA1 Message Date
yflory 17636769e4 Remove the second network created for the drive
yflory c59c6072f3 Remove jquery from outer
yflory c6b8bbea59 Fix tests
yflory b3688db202 Use async store
yflory 0840570fbf Async store part 1
ansuz a3c093838c merge latest staging and resolve conflicts
ansuz 56102d3689 use unified listmap
ansuz ee6c2097f5 resolve merge conflicts
yflory 9795ac32cb Ability to burn an anonymous drive from the browser
yflory 4b5abdecbe Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 280a7c2765 Clean cryptpad-common
ansuz 98c2b0c802 Merge branch 'soon' into staging
ansuz 3ff0eb116b don't let search interfere with renaming
yflory 477f14bb8b Put constants in a separate file
ansuz 9d662bd337 fix right-click pad creation in drive
yflory e2cf46d725 Add new keyboard shortcuts for the drive search
yflory bdd24ed14f lint
yflory 7cfe64fc5b Remove cryptpad-common dependency for some inner apps
yflory 1514ad5df3 Move the 'logged out' screen inside the sframe
yflory 30c8c253dd Remove util and hash from common
yflory c9e1de042c Remove common-interface dependency from cryptpad-common
yflory dc207393fd Separate UI elements from cryptpad-common
yflory be848c1bec Fix broken readonly link in drive
Caleb James DeLisle 7b62a8042e Remove TextPatcher and begin to include ChainPad directly using requirejs instead of sniffing off the window
Caleb James DeLisle 840cd91bcb manual merge
Caleb James DeLisle 75130150d5 Refactored out TextPatcher and JsonOT and replaced with new ChainPad
yflory 101482b8cc Migrate settings to use a sandboxed iframe
ansuz 867df1db56 fix '+New' button in drive toolbar
yflory 6f020b67ca Add thumbnails to framework apps
yflory 2dd3c42fd5 Fix handlers registered again on reconnect in drive and poll
yflory 094856a511 Fix renaming pad with multiple dots in the name in drive
yflory 88e7f9a218 Add last access and creation times in the properties window in drive
yflory 22e3baed4b Fix sort issues in drive
yflory 4197b7b968 Fix missing icon in list mode for files with thumbnail
yflory 4116d08dd1 Display thumbnails in the drive and then file picker
yflory 7b6432f134 Lint
yflory b86f8e3f26 Fix uloaded files not moved to the correct folder in drive
yflory 620ba4ed5d Fix fouc in drive
yflory e5a54b5978 Fix folder highlighting with drag&drop in the drive
yflory 1c7c37c121 Add the file class to pads in 'template' and 'recent' categories in the drive
yflory ab3648a30a Merge branch 'newpoll' into staging
ansuz 7559bc062e lint compliance
ansuz d85db64939 add tags from drive
ansuz c936e5ae73 make context menu open correct app on correct port
ansuz deed04108b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz a90c078e84 correct reference to undefined
yflory ceb8ff18bd Fix ghost icon in drive
ansuz 0f9e93e1de make tests pass again
yflory 66da349ee4 Sandboxed Poll app with less2
yflory 8de1852ab9 Lint compliance
yflory e02a779c14 Use secure drive as default drive
yflory b4de31c827 Merge branch 'newdrive' into staging
ansuz 52be5501d6 remove invalid test
yflory 1afbd4648d Fix old drive
yflory 8a09e39f46 Enable tags in pads
yflory a78b597ebb lint errors
yflory 8ce364a252 Add a button to empty the trash in the drive
yflory a1e7bf701d Select the element after clicking 'show in folder' in the drive search
yflory c00d295466 Add missing translations
Caleb James DeLisle 789a923792 Change font-awesome to be pulled through LessLoader which will rewrite the font file URLs to use ver= parameter
yflory 0f9da69185 Show if a pad has been renamed in the drive
yflory 8ef27dca08 Lint
yflory 1aef844fc3 Fix title attribute for truncated titles in the drive
yflory 51f1be9f7a Improve the input style when renaming a folder in the drive tree
yflory 403b62f131 Fix ghost icon modal and improve UI on mobile
yflory 5bf966633c Merge branch 'staging' into slide2
yflory 05793c220c Fix secure iframes on Edge
ansuz bbf7ed3827 refactor drive to use dialog.selectable()
fix class on alertify-like boxes
yflory 04a04aef2b Add setAttribute/getAttribute in secure iframes. Store attributes in settings
yflory 305feebbbe Fix scroll position when refreshing the drive tree
yflory 86e23ac19f Use less2 in secure iframes
yflory dec870d2bd Fix selection in the drive search results
yflory 4bceef8952 Fix the upload status table missing in the drive
yflory 6c65e5ff72 Fix the ghost icon in the drive and add missing text
Caleb James DeLisle acfaaa7d56 jshint compliance
yflory d6c33fdf4f Ghost icon to add a pad
yflory 98daf10ed1 Ability to collapse the root directory in the drive
yflory b4864b96ac Add a recent pads category in the drive
Caleb James DeLisle b081603455 Update requirejs
yflory e2d39de143 Forget button in pad2
Pierre Bondoerffer 82fadde249
restyle info-box in drive
Pierre Bondoerffer 2cc6c636db
Add some missing titles
Pierre Bondoerffer 8f285eba9f
make file picker ui even prettier
yflory a80b00a765 Move the file picker in common
yflory c33d2a2db0 New tooltips
yflory baf439648e Add the contacts app in the dropdown menu
yflory b3e225cb3b Replace spinner by text and fix mobile UI
yflory ce50dbf3ca Hide the 'templates' list header if the category is empty
yflory 42075e4b5f Make everything 16px and 32px
yflory 16d0527e92 Add a page title in drive, settings and file
yflory a0b14faf89 Fix the font in settings and drive
yflory 112c4c85e5 Left menu in drive
yflory 125018c8c3 New settings page
yflory c02fa39524 Make drive search bar blue
ansuz 086e5909dd Merge branch 'soon' into staging
ansuz f9a43d6570 select everything before file extensions in drive when renaming
yflory de420de021 Fix the folder's path in the search results page
yflory 43ac71603c Move pad attributes in pad data
yflory ffd184d50e Fix overflowing names in the new userlist
yflory 1df5e6e855 Fix toolbar buttons for Safari
yflory 568ce70afd Add a spinner for the history and update history buttons
yflory b9320e6005 Toolbar improvements
yflory 8abc94d37b Replace folder images in the drive
yflory 8279ef3130 Fix conflict between ckeditor toolbar and userlist on small screens
yflory 7a87775372 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 56a25e1036 Small fixes for the new toolbar
ansuz 39149a052b add new feedback keys
ansuz 7a5c5ce0a3 load scripts asynchronously
ansuz fca1ef4d36 hide unstyled content until the loading screen is displayed
ansuz 7de2683169 make all apps use clientside templates
ansuz e9bfaa9a60 compile less clientside. remove compiled css
yflory 36ef4178dc Remove the editable title from the file app
yflory ce44a8d351 Fix the backup button in anonymous drive
yflory 06a0590f73 New folder icons
yflory 503e9de07c Lint errors
yflory b7a0547b77 New toolbar colors
yflory 3052ec8abb Merge branch 'newCk' into staging
yflory c3f636851a Fix path size width in drive
yflory fb388f2610 Fix an issue with invalid drive before migration
yflory 59fb5bd8be One toolbar color per app
yflory 1ad1b78c64 Fix the history mode with readOnly and old URLs
yflory f1aef66fc9 Fix the drive history
yflory 008c417111 Context menu was not hidden after a click in the drive
yflory 377a90961b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory e40f43bd20 Migrated pads were not displayed instantly in the drive
ansuz 44b8bc7b7d make context menus unselectable
yflory 1e9bc89855 Fix drive icons when the name contains a long word
yflory 66b076111e Add an upload button to the slide's file picker
yflory a4f45caebb Lint
yflory 8738b42861 Update the drive UI to show that Upload and New are linked to a folder
yflory a98353af6c Add a button to upload a file in the drive
yflory 7e0a2abc2c Fix the file name when restoring an element from the trash
yflory 5b523be171 Fix drag&drop for pads in the drive
yflory e51f678bb9 Don't display the popup whne moving a file to the trash
yflory 497ddeee6d Upload files with drag&drop in the drive
ansuz c70eb73d52 Merge branch 'master' of github.com:xwiki-labs/cryptpad into staging
yflory 7dd9ed543a Merge branch 'newDrive' into staging
yflory 3ff3eac283 Fix a race condition causing the drive to be empty
yflory a5cb5f2ceb Merge branch 'staging' into newDrive
yflory 1b671edce9 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 9a4a6e9b40 Always display the upgrade button in the drive
yflory 9cc25d4c9f Merge branch 'staging' into newDrive
yflory 7134b00544 Add a button to display the context menu for the trash on mobiles
yflory d24458e4b0 Fix the tests to work with the async migration
yflory a57f7c6ce7 Fix lint errors
ansuz 4bcad3e154 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 9d758a040b Fix an issue with the search field not displayed properly
ansuz 08902c0910 drop extraneous argument
yflory 9ca10ba524 Merge branch 'staging' into newDrive
yflory 2a94bdaf05 test
yflory f8c69573fd Disconnect other tabs when migrating the drive
yflory b0fe04381d Merge branch 'staging' into newDrive
yflory 1c2ea04f11 Drive refactoring
ansuz e723228060 always show upgrade button in drive
yflory 811d031ffd Fix the 'File' entry in the drive 'New' menu
yflory 5641a4a839 Add the file app in the 'new' dropdown menus
Caleb James DeLisle 66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place
yflory df2b00122a New drive structure without file names
yflory 90f5713d4a Fix an issue with the search bar redirecting to incorrect location
yflory 538aec6ef5 Display a message when pinPads returns an error
yflory 56bcdff890 Add a preview of the markdown content in the code editor
yflory 834830fc4f Fix the Ctrl key + click to select multiple files
yflory dc2cdb7c08 Add the usage bar in the settings page
yflory 716245f864 Make all the buttons look the same
yflory 0f37d9def7 Change the button font size in the toolbar
yflory 48496416e7 Use the same font-size for all the toolbar buttons
yflory 03274c3776 Display an info message in the anonymous drive
yflory 601226115b New anonymous drive
yflory ed95bbb08f Fix lint errors
yflory 0f13198119 Move the parseHash code into parsePadUrl
yflory 733c3abefa Update the upgrade button in the drive
yflory becba33b05 Scroll to the selected element in the drive
yflory 419fb15425 Remember the scroll position in the drive tree
yflory 5a21be8112 Improve UI on mobile
yflory 3c4b6a89d2 Fix a conflict with the arrow keys and renaming a folder in the tree
yflory c00158d23a Move code to common-history
yflory 6a8153aca3 Fix selection issues in the drive with Chrome
ansuz 56a871cb67 Merge branch 'soon' into staging
ansuz ae7d65c3fa fix drag to select in chrome
ansuz 1d4d4cffdb correct some copypasted code
yflory b818fd8a37 Fix 'undefined' error with the context menu
yflory c34c1cb07c Press enter to open a folder
yflory 1547063b7f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory a20a319a7a Fix focus issues in the CryptDrive search bar
ansuz 36ab38f3ac Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 5a883d5a57 Use the new toolbar and move the userlist code in a separate file
ansuz 6471b572eb correct off-by-one
ansuz 78b11584f8 remove unused variables
yflory cd98fc6eab Increase the z-index of the select area in the drive
yflory 80115d0071 Fix an 'undefined' variable error in the drive
yflory c9d89debba Fix lint errors
yflory 79365a7a82 Use the shift key to select multiple files in CryptDrive
yflory 3262787244 Update the icon mode in CryptDrive
yflory d52e9fba43 Use the arrow keys to change the selection in the drive
yflory ef89451a83 Display the storage limit in the drive
yflory d2e46d1378 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 092b98d235 Fix the offset of the drag&select feature in the drive
ansuz 0e7eeb285c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory f414d480a9 Add the history mode to the CryptDrive
ansuz 28e4ef1b13 WIP RPC code
yflory 538e85c080 Fix the context menu in the drive flowing off the screen if too long
yflory d9b5eb8a97 Fix an issue with the right click triggering the select area
ansuz 38a115d8f8 feedback on anonymous drive
yflory 0ef1c14d7f Fix lint errors
yflory a165332c15 Don't store a pad in the drive if the limit has been reached
yflory 197b366712 Ability to drag&select in the drive
yflory 520dabe094 Remove the unsorted files category
ansuz df9c312b7d make new text translateable
ansuz 347459781c show the size of your files, if you're logged in
ansuz 2a25afae5f Merge branch 'soon' into staging
ansuz e0ecf651e2 add a note about showing pinned file usage
Caleb James DeLisle c341fa8e94 Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter
yflory 3ba90332bb Merge branch 'refactor' into staging
yflory daabb0b3ad Integrate and fix the new fileObject (userObject)
ansuz df4a250359 use feedback api instead of app=
yflory c1e0316d43 Refactor fileObject
yflory cfc5d634f4 Merge branch 'templates' into staging
yflory bd16e0f0e7 Templates in polls and canvas, and ability to disable templates
yflory 126498585e Add a context menu on the ROOT folder in the drive
yflory 84d8615cf1 Save and use templates in pad, code and slides
yflory d07acc5364 Don't redraw the drive if filesData changes while in unsorted
ansuz 4d5baa717d Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 9d3f859657 add a contextMenu entry for the whiteboard app
yflory 7ede430db3 Fix 'search.oldLocation is undefined' error
yflory 72fecb9549 Fix lint errors
yflory af68e41fb6 Always set the focus to the search bar in the drive
yflory 67f4096396 Fix cursor in the drive search bar
yflory 71c59d7ae2 Remove unnecessary TODOs
yflory a8ffac5dcd Remove old code
yflory 53c60a31f6 Set the properties and backup inputs to read-only in the drive
yflory 0c5a930cb9 Fix an issue with the 'Properties' entry not always displayed in context menu
ansuz e2ee80d4e7 set icon for whiteboard app
yflory 819c7e3bae Fix style issue with drag&drop in the active folder
yflory 8ce8401107 Fix issues with middle click in context menus
yflory 5f4990cc80 Display or hide the context menu in a more intuitive way with multiselect
yflory 51033ab70a Remove useless links in the context menu and properties for readonly pads in the drive
yflory 7afde2309d Add properties to the files not in the trash
yflory 66a80ea50c Add properties for pads in the drive
yflory 85105a1382 Active folder in drive is not underlined anymore
yflory f98c825dc3 Fix keyboard shortcuts not working in CryptDrive
yflory 7761aaa89f Add search UI
yflory d19bbcb001 Add support for search in the drive
yflory 9a32fb1999 Fix sub-folders changing position in the tree when renaming them
yflory 931f7619c0 Keep the scroll position on redraw in drive
yflory 0607c3bbf3 Add a title to the 'new' button in drive
yflory 15e9af77bb Remove the langauge selector from toolbar and add it in settings
yflory ceaf757680 Allow right click on the CryptPad logo/link in the top left corner
yflory 84c16c00ad Fix click events not working on inputs in the drive tree
yflory 459b18c97b Add the loading screen in the HTML so that it is displayed before JS is loaded
yflory f62267f8a1 Ability to import local pads in the user object
yflory ce6cd1211e Fix lint errors
yflory 14938089ac Keep the focus on the iframe window after canceling a deletion
yflory 3f7dea8f7e Context menu support for multi-select options in drive
yflory e1c02fd8a4 Drive rename: save pads and folders name on click, cancel with Esc.
Pierre Bondoerffer 6c9da646e0
(CSS) Some improvements to drive
yflory a978b51656 If display name is empty, use anonymous in the drive
yflory 153386a6e0 CSS improvements in the drive tree
yflory 6098f28260 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory a852112808 Fix open folder from the tree context menu
Pierre Bondoerffer 800db07077
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
Pierre Bondoerffer e39fe1c0b7
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
ansuz 01c4d7d4a7 Merge branch 'maybe' into staging
Pierre Bondoerffer e0d972674f
Fix context menu in drive and rename textbox styling
yflory 8bdc8415ab Find a pad in the drive
Caleb James DeLisle 91eda5fa83 Implement stronger content-security-policy except in /pad/ which does not allow it.
Implement a "loader" which allows for applying a version number to everything.
Added a cache control for anything which has a version.
ansuz 7db0e14bc0 add 'force' flag to override removal of html elements
yflory 53f4f8826e Merge branch 'staging' into staging
yflory 55210f17eb Clean the code to be less dependant on 'li'
Pierre Bondoerffer 3e9c4d0901
Add hover to file manager tree
Pierre Bondoerffer cbdfae09a6
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
yflory c6c3e1bbb5 Don't select subfolders in the tree when drag&drop
Pierre Bondoerffer d605fc757b
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
yflory a26b9d3240 Don't select subfolders in the tree when right-click on drag&drop
Pierre Bondoerffer b0323f6fd9
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
yflory a2b5200381 Add a container for the folders in the tree in the drive
yflory 11d54256da Make sure the display name is displayed in the same way everywhere
Pierre Bondoerffer eb9a39eb68
Add hover on elements in drive and make grid slightly prettier
yflory f06196c261 Remove the context menu buttons when removing selection
yflory efb7380a12 Fix default pad not created after registration
yflory 0224d6489b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 0ae7f94184 Remove the pointer and text underline on icon:hover in drive
ansuz 86adfbf27d update cache-busting directive in all supported apps
yflory ec7761eeb8 Make sure we don't use a wrong title for a new pad
yflory 4f7a05ead2 Fix issue with the path for the trash in the drive's topbar
yflory e8c73f35ce In the tree, display the rename input only once
yflory f8d653406a Add the new content for the default pad and add french translation
yflory 95853debf9 Update the default pad
yflory 38893fb8e5 Remove the 'Bootstart tooltips require Tether' error
ansuz cc829d51f8 jshint compliance
yflory e040c00557 Fix blocker issue when creating an account without migrating
yflory 55fb0f03ae Fix the path in the drive overriding the content area
yflory ba0b314f5e Fix the 'new' button in drive which was broken in non root categories
yflory d8cc2903cc Display context menu actions in the toolbar when an element is selected
yflory cc174f3bee Fix typo
yflory 0ce17ebbad CryptDrive usability improvements (new file in drive + context menu)
yflory e73b4a1131 Don't display 'All files' in the menu
yflory c72bbd4c37 Use the file name as initial title
yflory 47b8fefd9e Load messages.js only once, in cryptpad-common
yflory 434c3a220c Remove old translation keys
yflory dd014f6ef2 Fix race conditon
ansuz 8167ed9048 implement cache-busting everywhere
yflory deda40375a Use the new onSettle from chainpad to determine if the realtime is synced
yflory 550c65aae0 Add a default pad in CryptDrive after signing up
yflory e4dbe97d71 Update display name in realtime across tabs and remember 'anonymous' name
yflory 92050eb04f Fix the trash button in toolbar not always working
yflory 342cb44cf7 Ability to migrate a anon drive directly from the drive
yflory e865b89f43 Add the contextmenu button in the drive dynamically
yflory 914c442615 Do not redirect to home page when logging out from another tab
yflory 628148d001 Display the contextmenu button only if contextmenu exists
yflory ac79fbb5a2 Improve mobile support for the toolbar and the drive
yflory 02439e0f61 Improve the homepage with new images and translations
yflory 2c6b4b9c6a Hide disabled applications from the context menu in drive
yflory 9cea8d82c2 Fix left-click disabled in Edge after renaming a file
yflory 6a5769405b Fix a race condition issue introduced with reconnecting patch
yflory 8881334ca8 Fix renaming folders from the tree
yflory 65054119cf Fix a bug preventing reconnection in drive
yflory 89da142204 Fix pad creation from the context menu
yflory 8427b6ae8e Fix 'sort by type' in drive
yflory dc39c4e179 Fix a race condition causing the drive toolbar to be missing
yflory 2e247d44c7 Hide the backup icon when logged in
yflory a9c9d19212 Hide the template from the list in the drive until it's done
yflory 29578a7400 Merge branch 'hpbs' into newtoolbar
yflory 2d79649949 Fix the 'NoScript' bug with the drive
yflory 5ef074370b Name a place before creating it in the drive
yflory fa1582f307 Replace 'filename' by 'title' in drive when there is no filename
yflory c44f3a1044 Delete multiple elements could also remove unselected ones
yflory b79e1e48c7 Update colors in drive
yflory fb48484d2a Fix the rename feature in drive not working with tables
yflory 3f44444f41 Display the 'New' button in the trash
yflory 00efc96919 Move the toolbar and add a breadcrumb
yflory 6f5ff07c2b Display the elements as a table instead of a list
yflory 95056315cf Move the folder icon style to the less file
yflory 8c7305bf1b Use less to write the drive stylesheet
yflory 11f0a9ae5f Revert the changes adding anonymous pads
yflory f42665ba49 Remove the unowned pads category
yflory 88021f2264 Anonymous pads fo anonymous users
yflory 39ca2e6dd6 Fix bootstrap conflict with context menus
yflory a9063e0459 Reload all tabs when the user logs in or out
yflory 767ba8b549 Select what we want to display in the toolbar
yflory 2afdc11327 Replace the username button by a dropdown menu
yflory efffd4974f Add createDropdown and createLanguageSelector in cryptpad-common
yflory 6352656737 Remove the default context menu in the entire drive
yflory 569ea21705 Replace the language selector by our custom dropdown menu
yflory 26dd4ea11f Fix lint errors
yflory 2be5db9540 Ability to open files in readonly mode
Fix CSS issues
yflory f74d0a46a4 Remove the alert when pressing del in 'all files'
yflory 5b08fed7fa Ability to add files from the drive toolbar
Fix CSS issues with the different toolbars
Translate the backup URL button alert
yflory d5561910d4 Move the file manager into /drive and add a toolbar