Commit Graph

743 Commits (7ba88751eb879a4b0f6daf9a3c76214717debfcc)

Author SHA1 Message Date
yflory f5855a2870 Add account name in metadata manager
ansuz 290763d6c5 don't complain about bad realtime state just because you disconnected
ansuz ee874878dd clear tooltips when the userlist is redrawn
ansuz 284124a32d WIP
ansuz 844967a880 continued refactoring
ansuz 58b3b32cc3 big messaging refactor. split UI from logic
Pierre Bondoerffer 8f285eba9f
make file picker ui even prettier
Pierre Bondoerffer c53e738054
improve file picker ui
ansuz 05aa5ed347 hide new feature until it is finished
ansuz 9865359bb0 don't tell users about new versions
ansuz e786117110 get new messages when reconnecting and WIP get more history
ansuz 2ce341fed6 disable input field when disconnected
ansuz 8b0831ac5d save images drawn with whiteboard to your CryptDrive
ansuz 311f709dc4 lint compliance
ansuz 542d0cd17f drop support for legacy pad list
ansuz 3fa010027c implement clearTooltips
ansuz ae693ff5a7 lint compliance
ansuz 6622735db0 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 55cb0734e2 make bad state timeout configurable
yflory a80b00a765 Move the file picker in common
yflory b9bba76b4e Make the delay for tooltips configurable
yflory c33d2a2db0 New tooltips
yflory 82c87144cb Remove the friend request button when the request is sent
ansuz c3ba7cd792 fix race condition
ansuz d0d38aa2a3 feedback on first visit
ansuz 575d4612f9 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz eda9908c3b prevent accessing attributes of null
ansuz eeb2ee2d17 add clear channel rpc
yflory ac684a8dc7 Use the APP toolbar in profile
ansuz 0483d15b8f lint compliance
ansuz c0cb5c4263 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 5b3cca58bd modifications to handle latest media-tag
yflory a0b14faf89 Fix the font in settings and drive
yflory e6188bfb63 Fix useradmin dropdown position
yflory 97d8d86395 Fix avatar in static pages
yflory 159d72f33b Merge branch 'msg' into staging
yflory 8e2e8b1653 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory ff10c282d4 Avatar in the user admin button
yflory be6ee672d3 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory f0523a0153 Avatar in the user admin menu
ansuz e10de1219b feedback on view hash usage
ansuz 52eb8e307c feedback for language used
yflory 1c531ccd47 Pin the chat channels
ansuz 4a37bc4a1c abort the realtime session if it does not synchronize for 30 seconds
ansuz c096872467 Merge branch 'msg' of github.com:xwiki-labs/cryptpad into msg
ansuz 22fbc7e5d8 implement getter for public keys
yflory df103c4074 Messaging app
ansuz 1c462d5c4a use random token for feedback instead of date
yflory 5c7441f82c Display the friend list in the friend app
yflory a5e8f6ae81 Add friend app and fix avatar size
yflory 852b2eaf1d Merge branch 'msg' of github.com:xwiki-labs/cryptpad into msg
yflory 5b5a7ab286 Hide the friend button when the resquest is accepted
ansuz bce0b03ba4 Merge branch 'msg' of github.com:xwiki-labs/cryptpad into msg
ansuz d293ba4d44 add support for invite hashes
yflory 37d5b0afb9 Merge branch 'msg' of github.com:xwiki-labs/cryptpad into msg
yflory 95e2efab89 Add to friend list
ansuz e353627204 log users out if they do not have curve keys. add curve keys to object on registration and login.
yflory bf17ad3f1e Friend button in the userlist
yflory 8dc8aa27ab Lint
yflory 35e8c1a63b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 43ac71603c Move pad attributes in pad data
ansuz 9f6ecea5d9 fix nacl reference error in media tag
ansuz 3fe0baa956 disable pin limit caching
ansuz 9c1eaf9c1a lint compliance
ansuz 43b877ad27 fix styling on media tag download button
ansuz 1fd0ba488a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 04a28433ae replace inner content of media tag download buttons
yflory 8cf694bea6 Lint
yflory 47c6c64b8a Allow emojis in default avatars
ansuz 92d88d1644 don't change allowed media types until we have media-tag scoping
yflory 81c8949aee Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 8b0210baf1 hide useless error
yflory 991cb896bd Fix avatar in /pad
ansuz 6ac056e314 make explicit file size RPCs unauthenticated
yflory 472a62730b Fix profile creation and add a link to the profile app
yflory b153dda6ff Add avatars in the user list
yflory 568ce70afd Add a spinner for the history and update history buttons
yflory 7e69d051c4 Lint errors
yflory 26193aeaa7 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory b9320e6005 Toolbar improvements
ansuz 75c2a1fd73 jshint compliance
ansuz b8934c0b97 smarter redraws of drive/settings usage bar
yflory ed0121d172 Lint errors
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 9b8866ed72 handle RPC_NOT_READY error for logged out users
yflory 877c5a8d0e Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 19ff8a345d Avatar upload in the profile app
ansuz 7a7307d560 fix logging when resetting
yflory 6c94605b9b File upload in the profile
yflory 00a554ca0d Fix the donate button style with the new toolbar
ansuz 67a096a8a4 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz fce0a37f50 cache pin data once retrieved from the server
yflory 33ea8cb183 Make sure we don't call both the yes and no handlers in prompts
yflory 0d4d104e08 Mobile support for the new toolbar
ansuz b4b851959f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 61a891267f more feedback
yflory 684269fdda Userlist in polls
yflory a11befaa0f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 13288ee18b Update the userlist in code, slide and pad
ansuz 852c028822 don't allow editing if pad type is wrong
yflory 92b6e60573 Small improvements for the new toolbar
yflory 8d956c3de6 New toolbar
yflory 728272d936 Fix undefined function
ansuz c0e2c1060e don't reload when slide hash changes
ansuz 17146d7af9 send feedback for uploads
yflory 66b076111e Add an upload button to the slide's file picker
yflory a237eec41e Add a file picker in the slide app
ansuz d25a0893cf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 3184e5d235 don't reload page on hash mode change
yflory 1077b3b267 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 295f9c00a6 send feedback on buttons
yflory 497ddeee6d Upload files with drag&drop in the drive
yflory f9c26645cf Upload images using the slide app
yflory 803bad1421 Move the file upload code in a separate file
yflory 7dd9ed543a Merge branch 'newDrive' into staging
yflory 30bdb9881c Fix undefined element in select dropdown menus
yflory a5cb5f2ceb Merge branch 'staging' into newDrive
yflory b36484931d Lint
ansuz 23318357a6 make fewer RPC calls for usageBar
ansuz df586a223c update limits, usage, plan, and note whenever they are checked
yflory 78e6118153 Merge branch 'staging' into newDrive
ansuz c4e5741ae0 update upgrade button logic
ansuz f1a9002417 use upgradeURL with usage bar
yflory b0fe04381d Merge branch 'staging' into newDrive
yflory 1c2ea04f11 Drive refactoring
yflory ac91d2f413 Fix the upgrade and donate buttons in the home page
yflory ee57458158 Remove the pin limit alert
ansuz 7b94106bac fix inverted conditional :/
ansuz 2e03485db4 remove known bad entries from localStorage.userHash...
ansuz 936bf8df9d return falsey if userHash is junk
ansuz 105e5cdac9 fix 'undefined/' userHash
ansuz ebfa228bc0 add upgrade button to all static pages
ansuz 9ca5bc507e add support for donate button
Caleb James DeLisle 66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place
ansuz fd83ae3e61 implement createRandomInteger
ansuz dc80b6b11f throttle markdown preview
ansuz e6c04ccb49 bump server after paying for an account
ansuz 6324d9bbb0 feedback on template feature usage
yflory c3437382fb Fix the release version in the what's new popup
yflory d55b7e411c Display an alert in the drive when the limit is reached
ansuz ba5ef5157e show pretty representations of storage usage
yflory d014fccfce Fix lint error
yflory 2082b328b4 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 814c81fb13 Display an alert when CryptPad has a new version
ansuz 164342920e fix inverted condition
ansuz 7befaccd88 move more rpc calls into pinpad
yflory fe0f21594a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 953e7155f0 Send only the hostname to the accounts server
ansuz afef456b18 fix undefined reference
yflory 87fa28180a Display an upgrade button in the settings page
yflory c1b43db363 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 1542aa96bc Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory dc2cdb7c08 Add the usage bar in the settings page
ansuz 2dd04f7631 get limits from the server
yflory 771348720b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 57979f6314 Display the public key using a href in the settings page
ansuz 06f3d0eefe shim isArray if not exists. correctly report how often this occurs
yflory 601226115b New anonymous drive
yflory ed95bbb08f Fix lint errors
yflory 89a993be3c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 0f13198119 Move the parseHash code into parsePadUrl
yflory 57ee7de7d4 Update and return the storage limit
yflory 5c8586f8a3 Fix typo in file upload
ansuz a338b23f40 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
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