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.
2020-02-19 17:07:02 -05:00
Matt Baer
34d196376e
Include extracted images in draft social metadata
...
Previously, we didn't extract images for draft posts. This fixes that.
2020-02-19 16:38:50 -05:00
Matt Baer
8e8eb3c563
Merge pull request #260 from writeas/fix-deletion-pleroma
...
Fix post deletion on Pleroma
2020-02-19 09:59:25 -05:00
Matt Baer
8e2eab5b73
Merge pull request #265 from shleeable/patch-1
...
Update Dockerfile - Go / Alpine base images
2020-02-15 10:48:13 -05:00
Shlee
7d15b799f0
Update Dockerfile
2020-02-15 23:27:13 +08:00
Matt Baer
04a76c4120
Merge pull request #262 from writeas/consistent-backend-pages
...
Consistent backend page design
2020-02-15 09:47:38 -05:00
Matt Baer
f79926031f
Merge pull request #175 from writeas/T572-check-updates
...
add update checks
Closes T572
2020-02-14 14:32:35 -05:00
Matt Baer
8364dce398
Merge branch 'develop' into T572-check-updates
2020-02-14 14:27:22 -05:00
Matt Baer
8ce7d4c9fc
Add isIgnorableError to database-lib.go
2020-02-12 11:39:39 -05:00
Matt Baer
b1d006fcf2
Make Reader width consistent with other pages
2020-02-10 15:08:42 -05:00
Matt Baer
5d754176e0
Use h1 consistently on user pages
...
instead of h2s. This also removes odd one-time class usages on Account
Settings page.
2020-02-10 15:08:14 -05:00
Matt Baer
9fb12eea74
Merge pull request #240 from techknowlogick/acme-v2
...
update golang.org/x/crypto vendor to use acme v2
2020-02-09 13:36:13 -05:00
Matt Baer
42467fc9c1
Merge branch 'develop' into acme-v2
2020-02-09 13:32:45 -05:00
Matt Baer
ab2b8dff7f
Merge pull request #249 from writeas/fix-activitypub-client
...
Improve resource use for federation
2020-02-09 12:03:00 -05:00
Matt Baer
859702f3e7
Merge pull request #210 from writeas/rename-account-suspend
...
Rename Suspend status to Silence
Ref T661
2020-02-09 11:40:10 -05:00
Matt Baer
7023b74d12
Update calls and vars for Invites and elsewhere
...
Ref T661
2020-02-09 11:24:48 -05:00
Matt Baer
629d40b549
Fix collection rendering after merge
2020-02-09 11:24:16 -05:00
Matt Baer
f70c1dfaa5
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:51 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00
Matt Baer
252d59d3f7
Merge pull request #208 from writeas/silence-invites
...
add silenced warning on invites page
Ref T661
2020-02-09 11:02:42 -05:00
Matt Baer
b78f64bad3
Don't fail Invite page rendering on IsUserSuspended check
2020-02-09 10:57:08 -05:00
Matt Baer
8cfffb5650
Disable form items on Invite page when silenced
...
Ref T661
2020-02-09 10:51:34 -05:00
Matt Baer
6d3803bfe8
Merge pull request #241 from writeas/post-time-fix
...
fixes imported post times
2020-02-09 10:23:15 -05:00
Matt Baer
f902f65365
Merge pull request #259 from writeas/fix-edit-route-permissions
...
Require authenticated user on draft edit routes
2020-02-08 15:26:32 -05:00
Matt Baer
1a10bb3ed6
Merge pull request #252 from writeas/fix-mix-of-collations
...
Restrict /invite/{code} route to valid chars
2020-02-08 15:25:15 -05:00
Matt Baer
fe82cbb96e
Fix post deletion on Pleroma
...
See: https://git.pleroma.social/pleroma/pleroma/issues/1481
Fixes #223
2020-02-08 15:19:06 -05:00
Matt Baer
f8a40fac4b
Merge pull request #202 from writeas/T319-delete-account
...
add account deletion
Ref T319
2020-02-08 15:00:49 -05:00
Matt Baer
666bd1b9d1
Show correct error when user not found in admin panel
...
Previously, it would show a 500. This also logs the real reason if it's
not a "not found" error
2020-02-08 14:46:05 -05:00
Matt Baer
af14bcbb78
Clean up oauth_users table on account deletion
...
Ref T319
2020-02-08 13:51:38 -05:00
Matt Baer
c9faff178d
Don't float posts on account deletion
...
Ref T319
2020-02-08 13:51:14 -05:00
Matt Baer
9d360f0e41
Merge branch 'develop' into T319-delete-account
2020-02-08 13:42:46 -05:00
Matt Baer
9be05ef32e
Merge pull request #195 from writeas/activitypub-mentions
...
Send out ActivityPub mentions
Closes T627
2020-02-08 13:12:52 -05:00
Matt Baer
9589612d0e
Add TODOs for improving GetProfilePageFromHandle()
2020-02-08 13:05:54 -05:00
Matt Baer
ca4b0acf60
Fix error logging format in RemoteLookup
2020-02-08 13:05:09 -05:00
Matt Baer
457051106d
Add u-url class and span in mention link
...
Ref T627
2020-02-08 13:04:23 -05:00
Matt Baer
eac223158a
Move remote user URL to /@/
...
from /mention:
Ref T627
2020-02-08 12:58:21 -05:00
Matt Baer
867eb53b35
Show 404 when remote user not found
...
This notifies the user that the remote user doesn't exist, instead of
showing a blank page.
Ref T627
2020-02-08 12:55:10 -05:00
Matt Baer
81edb739dd
Fix mention links
...
by making them absolute, not relative.
2020-02-08 12:19:08 -05:00
Matt Baer
bb63e64883
Clean up getProfilePageFromHandle
...
- Export the func
- Remove commented-out code
- Use log, not fmt for debug messages
- Remove named return parameters
- Use standard var naming schemes
- Fix spacing in queries and remove unnecessary chars
2020-02-08 12:10:47 -05:00
Matt Baer
68d63d3fef
Merge branch 'develop' into activitypub-mentions
2020-02-08 11:51:18 -05:00
Matt Baer
1b8f62d143
Require authenticated user on draft edit routes
...
- /edit
- /meta
2020-02-06 17:44:02 -05:00
Matt Baer
fec0eb2a0b
Merge pull request #251 from writeas/fix-memory-leak
...
Fix memory leak
2020-02-05 16:04:45 +01:00
Matt Baer
6e36868e92
Merge pull request #239 from techknowlogick/switch-xgo
...
Switch to a maintained fork of XGO
2020-02-05 14:56:22 +01:00
Matt Baer
1fd4230267
Merge pull request #248 from writeas/fix-drafts-html-entities
...
A minor Drafts page fix + improvement
2020-02-05 12:26:42 +01:00
Matti R
0ed3059bd7
add xgo to go mod
2020-01-31 16:34:36 -05:00
Matt Baer
ff33c59f27
Merge pull request #180 from writeas/cache-control
...
Add Cache-Control headers on AP endpoints
Closes T693
2020-01-31 12:00:47 +01:00
Matt Baer
5452bf0c0d
Merge pull request #254 from writeas/fix-local-datetime
...
Fix date format in `datetime` attribute
2020-01-31 11:00:43 +01:00
Matt Baer
51700cc7da
Ignore "mix of collations" error on invite SELECT
...
This adds the `isIgnorableError` method and calls it when error checking
in `GetUserInvite()`, returning "not found" if the rror comes up.
2020-01-30 10:36:29 +01:00
Matt Baer
bc9455db4f
Fix datetime attributes on read.tmpl
2020-01-30 10:20:50 +01:00
Matt Baer
5de2f633e1
Fix localdate.js not included on Tags page
2020-01-29 13:03:04 -05:00