Commit graph

208 commits

Author SHA1 Message Date
ansuz
dea8e225db fix double scrollbar issue 2016-07-12 15:45:49 +02:00
ansuz
6f598682f8 templates for custom themes 2016-07-12 12:36:13 +02:00
ansuz
02cd2fbee0 style fixes for the ansuz theme 2016-07-12 12:35:17 +02:00
ansuz
3eccec7054 better effort for translation 2016-07-11 17:36:53 +02:00
ansuz
2a7a84b774 use constants exported from toolbar for selections
make things a little less brittle
address linter warnings
2016-07-08 16:50:56 +02:00
ansuz
750731d3db workaround for favicon magic 2016-07-07 14:03:06 +02:00
ansuz
fd3cd73d0b try to fix favicon bug 2016-07-07 13:40:03 +02:00
ansuz
e32c0aaac8 use alertify UI in /code/ 2016-07-07 12:47:23 +02:00
ansuz
1ae212af44 let users know when changes have occurred while tabs lack focus 2016-07-06 22:19:01 +02:00
ansuz
6075849ed7 add favicons to /pad/ and /code/ 2016-07-06 22:17:18 +02:00
ansuz
d844551fba add a forget button. clean up toolbar a bit 2016-06-30 17:24:25 +02:00
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
2016-06-30 15:10:32 +02:00
ansuz
ec0dba3f7c correct undefined reference 2016-06-30 14:47:37 +02:00
ansuz
a3da10766a add rename button to /code/ and /pad/ 2016-06-30 10:51:19 +02:00
ansuz
93fed83a08 remove annoying border around editor 2016-06-29 15:13:45 +02:00
ansuz
23788bca67 add 'ansuz' theme because I'm horribly vain 2016-06-29 15:13:24 +02:00
ansuz
22929fd3f5 add title attributes for dropdown menus 2016-06-29 12:02:39 +02:00
ansuz
8b1a2b7b8b commit theme choices to localStorage 2016-06-29 12:00:12 +02:00
ansuz
fb2ca04c34 add a theme selector 2016-06-29 11:51:53 +02:00
ansuz
dc8e36bf20 move themes directly into ./code/ 2016-06-29 11:45:57 +02:00
ansuz
5b79775810 infer modes from MIME types 2016-06-23 16:37:51 +02:00
ansuz
df99395b4d fix a few more paths that I missed 2016-06-23 12:44:30 +02:00
ansuz
b3deb9531d fix paths that I broke when updating codemirror 2016-06-23 12:44:11 +02:00
ansuz
82a9b05d5f upgrade to newest codemirror 2016-06-23 12:30:40 +02:00
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
2016-06-23 12:07:51 +02:00
ansuz
a89511985f add _really_ basic multilanguage support. I'll come back for css later 2016-06-22 22:54:42 +02:00
ansuz
31aa09d6f6 work a bit more on import/export and code highlighting 2016-06-22 20:58:50 +02:00
ansuz
1526c26f8e remember code and wysiwyg pads 2016-06-21 18:49:37 +02:00
ansuz
849683d586 update to use new style crypto module 2016-06-21 15:17:09 +02:00
ansuz
c3d2568d3c add file export for codepad
addresses #24
2016-06-17 10:59:45 +02:00
ansuz
beba78d7f8 update prototype dependencies 2016-06-06 12:14:07 +02:00
ansuz
297d8c2d44 reformat code for jshint compliance 2016-05-20 13:39:40 +02:00
ansuz
ad3c53c344 use textpatcher from bower for all pads 2016-05-13 17:32:56 +02:00
ansuz
aef6f3a85b lock codemirror editor until chain has synced 2016-04-27 16:21:10 +02:00
ansuz
6736335db2 add 'made with <3' toolbar to code 2016-04-27 15:43:31 +02:00
ansuz
d79b3616c9 remove unused files 2016-04-27 15:32:15 +02:00
ansuz
4c84758265 disable textpatcher logging 2016-04-27 15:30:53 +02:00
Yann Flory
492054a938 Fix the cursor position when a remote patch is applied 2016-04-27 12:17:06 +02:00
Yann Flory
cc51e6d6ed Update CodeMirror pad to work with Netflux 2016-04-27 10:44:04 +02:00
Yann Flory
f5f8f6e1eb Remove the delay between a change and its propagation to chainpad 2016-04-26 17:50:54 +02:00
ansuz
fa6914037c start rewriting codepad to use realtime-input 2016-04-26 17:34:57 +02:00
ansuz
1a9e7299fc working state 2016-04-23 00:15:39 +02:00
Yann Flory
360fee9feb Fix a new cursor error with Codepad 2016-04-11 17:58:30 +02:00
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)
2016-04-11 15:47:40 +02:00
Yann Flory
c53baab99d Update Codepad with the latest improvements 2016-04-11 14:43:39 +02:00
ansuz
3cb94b8d80 jshint compliance 2016-02-15 16:07:46 +01:00
ansuz
fe3917c0f1 fix jshint complaints in codemirror directory 2016-02-12 16:20:55 +01:00
ansuz
0fbbb51f7f drop this useless line 2016-02-12 11:19:36 +01:00
ansuz
d1dd497457 html-patcher.js : add missing semicolon 2016-02-12 11:17:10 +01:00
ansuz
62ea172ff4 errorbox.js : add missing semicolon so jshint doesn't complain 2016-02-12 11:15:59 +01:00
ansuz
2d8ffdf31c Merge branch 'master' of github.com:ansuz/cryptpad 2016-01-29 11:54:26 +01:00
ansuz
4cf2a8a0bd rtwiki.js : catch some typeErrors 2016-01-26 11:32:12 +01:00
Lars-Magnus Skog
84c0ea6d26 refactor: pass in ifrw.CodeMirror into andThen() 2016-01-17 00:43:10 +01:00
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.
2016-01-16 07:37:00 -05:00
mouhb
af80bed07b XWR-190: Make CryptPad version with rtwiki/CodeMirror 2016-01-08 11:52:33 +01:00
mouhb
9626dfc365 XWR-190: Make CryptPad version with rtwiki/CodeMirror 2016-01-07 18:13:45 +01:00
Yann Flory
9a932a3f56 Patch Realtime into CodeMirror in CryptPad 2015-11-25 10:09:23 +01:00
Yann Flory
32f44161a7 Patch Realtime into CodeMirror in CryptPad 2015-11-25 09:48:30 +01:00