Commit Graph

325 Commits (5f99dad48290f3f55d86d3d11ca051e8a0a3165f)

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