Oneric
34a48cb87f
scheduled_activity: mark private functions as private
...
And remove unused due_activities/1
2024-05-22 20:18:08 +02:00
floatingghost
76ded10a70
Merge pull request 'Backoff on HTTP requests when 429 is recieved' ( #762 ) from backoff-http into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/762
2024-05-11 04:38:47 +00:00
Floatingghost
4457928e32
duct-tape fix for #438
...
we really need to make this less manual
2024-05-11 05:30:18 +01:00
floatingghost
ee03149ba1
Merge pull request 'Fix Exiftool migration id' ( #763 ) from Oneric/akkoma:fix-migration-timeline-exifdesc into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/763
2024-05-06 22:51:05 +00:00
Floatingghost
ea6bc8a7c5
add a test for 503-rate-limiting
2024-05-06 23:36:00 +01:00
Floatingghost
bd74693db6
additionally support retry-after values
2024-05-06 23:34:48 +01:00
Oneric
5256678901
Fix Exiftool migration id
...
Applying works fine with a 20220220135625 version, but it won’t be
rolled back in the right order. Fortunately this action is idempotent
so we can just rename and reapply it with a new id.
To also not break large-scale rollbacks past 2022 for anyone
who already applied it with the old id, keep a stub migration.
2024-05-07 00:16:21 +02:00
floatingghost
fdeecc7b4c
Merge pull request 'Update clients list in docs' ( #761 ) from norm/akkoma:docs-clients-update into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/761
2024-05-06 21:33:26 +00:00
floatingghost
51482c4fe8
Merge pull request 'Remove remaining Dokku files' ( #766 ) from norm/akkoma:remove-dokku into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/766
2024-05-06 21:33:16 +00:00
Norm
8ae54b260a
Remove remaining Dokku files
2024-04-29 13:45:58 -04:00
Floatingghost
21a81e1111
version bump with translations
2024-04-27 15:10:52 +01:00
Floatingghost
3738ab67bd
Merge remote-tracking branch 'origin/translations' into develop
2024-04-27 15:10:23 +01:00
Floatingghost
7038b60ab5
bump version
2024-04-27 15:08:21 +01:00
Norm
549d580054
Add Enafore to clients list
2024-04-26 15:21:58 -04:00
Floatingghost
010e8c7bb2
where were you when lint fail
2024-04-26 19:28:01 +01:00
Floatingghost
9671cdecdf
changelog entry
2024-04-26 19:10:17 +01:00
Floatingghost
f531484063
Merge branch 'develop' into backoff-http
2024-04-26 19:06:18 +01:00
Floatingghost
ec7e9da734
Correct ttl syntax for new cachex
2024-04-26 19:05:12 +01:00
FloatingGhost
3c384c1b76
Add ratelimit backoff to HTTP get
2024-04-26 19:01:12 +01:00
FloatingGhost
2437a3e9ba
add test for backoff
2024-04-26 19:01:01 +01:00
FloatingGhost
ad7dcf38a8
Add HTTP backoff cache to respect 429s
2024-04-26 19:00:35 +01:00
Weblate
91d9d750c0
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Translation: Pleroma fe/Akkoma Backend (Static pages)
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-static-pages/
2024-04-26 17:49:40 +00:00
Weblate
3c07aa506d
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (91 of 91 strings)
Co-authored-by: Toot <toothpicker@users.noreply.translate.akkoma.dev>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-static-pages/zh_Hant/
Translation: Pleroma fe/Akkoma Backend (Static pages)
2024-04-26 17:49:40 +00:00
Weblate
64050b0fb5
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-errors/
Translation: Pleroma fe/Akkoma Backend (Errors)
2024-04-26 17:49:40 +00:00
Weblate
7babc11475
Update translation files
...
Updated by "Squash Git commits" hook in Weblate.
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-errors/
Translation: Pleroma fe/Akkoma Backend (Errors)
2024-04-26 17:49:40 +00:00
Floatingghost
828158ef49
Merge remote-tracking branch 'oneric/fedfix-public-ld' into develop
2024-04-26 18:49:31 +01:00
Floatingghost
c7276713e0
Merge remote-tracking branch 'oneric/changelog-3.13' into develop
2024-04-26 18:43:39 +01:00
floatingghost
310c1b7e24
Merge pull request 'Change nginx cache size to 1 GiB' ( #759 ) from norm/akkoma:nginx-cache-size into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/759
2024-04-26 17:40:23 +00:00
floatingghost
7da6f41718
Merge pull request 'Exiftool: Strip all non-essential metadata tags' ( #745 ) from Oneric/akkoma:exiftool-strip-all into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/745
2024-04-26 17:38:47 +00:00
floatingghost
53c67993bb
Merge pull request 'Remove unused top level files' ( #760 ) from norm/akkoma:remove-unused-files into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/760
2024-04-26 17:24:21 +00:00
Oneric
5bc64c5753
changelog: add note about StripMetadata and ReadDescription order
2024-04-26 18:57:28 +02:00
Oneric
5ee0fb18cb
exiftool: make stripped tags configurable
2024-04-26 18:57:24 +02:00
Norm
771a306dc1
Update clients list in docs
...
- Warn that the apps here are not officially supported
- Update Kaiteki's social profile
- Remove Fedi App
- Add Subway Tooter
2024-04-26 04:17:17 -04:00
Norm
5b320616ca
Remove unused top level files
...
I don't think anyone really uses the tools that uses these files these
days, and they are another thing that needs to be updated every so
often.
2024-04-26 02:33:18 -04:00
Norm
72c2d9f009
Change nginx cache size to 1 GiB
...
The current 10 GiB cache size is too large to fit into tmpfs for VMs and
other machines with smaller RAM sizes. Most non-Debian distros mount
/tmp on tmpfs.
2024-04-26 01:43:44 -04:00
Oneric
12db5c23f2
Add missing changelog entries
2024-04-26 00:51:45 +02:00
Oneric
a95af3ee4c
exiftool: strip all non-essential tags
...
Documentation was already clear on this only stripping GPS tags.
But there are more potentially sensitive metadata tags (e.g. author
and possibly description) and the name alone suggests a broader effect.
Thus change the filter to strip all metadata except for colourspace info
and orientation (technically it strips everything and then readds
selected tags).
Explicitly stripping CommonIFD0 is needed since -all does not modify
IFD0 due to TIFF storing some actual image data there. CommonIFD0 then
strips a bunch of commonly used actual metadata tags from IFD0, to my
understanding leaving TIFF image data and custom metadata tags intact.
2024-04-25 23:00:42 +02:00
Oneric
163cb1d5e0
exiftool: strip JXL and HEIC
...
As of exiftool 12.57 both formats are supported, but EXIF data is
optional for JXL and if exiftool doesn’t find a preexisting metadata
chunk it will create one and treat it as a minor error resulting in
a non-zero exit code.
Setting -ignoreMinorErrors avoids failing on such uploads.
2024-04-25 23:00:42 +02:00
Oneric
24e608ab5b
docs: fix typo
2024-04-25 23:00:42 +02:00
Oneric
b0a46c1e2e
Normalise public adressing to fix federation
...
Due to JSON-LD compaction the full address of public scope
may also occur in shorter forms and the spec requires us to treat them
all equivalently. To save us the pain of repeatedly checking for all
variants internally, normalise inbound data to just one form.
See note at: https://www.w3.org/TR/activitypub/#public-addressing
This needs to happen very early, even before the other addressing fixes
else an earlier validator will reject the object. This in turn required
to move the list-tpye normalisation earlier as well, but since I was
unsure about putting empty lists into the data when no such field
existed before, I excluded this case and thus the later fixing had to be
kept as well.
Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/670
2024-04-25 18:45:16 +02:00
floatingghost
b1c6621e66
Merge pull request 'Read image description from EXIF data' ( #744 ) from timorl/akkoma:elseinspe into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/744
2024-04-25 12:52:31 +00:00
floatingghost
764dbeded4
Merge pull request 'Accept all standard actor types' ( #751 ) from Oneric/akkoma:all-actor-types into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/751
2024-04-24 17:09:02 +00:00
floatingghost
06847ca5f8
Merge pull request 'Update nginx config and install docs to use certbot's nginx plugin' ( #752 ) from norm/akkoma:docs-nginx-certbot into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/752
2024-04-24 17:08:39 +00:00
floatingghost
80e1c094c7
Merge pull request 'Don't strip newlines in pre' ( #709 ) from snan/akkoma:pre into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/709
2024-04-24 17:00:34 +00:00
floatingghost
4a0e90e8a8
Merge pull request 'ReceiverWorker: Make sure non-{:ok, _} is returned as {:error, …}' ( #753 ) from Oneric/akkoma:receive-worker-return into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/753
2024-04-24 17:00:18 +00:00
floatingghost
1e48a37545
Merge pull request 'Remove unused AP C2S endpoints' ( #749 ) from who-wants-to-yeet-c2s-i-want-to-yeet-c2s into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/749
2024-04-24 16:59:58 +00:00
Oneric
83f75c3e93
Accept all standard actor types
2024-04-23 18:14:34 +02:00
floatingghost
7d89dba528
Merge pull request 'Fix flaky expires_at tests' ( #754 ) from Oneric/akkoma:test-flaky-expires_at into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/754
2024-04-23 15:14:21 +00:00
Floatingghost
92168fa5a1
Merge remote-tracking branch 'origin/develop' into who-wants-to-yeet-c2s-i-want-to-yeet-c2s
2024-04-23 14:37:05 +01:00
Floatingghost
3e199242b0
remove upload_media from AP representation
2024-04-23 14:35:52 +01:00