Commit Graph

796 Commits

Author SHA1 Message Date
NGPixel
8715cd69b2
feat: edit shortcuts 2022-09-20 16:55:05 -04:00
Nicolas Giard
fa35f3a254
fix: footer text overflow on smaller desktop screens 2022-09-18 20:24:22 -04:00
Sandhya Veludandi
4e5da41d35
fix: page cursor and pagination (#5541)
* fix: search results not displaying on first page
* fix: page cursor position stays the same between page selection
2022-08-14 19:07:09 -04:00
Nicolas Giard
e78953d018
fix(admin): update admin groups page rules write:pages label to match actual permissions 2022-07-19 18:20:03 -04:00
NGPixel
48077fc9e5
feat(admin): make page extensions configurable 2022-06-24 22:20:36 -04:00
Nicolas Giard
18f9165945
fix(graphql): add missing admin mail name variable to save mutation 2022-06-11 17:55:16 -04:00
Nicolas Giard
1e577735c4
fix(mail): typo in admin mail save mutation 2022-06-11 17:40:48 -04:00
David Wheatley
97a744556b
feat(mail): allow setting of mailer identifying name (#5363) 2022-06-10 23:15:00 -04:00
myml
89cbb19912
fix: site tree not working because of incorrect variable name (#5304) 2022-05-18 15:40:37 -04:00
Nicolas Giard
cd33ff0afb
feat(admin): export tool for full migration / backup (#5294)
* feat: export content utility (wip)

* feat: export navigation + groups + users

* feat: export comments + navigation + pages + pages history + settings

* feat: export assets
2022-05-16 01:13:42 -04:00
myml
8be88cb273
fix(search): search result display as empty after clearing field (#5283) 2022-05-14 21:21:23 -04:00
myml
5590507ef3
fix(nav): add locale to current directory link (#5286) 2022-05-14 21:18:46 -04:00
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