Commit Graph

694 Commits (d2ba8f1c27d244e0595017aa6cbac506e8ea6400)

Author SHA1 Message Date
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
yflory 07705cd5c1 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory eb2a3c1bbf Fix lint errors
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 86c37bfa37 fix find+replace error
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
ansuz 4e590a9dd1 remove even more dead code
ansuz 85fcaa9bbc remove more dead code
ansuz 401936a91e move singly-used css file out of /common/
ansuz 7a59183bb1 pinpad.create should always be async
ansuz 8de3610532 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 9aa0548b1f remove dead cursor code
yflory 4e61b79f9a Clean fileObject
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
ansuz f82278a25c handle return of undefined hash
ansuz 1d933be5a6 make reset return the hash, not an array with containing it
yflory f34492be94 Remove duplicates uid in the user list
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 a70388284d disable unnecessary messages
ansuz abd87e1322 jshint compliance
ansuz e4b15bc616 implement 'getCanonicalChannelList'
ansuz a2f692b9a3 clean up serverside and clientside pinning logic
ansuz fdede0d1fd remove some dead code
ansuz e87992c7ec implement atomic pin reset rpc
ansuz 3380cf0348 implement getTotalSize rpc
ansuz 5c292fb1fa jshint compliance
ansuz 64089c5f6b implement pad pinning
yflory 13514dff63 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 46a5eee597 Display the spinner in the toolbar for local changes
ansuz 6c7cdc90a9 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 212baeb3a6 better cookie schema. expire old sessions
yflory 54d271c4e7 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory a9777ce560 Fix input losing focus in polls with Chrome 57
ansuz 3e47b8a38d remove dead code
ansuz 182dbfc874 implement pinning logic in pinpad.js
ansuz a5e5ddae08 rpc all the things
ansuz 04069cc7f4 fix font size
ansuz 6e9968f989 add 'lol' code theme
ansuz 9b4b642d4a protect against subtly corrupted user objects
ansuz d4ce3dc6b9 don't rewrite css rules. FOUC is too long
ansuz 3cfd0a4326 commit some garbage
ansuz ed89a13fe6 progress on adding version string to some css
ansuz 76990ac1b2 version toolbar.css for cache-busting
ansuz a0c17d7c9b latest rpc code
ansuz 59a80d5fde remove silly TODO
yflory a8ffac5dcd Remove old code
ansuz fa9249ef29 don't notify for userlist changes if a user joins twice
ansuz 40f5e1706f add a unique id to user objects, define a getter
yflory 994d640f8b Fix an issue causing the lag icon to lose its color
yflory 6fbd1f0028 Store the dates as number and not strings to avoid ot issues
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
ansuz b542245086 fix lint error
ansuz cc43bb8362 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 98027dad27 jshint compliance
ansuz 4a173e30dc set user's cursor to either the beginning or end of the document
yflory 29174b2922 Update the lag icon
yflory 26edb77cf0 Fix style and usability issues in slides
ansuz d422c7e165 support old hashes in getUserChannelList
ansuz 5ed6223313 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz c9c9dd0999 use userChannelList if a list is not supplied to pinpad
ansuz e8c3cf6aa5 implement rpc message signing
ansuz d85a42c776 include User_hash in user channel list
yflory 7761aaa89f Add search UI
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
ansuz 0a6373852e add signing keys to user object at login and register time
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 8129b8cdc1 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 15a67afc75 jshint compliance
yflory 13d7b3cadc Merge branch 'd' into staging
ansuz 7187d3c550 implement getUserChannelList
ansuz 306f6ce806 resolve merge-conflict with accounting branch
yflory f10149db1c Make sure the tip is always visible when the loading screen is removed
ansuz 71db08eac2 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz 09afba80db add support for logging in from register page
yflory 16e5788011 Call the callback if we can't parse the local Drive to import it
ansuz 413d9a6f0b add a style-callback to confirm
ansuz 803e57c958 add more parameters to confirm dialogs
yflory ceaf757680 Allow right click on the CryptPad logo/link in the top left corner
ansuz f2aa531f27 apply styles to confirm buttons if provided
ansuz df6298eeb6 apply styles to confirm buttons if provided
ansuz 07a2d8e189 apply translations on feedback page
yflory b7986ff6b1 Replace the spinner code with a font awesome spinner
ansuz d9996cc874 current work for pinning
ansuz b3cc8da315 implement basic clientside RPC infrastructure
and provide a basic example for testing it
ansuz 81027b4200 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into accounting
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 0c1efd361b Make sure the href is updated everywhere when importing a stronger link
yflory b701e3cc85 Fix lint errors
yflory 4206382865 Fix the settings app to allow backup for unregistered users
yflory f62267f8a1 Ability to import local pads in the user object
ansuz e2418a6be2 sketch of how pinning rpc will look
ansuz dc567fa7f3 signing keys are stored in hex so encode and decode them
yflory 9ad33574e9 Fix the function returning the pads list in the drive
yflory d93a270336 Ability to display tips in the loading screen
yflory 77d09f64e1 Display anonymous users in the user list
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
yflory ed9bcca96f Close the websocket network when CryptGet/CryptPut is done
ansuz 0bb10a8a0a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
ansuz e1303a16da add support for title attributes on dropdowns
yflory 52793385ea Fix lint errors
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 5797aab3f2 Fix XSS with display names in the user list
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
yflory 498f4065cf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 66dc166936 Make sure the realtime is synced with onSettle when using cryptget
ansuz de5a21fe57 add a simple feedback api and text explaining what it is
yflory 88b29e8bdd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory 5303e76ece Make sure the content is correctly applied in onReady
ansuz cc829d51f8 jshint compliance
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