Commit Graph

10 Commits

Author SHA1 Message Date
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
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
yflory c24fa2bb30 Enable downloading OnlyOffice documents and slides from the drive 2021-10-11 17:00:51 +02:00
yflory 9d83715f90 Move OO files to the new APP names 2021-03-24 15:02:29 +01:00