Reduces html quanity on discs with 10s of thousands of files (35MB -> 27MB). Should be optimized more properly in the future, but this is low-lying fruit.
Lots of weird things here that never worked. I couldn't test out this patch, but it makes a lot more sense logically. Blur/focus don't do anything since it's not an interactive element. The audible status was never checked before playing the sound. In the vue.js version, the audio attribute was checked before playing the sound. I chose to use css to check the focus-within status before playing the sound instead (Prefer simplifying writes over reads).
* (Fix) Handle null release_date with collection movies
The movie-meta.blade throws a "Call to a member function format() on null" error when displaying any item that is a part of a collection when one item in that collection lacks a release date.
Changed $movie->release_date->format('Y') to substr($movie->release_date ?? '', 0, 4) to match the same date handling format used elsewhere in the file.
NOTE: This will leave the empty parentheses when release_date is null. This is a pretty obscure edge case so the stability of matching existing patterns is probably preferable. Alternatively, the line could be wrapped in a ternary to also hide parentheses.
* (Fix) null-safe operator for movie release_date
We don't use password confirmations currently, nor do we use fortify for updating passwords, nor do we use fortify for updating profiles. So they can be removed as well as anything that they depend on.
* Convert pre to div
Fix https://github.com/HDInnovations/UNIT3D/issues/4873
* Undo change to div and add copy button
* Get rid of init wait
* Put script first
* Directly define function
* Revert "Directly define function"
This reverts commit 629248a6a5.
* Revert "Put script first"
This reverts commit b1d8ac894b.
* Revert "Get rid of init wait"
This reverts commit 79d77ab8ab.
* Remove dash
* Finally fix
* Use two words with underscore
* Run prettier
* automation: prettier blade ci
* Apply suggestion from @PythonCoderAS
---------
Co-authored-by: HDVinnie <hdinnovations@protonmail.com>
Co-authored-by: unit3d-bot <unit3d_gh_bot@protonmail.com>
The news block currently renders an empty section when there are no existing articles. Adding `@if ($articles->isNotEmpty())` follows the same pattern used by featured.blade.php to prevent rendering an empty article section when there are no articles to display.
Significantly improves DX with LSP compatibility. Now it's possible to navigate to the definition of these functions in laravel and get ide autocomplete.
Add a modular base set-up that allows adding more different event types.
This one adds upload contests. More can be added the same way with minimal coding efforts.
Implementing a completely automated system may not be feasible, as there are too many individual variations and nuances to account for.
The 2025_09_25_110038_alter_reports_create_assignee.php migration renamed staff_id to solved_by, added solved_at, and dropped the solved bool. solved_by has a NULL default so we can assume if the report in question has a non-null value, it has been solved and we should show the report verdict.