Paul Libbrecht
e7de9229a8
Do not print toolbar and collaboration ( #178 ).
...
paul
7 years ago
yflory
204e45dfae
Enable templates in pad
7 years ago
yflory
86e23ac19f
Use less2 in secure iframes
7 years ago
yflory
0d008aaa2e
Add indent settings to code2
7 years ago
yflory
0893bcc0e5
Merge branch 'staging' into code2
7 years ago
ansuz
9a23b77b46
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
7 years ago
ansuz
be8ea4102e
keep trying to parse the hash until it works
7 years ago
yflory
4db4f66786
Remove an unnecessary fix for Safari
7 years ago
yflory
a2ed266048
Move the code app in a secure iframe
7 years ago
Caleb James DeLisle
1044531806
Fix Safari iframe size issue
7 years ago
yflory
51fa6287c1
Enable notifications in secure pads
7 years ago
ansuz
40f062abda
restore app usage report in new pad
7 years ago
Caleb James DeLisle
fe03e6ae83
bad code, lint
7 years ago
Caleb James DeLisle
190dff1c9b
Use the bounce app for opening a link with the right click
7 years ago
yflory
0b4e044540
Fix the plugin to open a link in a new tab in pad
7 years ago
yflory
88cb4fd83c
Enable friend requests from secure pads
7 years ago
yflory
f89015d9ed
Update the tab title to match the pad title in pad2
7 years ago
Caleb James DeLisle
056285a7b6
Move pad2 to pad and create bounce app
7 years ago
Caleb James DeLisle
b081603455
Update requirejs
7 years ago
Caleb James DeLisle
3315449114
Lets try this...
7 years ago
Caleb James DeLisle
6b174934c8
Try waiting for iframe document.onload instead of looping and waiting for document.body to exist.
7 years ago
Caleb James DeLisle
725e19925c
Yeah, that was silly...
7 years ago
Caleb James DeLisle
b0b1ed037c
Add a filter to catch XSS-like entities and also stub a on-load test which would otherwise make pads inaccessable.
7 years ago
Caleb James DeLisle
638a94785f
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
7 years ago
Caleb James DeLisle
7ca60e55a7
Lock the pad's inner-iframe down with CSP
7 years ago
ansuz
5e6e76dfc1
make regex case insensitive
7 years ago
Pierre Bondoerffer
2cc6c636db
Add some missing titles
7 years ago
ansuz
dc7db074e8
open pad links when clicking in readOnly mode
7 years ago
yflory
331b4dddea
Clean debugging code
7 years ago
yflory
c33d2a2db0
New tooltips
7 years ago
yflory
88813aee02
Show that only html can be imported in pads
7 years ago
ansuz
7be1e249e1
add fa-share-alt to pad initialText
7 years ago
yflory
fa2d857d70
Fix css issues with Safari
8 years ago
yflory
5a3e9c785c
Fix ckeditor toolbar
8 years ago
yflory
ed0121d172
Lint errors
8 years ago
yflory
8279ef3130
Fix conflict between ckeditor toolbar and userlist on small screens
8 years ago
ansuz
7a5c5ce0a3
load scripts asynchronously
8 years ago
ansuz
5e56ad912e
remove the last bit of compiled css
8 years ago
ansuz
cfc5907237
remove unnecessary style rules
8 years ago
ansuz
7de2683169
make all apps use clientside templates
8 years ago
ansuz
e9bfaa9a60
compile less clientside. remove compiled css
8 years ago
yflory
0d4d104e08
Mobile support for the new toolbar
8 years ago
yflory
a11befaa0f
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
8 years ago
yflory
13288ee18b
Update the userlist in code, slide and pad
8 years ago
ansuz
852c028822
don't allow editing if pad type is wrong
8 years ago
yflory
8d956c3de6
New toolbar
8 years ago
yflory
b7a0547b77
New toolbar colors
8 years ago
yflory
59fb5bd8be
One toolbar color per app
8 years ago
yflory
5a248db267
Merge branch 'staging' into newCk
8 years ago
yflory
f13d23241c
Upgrade CkEditor to version 4.7
8 years ago
ansuz
d5c7eb49a4
send feedback on toolbar hide and CKE buttons
8 years ago
yflory
376b60c21c
New toolbar temp
8 years ago
ansuz
ec9a4dec5e
Merge branch 'soon' into staging
8 years ago
ansuz
76c530037b
enable donate button in all apps
8 years ago
ansuz
99a44f119f
don't send referrer headers on pads which may link outward
8 years ago
ansuz
1240b864ef
fix misconfigured history
8 years ago
yflory
716245f864
Make all the buttons look the same
8 years ago
yflory
c00158d23a
Move code to common-history
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
ansuz
f7e96b4e8c
resolve merge conflicts and jquery errors
8 years ago
yflory
5fc2e4cf71
Remove the toolbar in ckeditor history mode + history configurable
8 years ago
yflory
92ea03d7d9
View and restore the history of a pad
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
ansuz
50277cb0ae
don't rely on 'info' in onRemote so we can call it anywhere
8 years ago
ansuz
df4a250359
use feedback api instead of app=
8 years ago
yflory
84d8615cf1
Save and use templates in pad, code and slides
8 years ago
ansuz
233bb7a14f
reorganize some html tags for smaller diffs
8 years ago
yflory
71c59d7ae2
Remove unnecessary TODOs
8 years ago
yflory
d92a875ce5
Translate the 'wrong application' error message
8 years ago
yflory
a8ffac5dcd
Remove old code
8 years ago
ansuz
912215185f
add uid to userdata for better notifications
8 years ago
ansuz
4a173e30dc
set user's cursor to either the beginning or end of the document
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
ansuz
6e733b1329
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
8 years ago
yflory
459b18c97b
Add the loading screen in the HTML so that it is displayed before JS is loaded
8 years ago
ansuz
8a48612de2
add some notes for later
8 years ago
ansuz
c04819538b
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
8 years ago
ansuz
fcb9848b3a
hide toolbar when in read-only mode
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
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
412815b042
Merge branch 'security' of git.xwikisas.com:xwiki-labs/cryptpad into security
8 years ago
yflory
11d54256da
Make sure the display name is displayed in the same way everywhere
8 years ago
ansuz
639376f1cb
don't use hyperjson.toString
8 years ago
ansuz
86adfbf27d
update cache-busting directive in all supported apps
8 years ago
yflory
8741b50f5b
Set the file name as default title if a pad is created from the drive
8 years ago
yflory
e38df7ce47
Fix creation of new pads in /pad
8 years ago
yflory
f8d653406a
Add the new content for the default pad and add french translation
8 years ago
yflory
d4bf7cf9aa
Send the initial state only if it is a new pad in /pad
8 years ago
yflory
fadddb297c
Readonly mode in /pad had contenteditable set to true
8 years ago
yflory
88b29e8bdd
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
8 years ago
yflory
5303e76ece
Make sure the content is correctly applied in onReady
8 years ago
ansuz
cc829d51f8
jshint compliance
8 years ago
yflory
e15a6a347f
Fix the forget pad button
8 years ago
yflory
a0340f1419
Open link in a new tab in /pad
8 years ago
yflory
0ce17ebbad
CryptDrive usability improvements (new file in drive + context menu)
8 years ago
ansuz
3d0e7cb9a7
pull ckeditor config out of main.js
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
2851ceb95a
Merge branch 'soon' into staging
8 years ago
ansuz
1232aa8a79
jshint compliance
8 years ago
ansuz
a995df25f6
disable new OT in pad and code app
8 years ago
yflory
d54262c8df
Use the same disconnecter error translation key for all the apps
8 years ago
yflory
3af7c9cff8
Replace the expand/collapse ckeditor button by our own to save space
8 years ago
yflory
914c442615
Do not redirect to home page when logging out from another tab
8 years ago
yflory
02439e0f61
Improve the homepage with new images and translations
8 years ago
yflory
a4286f1c83
Merge branch 'soon' into newtoolbar
8 years ago
yflory
373b07ed28
Fix lint errors
8 years ago
yflory
ce1e792419
Merge branch 'soon' into newtoolbar
8 years ago
yflory
69fb8b4d2f
Merge branch 'master' into soon
8 years ago
yflory
f8455875a9
Fix the NoScript (iframe not loaded) bug with inner iframes
8 years ago
yflory
1e1bfd275c
Don't show the tab notification when someone has joined the pad
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
efed1f5efe
Add handlers to login and logout buttons
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
4adde0f0c0
Use the new dropdown for userlist and share
8 years ago
Brandon Istenes
b5acdb8cc0
Disable zooming on mobile
8 years ago
Brandon Istenes
40985f1811
Dubious height setting for iOS
8 years ago
Brandon Istenes
52d8d8db1d
Get rid of margins on mobile
8 years ago
Brandon Istenes
cd0931c951
UI improvements for mobile browsers
8 years ago
yflory
605072cfbf
Fix empty title with new documents
8 years ago
yflory
4963c77b61
Fix the title reset bug
8 years ago
Caleb James DeLisle
6c5e8d3118
Safari is really the best browser in the world, even though you have to stick a screwdriver in it to get it to start up
8 years ago
yflory
569ea21705
Replace the language selector by our custom dropdown menu
8 years ago
yflory
4278ac7637
Merge branch 'soon' into fileManager
8 years ago
ansuz
b39067d2a1
jshint compliance
8 years ago
ansuz
1c3f1a15cd
make sure that /pad is resized after loading
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
a3cd100c94
apply yflory's safari patch
8 years ago
yflory
1e70af0c16
Use the same network for the apps and the file store
8 years ago
ansuz
b33661d9d5
don't toggle maximization state after setting
8 years ago
ansuz
f020fd5a75
remove /customize/pad.js from main apps
8 years ago
ansuz
e9376a66c2
apply 'cp' class for unified styles
8 years ago
yflory
1772cc93c8
Fix the taildoc bug
8 years ago
yflory
87abfff66b
Fix Flash Of Unstyled Content (fouc)
8 years ago
yflory
4aed585574
Fix style issues in the toolbar
8 years ago
ansuz
8a7fda6341
Merge branch 'soon' into login
8 years ago
ansuz
a220742f68
fix reversed color settings
8 years ago
ansuz
308db7fa79
fix uncolored /pad/ content in IE
8 years ago
ansuz
f36d15d0db
Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into test-filemanager
8 years ago
yflory
ee56f5608f
Fix the infinite spinner bug with the file manager store
8 years ago
yflory
05fd6c1563
Fix the infinite spinner problem
8 years ago
ansuz
de0863e232
use new ot
8 years ago
ansuz
4cd9bd5534
strip listeners
8 years ago
ansuz
4c5cb79c20
Merge pull request #58 from xwiki-labs/replaceState
...
use replaceState if available
8 years ago
ansuz
c2770a7a74
set correct hash even if browser does not implement replaceState
8 years ago
ansuz
d009b7400c
fall back to default title if one is not suggested
8 years ago
ansuz
303c65f2c3
use replaceState if available, instead of setting the hash
8 years ago
yflory
3de4e5709b
Clean the code
8 years ago
yflory
ab1d3958ce
Add a pencil icon when hovering the title
8 years ago
yflory
6d1e06cca3
Add notifications when a user joins or leaves the channel
8 years ago
yflory
54a63267cd
Add a share button and merge the viewers and editors buttons
8 years ago
yflory
87d86384ac
Fix broken elements in the new toolbar
8 years ago
yflory
6351d1856f
Remove the top bar and move its content in the applications' toolbars
8 years ago
yflory
3d74290c7d
Merge branch 'usability5' into staging
8 years ago
yflory
9e92a597b3
Ability to edit the title in the toolbar by clicking it
8 years ago
ansuz
a8612ed1c7
Merge branch 'usability5' of github.com:xwiki-labs/cryptpad into staging
8 years ago
Yann Flory
10bb5e1607
Add the title in the toolbar
8 years ago
Yann Flory
1e003b13a8
ask anonymous, first-time users to set their name when they first join a pad
8 years ago
ansuz
46c5f64369
remove absent users from the userlist
8 years ago
yflory
39bbf8a6c1
Fix the new userlist button and make the toolbar responsive
8 years ago
yflory
24fbe22c9d
Improve the toolbar style and the way the userlist is displayed
8 years ago
yflory
e739c49e7f
Remove the 'about' button in ckeditor
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
ansuz
2ac1b02572
Merge branch 'config-sockets' into soon
8 years ago
ansuz
5e76194262
use new config api
8 years ago
yflory
76fdadee7f
Store only the strongest hash in the localstorage
8 years ago
yflory
17b4f91810
Do not share the title in the doc if it is the default title
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
0be8c333e0
Merge branch 'fontawesome' of github.com:xwiki-labs/cryptpad into fontawesome
8 years ago
yflory
3d54413343
Improve the UI with FontAwesome icons
8 years ago
ansuz
a266f0bee1
query parameter for messages
8 years ago
ansuz
d6525087c7
jshint compliancy
8 years ago
ansuz
ed9acf1c00
Merge branch 'rememberName' of github.com:xwiki-labs/cryptpad into rememberName
8 years ago
ansuz
a82b7aaf8b
allow empty names
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
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
ansuz
a9e2ca8d72
make tests green again
8 years ago
yflory
83705ae058
Improve the UI in read-only mode
8 years ago
ansuz
e6785b4dad
push /pad/ 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
391b7690e6
Set the pad to readonly mode when using a 'view' url
8 years ago
Yann Flory
368e253c9f
Ability to send a read-only URL
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
7c5ee53e81
resolve conflict and merge
8 years ago
ansuz
f47a6f1cbb
Merge branch 'master' of github.com:xwiki-labs/cryptpad
8 years ago
yflory
c168ce2d1c
Ability to reconnect after a connection failure
8 years ago
ansuz
e386749e89
unlock the editor after your name has been set (or not)
8 years ago
ansuz
2d5caf38d9
show a spinner until the document has loaded
8 years ago
ansuz
fd0a7337a3
wait a full minute until requirejs times out
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
4833cf0d7b
add a fontpicker
8 years ago
ansuz
6cb2f72aa6
pretty print html during export if possible
8 years ago
ansuz
fe3f02f5e0
enable text foreground and background colors
8 years ago
ansuz
992bc4f449
add missing script
8 years ago
ansuz
a995f2306d
fix undefined variable reference
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
18ce69b756
use constants from toolbar.js, address linter warnings
9 years ago
ansuz
750731d3db
workaround for favicon magic
9 years ago
ansuz
fd3cd73d0b
try to fix favicon bug
9 years ago
ansuz
a2a8570453
use alertify UI in /pad/
9 years ago
ansuz
85702f2706
inform users of changes in /pad/ too
9 years ago
ansuz
6075849ed7
add favicons to /pad/ and /code/
9 years ago
ansuz
7e8d66a141
filter unwanted elements when receiving patches
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
a3da10766a
add rename button to /code/ and /pad/
9 years ago
ansuz
908e79c0b9
add autolink plugin
9 years ago
ansuz
d025d13295
address some jshint complaints
9 years ago
ansuz
31aa09d6f6
work a bit more on import/export and code highlighting
9 years ago
ansuz
242c9a99e3
implement import and export in /pad/
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
69f3f4c9a8
drop hyperscript dependency
9 years ago
ansuz
f818d873bb
remove usernames, refactor a wee bit
9 years ago
ansuz
36baf498ce
fix magicline filter and strange interaction with cursor
9 years ago
ansuz
303e8d6c3e
remove debugging line
9 years ago
ansuz
8af49698da
add a class to the magicline markup so it's easier to remove
9 years ago
ansuz
beba78d7f8
update prototype dependencies
9 years ago
ansuz
ff0f7d15dc
use json-ot from bower
9 years ago
ansuz
68cec2348a
don't prompt the user with a crypto hash for their name
9 years ago
ansuz
a0ec5eada8
better fix for magicline filter
9 years ago
ansuz
e3b8a10959
fix magicline filter
9 years ago
ansuz
297d8c2d44
reformat code for jshint compliance
9 years ago
ansuz
0c89443c1b
fix typo
9 years ago
ansuz
39fcd7dc4c
more specific filtering for magicline plugin
...
to avoid false positives for other things which are non-contenteditable spans
9 years ago
ansuz
ad3c53c344
use textpatcher from bower for all pads
9 years ago
ansuz
d2c8fbf1f8
use hyperjson.amd.js, not hyperjson.js
9 years ago
ansuz
1769ca16dc
add example for configuring the logLevel in /pad/
9 years ago
ansuz
d2fa5e8f70
start using hyperjson from bower.io
9 years ago
ansuz
506a703b7d
turn off TextPatcher logging on /pad/
9 years ago
ansuz
32d1807350
import unused functions from /p/, to be integrated later
9 years ago
ansuz
626ecaffcd
log browser fights in /pad/
9 years ago
Yann Flory
53b2644b64
Fix a issue with fights over usernames
9 years ago
Yann Flory
c0b8aac792
Fix an issue where metadata could be duplicated in the realtime userdoc
9 years ago
Yann Flory
d3203d1c2a
Remove Crypto from the modules loaded with RequireJS in realtime-input
...
It now has to be passed in the config in the main JS file
9 years ago
ansuz
4c95602347
remove a little bit more dead code
9 years ago
ansuz
cce50390a0
don't depend on library to set hash
9 years ago
ansuz
0769e50414
move TextPatcher to highest application layer
9 years ago
Yann Flory
69e8e18283
Remove the pipe character in the hash
9 years ago
Yann Flory
6884b0890a
Fix the typong tests not working properly
9 years ago
Yann Flory
ecc41d14af
Use canonical serializer for json serialization
9 years ago
Yann Flory
9683fd9aec
Always serialize the DOM in one way.
9 years ago
ansuz
f75c246029
remove dead code from pad/main.js
9 years ago
ansuz
a0999d1d2b
add a comment about why hashes are being stubbed
9 years ago
ansuz
3b8238ef3b
add missing semicolons to pad/main.js
...
jshint compliance
9 years ago
ansuz
e6ab03164c
import TypingTests.js and expose at the console
...
RTWYSIWYG-54
> implement tests for components of the WYSIWYG editor
9 years ago
Yann Flory
0b3d6e15b8
Replace the Netflux old client (netflux.js) by the Netflux2 client.
...
Move the WebRTC peer-to-peer use case in /padrtc, which still uses the old
Netflux client
Use es6-promises.min.js to solve a issue with some browser and the new
Netflux client
9 years ago
Yann Flory
cf9f60bd57
The server don't send back anymore messages to their sender
9 years ago
Yann Flory
ba4faea939
Update the pads to run with the latest improvements to the websocket server
9 years ago
Yann Flory
5ef7e29a9b
Add the latest changes from _socket into the netflux pad
9 years ago
Yann Flory
de6db0285c
Limit the size of the usernames to 32 chars
9 years ago
Yann Flory
7237c751d5
Move 'vdom' to the main 'pad'.
...
Hide the right-hand panel (can de bisplayed with a 'debug' button)
Hide the IDs of users if they don't change their name
9 years ago
ansuz
3cb94b8d80
jshint compliance
9 years ago
ansuz
f1915d3b7c
fix jshint complaints in pad directory
9 years ago
ansuz
967d636df9
address more jshint complaints
9 years ago
ansuz
c71b060dc2
main.js : wait until your editor is defined before trying to reference it. addresses a race condition that caused ckeditor to fail half the time.
9 years ago
Caleb James DeLisle
51544db9a2
Completed adding of customization system and bottom infobar
10 years ago
Caleb James DeLisle
0e44b10aeb
Seperated common crypto operations to common file and made common toolbar used for both pad and spreadsheet
10 years ago
Caleb James DeLisle
c13bfe978a
Switched cryptpad to use common/toolbar.js which is shared with cryptsheet
10 years ago
Caleb James DeLisle
50c10f818e
Added cryptsheet to cryptpad suite!
10 years ago