Commit Graph

489 Commits

Author SHA1 Message Date
NGPixel 79bdd44093 fix: force download of unsafe extensions 2021-12-24 20:18:12 -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
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
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
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
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
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 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