Commit Graph

692 Commits

Author SHA1 Message Date
Lukáš Hrdlička
fc79d92423
feat: open external link in new tab (#1453) 2020-02-22 20:15:41 -05:00
Nicolas Giard
f72cf664eb
feat: manage / create API keys (#1516)
* fix: admin api UI update

* feat: admin api - create dialog UI

* feat: admin api - create + list keys

* feat: admin api localization (wip)

* feat: admin api localization

* feat: admin api - toggle state

* feat: process API keys + format gql request errors to json
2020-02-22 17:38:06 -05:00
alancnet
de4d407fdc
fix: apply json size limit to graphql (#1480) 2020-02-15 22:35:53 -05:00
NGPixel
ea5027cb2e fix: admin tags - persist close confirm dialog state 2020-02-14 21:50:17 -05:00
NGPixel
56235c6354 fix: setup incorrectly starting HTTPS server 2020-02-14 15:47:19 -05:00
NGPixel
09554c8528 fix: add missing html tags to whitelist 2020-02-09 22:54:14 -05:00
Nicolas Giard
5c20f585a4
feat: admin tags (#1452) 2020-02-09 00:49:32 -05:00
NGPixel
90fbc62917 fix: kbd xss whitelist 2020-02-08 16:11:35 -05:00
NGPixel
1b4d8142f3 fix: code linting auth.js 2020-02-07 22:02:33 -05:00
NGPixel
ff5acba358 fix: redirect to previous path after login 2020-02-07 14:51:11 -05:00
NGPixel
1fc786e2ed fix: redirect home to login only if guest 2020-02-07 14:32:45 -05:00
BobbyB
7d23344c7a
fix: page rules role check (#1447)
* Check rule.roles against permissions

* Added Role Check to EXACT matching

* Code Review Fixes
2020-02-07 14:26:13 -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
NGPixel
ad3a6e15f9 fix: rtl list bullet symbol 2020-01-31 22:34:38 -05:00
NGPixel
1914d40574 fix: set rtl correctly if default lang is non-rtl 2020-01-31 22:29:40 -05:00
BobbyB
b82c788e5c
feat: add Page Rules For Matching Tags (#1418)
* Added Page Rules For Matching Tags

* fix: use T as Tag Match icon

* fix: reorder page rules in checkAccess

* fix: common controller tags code refactor

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-01-31 16:57:35 -05:00
NGPixel
22fa5c9b23 fix: handle migrations .js naming 2020-01-26 21:04:38 -05:00
NGPixel
4dc7e05373 fix: migration for pageHistory content column type 2020-01-26 20:57:30 -05:00
NGPixel
95e79a7316 fix: auto beautify css injection in admin 2020-01-26 15:31:24 -05:00
NGPixel
da86d8ccf7 fix: objection.js 2.0 compat fixes 2020-01-26 13:11:33 -05:00
NGPixel
8f5265622f fix: objection.js 2.0 compat fixes 2020-01-25 23:29:46 -05:00
NGPixel
3e991fa590 misc: dev mode warning on setup 2020-01-25 23:12:57 -05:00
NGPixel
988ba3f616 fix: objection 2 changes 2020-01-24 19:21:17 -05:00
NGPixel
ae53484abd feat: admin ssl - renew cert + toggle redirection btn 2020-01-19 21:30:25 -05:00
NGPixel
91e897ccd9 fix: admin contribute list + source permission 2020-01-18 15:19:03 -05:00
NGPixel
b18dd29fa0 feat: browse page by ID 2020-01-14 22:21:43 -05:00
NGPixel
1b749e7bf2 fix: letsencrypt maintainerEmail 2020-01-12 13:23:01 -05:00
NGPixel
c6933a2d20 feat: let's encrypt 2020-01-11 22:33:27 -05:00
alancnet
73da73a595 fix: allow highlight color (#1365) 2020-01-10 19:48:16 -05:00
NGPixel
0d6562cca4 feat: admin utilities - rerender all pages 2020-01-05 17:40:28 -05:00
NGPixel
6920a35d80 feat: visualize pages (dendograms) 2020-01-05 15:04:16 -05:00
NGPixel
4698afdaeb fix: truncate pictureUrl if too long (#1311) 2020-01-03 16:35:50 -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
661b6044fa feat: verify + activate + deactivate user from admin 2020-01-02 14:19:27 -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
3092615c5e fix: improve db error reporting for pg 2019-12-30 16:45:25 -05:00
NGPixel
f1725159f7 feat: accept db ssl config 2019-12-30 16:18:30 -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
alancnet
a257831c6c fix: rebuild-tree exceeds mssql parameter limit (#1328)
* fix: rebuild-tree exceeds mssql's parameter limit

* docs: details per query max parameters limits

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2019-12-19 16:48:05 -05:00
alancnet
a457e82b16 fix: getPagePath would include a trailing (#1323) (#1324)
This excludes the trailing slash from the locale code.
2019-12-19 16:07:06 -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
3d6b04f75d fix: handle email verification exceptions (#1227) 2019-11-23 15:06:34 -05:00
NGPixel
49819b41db fix: missing write:pages perm for edit existing pages (#1228) 2019-11-23 14:32:49 -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
b5d773caec fix: missing release update job 2019-11-17 19:53:35 -05:00
NGPixel
cb322db300 mics: make STABLE channel the default for updates 2019-11-17 19:32:27 -05:00
NGPixel
d356937660 fix: cannot update user email from admin (#1197) 2019-11-16 22:32:55 -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
NGPixel
8eddc4799e fix: stable db migration + beta migration to stable 2019-11-03 22:00:03 -05:00
Obyoxar
e9afcfcd94 fix: typo in PostgreSQL search module (#1176) 2019-11-03 14:30:55 -05:00
NGPixel
0efbd49adf fix: mysql setup fails during table reset 2019-11-02 19:57:51 -04:00
NGPixel
b4cb8249f5 fix: remove explicit ids for groups and users during setup (#1156) 2019-11-02 16:30:19 -04: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
76b97e9f94 fix: remove debug leftovers 2019-10-30 23:26:33 -04:00
NGPixel
4f8de0d50d fix: replace tags with space in html cleanup for search (#1160) 2019-10-30 23:24:18 -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
NGPixel
118700f38b fix: setup truncate + autoprefixer rollback 2019-10-26 16:36:47 -04:00
NGPixel
b567413fee fix: handle failed setup retries 2019-10-25 23:39:58 -04:00
NGPixel
820cc77a83 fix: MSSQL - setup + pageTree + page delete 2019-10-25 23:02:33 -04:00
Phil Cullen
ea5c4ea33d fix: MSSQL - expand pages.* to prevent duplicate columns (#1126)
* Expand pages.* to prevent duplicate columns in MSSQL

Replace pages.* in select query with explicit list of columns to avoid multiple identically named columns being returned by MSSQL

* Use global replace for analytics header templates

Replace multiple instances of the same template variable in analytics templates

* Revert "Use global replace for analytics header templates"

This reverts commit 290b53b6e33c45d358252a14c838d12916895601.
2019-10-25 18:31:35 -04:00
apif
8badd8fd55 fix: MSSQL - assetFolder getHierarchy query (#1131) 2019-10-25 18:29:28 -04:00
AchimHentschel
44a1c8699f fix: MSSQL - adds IDENTITY_INSERT in rebuild-tree.js #1125 (#1130)
Fixes issue when tree is being rebuilt with mssql backend
2019-10-25 18:28:41 -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
Phil Cullen
7db814c7ad fix: use global replace for analytics header templates (#1134)
Support replacing multiple instances of the same template variable in analytics templates
2019-10-23 12:46:19 -04:00
NGPixel
ab8391c085 fix: cascade delete pageTree on page delete (#1119) 2019-10-22 22:04:30 -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
c5ce6bcbaa
fix: prevent duplicate group assignment (#1081) 2019-10-14 23:56: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
73c89dfe44 feat: rebuild tree on page update 2019-10-13 22:35:42 -04:00
NGPixel
62d1d7a1df feat: move page 2019-10-13 19:59:50 -04:00
NGPixel
acb57879dd feat: SRI security toggle 2019-10-12 14:41:45 -04:00
NGPixel
3de0e1499a feat: page tree browser 2019-10-12 00:55:43 -04:00
NGPixel
7a3198c306 fix: linting 2019-10-11 16:39:48 -04:00
NGPixel
2a4b89859c feat: fetch page tree resolver 2019-10-07 23:38:06 -04:00
NGPixel
38c33c58bb feat: rebuild page tree worker 2019-10-07 00:06:47 -04:00
unknown
5438aad637 fix: add site url field to setup page 2019-10-06 14:56:53 -04:00
Nick
5b9dd43e96 feat: import content + x-forwarded toggle 2019-10-05 16:58:34 -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
329e9872a1 fix: set minimum db pool size (#1071) 2019-10-02 22:37:41 -04:00
Nick
95535aa3b0 fix: prevent dots and spaces in page path during create 2019-10-02 00:44:18 -04:00
Nick
2e0f861fb2 feat: import users group creation logic 2019-09-29 20:53:41 -04:00
Nick
82ba7d0a36 feat: import users from v1 - db + create users 2019-09-28 22:19:33 -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
Nick
f9e10d5107 fix: force user ids during setup 2019-09-27 11:36:33 -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
7b46d2a4fc fix: use companion agent for docker upgrade 2019-09-23 00:37:18 -04:00
Nick
1a7ace5107 feat: CONFIG_FILE env param 2019-09-22 16:43:47 -04:00
Nick
d0dc300a59 feat: docker auto upgrade 2019-09-22 16:32:39 -04:00
Nick
766eebbe2f fix: editor selection UI + config trim DB_PASS_FILE 2019-09-21 22:25:54 -04:00
Nick
53cdb11239 fix: replace mail pass unless changed (#1053) 2019-09-21 11:02:03 -04:00
Nick
06250c4f03 fix: ignore mailto links from processing (#1041) 2019-09-21 10:49:58 -04:00
Nick
744e6e3248 fix: restore unicode chars for search content 2019-09-21 10:36:09 -04:00
Nick
89754ca7fc feat: DB_PASS_FILE argument support 2019-09-21 01:10:45 -04:00
Nick
309de5bc17 misc: deps cleanup + form validation fixes 2019-09-15 23:20:40 -04:00
Nick
26842ab62b feat: reconnect links after page update 2019-09-14 13:14:07 -04:00
Nick
b6fd070b0b feat: list pages by tags + fix search permissions 2019-09-08 21:31:31 -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
04193dbc6f feat: database connection retries on start 2019-09-04 22:23:44 -04:00
Nick
33e31a9901 feat: page links table 2019-09-02 22:18:59 -04:00
Nick
ab463fcae1 feat: tags on page fetch + pageLinks table schema 2019-09-02 18:32:33 -04:00
Nick
efab00fa0c feat: content link states 2019-09-02 15:33:56 -04:00
Nick
22e51c9862 fix: tags load from editor 2019-09-01 18:38:09 -04:00
Nick
5a7fd2d73e feat: tags UI (wip) + save tags from page 2019-09-01 18:33:36 -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
Nick
28c443c356 feat: admin dashboard recent pages + update deps 2019-08-31 15:00:31 -04:00
Nick
7b2c35d2dc fix: page not found component (#990) 2019-08-30 21:23:27 -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
1d8f1f50e1 fix: prevent empty page content 2019-08-26 23:19:39 -04:00
Nick
13358b26b0 fix: auto redirect to login from homepage 2019-08-26 23:06:58 -04:00
Nick
93237cdaeb fix: broken unauthorized page 2019-08-26 23:03:56 -04:00
Nick
ca25661f81 fix: remove generated view files 2019-08-26 22:53:05 -04:00
Nick
1419e9613a fix: welcome page crash 2019-08-25 16:52:16 -04:00
Nick
10e19700e5 fix: UI improvements 2019-08-25 14:23:56 -04:00
Nick
7f67c72757 fix: missing vuetify-loader in webpack prod 2019-08-24 23:25:54 -04:00
Nick
d3e693ab46 feat: mandatory password change on login + UI fixes 2019-08-24 22:19:54 -04:00
Nick
823ff1bc61 feat: update user 2019-08-17 18:29:58 -04:00
Nick
a6fa4fb4ac feat: admin edit user (wip) 2019-08-11 23:26:29 -04:00
Nick
2d2cf90514 feat: admin create user + markdown help fix 2019-08-10 22:14:53 -04:00
Nick
577a061033 misc: admin vuetify 2.0 UI + arabic display improvements 2019-08-10 12:18:14 -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
e1f8bf59f5 fix: sidebar display 2019-08-04 13:54:23 -04:00