ansuz
9a5294016d
fix incorrect usage of store api
9 years ago
ansuz
4e5f381325
add spinner to API. update bower deps
9 years ago
ansuz
01d9923e15
export Cryptpad at window level
9 years ago
ansuz
fa654a7646
slightly better regex
9 years ago
ansuz
254d800a3b
add a /p/ route so that we don't break old urls
9 years ago
ansuz
cd18075ac7
add some redirection logic to support old hash types
9 years ago
ansuz
600f3151e9
don't use the store until it's ready to be used
9 years ago
ansuz
fffa9acf15
remove unused files from fs and jshintignore
9 years ago
ansuz
551d38c930
let the abstraction take care of stringification
9 years ago
ansuz
9b16d529ca
add one more missing script that caused handlebar highlighting to break
9 years ago
ansuz
0ada6a3d0a
jshint compliance. gotta keep those tests green
9 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
9 years ago
ansuz
7f02c899ea
add snippet for copying text to the clipboard
9 years ago
ansuz
93142b364f
tests for pretty printed html
9 years ago
ansuz
4833cf0d7b
add a fontpicker
9 years ago
ansuz
6cb2f72aa6
pretty print html during export if possible
9 years ago
ansuz
c09166efe2
scroll down when adding a new option to the table
9 years ago
ansuz
42eafe9e29
don't create duplicate stylesheets in the document head
9 years ago
ansuz
fe3f02f5e0
enable text foreground and background colors
9 years ago
ansuz
68f8d0101d
fix flash of unstyled content
9 years ago
ansuz
8ea6c03094
notify user on disconnect
...
also disable inputs
9 years ago
ansuz
efd190beca
export file with correct file extension, if possible
9 years ago
ansuz
5e71a5473c
add another missing script
9 years ago
ansuz
992bc4f449
add missing script
9 years ago
ansuz
2351d8a23e
make tests green again
9 years ago
ansuz
068a3f5944
remove rows from the poll
9 years ago
ansuz
c6bdb7506d
forget everything about a pad when you forget it
9 years ago
ansuz
b8a3a4d188
persist usernames across sessions via localStorage
9 years ago
ansuz
846d1135b9
set mode in the editor, not just the dropdown
9 years ago
ansuz
446266a79b
remember the last language used on a particular pad
9 years ago
ansuz
e84fbf0bc3
more helpers in common
9 years ago
ansuz
70f8837681
maintain scroll position on remote changes
9 years ago
ansuz
c267dd6a88
ensure that 'text' is a string
9 years ago
ansuz
2f2ab4392c
clear the table on user clicks
9 years ago
ansuz
64f030c344
add a clear table button
9 years ago
ansuz
d2c5cfe646
add col/row ids to arrays
9 years ago
ansuz
1a63faf188
infer names from the first comment on code pad
9 years ago
ansuz
f77e2cec34
set text values of new options
9 years ago
ansuz
52ab5147c9
add a missing semicolon so tests don't fail
9 years ago
ansuz
e3f4df7e0a
push my latest changes because I'm agile
9 years ago
ansuz
cde239c97a
implement row/column removal
9 years ago
ansuz
9860b7427a
addition signs are slightly informative
9 years ago
ansuz
ac50bf7286
height and width of the table are unreliable because of multiple users. remove them
9 years ago
ansuz
a3254a2619
consistent ordering of columns and rows
9 years ago
ansuz
d30eddf2f2
ui hint for 'adduser' and 'addoption'
9 years ago
ansuz
a995f2306d
fix undefined variable reference
9 years ago
ansuz
44fe95c76b
add titles to buttons on pad and code
9 years ago
ansuz
ebf5c27453
add rename and forget buttons to poll app
9 years ago
ansuz
f7a1332317
add a 'back' button
9 years ago
ansuz
7dd1624206
commit polls to localStorage
9 years ago