Commit Graph

847 Commits

Author SHA1 Message Date
Gabriel A. Devenyi
2c83472b63
fix(ldap): typo spelling of distinguished (#5066) 2022-03-01 11:54:06 -05:00
NGPixel
a3bf1f7916
fix: apply locale restrictions to page rules 2022-02-20 19:33:19 -05:00
NGPixel
411802ec2f
fix: check update page access using original page path 2022-02-20 18:46:03 -05:00
Nicolas Giard
3f5388d093
fix(logging): add default fallback for logFormat config 2022-02-18 19:57:15 -05:00
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>
2022-02-18 19:56:02 -05:00
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>
2022-02-18 19:48:22 -05:00
Marián Skrip
69e9ccc636
fix: remove wild log that was possibly for debugging (#5021) 2022-02-18 19:10:13 -05:00
NGPixel
afafb4f4e0
fix: md task list - use same config as client 2022-02-12 17:28:34 -05:00
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>
2022-02-11 23:42:28 -05:00
Nicolas Giard
8e3af9ac15
feat: use config value for json body parser limit 2022-02-11 23:38:34 -05:00
Nicolas Giard
7b14b39de0
fix: prevent upload bypass via uppercase path 2022-01-29 18:45:51 -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
NGPixel
e84c15b926
fix: scanSVG incorrect ext reference (#4825) 2021-12-26 17:30:18 -05:00
cybrwshl
802dbd96c3
feat: extends plausible analytics to support self hosted installations (#4824) 2021-12-26 00:17:57 -05:00
NGPixel
79bdd44093
fix: force download of unsafe extensions 2021-12-24 20:18:12 -05:00
NGPixel
57b56d3a5b
fix: validate svg file extension in addition to client mime type 2021-12-24 19:36:30 -05:00
NGPixel
5d3e81496f
fix: sanitize SVG uploads 2021-12-17 21:41:38 -05:00
NGPixel
5173c4802e
fix: use replace instead of replaceAll to support pre-Node16 2021-12-06 14:01:26 -05:00
NGPixel
414033de9d
fix: asset path traversal on windows 2021-12-03 22:30:22 -05:00
Nicolas Giard
87fcfca6d7 feat: add Plausible Analytics module 2021-10-28 22:30:28 -04:00
NGPixel
5911867b21
fix: various OAuth2 fixes 2021-10-15 22:36:30 -04:00
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
2021-10-15 22:25:15 -04:00
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>
2021-10-09 14:09:54 -04:00
mordini
d93bd1ad5a
fix: git storage - 'import everything' feature restored (#4559) (#4572) 2021-10-09 13:59:47 -04:00
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.
2021-10-01 20:22:55 -04:00
Beh
ed3925b1c5
fix: use first email address in Rocket.Chat auth response (#3122) 2021-09-29 20:42:48 -04:00
craph
3814eef922
fix: admin email setup toLowerCase (#4516) 2021-09-29 20:41:04 -04:00
Frederic Alix
8d1f752620
feat: add possibility to set PostgreSQL schema other than public (#4161) 2021-09-24 22:56:44 -04:00
Paul Saunders
66bf914725
fix: scheduled git sync task (#4481)
Signed-off-by: Paul Saunders <paul.saunders@finbourne.com>

Co-authored-by: Rainshaw <rxg@live.com>
2021-09-24 22:51:56 -04:00
Rainshaw
1dc974245f
fix: sftp error when dir already exists (#4024)
when the dir exists, sftp.mkdir() would raise an error and ends the for loop.
2021-09-14 20:14:32 -04:00
Andrew Yefanov
94aab69ba8
fix: add beacon and error beacon newrelic parameters for eu region support (#4421)
* add beacon and error beacon newrelic parameters for eu region support
* add default NewRelic beacon URIs
2021-09-14 20:11:57 -04:00
NGPixel
d5a5820c2f fix: remove unused middleware 2021-09-11 21:02:53 -04:00
Eric Knibbe
c5a45e578e
fix: git storage - handle renamed files & assets (#4307) 2021-09-01 12:11:33 -04:00
Étienne
9864be884d
fix: replace passport-slack implementation (#4369)
This commit replaces the observably defunct @aoberoi/passport-slack
implementation with that of nmaves's passport-slack-oauth2
2021-09-01 12:07:34 -04:00
Denis
ee8006892e
feat: add support of hd auth parameter to work with G Suite domains (#4010)
* Add support of hd google auth parameter - to work with G Suite domains

* Style-fix

* fix: google auth hostedDomain hint

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2021-05-24 18:04:11 -04:00
opalmay
9081232e7c
fix: disallow # char in file uploads (#3770) 2021-05-20 15:16:26 -04:00
LK HO
a103127545
fix: graceful shutdown (#3821)
* fix: missing graceful shutdown handler

* fix: asar - use async fs operation

* fix: scheduler - graceful shutdown and wait for running jobs to complete
2021-04-12 11:45:33 -04:00
LK HO
71aa0c9346
fix: jobs/worker - pass through job error from worker process (#3822) 2021-04-12 11:41:36 -04:00
LK HO
a20f70ed8d
fix: rendering/html-core - null checks (#3823) 2021-04-12 11:39:35 -04:00
NGPixel
f55caab359 fix: convert page - handle tabsets 2021-04-02 17:30:04 -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
NGPixel
d75c5532d1 fix: handle raw mustache expressions over multiple lines 2021-03-25 23:50:59 -04:00
NGPixel
c57c9d9018 fix: disable cors 2021-03-25 21:21:03 -04:00
Max
033b8e6b21
fix: S3 copyObject usage - Missing bucket name (#3745)
* Fix copyObject usage: supply bucket name

* No semicolon

* Assign empty string on initialization

* Remove empty line
2021-03-23 11:14:29 -04:00
PaulD987
3f001dca2c
fix: loginRedirect doesn't work for non local strategies (#3222) 2021-03-18 21:56:59 -04:00
pylr
e87d511978
fix: HSTS header max-age value (#3225) 2021-03-18 21:53:55 -04:00
NGPixel
5ffa189383 fix: add v-pre to pre tags at render time 2021-03-11 19:23:24 -05:00
Thomas Nilefalk
919d7c12a1
fix: syntax error in rebuild-tree.js (#3048) 2021-02-08 11:26:55 -05:00