Commit Graph

427 Commits (9734a4db807017d994d2ce33af452cecf60de531)

Author SHA1 Message Date
ansuz df47b913e3 fetch array buffers in cryptpad-common
yflory c79a6e3b2b Move Metadata, CodeMirror and title functions in separate files
yflory 63710e1ccc Move the code related to the title in another file
yflory bbc08bbcfd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 6847906ac9 Move the userlist code in a separate file
ansuz a173e4c7a0 add 'log out everywhere' functionality in settings
yflory 5a5b02b82b Don't store in the drive pads without a hash
ansuz 78b11584f8 remove unused variables
ansuz 410a9dfb17 temporary solution for testing pin limits
yflory ef89451a83 Display the storage limit in the drive
yflory afb0061d7b Fix an issue with anonymous user unable to store new pads
yflory a51a35da70 Fix an issue with hashes ending with a slash
yflory 0ef1c14d7f Fix lint errors
yflory fc760b4820 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory a165332c15 Don't store a pad in the drive if the limit has been reached
ansuz e51c7f9cf0 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory bf7c7c45d0 Add the storage limit warning in the toolbar
ansuz aedc46bdaf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz a97e7223f1 implement getBlobPathFromHex
yflory 520dabe094 Remove the unsorted files category
ansuz 12898b3358 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 74bcec8b31 programming is hard okay
yflory 2a417ddae8 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory d985b144cc Add a new hash version for the file viewer
ansuz 3309087277 send feedback if isArray is not supported
ansuz 4fdc5f897e only feedback migration if user had legacy store
ansuz 218f2ff76c feedback when logging in or registering
ansuz f7e96b4e8c resolve merge conflicts and jquery errors
yflory 5fc2e4cf71 Remove the toolbar in ckeditor history mode + history configurable
yflory 92ea03d7d9 View and restore the history of a pad
ansuz 4c0d7bf8e8 support multiple calls to cryptpad.ready
ansuz ec041c88e2 console.log when providing feedback
also notify server if a users browser does not support proxies
ansuz 3afaf029cb feedback about how often we migrate an old drive
ansuz 347459781c show the size of your files, if you're logged in
ansuz 2b8579e8b7 add pretty-printers for byte-counts
ansuz 2a25afae5f Merge branch 'soon' into staging
Caleb James DeLisle c341fa8e94 Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter
ansuz da69c1822c ask users to sign back if signing keys are missing
ansuz 821c1a3ec6 annotate code which we hope to be able to deprecate in the future
yflory 43c045721c Get the channel history
ansuz c7eae9675b keep exporting isArray for backwards compatibility
but prevent internal use
ansuz fbebbf0dca minor clean up
ansuz 525d35c9ec redefine alert
ansuz f694a81a5c move more interface code out of cryptpad-common
ansuz a4157b9908 remove more unused functions
ansuz e10901edb2 begin to move interface code out of cryptpad-common
ansuz 95789d3cbe expose rpc for pinned usage
ansuz 8f4dbcf4c6 remove getPadTitle
ansuz f42da4ecd8 move hashChannelList into common-hash.js
ansuz 63960bd38c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 520ae822fc correct undefined reference
yflory 633d60ccd0 Remove a TODO
yflory 81d83897ec Rename hash.js
ansuz 607d9652f5 jshint compliance
yflory 3ba90332bb Merge branch 'refactor' into staging
yflory daabb0b3ad Integrate and fix the new fileObject (userObject)
ansuz df4a250359 use feedback api instead of app=
ansuz e618483395 extract all code for encoding and decoding hashes
ansuz fdd2716ad5 move constants to the top of cryptpad-common.js
yflory c1e0316d43 Refactor fileObject
ansuz 5212539a16 move standalone functions from common into their own file
ansuz 7437d6b902 remove unused function
yflory cde724399c Pin the pads
ansuz 2c8d1b8183 jshint compliance
ansuz 05a50b1f4c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz a14bb1480a progress for implicit pinning
yflory cfc5d634f4 Merge branch 'templates' into staging
yflory bd16e0f0e7 Templates in polls and canvas, and ability to disable templates
yflory 84d8615cf1 Save and use templates in pad, code and slides
ansuz bd2034c47b prepare rpc before 'ready' if pinning is enabled
ansuz abd87e1322 jshint compliance
ansuz e4b15bc616 implement 'getCanonicalChannelList'
ansuz fdede0d1fd remove some dead code
yflory a8ffac5dcd Remove old code
ansuz 40f5e1706f add a unique id to user objects, define a getter
yflory 6fbd1f0028 Store the dates as number and not strings to avoid ot issues
yflory 7afde2309d Add properties to the files not in the trash
ansuz cc43bb8362 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 98027dad27 jshint compliance
yflory 26edb77cf0 Fix style and usability issues in slides
ansuz d422c7e165 support old hashes in getUserChannelList
ansuz d85a42c776 include User_hash in user channel list
ansuz c3c866fa2b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory d19bbcb001 Add support for search in the drive
ansuz 5eb32b33ee Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 298725b3c2 don't show usage tips on error screens
yflory b9c64a526a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 15e9af77bb Remove the langauge selector from toolbar and add it in settings
ansuz 15a67afc75 jshint compliance
ansuz 7187d3c550 implement getUserChannelList
yflory f10149db1c Make sure the tip is always visible when the loading screen is removed
ansuz 413d9a6f0b add a style-callback to confirm
ansuz 803e57c958 add more parameters to confirm dialogs
ansuz f2aa531f27 apply styles to confirm buttons if provided
yflory b7986ff6b1 Replace the spinner code with a font awesome spinner
yflory 459b18c97b Add the loading screen in the HTML so that it is displayed before JS is loaded
yflory 404fa378e6 Move the store to the 'common' folder, it is not customizable anymore
yflory 4206382865 Fix the settings app to allow backup for unregistered users
yflory d93a270336 Ability to display tips in the loading screen
yflory cb88227e2b Autocomplete on key press in some dropdown menus
yflory 2a1b241592 Display a button to open the editing link while in read-only mode if we know it
ansuz e1303a16da add support for title attributes on dropdowns
ansuz 01c4d7d4a7 Merge branch 'maybe' into staging
ansuz c884782d57 here are some changes
yflory 9a7c2dd5e2 Add a 'settings' link to the user menu in static pages
yflory c5f983ecd7 Convert read-only link to editing link in the drive
ansuz a9afa24428 return empty string instead of blowing up when fixing HTML
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
ansuz cb5e01815c validate all alertify strings by default. require 'force' argument to bypass
yflory 2c5c6da0d9 Fix XSS in alertify logs
yflory 26e3971482 Fix XSS in the user dropdown menu
ansuz 5d39125004 Make onSettle Async Again
yflory 4f4075ed6e Make the settings app available to anonymous users
ansuz 12aec60a12 hack around onSettle not doing its job
ansuz 1a259bb3aa check if user has disallowed feedback api
ansuz de5a21fe57 add a simple feedback api and text explaining what it is
yflory 5303e76ece Make sure the content is correctly applied in onReady
yflory 42b6cca18d Fix new pad not working
yflory 3fd5669647 Hide the trash icon for read-only pads if we have the edit link in drive
yflory e15a6a347f Fix the forget pad button
yflory 54b0a86c2e Make sure we redirect to the drive if we access the login page from the homepage
yflory ba0b314f5e Fix the 'new' button in drive which was broken in non root categories
yflory 0ce17ebbad CryptDrive usability improvements (new file in drive + context menu)
yflory c72bbd4c37 Use the file name as initial title
yflory 47b8fefd9e Load messages.js only once, in cryptpad-common
yflory d81d17b86c Remove old translations keys no longer used
yflory 1540ae3f6f Fix issue with null entries in Cryptpad_RECENTPADS
ansuz 94417d9a8b jshint compliance
ansuz 09fade6127 add cache-busting to chainpad-crypto
yflory deda40375a Use the new onSettle from chainpad to determine if the realtime is synced
yflory e4dbe97d71 Update display name in realtime across tabs and remember 'anonymous' name
yflory 7497e0d1c5 Add a dropdown user menu to the top bar in static pages
yflory 7758d056fa Ability to import/export a user realtime object
yflory 92050eb04f Fix the trash button in toolbar not always working
yflory aae3fba284 Fix the storage when the hash is invalid
yflory b1b294aade Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 3aa03225c9 Add a spinner when hashing the password and translate homepage
ansuz f723585758 add api to check whether the realtime has synced with the server
ansuz 1232aa8a79 jshint compliance
yflory 8eec7ec7c8 Fix typo
yflory f8366e0cfc Remove support for legacy store and add a way to import legacy pads
yflory 914c442615 Do not redirect to home page when logging out from another tab
yflory 702798f65a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 1e2cc6bea4 Fix race condition with the iframe store
ansuz 6e97082ff9 remove dead code from login function
ansuz 8a1acc3c37 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 6f07a3b7b4 erase lingering sessionStorage values when logging out
yflory 9f1789b2d2 Fix creation of pads from non-root category in the drive
yflory 87abfac5e0 Fix lint error
yflory b0fb56fa63 Allow logge din users to access the home page
yflory 757ae7a3ad Fix a cross origin frame issue with dropdowns
yflory 39c85ca3f7 Fix race condition causing missing translations in homepage
yflory 5e69b78334 Remove the domain from the href in store
yflory 5ef074370b Name a place before creating it in the drive
yflory 0e9e0e545f Load the new pad when the hash is changed
yflory 3f44444f41 Display the 'New' button in the trash
yflory 11f0a9ae5f Revert the changes adding anonymous pads
yflory f42665ba49 Remove the unowned pads category
yflory cb85ad3fdf Merge branch 'newtoolbar' into ownedpads
yflory 015e6fc262 Make sure we have the same hash in all the tabs when disconnecting
yflory 88021f2264 Anonymous pads fo anonymous users
yflory 2afdc11327 Replace the username button by a dropdown menu
yflory 4adde0f0c0 Use the new dropdown for userlist and share
yflory efffd4974f Add createDropdown and createLanguageSelector in cryptpad-common
yflory 3f1e287811 Fix an issue causing a user object to be turned into a pad
yflory 4278ac7637 Merge branch 'soon' into fileManager
ansuz 1c3f1a15cd make sure that /pad is resized after loading
yflory 1e70af0c16 Use the same network for the apps and the file store
ansuz 5cd714b18a configure filestore usage via customize/application_config.js
ansuz 91a806ab86 focus on OK button when we pop an alert
ansuz 89e5830409 make alertify display time configurable
ansuz 5e1d8292c5 guard against trying to parse special fragments
ansuz 52a593c2c2 fix jshint complaints
ansuz 53a4d4738a really make sure you're logged out
ansuz 5534da8abf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into login
yflory 9b6c9e3891 Add support for templates in the file manager
yflory 87abfff66b Fix Flash Of Unstyled Content (fouc)
ansuz 1682d23c1c remove old user prototype
yflory c359c27997 Use user object as default store in file manager
ansuz bd6992da0a create a random hash
ansuz 2cd50498c2 add log(in|out) functions to common
ansuz 7df460c766 implement createChannelId api
ansuz 5a14db9f07 Merge branch 'test-filemanager' into login
yflory 5bc7766f44 Use a consistent toolbar across all apps
ansuz 2968488278 convert uint8 arrays to hex
yflory 8e6830d080 Fix file manager with a chosen hash
yflory ee56f5608f Fix the infinite spinner bug with the file manager store
yflory 43ccd11adc Merge branch 'infiniteSpinner' into fileManagerMerge
yflory 05fd6c1563 Fix the infinite spinner problem
yflory cb43eb9ca1 Merge branch 'newpoll' into fileManagerMerge
yflory 9b3719e0ae Merge branch 'soon' into fileManagerMerge
yflory 90804ed9e0 Add usernames/userlist in the toolbar and fix publish button
yflory 5a5451d94c Sort elements in the trash, add properties in the context menu, fix issue with Edge
yflory a957b72598 Create a new pad from the file manager
yflory d6e1215166 Refresh the directory if needed when the object has changed
yflory 118829617f Use the FS store as default store
ansuz c2770a7a74 set correct hash even if browser does not implement replaceState
ansuz 303c65f2c3 use replaceState if available, instead of setting the hash