Go to file
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
.devcontainer misc: add support for VSCode remote development (#1533) 2020-02-28 16:49:18 -05:00
.github docs: update canny link in issue template chooser 2020-12-08 22:00:54 -05:00
.vscode fix: hide bullet on links and grid lists 2019-12-20 17:19:53 -05:00
client feat: ability to open search result in new tab with middle-click (#2919) 2021-01-29 14:14:27 -05:00
dev docs: helm - correct ingress.hosts in README (#2641) 2020-11-01 12:56:17 -05:00
server fix: update storage.js to match pageHelper.injectPageMetadata (#2832) 2021-01-29 14:15:22 -05:00
.babelrc fix: disable code block line break + copy button 2019-11-22 16:16:37 -05:00
.editorconfig fix: root admin access deny bug + patreon link 2019-02-02 12:09:25 -05:00
.eslintignore refactor: dev optimizations + improvements 2018-03-17 22:41:16 -04:00
.eslintrc.yml fix: MSSQL migration 2.5.1 2020-07-05 15:59:02 -04:00
.gitattributes fix: sidebar display 2019-08-04 13:54:23 -04:00
.gitignore fix: login dialog dark mode 2019-08-26 22:54:02 -04:00
.npmrc
.nvmrc fix: remove makefile + update nvmrc version 2020-05-21 00:20:57 -04:00
azure-pipelines.yml fix: azure-pipelines.yml cypress format 2020-09-30 23:59:06 -04:00
config.sample.yml feat: uploads config + security admin page 2020-05-10 15:55:28 -04:00
cypress.json fix: cypress crash on CI 2020-07-05 16:13:40 -04:00
LICENSE
package.json fix: invalid graphql dep version (2) (#2617) 2020-10-25 20:37:12 -04:00
README.md docs: update BACKERS 2021-01-25 11:40:01 -05:00
SECURITY.md docs: add SECURITY.md 2020-04-29 19:14:10 -04:00
sonar-project.properties fix: sonarqube project key 2019-03-19 15:38:04 -04:00
yarn.lock fix: invalid graphql dep version (2) (#2617) 2020-10-25 20:37:12 -04:00

Wiki.js

Release License Backers on Open Collective Downloads Docker Pulls
Build status Quality Gate Status Maintainability Rating Security Rating Standard - JavaScript Style Guide
Chat on Slack Twitter Follow Subscribe to Newsletter

A modern, lightweight and powerful wiki app built on NodeJS

Follow our Twitter feed to learn about upcoming updates and new releases!

Donate

Wiki.js is an open source project that has been made possible due to the generous contributions by community backers. If you are interested in supporting this project, please consider becoming a sponsor, becoming a patron, donating to our OpenCollective, via Paypal or via Ethereum (0xe1d55c19ae86f6bcbfb17e7f06ace96bdbb22cb5).

Become a Sponsor Become a Patron Donate on OpenCollective Donate via Paypal
Donate via Ethereum Donate via Bitcoin Buy a T-Shirt

GitHub Sponsors

Support this project by becoming a sponsor. Your name will show up in the Contribute page of all Wiki.js installations as well as here with a link to your website! [Become a sponsor]

OpenCollective Sponsors

Support this project by becoming a sponsor. Your logo will show up in the Contribute page of all Wiki.js installations as well as here with a link to your website! [Become a sponsor]

Patreon Backers

Thank you to all our patrons! 🙏 [Become a patron]

  • Al Romano
  • Alex Balabanov
  • Alex Zen
  • Arti Zirk
  • Brandon Curtis
  • djagoo
  • Douglas Lassance
  • Ernie Reid
  • Etienne
  • Flemis Jurgenheimer
  • Florent
  • Günter Pavlas
  • hong
  • Ian
  • Iskander Callos
  • Josh Stewart
  • Justin Dunsworth
  • Keir
  • Loïc CRAMPON
  • Ludgeir Ibanez
  • Matt Gedigian
  • Patryk
  • Philipp Schürch
  • Richeir
  • SmartNET.works
  • Stepan Sokolovskyi
  • Zach Maynard
  • 张白驹

OpenCollective Backers

Thank you to all our backers! 🙏 [Become a backer]

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Special Thanks

Algolia
Algolia for providing access to their incredible search engine.

Browserstack
Browserstack for providing access to their great cross-browser testing tools.

Cloudflare
Cloudflare for providing their great CDN, SSL and advanced networking services.

DigitalOcean
DigitalOcean for providing hosting of the Wiki.js documentation site.

Icons8
Icons8 for providing beautiful icon sets.

Lokalise
Lokalise for providing access to their great localization tool.

Netlify
Netlify for providing hosting for landings and blog websites.

Porkbun
Porkbun for providing domain registration services.