Commit graph

324 commits

Author SHA1 Message Date
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
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
28ce7f828d guard against bad filenames in slide options 2022-02-10 12:03:48 +05:30
ansuz
44f5aee4ac Dependency management:
move (most) third-party dependencies from www/common/ => www/lib/

* unify less.js files by standardizing on our slightly modified version
* update textFit.js to the latest version
* describe exact versions of files where known, otherwise link to their project sites
2021-08-11 15:07:38 +05:30
ansuz
5070a751cd style remote image warnings in slides 2021-07-05 19:21:22 +05:30
ansuz
575269e5a1 use a standard function for creating basic media-tags 2021-07-01 13:18:08 +05:30
David Benqué
f54e771d0f Update grey logo and use in empty Code and Slides 2021-02-09 21:08:19 +00:00
David Benqué
a7b6aadefa Fix css error message in slide 2021-02-08 17:22:45 +00:00
David Benqué
16e4b76f4b Dark toolbar and apps 2021-02-04 17:44:29 +00:00
yflory
2501b39ba7 Default slide colors 2021-01-29 11:17:31 +01:00
yflory
623aba2705 Migrate all remaining apps to support dark theme 2021-01-28 17:17:29 +01:00
yflory
e4dbd04103 Fix iframe URL caching 2021-01-27 13:55:25 +01:00
yflory
89406f5d89 Start with black background when OS is set to dark theme 2021-01-26 17:09:10 +01:00
yflory
45dff2f5c4 Cleanup 2021-01-22 18:30:54 +01:00
ansuz
e6cce9c04d Merge branch 'soon' into staging 2021-01-14 18:07:45 +05:30
ansuz
858de83984 set title from the default title in slides if undefined 2021-01-14 17:35:13 +05:30
yflory
9f724ff143 Merge branch 'soon' into staging 2021-01-12 15:30:10 +01:00
yflory
b8b2373512 Fix slides colors reset 2021-01-12 14:05:43 +01:00
yflory
49423474a8 Make application colors easier to maintain 2020-11-13 17:05:26 +01:00
yflory
23deb5afbe Merge branch 'soon' into rebrand 2020-11-09 17:05:07 +01:00
yflory
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
yflory
6f76ee445c Fix UI issues when printing code 2020-11-03 16:48:31 +05:30
yflory
3f67cb05ef Merge branch 'sessionStorage' into rebrand 2020-10-30 15:19:17 +01:00
David Benqué
c1a5f236b6 Change logo in Code and Slide empty previews 2020-10-27 17:07:47 +00:00
yflory
d25d9c4f83 Fix UI issues when printing code 2020-10-26 14:57:54 +01:00
yflory
784306f947 Display a warning bar when viewing a versioned link 2020-10-01 15:29:43 +02:00
ansuz
2ccb8ec75c throttle redraws of the slide content
draw no more than once every 400ms
2020-07-06 15:30:27 -04:00
ansuz
02d8071c5d fix some style regressions in the printOptions modal 2020-07-06 15:29:27 -04:00
ansuz
d2e29e3a9e force-redraw slides when markdown plugins finish loading 2020-07-06 15:28:13 -04:00
yflory
a62ea39122 Fix colors and reload bugs in slides 2020-06-05 13:49:18 +02:00
yflory
da400929a9 Fix print slides with mermaid 2020-06-04 13:37:22 +02:00
yflory
55c4345e9e lint compliance 2020-06-04 11:49:46 +02:00
yflory
03e6c8dacc Fix background image in slides 2020-06-04 11:47:15 +02:00
yflory
04fe289bf8 Fix some mermaid graphs and update default colors 2020-06-04 11:13:08 +02:00
ansuz
6f882e0ddd refactor repeated 'drawer' pattern 2020-05-26 12:51:37 -04:00
ansuz
2925316058 remove hardcoded translations 2020-05-26 11:52:02 -04:00
ansuz
264f4950bd don't show the help menu in embed mode 2020-05-25 17:12:12 -04:00
ansuz
73a168f09b mark hardcoded translations and duplicated code with XXX 2020-05-25 16:18:59 -04:00
yflory
e6ce5a55e5 Add missing button for all the apps 2020-05-13 14:42:22 +02:00
yflory
96f6e0ebaf Fix ordering in file menu, add scrollbars and remove 'new pad' button 2020-05-13 11:28:00 +02:00
yflory
55e531c8f7 Slide app toolbar 2020-05-07 18:16:36 +02:00
yflory
adae4b690b outer.css cache busting 2020-04-17 17:38:15 +02:00
yflory
9ee9e46087 Receiving a burn after reading URL 2020-01-09 17:30:15 +01:00
yflory
7bd4a4028b Fix fileHost again... 2019-08-27 15:31:22 +02:00
ClemDee
3bd09d986e Fix slides extension to .md when exported from /slide 2019-07-29 16:37:00 +02:00
ClemDee
3e918ec1cf Fix issues of no file extension for pad export 2019-07-29 16:30:48 +02:00