Commit graph

148 commits

Author SHA1 Message Date
ansuz
71922dbae4 add noscript tags to apps 2022-09-05 19:15:32 +05:30
ansuz
8089698f4c remove noscript tags from inner.html
because inner.html should only ever load if javascript is enabled
2022-09-05 19:11:19 +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
58b98a77e2 set titles for pages which still used the default 2022-04-11 17:49:13 +05:30
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
6a2ec4ae7e consider profile links unsafe 2022-02-25 13:14:59 +05:30
ansuz
030585d26e clean up some code smell 2022-02-10 12:10:30 +05:30
ansuz
ae7e5e0636 remove more XXX notes, add stricter team invite link content validation 2021-09-07 18:59:01 +05:30
ansuz
f6eb6d5ca6 remove some hardcoded translations 2021-09-06 18:25:47 +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
7231fc6926 media-tag accessibility and UX improvements
* preview content and prompt users to describe media when uploading
* add 'alt' attributes to rendered media-tag content if it is included in the file's encrypted metadata
* add alt attributes to some related UI elements
2021-08-30 17:51:50 +05:30
ansuz
c4fcc9f732 WIP comments and non-functional changes 2021-08-25 13:03:27 +05:30
ansuz
bcdf2f467f remove hardcoded translation 2021-05-03 17:48:58 +05:30
yflory
5166f7a1b9 Change text when copying public key 2021-05-03 12:52:08 +02:00
David Benqué
82f85d1bde Fix website link Save button on profile 2021-03-15 17:03:52 +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
e41e6c39ce Fix profile corrupted cache 2021-01-28 13:58:43 +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
ansuz
ad7133c53c fix a typo. closes #662 2020-12-15 10:55:37 +05:30
ansuz
b307b98926 remove hardcoded translation from /profile/ 2020-12-11 17:05:43 +05:30
David Benqué
32e572d056 De-emphasise "copy key" button on profile 2020-12-10 11:57:42 +00:00
David Benqué
1c1333068a Fix buttons on user profile 2020-12-10 11:44:00 +00:00
yflory
59f369659a Fix button style conflict wiht bootstrap 2020-12-09 15:11:42 +01:00
yflory
ab726811f9 Fix race condition 2020-12-09 15:01:17 +01:00
yflory
892fca7d99 Improve contact requests process 2020-12-09 14:54:22 +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
589d32c062 Stop using sessionStorage for login redirect and new pad options 2020-11-03 16:48:31 +05:30
ansuz
99b102e75e use canonical form of user signing keys on user profiles 2020-09-23 14:29:22 +05:30
ansuz
607deeaf24 remove the usual 'upload' tooltip from avatars upload buttons 2020-06-08 16:31:11 -04: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
75e5d3cc42 Move the mediatag and avatar code outsite of common-ui-elements 2020-03-30 12:09:12 +02:00
David Benqué
b20beee2dc remove // XXX related to translation keys 2020-03-25 16:40:41 +00:00
David Benqué
bad3ae3efd move copy key button 2020-03-24 19:34:17 +00:00
yflory
facc6d877a Remove hardcoded translation key 2020-03-24 18:36:55 +01:00
yflory
9aaddea148 Add edPublic to user profiles 2020-03-24 13:18:32 +01:00
David Benqué
fede44c8e5 remove XXXs related to translation keys 2020-02-07 11:04:51 +00:00
yflory
78795a3b4d Login or register in profile for anonymous users 2020-02-05 14:54:23 +01:00
David Benqué
cd586b626d unify keys that say 'X is/is not in your contacts' 2020-01-27 14:06:57 +00:00
David Benqué
dc47091637 outline mute button 2019-12-19 14:48:57 +00:00
yflory
361292ff01 Fix button width in profile 2019-12-19 15:37:09 +01:00