Commit Graph

54 Commits (9e052883bf0ecc64cafd54270aea121d1a8da7c3)

Author SHA1 Message Date
Your Name 9e052883bf StrContains 6 days ago
Your Name afe2bb6d1d polish 1 week ago
Your Name 40fc084167 polish 1 week ago
Your Name 136e79885b polish 1 week ago
Your Name edde5b985f polish 1 week ago
Your Name 566c5503d3 polish 1 week ago
Your Name ababab30ed polish 1 week ago
Your Name 163cd9f589 polish 1 week 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.
1 week ago
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 weeks ago
Your Name c807a8524c refactor: replace short facade aliases with fully-qualified imports
Convert all 273 short facade alias imports (e.g. 'use Cache;') to their
fully-qualified class names (e.g. 'use Illuminate\Support\Facades\Cache;')
across 193 files.

This resolves 643 PHPStan 'class.notFound' errors caused by the static
analyzer being unable to resolve global aliases, and aligns with modern
Laravel conventions. It also unblocks removing the aliases array from
config/app.php in a future change.

All 107 tests pass.
4 weeks ago
Daniel Supernault 374344754e
Lint 9 months ago
dansup f783db493a
Merge pull request #6340 from grossermensch/patch-3
Allow to set new image types in admin interface
10 months ago
Severin df5814d0f8
Allow to set new image types in admin interface 10 months ago
Your Name 45a9a3b472 RemoveUnreachableStatementRector 11 months ago
Daniel Supernault 7ddbe0c473
Add AVIF support 2 years ago
Daniel Supernault 599a36f4aa
Update AdminSettingsController, persist updates to ConfigCacheService 2 years ago
Daniel Supernault aa44835434
Update AdminSettingsController, increase max photo size limit from 50MB to 1GB 2 years ago
Anil Kulkarni 9db038e4bb
Check for oauth keys from the config, as well as from disk 2 years ago
Daniel Supernault ea2a9eb42a
Add Authorized Fetch 2 years ago
Daniel Supernault d946afcc5c
Update AdminSettings, use better validation for user integer settings 3 years ago
Daniel Supernault 2dcbc1d5ef
Update AdminSettings, add max_account_size support 3 years ago
Daniel Supernault dcc5f416ef
Update AdminSettingsController, add AdminSettingsService 3 years ago
Daniel Supernault ac1f074889
Update AdminSettingsController, add user filter max limit settings 3 years ago
Daniel Supernault 3628b4625c
Update ConfigCacheService, encrypt keys at rest 3 years ago
Daniel Supernault 087b27916f
Update filesystems config, add to config_cache 3 years ago
Daniel Supernault 4a6be62128
Add account migration configurable, but enabled by default 3 years ago
Daniel Supernault 8dac2caf1d
Add Curated Onboarding 3 years ago
Daniel Supernault ccbba56633
Update AdminSettingsController 3 years ago
Daniel Supernault 849e510311
Update db:raw queries to support laravel v10 3 years ago
Daniel Supernault 87d8f516f9
Add admin landing settings 4 years ago
daniel 84207c17bc
Merge pull request #3509 from shleeable/patch-4
Update AdminSettingsController.php
4 years ago
Daniel Supernault fe6787f75e
Update AdminSettingsController, fix cache invalidation when updating rules 4 years ago
Shlee 0fcdf1ebe4
Update AdminSettingsController.php 4 years ago
Daniel Supernault a3d76ee522
Update AdminSettingsController 5 years ago
Daniel Supernault cdf78e23a4
Update ApiV1Controller, improve instance endpoint 5 years ago
Daniel Supernault f3f35f590d
Remove admin .env editor 5 years ago
Daniel Supernault 68aa25400b
Add Auto Following support for admins 5 years ago
Daniel Supernault 069a0e4ae1
Add WebP support 5 years ago
Daniel Supernault 29947e157c
Update admin settings 5 years ago
Daniel Supernault 24e77f647d
Update admin settings 5 years ago
Daniel Supernault a4efbb75d8
Update admin settings, add rules 5 years ago
Daniel Supernault f2066b7401
Add admin config settings 5 years ago
Daniel Supernault 35b92fd7c9
Update admin settings 5 years ago
Daniel Supernault 095b135f4f
Update AdminSettingsController 7 years ago
Daniel Supernault 94bef4c74c
Add Admin Configuration Editor 7 years ago
Daniel Supernault 323dca11a8
Update AdminSettingsController 7 years ago
Daniel Supernault 8e5e2fbc5f
Update AdminSettingsController 7 years ago
Daniel Supernault a1a8abacef
Fixes #857 8 years ago
Daniel Supernault 5cec84f8e3
Closes #912 8 years ago