Commit Graph

4683 Commits (4df7bebc149da89330bd3f080fef08fd5bc098a9)

Author SHA1 Message Date
Daniel Supernault c5f69d6ed7
Fix mobile_registration attribute 2 weeks ago
Your Name 11d547415e Add HasMany return type to CustomFilter::statuses() for Larastan
Larastan v3.12.0 added the larastan.relationExistence rule, which
detects Eloquent relations by their declared return type. statuses()
defined the hasMany relation but lacked the ': HasMany' return type, so
the rule could not recognize it and flagged $filter->load([...,
'statuses']) in CustomFilterController.php as referencing a missing
relation. Add the return type to match the sibling keywords() method.
Verified with larastan/larastan v3.12.0 (No errors).
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
Your Name 729396302a fix(federation): swallow ConnectionException on synchronous AP delivery
queueDelivery() runs synchronously from the v1 follow/unfollow endpoints
(via Helpers::sendSignedObject), which commit local state before delivery
and have no try/catch. After the Http::send() rewrite, a ConnectionException
from a momentarily-unreachable remote was rethrown out of queueDelivery(),
turning a best-effort delivery into a 500 for the user after the follow/
unfollow was already persisted. For unfollows, a retry then hit the
isFollowing==false branch and never re-sent the Undo, diverging state.

Treat transport failures (ConnectionException) as best-effort on this
single-delivery path: log, record host health, and return without
propagating. Other exception types (invalid sender/destination, signing,
serialization) still throw, matching pre-rewrite precondition behavior.

Also widen SendUpdateActor's per-user catch from HttpException to Throwable
so a single bad host no longer aborts a fleet-wide actor update (the old
HttpException catch is dead for ConnectionException/invalid-destination).
2 weeks ago
Your Name 8a4567a5c2 Isolate fanout delivery failures from StatusDelete local cleanup 2 weeks ago
Shlee a1abf10010
Merge pull request #7254 from pixelfed/fix/oidc-dangerzone-lockout
Mark OIDC login session password-confirmed to fix dangerzone lockout
2 weeks ago
Your Name fbca487bcd Mark OIDC login session password-confirmed to fix dangerzone lockout 2 weeks ago
Shlee 78447646b8
Merge pull request #7253 from pixelfed/fix/remote-update-media-validate-before-orphan
Validate remote update attachments before detaching existing media
2 weeks ago
Your Name 9b829ca56e Validate remote update attachments before detaching existing media 2 weeks ago
Shlee 1d7ee48f2e
Merge pull request #7252 from pixelfed/fix/v2-media-can-post-role
Enforce can-post role check on POST /api/v2/media
2 weeks ago
Your Name 3a23606573 Enforce can-post role check on POST /api/v2/media 2 weeks ago
Shlee a510682122
Merge pull request #7251 from pixelfed/fix/delete-account-purge-status-edits
Purge status_edits on account and status deletion
2 weeks ago
Your Name 60284a871e Purge status_edits on account and status deletion 2 weeks ago
Shlee 7a5626766e
Update PrivacySettings.php 2 weeks ago
Your Name 7b90bc8699 Fix remove-all follower purge chunkById key and gate the route behind dangerzone 2 weeks ago
Your Name cfbdabdd61 Send verification email for admin-invite users that require verification 2 weeks ago
Shlee 1fffdef464
Merge pull request #7247 from pixelfed/fix/report-object-id-integer-validation
Validate report object_id as a positive integer to fix 500
2 weeks ago
Your Name b4bd3c87a0 Validate report object_id as a positive integer to fix 500 on array input 2 weeks ago
Your Name fe382bdb86 Extend story author-key TTL instead of overwriting so it survives to the longest-lived story 2 weeks ago
Your Name 5ec239404b Import Purify facade in ApiV1Controller to fix larastan class.notFound 2 weeks ago
Daniel Supernault fbd0922fd0
Update Helpers 2 weeks ago
Daniel Supernault a27033d2fd
Update LoginController 2 weeks ago
Daniel Supernault 538a11cccd
Update LoginController 2 weeks ago
Daniel Supernault 96acfb3d91
Update InboxWorker, improve handling 2 weeks ago
Daniel Supernault 13a8a255f6
Update ActivityPub Inbox update handling 2 weeks ago
Daniel Supernault d2a45ee4d3
Update ApiV1Controller 2 weeks ago
Daniel Supernault 22108f8f11
Lint PostImportController 2 weeks ago
Daniel Supernault 914ab1196a
Update StoryComposeController 2 weeks ago
Daniel Supernault b0ca632026
Update unbookmark endpoint 2 weeks ago
Daniel Supernault 1cead5cf60
Update in-app registration 2 weeks ago
Shlee 88137649a3
Merge pull request #7242 from pixelfed/fix/home-timeline-null-account
Guard home timeline filter against null account
2 weeks ago
Your Name b13c374f21 Guard home timeline filter against null account 2 weeks ago
Your Name f1e4536d19 Invalidate notification cache when deleting a status 2 weeks ago
Daniel Supernault e0550c441c
Fix AdminApiController profiles endpoint, dont include deleted accounts 2 weeks ago
Daniel Supernault 6a2208087c
Update AdminStatsService, fix reports_monthly stat 2 weeks ago
Daniel Supernault b2deebb72b
Update AdminApiController, fix typo 2 weeks ago
Daniel Supernault 6232d35d90
Update AccountService and AdminApiController 2 weeks ago
Daniel Supernault 96229868ff
Update AdminApiController, fix missing resource 2 weeks ago
Daniel Supernault 70bab963bc
Fix NetworkTimelineService 2 weeks ago
Daniel Supernault 27bc6e792a
Update AdminApiController and PublicTimelineService 2 weeks ago
Your Name 9d839f7b5a Fix missing email verification dispatch on settings email change 2 weeks ago
Daniel Supernault fbd52dd8fc
Improve federation handling 2 weeks ago
Daniel Supernault 5fc343dd40
Update federation fanout 2 weeks ago
Daniel Supernault a3160cdd23
Update PublicApiController, fix getStatus to use database check 2 weeks ago
Daniel Supernault f371376789
Fix StatusDelete, handle StatusService deletion 2 weeks ago
Daniel Supernault ed63be4d4f
Update HttpSignature, improve signing 2 weeks ago
Daniel Supernault 868e09b64d
Update AP Delivery Service, fix signing and delivery 2 weeks ago
Daniel Supernault 6e0d8454fd
Fix StatusDelete job, add logging 2 weeks ago