Nicolas Giard
a37d733523
fix(auth): update SAML authnContext hint text for multiple values
2 years ago
Maximilian Bosch
b345375477
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>
2 years ago
Erik Bigler
9b40d60261
fix: update to working twitch passport strategy ( #5279 )
2 years ago
Nicolas Giard
d9076c4ee9
fix: typo in saml auth module
2 years ago
myml
b3731dd26e
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.
2 years ago
NGPixel
78d02dc8e5
fix: prevent manage system assignment from manage groups permission
2 years ago
Nicolas Giard
8205c1f243
fix: update saml strategy to use new config options
2 years ago
NGPixel
2cb7b9fb4e
fix: update passport-saml dependency + set cert as required
2 years ago
myml
559b8ae8cf
fix: undefined author in git commit when deleting a page ( #5215 )
2 years ago
Nicolas Giard
485aa765d0
fix: add sfo3 to digitalocean spaces module
2 years ago
NGPixel
13890a92ab
fix: default comment provider not displaying
2 years ago
Ivan Fedorov
3407ac8829
feat: add X-Mailer header to outgoing emails ( #5238 )
...
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2 years ago
Trisztán Piller
de151031ea
feat(auth): OAuth2 access_token in GET query string in userInfoURL ( #5188 )
2 years ago
Nicolas Giard
a647626a51
fix: external comments template using incorrect page variables
2 years ago
myml
74887baa86
feat(auth): OAuth2 scope support ( #5181 )
2 years ago
rajatchauhanyti
44b3fd1794
fix: admin - general settings not saving with empty value ( #5165 )
2 years ago
NGPixel
dc5d8ddeb2
fix: handle page metadata parse failure
2 years ago
NGPixel
05b4053954
fix: encode filenames for assets force download
2 years ago
NGPixel
a50712ea80
fix: handle links to same host but different port as external
2 years ago
Nicolas Giard
a652e43ab1
fix: handle multi social auth strategies
2 years ago
Manuel
1f489a3d8e
fix: handle multiple LDAP strategies ( #5116 )
2 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
NGPixel
5173c4802e
fix: use replace instead of replaceAll to support pre-Node16
3 years ago
NGPixel
414033de9d
fix: asset path traversal on windows
3 years ago
Nicolas Giard
87fcfca6d7
feat: add Plausible Analytics module
3 years ago
NGPixel
5911867b21
fix: various OAuth2 fixes
3 years ago
Artur Shaik
87084c66b0
feat: Generic OAuth2 authentication implementation ( #3094 )
...
* OAuth2 authentication implementation
This PR shoul fix #2392 . Used `passport-oauth2` strategy.
* indentations cleanup
* cleanup code
3 years ago
broxen
12aef93cd6
fix: remove excess div wrappers ( #4528 )
...
* Removing superfluous div wrapping
It seems like standalone text is already wrapped in paragraph elements, so this code seems superfluous. Additionally, it adds div wrappers at every line break as described in #4524
* Fix for newlines and returns
This change skips newlines and returns to focus on unbounded text only.
* misc: fix indentation
* misc: fix indentation (2)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
3 years ago
mordini
d93bd1ad5a
fix: git storage - 'import everything' feature restored ( #4559 ) ( #4572 )
3 years ago
broxen
db73b650c9
fix: issue with Custom Header IDs ( #4527 )
...
Fix the issue described in discussion #3502 regarding header links and TOC failing to properly generate when header ID is custom defined.
3 years ago
Beh
ed3925b1c5
fix: use first email address in Rocket.Chat auth response ( #3122 )
3 years ago
craph
3814eef922
fix: admin email setup toLowerCase ( #4516 )
3 years ago
Frederic Alix
8d1f752620
feat: add possibility to set PostgreSQL schema other than public ( #4161 )
3 years ago