• Joined on 2022-12-04
timorl commented on issue AkkomaGang/akkoma#765 2024-06-05 05:49:30 +00:00
RFC: database scheme for media uploads

Right now, unless the ownership index disappears, tracking this separately seems to just add complexity to me, but maybe i’m still missing the point?

The point was to make this more…

timorl commented on issue AkkomaGang/akkoma#765 2024-06-04 10:36:12 +00:00
RFC: database scheme for media uploads

akkoma-fe also has a “Delete & Redraft” feature; a cascading delete would always remove attachments from redrafts (also see #775)

Yeah, I got that, I just wasn't clear, sorry. ^^" I…

timorl commented on issue AkkomaGang/akkoma#765 2024-06-02 12:53:26 +00:00
RFC: database scheme for media uploads

Very cool, sounds massively more reasonable than the current situation. I'm quite worried about how hard migrations will work for already existing instances during updates, but other than that…

timorl commented on issue AkkomaGang/akkoma#765 2024-06-02 09:02:19 +00:00
RFC: database scheme for media uploads

Stats from a approximately-single-user instance:

 SELECT COUNT(*) FROM objects;

  count  
---------
 2473180
(1 row)

and

SELECT data->>'type' AS data_type, COUNT(data)…
timorl commented on pull request AkkomaGang/akkoma#744 2024-04-21 17:46:22 +00:00
Read image description from EXIF data

Quite a couple of these tests seem flaky and the logs being thrown around during test execution don't help with clarity. ._. Anyway, I fixed the test that was actually wrong (thanks for the…

timorl pushed to elseinspe at timorl/akkoma 2024-04-21 17:43:37 +00:00
3f54945033 Fix the one test that wasn't just being flaky
timorl commented on issue AkkomaGang/akkoma#746 2024-04-19 19:27:36 +00:00
Writing image descriptions into EXIF tags

Waitwaitwait, again, posting too early, without reading your posts and the docs in enough detail, sorry.

So it's not actually the posting action that sets the description, but the [media…

timorl commented on issue AkkomaGang/akkoma#746 2024-04-19 19:18:10 +00:00
Writing image descriptions into EXIF tags

If the alt text gets changed, metadata should be overwritten

Ha, good points in there and I'm happy you made them, since that actually makes thing easier.

My general feeling is that the…

timorl commented on pull request AkkomaGang/akkoma#745 2024-04-19 19:02:56 +00:00
Exiftool: Strip all non-essential metadata tags

Aaa, I should've checked here before writing the other comment! :D

Looks nice, what do you think about checking the config on startup as I suggested in #744? Is that doable and a good idea even?

timorl commented on pull request AkkomaGang/akkoma#744 2024-04-19 18:59:52 +00:00
Read image description from EXIF data

I should bump to 1.16

No need to shame me so hard for being only on 1.14. ;-;

Anyway, I updated to 1.15 and the formatting seems better now. Although I get a lot of tests failing, both…

timorl pushed to elseinspe at timorl/akkoma 2024-04-19 18:52:07 +00:00
09d3ccf770 Read description before stripping metadata
9da0fe930e Format, but this time with a non-ancient version of elixir
2a9db73b4c Merge branch 'develop' into elseinspe
0fee71f58f Merge pull request 'Handle failed fetches a bit better' (#743) from failed-fetch-processing into develop
370576474c only consider :op and :id args in duplicate checks
Compare 38 commits »
timorl pushed to develop at timorl/akkoma 2024-04-19 15:10:53 +00:00
0fee71f58f Merge pull request 'Handle failed fetches a bit better' (#743) from failed-fetch-processing into develop
370576474c only consider :op and :id args in duplicate checks
123db1abc4 Merge branch 'develop' into failed-fetch-processing
b2c29527fb make xmerl shut up about markup
d2cee15c15 mix format says no
Compare 670 commits »
timorl opened issue AkkomaGang/akkoma#746 2024-04-16 19:09:51 +00:00
Writing image descriptions into EXIF tags
timorl commented on pull request AkkomaGang/akkoma#744 2024-04-16 18:48:06 +00:00
Read image description from EXIF data

Ran the formatter (sorry!) although it touched a couple of files I'm pretty sure don't actually fall under this PR.

Renamed StripLocation to StripMetadata, technically true already and…

timorl pushed to elseinspe at timorl/akkoma 2024-04-16 18:37:16 +00:00
cd7af81896 Rename StripLocation to StripMetadata for temporal-proofing reasons
59d32c10d9 Formatting
Compare 2 commits »
timorl commented on pull request AkkomaGang/akkoma#241 2024-04-15 15:50:45 +00:00
WIP: Portable image descriptions, part 1: Return image description from exif data

I created #744 then. :)

As for the fields, I looked up the main (official?, from here anyway) specification and Description by itself is not even an…

timorl created pull request AkkomaGang/akkoma#744 2024-04-15 15:45:37 +00:00
Read image description from EXIF data
timorl commented on pull request AkkomaGang/akkoma#241 2024-04-14 18:44:16 +00:00
WIP: Portable image descriptions, part 1: Return image description from exif data

I recently learned about descriptions in EXIF data and decided this would be a cool thing to contribute, so imagine my joy when I noticed this PR doing exactly what I wanted! <3 I was less…

timorl pushed to elseinspe at timorl/akkoma 2024-04-14 18:32:16 +00:00
b144218dce Merge branch 'develop' into elseinspe
c1f0b6b875 Merge pull request 'Accept body parameters for /api/pleroma/notification_settings' (#738) from Oneric/akkoma:notif-setting-parameters into develop
f8a53fbe2f bump dependencies
e36c0f96fc Merge pull request 'Add docker override file to docs and gitignore' (#621) from norm/akkoma:docker-compose-override into develop
6f3c955aa0 Merge pull request 'elixir1.16 testing' (#742) from elixir1.16 into develop
Compare 10 commits »
timorl created branch elseinspe in timorl/akkoma 2024-04-14 18:32:16 +00:00