Commit Graph

784 Commits

Author SHA1 Message Date
Oleksandr Koltsov
24dbc097cb
fix: change spelling of Kiev to Kyiv (#5285)
Co-authored-by: Alex Koltsov <alex@slinex.com>
2022-05-13 16:18:03 -04:00
NGPixel
63ecb32494
fix: missing aria attributes + controls on tabset component 2022-04-03 16:55:11 -04:00
Tomas McNamer
fc6e4ab9c4
feat: add link to admin area on welcome page (#4035)
* feat: Add link to admin area on welcome page

See: #1259

* fix: remove trailing slash from welcome admin button

* fix: welcome page admin button link

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-02-12 18:14:27 -05:00
NGPixel
afafb4f4e0
fix: md task list - use same config as client 2022-02-12 17:28:34 -05:00
NGPixel
a04f7bd650
fix: force uploads to use auth headers instead of cookie 2022-01-22 19:52:59 -05:00
NGPixel
92fe9d3e31
fix: view source of page version crash (#3297) 2022-01-10 17:20:13 -05:00
David H
5210e14b57
fix: add scrollbar for big diagrams (#4120)
In case of large DrawIO diagrams, today it is sometimes impossible to display it totally on the screen.
This quick workaround provides a way to enable a scrollbar if the width of the diagram is higher than the browser/screen width.
2021-12-26 17:43:39 -05:00
NGPixel
43cc114ff0
fix: visualeditor font sizes not working in rendered version 2021-12-24 20:24:04 -05:00
NGPixel
79bdd44093
fix: force download of unsafe extensions 2021-12-24 20:18:12 -05:00
NGPixel
e79e591f9e
fix: handle scroll to header in tabset hidden tab 2021-12-17 23:21:08 -05:00
NGPixel
5d3e81496f
fix: sanitize SVG uploads 2021-12-17 21:41:38 -05:00
NGPixel
0d7d95d2ac
fix: markdown checkbox rendering with links 2021-12-08 23:56:24 -05:00
anatawa12
29f173c24c
fix: query parameter on tags page (#4668) 2021-11-06 01:16:11 -04:00
broxen
813df21020
fix: prevent malformed paths for pages (#4533)
* First take on removing erroneous path characters

Paths should not accept trailing slashes or hashtags. This is a first attempt at nullifying those.

* Use rules to verify path before acceptance

Use Regex and rules to verify paths before acceptance

* Rules to prevent any leading or trailing slashes

* Complex slug for regex on path, but it elminates special chars

* Added yarn.lock to .gitignore

* Maybe we do want yarn.lock afterall

* Adding yarn.lock

* Move Regex pattern outside of export
2021-10-10 14:56:20 -04:00
n1xx1
e8d56c28eb
fix: default theme summary and detail (#4156)
Fix incorrect styling with detail/summary elements when nested together.
2021-10-09 16:54:36 -04:00
François Karman
cc4c2bfcd5
fix: update social-sharing.vue to have proper icons (#4556)
facebook and linkedin icons were invalid
2021-10-09 14:03:24 -04:00
broxen
3e795777ec
fix: hide keyline when footnotes are preceded by header (#4529)
Hide key-line created by `markdown-it-footnote` template when footnotes are directly preceded by header.

Examples:
```md
# References
[^1]: Shows no key-line because References header has one already

# New Page
Text goes here and whatever else

[^1]: these footnotes have no preceding header and will show a key-line
```
2021-10-01 20:26:49 -04:00
broxen
8aa02318b5
fix: display of Headers within Details Summary (#4491)
* Header formatting for Details Summary

Cleaning up Headers within Details Summary

* Fix for TOC Anchor location

Fix for TOC Anchor location within Details Summary

* display: none for the keyline seems smarter

* Fixes to accommodate large summaries

Fixed to accommodate larger summaries containing both headers and phrasing text. Still removing keylines for summaries with ONLY a header.
2021-10-01 20:21:46 -04:00
Иван
14cb17c227
fix: spoiler summary overflows it's parent (#2502) 2021-10-01 20:21:13 -04:00
bavis-m
b3d9a183ea
fix: anchor links - use MouseEvent.currentTarget (#4236)
Co-authored-by: Mark <mark@mhack.io>
2021-09-11 17:05:14 -04:00
Mostafa
9f19543488
fix: add missing decodeURIComponent while page load (#4244) 2021-09-11 17:04:17 -04:00
tsh96
7e997aada5
fix: resolve admin pages pagination bug (#4280) 2021-09-11 16:59:10 -04:00
NGPixel
84b927915e fix: convert page - task list + UI fixes 2021-04-02 15:15:35 -04:00
NGPixel
26f1c0f372 feat: convert page 2021-04-02 00:39:11 -04:00
scienceasdf
cfbd3dca00
Fix: in group edit rules, write scripts permission and write styles permission can be configured. (#2829)
At present, the user that are not in the administrator group have no access to edit scripts and styles in page editor panel. This commit add configuration in group rule manage webpage so that users' permission on writing styles and writing scripts can be modified.
2021-01-29 14:17:30 -05:00
Guillaume Hanotel
e3fd967ad7
feat: ability to open search result in new tab with middle-click (#2919) 2021-01-29 14:14:27 -05:00
Marwane Kalam-Alami
b5af931f88
fix: support tags containing special characters (#2743) (#2748) 2020-12-13 14:56:31 -05:00
avioral
089b7850d9 fix: broken draw io diagram on rtl mode, improve elasticsearch config (#2647)
* - Modify elastic settings
- Add tags field to index
- Modify elastic search query
- Remove empty entities from build suggests list

* Fix map parser error

* - Fix broken drawio svg diagram (rtl issue)

* - Restore the spaces in objects to respect the project formatting rules.
- Omit explanation line
2020-11-02 11:59:34 -05:00
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