Bharat Rajagopalan
8a1fd73f3b
added null checks and cleanup
6 years ago
Bharat Rajagopalan
571d1ddf0e
changes to optionally allow object tag
6 years ago
Bharat Rajagopalan
f9989c75d2
Merge remote-tracking branch 'upstream/dev' into dev
...
syncing upstream dev
6 years ago
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
```
6 years ago
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.
6 years ago
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
6 years ago
Bharat Rajagopalan
1f9f708909
changes for interactive plantuml
6 years ago
Eric Knibbe
d04e33eb6b
fix: use absolute URL for logo in email if path relative ( #2628 )
6 years ago
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
6 years ago
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.
6 years ago
Chris
a6bf2412d7
fix: superscript typo in module definition.yml ( #2577 )
...
Fix spelling of "superscript"
***NO_CI***
6 years ago
Nicolas Giard
04a1896811
fix: revert refactor in markdown-kroki and plantuml modules ( #2619 )
6 years ago
Jafar Akhondali
5ba36ee421
refactor: server code ( #2545 )
...
+ Remove duplicated await
+ Replace some legacy codes with ES6
+ Fix some of eslint problems
6 years ago
NGPixel
63c8a308ba
fix: remove bugsnag + update deps
6 years ago
NGPixel
fe890979af
fix: bypass auth redirect cookie when set to homepage
6 years ago
NGPixel
0fa5b9750d
fix: handle missing extra field during page render
6 years ago
NGPixel
9762bdc2ce
fix: set enableArithAbort explicit value for tedious driver
6 years ago
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.
6 years ago
Aaron
23e3403054
fix: update Matomo integration client code ( #2526 )
...
Signed-off-by: Aaron <admin@datahoarder.dev>
6 years ago
NGPixel
084dcd69d1
fix: strip directory traversal sequences from asset paths
6 years ago
NGPixel
b0f61d6605
feat: rocket.chat auth module
6 years ago
Иван
79c5b8fac2
fix: security html module removes allow attribute from iframes ( #2354 )
...
* fix: secure html module removes allowfullscreen, allow and frameborder attributes from iframes
* Apply suggestions from code review
fix: remove deprecated attributes for iframe in secure html module
Co-authored-by: Nicolas Giard <github@ngpixel.com>
6 years ago
Riccardo Re
660b78d9e2
fix: support permissions by tags for basic db search engine ( #2416 )
...
This code will allow the "search" component to correctly filter pages by usergroup permissions based on tags instead of paths
Co-authored-by: Riccardo Re <riccardo.re@clevermind.cloud>
6 years ago
NGPixel
1404d6343e
fix: API key incorrectly forces token revalidation
6 years ago
NGPixel
8f6cba262f
fix: draw.io svgs are no longer removed with linebreaks ( #2415 )
6 years ago
NGPixel
02c3c66084
fix: checkExclusiveAccess incorrectly includes root admin
6 years ago
NGPixel
7c0d6e2883
fix: prevent write:groups from self-promoting
6 years ago
NGPixel
f988c5f811
fix: logout URL endpoint option for oauth2 module
6 years ago
NGPixel
9009816290
fix: 2fa qr code - handle special chars in site title
6 years ago
NGPixel
aa96e97028
fix: force lowercase for email on local auth
6 years ago
NGPixel
5295e413be
fix: bypass page rule check for global permission check + handle missing page extra field
6 years ago
Rus
68d31af7af
fix: discord auth module new URL. ( #2390 )
...
Change "discordapp.com" to "discord.com"
6 years ago
NGPixel
78417524b3
feat: ldap avatar support
6 years ago
NGPixel
794ecc6ef6
fix: new install local auth not enabled ( #2375 )
6 years ago
NGPixel
9f1ba0a32f
fix: elastic apm rum client script
6 years ago
NGPixel
af054257bd
fix: 2.5.108 migration (2)
6 years ago
NGPixel
0ce63c8ef7
fix: 2.5.108 migration
6 years ago
NGPixel
60f2a2a8d9
fix: migration error for new installs
6 years ago
NGPixel
ef739de970
feat: purge history utility
6 years ago
NGPixel
8490fc1267
feat: handle disabled auth strategies
6 years ago
NGPixel
17f8071abe
fix: LDAP missing reqToCallback
6 years ago
NGPixel
062a0b7979
feat: logout by auth strategy + keycloak implementation
6 years ago
jaljo
cda1f1e805
feat: export creation date in dumped content ( #2345 )
...
* Export creation date in dumped content
* date_creation -> dateCreated
Co-authored-by: Joris Langlois <joris.langlois@knplabs.com>
6 years ago
NGPixel
ae733392f3
feat: password reset
6 years ago
NGPixel
4dcf664040
fix: handle removed auth strategies
6 years ago
NGPixel
e319355017
feat: enable/disable TFA per user
6 years ago
NGPixel
32d67adee1
feat: social login providers with dynamic instances
6 years ago
moonkey124
a7ddafd4aa
fix: incorrect error name for 1017 ( #2331 )
...
Fixed a copy and paste mistake
***NO_CI***
6 years ago
NGPixel
8c205b6950
fix: site title check + UI fixes + 2FA setup on account verify
6 years ago
NGPixel
f72530bf84
refactor: deps update + 2FA setup + verify
6 years ago