Darius Kazemi
67db9ccdf3
Merge pull request #1224 from hometown-fork/1202-fix-i-dont-like-it
...
Make the "I don't like it" category let you report an account
2022-12-01 21:26:32 -08:00
Darius Kazemi
7c4b7c6cfe
Merge pull request #1223 from hometown-fork/1213-version-string
...
Swap version numbers and add identifier
2022-12-01 21:26:00 -08:00
Darius Kazemi
a52bd88273
Expose the "default_federation" preference on the preferences API
...
Now when you make a call to `api/v1/preferences` you get a `posting:default:federation` response, which is `true` if the user's posts federate by default, and `false` if the user's posts are local-only by default.
2022-12-01 21:23:10 -08:00
Darius Kazemi
160c575c8b
Making the "media gallery" not show up on Articles
...
When we fetch Articles, we render images inline as intended by the Article. There is no need for a Media Gallery item.
2022-12-01 21:07:04 -08:00
Darius Kazemi
503efed083
Add option to keep local-only posts on auto-delete
...
This adds a `keep_local` column to the `account_statuses_cleanup_policy` table in the database. There is a new checkbox in the preferences for automatic post deletion, and when calculating which statuses to delete there is now a filter for `without_local_scope`.
2022-12-01 20:28:45 -08:00
Darius Kazemi
fb23e84d58
Add toggle for multiple choice polls
...
Adding an explicit toggle to the poll interface so the multiple choice polls are no longer a "hidden" feature.
Fixes #1174
2022-12-01 19:45:40 -08:00
Darius Kazemi
b8c624b673
Fix references to Mastodon in footer
...
We now link the Hometown documentation, and list Hometown first as the place to report issues.
Fixes #1206
2022-12-01 19:36:42 -08:00
Darius Kazemi
6341c9419c
Make the "I don't like it" category let you report an account
...
This makes it so that when a user reports an account and selects "I don't like it", instead of getting a message about how they should personally block that person, it sends them to the normal reporting interface and they can file their report.
Fixes #1202
2022-12-01 19:13:17 -08:00
Darius Kazemi
ca5c920a37
Swap version numbers and add identifier
...
For better compatibility with third party apps and to be more in line with what other fediverse software does (including other Mastodon forks), I am changing the semver version to reflect the synchronized Mastodon version, and making the Hometown version part of the build metadata after the '+' sign. I am also adding a 'hometown' identifier to the build metadata.
Fixes #1213
2022-12-01 18:47:21 -08:00
Darius Kazemi
73bdd71e09
Merge tag 'v3.5.5' into hometown-dev
2022-11-14 13:44:19 -08:00
Claire
696f7b3608
Bump version to 3.5.5
2022-11-14 22:26:24 +01:00
Claire
b22e1476ca
Fix nodes order being sometimes mangled when rewriting emoji ( #20677 )
...
* Fix front-end emoji tests
* Fix nodes order being sometimes mangled when rewriting emoji
2022-11-14 22:20:29 +01:00
Darius Kazemi
f5ffda7cf3
Merge tag 'v3.5.4' into hometown-dev
2022-11-14 11:47:27 -08:00
Claire
105ab82425
Bump version to 3.5.4
2022-11-14 20:09:16 +01:00
Claire
2dd8f977e8
Fix emoji substitution not applying only to text nodes in backend code
...
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-14 11:20:41 +01:00
Claire
2db06e1d08
Fix emoji substitution not applying only to text nodes in Web UI
...
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-14 11:20:41 +01:00
Eugen Rochko
063579373e
Fix rate limiting for paths with formats
2022-11-14 11:20:41 +01:00
Pierre Bourdon
1659788de4
blurhash_transcoder: prevent out-of-bound reads with <8bpp images ( #20388 )
...
The Blurhash library used by Mastodon requires an input encoded as 24
bits raw RGB data. The conversion to raw RGB using Imagemagick did not
previously specify the desired bit depth. In some situations, this leads
Imagemagick to output in a pixel format using less bpp than expected.
This then manifested as segfaults of the Sidekiq process due to
out-of-bounds read, or potentially a (highly noisy) memory infoleak.
Fixes #19235 .
2022-11-14 11:20:41 +01:00
Claire
47eaf85f02
Fix crash when a remote Flag activity mentions a private post ( #18760 )
...
* Add tests
* Fix crash when a remote Flag activity mentions a private post
2022-11-14 11:20:41 +01:00
Darius Kazemi
7adebd4349
Bump version
2022-11-11 16:12:45 -08:00
Darius Kazemi
66e6c0108a
Merge pull request #1186 from therabidbanana/dh-fix-article-format
...
Updates the article formatter to strip unsafe HTML
2022-11-11 16:05:18 -08:00
Darius Kazemi
e70e576ba5
Merge pull request #1193 from johnholdun/local-only-public-hashtag
...
Hide local-only posts from public tag view
2022-11-11 16:01:30 -08:00
Darius Kazemi
8180eda331
Merge pull request #1194 from johnholdun/update-replies-policy
...
Support changing list replies policy from web UI
2022-11-11 15:59:50 -08:00
Darius Kazemi
2d4cd4d561
Merge pull request #1195 from johnholdun/federated-dropdown-value
...
Add data-index attribute to local-only dropdown option
2022-11-11 15:59:35 -08:00
Darius Kazemi
fe340a6a80
Merge pull request #1196 from johnholdun/hide-private-pinned-statuses
...
Hide follower-only pinned statuses from logged-out users
2022-11-11 15:58:37 -08:00
Darius Kazemi
3f2b00542b
Fixing German localization
2022-11-11 15:47:06 -08:00
Darius Kazemi
a67ac3cabd
Fixing stray "Mastodon" text
2022-11-11 15:46:54 -08:00
Darius Kazemi
2427c24c47
Updating gemfile.llock to comply with 035470e
2022-11-11 15:46:26 -08:00
Claire
035470e081
Fix backend compatibility with OpenSSL 3.0 ( #18449 )
...
* Update webpush to fork with OpenSSL 3 compatibility
* Fix tests with OpenSSL 3.0
* Update webauthn gem to latest release and update dependencies
2022-11-11 14:56:24 -08:00
Darius Kazemi
e311837121
Merge tag 'v3.5.3' into hometown-3.5.3-merge
2022-11-11 14:50:45 -08:00
John Holdun
7eedaeb007
Hide follower-only pinned statuses from logged-out users
...
Fixes #1178
2022-11-09 18:51:46 -08:00
John Holdun
e09c30053b
Add data-index attribute to local-only dropdown option
...
The dropdown previously relied on the fact that the falsy value in the federation dropdown had no data-index attribute. This commit changes the falsy value to false, allowing for better control with CSS.
Fixes #1185 .
2022-11-09 18:27:39 -08:00
John Holdun
4f7fa085cb
Support changing list replies policy from web UI
...
Modifest the arguments sent to the updateList function to properly set the new replies policy value, as well allowing for an undefined value for the exclusive setting which will result in no new value being sent to the API for that attribute--that is, it will be left unchanged unless otherwise specified.
Fixes #1191
2022-11-09 18:04:45 -08:00
John Holdun
6e2ed8a8f9
Hide local-only posts from public tag view
...
Fixes #1180
2022-11-09 16:34:09 -08:00
Darius Kazemi
69ff67746b
Trying to be clearer what "light weight" means
2022-11-08 13:39:40 -08:00
David
d8f85dfcb6
Also download file
2022-10-30 22:47:10 +00:00
David
2f970e8bb7
Updates the formatter to be smarter
2022-10-30 22:13:45 +00:00
Darius Kazemi
8527f01987
Merge pull request #1173 from garritfra/feature/update-de-translations
...
Translate Hometown-specific strings to German
2022-06-13 08:58:07 -07:00
Garrit Franke
ad9692b611
feat(l10n): translate missing german resources
2022-05-31 14:44:39 +02:00
Garrit Franke
e572a22553
feat(l10n): translate missing german frontend resources
2022-05-31 14:31:55 +02:00
Eugen Rochko
fbcbf7898f
Bump version to 3.5.3 ( #18530 )
2022-05-26 23:26:15 +02:00
Eugen Rochko
0a1992430d
Fix errors when rendering RSS feeds ( #18531 )
2022-05-26 23:02:42 +02:00
Eugen Rochko
52f4e834f2
Fix concurrent unfollowing decrementing follower count more than once ( #18527 )
2022-05-26 22:14:47 +02:00
Eugen Rochko
8a9acbe604
Fix being able to appeal a strike unlimited times ( #18529 )
...
Peculiarity of the `has_one` association is that the convenience
creation method deletes the previous association even if the new
one is invalid
2022-05-26 22:08:12 +02:00
Eugen Rochko
c4d2c39a75
Fix being able to report otherwise inaccessible statuses ( #18528 )
2022-05-26 22:08:02 +02:00
Eugen Rochko
1ff4877945
Fix empty votes arbitrarily increasing voters count in polls ( #18526 )
2022-05-26 22:06:10 +02:00
Eugen Rochko
976cd6413e
Fix moderator leak in undo_mark_statuses_as_sensitive ( #18525 )
...
Signed-off-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: 40826d <74816220+40826d@users.noreply.github.com>
2022-05-26 22:04:16 +02:00
Eugen Rochko
9f81b9f29a
Fix suspended users being able to access APIs that don't require a user ( #18524 )
2022-05-26 22:04:05 +02:00
Eugen Rochko
96129c2f10
Fix confirmation redirect to app without `Location` header ( #18523 )
2022-05-26 22:03:54 +02:00
Eugen Rochko
3e0e7a1cfb
Fix follower and other counters being able to go negative ( #18517 )
2022-05-26 20:32:48 +02:00