Matt Baer
6aa8de3a4b
Add Gopher support
This adds gopher support to WriteFreely -- both single- and multi-user
instances. It is off by default, but can be enabled with the new
`gopher_port` config value in the `[server]` section.
When enabled, multi-user instances will show all public blogs at
gopher://[host]:[gopher_port]/ -- otherwise, blogs are accessible at
gopher://[host]:[gopher_port]/[blog]/
This is just a proof of concept for now. We still need to handle some
edge cases and different configurations, like private instances.
Ref T559
4 anni fa
Matt Baer
fca864c94a
Merge pull request #266 from writeas/fix-social-images
Fix image extraction for social metadata
4 anni fa
Matt Baer
7283b17400
Merge pull request #267 from writeas/update-contributing-guide
Update Contributing guide
4 anni fa
Matt Baer
4595d480ae
Merge pull request #264 from writeas/admin-dashboard-redesign
Admin dashboard redesign
Closes T694
4 anni fa
Matt Baer
cd2e725746
Merge pull request #270 from nkoehring/js-html-aliases
add js, jsx and html aliases for highlightjs
4 anni fa
koehr
b42760abab
add js, jsx and html aliases for highlightjs
4 anni fa
Matt Baer
f903388a28
Fix admin nav rendering on user viewing
4 anni fa
Matt Baer
9fe528bf47
Fix admin nav rendering on page editing
4 anni fa
Matt Baer
303144fd24
Fix 500 when update checks disabled
Ref T572
4 anni fa
Matt Baer
46dbb10433
Make Admin Settings page more user-friendly
- Add a description to each config item
- Change item names to make more sense
Ref T694
4 anni fa
Matt Baer
d17e82d34c
Prevent update check from slowing app init
Previously, we'd wait for a response before finishing app
initialization, meaning an overall slower startup. This fixes that.
Ref T572
4 anni fa
Matt Baer
8933076296
Add invite button to admin Users page header
Ref T694
4 anni fa
Matt Baer
e6e8cb5944
Add details and update CONTRIBUTING guide
This updates the guide to explain our current practices and processes.
It now focuses primarily on contributing code, instead of other types of
contributions.
4 anni fa
Matt Baer
563ea5b25b
Fix image extraction for URLs with query strings
Previously, image extraction wouldn't catch images with a query string
(or anything else) appended. This fixes that by parsing extracted URLs
and only checking the path for what looks like an image file.
4 anni fa
Matt Baer
34d196376e
Include extracted images in draft social metadata
Previously, we didn't extract images for draft posts. This fixes that.
4 anni fa
Matt Baer
8e8eb3c563
Merge pull request #260 from writeas/fix-deletion-pleroma
Fix post deletion on Pleroma
4 anni fa
Matt Baer
987c74c93a
Add logging around automated update checks
Logs requests when --debug enabled, and always logs errors from the
check.
Ref T572
4 anni fa
Matt Baer
37b7755c08
Tell admin that automated check failed when necessary
This keeps track when automated update check fails, and displays a
relevant message to the admin on /admin/updates
Ref T572
4 anni fa
Matt Baer
c2ece926e0
Show update notification in admin nav bar
When a WriteFreely update is available, indicate this on the "Updates"
navigation item
Ref T572
4 anni fa
Matt Baer
389dc8b9db
Show functional Updates page when checks are disabled
Ref T572
4 anni fa
Matt Baer
a06bb457de
Change copy and design on WF Updates page
- Tweak the copy
- Include link to download latest release
- Change the version status design a bit
- Restyle some text
4 anni fa
Matt Baer
48ca695c46
Show last update check time in local timezone
4 anni fa
Matt Baer
68e992a55e
Fix bad #status anchor in view-user.tmpl
4 anni fa
Matt Baer
8e2eab5b73
Merge pull request #265 from shleeable/patch-1
Update Dockerfile - Go / Alpine base images
4 anni fa
Shlee
7d15b799f0
Update Dockerfile
4 anni fa
Matt Baer
04a76c4120
Merge pull request #262 from writeas/consistent-backend-pages
Consistent backend page design
4 anni fa
Matt Baer
602cd80020
Fix mismatched span in user/admin/users.tmpl
4 anni fa
Matt Baer
0d79057bae
Rename ReleaseURL() to ReleaseNotesURL()
4 anni fa
Matt Baer
84ab41697b
Merge branch 'develop' into admin-dashboard-redesign
4 anni fa
Matt Baer
f79926031f
Merge pull request #175 from writeas/T572-check-updates
add update checks
Closes T572
4 anni fa
Matt Baer
8364dce398
Merge branch 'develop' into T572-check-updates
4 anni fa
Matt Baer
b58464addb
Optionally hide Monitor page in Admin nav
This adds a new config option that signifies the admin doesn't need to
see deeply technical things, like application resource usage. In the
[app] section, set forest = true to enable this.
Ref T694
4 anni fa
Matt Baer
92da069ce4
Move admin dashboard sections into subpages
This moves app config to a "Settings" page and the application monitor
to a "Monitor" page. It also reworks the admin navigation bar a bit and
adds some instance stats on the dashboard.
Ref T694
4 anni fa
Matt Baer
8ce7d4c9fc
Add isIgnorableError to database-lib.go
4 anni fa
Matt Baer
b1d006fcf2
Make Reader width consistent with other pages
4 anni fa
Matt Baer
5d754176e0
Use h1 consistently on user pages
instead of h2s. This also removes odd one-time class usages on Account
Settings page.
4 anni fa
Matt Baer
9fb12eea74
Merge pull request #240 from techknowlogick/acme-v2
update golang.org/x/crypto vendor to use acme v2
4 anni fa
Matt Baer
42467fc9c1
Merge branch 'develop' into acme-v2
4 anni fa
Matt Baer
ab2b8dff7f
Merge pull request #249 from writeas/fix-activitypub-client
Improve resource use for federation
4 anni fa
Matt Baer
859702f3e7
Merge pull request #210 from writeas/rename-account-suspend
Rename Suspend status to Silence
Ref T661
4 anni fa
Matt Baer
7023b74d12
Update calls and vars for Invites and elsewhere
Ref T661
4 anni fa
Matt Baer
629d40b549
Fix collection rendering after merge
4 anni fa
Matt Baer
f70c1dfaa5
Merge branch 'develop' into rename-account-suspend
4 anni fa
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
4 anni fa
Matt Baer
252d59d3f7
Merge pull request #208 from writeas/silence-invites
add silenced warning on invites page
Ref T661
4 anni fa
Matt Baer
b78f64bad3
Don't fail Invite page rendering on IsUserSuspended check
4 anni fa
Matt Baer
8cfffb5650
Disable form items on Invite page when silenced
Ref T661
4 anni fa
Matt Baer
6d3803bfe8
Merge pull request #241 from writeas/post-time-fix
fixes imported post times
4 anni fa
Matt Baer
f902f65365
Merge pull request #259 from writeas/fix-edit-route-permissions
Require authenticated user on draft edit routes
4 anni fa
Matt Baer
1a10bb3ed6
Merge pull request #252 from writeas/fix-mix-of-collations
Restrict /invite/{code} route to valid chars
4 anni fa