ansuz
fa06f9d413
fix minor bugs in poll
8 years ago
ansuz
4a5f5de78c
restore missing stylesheet for poll
8 years ago
ansuz
7a5c5ce0a3
load scripts asynchronously
8 years ago
ansuz
7de2683169
make all apps use clientside templates
8 years ago
ansuz
bdca6b10c2
use templates in poll.js
8 years ago
ansuz
e9bfaa9a60
compile less clientside. remove compiled css
8 years ago
yflory
684269fdda
Userlist in polls
8 years ago
ansuz
852c028822
don't allow editing if pad type is wrong
8 years ago
Pierre Bondoerffer
626e54d7b5
Fix poll auto-focus inputs
8 years ago
Pierre Bondoerffer
d344f03778
proper button text
8 years ago
Pierre Bondoerffer
2b5339193c
bring admin back
8 years ago
Pierre Bondoerffer
b2eef94232
use numbers, not strings
8 years ago
Pierre Bondoerffer
848010842f
dont sanity check silently
8 years ago
Pierre Bondoerffer
56f2c46c75
document a line
8 years ago
Pierre Bondoerffer
cd1c957929
NaN safety
8 years ago
Pierre Bondoerffer
0118fdbd00
use a local variable
8 years ago
Pierre Bondoerffer
b8e394db67
poll: Implement multiple choices
8 years ago
Pierre Bondoerffer
685b352db8
poll: Add show help button
8 years ago
Pierre Bondoerffer
5d565660a9
tiny fixes
8 years ago
Pierre Bondoerffer
6bc191725f
poll: support disconnect and fix trash button
8 years ago
Pierre Bondoerffer
6dd80c26b1
Make editing more visible
8 years ago
ansuz
76c530037b
enable donate button in all apps
8 years ago
Pierre Bondoerffer
f434f002c4
poll: make locks clickable
8 years ago
Pierre Bondoerffer
1092285a68
merge master
8 years ago
yflory
ff16084719
Fix lint errors
8 years ago
yflory
c79a6e3b2b
Move Metadata, CodeMirror and title functions in separate files
8 years ago
yflory
5a883d5a57
Use the new toolbar and move the userlist code in a separate file
8 years ago
ansuz
78b11584f8
remove unused variables
8 years ago
yflory
a165332c15
Don't store a pad in the drive if the limit has been reached
8 years ago
Caleb James DeLisle
c341fa8e94
Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter
8 years ago
Pierre Bondoerffer
7a05462eb3
Some more poll changes <3
8 years ago
Pierre Bondoerffer
05785e96ea
small color change
8 years ago
Pierre Bondoerffer
20c252e5c6
fix placeholder styling in safari
8 years ago
ansuz
8f4dbcf4c6
remove getPadTitle
8 years ago
ansuz
bf047fcf65
Merge pull request #110 from pbondoer/newpoll
...
Fix flash of autocomplete in poll
8 years ago
Pierre Bondoerffer
96ff487271
fix flash of content
8 years ago
ansuz
5a7eea08c8
Merge pull request #108 from pbondoer/newpoll
...
Poll fixes
8 years ago
Pierre Bondoerffer
248f88034b
important fixes
8 years ago
Pierre Bondoerffer
6b57bb2bbb
poll: press enter to validate input
8 years ago
Pierre Bondoerffer
d483e10e77
poll fixes
8 years ago
Pierre Bondoerffer
ea5301be13
poll improved(tm)
8 years ago
Pierre Bondoerffer
7434dbcb0f
what i have
8 years ago
Pierre Bondoerffer
f11cf8e6ac
move poll styles to separate file
8 years ago
ansuz
df4a250359
use feedback api instead of app=
8 years ago
ansuz
9a46b58c85
deprecate this 90 days after f-release
8 years ago
yflory
bd16e0f0e7
Templates in polls and canvas, and ability to disable templates
8 years ago
yflory
a9777ce560
Fix input losing focus in polls with Chrome 57
8 years ago
yflory
71c59d7ae2
Remove unnecessary TODOs
8 years ago
ansuz
912215185f
add uid to userdata for better notifications
8 years ago
yflory
15e9af77bb
Remove the langauge selector from toolbar and add it in settings
8 years ago
yflory
a286599f93
Fix fast reconnect, and add support for reconnecting ws in polls
8 years ago
yflory
459b18c97b
Add the loading screen in the HTML so that it is displayed before JS is loaded
8 years ago
yflory
2a1b241592
Display a button to open the editing link while in read-only mode if we know it
8 years ago
ansuz
08c862b271
add FIXME notes to poll
8 years ago
yflory
a68acac13b
Only ask for a display name once in /poll
8 years ago
Pierre Bondoerffer
800db07077
Merge branch 'staging' of https://github.com/xwiki-labs/cryptpad into staging
8 years ago
Pierre Bondoerffer
d26d8f53d9
(CSS) Fixed textarea being too large
8 years ago
Caleb James DeLisle
91eda5fa83
Implement stronger content-security-policy except in /pad/ which does not allow it.
...
Implement a "loader" which allows for applying a version number to everything.
Added a cache control for anything which has a version.
8 years ago
ansuz
7db0e14bc0
add 'force' flag to override removal of html elements
8 years ago
yflory
11d54256da
Make sure the display name is displayed in the same way everywhere
8 years ago
ansuz
86adfbf27d
update cache-busting directive in all supported apps
8 years ago
yflory
e15a6a347f
Fix the forget pad button
8 years ago
yflory
bdc00a2413
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
8 years ago
yflory
0ce17ebbad
CryptDrive usability improvements (new file in drive + context menu)
8 years ago
ansuz
89f3577058
remove old poll
8 years ago
yflory
c72bbd4c37
Use the file name as initial title
8 years ago
yflory
47b8fefd9e
Load messages.js only once, in cryptpad-common
8 years ago
yflory
c17f28e5fe
Fix race condition #2
8 years ago
ansuz
8167ed9048
implement cache-busting everywhere
8 years ago
yflory
e4dbe97d71
Update display name in realtime across tabs and remember 'anonymous' name
8 years ago
yflory
914c442615
Do not redirect to home page when logging out from another tab
8 years ago
yflory
75f1eed712
Merge branch 'newtoolbar' into hpbs
8 years ago
yflory
373b07ed28
Fix lint errors
8 years ago
yflory
097f78d777
Merge branch 'newtoolbar' of github.com:xwiki-labs/cryptpad into newtoolbar
8 years ago
yflory
8ccd845d52
Merge branch 'newtoolbar' into hpbs
8 years ago
yflory
ce1e792419
Merge branch 'soon' into newtoolbar
8 years ago
yflory
c77abfa7f4
Remove a second scrollbar in polls
8 years ago
yflory
5e36d9ea29
Fix polls table not updated with local events
8 years ago
yflory
d1bed5ae4b
Fix polls table not updated with local events
8 years ago
yflory
26bea774cb
Merge branch 'newtoolbar' into hpbs
8 years ago
yflory
ea8667302c
Display only a placeholder when the poll title is default
8 years ago
yflory
7d66d391fc
Merge branch 'newtoolbar' into hpbs
8 years ago
yflory
5d5d03163e
Add favicon and notifications in polls
8 years ago
yflory
fa8a0d5880
Merge branch 'newtoolbar' into hpbs
8 years ago
yflory
69bee7d79a
Add data into the homepage
8 years ago
yflory
88d5b4cc9c
Add a 'New pad' button in the toolbar
8 years ago
yflory
a9063e0459
Reload all tabs when the user logs in or out
8 years ago
yflory
767ba8b549
Select what we want to display in the toolbar
8 years ago
yflory
2afdc11327
Replace the username button by a dropdown menu
8 years ago
yflory
4963c77b61
Fix the title reset bug
8 years ago
yflory
4278ac7637
Merge branch 'soon' into fileManager
8 years ago
ansuz
74a12f50ac
only migrate keys which don't already exist
8 years ago
yflory
5b08fed7fa
Ability to add files from the drive toolbar
...
Fix CSS issues with the different toolbars
Translate the backup URL button alert
8 years ago
ansuz
0373556475
support old hashes in /poll
8 years ago
yflory
1e70af0c16
Use the same network for the apps and the file store
8 years ago
ansuz
5080751a90
hide unnecessary scrollbar
8 years ago
ansuz
95617a11c8
fix broken paths in old poll
8 years ago
ansuz
05a956879a
prepare new poll app for release
...
move old poll into poll/old
8 years ago
ansuz
34967ac354
encapsulate rendering functions so we can pass in cryptpad-common
8 years ago
ansuz
f020fd5a75
remove /customize/pad.js from main apps
8 years ago
ansuz
aae443c8e9
replace old poll app with new
8 years ago
ansuz
e9376a66c2
apply 'cp' class for unified styles
8 years ago
yflory
87abfff66b
Fix Flash Of Unstyled Content (fouc)
8 years ago
yflory
e3f484d876
File manager in the home page, lint
8 years ago
yflory
5bc7766f44
Use a consistent toolbar across all apps
8 years ago
yflory
ee56f5608f
Fix the infinite spinner bug with the file manager store
8 years ago
yflory
5cd7d8ec84
Fix undefined userid in new poll
8 years ago
yflory
b7b4a034a3
Merge branch 'soon' into newpoll
8 years ago
yflory
ddc99cecb1
Fix lint errors
8 years ago
yflory
f26cdb1a21
Fix UI issues, unclickable user column, add confirm dialog
8 years ago
yflory
740b6e955e
Improve UI, fix issues with the table
8 years ago
ansuz
ebff304602
turn off some unwanted behaviour
8 years ago
yflory
6dff82ede2
Improve UI, scrollbar in the table, publish/admin buttons
8 years ago
yflory
90804ed9e0
Add usernames/userlist in the toolbar and fix publish button
8 years ago
yflory
3632834500
Lock inputs when the user is not editing them
8 years ago
yflory
eaeaf4df40
Improve UI, add title input and forget button
8 years ago
yflory
bca746bbb5
Fix uncommitted column, add toolbar
8 years ago
yflory
ffedcb63f7
Display own column at the beginning, add uncommitted column
8 years ago
ansuz
4a4d4a0474
most recent work
8 years ago
ansuz
e5ff7020fb
move buttons out of form
8 years ago
ansuz
eb50177201
do a bit of work to preserve cursors
8 years ago
ansuz
ac43f4cb1f
new prototype poll
8 years ago
ansuz
c2770a7a74
set correct hash even if browser does not implement replaceState
8 years ago
ansuz
303c65f2c3
use replaceState if available, instead of setting the hash
8 years ago
ansuz
67bf41627d
comment out dead code so CI doesn't complain
8 years ago
ansuz
002e22ee9a
turn off unwanted behaviour until we can do it correctly
8 years ago
ansuz
5fc44a6e4b
Merge branch 'soon' into fixpolls
8 years ago
ansuz
636b0fcadc
do our best to keep the console quiet
8 years ago
ansuz
ac3ddbab70
expose userList for later usage
8 years ago
ansuz
a28daf2715
use websocket url configuration api
8 years ago
ansuz
dbc8f01b8b
fix merge errors and reach full jshint compliance
8 years ago
yflory
a30e17121d
Merge branch 'readonlyButton' into soon
8 years ago
yflory
e84a54556c
Move the toolbar buttons' events handlers in cryptpad-common
8 years ago
yflory
76fdadee7f
Store only the strongest hash in the localstorage
8 years ago
yflory
bc73fa2074
Merge branch 'fontawesome' into soon
8 years ago
yflory
f03018f3bc
Improve the top bar and use the font awesome icons in /code
8 years ago
ansuz
a266f0bee1
query parameter for messages
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
ansuz
f29e3d7b0d
don't let notifications interfere with document titles
8 years ago
ansuz
bf5dac58dd
Merge branch 'titleUserDoc' of github.com:xwiki-labs/cryptpad into titleUserDoc
8 years ago
Yann Flory
6363d3fb90
Pad titles are now shared with the userdoc
8 years ago
yflory
5c63585952
Complete the French translation
8 years ago
yflory
25c8d16bf5
Use a new version-prefixed hash parser
8 years ago
ansuz
c35c7cda20
hide wizard after computing results
8 years ago
ansuz
0dae949c4f
fix scrolljank bug
8 years ago
ansuz
848f16e8f5
unused function which computes values for the table
8 years ago
ansuz
d64e06c12e
don't make empty options
8 years ago
ansuz
a3f6fe8843
lock options by default
...
add edit button for modifying options
fix bug where committing didn't clear the active column
minor style fixes
8 years ago
ansuz
269eba3c47
remove commit button if a user is removed
8 years ago
ansuz
f8f66800d1
display a 'commit' button which locks your column
8 years ago
ansuz
85540bad12
leave all columns locked unless you've visited before
8 years ago
ansuz
d679cac666
fewer log statements for the console
8 years ago
ansuz
235c0482f9
increase clickable area around editable columns' checkboxes
8 years ago
ansuz
c76aaac542
don't make columns with empty names
8 years ago
ansuz
d85684ef74
usability improvements
...
only one column is editable at a time
editable columns have a different appearance from locked columns
any column can be edited by anyone via an edit button
columns and rows require confirmation before deletion
8 years ago
ansuz
76bfb6ab35
detect whether you are new to a page
...
prompt for your name and create a column for your username
prompt before deleting columns as well
style a few elements differently
8 years ago
ansuz
e2b162bf6d
snapshot some dead code
8 years ago
ansuz
fd0a7337a3
wait a full minute until requirejs times out
8 years ago
ansuz
01d9923e15
export Cryptpad at window level
8 years ago
ansuz
600f3151e9
don't use the store until it's ready to be used
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
c09166efe2
scroll down when adding a new option to the table
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
2351d8a23e
make tests green again
9 years ago
ansuz
068a3f5944
remove rows from the poll
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
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
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
ansuz
0cf5f3cc87
realtime polls!
9 years ago