Commit Graph

341 Commits

Author SHA1 Message Date
TakeruDMC
cf3a48a6fa
fix: "undefined" error on deletePage by git storage (#2132) 2020-07-03 17:44:42 -04:00
Maho Hiyajo
ea3962d143
fix: change discord module ‘discordapp.com’ to ‘discord.com’ (#2117) 2020-06-27 17:01:00 -04:00
Nicolas Giard
2409b286da
fix: matomo module siteId 2020-06-26 15:34:53 -04:00
NGPixel
b723d7d626 fix: markdown core props + styles/scripts permissions 2020-06-18 22:49:26 -04:00
Regev Brody
77086a6e0a
feat: optional kroki/plantuml svg caching (#2047)
* feat: Caching kroki svgs #2020
2020-06-18 18:39:25 -04:00
Regev Brody
e03a80dccc
feat: underline markdown support (#2073)
* fix: no markdown support for underline #2072
2020-06-18 18:37:24 -04:00
jonasjoest
3b055f2ed5
fix: use first email address when retrieving multiple from LDAP (#2051)
Signed-off-by: Jonas Jöst <jonas@gpplanet.de>
2020-06-16 00:11:38 -04:00
Nicolas Giard
9e08718ee9
Merge pull request from GHSA-9jgg-4xj2-vjjj 2020-06-13 21:43:21 -04:00
Regev Brody
037822b994
fix: secure html module removes target attribute from links (#2012) 2020-06-07 19:23:33 -04:00
NGPixel
ca0708ea75 feat: extra options for generic S3 module 2020-06-07 18:28:16 -04:00
NGPixel
e45145986a feat: generic S3 module 2020-06-07 18:08:33 -04:00
NGPixel
7a946ec0f5 feat: edit comment 2020-05-31 18:15:15 -04:00
NGPixel
e74605501f feat: comments post min delay 2020-05-31 15:54:20 -04:00
NGPixel
8a74904731 feat: comments delete + refresh on post + formatting 2020-05-31 02:13:41 -04:00
NGPixel
1f9e5b3fd0 feat: delete user with replace target 2020-05-30 16:34:09 -04:00
NGPixel
1222355046 feat: comments - default provider create (wip) + permissions 2020-05-26 22:56:24 -04:00
NGPixel
e1382771cf feat: extensions check + resolver 2020-05-21 00:20:57 -04:00
NGPixel
887e8a0f5a feat: comments disqus + commento 2020-05-21 00:20:57 -04:00
NGPixel
f6bad765a2 feat: assets move + comments migration + admin users UI 2020-05-21 00:20:57 -04:00
NGPixel
1def5289af feat: admin comments page 2020-05-21 00:20:57 -04:00
Robert Lanyi
a581d9837a feat: add Kroki renderer (#1900)
* feat: Kroki integration

see https://kroki.io/

* fix: markdown-kroki def updates

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-05-17 18:41:29 -04:00
Simon Lichtinghagen
764d98fa1d
fix: use fullname from keycloak profile info with username as fallback (#1888) 2020-05-15 13:28:55 -04:00
kaziu687
66e725f426
fix: elasticsearch partial match (#1882)
Improved full text search in elastic provider
2020-05-13 19:32:28 -04:00
NGPixel
1a33a43a0d fix: use semver for latest version check 2020-05-11 00:09:10 -04:00
NGPixel
7508d92f92 feat: redirect editor UI (wip) 2020-05-10 18:43:45 -04:00
NGPixel
53da387082 feat: plantuml in markdown preview 2020-05-08 22:51:32 -04:00
NGPixel
98bf0d9ccb fix: escape mustache template chars in content 2020-05-08 17:00:02 -04:00
NGPixel
6a4b25bc28 fix: plantuml deflate raw 2020-05-08 14:15:19 -04:00
daneallen
4aa7828a92
fix: add rel option to external links in content (#1853)
* #1853: XSS attack fix by adding rel noferrer or rel noopen to _blank target external links

* fix: relAttributeExternalLink noopener

Co-authored-by: danallendds <daniel.allen@friends.dds.mil>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-05-07 16:45:11 -04:00
NGPixel
c81ba5a503 fix: markdown footnotes id incorrectly stripped 2020-05-02 15:13:58 -04:00
NGPixel
281172a9f4 feat: mathjax markdown module 2020-04-29 22:32:03 -04:00
NGPixel
954262f517 fix: tabs renderer remove switchTab handler 2020-04-26 21:18:51 -04:00
NGPixel
5d43f6ada1 feat: content tabs 2020-04-26 21:04:08 -04:00
NGPixel
b2931471c0 fix: remove ssh port param for git module 2020-04-25 14:04:14 -04:00
NGPixel
566043ec43 fix: perform git move manually to prevent bad source 2020-04-24 20:30:08 -04:00
NGPixel
d1dd1f195b fix: ldap allow disable cert check + icon 2020-04-24 00:29:49 -04:00
NGPixel
4308152a08 fix: uriencode git user/pass for http remote 2020-04-21 23:35:49 -04:00
NGPixel
2213ba2c81 fix: git custom ssh port not handled 2020-04-21 19:45:25 -04:00
NGPixel
6a00a5dbce fix: git ssh port incorrect default value 2020-04-19 22:47:02 -04:00
NGPixel
514d31a46d feat: hide sidebar option 2020-04-18 18:33:22 -04:00
NGPixel
17f833509f fix: html sanitizer - whitelist start prop for ol tag 2020-04-17 13:09:08 -04:00
NGPixel
2ff3abe0d8 fix: html sanitizer - whitelist i tag 2020-04-17 13:04:56 -04:00
NGPixel
76ade8df53 feat: link autocomplete + insert link modal (markdown) 2020-04-11 00:19:23 -04:00
NGPixel
5229390d87 fix: plantuml default markers 2020-03-29 21:14:44 -04:00
NGPixel
5f382f21cf fix: enable mermaid by default 2020-03-29 20:59:35 -04:00
NGPixel
1d16a3fc71 feat: mermaid support for markdown 2020-03-29 20:54:39 -04:00
NGPixel
44a0f69a78 feat: katex chemical equations support 2020-03-29 17:06:32 -04:00
NGPixel
58b08e54b4 fix: missing footnote module in markdown editor preview 2020-03-28 14:28:08 -04:00
NGPixel
bacbe4f543 fix: whitelist task list checkboxes 2020-03-21 12:49:25 -04:00
NGPixel
b529ad21c9 fix: code blocks incorrect escaping + deps update 2020-03-20 23:23:13 -04:00
NGPixel
2810f7b5af feat: use local assets for twemoji 2020-03-15 22:34:42 -04:00
Lucas
a5297f8c6e
feat: option to restrict Discord auth to a specific server (#1548)
* Optionally restrict discord authentication to members of a specific server

* fix: discord auth module code linting

Co-authored-by: Lucas Neves <lneves@modusgames.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-03-07 17:59:10 -05:00
gh0stalker
a6dd93746e
fix: resolve Twitch OAuth API (#1561) 2020-03-07 17:57:09 -05:00
NGPixel
830f51664c feat: katex in markdown preview + xss fix for svg 2020-03-06 14:31:05 -05:00
Nicolas Giard
fba9e0058f
fix: allow figcaption in xss module 2020-02-27 01:17:24 -05:00
NGPixel
c5a22f6d13 fix: editor - show save button as saved when no modif 2020-02-23 12:49:34 -05:00
NGPixel
2d06a1d9df fix: set open external link in new tab as an option 2020-02-22 20:21:26 -05:00
Lukáš Hrdlička
fc79d92423
feat: open external link in new tab (#1453) 2020-02-22 20:15:41 -05:00
NGPixel
09554c8528 fix: add missing html tags to whitelist 2020-02-09 22:54:14 -05:00
NGPixel
90fbc62917 fix: kbd xss whitelist 2020-02-08 16:11:35 -05:00
NGPixel
e68932aa40 feat: purge local repo action for git module 2020-02-03 23:39:00 -05:00
wallrick
b1c7edac90
feat: add ssh port override option for git module (#1432)
* Adding an override for the ssh port

* fix: git module - ssh custom port

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-02-02 23:21:14 -05:00
NGPixel
f4e3fd0954 feat: tags autocomplete in page properties 2020-02-02 16:24:27 -05:00
NGPixel
9f16d3e3fa fix: code linting 2020-01-31 22:41:14 -05:00
alancnet
73da73a595 fix: allow highlight color (#1365) 2020-01-10 19:48:16 -05:00
NGPixel
6920a35d80 feat: visualize pages (dendograms) 2020-01-05 15:04:16 -05:00
NGPixel
0755c538ed fix: html rendering order param + decodeEntities 2020-01-03 01:07:29 -05:00
NGPixel
edd11cd73f feat: make relative links root absolute option 2020-01-02 20:30:48 -05:00
NGPixel
82376c19b9 fix: render system link detection resets on each find 2020-01-02 13:33:27 -05:00
Scott Simontis
bb03aed1c8 fix: exclude tel: links from parsing #1318 (#1344)
Telephone links will no longer be incorrectly parsed as web links.

Signed-off-by: Scott Simontis <yo@scottsimontis.io>
2019-12-31 14:41:05 -05:00
NGPixel
0d6676c19b feat: SFTP storage module + sensitive field option 2019-12-25 01:47:19 -05:00
NGPixel
4a2f1d045b feat: azure blob storage provider + s3 rename fix 2019-12-23 00:12:19 -05:00
NGPixel
f09f1f4f1e feat: delete a user 2019-12-22 16:08:18 -05:00
NGPixel
3b347f262c feat: save rendering configuration 2019-12-21 16:41:03 -05:00
NGPixel
aa5368b2a1 feat: katex + admin SSL UI (wip) + dev warning 2019-12-18 23:45:33 -05:00
Artem S Vybornov
243840c5eb fix: postgres engine to query using configured locale (#1269)
* fix: Postgres Engine to query using right locale
* fix: postgres search dictLanguage parameter binding
2019-12-15 17:52:42 -05:00
NGPixel
278cd7173d feat: rendering security module 2019-12-11 23:36:19 -05:00
NGPixel
5d7509acdf feat: api docs editor (wip) + deps update 2019-12-01 22:45:37 -05:00
NGPixel
3183014b25 fix: postgreSQL search engine error during page move (#1181) 2019-11-23 16:21:10 -05:00
NGPixel
e35e68d764 fix: exclude assets from internal link detection (#1189) 2019-11-23 16:13:41 -05:00
NGPixel
46630e1638 fix: allow target in markdown attrs (#1240) 2019-11-21 22:32:41 -05:00
George Vagenas
68200f5136 fix: use https for plantuml (#1223) 2019-11-18 13:51:19 -05:00
NGPixel
fb0c64a07e fix: exclude non-class attributes from markdown rendering 2019-11-16 22:19:35 -05:00
NGPixel
19e4ab69d2 fix: add missing EOL for git key contents 2019-11-16 19:11:37 -05:00
Obyoxar
e9afcfcd94 fix: typo in PostgreSQL search module (#1176) 2019-11-03 14:30:55 -05:00
NGPixel
d69dde1df5 fix: UI fixes + search crash (#1086) 2019-11-02 16:04:43 -04:00
NGPixel
8ba78dd771 fix: handle link reformatting from home path (#1169) 2019-11-01 23:59:51 -04:00
NGPixel
d78127dc29 fix: handle link reformatting when not using namespacing + 5 letters locales support (#1165, #1166) 2019-10-31 00:07:37 -04:00
NGPixel
37ce116dd2 fix: handle headers for all editors (#1127) 2019-10-27 21:08:42 -04:00
NGPixel
28fdf14002 fix: export + import tags in storage events 2019-10-27 15:56:39 -04:00
NGPixel
692e5ca0bd fix: use preferred_username as alternate for Azure AD 2019-10-27 13:57:39 -04:00
Justin Kromlinger
8000ebec8f refactor: use dataPath variable as given in file config (#1118)
* Actually use path variables as given in default config

* Drop paths.content, avoid populating the global WIKI object
2019-10-25 18:20:02 -04:00
NGPixel
c4303a5659 feat: git sync - process assets 2019-10-20 18:34:38 -04:00
NGPixel
f1668b9ac5 feat: import assets from disk module 2019-10-20 14:42:10 -04:00
NGPixel
186174f8fe feat: asset upload/move/delete for S3 module 2019-10-19 17:45:01 -04:00
NGPixel
d987058336 feat: asset add/rename/remove + dump action for git and disk modules 2019-10-19 17:39:45 -04:00
NGPixel
f4816d0628 fix: pageHelper getFileExtension missing return 2019-10-18 20:23:37 -04:00
Nicolas Giard
cffd32dee0
feat: local disk import all action + v1 import content (#1100) 2019-10-14 23:44:37 -04:00
NGPixel
62d1d7a1df feat: move page 2019-10-13 19:59:50 -04:00
NGPixel
7a3198c306 fix: linting 2019-10-11 16:39:48 -04:00
NGPixel
38c33c58bb feat: rebuild page tree worker 2019-10-07 00:06:47 -04:00
Lawrence Ching
922b7bd1bd feat: Baidu Tongji analytics module (#1087)
* Support Baidu Tongji analytics module

* fix: baidutongji logo + props
2019-10-04 17:07:54 -04:00
Nick
454da698a1 fix: git sync untracked 2019-09-27 14:17:12 -04:00
Nick
6a5bc2e273 refactor: plantuml module 2019-09-27 13:43:14 -04:00
Ethan Davidson
4f8a28f617 feat: PlantUML markdown module (#1066)
* initial plantuml work

* got plantuml rendering working

* fix: added plantuml module config order
2019-09-26 23:01:45 -04:00
Nick
06250c4f03 fix: ignore mailto links from processing (#1041) 2019-09-21 10:49:58 -04:00
Nick
309de5bc17 misc: deps cleanup + form validation fixes 2019-09-15 23:20:40 -04:00
Andrew Sim
5202eadebb feat: AWS S3 + Digitalocean Spaces storage modules (#1015)
* Provide basic implementation of AWS S3 storage module

* Abstract S3 Compatible Storage Module logic

* Refactor `getFileExtension()` into the `page` object

* Add implementation for Digitalocean storage module

* Remove accidental `async`/`await` in S3 Storage Module

* Remove argument from the call to `page.getFileExtension()`

https://github.com/Requarks/wiki/pull/1015#discussion_r321990073
2019-09-08 21:11:25 -04:00
Juan Baez
3ab7bcf8ea fix: host ref in html-core renderer (#1021)
Fixing typo on: "server\modules\rendering\html-core\renderer.js"

Lines 40 and 41. Invalid reference to "WIKI.config.site.host" -- should be: "WIKI.config.host"

This was causing rendering issues when attempting to create some sample pages; such as: https://github.com/jbaez001/markdown-cheatsheet
2019-09-08 21:09:46 -04:00
Nick
69e644e18f fix: code linting 2019-09-08 12:39:05 -04:00
Nick
7634bd266d feat: ckeditor 2019-09-08 12:01:17 -04:00
Nick
33e31a9901 feat: page links table 2019-09-02 22:18:59 -04:00
Nick
efab00fa0c feat: content link states 2019-09-02 15:33:56 -04:00
Nick
eac12121bb fix: always prefix lang for non-default language in disk storage module (#1000) 2019-08-31 17:56:49 -04:00
D4uS1
94b0121efa feat: add keycloak auth provider (#1004)
* added custom keycloak authentication.

* update readme.

* updated readme.

* reverted README for PR.

* fix: use async/await

* changed callback parameter name from done to cb.

* fix: keycloak description + website

* fix: keycloak logo
2019-08-30 14:26:34 -04:00
Nick
d3e693ab46 feat: mandatory password change on login + UI fixes 2019-08-24 22:19:54 -04:00
Nick
c4629419d3 fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
rbtprograms
0f9ddf1e5d fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
2019-08-04 16:31:13 -04:00
Tiemen
e184fed8ee feat: skip discord authorization screen (#949) 2019-08-04 15:56:46 -04:00
Nick
7f4e392877 fix: gitlab baseurl typo (#934) 2019-07-23 21:21:24 -04:00
Nick
0c6472ab85 feat: azure ad auth 2019-07-20 11:09:55 -04:00
Nick
9966a97bd3 feat: azure ad auth (wip) 2019-07-20 00:16:29 -04:00
Nick
fd8d358b63 fix: git private key alt paste mode 2019-07-14 18:55:12 -04:00
Nick
8b7122277a fix: github enterprise auth compatibility 2019-07-14 13:36:39 -04:00
Nick
bd24ff225b fix: gitlab baseurl missing (#907) 2019-07-13 01:57:50 -04:00
Nick
604941fe6a feat: utilities section (wip) + auth utilities 2019-06-30 15:18:26 -04:00
Nick
9cd8657ce6 feat: 4 new analytics modules 2019-06-29 16:45:27 -04:00
NGPixel
4e990d50eb feat: gitlab auth module + storage locale namespacing fix 2019-06-25 02:13:41 +00:00
Nick
2870da0e9e feat: analytics code rendering 2019-06-23 22:57:04 -04:00
Nick
537551874b feat: analytics modules backend + admin panel 2019-06-23 18:35:14 -04:00
Nick
b34aa5bab4 fix: elasticsearch module upgrade + deps update 2019-06-22 23:32:48 -04:00
Nick
922f179a90 feat: LDAP debug flag 2019-06-04 22:23:32 -04:00
Karol Herbst
624297bc96 fix: setting git URL in git storage module if repository starts with http (#861) 2019-06-02 13:04:57 -04:00
Nick
4f23984ac6 feat: users create (wip) 2019-04-28 20:25:19 -04:00
Nick
849d4f4774 feat: twitch auth module 2019-04-28 14:11:27 -04:00
Nick
d80bb928f7 feat: okta auth module 2019-04-28 13:51:42 -04:00
Nick
c03dae933f feat: facebook auth module 2019-04-28 02:11:38 -04:00
Nick
2abecea09c feat: google auth module 2019-04-28 00:20:06 -04:00
Nick
bdfac22876 feat: SAML auth module 2019-04-27 21:42:04 -04:00
Nick
438f1485fa fix: handle git basic auth URl format (#814) 2019-04-27 00:08:43 -04:00
Nick
26c7d49a78 feat: ldap module + deps upgrade 2019-04-26 23:59:35 -04:00
Nick
db14239eba feat: dropbox auth module + uploads folder boot fix 2019-04-22 13:12:03 -04:00
Nick
d7676513ac feat: auth0 + discord + github + slack auth modules 2019-04-21 21:43:33 -04:00
Nick
8af21c02af feat: oauth2 login (wip) 2019-04-21 02:04:00 -04:00
Nick
6fe49309c1 feat: admin auth + config ref + modules sidebar ui + GQL upload (wip) 2019-04-20 20:49:05 -04:00
Nick
e2518c7a8d feat: storage disk - actions + daily backup 2019-04-07 17:00:42 -04:00
Nick
10df1b4b0c feat: storage actions + git module actions 2019-04-06 19:06:17 -04:00
Nick
2089d586cb fix: postgres search pageWords table creation 2019-03-24 12:51:52 -04:00
Nick
7c77cb0815 fix: postgres indexing (#791) + deactivate handler 2019-03-24 00:27:42 -04:00
Nick
81ff24b9b6 feat: elasticsearch engine 2019-03-23 18:18:36 -04:00