Commit Graph

167 Commits (d83d8dbedad6e9385d2b6124613e3016bfda38d6)

Author SHA1 Message Date
ansuz a995df25f6 disable new OT in pad and code app
yflory d54262c8df Use the same disconnecter error translation key for all the apps
yflory 914c442615 Do not redirect to home page when logging out from another tab
yflory 7e7d1f7a16 Display the error when opening a document with the wrong app
yflory 7d6e15e465 Throw an error when trying to open a document with the wrong app
yflory fbbf8a2829 Replace initialState by a placeholder in slide and code
yflory ce1e792419 Merge branch 'soon' into newtoolbar
yflory 1e1bfd275c Don't show the tab notification when someone has joined the pad
yflory efdae19f0c Update the lists in the code and slide toolbars to use the new dropdown
yflory 88d5b4cc9c Add a 'New pad' button in the toolbar
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 605072cfbf Fix empty title with new documents
yflory 4963c77b61 Fix the title reset bug
yflory 1e70af0c16 Use the same network for the apps and the file store
ansuz f020fd5a75 remove /customize/pad.js from main apps
yflory 87abfff66b Fix Flash Of Unstyled Content (fouc)
ansuz f36d15d0db Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into test-filemanager
yflory 319ce5d8c8 Fix the code app
yflory ee56f5608f Fix the infinite spinner bug with the file manager store
yflory 05fd6c1563 Fix the infinite spinner problem
ansuz a23b3d3517 use new ot in code too
ansuz 4c5cb79c20 Merge pull request from xwiki-labs/replaceState
use replaceState if available
ansuz c2770a7a74 set correct hash even if browser does not implement replaceState
ansuz e77ad4e909 better fixes for export
ansuz 75dd4a5926 slightly better test for variable
ansuz b7d9998b9b fix reference to undefined variable
ansuz 303c65f2c3 use replaceState if available, instead of setting the hash
ansuz 5f6ebb5cc1 fix incorrect regex for c-like title detection
yflory ab1d3958ce Add a pencil icon when hovering the title
yflory 6d1e06cca3 Add notifications when a user joins or leaves the channel
yflory 54a63267cd Add a share button and merge the viewers and editors buttons
yflory 87d86384ac Fix broken elements in the new toolbar
yflory 6351d1856f Remove the top bar and move its content in the applications' toolbars
ansuz c858b247c1 filter absent users from the userlist
Yann Flory 1e003b13a8 ask anonymous, first-time users to set their name when they first join a pad
yflory 39bbf8a6c1 Fix the new userlist button and make the toolbar responsive
yflory 24fbe22c9d Improve the toolbar style and the way the userlist is displayed
ansuz a28daf2715 use websocket url configuration api
ansuz dbc8f01b8b fix merge errors and reach full jshint compliance
yflory a30e17121d Merge branch 'readonlyButton' into soon
yflory e84a54556c Move the toolbar buttons' events handlers in cryptpad-common
yflory 76fdadee7f Store only the strongest hash in the localstorage
yflory 17b4f91810 Do not share the title in the doc if it is the default title
yflory 391728ee6d Use CodeMirror in /slide
Fix title errors in the slide app caused by the present mode
yflory 261d2fecbc Get codemirror from bower and use that version in the code app
yflory bc73fa2074 Merge branch 'fontawesome' into soon
yflory f03018f3bc Improve the top bar and use the font awesome icons in /code
ansuz a266f0bee1 query parameter for messages
yflory c16e8d603b Enable reconnecting websocket in code pad
yflory 79884e2400 Use the same username for all pads
yflory 73d5ea967b Fix an error created by the merge
yflory dde519795d Merge branch 'newhash' into newhashNoConflict
yflory 99004428d5 Enable the read-only mode in Cryptpoll
yflory 47e8be1681 Remove the IMPORT button and editor toolbars in read-only mode
ansuz f29e3d7b0d don't let notifications interfere with document titles
yflory 83705ae058 Improve the UI in read-only mode
ansuz 2d42cadb23 push /code/ state once ready to avoid OT collision
Yann Flory bf8c9a2c4b Add a button to get the read only URL
Yann Flory 99b50465c7 Add the read-only mode for /pad and /code
Yann Flory 6363d3fb90 Pad titles are now shared with the userdoc
yflory 25c8d16bf5 Use a new version-prefixed hash parser
ansuz da6e5d73d0 fix undefined reference
ansuz 043041523f on import, fall back to setting language from file extension
ansuz deb63d2447 share syntax highlighting selection with peers
ansuz 975bff5794 show a spinner until the document has loaded
ansuz a58f58535b better regex for pulling titles out of c-like comments
ansuz 600f3151e9 don't use the store until it's ready to be used
ansuz 1f24d7126c big ugly commit that will be really hard to audit
This changeset applies new styles to the poll.

it also uses the new asynchronous wrappers around the localStorage api.
this is necessary because we're migrating to a storage system that will
use an async api.

The changes to the poll just happened to coincide with the async stuff.

My apologies to anyone who wants to read this whole thing
ansuz efd190beca export file with correct file extension, if possible
ansuz 992bc4f449 add missing script
ansuz b8a3a4d188 persist usernames across sessions via localStorage
ansuz 846d1135b9 set mode in the editor, not just the dropdown
ansuz 446266a79b remember the last language used on a particular pad
ansuz 70f8837681 maintain scroll position on remote changes
ansuz c267dd6a88 ensure that 'text' is a string
ansuz 1a63faf188 infer names from the first comment on code pad
ansuz 44fe95c76b add titles to buttons on pad and code
ansuz d39ab5c250 point to the actual translation file
ansuz 3eccec7054 better effort for translation
ansuz 2a7a84b774 use constants exported from toolbar for selections
make things a little less brittle
address linter warnings
ansuz e32c0aaac8 use alertify UI in /code/
ansuz 1ae212af44 let users know when changes have occurred while tabs lack focus
ansuz d844551fba add a forget button. clean up toolbar a bit
ansuz 7da58a0de9 improve pad naming UX, slight refactoring
* prevent naming conflicts
* migrate localestorage to use named attributes
* use ctime and atime
* display default names in table
* sort pads by most recent atime
* move more functions into cryptpad common
* change table styles
ansuz ec0dba3f7c correct undefined reference
ansuz a3da10766a add rename button to /code/ and /pad/
ansuz 22929fd3f5 add title attributes for dropdown menus
ansuz 8b1a2b7b8b commit theme choices to localStorage
ansuz fb2ca04c34 add a theme selector
ansuz 5b79775810 infer modes from MIME types
ansuz df99395b4d fix a few more paths that I missed
ansuz 1a5905d9fd more work on highlighting modes in codemirror
* style the select menu
* add more modes
* preset language selection to 'javascript'
* don't prompt the user with a silly hash when changing their name
ansuz a89511985f add _really_ basic multilanguage support. I'll come back for css later
ansuz 31aa09d6f6 work a bit more on import/export and code highlighting
ansuz 1526c26f8e remember code and wysiwyg pads
ansuz 849683d586 update to use new style crypto module
ansuz c3d2568d3c add file export for codepad
addresses 
ansuz beba78d7f8 update prototype dependencies