Commit graph

455 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
yflory
b2788744de Merge branch 'drawio-bower' into 5.4-rc 2023-06-30 12:45:54 +02:00
yflory
a4e821e4fa API: add autosave support 2023-06-22 14:39:04 +02:00
yflory
30bb4d61bb Merge branch 'main' into debower 2023-05-02 13:55:40 +02:00
Pamplemousse
9019d92291 removing bower: migrate nthen
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:42 +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
dd25b85554 removing bower: migrate requirejs and requirejs-plugins
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
yflory
7456c0012c Fix overflow issues on small screen 2022-12-22 13:56:50 +01:00
yflory
0e27daffc0 Remove debugging console.log 2022-10-17 14:23:57 +02:00
yflory
bfd1b5138a Merge branch 'staging' into new-asciidoc 2022-10-17 14:07:02 +02:00
ansuz
71922dbae4 add noscript tags to apps 2022-09-05 19:15:32 +05:30
yflory
1d001f4ca4 Support inline mediatag in asciidoc rendering 2022-08-31 18:08:46 +02:00
Maxime Cesson
7906079a2b Render asciidoc syntax 2022-08-31 11:52:32 +02:00
yflory
b6b4690e97 Fix race condition with preloading style 2022-08-31 11:42:26 +02:00
ansuz
524ba22c46 update hardcoded preloading.js cache-busting version string 2022-08-30 14:27:10 +05:30
Maxime Cesson
581cb917b7 Render AsciiDoc preview 2022-08-23 12:00:44 +02:00
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
d23cdb333c hide the code preview button when in present mode 2022-06-01 16:42:10 +05:30
David Benqué
3d8832095b Fix markdown preview width in Code 2022-05-31 09:29:06 +01: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
bff8b54304 Merge branch 'mermaid-8.13' into staging 2021-12-08 09:14:47 +05:30
yflory
973195a131 Fix TypeError in codemirror with code blocks 2021-11-25 12:22:44 +01:00
ansuz
f870b87214 upgrade mermaid to 8.13.4 2021-11-19 17:30:51 +05:30
ansuz
c416303e1d set uid in cursor object in outer scope
rather than within each app that uses cursors
2021-08-27 18:23:07 +05:30
ansuz
bf02ec7359 animal emojis in color-by-author 'written by' tooltips 2021-08-26 14:30:51 +05:30
ansuz
68efd54917 include uid in cursor data for animal avatars 2021-08-25 16:18:09 +05:30
yflory
6faaec5042 lint compliance 2021-07-22 12:06:48 +02:00
yflory
0fc2269a3a Create links in the drive 2021-07-20 10:40:40 +02:00
ansuz
575269e5a1 use a standard function for creating basic media-tags 2021-07-01 13:18:08 +05:30
yflory
ec5ee3eaff Fix resizing codemirror in the code app #745 2021-06-07 17:32:50 +02:00
yflory
92bc7e29dd Fix code app present mode on mobile #460 2021-04-22 15:23:34 +02:00
David Benqué
f54e771d0f Update grey logo and use in empty Code and Slides 2021-02-09 21:08:19 +00:00
David Benqué
0bd50579c4 Fix link color in markdown preview 2021-02-08 11:06:36 +00:00
yflory
519d5d7b5c New CodeMirror default theme on dark mode 2021-01-28 18:22:08 +01:00
yflory
e4dbd04103 Fix iframe URL caching 2021-01-27 13:55:25 +01:00
yflory
9756e87f1b Admin, accounts code and debug dark mode 2021-01-27 13:44:32 +01:00
yflory
89406f5d89 Start with black background when OS is set to dark theme 2021-01-26 17:09:10 +01:00
yflory
45dff2f5c4 Cleanup 2021-01-22 18:30:54 +01:00
yflory
49423474a8 Make application colors easier to maintain 2020-11-13 17:05:26 +01:00
yflory
23deb5afbe Merge branch 'soon' into rebrand 2020-11-09 17:05:07 +01:00
yflory
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
yflory
6f76ee445c Fix UI issues when printing code 2020-11-03 16:48:31 +05:30
yflory
3f67cb05ef Merge branch 'sessionStorage' into rebrand 2020-10-30 15:19:17 +01:00
David Benqué
c1a5f236b6 Change logo in Code and Slide empty previews 2020-10-27 17:07:47 +00:00