ansuz
a266f0bee1
query parameter for messages
8 years ago
yflory
c16e8d603b
Enable reconnecting websocket in code pad
8 years ago
yflory
79884e2400
Use the same username for all pads
8 years ago
yflory
73d5ea967b
Fix an error created by the merge
8 years ago
yflory
dde519795d
Merge branch 'newhash' into newhashNoConflict
8 years ago
yflory
99004428d5
Enable the read-only mode in Cryptpoll
8 years ago
yflory
47e8be1681
Remove the IMPORT button and editor toolbars in read-only mode
8 years ago
ansuz
f29e3d7b0d
don't let notifications interfere with document titles
8 years ago
yflory
83705ae058
Improve the UI in read-only mode
8 years ago
ansuz
2d42cadb23
push /code/ state once ready to avoid OT collision
8 years ago
Yann Flory
bf8c9a2c4b
Add a button to get the read only URL
8 years ago
Yann Flory
99b50465c7
Add the read-only mode for /pad and /code
8 years ago
Yann Flory
6363d3fb90
Pad titles are now shared with the userdoc
8 years ago
yflory
25c8d16bf5
Use a new version-prefixed hash parser
8 years ago
ansuz
da6e5d73d0
fix undefined reference
8 years ago
ansuz
043041523f
on import, fall back to setting language from file extension
8 years ago
ansuz
deb63d2447
share syntax highlighting selection with peers
8 years ago
ansuz
975bff5794
show a spinner until the document has loaded
8 years ago
ansuz
a58f58535b
better regex for pulling titles out of c-like comments
8 years ago
ansuz
600f3151e9
don't use the store until it's ready to be used
8 years ago
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
8 years ago
ansuz
efd190beca
export file with correct file extension, if possible
8 years ago
ansuz
992bc4f449
add missing script
8 years ago
ansuz
b8a3a4d188
persist usernames across sessions via localStorage
8 years ago
ansuz
846d1135b9
set mode in the editor, not just the dropdown
8 years ago
ansuz
446266a79b
remember the last language used on a particular pad
8 years ago
ansuz
70f8837681
maintain scroll position on remote changes
8 years ago
ansuz
c267dd6a88
ensure that 'text' is a string
8 years ago
ansuz
1a63faf188
infer names from the first comment on code pad
8 years ago
ansuz
44fe95c76b
add titles to buttons on pad and code
8 years ago
ansuz
d39ab5c250
point to the actual translation file
8 years ago
ansuz
3eccec7054
better effort for translation
8 years ago
ansuz
2a7a84b774
use constants exported from toolbar for selections
...
make things a little less brittle
address linter warnings
9 years ago
ansuz
e32c0aaac8
use alertify UI in /code/
9 years ago
ansuz
1ae212af44
let users know when changes have occurred while tabs lack focus
9 years ago
ansuz
d844551fba
add a forget button. clean up toolbar a bit
9 years ago
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
9 years ago
ansuz
ec0dba3f7c
correct undefined reference
9 years ago
ansuz
a3da10766a
add rename button to /code/ and /pad/
9 years ago
ansuz
22929fd3f5
add title attributes for dropdown menus
9 years ago
ansuz
8b1a2b7b8b
commit theme choices to localStorage
9 years ago
ansuz
fb2ca04c34
add a theme selector
9 years ago
ansuz
5b79775810
infer modes from MIME types
9 years ago
ansuz
df99395b4d
fix a few more paths that I missed
9 years ago
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
9 years ago
ansuz
a89511985f
add _really_ basic multilanguage support. I'll come back for css later
9 years ago
ansuz
31aa09d6f6
work a bit more on import/export and code highlighting
9 years ago
ansuz
1526c26f8e
remember code and wysiwyg pads
9 years ago
ansuz
849683d586
update to use new style crypto module
9 years ago
ansuz
c3d2568d3c
add file export for codepad
...
addresses #24
9 years ago
ansuz
beba78d7f8
update prototype dependencies
9 years ago
ansuz
297d8c2d44
reformat code for jshint compliance
9 years ago
ansuz
ad3c53c344
use textpatcher from bower for all pads
9 years ago
ansuz
aef6f3a85b
lock codemirror editor until chain has synced
9 years ago
ansuz
6736335db2
add 'made with <3' toolbar to code
9 years ago
ansuz
4c84758265
disable textpatcher logging
9 years ago
Yann Flory
492054a938
Fix the cursor position when a remote patch is applied
9 years ago
Yann Flory
cc51e6d6ed
Update CodeMirror pad to work with Netflux
9 years ago
Yann Flory
f5f8f6e1eb
Remove the delay between a change and its propagation to chainpad
9 years ago
ansuz
fa6914037c
start rewriting codepad to use realtime-input
9 years ago
ansuz
1a9e7299fc
working state
9 years ago
Yann Flory
c53baab99d
Update Codepad with the latest improvements
9 years ago
ansuz
0fbbb51f7f
drop this useless line
9 years ago
Lars-Magnus Skog
84c0ea6d26
refactor: pass in ifrw.CodeMirror into andThen()
9 years ago
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.
9 years ago
mouhb
9626dfc365
XWR-190: Make CryptPad version with rtwiki/CodeMirror
9 years ago
Yann Flory
9a932a3f56
Patch Realtime into CodeMirror in CryptPad
9 years ago
Yann Flory
32f44161a7
Patch Realtime into CodeMirror in CryptPad
9 years ago