Commit Graph

643 Commits (0e0de62dd9767f8da8a76fa0ff4e5e2be5981744)

Author SHA1 Message Date
Daniel Supernault 0e0de62dd9
Fix ActivityPub url resolution 6 days ago
Daniel Supernault 81e71a04f8
Update Helpers::validateUrl(), skip validation for app domain/url optionally 6 days ago
Daniel Supernault 80f792038c
Fix federation comment threading 6 days ago
Daniel Supernault 823efcaad7
Add FEP-044f: Consent-respecting quote posts 6 days ago
Daniel Supernault dedfa67b70
Add FEP-8fcf followers collection synchronization
Sender: followers-only Create deliveries carry a signed
Collection-Synchronization header scoped to the authority of each inbox,
and the partial followers collection is served to authenticated instances
at /users/{username}/followers_synchronization.

Receiver: a signed Collection-Synchronization header whose digest differs
from our copy queues FollowersSyncPipeline, which fetches the partial
collection as the instance actor and reconciles followers, pending follow
requests and unknown follows.

Adds profiles.followers_url for the collectionId check.
7 days ago
Daniel Supernault 8a741d998d
Update ActivityPub helpers, improve url resolution and reply handling 7 days ago
Your Name 28b11b9b35 Larastan 2 1 week ago
Your Name 54e4f8094b Merge branch 'staging' of https://github.com/pixelfed/pixelfed into staging 1 week ago
Your Name 33a6c642ea Larastan 1 to 2 1 week ago
Daniel Supernault c7600fb51a
Update FeedInsertRemotePipeline, prevent statuses older than a week from being distributed 1 week ago
Your Name 53b698ec48 Revert "StrictArrayParamDimFetchRector"
This reverts commit a28d3df4c4.
1 week ago
Your Name 6beab304a0 lint 1 week ago
Your Name 99031fa6bc ReturnTypeFromReturnDirectArrayRector 1 week ago
Your Name a28d3df4c4 StrictArrayParamDimFetchRector 1 week ago
Your Name a5d413a594 ExplicitReturnNullRector 1 week ago
Your Name 0435d08568 RemoveAlwaysElseRector 1 week ago
Your Name 5949dc21c1 UseIdenticalOverEqualWithSameTypeRector 1 week ago
Your Name 32d1c0e7cc add type to function 1 week ago
Your Name 9fde74082a add type to function 1 week ago
Your Name d4e7948a2f add type to return 1 week ago
Your Name 0d999f5dda added return type to function 1 week ago
Your Name c57e5d8ed7 adding type 1 week ago
Your Name 8dcdd93e2b RemoveUnusedVariableInCatchRector 1 week ago
Your Name 9e052883bf StrContains 1 week ago
Your Name f1d4c87391 const types 1 week ago
Your Name 0dbd78ca8e Lint 1 week ago
Your Name 5ebc1af91e BATCH 1 1 week ago
Daniel Supernault 493b8de031
Add FeaturedCollections/Starter Kits support 1 week ago
Daniel Supernault d1d35ece53
Fix ActivityPub helpers 1 week ago
Your Name a56c1fb019 fix(mentions): allow long usernames in autolinking (#7204)
Raise the mention regex local-part cap from 20 to 64 chars. The prior cap
silently dropped long usernames from autolinking/mentions, and for remote
handles it truncated the username and dropped the @domain, turning a remote
mention into a broken local one. Adds extensive lexer coverage.
1 week ago
Shlee cbaeba7b6a
Clean up legacy locale mapping comments 1 week ago
Your Name 0aa4da98e3 larastan fix last commit 1 week ago
Your Name 47dd59367e polish 1 week ago
Your Name fcea9dc34b polish 1 week ago
Daniel Supernault c5f69d6ed7
Fix mobile_registration attribute 2 weeks ago
Your Name 40c95c8aa9 Add db_is_sqlite helper for the test connection 2 weeks ago
Your Name 30440c5e00 Add isMysql/isMariadb split helpers for MySQL-vs-MariaDB divergence
For the rare cases where SQL must differ between MySQL and MariaDB,
add DatabaseDriver::isMysql()/isMariadb() and db_is_mysql()/db_is_mariadb()
alongside the existing grouped isMysqlMaria()/db_is_mysql_maria().
2 weeks ago
Your Name e3b6cebf27 Fix MariaDB driver detection and reblog caption null inserts
Laravel 11 exposes MariaDB as a dedicated 'mariadb' driver, so
config('database.default') === 'mysql' checks silently misclassified
MariaDB as the non-mysql (postgres) branch.

- Add App\Util\Database\DatabaseDriver with isMysqlLike()/isPgsql()
  plus db_is_mysql_like()/db_is_pgsql() global helpers.
- Route all database.default driver checks through the helpers so
  MySQL and MariaDB are treated as one group.
- Use '' (not null) for share/compose caption+rendered, valid whether
  the column is nullable or NOT NULL (it is NOT NULL on MySQL/MariaDB).
- Guard pgsql strtolower() in registration against missing fields.
- Scope CustomEmoji::duplicateShortcodes to the grouped column for
  Postgres GROUP BY validity.
- Remove stale Postgres guard in status:dedup; use havingRaw for
  cross-driver HAVING.
2 weeks ago
Daniel Supernault fbd0922fd0
Update Helpers 2 weeks ago
Daniel Supernault 13a8a255f6
Update ActivityPub Inbox update handling 2 weeks ago
Daniel Supernault fbd52dd8fc
Improve federation handling 2 weeks ago
Daniel Supernault ed63be4d4f
Update HttpSignature, improve signing 2 weeks ago
Shlee 140221fe90
Merge pull request #7192 from pixelfed/refactor/str-of-to-native
Laravel 13 Prep: Replace Str::of() fluent chains with static Str::/native calls
2 weeks ago
Your Name a424493420 Replace Str::of() fluent chains with static Str::/native calls
Aligns with the app's dominant convention (171 static Str:: calls vs
24 Str::of() chains). Uses Str::afterLast() for the repeated
"segment after last slash" pattern, Str::matchAll() where a
Collection return is needed, and native explode()/substr() where a
plain array/string suffices.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 weeks ago
Your Name 277b8aa970 Use now() helper instead of Carbon::now() for current-time access
Aligns with the app's dominant convention (413 now()/today() call
sites vs 12 Carbon::now()). Carbon::parse() calls are untouched since
they parse arbitrary date strings, not current-time access.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 weeks ago
Daniel Supernault 7975ba9c75
Fix StoryCarousel cache invalidation 2 weeks ago
Your Name 73fb5ed696 Fall back to stored profile when remote refresh fails 2 weeks ago
Your Name 1905da723d Validate publicKey.id host on inbox actor ingest to prevent key_id poisoning 2 weeks ago
Daniel Supernault c558724e47
Update AP Helpers 3 weeks ago
Daniel Supernault e57f7ccd3a
Update Helpers.php 3 weeks ago