Commit graph

8 commits

Author SHA1 Message Date
Rob Loranger
232d6b56c9
allow importing from zip
this allows zip files in the import upload form

plain files are still uploaded to the selected collection but zip
contents are considered drafts with the exception of subdirectories,
these are added to the corresponding collections. if no collection is
found then it will be created.
2019-08-26 15:04:18 -07:00
Rob Loranger
d9bf8ab6cc
update to wfimport v0.2.0
now checking for and returning invalid content type errors
2019-08-26 14:53:05 -07:00
Rob Loranger
cbc9c6725a
include imported created time
this updates to parse the time from the imported file, using v0.1.1 of
the wfimport library
2019-08-21 14:43:05 -07:00
Rob Loranger
4acd35f8cd
revert include time in imported posts
in favor of library side generation to support zip files
2019-08-21 13:12:56 -07:00
Rob Loranger
9dbf14c05e
include time in imported posts 2019-08-21 10:07:30 -07:00
Rob Loranger
92f75a8871
avoid generating excess access tokens
this changes the import handler to use CreatePost instead of
CreateOwnedPost which required generation of non expiring access tokens
2019-08-19 09:06:56 -07:00
Rob Loranger
0ca198c715
include nice alert message on success
different template action for partial or complete import success
2019-08-17 16:18:40 -07:00
Rob Loranger
ee4fe2f4ad
add basic text file imports
this adds basic support for importing files as blog posts.

.txt and .md are supported at this time and the
collection is selectable, defaulting to draft.

if a collection is specified the post is federated.
2019-08-16 14:27:24 -07:00