Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
yflory
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
joldie
35c39fae5d Added print button to code pad page. 2018-12-06 16:43:48 +01:00
yflory
b0f553e9ea Add a markdown toolbar to help with the markdown syntax 2017-11-27 12:17:35 +01:00
yflory
f4adbd980e Thumbnails for the code app 2017-10-24 18:49:58 +02:00
yflory
456370b1aa Base for Drive in sandboxed iframe 2017-09-21 17:59:26 +02:00
yflory
1131ef0172 Fix language selection in sandboxed iframes 2017-09-18 14:26:54 +02:00
Caleb James DeLisle
5f0383ae99 update version of sframe-boot because it was changed 2017-09-14 10:52:25 +02:00
Caleb James DeLisle
710418f42f Make LessLoader able to cache even inside of the sandbox iframe and don't load less compiler unless needed 2017-09-13 16:04:01 +02:00
yflory
d2787e3eff Make code2 the default code app 2017-09-05 11:36:02 +02:00
Caleb James DeLisle
b081603455 Update requirejs 2017-08-21 18:08:37 +02:00
yflory
5694505719 Fix syntax highlighting 2017-07-03 11:16:28 +02:00
ansuz
7a5c5ce0a3 load scripts asynchronously 2017-06-29 12:17:08 +02:00
ansuz
fca1ef4d36 hide unstyled content until the loading screen is displayed 2017-06-29 10:49:35 +02:00
ansuz
e9bfaa9a60 compile less clientside. remove compiled css 2017-06-27 14:25:02 +02:00
ansuz
a5ffd278a7 write styles for code in .less 2017-05-24 17:27:03 +02:00
ansuz
378bf2aa94 yflory's word wrap fix 2017-05-24 11:27:31 +02:00
ansuz
97cc4a6d54 add styling for tables in markdown preview 2017-05-23 18:03:35 +02:00
ansuz
0a54f0cf2d better alignment of preview and code entry 2017-05-19 16:21:26 +02:00
yflory
0bd4caeb7e Add the task list code to the markdown renderer 2017-05-18 14:57:04 +02:00
yflory
56bcdff890 Add a preview of the markdown content in the code editor 2017-05-18 12:16:26 +02:00
yflory
fbbf8a2829 Replace initialState by a placeholder in slide and code 2017-02-03 18:45:30 +01:00
yflory
5bc7766f44 Use a consistent toolbar across all apps 2016-12-16 18:35:49 +01:00
yflory
39bbf8a6c1 Fix the new userlist button and make the toolbar responsive 2016-10-13 14:24:59 +02:00
yflory
24fbe22c9d Improve the toolbar style and the way the userlist is displayed 2016-10-12 18:40:26 +02:00
yflory
261d2fecbc Get codemirror from bower and use that version in the code app 2016-09-29 16:23:27 +02:00
yflory
f03018f3bc Improve the top bar and use the font awesome icons in /code 2016-09-28 15:28:25 +02:00
ansuz
9b16d529ca add one more missing script that caused handlebar highlighting to break 2016-07-29 16:21:27 +02:00
ansuz
5e71a5473c add another missing script 2016-07-25 11:26:07 +02:00
ansuz
992bc4f449 add missing script 2016-07-25 11:09:25 +02:00
ansuz
93fed83a08 remove annoying border around editor 2016-06-29 15:13:45 +02:00
ansuz
df99395b4d fix a few more paths that I missed 2016-06-23 12:44:30 +02:00
ansuz
31aa09d6f6 work a bit more on import/export and code highlighting 2016-06-22 20:58:50 +02:00
Yann Flory
c2e0dded3a Fix an issue with the cursor sometimes disappearing when a patch was received
Update CodeMirror to the latest version (5.13.2)
2016-04-11 15:47:40 +02:00
Yann Flory
9a932a3f56 Patch Realtime into CodeMirror in CryptPad 2015-11-25 10:09:23 +01:00
Yann Flory
32f44161a7 Patch Realtime into CodeMirror in CryptPad 2015-11-25 09:48:30 +01:00