Commit Graph

26 Commits

Author SHA1 Message Date
Eric Knibbe
2e8585478f
fix(git): handle file renames between folders (#6020)
* git storage: handle file renames between folders

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2023-01-29 23:09: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
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>
2020-08-31 11:28:55 -04:00
Regev Brody
b2ff064d34
fix: stream assets from storage local locations (#2087) 2020-07-12 12:19:01 -04:00
NGPixel
6920a35d80 feat: visualize pages (dendograms) 2020-01-05 15:04:16 -05:00
NGPixel
28fdf14002 fix: export + import tags in storage events 2019-10-27 15:56:39 -04:00
NGPixel
c4303a5659 feat: git sync - process assets 2019-10-20 18:34:38 -04:00
NGPixel
f1668b9ac5 feat: import assets from disk module 2019-10-20 14:42:10 -04:00
NGPixel
d987058336 feat: asset add/rename/remove + dump action for git and disk modules 2019-10-19 17:39:45 -04:00
NGPixel
f4816d0628 fix: pageHelper getFileExtension missing return 2019-10-18 20:23:37 -04:00
Nicolas Giard
cffd32dee0
feat: local disk import all action + v1 import content (#1100) 2019-10-14 23:44:37 -04:00
NGPixel
62d1d7a1df feat: move page 2019-10-13 19:59:50 -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
eac12121bb fix: always prefix lang for non-default language in disk storage module (#1000) 2019-08-31 17:56:49 -04:00
rbtprograms
0f9ddf1e5d fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
2019-08-04 16:31:13 -04:00
NGPixel
4e990d50eb feat: gitlab auth module + storage locale namespacing fix 2019-06-25 02:13:41 +00:00
Nick
e2518c7a8d feat: storage disk - actions + daily backup 2019-04-07 17:00:42 -04: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
Nick
830ddd9d2c fix: await page render to finish before resolving 2019-02-02 16:59:00 -05:00
Nick
3b99382df0 misc: added storage supportedModes option 2019-02-02 12:09:25 -05:00
NGPixel
47dcc90fb7 feat: storage extra metadata + user search fix 2018-08-05 11:27:46 -04:00
NGPixel
2817c72ec3 feat: core improvements + local fs provider + UI fixes 2018-07-29 22:23:33 -04:00
NGPixel
076e923d48 feat: save page + create event for storage targets 2018-07-22 16:25:39 -04:00
NGPixel
9e2f1caaf7 feat: storage module refactor + UI fixes 2018-07-08 01:12:43 -04:00