Nicolas Giard
5d0f882fed
fix(auth): handle null SAML authnContext context
2 years ago
El Gato da Great
54d15069bb
fix: don't push files to git if ignored ( #5334 )
...
* fix: don't push files to git if ignored
* tweak: change gitPath var to gitFilePath
* fix: "update" instead of "create" of updated file
Co-authored-by: Jacob Parker <blocckba5her@gmail.com>
Co-authored-by: DevBlocky <16978528+DevBlocky@users.noreply.github.com>
2 years ago
Nicolas Giard
47ed7b371c
feat(admin): migrate users to vue 3 composable
3 years ago
Nicolas Giard
6e303ac648
feat(admin): migrate groups dialogs to vue 3 composable
3 years ago
Nicolas Giard
7e344fc6fa
feat(admin): migrate groups page to vue 3 composable
3 years ago
Nicolas Giard
1eefdb06e6
feat(admin): add sitemap option to general page
3 years ago
Nicolas Giard
36ba1eb192
feat(admin): migrate locale + login + storage views to vue 3 composable
3 years ago
Nicolas Giard
54c1946035
fix(auth): update SAML authnContext hint text for multiple values
3 years ago
Maximilian Bosch
9e57c12a60
fix(auth): SAML authnContext parameter should be an array ( #5290 )
...
* saml auth: `authnContext` must be a list now
This fixes
this.options.authnContext.forEach is not a function
when trying to login via SAML on wiki-js 2.5.281.
Reason for that is that `authnContext` must be a list now which is
apparently a breaking change that was missed while upgrading
passport-saml[1].
Resolves #5289
[1] https://github.com/node-saml/passport-saml/pull/615
* fix(auth): split authnContext for SAML authenticaiton module
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
Nicolas Giard
0385a9b647
fix: update to working twitch passport strategy ( #5279 )
3 years ago
Nicolas Giard
fdceb75c4d
fix: typo in saml auth module
3 years ago
myml
986956c8ee
fix: handle unicode chars when syncing files using git storage ( #5272 )
...
git has the quotopath option enabled by default,
filepaths with unicode characters will be escaped,
causing the wiki to not handle changes.
3 years ago
NGPixel
e5cbf6b943
fix: prevent manage system assignment from manage groups permission
3 years ago
Nicolas Giard
7715dc6f5e
fix: saml - set cert as required
3 years ago
Nicolas Giard
7bd527a654
fix: update saml strategy to use new config options
3 years ago
myml
64104f81ad
fix: undefined author in git commit when deleting a page ( #5215 )
3 years ago
NGPixel
948157745f
fix: default comment provider not displaying
3 years ago
Ivan Fedorov
d45d40e12e
feat: add X-Mailer header to outgoing emails ( #5238 )
...
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
Trisztán Piller
64cdc9f953
feat(auth): OAuth2 access_token in GET query string in userInfoURL ( #5188 )
3 years ago
Nicolas Giard
908eb0ee6d
fix: external comments template using incorrect page variables
3 years ago
myml
f754619146
feat(auth): OAuth2 scope support ( #5181 )
3 years ago
NGPixel
358ad1fdcd
refactor: update schema with new structure / naming
3 years ago
NGPixel
70a2e3ca63
refactor: remove logging modules
3 years ago
NGPixel
edb529378e
refactor: fix models + storage modules
3 years ago
NGPixel
027b1614ff
refactor: admin editors + flags page to comp api, server cleanup
3 years ago
NGPixel
7b060bec5f
fix: db connection
3 years ago
NGPixel
3a57145e3d
refactor: initial import from v3 prototype
3 years ago
NGPixel
dc5d8ddeb2
fix: handle page metadata parse failure
3 years ago
NGPixel
05b4053954
fix: encode filenames for assets force download
3 years ago
NGPixel
a50712ea80
fix: handle links to same host but different port as external
3 years ago
Nicolas Giard
a652e43ab1
fix: handle multi social auth strategies
3 years ago
Manuel
1f489a3d8e
fix: handle multiple LDAP strategies ( #5116 )
3 years ago
Gabriel A. Devenyi
2c83472b63
fix(ldap): typo spelling of distinguished ( #5066 )
3 years ago
NGPixel
a3bf1f7916
fix: apply locale restrictions to page rules
3 years ago
NGPixel
411802ec2f
fix: check update page access using original page path
3 years ago
Nicolas Giard
3f5388d093
fix(logging): add default fallback for logFormat config
3 years ago
Marián Skrip
de6d4beef9
feat(config): add option to specify default value to env var expansion ( #5020 )
...
* feat: Add option to specify default value to env var expansion
* fix: remove unused capturing group for env var replacement
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
Marián Skrip
2815f38c52
feat(logging): add option to configure JSON logging ( #5022 )
...
* fix: Use logger for logs using console logging
* feat: Add option to configure JSON logging
* fix: use generic logFormat instead of json specific
* fix: use logFormat for docker config
* fix: use logFormat to build winston formatters
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
Marián Skrip
69e9ccc636
fix: remove wild log that was possibly for debugging ( #5021 )
3 years ago
NGPixel
afafb4f4e0
fix: md task list - use same config as client
3 years ago
matthgyver
7988fa62ca
fix: use body parser limit config with fallback value ( #4985 )
...
* permit bodyParserLimitSize configuration
set bodyParserLimitSize by default to 1mb
permit modifications by environment variable
* fix: use bodyparserlimit config with fallback default
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
Nicolas Giard
8e3af9ac15
feat: use config value for json body parser limit
3 years ago
Nicolas Giard
7b14b39de0
fix: prevent upload bypass via uppercase path
3 years ago
NGPixel
a04f7bd650
fix: force uploads to use auth headers instead of cookie
3 years ago
NGPixel
92fe9d3e31
fix: view source of page version crash ( #3297 )
3 years ago
NGPixel
e84c15b926
fix: scanSVG incorrect ext reference ( #4825 )
3 years ago
cybrwshl
802dbd96c3
feat: extends plausible analytics to support self hosted installations ( #4824 )
3 years ago
NGPixel
79bdd44093
fix: force download of unsafe extensions
3 years ago
NGPixel
57b56d3a5b
fix: validate svg file extension in addition to client mime type
3 years ago
NGPixel
5d3e81496f
fix: sanitize SVG uploads
3 years ago