Matt Baer
0d79057bae
Rename ReleaseURL() to ReleaseNotesURL()
4 anos atrás
Matt Baer
84ab41697b
Merge branch 'develop' into admin-dashboard-redesign
4 anos atrás
Matt Baer
f79926031f
Merge pull request #175 from writeas/T572-check-updates
add update checks
Closes T572
4 anos atrás
Matt Baer
8364dce398
Merge branch 'develop' into T572-check-updates
4 anos atrás
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 anos atrás
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 anos atrás
Matt Baer
8ce7d4c9fc
Add isIgnorableError to database-lib.go
4 anos atrás
Matt Baer
9fb12eea74
Merge pull request #240 from techknowlogick/acme-v2
update golang.org/x/crypto vendor to use acme v2
4 anos atrás
Matt Baer
42467fc9c1
Merge branch 'develop' into acme-v2
4 anos atrás
Matt Baer
ab2b8dff7f
Merge pull request #249 from writeas/fix-activitypub-client
Improve resource use for federation
4 anos atrás
Matt Baer
859702f3e7
Merge pull request #210 from writeas/rename-account-suspend
Rename Suspend status to Silence
Ref T661
4 anos atrás
Matt Baer
7023b74d12
Update calls and vars for Invites and elsewhere
Ref T661
4 anos atrás
Matt Baer
629d40b549
Fix collection rendering after merge
4 anos atrás
Matt Baer
f70c1dfaa5
Merge branch 'develop' into rename-account-suspend
4 anos atrás
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
4 anos atrás
Matt Baer
252d59d3f7
Merge pull request #208 from writeas/silence-invites
add silenced warning on invites page
Ref T661
4 anos atrás
Matt Baer
b78f64bad3
Don't fail Invite page rendering on IsUserSuspended check
4 anos atrás
Matt Baer
8cfffb5650
Disable form items on Invite page when silenced
Ref T661
4 anos atrás
Matt Baer
6d3803bfe8
Merge pull request #241 from writeas/post-time-fix
fixes imported post times
4 anos atrás
Matt Baer
f902f65365
Merge pull request #259 from writeas/fix-edit-route-permissions
Require authenticated user on draft edit routes
4 anos atrás
Matt Baer
1a10bb3ed6
Merge pull request #252 from writeas/fix-mix-of-collations
Restrict /invite/{code} route to valid chars
4 anos atrás
Matt Baer
f8a40fac4b
Merge pull request #202 from writeas/T319-delete-account
add account deletion
Ref T319
4 anos atrás
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
4 anos atrás
Matt Baer
af14bcbb78
Clean up oauth_users table on account deletion
Ref T319
4 anos atrás
Matt Baer
c9faff178d
Don't float posts on account deletion
Ref T319
4 anos atrás
Matt Baer
9d360f0e41
Merge branch 'develop' into T319-delete-account
4 anos atrás
Matt Baer
9be05ef32e
Merge pull request #195 from writeas/activitypub-mentions
Send out ActivityPub mentions
Closes T627
4 anos atrás
Matt Baer
9589612d0e
Add TODOs for improving GetProfilePageFromHandle()
4 anos atrás
Matt Baer
ca4b0acf60
Fix error logging format in RemoteLookup
4 anos atrás
Matt Baer
457051106d
Add u-url class and span in mention link
Ref T627
4 anos atrás
Matt Baer
eac223158a
Move remote user URL to /@/
from /mention:
Ref T627
4 anos atrás
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
4 anos atrás
Matt Baer
81edb739dd
Fix mention links
by making them absolute, not relative.
4 anos atrás
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
4 anos atrás
Matt Baer
68d63d3fef
Merge branch 'develop' into activitypub-mentions
4 anos atrás
Matt Baer
1b8f62d143
Require authenticated user on draft edit routes
- /edit
- /meta
4 anos atrás
Matt Baer
fec0eb2a0b
Merge pull request #251 from writeas/fix-memory-leak
Fix memory leak
4 anos atrás
Matt Baer
6e36868e92
Merge pull request #239 from techknowlogick/switch-xgo
Switch to a maintained fork of XGO
4 anos atrás
Matt Baer
1fd4230267
Merge pull request #248 from writeas/fix-drafts-html-entities
A minor Drafts page fix + improvement
4 anos atrás
Matti R
0ed3059bd7
add xgo to go mod
4 anos atrás
Matt Baer
ff33c59f27
Merge pull request #180 from writeas/cache-control
Add Cache-Control headers on AP endpoints
Closes T693
4 anos atrás
Matt Baer
5452bf0c0d
Merge pull request #254 from writeas/fix-local-datetime
Fix date format in `datetime` attribute
4 anos atrás
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.
4 anos atrás
Matt Baer
bc9455db4f
Fix datetime attributes on read.tmpl
4 anos atrás
Matt Baer
5de2f633e1
Fix localdate.js not included on Tags page
4 anos atrás
Matt Baer
50901d2446
Fix date format in `datetime` attribute
Previously, the date format in this attribute for posts was invalid.
This caused local date rendering to fail in Firefox. This fixes that.
Closes #253
4 anos atrás
Matt Baer
d6b7a5925f
Restrict /invite/{code} route to valid chars
Previously, loading something like /invite/fFdblk😄 would return a 500,
due to a mix of collations in MySQL while SELECTing for an invite with
an ID of 'fFdblk😄 '. This restricts the route to [a-zA-Z0-9] chars, to
prevent this.
4 anos atrás
Matt Baer
93dd2341c2
Merge pull request #191 from writeas/T670-local-time
show timestamps in local date/locale
4 anos atrás
Matt Baer
4d5f58a7e6
Fix date-based post header links
Posts without an explicit title render the date as the post header in
lists of posts (like on the blog index and tag pages). This updates
localdate.js to properly adjust those dates, too.
4 anos atrás
Matt Baer
3e902461f1
Merge branch 'develop' into T670-local-time
4 anos atrás