Wolfgang Ginolas
93acdba17c
Remove unneeded files
...
https://github.com/cryptpad/cryptpad/issues/1416
2024-03-20 13:15:29 +01:00
David Benque
8f0a6319a5
Apply headers
2023-10-20 15:35:26 +01:00
yflory
09bce8d852
Merge branch 'staging' into 5.4-rc
2023-07-13 14:13:34 +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
Pamplemousse
dd25b85554
removing `bower`: migrate `requirejs` and `requirejs-plugins`
...
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
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