Commit graph

660 commits

Author SHA1 Message Date
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
ansuz
7f41f8765e avoid bypassing guards against raw HTML in some dialogs 2021-08-12 19:02:25 +05:30
yflory
0a604933d2 Getting started in the drive 2021-04-12 16:09:21 +02:00
yflory
96b2b00b24 Fix drive UI stuck offline 2021-03-01 17:55:39 +01:00
yflory
a2959b2561 Improve offline banner in teams 2021-03-01 16:08:16 +01:00
yflory
1edfbadf4e Fix invisible restricted shared folders in teams 2021-02-25 18:31:44 +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
ansuz
d1eff71584 Merge branch 'soon' into staging 2021-01-08 21:23:18 +05:30
ansuz
beb74b46d5 merge offlineCache and soon 2021-01-07 17:15:00 +05:30
ansuz
c806b97076 resolve conflicts between rebrand and staging 2020-12-29 17:20:53 +05:30
yflory
0aef54be62 Clear cache with 'burn this anon drive' 2020-12-07 15:51:58 +01:00
yflory
93ddf51564 Merge branch 'download' into cacheRT 2020-11-24 16:46:22 +01:00
yflory
7bbb46c2ef Trim history prompt 2020-11-17 16:02:06 +01:00
yflory
49423474a8 Make application colors easier to maintain 2020-11-13 17:05:26 +01:00
yflory
cebe1252f8 Fix workers submodules after reconnecting 2020-11-10 16:50:38 +01:00
yflory
65628a5169 Only use offline cache in the drive app for now 2020-11-05 14:02:03 +01:00
yflory
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
yflory
446cca0725 Use offline state per shared folder in the drive 2020-11-03 18:29:09 +01:00
yflory
589d32c062 Stop using sessionStorage for login redirect and new pad options 2020-11-03 16:48:31 +05:30
yflory
f3d2fc6ad5 Stop using sessionStorage for login redirect and new pad options 2020-10-30 15:00:12 +01:00
yflory
2f6d4d1fc6 Fix drive history 2020-09-29 11:36:42 +02:00
yflory
43c3043180 Fix issues with metadata when creating snapshots and restoring history 2020-09-29 11:33:18 +02:00
yflory
e25756ceca Don't add the shared folder to your drive is there is an access list 2020-06-24 11:20:43 +02:00
yflory
2c57a2d872 Add allow lists for shared folders 2020-06-17 17:40:33 +02:00
yflory
60c19e0746 Fix tippy html issue 2020-06-10 12:50:18 +02:00
yflory
33818cdc93 Fix 'empty drive' button in anon drives 2020-06-03 16:41:53 +02:00
yflory
21d3108ad5 Add missing tippy 2020-06-03 16:26:59 +02:00
yflory
5441a499ba Fix share and burn buttons in drive toolbar 2020-05-25 17:29:13 +02:00
yflory
6427413c7f Use default toolbar in drive 2020-05-14 13:20:29 +02:00
yflory
079329cc28 Rename toolbar file 2020-05-07 12:01:05 +02:00
yflory
adae4b690b outer.css cache busting 2020-04-17 17:38:15 +02:00
yflory
acada4c733 lint compliance 2020-03-30 12:10:06 +02:00
yflory
980baf9ce3 Fix usage bar in drive and read only teams 2020-03-27 15:06:15 +01:00
yflory
1ea00cfdfa Remove invalid 'DISCONNECTED' message in drive history mode 2020-03-19 11:45:17 +01:00
yflory
d0f8458dd2 Fix openincode in anon shared folders 2020-02-10 14:43:22 +01:00
yflory
b96079cd44 Remove hidden hash XXX 2020-02-06 10:49:11 +01:00
yflory
1c013d8a4f Fix stacking disconnection alerts 2020-02-05 16:18:09 +01:00
yflory
50b897ee2e Hide the hash with autostore popup + fix anon shared folders 2020-01-27 18:51:16 +01:00
yflory
deddc80270 lnit compliance 2020-01-27 15:59:24 +01:00
yflory
2c1e26cb52 Remove # symbol when no hash 2020-01-27 13:37:52 +01:00
yflory
a8e6250576 Hidden hash for shared folders and team invitation 2020-01-27 13:34:41 +01:00
yflory
c9c19b8395 Offline drive (or team) detection 2019-11-14 11:44:23 +01:00
yflory
2e182788ec Hide drive info box when in read-only mode + update UI 2019-11-12 17:18:22 +01:00