You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Http/Controllers/Api
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.
1 week ago
..
V1 Fix MariaDB driver detection and reblog caption null inserts 1 week ago
AdminApiController.php Fix AdminApiController profiles endpoint, dont include deleted accounts 2 weeks ago
ApiController.php refactor: add return type declarations to controller methods 4 weeks ago
ApiV1Controller.php Fix MariaDB driver detection and reblog caption null inserts 1 week ago
ApiV1Dot1Controller.php Fix MariaDB driver detection and reblog caption null inserts 1 week ago
ApiV2Controller.php Enforce can-post role check on POST /api/v2/media 1 week ago
BaseApiController.php Refactor NotificationService 3 weeks ago