Commit Graph

26 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
David Benqué
a725b96cae Use new favicon in static pages 2020-11-10 16:19:58 +00:00
David Benqué
3b97778163 Change tag line in window titles 2020-11-10 16:10:44 +00:00
Caleb James DeLisle
b081603455 Update requirejs 2017-08-21 18:08:37 +02:00
ansuz
f02285d103 fix lowercased p 2017-07-06 10:49:33 +02:00
ansuz
3657e978fd give main2.js a more sensible name 2017-06-22 11:06:11 +02:00
ansuz
118b83c420 make register and login user clientside templates 2017-06-22 10:04:46 +02:00
ansuz
3915b30055 provide a register button on login
also direct users from file to login
2017-05-29 13:11:07 +02:00
yflory
7ee6864ea4 Add the user menu in the login and register pages 2017-05-15 18:21:11 +02:00
Caleb James DeLisle
c341fa8e94 Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter 2017-04-18 12:14:32 +02:00
Caleb James DeLisle
91eda5fa83 Implement stronger content-security-policy except in /pad/ which does not allow it.
Implement a "loader" which allows for applying a version number to everything.
Added a cache control for anything which has a version.
2017-03-01 21:06:53 +01:00
yflory
f130fd0598 Fix horizontal scrollbar in edge 2017-02-28 18:02:12 +01:00
ansuz
86adfbf27d update cache-busting directive in all supported apps 2017-02-28 10:47:18 +01:00
yflory
38893fb8e5 Remove the 'Bootstart tooltips require Tether' error 2017-02-27 11:19:29 +01:00
yflory
d7d7165dc4 Login page was using a wrong translation key 2017-02-23 18:19:33 +01:00
ansuz
8167ed9048 implement cache-busting everywhere 2017-02-17 12:39:01 +01:00
ansuz
b5b2454f0b use bootstrap for login and register pages 2017-02-10 18:29:49 +01:00
ansuz
eb620bee77 restructure user application 2016-12-26 14:17:39 +01:00
ansuz
3197b62fbb latest work 2016-12-22 16:44:49 +01:00
ansuz
dfea802c77 better crypto hygeine, start thinking more about ui 2016-12-20 11:09:41 +01:00
ansuz
67baf30d65 basic outline of logins 2016-12-16 15:19:17 +01:00
ansuz
dcebb9597f prototype of password based key derivation 2016-08-22 11:43:41 +02:00