Commit graph

48 commits

Author SHA1 Message Date
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
Maxime Cesson
80fad70404 Prepare to apply placeholder to all needed apps 2022-07-13 12:46:04 +02:00
Maxime Cesson
edaa8e1d9e Redo placeholder before loading screens for inner and outer 2022-07-12 13:07:58 +02:00
Maxime Cesson
4b7e1b0757 Add a placeholder before loading screens for slow connection 2022-07-11 10:21:00 +02: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
d60e072605 Update last-modified 2020-10-13 16:31:01 +02:00
yflory
adae4b690b outer.css cache busting 2020-04-17 17:38:15 +02:00
yflory
8e7858e6ae New share modal in all the apps 2019-06-03 11:57:55 +02:00
Caleb James DeLisle
f95acda758 Minor refactoring of /pad/ ; moved /*/main.js into a common file ; framework'd /code/ 2017-09-27 16:53:16 +02:00
yflory
204e45dfae Enable templates in pad 2017-09-05 11:57:44 +02:00
Caleb James DeLisle
056285a7b6 Move pad2 to pad and create bounce app 2017-08-28 12:25:05 +02:00
Caleb James DeLisle
b081603455 Update requirejs 2017-08-21 18:08:37 +02:00
ansuz
7a5c5ce0a3 load scripts asynchronously 2017-06-29 12:17:08 +02:00
ansuz
cfc5907237 remove unnecessary style rules 2017-06-28 10:41:08 +02:00
ansuz
7de2683169 make all apps use clientside templates 2017-06-27 18:17:52 +02:00
ansuz
e9bfaa9a60 compile less clientside. remove compiled css 2017-06-27 14:25:02 +02:00
ansuz
99a44f119f don't send referrer headers on pads which may link outward 2017-05-30 10:44:40 +02:00
ansuz
233bb7a14f reorganize some html tags for smaller diffs 2017-03-29 18:38:06 +02:00
yflory
459b18c97b Add the loading screen in the HTML so that it is displayed before JS is loaded 2017-03-08 18:05:15 +01: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
ansuz
86adfbf27d update cache-busting directive in all supported apps 2017-02-28 10:47:18 +01:00
ansuz
8167ed9048 implement cache-busting everywhere 2017-02-17 12:39:01 +01:00
yflory
69fb8b4d2f Merge branch 'master' into soon 2017-01-23 15:13:26 +01:00
yflory
f8455875a9 Fix the NoScript (iframe not loaded) bug with inner iframes 2017-01-23 15:07:38 +01:00
Brandon Istenes
cd0931c951 UI improvements for mobile browsers 2017-01-12 18:49:46 +03:00
yflory
4963c77b61 Fix the title reset bug 2017-01-12 14:29:40 +01:00
ansuz
e9376a66c2 apply 'cp' class for unified styles 2016-12-27 14:29:20 +01:00
yflory
6351d1856f Remove the top bar and move its content in the applications' toolbars 2016-10-25 15:22:35 +02:00
yflory
f03018f3bc Improve the top bar and use the font awesome icons in /code 2016-09-28 15:28:25 +02:00
yflory
3d54413343 Improve the UI with FontAwesome icons 2016-09-27 18:33:03 +02:00
ansuz
fd0a7337a3 wait a full minute until requirejs times out 2016-08-04 12:44:27 +02:00
ansuz
750731d3db workaround for favicon magic 2016-07-07 14:03:06 +02:00
ansuz
fd3cd73d0b try to fix favicon bug 2016-07-07 13:40:03 +02:00
ansuz
6075849ed7 add favicons to /pad/ and /code/ 2016-07-06 22:17:18 +02:00
ansuz
7e8d66a141 filter unwanted elements when receiving patches 2016-07-06 14:51:34 +02:00
Yann Flory
5ef7e29a9b Add the latest changes from _socket into the netflux pad 2016-04-01 17:58:33 +02:00
Yann Flory
7237c751d5 Move 'vdom' to the main 'pad'.
Hide the right-hand panel (can de bisplayed with a 'debug' button)
Hide the IDs of users if they don't change their name
2016-03-16 17:09:08 +01:00
Caleb James DeLisle
51544db9a2 Completed adding of customization system and bottom infobar 2015-02-02 16:01:33 +01:00
Caleb James DeLisle
50c10f818e Added cryptsheet to cryptpad suite! 2015-01-29 17:55:18 +01:00