Commit Graph

496 Commits

Author SHA1 Message Date
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
yflory
d25d9c4f83 Fix UI issues when printing code 2020-10-26 14:57:54 +01:00
yflory
08ba54b5cb Merge branch 'history' into staging 2020-10-05 16:41:19 +02:00
yflory
784306f947 Display a warning bar when viewing a versioned link 2020-10-01 15:29:43 +02:00
yflory
5824b0f58b Add more preview options in code (HTML) 2020-09-23 16:34:40 +02:00
yflory
c747a36910 Make sure we don't initialize orgmode multiple times 2020-09-08 11:28:58 +02:00
yflory
30813865e2 New orgmode version 2020-07-10 16:31:42 +02:00
ansuz
f6f5bef83e add a margin below rendered media-tags to match that of paragraphs 2020-07-06 15:27:14 -04:00
ansuz
0f2f6c1a19 give tables the same margin-bottom as paragraphs in the code preview pane 2020-07-06 11:48:32 -04:00
ansuz
b5a18e8e09 force redraw for asynchronously rendered plugin content 2020-07-03 17:38:00 -04:00
yflory
81cb7d2bb3 lint compliance 2020-07-02 16:06:20 +02:00
Ludovic Dubost
592b32ed23 Added support for markmap - adding mindmaps in code pad 2020-06-29 09:54:20 +02:00
yflory
20f7c0924b Fix XXX 2020-05-28 12:39:36 +02:00
ansuz
6f882e0ddd refactor repeated 'drawer' pattern 2020-05-26 12:51:37 -04:00
ansuz
2925316058 remove hardcoded translations 2020-05-26 11:52:02 -04:00
ansuz
264f4950bd don't show the help menu in embed mode 2020-05-25 17:12:12 -04:00
ansuz
73a168f09b mark hardcoded translations and duplicated code with XXX 2020-05-25 16:18:59 -04:00
yflory
e6ce5a55e5 Add missing button for all the apps 2020-05-13 14:42:22 +02:00
ansuz
c860819eb1 guard against coercing undefined to a string
visible in the author's tooltip when author marks were enabled
for the document, but hidden by the local user
2020-04-22 15:09:27 -04:00
yflory
cf8841cdfa Remove cba on non-owned pads 2020-04-22 10:44:16 +02:00
yflory
e5f1fa7ef0 Fix color by author automatically enabled for non-owned pads 2020-04-22 10:39:57 +02:00
yflory
aeb81fdfad lint compliance 2020-04-21 13:35:36 +02:00
yflory
1d0feeb323 Fix cba reset on join. Change how the cba state is stored 2020-04-21 12:04:24 +02:00
yflory
d8855ed5f7 Remove XXX 2020-04-20 18:32:13 +02:00
yflory
f2641bc0ee Fix initial marker 2020-04-20 17:57:25 +02:00
yflory
6d84fc5b8a Add initial marker to fix errors while 'joining' markers 2020-04-20 17:32:45 +02:00
yflory
49eacf752b Fix markers errors 2020-04-20 16:37:40 +02:00
yflory
b208ca367d Merge branch 'staging' into cba 2020-04-20 15:38:47 +02:00
yflory
9f5f4a4d52 Fix possible duplicate author id 2020-04-20 15:38:27 +02:00
yflory
1e9b9913c5 Better debug function and fix marker error 2020-04-17 18:18:16 +02:00
yflory
adae4b690b outer.css cache busting 2020-04-17 17:38:15 +02:00
yflory
9ba2d11cd5 Guard against a type error 2020-04-17 16:50:41 +02:00
yflory
283f739be5 lint compliance 2020-04-17 15:30:27 +02:00
yflory
dd814713dd Merge branch 'staging' into cba 2020-04-17 15:17:24 +02:00
yflory
f03713e60a Fix small issues, clean debugging logs and add known issues 2020-04-17 15:16:49 +02:00
yflory
1d3f0ded81 Fix more markers errors 2020-04-17 10:31:37 +02:00
yflory
38acd01b35 Fix issues with falsy values 2020-04-16 16:24:09 +02:00
yflory
b74a4b6bb4 Fix more cba issues and add debugging data 2020-04-16 16:03:17 +02:00
yflory
026bf6a425 Fix obvious issues in cba 2020-04-16 11:20:18 +02:00
yflory
9c5f0c0d6f Use rgba instead of #RRGGBBAA for the author markers 2020-04-16 10:36:51 +02:00
yflory
fd2ee0fced Add comment 2020-04-15 16:23:36 +02:00
yflory
94c9e47d32 Remember the state of cba per user in their owned pads 2020-04-15 15:36:37 +02:00
yflory
87fc1f8daf Show/hide and enable/disable cba 2020-04-15 15:20:04 +02:00
yflory
88760fde6a Clean the code 2020-04-15 13:27:25 +02:00
yflory
d41c362d46 Fix more errors after ot 2020-04-14 17:11:47 +02:00
yflory
a70233d492 Fix OT errors 2020-04-10 14:41:51 +02:00
yflory
62fde59a89 temp 2020-04-09 16:06:04 +02:00
yflory
ee3adccafc Merge branch 'code-authorcolors-PR' of https://github.com/stoppegp/cryptpad into stoppegp-code-authorcolors-PR 2020-04-08 17:03:09 +02:00
stoppegp
272c1007db authorcolor storage optimizations 2020-04-07 20:49:36 +02:00
stoppegp
56031a5c14 authorcolor storage optimization, add undefined checks before access, code styling 2020-04-07 20:30:55 +02:00
stoppegp
79325b8cca bugfix authorcolors: wrong end position on multiline edit 2020-04-07 19:07:12 +02:00
stoppegp
5f7bc9fca5 fix remove author color button when nothing is selected 2020-04-07 17:14:57 +02:00
stoppegp
8696ecc692 add 'remove authorcolors' button 2020-04-07 16:52:38 +02:00
stoppegp
45b5eb7cac add basic author colors to code app 2020-04-07 16:08:28 +02:00
yflory
894a355f0a Merge filepicker and share iframes 2020-04-07 14:27:44 +02:00
yflory
6cde052a46 Update mermaid 2020-03-27 13:54:43 +01:00
yflory
2443c52d42 Fix checkmark in kanban markdown 2020-03-10 15:57:18 +01:00
yflory
0975f253ab Display body and tags 2020-03-04 17:48:20 +01:00
yflory
f8ddb6b7bc Fix anchor link in code 2020-02-11 18:24:12 +01:00
yflory
a6e3208dff lint compliance 2020-02-11 18:20:45 +01:00