Commit Graph

1815 Commits

Author SHA1 Message Date
scienceasdf
4b80bab88e
fix: rebuilding tree error when the page number is large enough in sqlite (#2830)
When the total page number is large enough (usually about 80+), sqlite will throw error: "Too many variables". This commit reduces the chunk size for sqlite configuration.
2021-01-29 14:16:33 -05:00
Adrián Martínez Interactiv4
52304a8149
fix: update storage.js to match pageHelper.injectPageMetadata (#2832)
* Update storage.js to match pageHelper.injectPageMetadata

At pageHelper.injectPageMetadata references editorKey and tags to build metadata, but this data seems not to be supplied to this function, since page object is only built from specified columns.

As a result, tags are always empty when exporting pages, and editor key appears as undefined.

It happens also with git storage, but may happen with another storage providers.

I run into this issue running Wiki.js 2.5.170 with the following Docker stack:

CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS              PORTS                                         NAMES
39373979b693        requarks/wiki:2                         "docker-entrypoint.s…"   44 minutes ago      Up 9 minutes        0.0.0.0:80->3000/tcp, 0.0.0.0:443->3443/tcp   wiki
608de6278aaa        requarks/wiki-update-companion:latest   "dotnet wiki-update-…"   5 months ago        Up 6 hours          80/tcp                                        wiki-update-companion
12c7b35ba295        postgres:11                             "docker-entrypoint.s…"   5 months ago        Up 6 hours          5432/tcp                                      db

* Provide id to allow to query for tags

* Update git storage to provide editorKey and tags
2021-01-29 14:15:22 -05:00
Guillaume Hanotel
e3fd967ad7
feat: ability to open search result in new tab with middle-click (#2919) 2021-01-29 14:14:27 -05:00
Nicolas Giard
a7b9be3bf7
docs: update BACKERS
***NO_CI***
2021-01-25 11:40:01 -05:00
Nicolas Giard
0eba201280
docs: update BACKERS
***NO_CI***
2021-01-22 16:30:11 -05:00
Nicolas Giard
804ed9d114
docs: update BACKERS
***NO_CI***
2021-01-22 16:28:10 -05:00
Nicolas Giard
1f1a3700ca
docs: update BACKERS
***NO_CI***
2021-01-21 14:12:17 -05:00
Nicolas Giard
6567415a0d
docs: update BACKERS
***NO_CI***
2021-01-05 15:42:03 -05:00
Nicolas Giard
188b315cdc
docs: update newsletter link
***NO_CI***
2021-01-04 19:29:22 -05:00
Nicolas Giard
88bae01ab7
docs: update sponsors
***NO_CI***
2021-01-03 23:52:22 -05:00
Nicolas Giard
b1df209b20
docs: update sponsors
***NO_CI***
2021-01-03 23:50:48 -05:00
Nicolas Giard
59c7226089
docs: update BACKERS
***NO_CI***
2020-12-22 11:20:03 -05:00
drewblin
063251248c
fix: set autocommit for mysql (#2638)
If in server config mysql has autocommit = 0, then wikijs fails with locks like this:
```
2020-10-30T12:56:51.725Z [JOB] error: Rebuilding page tree: [ FAILED ]
2020-10-30T12:56:51.726Z [JOB] error: truncate `pageTree` - Lock wait timeout exceeded; try restarting transaction
```
2020-12-13 14:57:20 -05:00
Marwane Kalam-Alami
b5af931f88
fix: support tags containing special characters (#2743) (#2748) 2020-12-13 14:56:31 -05:00
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
Nicolas Giard
a1f1cd7356
docs: update canny link in issue template chooser
***NO_CI***
2020-12-08 22:00:54 -05:00
Nicolas Giard
35a0f1ac73
docs: update issue template chooser config
***NO_CI***
2020-12-08 21:59:28 -05:00
Nicolas Giard
933afd89ff
docs: remove feature request issue template
***NO_CI***
2020-12-08 21:57:57 -05:00
Nicolas Giard
42e4eedc06
docs: remove help issue template
***NO_CI***
2020-12-08 21:57:28 -05:00
Nicolas Giard
d77e95e91d
docs: update issue template chooser config
***NO_CI***
2020-12-08 21:56:18 -05:00
Nicolas Giard
5e7a91dfdf
docs: update help github template
***NO_CI***
2020-12-08 21:44:14 -05:00
scienceasdf
d89224405c
feat: set analyzer for elasticsearch (#2793)
* Feature: Custom configuration for elasticsearch

For better search results especially in Chinese, which the standard token analyzer may not work well.

* Set default analyzer in settings when building index

* Remove dangling comma
2020-12-08 21:41:45 -05:00
Nicolas Giard
3fddfd69c3
docs: update BACKERS
***NO_CI***
2020-12-03 13:02:29 -05:00
Nicolas Giard
c815877ad7
docs: update BACKERS
***NO_CI***
2020-11-27 22:36:06 -05:00
Nicolas Giard
9e257080a2
docs: update BACKERS 2020-11-17 11:18:48 -05:00
Nicolas Giard
74ee7823ad
docs: add issue check
***NO_CI***
2020-11-12 14:31:52 -05:00
Eric Knibbe
d04e33eb6b
fix: use absolute URL for logo in email if path relative (#2628) 2020-11-11 11:39:16 -05:00
Nicolas Giard
0f948582a6
docs: update BACKERS
***NO_CI***
2020-11-11 11:18:43 -05:00
Nicolas Giard
24bdfbe52c
misc: remove runme.io config
***NO_CI***
2020-11-02 22:05:12 -05:00
avioral
089b7850d9 fix: broken draw io diagram on rtl mode, improve elasticsearch config (#2647)
* - Modify elastic settings
- Add tags field to index
- Modify elastic search query
- Remove empty entities from build suggests list

* Fix map parser error

* - Fix broken drawio svg diagram (rtl issue)

* - Restore the spaces in objects to respect the project formatting rules.
- Omit explanation line
2020-11-02 11:59:34 -05:00
YAEGASHI Takeshi
a3513b1bdf
fix: enable passport-azure-ad workaround for SameSite cookies (#2567)
This adds cookieEncryptionKeyString configuration in the Azure AD
authentication module.  It represents an array of cookie encryption
strings and enables workaround for SameSite cookies.
2020-11-01 13:10:50 -05:00
Chris
a6bf2412d7
fix: superscript typo in module definition.yml (#2577)
Fix spelling of "superscript"
***NO_CI***
2020-11-01 13:08:04 -05:00
takumi9942
d30fa8298b
fix: media print css (#2593) 2020-11-01 13:03:22 -05:00
Edoardo Morassutto
a37a73dede
fix: inline math interpreted as attributes (#2645)
When using inline math ($e^{-x^2}$) the curly braces are interpreted as
attributes by markdown-it-attrs. Since most of the times they are not
valid attributes they simply get removed.

This patch escapes the curly braces (the default attribute delimiter),
fixing the KaTeX rendering errors.

It would be nice to simply skip that rule for `katex_inline` block types
but as far as I know markdown-it-attrs doesn't have such an option.

Fixes #1581
2020-11-01 13:00:39 -05:00
nzdjb
4586d325d8
docs: helm - correct ingress.hosts in README (#2641)
The ingress.hostname entry listed in the README is erroneous and not used in the ingress.yaml file.

This change corrects the documentation to correctly refer to ingress.hosts and list the default value as given in values.yaml.

***NO_CI***
2020-11-01 12:56:17 -05:00
Nicolas Giard
04a1896811
fix: revert refactor in markdown-kroki and plantuml modules (#2619) 2020-10-25 23:26:55 -04:00
Nicolas Giard
f56b6ee0c0
fix: invalid graphql dep version (2) (#2617) 2020-10-25 20:37:12 -04:00
Nicolas Giard
59a95b3296
fix: invalid graphql dep version (#2616) 2020-10-25 16:34:46 -04:00
Nicolas Giard
a57d9af34c
Merge pull request from GHSA-pgjv-84m7-62q7 2020-10-23 18:49:25 -04:00
Nicolas Giard
655159dc62
docs: update BACKERS
***NO_CI***
2020-10-23 11:13:11 -04:00
Nicolas Giard
fee07a91cd
docs: update BACKERS
***NO_CI***
2020-10-21 10:54:28 -04:00
Nicolas Giard
c1bd13f2cd
docs: update README
***NO_CI***
2020-10-19 11:13:02 -04:00
Nicolas Giard
2d9e70fbd5
docs: update README
***NO_CI***
2020-10-18 18:10:25 -04: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
Kaito Minatoya
0a1f0ac9e3
fix: incorrect cancel button i18n key (#2543) 2020-10-05 22:51:57 -04:00
Nicolas Giard
864ca06b6e
docs: update BACKERS
***NO_CI***
2020-10-03 20:22:24 -04:00
NGPixel
63c8a308ba fix: remove bugsnag + update deps 2020-10-03 17:30:56 -04:00
NGPixel
fe890979af fix: bypass auth redirect cookie when set to homepage 2020-10-03 17:11:34 -04:00
NGPixel
0fa5b9750d fix: handle missing extra field during page render 2020-10-03 16:50:51 -04:00
NGPixel
9762bdc2ce fix: set enableArithAbort explicit value for tedious driver 2020-10-03 16:46:30 -04:00