Commit Graph

63 Commits

Author SHA1 Message Date
scienceasdf
d7d00b44f6
fix: search engine broken when renaming or moving pages (#2815)
For building suggest in elasticsearch, the safeContent field will be splitted into arrays. If the page is renamed or moved, the server will throw error: "Cannot read property 'split' of Undefined", and the index will be broken. Here two lines are added to fix this issue.
2020-12-13 14:51:44 -05:00
Jafar Akhondali
5ba36ee421
refactor: server code (#2545)
+ Remove duplicated await
+ Replace some legacy codes with ES6
+ Fix some of eslint problems
2020-10-14 11:16:27 -04:00
Higor Tavares
06c372d53f
fix: foreign key constraint when page have comments (#2199)
* Solving foreing key contraint when page have comments

* Update pages.js

remove indentation changes

Co-authored-by: Higor Tavares <paulo.freire@dellead.com>
2020-07-29 19:39:47 -04:00
Seyed Sajad Kahani
3c5352fb53
fix: change reconnectLink behavior for page move (#1991) 2020-06-28 21:08:17 -04:00
Regev Brody
4bc284b06e
fix: page schema validation for extra field (#2097) 2020-06-23 18:26:29 -04:00
NGPixel
83b83a7510 feat: page css + scripts 2020-06-20 16:39:36 -04:00
NGPixel
53ddb50b51 feat: save page scripts + styles 2020-06-20 01:11:05 -04:00
NGPixel
65f71d8e3b fix: strip starting slash from path during page create 2020-06-05 14:52:36 -04:00
NGPixel
89debd57f7 fix: path chars check typo 2020-04-25 02:58:00 -04:00
NGPixel
7306fabdba fix: auto-trim trailing slash from paths + illegal chars check during move 2020-04-24 20:39:07 -04:00
GaliTW
ac11cd2cdd
fix: move page with wrong object key (#1757) 2020-04-22 11:08:46 -04:00
NGPixel
405187b8e0 fix: HA event publish 2020-04-19 22:47:02 -04:00
NGPixel
bd4263ecb2 feat: HA event handling + emitting 2020-04-19 22:47:02 -04:00
NGPixel
4b0e3d1c43 feat: save conflict resolution 2020-03-21 19:18:08 -04:00
NGPixel
e85de92715 feat: restore page version 2020-03-01 18:25:43 -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
988ba3f616 fix: objection 2 changes 2020-01-24 19:21:17 -05:00
NGPixel
8eddc4799e fix: stable db migration + beta migration to stable 2019-11-03 22:00:03 -05: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
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
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
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
38c33c58bb feat: rebuild page tree worker 2019-10-07 00:06:47 -04:00
Nick
95535aa3b0 fix: prevent dots and spaces in page path during create 2019-10-02 00:44:18 -04:00
Nick
454da698a1 fix: git sync untracked 2019-09-27 14:17:12 -04:00
Nick
744e6e3248 fix: restore unicode chars for search content 2019-09-21 10:36:09 -04:00
Nick
26842ab62b feat: reconnect links after page update 2019-09-14 13:14:07 -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
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
5a7fd2d73e feat: tags UI (wip) + save tags from page 2019-09-01 18:33:36 -04:00
Nick
1d8f1f50e1 fix: prevent empty page content 2019-08-26 23:19:39 -04:00
Nick
5689444a17 feat: page locale migration + deps update 2019-07-14 16:12:26 -04:00
Nick
dc4fa9b31e feat: utilities - cache 2019-07-06 17:06:42 -04:00
Nick
13f172978f feat: pages admin + path parsing fixes 2019-07-02 01:48:19 -04:00
Nick
9cd8657ce6 feat: 4 new analytics modules 2019-06-29 16:45:27 -04:00
Nick
2890d9ccf0 fix: handle duplicate page entries without render content 2019-06-25 22:48:23 -04:00
Nick
10df1b4b0c feat: storage actions + git module actions 2019-04-06 19:06:17 -04:00
Nick
7c77cb0815 fix: postgres indexing (#791) + deactivate handler 2019-03-24 00:27:42 -04:00
Nick
21ee8c0c0b feat: azure search module + rebuild index 2019-03-11 00:47:27 -04:00
Nick
e6f1f3add4 feat: git changes processing 2019-02-24 23:48:28 -05:00
Nick
3743777b97 fix: sqlite migrations 2019-02-22 17:05:49 -05:00
Nick
cd3f88bad0 refactor: removed redis + new scheduler engine 2019-02-13 17:21:18 -05:00
Nick
37556399b6 fix: use frontmatter format for metadata in storage 2019-02-10 18:06:03 -05:00
Nick
f74c0caac2 feat: storage modes + git improvements 2019-02-03 17:08:06 -05:00