Commit graph

649 commits

Author SHA1 Message Date
Wolfgang Ginolas
2095c618fc Revert "Fix rich text color selection in safari"
This reverts commit 3f9814d239.
2023-07-18 14:31:13 +02:00
Wolfgang Ginolas
3f9814d239 Fix rich text color selection in safari
https://github.com/cryptpad/cryptpad/issues/1136
2023-07-17 13:56:16 +02:00
Wolfgang Ginolas
9315e411aa Make colours with special characters in names clickable
https://github.com/cryptpad/cryptpad/issues/1136
2023-07-17 13:56:16 +02:00
yflory
09bce8d852 Merge branch 'staging' into 5.4-rc 2023-07-13 14:13:34 +02:00
yflory
d39008108c lint compliance 2023-07-11 13:39:53 +02:00
yflory
e27da863d3 Upgrade CKEditor to version 4.22.1 #1119 2023-07-11 13:39:07 +02:00
Ahmed Mazen
4e32a9ac06 add favicons statically in each application
The last commit added `.ico` versions of the `png` favicons. This commit
adds each favicon statically to each application's `index.html` file.

By statically, I mean it is not inserted through Javascript and instead
is present in the file already.

This fixes favicons not displaying on Firefox.
2023-07-03 08:46:12 +08:00
yflory
30bb4d61bb Merge branch 'main' into debower 2023-05-02 13:55:40 +02:00
David Benque
148adb70cc Merge branch 'zuzanna-maria-move_resize_button' into staging 2023-03-21 14:56:20 +00:00
David Benque
2249673751 Fix spacing between resize and comments buttons 2023-03-21 14:54:03 +00:00
yflory
65835638af Fix double notifications with pad comments (mention + reply) 2023-02-01 18:00:28 +01:00
yflory
4165adc127 lint compliance 2023-01-17 17:27:48 +01:00
Pamplemousse
9019d92291 removing bower: migrate nthen
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:42 +01:00
Pamplemousse
6c10407802 removing bower: migrate bootstrap
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
a847a5300a removing bower: migrate file-saver
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
871110ec12 removing bower: migrate chainpad*
Also, explicitly add `chainpad-netflux`.

Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
e4dea5824b removing bower: migrate hyperjson
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
dd25b85554 removing bower: migrate requirejs and requirejs-plugins
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
Pamplemousse
c8859524ee removing bower: migrate components-font-awesome
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
Pamplemousse
f012d692de removing bower: migrate ckeditor
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
zuzanna-maria
f1ac1e1006 moved pad resize button so that it no longer overlaps wit hand covers the text 2022-12-31 18:28:06 +01:00
yflory
ceb9f59f53 Fix scroll issue in pad on iOS 2022-12-22 15:34:51 +01:00
ansuz
3323f09255 hack around a safari bug (for what I'm sure is not the last time) 2022-09-19 16:01:45 +05:30
ansuz
71922dbae4 add noscript tags to apps 2022-09-05 19:15:32 +05:30
ansuz
524ba22c46 update hardcoded preloading.js cache-busting version string 2022-08-30 14:27:10 +05:30
yflory
d5272874fb Add version string to placeholder .js and .css files 2022-08-17 11:14:51 +02:00
Maxime Cesson
0d75a2a92a Load pre-loading script and stylesheet before every others 2022-08-02 16:19:38 +02:00
Maxime Cesson
24ccb6d9e7 Apply placeholder to all relevant applications on a slow connection #865
Made with the following command from the cryptpad/ root directory:

$ patternStatic='(<link href=\"\/customize\/src\/outer\.css.*$|<script async data-bootload=\"\/customize\/template\.js\".*$)';
$ pattern2='<style>$';
$ js='<script src=\"\/customize\/pre-loading\.js\"><\/script>';
$ css='<link href=\"\/customize\/src\/pre-loading\.css\" rel=\"stylesheet\" type=\"text\/css\">';
$ find . -name 'index.html' | grep -v -E '(onlyoffice|bower_components|node_modules)' | while read x; \
do if [ `grep -cE "$pattern" $x` -gt 0 ]; then sed -E "s/($pattern)/$js\n    \1\n    $css/" $x > tmp; \
mv tmp $x; y=`echo $x | sed 's/index\.html/inner\.html/'`; if [ -f "$y" ]; then \
sed -E "s/($pattern2)/$js\n    $css\n    \1/" $y > tmp; mv tmp $y; fi; fi; done
2022-07-13 13:21:38 +02:00
Maxime Cesson
80fad70404 Prepare to apply placeholder to all needed apps 2022-07-13 12:46:04 +02:00
Maxime Cesson
edaa8e1d9e Redo placeholder before loading screens for inner and outer 2022-07-12 13:07:58 +02:00
Maxime Cesson
4b7e1b0757 Add a placeholder before loading screens for slow connection 2022-07-11 10:21:00 +02:00
ansuz
841884c631 translated warnings for people that use AdGuard 2022-04-01 16:40:26 +05:30
ansuz
6253c7c61c don't panic if unsafeiframe is loaded with unsafe-eval 2022-03-25 12:01:50 +05:30
ansuz
4c53d9b509 enforce only loading inner.html from nested contexts 2022-03-23 13:31:52 +05:30
ansuz
d4f5183663 remove an XXX note 2021-12-15 13:46:26 +05:30
ansuz
15cf523144 don't load the janky test framework that we aren't even using 2021-11-22 16:35:35 +05:30
ansuz
0ac368a5c9 resolve minor comments and clean up 2021-09-01 16:07:16 +05:30
ansuz
cd613f1037 many small improvements for animal avatars
* more consistent scaling for animal avatars relative to the font-size of username's initials
* configurable emoji lists via AppConfig.emojiAvatars
* various comments from code review
* fixed a bug that caused the user admin menu button to not be redrawn on name changes
* guard against empty animal emojis in case the admin sets the list to []
2021-08-27 19:38:50 +05:30
ansuz
c416303e1d set uid in cursor object in outer scope
rather than within each app that uses cursors
2021-08-27 18:23:07 +05:30
ansuz
840a16a563 add animal emojis to rich text cursors' tooltips 2021-08-26 17:39:56 +05:30
ansuz
8d579c0376 Add avatars to rich text comments and mentions 2021-08-25 12:57:24 +05:30
ansuz
32e79d323d add support for tabs in ckeditor
and leave a note about the challenges of accessibility here
2021-07-09 18:53:27 +05:30
ansuz
27f3223490 provide the language we detect to CKEditor 2021-07-02 17:55:15 +05:30
yflory
5d156dd346 Fix base64 image detection in pads 2021-06-22 12:24:41 +02:00
yflory
04fc838ef3 lint compliance 2021-06-22 12:08:10 +02:00
yflory
a4bd4e2784 Support Markdown import/export in Rich text pads 2021-06-22 12:04:56 +02:00
yflory
22e278b84d Fix Tex rendering issues in rich text 2021-05-04 14:21:50 +02:00
ansuz
bf65a577dd remove hardcoded translations
and add a contextmenu handler for the calendar sidebar
2021-04-30 08:10:12 +05:30
yflory
b1cab1df98 Move diffDOM 2021-04-27 15:53:39 +02:00
yflory
2fb4fd86da Prevent type error from CkEditor widgets 2021-04-23 11:12:45 +02:00