Matt Baer
be76f865a4
Merge branch 'develop' into import-text
2020-01-07 16:35:23 -05:00
Nick Gerakines
2aea9560bc
Merged T710-oauth-slack into oauth-wrapper.
2020-01-02 16:19:26 -05:00
Matt Baer
af23e28d05
Pass OAuth requests through new OAuth handler
...
This gives us our standard logging and passes around errors with
impart.HTTPError.
Ref T705
2019-12-30 18:14:01 -05:00
Nick Gerakines
13121cb266
Merging T705-oauth into T710-oauth-slack. T705,T710
2019-12-27 13:40:11 -05:00
Nick Gerakines
bf3b6a5ba0
Unit tests, integration testing, and code cleanup for oauth support. Part of T705.
2019-12-23 14:30:32 -05:00
Nick Gerakines
7a0863f71b
Added oauth handlers and tests with mocks. Part of T705.
2019-12-19 11:51:19 -05:00
Matt Baer
af6e5dea3a
Merge branch 'develop' into import-text
2019-11-26 17:41:29 -05:00
Matt Baer
d4206cd5f8
Move to web-core v1.2.0
2019-11-11 23:19:34 +09:00
Rob Loranger
feba200916
remove gogs/gogs/pkg/tool dependency
...
this borrows some code from github.com/gogs/gogs/pkg/tool to avoid
pulling it in as a dependency, along with many other indirect deps.
2019-09-11 12:50:04 -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
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
Matt Baer
41062728f5
Fix go-sitemap-generator overriding GOMAXPROCs
...
This upgrades the library to v2, which lets you specify that GOMAXPROCs
should always be the max number of CPUs -- and then sets it to that.
One side effect of this is that images are no longer listed in sitemaps.
I'm somehow at a loss on how to build and append the images array we
need, with the library's latest changes.
Fixes #86
2019-07-20 19:47:13 -04:00
Rob Loranger
6ff136455c
Add go-bindata as a module dependency
...
This adds https://github.com/jteeuwen/go-bindata as a module dependency
as the make target 'build' will result in it's addition.
2019-05-17 16:22:44 -07:00
Matt Baer
07ab0cdb9c
Add `invites` flag in NodeInfo
...
This indicates whether or not invites are enabled on this instance. It
requires an upgrade to writefreely/go-nodeinfo v1.2.0
2019-04-11 20:37:01 -04:00
Matt Baer
2cee0dee2a
Support Go modules
2019-02-11 10:30:31 -05:00