Commit Graph

1031 Commits (25dd103f6f358c3d6b64369e3114d99d8cbae04a)

Author SHA1 Message Date
ansuz f36d15d0db Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into test-filemanager
yflory b7f2ef97c7 Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into fileManager
yflory fdb5c2ddb5 Fix UI issues with rename and delete actions
yflory 319ce5d8c8 Fix the code app
yflory ee56f5608f Fix the infinite spinner bug with the file manager store
yflory 43ccd11adc Merge branch 'infiniteSpinner' into fileManagerMerge
yflory 05fd6c1563 Fix the infinite spinner problem
yflory 5cd7d8ec84 Fix undefined userid in new poll
yflory cb43eb9ca1 Merge branch 'newpoll' into fileManagerMerge
yflory 9b3719e0ae Merge branch 'soon' into fileManagerMerge
yflory b7b4a034a3 Merge branch 'soon' into newpoll
yflory ddc99cecb1 Fix lint errors
yflory f26cdb1a21 Fix UI issues, unclickable user column, add confirm dialog
yflory 6feb8548b3 Prevent the proxy handlers from being called on the parents
yflory 740b6e955e Improve UI, fix issues with the table
ansuz 94fbc2dca4 prototype cryptographic login
ansuz a23b3d3517 use new ot in code too
ansuz de0863e232 use new ot
ansuz 4cd9bd5534 strip listeners
ansuz b79618c94a don't allow listeners in /slide/
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
yflory c88fa34558 Improve UI, fix issues with new file manager channels
yflory 5a5451d94c Sort elements in the trash, add properties in the context menu, fix issue with Edge
yflory 19e4a2d044 Create new files, sort displayed elements
yflory a957b72598 Create a new pad from the file manager
yflory 4fcdece4af Test create new pad from the file manager
yflory d6e1215166 Refresh the directory if needed when the object has changed
yflory 118829617f Use the FS store as default store
yflory aa14ea7ac4 Use the old store format
yflory da19608269 Translate the context menus, Shift+Del shortcut and realtime object
yflory 7a035fa4a0 Fix drag and drop with multiple elements selected
yflory d77970975c Add translations, ability to select multiple elements, clean the code
ansuz eb50177201 do a bit of work to preserve cursors
ansuz ac43f4cb1f new prototype poll
yflory f05efbb113 Clean the code
yflory 851d3df656 Ability to see, move and delete unsorted files
yflory 43d93938c3 Fix the list, find the unsorted files, ability to add a folder
yflory cfe3d38197 Add expend/collapse to the tree, fix CSS, add list/grid view modes
yflory c9cd06514c Add "restore" from trash, improve drag and drop and update css
ansuz 4c5cb79c20 Merge pull request from xwiki-labs/replaceState
use replaceState if available
ansuz c2770a7a74 set correct hash even if browser does not implement replaceState
ansuz d009b7400c fall back to default title if one is not suggested
ansuz e77ad4e909 better fixes for export
ansuz 75dd4a5926 slightly better test for variable
ansuz b7d9998b9b fix reference to undefined variable
ansuz 303c65f2c3 use replaceState if available, instead of setting the hash
yflory 8e1bff706b Add drag and drop, rename and delete actions
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
yflory ce9eb47351 Initial state of the file manager app
ansuz 2d5448458b export messages
ansuz b1370c05b7 add translation completeness test to assertion page
ansuz 5f6ebb5cc1 fix incorrect regex for c-like title detection
ansuz d512b113cd address failure to parse url when hash is not present
ansuz 6ae851ffdd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging-soon
ansuz 636b0fcadc do our best to keep the console quiet
yflory 3de4e5709b Clean the code
yflory ab1d3958ce Add a pencil icon when hovering the title
yflory 6d1e06cca3 Add notifications when a user joins or leaves the channel
yflory 54a63267cd Add a share button and merge the viewers and editors buttons
yflory 87d86384ac Fix broken elements in the new toolbar
yflory 6351d1856f Remove the top bar and move its content in the applications' toolbars
yflory 3d74290c7d Merge branch 'usability5' into staging
yflory 9e92a597b3 Ability to edit the title in the toolbar by clicking it
ansuz 0a9d34a6c9 hide appended color pickers
ansuz c858b247c1 filter absent users from the userlist
ansuz ac3ddbab70 expose userList for later usage
ansuz a8612ed1c7 Merge branch 'usability5' of github.com:xwiki-labs/cryptpad into staging
Yann Flory 10bb5e1607 Add the title in the toolbar
Yann Flory 1e003b13a8 ask anonymous, first-time users to set their name when they first join a pad
ansuz 5d9b81ab2f Merge pull request from xwiki-labs/update
minor fixes to html and userlist
ansuz 46c5f64369 remove absent users from the userlist
yflory 51a79c5218 Remove unused dependency
yflory 9a733bb360 Fix dropdown menus with Edge
yflory 39bbf8a6c1 Fix the new userlist button and make the toolbar responsive
yflory 24fbe22c9d Improve the toolbar style and the way the userlist is displayed
yflory d2389a5729 Change the userlist in the toolbar
yflory e739c49e7f Remove the 'about' button in ckeditor
yflory b23fe783e3 Fix the color picker in Chrome and hide the buttons when not supported
yflory 91b4446c0b Merge branch 'fix-chrome-style-bug' into soon
yflory 53fe002d3b Merge branch 'slide' into soon
yflory 6c04b7967d Remove unused library
yflory d63c912af0 Use the HTML5 color picker to change the colors in slides
ansuz bb2317d8e6 fix chrome style bug by forcing reload of style sheet
yflory 765498e88e Remove the support for old.cryptpad.fr
yflory d7e170c797 Test colorpicker
Yann Flory 81fce1237f Colorpicker to choose the background color in present mode
yflory 5300bc363c Fix a race condition in the slide application
yflory c322aa440e Fix the username icon hcih was not working anymore
yflory 8575f3f79f Fix the "rename" feature which was not working anymore in some cases
yflory a989b51d74 Fix race conditions with Alertify
yflory 74df38f94f Fix race conditions that could prevent applications from being loaded
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
ansuz 2ac1b02572 Merge branch 'config-sockets' into soon
ansuz 11f63c861c Merge branch 'titles' of github.com:xwiki-labs/cryptpad into title
ansuz 5e76194262 use new config api
ansuz 3dfa19b786 more flexible websocket configuration (WIP)
yflory 76fdadee7f Store only the strongest hash in the localstorage
yflory 1c808b3da8 Add comment for the 'important' css rule
yflory 17b4f91810 Do not share the title in the doc if it is the default title
yflory 391728ee6d Use CodeMirror in /slide
Fix title errors in the slide app caused by the present mode
yflory 8c33218ceb Move the codemirror themes in /common
Yann Flory 2609af2105 Use the CodeMirror editor in the slide application
yflory b5b0eacebc Remove the old (non-bower) codemirror
yflory 261d2fecbc Get codemirror from bower and use that version in the code app
yflory bc73fa2074 Merge branch 'fontawesome' into soon
yflory f03018f3bc Improve the top bar and use the font awesome icons in /code
ansuz 0be8c333e0 Merge branch 'fontawesome' of github.com:xwiki-labs/cryptpad into fontawesome
yflory 3d54413343 Improve the UI with FontAwesome icons
ansuz a266f0bee1 query parameter for messages
yflory c16e8d603b Enable reconnecting websocket in code pad
ansuz d6525087c7 jshint compliancy
ansuz ed9acf1c00 Merge branch 'rememberName' of github.com:xwiki-labs/cryptpad into rememberName
ansuz a4843cb5d7 Merge branch 'newhashNoConflict' of github.com:xwiki-labs/cryptpad into newhashNoConflict
ansuz a82b7aaf8b allow empty names
yflory 2267ec8c43 Slides in read-only were not updated with the latest content
Yann Flory eac0cdd6dd Enable read-only mode in slides
yflory d46bd1af5c Improve the toolbar UI with the username displayed
yflory 79884e2400 Use the same username for all pads
yflory 73d5ea967b Fix an error created by the merge
yflory dde519795d Merge branch 'newhash' into newhashNoConflict
yflory 99004428d5 Enable the read-only mode in Cryptpoll
yflory 47e8be1681 Remove the IMPORT button and editor toolbars in read-only mode
ansuz f29e3d7b0d don't let notifications interfere with document titles
ansuz a9e2ca8d72 make tests green again
yflory 83705ae058 Improve the UI in read-only mode
ansuz e6785b4dad push /pad/ state once ready to avoid OT collision
ansuz 723df4880e Merge branch 'slides' into merge-slides
ansuz b96f050555 Merge branch 'board' into merge-boards
ansuz fa8199bc75 don't try to use experimental user code
ansuz 2d42cadb23 push /code/ state once ready to avoid OT collision
ansuz bf5dac58dd Merge branch 'titleUserDoc' of github.com:xwiki-labs/cryptpad into titleUserDoc
Yann Flory bf8c9a2c4b Add a button to get the read only URL
Yann Flory 99b50465c7 Add the read-only mode for /pad and /code
Yann Flory 42f14873cd Merge branch 'translations' into newhashmerge
Yann Flory 391b7690e6 Set the pad to readonly mode when using a 'view' url
Yann Flory 368e253c9f Ability to send a read-only URL
Yann Flory 6363d3fb90 Pad titles are now shared with the userdoc
yflory 5c63585952 Complete the French translation
yflory 0d9f63b977 Merge branch 'translations' - part one
yflory f086492e50 Improve the localization system
Improve and enable the French translation
ansuz cc4bca8004 execute callbacks on presentation events
ansuz 8bf79ef915 serialize slide pads as a sorted object
ansuz 997b46a3f7 limit the size of rendered images
yflory 25c8d16bf5 Use a new version-prefixed hash parser
ansuz c35c7cda20 hide wizard after computing results
ansuz 0dae949c4f fix scrolljank bug
yflory c736caceba Use a better default pad title
ansuz 97415d8158 Merge branch 'users'
ansuz 122a9fe068 realtime kanban board
ansuz 4561ddcdf3 add missing semicolon
ansuz 8031770f90 rename "module" to "APP" in /slide/ for jshint
ansuz 8e86be81b2 Merge branch 'better-slides'
ansuz fb21b4e46b fix up /render/
ansuz 4941c1493e better user integration. a few more common utils
ansuz 2f2aeef0e5 add missing semicolon
ansuz 8a659cf887 maintain aspect ratio for slides
display index and slide count in title
ansuz 30ea1b59b7 integrate users into common utilities
ansuz 6d775f61c6 add missing functions
ansuz 168338b898 add missing functions
ansuz 7c5ee53e81 resolve conflict and merge
ansuz f47a6f1cbb Merge branch 'master' of github.com:xwiki-labs/cryptpad
ansuz f40b798d88 Merge pull request from xwiki-labs/reconnect
Ability to reconnect after a connection failure
yflory c168ce2d1c Ability to reconnect after a connection failure
ansuz e386749e89 unlock the editor after your name has been set (or not)
ansuz aa91ebd24e don't initialize until the store is ready
ansuz 93f5a3d3e9 use more bits from the users' seed and parse into various subkeys
ansuz 1bec02239c coerce dates into strings
ansuz 0add01a940 remove dead code
ansuz dcebb9597f prototype of password based key derivation
ansuz 848f16e8f5 unused function which computes values for the table
ansuz 18ea61dc9a use diffdom for sanitation and better redraws
ansuz c62d064ee9 add a 'share' button which copies the url to the clipboard
ansuz b229a18ccf notify users of changes if the visibility api is supported
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 8c914dfe1f better filenames
ansuz f1619f4a0f get /slide/ up to par with other prototypes
* use messages.js for some translatable elements
* style alerts
* infer document name from content
* present, forget, rename, import, and export buttons
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 55b1a17b0d off by one error
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 55666e9f70 remember presentations, and label them correctly on the home page
ansuz 5a3da11c40 very simple presentation with markdown
ansuz 7eaa4ce733 recognize pads with the same type and hash as identical no matter their domain
ansuz da6e5d73d0 fix undefined reference
ansuz 043041523f on import, fall back to setting language from file extension
ansuz deb63d2447 share syntax highlighting selection with peers
ansuz 2d5caf38d9 show a spinner until the document has loaded
ansuz fd0a7337a3 wait a full minute until requirejs times out
ansuz 975bff5794 show a spinner until the document has loaded
ansuz a58f58535b better regex for pulling titles out of c-like comments
ansuz 5131f47cca jshint compliance
ansuz 306d524416 fix broken removal call
ansuz dd3a5d47be migrate localStorage so people go to cryptpad.fr
ansuz a094e3c02e use correct store api calls in frame.js
also don't log unnecessarily
ansuz dcc9810a42 avoid extra call to store if there are no keys to remove
ansuz 9a5294016d fix incorrect usage of store api
ansuz 4e5f381325 add spinner to API. update bower deps
ansuz 01d9923e15 export Cryptpad at window level
ansuz fa654a7646 slightly better regex
ansuz 254d800a3b add a /p/ route so that we don't break old urls
ansuz cd18075ac7 add some redirection logic to support old hash types
ansuz 600f3151e9 don't use the store until it's ready to be used
ansuz fffa9acf15 remove unused files from fs and jshintignore
ansuz 551d38c930 let the abstraction take care of stringification
ansuz 9b16d529ca add one more missing script that caused handlebar highlighting to break
ansuz 0ada6a3d0a jshint compliance. gotta keep those tests green
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 7f02c899ea add snippet for copying text to the clipboard
ansuz 93142b364f tests for pretty printed html
ansuz 4833cf0d7b add a fontpicker
ansuz 6cb2f72aa6 pretty print html during export if possible
ansuz c09166efe2 scroll down when adding a new option to the table
ansuz 42eafe9e29 don't create duplicate stylesheets in the document head
ansuz fe3f02f5e0 enable text foreground and background colors
ansuz 68f8d0101d fix flash of unstyled content
ansuz 8ea6c03094 notify user on disconnect
also disable inputs
ansuz efd190beca export file with correct file extension, if possible
ansuz 5e71a5473c add another missing script
ansuz 992bc4f449 add missing script
ansuz 2351d8a23e make tests green again
ansuz 068a3f5944 remove rows from the poll
ansuz c6bdb7506d forget everything about a pad when you forget it
ansuz b8a3a4d188 persist usernames across sessions via localStorage
ansuz 846d1135b9 set mode in the editor, not just the dropdown
ansuz 446266a79b remember the last language used on a particular pad
ansuz e84fbf0bc3 more helpers in common
ansuz 70f8837681 maintain scroll position on remote changes
ansuz c267dd6a88 ensure that 'text' is a string
ansuz 2f2ab4392c clear the table on user clicks
ansuz 64f030c344 add a clear table button
ansuz d2c5cfe646 add col/row ids to arrays
ansuz 1a63faf188 infer names from the first comment on code pad
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 a995f2306d fix undefined variable reference
ansuz 44fe95c76b add titles to buttons on pad and code
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!
ansuz ff74a67a09 translate alertify button messages
ansuz d39ab5c250 point to the actual translation file
ansuz dea8e225db fix double scrollbar issue
ansuz 6f598682f8 templates for custom themes
ansuz 02cd2fbee0 style fixes for the ansuz theme
ansuz c9edf69ed1 one less prototype using messages.js while we figure out internationalization
ansuz 3eccec7054 better effort for translation
ansuz 3bdfee71e1 move padrtc to .git
ansuz 18ce69b756 use constants from toolbar.js, address linter warnings
ansuz 2a7a84b774 use constants exported from toolbar for selections
make things a little less brittle
address linter warnings
ansuz cbeaa8d609 major refactoring for toolbar. CAN HAZ LESS
ansuz 7504f79e05 add log and warn methods to cryptpad common
ansuz 750731d3db workaround for favicon magic
ansuz 3ad5d71ab1 make sure the regular favicon is set
ansuz fd3cd73d0b try to fix favicon bug
ansuz 589b0087a1 listen for keyup events while alertify prompts are active
ansuz a2a8570453 use alertify UI in /pad/
ansuz e32c0aaac8 use alertify UI in /code/
ansuz deae7ac78f don't hide the notification until it has been seen
ansuz 3d3c6e4800 add wrappers for alertifyjs
ansuz 85702f2706 inform users of changes in /pad/ too
ansuz 1ae212af44 let users know when changes have occurred while tabs lack focus
ansuz 6075849ed7 add favicons to /pad/ and /code/
ansuz 73d2b6561a add small modules for page visibility api and notification apis
ansuz 7e8d66a141 filter unwanted elements when receiving patches
ansuz d8b467422a fix default title in localStorage migration
ansuz 7a5877d12a don't filter pads after 30 days
ansuz d844551fba add a forget button. clean up toolbar a bit
ansuz 8a82e11306 make sure title is defined for home page usage
ansuz 71b1f71ba0 fix migration to include ctime
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
ansuz ec0dba3f7c correct undefined reference
ansuz a3da10766a add rename button to /code/ and /pad/
ansuz 93dcf29c15 more functions for working with localstorage