Commit Graph

806 Commits

Author SHA1 Message Date
takumi9942
d30fa8298b
fix: media print css (#2593) 2020-11-01 13:03:22 -05:00
Edoardo Morassutto
a37a73dede
fix: inline math interpreted as attributes (#2645)
When using inline math ($e^{-x^2}$) the curly braces are interpreted as
attributes by markdown-it-attrs. Since most of the times they are not
valid attributes they simply get removed.

This patch escapes the curly braces (the default attribute delimiter),
fixing the KaTeX rendering errors.

It would be nice to simply skip that rule for `katex_inline` block types
but as far as I know markdown-it-attrs doesn't have such an option.

Fixes #1581
2020-11-01 13:00:39 -05:00
Nicolas Giard
a57d9af34c
Merge pull request from GHSA-pgjv-84m7-62q7 2020-10-23 18:49:25 -04:00
Kaito Minatoya
0a1f0ac9e3
fix: incorrect cancel button i18n key (#2543) 2020-10-05 22:51:57 -04:00
NGPixel
63c8a308ba fix: remove bugsnag + update deps 2020-10-03 17:30:56 -04:00
NGPixel
fe890979af fix: bypass auth redirect cookie when set to homepage 2020-10-03 17:11:34 -04:00
Иван
5668eea40a
fix: tabset tabs can't be scrolled (#2442)
* fix: tabset tabs can't be scrolled

Fix for #2091. The change advised in that issue works brilliantly.

* fix: tabset scrollbar is visible even if unnecessary

* fix: tabset tall headers

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-09-26 19:07:17 -04:00
NGPixel
b0f61d6605 feat: rocket.chat auth module 2020-09-20 20:15:51 -04:00
James C
5a9df24f04
fix: markdown editor URL autocompletion (#2452)
Fix for #2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
2020-09-19 17:55:38 -04:00
NGPixel
741b99098a fix: missing localization strings for page select dialog 2020-09-13 20:08:42 -04:00
NGPixel
e782f85a1d fix: missing localization strings in login screen 2020-09-13 19:55:20 -04:00
NGPixel
a381d4f314 fix: login bg insert from asset not working 2020-09-13 19:35:09 -04:00
NGPixel
6340f21969 fix: some auth icons are monochrome 2020-09-13 19:25:58 -04:00
takumi9942
2d52ba3303
fix: hidden download button in admin locale page on smaller screens (#2429) 2020-09-13 13:51:21 -04:00
NGPixel
8f6cba262f fix: draw.io svgs are no longer removed with linebreaks (#2415) 2020-09-12 14:05:24 -04:00
NGPixel
78417524b3 feat: ldap avatar support 2020-09-07 20:02:33 -04:00
NGPixel
dab5dcfbc1 fix: auth strategy order not saved 2020-09-07 15:04:02 -04:00
NGPixel
5534d50b18 fix: remove unused dep in nav-header
***NO_CI***
2020-09-06 17:32:22 -04:00
NGPixel
48d93877e3 fix: search autocomplete off 2020-09-06 17:17:48 -04:00
NGPixel
ef739de970 feat: purge history utility 2020-09-05 23:32:00 -04:00
NGPixel
8490fc1267 feat: handle disabled auth strategies 2020-09-05 18:33:15 -04:00
NGPixel
715364de1d fix: login screen UI on dark mode 2020-09-05 15:31:10 -04:00
NGPixel
062a0b7979 feat: logout by auth strategy + keycloak implementation 2020-09-01 20:01:39 -04:00
NGPixel
ae733392f3 feat: password reset 2020-08-30 21:46:55 -04:00
NGPixel
e319355017 feat: enable/disable TFA per user 2020-08-30 14:18:22 -04:00
NGPixel
32d67adee1 feat: social login providers with dynamic instances 2020-08-30 01:36:37 -04:00
NGPixel
8c205b6950 fix: site title check + UI fixes + 2FA setup on account verify 2020-08-23 12:58:56 -04:00
NGPixel
f72530bf84 refactor: deps update + 2FA setup + verify 2020-08-22 19:37:49 -04:00
Alice Barker
b588e5522c
fix: add overflow scroll to search results (#2232)
* Add overflow scroll to search results

All search results were not visible on desktop screens beyond the viewport height, adding overflow-y: scroll fixes this

* Update search-results.vue
2020-08-15 13:35:11 -04:00
NGPixel
26af63a80b fix: login input hints 2020-07-20 00:22:29 -04:00
NGPixel
e9044698c9 feat: new login complete UI (wip) 2020-07-19 21:42:20 -04:00
NGPixel
10f17c5712 feat: redirect on login based on group 2020-07-19 15:13:35 -04:00
NGPixel
be499e5795 fix: auth strategy dependent username label 2020-07-19 13:20:43 -04:00
NGPixel
383dfd3010 feat: edit existing diagram data 2020-07-12 19:32:17 -04:00
NGPixel
f4502ccef7 feat: markdown editor process markers 2020-07-12 19:20:10 -04:00
NGPixel
52d0af19b4 feat: diagram rendering + post-processor (wip) 2020-07-12 15:58:45 -04:00
NGPixel
5f99b30024 feat: code folding + diagram folding 2020-07-12 14:32:53 -04:00
NGPixel
d209a4158f feat: draw.io code insert + preview (wip) 2020-07-12 13:24:25 -04:00
NGPixel
c8608315e9 feat: draw.io editor dialog (wip) 2020-07-10 23:11:53 -04:00
NGPixel
e5ea4af089 fix: missing aria-label on page view (#2154) 2020-07-07 23:01:44 -04:00
NGPixel
1ced9649c7 feat: enforce 2fa admin setting + hide local on login screen 2020-07-05 23:55:11 -04:00
NGPixel
2b560327ff feat: add 2fa option to admin security 2020-07-05 18:59:14 -04:00
NGPixel
b2f292cc39 fix: MSSQL migration 2.5.1 2020-07-05 15:59:02 -04:00
NGPixel
b475795595 feat: login bg + bypass + hide local option 2020-07-05 01:36:02 -04:00
NGPixel
52125eee73 fix: deps update + login gql temp fix 2020-07-03 20:09:22 -04:00
Nicolas Giard
c009cc1392
feat: new login experience (#2139)
* feat: multiple auth instances

* fix: auth setup + strategy initialization

* feat: admin auth - add strategy

* feat: redirect on login - group setting

* feat: oauth2 generic - props definitions

* feat: new login UI (wip)

* feat: new login UI (wip)

* feat: admin security login settings

* feat: tabset editor indicators + print view improvements

* fix: code styling
2020-07-03 19:36:33 -04:00
Regev Brody
41327dd1e8
feat: support MultiMarkdown tables (#2126) 2020-07-03 17:46:07 -04:00
NGPixel
c9f3105997 misc: update dependencies + fix vuetify styles 2020-06-24 23:57:06 -04:00
NGPixel
969e7e2fe6 fix: table styles dark mode 2020-06-22 23:56:18 -04:00
NGPixel
abe86928fb feat: markdown spellcheck mode 2020-06-22 18:10:48 -04:00
NGPixel
55bea7d48b fix: enable spellcheck in visual editor 2020-06-22 17:27:42 -04:00
NGPixel
43e73565af fix: visual editor table styling 2020-06-22 00:34:37 -04:00
NGPixel
4cb7f33dcf feat: visual editor code + sub/sup + table props 2020-06-21 14:47:11 -04:00
NGPixel
ff4e25d5ca fix: comments author locale string 2020-06-21 01:06:40 -04:00
NGPixel
98016d3c42 fix: editor saved state 2020-06-21 01:04:36 -04:00
NGPixel
09114524ff feat: live preview of custom css in editor 2020-06-21 00:40:18 -04:00
NGPixel
4855051d87 feat: page published state + comments localization 2020-06-20 22:08:59 -04:00
NGPixel
83b83a7510 feat: page css + scripts 2020-06-20 16:39:36 -04:00
NGPixel
53ddb50b51 feat: save page scripts + styles 2020-06-20 01:11:05 -04:00
NGPixel
718c14dd74 feat: editor props scripts + styles code editor 2020-06-19 21:00:44 -04:00
Regev Brody
0a16929a57
fix: editing buttons showing up even if no action is allowed (#2043)
* feat: Edit / Page Create Buttons showing up even if no action is allowed #1780
2020-06-19 18:54:05 -04:00
NGPixel
b723d7d626 fix: markdown core props + styles/scripts permissions 2020-06-18 22:49:26 -04:00
Mauro Frischherz
9e4ed7986c
fix: include locale in sidebar browse links (#1807)
Co-authored-by: Mauro Frischherz <mauro.frischherz@eoscop.ch>
2020-06-18 22:05:41 -04:00
Regev Brody
e03a80dccc
feat: underline markdown support (#2073)
* fix: no markdown support for underline #2072
2020-06-18 18:37:24 -04:00
NGPixel
330c90229e fix: admin locale - help button 2020-06-17 23:05:59 -04:00
NGPixel
939fa0dc2e fix: use quote icon for plain blockquote 2020-06-07 19:34:01 -04:00
NGPixel
deacd80c45 fix: dashboard invalid version on load 2020-06-05 14:46:54 -04:00
DAlperin
ca87f9088a
fix: respect image floating from visual editor (#1981) 2020-06-02 19:52:56 -04:00
NGPixel
4c038c4ad6 fix: roboto-mono incorrect path for arabic locales 2020-06-01 22:14:57 -04:00
NGPixel
a75ead44d0 fix: update saved state for page meta 2020-06-01 21:52:16 -04:00
NGPixel
144950ea70 fix: stop search loading when exiting 2020-06-01 21:35:10 -04:00
takumi9942
bcd32d44e9
fix: sidebar base64 decode (#1975) 2020-06-01 10:54:02 -04:00
NGPixel
3891816758 fix: setup assets location + mysql migration 2.4.13 2020-05-31 22:39:45 -04:00
NGPixel
d19bf6cce0 fix: hide comment count (wip) 2020-05-31 18:28:53 -04:00
NGPixel
7a946ec0f5 feat: edit comment 2020-05-31 18:15:15 -04:00
NGPixel
e74605501f feat: comments post min delay 2020-05-31 15:54:20 -04:00
NGPixel
8a74904731 feat: comments delete + refresh on post + formatting 2020-05-31 02:13:41 -04:00
NGPixel
83f7c2867d fix: admin security UI 2020-05-30 16:42:48 -04:00
NGPixel
1f9e5b3fd0 feat: delete user with replace target 2020-05-30 16:34:09 -04:00
IndieRodo
006dae1221
fix: links to subtitles with special characters (#1949)
This issue is related to #1006 . The $vuetify.goTo() function expects a UTF-8 ev.target.hash . However, the markdown CRM URIencodes the ev.target.hash (this is great for browser compatibility, not so much for Vuetify)

Adding decodeURIComponent() to ev.target.hash fixes compatibility with Vuetify.

This fixes GitHub issue #1873
2020-05-30 13:10:44 -04:00
daneallen
20e6bc1a70
fix: Open Redirect Vulnerability Mitigation - CWE 601 (#1963)
* Open redirect vulnerabilty mitigation

* Refacted Open Redirect to user configurable and corrected incorrect security variable names.

Co-authored-by: danallendds <daniel.allen@friends.dds.mil>
2020-05-29 18:24:20 -04:00
NGPixel
1222355046 feat: comments - default provider create (wip) + permissions 2020-05-26 22:56:24 -04:00
NGPixel
a8578c5012 misc: pack twemoji into asar 2020-05-24 15:17:36 -04:00
NGPixel
a0618ee4f6 feat: comments UI improvements 2020-05-23 18:49:10 -04:00
NGPixel
15a45f8b91 fix: admin UI improvements 2020-05-22 23:29:42 -04:00
Reinier van der Leer
d44c9a05cf
fix: make sidebar scrollable if higher than the viewport (#1829) 2020-05-22 15:55:47 -04:00
Dan Later
2c83e3bd84
fix: CKEditor RTL locale support (#1636) 2020-05-22 13:34:53 -04:00
Louis Meyer
e2935488a3
fix: properly wrap very long words in markdown editor (#1743)
* Fix: Fix word-wrap in markdown editor

Overwrite css-property 'work-break: normal' for '.CodeMirror-wrap
pre.CodeMirror-line', which lead to words not wrapping correctly,
with 'word-break: break-word' to properly wrap words.

* Add rule for 'p.line' under .editor-markdown-preview-content

Add 'overflow-wrap: break-word;' for line in the preview of the markdown editor, so the preview properly wraps and does not overflow.
2020-05-22 13:31:31 -04:00
NGPixel
9bd77a9ccd feat: confetti during setup success 2020-05-21 00:34:24 -04:00
NGPixel
df246af3bb fix: remove makefile + update nvmrc version 2020-05-21 00:20:57 -04:00
NGPixel
e1382771cf feat: extensions check + resolver 2020-05-21 00:20:57 -04:00
NGPixel
abc9e4e1d4 feat: comments UI 2020-05-21 00:20:57 -04:00
NGPixel
fb6c01c538 fix: legacy page view 2020-05-21 00:20:57 -04:00
NGPixel
887e8a0f5a feat: comments disqus + commento 2020-05-21 00:20:57 -04:00
NGPixel
f6bad765a2 feat: assets move + comments migration + admin users UI 2020-05-21 00:20:57 -04:00
NGPixel
de1d4ca12a feat: comments side panel 2020-05-21 00:20:57 -04:00
NGPixel
1def5289af feat: admin comments page 2020-05-21 00:20:57 -04:00
takumi9942
bb21f6ed3e
fix: resize Font Awesome icon (#1897) 2020-05-21 00:04:15 -04:00
Elliott Shugerman
ab1f93be1b
feat: pages visualize improvements (#1914)
* viz pages | add ctrl-click to open page in new tab

* viz pages | rewrite `hierarchy` method

* viz pages | pan and zoom

* fix: pages visualize height + UI fixes

Co-authored-by: NGPixel <github@ngpixel.com>
2020-05-20 23:54:50 -04:00
Seyed Sajad Kahani
1efdd6dd5e
fix bullets position in rtl mode (#1892) 2020-05-15 13:28:10 -04:00