Commit Graph

2003 Commits

Author SHA1 Message Date
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
Mirko Iannella
31a18c8a67
fix: check for email array during processProfile (#2515)
In our setup (based on yunohost) the profile.email field could be either a string (and that was properly handled) or an array.
This code adds support for the case where it is an array.
2020-10-03 16:23:58 -04:00
Aaron
23e3403054
fix: update Matomo integration client code (#2526)
Signed-off-by: Aaron <admin@datahoarder.dev>
2020-10-03 16:22:02 -04:00
NGPixel
084dcd69d1 fix: strip directory traversal sequences from asset paths 2020-10-03 01:44:57 -04:00
NGPixel
9ccd1f82e9 fix: azure-pipelines.yml cypress format 2020-09-30 23:59:06 -04:00
NGPixel
e23d26e6b7 fix: azure-pipelines.yml 2020-09-30 23:46:03 -04:00
NGPixel
752ac61bf5 misc: migrate to YAML azure pipelines 2020-09-30 23:40:20 -04:00
Иван
5668eea40a
fix: tabset tabs can't be scrolled (#2442)
* fix: tabset tabs can't be scrolled

Fix for #2091. The change advised in that issue works brilliantly.

* fix: tabset scrollbar is visible even if unnecessary

* fix: tabset tall headers

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-09-26 19:07:17 -04:00
Nicolas Giard
dd27d58a28
docs: update BACKERS
***NO_CI***
2020-09-24 10:57:53 -04:00
NGPixel
b0f61d6605 feat: rocket.chat auth module 2020-09-20 20:15:51 -04:00
Nicolas Giard
722bff1bab
docs: update BACKERS
***NO_CI***
2020-09-20 17:25:55 -04:00
Jeffrey Forman
de19d37953
fix: helm - image tag and imagePullPolicy to correctly inherit from values (#2472)
* fix image tag and imagePullPolicy to correcy inherit from values, with sane defaults (ifNotPresent and latest)

* fix default service ports for http and https in service.yaml

Co-authored-by: Jeffrey Forman <jforman@gmail.com>

***NO_CI***
2020-09-19 20:32:36 -04:00
James C
5a9df24f04
fix: markdown editor URL autocompletion (#2452)
Fix for #2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
2020-09-19 17:55:38 -04:00