Commit graph

349 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
9019d92291 removing bower: migrate nthen
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:42 +01:00
Pamplemousse
6c10407802 removing bower: migrate bootstrap
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
a847a5300a removing bower: migrate file-saver
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
871110ec12 removing bower: migrate chainpad*
Also, explicitly add `chainpad-netflux`.

Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01:00
Pamplemousse
e4dea5824b removing bower: migrate hyperjson
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:41 +01: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
Pamplemousse
c8859524ee removing bower: migrate components-font-awesome
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
ansuz
15cf523144 don't load the janky test framework that we aren't even using 2021-11-22 16:35:35 +05:30
ansuz
a2ad37a8ad stop supporting IE
1. stop polyfilling promises
2. use named defines for chainpad-listmap and its dependencies while we're at it

use 'bower update' for things to work
2021-09-03 20:00:31 +05:30
ansuz
575269e5a1 use a standard function for creating basic media-tags 2021-07-01 13:18:08 +05:30
yflory
aa49e87d97 Disable creation of new polls from the old app 2021-06-11 16:15:31 +02:00
yflory
e62d654b90 Add 'Store in drive' menu entry to the poll and sheet apps 2021-05-05 10:41:13 +02:00
yflory
b1cab1df98 Move diffDOM 2021-04-27 15:53:39 +02:00
yflory
676178c0bb Fix title reset in polls 2021-03-29 11:41:23 +02:00
yflory
1a0f06f860 Fix userlist in non-degraded apps 2021-03-04 18:40:38 +01:00
David Benqué
c3611ef38a Address remaining // XXX 2021-02-09 20:27:16 +00:00
ansuz
5e72c5c8a0 set poll comments color for dark mode 2021-02-09 19:21:37 +05:30
David Benqué
a2adf0f0a8 FIX poll comment colors 2021-02-05 10:08:51 +00:00
David Benqué
16e4b76f4b Dark toolbar and apps 2021-02-04 17:44:29 +00:00
yflory
519d5d7b5c New CodeMirror default theme on dark mode 2021-01-28 18:22:08 +01:00
yflory
623aba2705 Migrate all remaining apps to support dark theme 2021-01-28 17:17:29 +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
c806b97076 resolve conflicts between rebrand and staging 2020-12-29 17:20:53 +05:30
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
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
yflory
fa6f470688 Fix image paste in polls 2020-07-09 17:03:43 +02:00
yflory
896a1b1ddd Add support for drop & paste in rich text and polls 2020-07-09 12:40:31 +02:00
yflory
163c6556a0 Update atime when embedding a mediatag to a pad 2020-06-26 15:38:30 +02:00
ansuz
264f4950bd don't show the help menu in embed mode 2020-05-25 17:12:12 -04:00
yflory
e6ce5a55e5 Add missing button for all the apps 2020-05-13 14:42:22 +02:00
yflory
94eac09c61 Add share and access to the bottom bar 2020-05-07 15:26:12 +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
894a355f0a Merge filepicker and share iframes 2020-04-07 14:27:44 +02:00
yflory
812d8f8770 Deprecate 'skip PCS' feature 2020-03-27 15:48:34 +01:00
yflory
578042154e Better reconnect after invalid lastKnownHash 2020-03-13 17:39:16 +01:00
ansuz
cac114bb52 merge staging into pending allow-list work 2020-02-21 13:52:10 -05:00