Commit Graph

427 Commits (8c299a59fba05b9a64b224b3e943649b88160f39)

Author SHA1 Message Date
ansuz 043041523f on import, fall back to setting language from file extension
ansuz deb63d2447 share syntax highlighting selection with peers
ansuz fd0a7337a3 wait a full minute until requirejs times out
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 9b16d529ca add one more missing script that caused handlebar highlighting to break
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 5e71a5473c add another missing script
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 dea8e225db fix double scrollbar issue
ansuz 6f598682f8 templates for custom themes
ansuz 02cd2fbee0 style fixes for the ansuz theme
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 750731d3db workaround for favicon magic
ansuz fd3cd73d0b try to fix favicon bug
ansuz e32c0aaac8 use alertify UI in /code/
ansuz 1ae212af44 let users know when changes have occurred while tabs lack focus
ansuz 6075849ed7 add favicons to /pad/ and /code/
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 93fed83a08 remove annoying border around editor
ansuz 23788bca67 add 'ansuz' theme because I'm horribly vain
ansuz 22929fd3f5 add title attributes for dropdown menus
ansuz 8b1a2b7b8b commit theme choices to localStorage
ansuz fb2ca04c34 add a theme selector
ansuz dc8e36bf20 move themes directly into ./code/
ansuz 5b79775810 infer modes from MIME types
ansuz df99395b4d fix a few more paths that I missed
ansuz b3deb9531d fix paths that I broke when updating codemirror
ansuz 82a9b05d5f upgrade to newest codemirror
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
ansuz 297d8c2d44 reformat code for jshint compliance
ansuz ad3c53c344 use textpatcher from bower for all pads
ansuz aef6f3a85b lock codemirror editor until chain has synced
ansuz 6736335db2 add 'made with <3' toolbar to code
ansuz d79b3616c9 remove unused files
ansuz 4c84758265 disable textpatcher logging
Yann Flory 492054a938 Fix the cursor position when a remote patch is applied
Yann Flory cc51e6d6ed Update CodeMirror pad to work with Netflux
Yann Flory f5f8f6e1eb Remove the delay between a change and its propagation to chainpad
ansuz fa6914037c start rewriting codepad to use realtime-input
ansuz 1a9e7299fc working state
Yann Flory 360fee9feb Fix a new cursor error with Codepad
Yann Flory c2e0dded3a Fix an issue with the cursor sometimes disappearing when a patch was received
Update CodeMirror to the latest version (5.13.2)
Yann Flory c53baab99d Update Codepad with the latest improvements
ansuz 3cb94b8d80 jshint compliance
ansuz fe3917c0f1 fix jshint complaints in codemirror directory
ansuz 0fbbb51f7f drop this useless line
ansuz d1dd497457 html-patcher.js : add missing semicolon
ansuz 62ea172ff4 errorbox.js : add missing semicolon so jshint doesn't complain
ansuz 2d8ffdf31c Merge branch 'master' of github.com:ansuz/cryptpad
ansuz 4cf2a8a0bd rtwiki.js : catch some typeErrors
Lars-Magnus Skog 84c0ea6d26 refactor: pass in ifrw.CodeMirror into andThen()
ansuz 663e987345 fix race condition in codemirror initialization
over slow connections, iframes don't load fast enough to be ready for code
which depends on certain features existing.

wait until they're ready, then initialize.
mouhb af80bed07b XWR-190: Make CryptPad version with rtwiki/CodeMirror
mouhb 9626dfc365 XWR-190: Make CryptPad version with rtwiki/CodeMirror
Yann Flory 9a932a3f56 Patch Realtime into CodeMirror in CryptPad
Yann Flory 32f44161a7 Patch Realtime into CodeMirror in CryptPad