Commit graph

140 commits

Author SHA1 Message Date
Andrew Godwin
0225c6e8ba Continue to refactor 2023-05-02 11:05:03 -06:00
Andrew Godwin
5d68e3aaac Start of new UI refactor 2023-05-02 11:05:03 -06:00
Christof Dorner
5759e1d5c1
Expose Link header via CORS (#562) 2023-05-02 09:57:12 -06:00
Christof Dorner
79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Dan Watson
cedcc8fa7c
Bookmarks (#537) 2023-03-11 11:17:20 -07:00
Andrew Godwin
179dc0e2cf Releasing 0.8 2023-02-19 22:47:47 -07:00
Andrew Godwin
9a0008db06 Add initial follow import/export
Fixes #437
2023-02-13 20:50:43 -07:00
Andrew Godwin
04ad97c69b Remove hatchway's internal copy 2023-02-13 19:04:30 -07:00
Andrew Godwin
5d2ed9edfe
Hatchway API Rewrite (#499)
Removes django-ninja and replaces it with a new API framework, "hatchway".

I plan to move hatchway into its own project very soon.
2023-02-07 12:07:15 -07:00
Andrew Godwin
36676fad59 Rework stator to avoid deadlocks on slow databases
Refs #424
2023-02-03 21:51:24 -07:00
Corry Haines
93c0af992b
Templatize robots.txt (#478) 2023-01-29 12:27:07 -07:00
Andrew Godwin
18623358be Releasing 0.7 2023-01-16 16:47:43 -07:00
Andrew Godwin
3f3e815407 Defend against MAIN_DOMAIN being unset in prod 2023-01-14 12:18:35 -07:00
Michael Manfre
21d565d282
Copy Emoji to local and delete file with record (#407) 2023-01-14 10:35:20 -07:00
TAKAHASHI Shuuji
3679448cdf
FIx HTML issues found by djLint (#409) 2023-01-14 10:32:48 -07:00
Andrew Godwin
8b3106b852 Implement server announcements
Fixes #377
2023-01-13 16:12:05 -07:00
Andrew Godwin
113db4ab3a Fixed #376: Emoji admin page
Also did a new table style for admin pages
2023-01-10 20:31:50 -07:00
Corry Haines
20edb20563
Add debug environment and sentry experiment (#372)
The "debug" environment allows for an additional label in Sentry. I use this to isolate issues/traces only present on my server with DEBUG enabled, for faster development and tracing.

The sentry _experiments is a optional list of beta-grade experiments that Sentry is developing. Profile traces is one of those experiments, to adding it disabled by default. Developers can enable it with the provided setting.
2023-01-07 17:21:41 -07:00
Corry Haines
4547ed1c71
Enable HTTPX integration in Sentry (#352)
I don't know a whole lot about HTTPX, but it seems Sentry has an integration for it. Should it be enabled?
2023-01-04 16:41:27 -07:00
Cosmin Stejerean
efd5f481e9
OAuth2 Fixes (#338)
This implements a few oauth2 fixes:

- passes along the state object
- enforces authorization code expiration (currently set to 1 minute, we could make this configurable)
- enforces redirect_uri
- properly checks for client_secret when granting a token
- handles pulling client authentication for token grant from basic auth
- implement token revocation
2023-01-01 11:46:55 -07:00
Andrew Godwin
43ba09a16e Add warning when the MEDIA_URL is wrong
Fixes #343
2023-01-01 10:46:31 -07:00
Andrew Godwin
0b208d3bf7 Releasing 0.6.1 2022-12-30 12:13:06 -07:00
Michael Manfre
0250f2800b
Identity profile menus 2022-12-30 01:01:03 -07:00
Michael Manfre
6983763786
Fix negated autokey guard logic (#308) 2022-12-28 20:08:52 -07:00
Andrew Godwin
6137149f55 Improve cache busting proxy URLs with file exts
Fixes #287.
2022-12-28 11:57:54 -07:00
Corry Haines
296780d5cc
Use cache-busting URLs for proxied files (#294)
Migrates (in a backwards-compatible way) from `/proxy/identity_image/271/` to `/proxy/identity_image/271/f5d8e72f2b/`.
dently).
2022-12-28 11:39:40 -07:00
Andrew Godwin
161b1a8af1 Don't permit autogenerated secret keys in prod
Fixes #300
2022-12-28 11:27:40 -07:00
Andrew Godwin
5780068213 Implement max inbound payload size 2022-12-27 20:01:00 -07:00
Michael Manfre
b63ad40f54
Add ability to customise Django settings (#292) 2022-12-27 16:53:49 -07:00
Andrew Godwin
96e95da73f More 0.6 release prep 2022-12-24 10:50:24 -07:00
Andrew Godwin
f5d06d2656 Move wellness options inside Interface 2022-12-23 23:01:27 -07:00
Andrew Godwin
6be1e7df44 Make oauth screens plain as well 2022-12-23 22:34:33 -07:00
Michael Manfre
aca77314d1
Fixes #239 - Add option to hide Boost and Like counts (#247) 2022-12-23 22:16:26 -07:00
Andrew Godwin
043a41afd3 Allow turning debug toolbar on separately 2022-12-23 01:59:31 -07:00
Andrew Godwin
a058140d11 New "plain" page style for most logged out pages 2022-12-22 13:06:35 -08:00
Andrew Godwin
025fd5cf07 Emoji refactor
Emojis are now prefetched from the post, and if not, looked up
individually by shortcode, to prevent loading hundreds.
2022-12-22 16:55:31 +00:00
Andrew Godwin
9c376395db Invites overhaul
No email tie, added uses and expires, now works by URL.
2022-12-22 07:03:21 +00:00
Corry Haines
4657a1eece
Catch up to 0.6.0 (#217)
A few tweaks to catch my deployment on Fly.io and/or AWS up to 0.6.0. Mostly quality-of-life fixes
2022-12-22 20:47:13 +00:00
Andrew Godwin
3e2ae1b209 Totally unload debug toolbar outside of debug 2022-12-21 22:14:41 +00:00
Andrew Godwin
c9794c0fcf Add public following/followers pages 2022-12-21 20:36:10 +00:00
Andrew Godwin
f82b82502c Install debug toolbar in debug mode 2022-12-20 15:26:39 +00:00
Andrew Godwin
e28294c81a Hashtag admin simplification 2022-12-20 09:16:03 +00:00
Andrew Godwin
0c4eb74165 Invites admin 2022-12-20 08:52:03 +00:00
Andrew Godwin
2ccf2e683e Allow tuning of stator concurrency 2022-12-20 08:02:35 +00:00
Andrew Godwin
a26263fb05 Nginx now bundled in image, does media caching
Also serves static files. Old media caching removed.
2022-12-19 04:26:42 +00:00
Andrew Godwin
3de188e406 Fix Accept header and supply actor outbox
Should help with Mitra among others. Refs #207.
2022-12-19 02:47:35 +00:00
Andrew Godwin
ecde831e77 Sample way less transactions 2022-12-19 00:42:08 +00:00
NaphalSec
da3c0d5bbf
Add "AWS_S3_CUSTOM_DOMAIN" for S3 Media Backend CDN support 2022-12-18 14:04:46 -07:00
Andrew Godwin
58e11ae3b6 Debug JSON view, json fixes 2022-12-18 11:00:21 -07:00
Andrew Godwin
2772ee7188 Let's use dev version numbers 2022-12-17 17:03:24 -07:00