summaryrefslogtreecommitdiff
path: root/priv/repo
AgeCommit message (Collapse)Author
2024-12-30fix testsmkljczk
Signed-off-by: mkljczk <git@mkljczk.pl>
2024-12-30Remerge of hashtag following (#341)floatingghost
this time with less idiot Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/341 Signed-off-by: mkljczk <git@mkljczk.pl>
2024-09-04Ensure apps are assigned to usersMark Felder
2024-08-07Merge branch 'remove/workerhelper' into 'develop'feld
Remove WorkerHelper See merge request pleroma/pleroma!4166
2024-07-30Fix publisher job migration errorMark Felder
2024-07-30Remove :workers config from ConfigDBMark Felder
2024-07-30Merge branch 'oban/simpler-publish' into 'develop'feld
Publisher job simplification See merge request pleroma/pleroma!4194
2024-07-30Fix migration crashing due to Oban not runningMark Felder
We can use Pleroma.Repo to fetch the jobs
2024-07-29Insert replacement jobs in the new format if any remain undeliveredMark Felder
The old jobs remain and will fail gracefully
2024-07-23Refactor backups to be fully controlled by ObanMark Felder
2024-06-19Remove Logger from ConfigDBMark Felder
2024-06-12Switch formatting checks to Elixir 1.15Haelwenn (lanodan) Monnier
2024-06-08Bump depsPleroma User
2024-05-30Add missing foreign key indexesMark Felder
2024-05-27Oban queue simplificationMark Felder
2024-05-18Merge remote-tracking branch 'origin/develop' into status-notification-typemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-15Merge branch 'instance_rules' into 'develop'feld
Instance rules See merge request pleroma/pleroma!3669
2024-05-07RichMedia refactorMark Felder
Rich Media parsing was previously handled on-demand with a 2 second HTTP request timeout and retained only in Cachex. Every time a Pleroma instance is restarted it will have to request and parse the data for each status with a URL detected. When fetching a batch of statuses they were processed in parallel to attempt to keep the maximum latency at 2 seconds, but often resulted in a timeline appearing to hang during loading due to a URL that could not be successfully reached. URLs which had images links that expire (Amazon AWS) were parsed and inserted with a TTL to ensure the image link would not break. Rich Media data is now cached in the database and fetched asynchronously. Cachex is used as a read-through cache. When the data becomes available we stream an update to the clients. If the result is returned quickly the experience is almost seamless. Activities were already processed for their Rich Media data during ingestion to warm the cache, so users should not normally encounter the asynchronous loading of the Rich Media data. Implementation notes: - The async worker is a Task with a globally unique process name to prevent duplicate processing of the same URL - The Task will attempt to fetch the data 3 times with increasing sleep time between attempts - The HTTP request obeys the default HTTP request timeout value instead of 2 seconds - URLs that cannot be successfully parsed due to an unexpected error receives a negative cache entry for 15 minutes - URLs that fail with an expected error will receive a negative cache with no TTL - Activities that have no detected URLs insert a nil value in the Cachex :scrubber_cache so we do not repeat parsing the object content with Floki every time the activity is rendered - Expiring image URLs are handled with an Oban job - There is no automatic cleanup of the Rich Media data in the database, but it is safe to delete at any time - The post draft/preview feature makes the URL processing synchronous so the rendered post preview will have an accurate rendering Overall performance of timelines and creating new posts which contain URLs is greatly improved.
2024-04-06Add hint to rulesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-06Merge remote-tracking branch 'origin/develop' into instance_rulesmarcin mikołajczak
2024-03-01Allow to group bookmarks in foldersmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-31Merge remote-tracking branch 'origin/develop' into status-notification-typemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-22Merge remote-tracking branch 'origin/develop' into instance_rulesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-20Fix more Logger warn -> warningMark Felder
2023-12-09Skip transaction to generate the index concurrentlylain
2023-12-08Permit the index creation to run concurrentlyMark Felder
2023-11-28Merge branch 'generate-unset-user-keys-migration' into 'develop'lain
Fix GenerateUnsetUserKeys migration See merge request pleroma/pleroma!3976
2023-11-13Fix GenerateUnsetUserKeys migrationmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-11-12Merge branch 'quotes-count' into 'develop'lain
Count and display post quotes See merge request pleroma/pleroma!3956
2023-11-12Count and display post quotesmarcin mikołajczak
2023-11-07Fix digest email processing, consolidate Oban queuesMark Felder
The email related jobs can all share a single Oban queue
2023-06-27Merge branch 'instance-nodeinfo-metadata' into 'develop'developHaelwenn
instances: Store some metadata based on NodeInfo See merge request pleroma/pleroma!3853
2023-06-27Merge branch 'from/upstream-develop/tusooa/backup-status' into 'develop'Haelwenn
Detail backup states Closes #3024 See merge request pleroma/pleroma!3809
2023-06-11B Migrations: Don't remove activity_visibility_index for now.Lain Soykaf
2023-06-11Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into unused_indexesLain Soykaf
2023-05-05User: Remove ap_enabled fieldHaelwenn (lanodan) Monnier
2023-04-22Remove unused indexesMark Felder
These indexes were always listed as unused and several grow quite large. The most significant impact is the activities_visibility_index which takes many hours to rebuild when restoring the server from backup even on fast hardware.
2023-03-16instances: Store some metadata based on NodeInfoHaelwenn (lanodan) Monnier
2023-02-19Fix down migrationmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-19Merge remote-tracking branch 'pleroma/develop' into status-notification-typemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-02Revert "Merge branch 'copyright-bump' into 'develop'"lain
This reverts merge request !3825
2023-01-01Bump copyright yearmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-24Detail backup statestusooa
2022-12-15Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-depsLain Soykaf
2022-11-11Add migration to remove Quack from ConfigDBMark Felder
2022-11-03Update to Phoenix 1.6 and chase dependenciesMark Felder
Also bump minimum Elixir to 1.11
2022-09-05Merge branch 'fix/user-private-key-generation' into 'develop'Haelwenn
User: generate private keys on user creation See merge request pleroma/pleroma!3737
2022-09-05Migrations: generate unset user keysHélène
User keys are now generated on user creation instead of "when needed", to prevent race conditions in federation and a few other issues. This migration will generate keys missing for local users.
2022-09-04Merge branch 'fix/federation-context-issues' into 'develop'tusooa
Fix reply context fixing (Pleroma replies to Misskey threads) and removal of context objects See merge request pleroma/pleroma!3717
2022-09-03Merge branch 'from/upstream-develop/tusooa/assoc-object-id' into 'develop'Haelwenn
Add function to calculate associated object id Closes #2307 See merge request pleroma/pleroma!3692