Commit Graph

61 Commits

Author SHA1 Message Date
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
Roardom
69d1bb47c1 fix: use bool for rss is_private instead of int 2024-10-20 10:14:28 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
2ca7adbbe5 fix: various larastan controller issues 2023-08-25 09:13:18 +00:00
Roardom
8ee9fa059c refactor: use route model binding for staff rss
Also fix rss store/update validation for allowing empty imdb/tmdb/tvdb/mal fields.
2023-07-07 03:18:13 +00:00
Roardom
5890ebc749 refactor: miscellaneous staff controller refactors 2023-07-07 00:28:47 +00:00
Roardom
738bc7f2d1 refactor: single line delete queries 2023-07-07 00:26:17 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
1fa4a3e506 refactor: swap sorting in laravel to ordering in the database 2023-06-19 23:18:40 +00:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -05:00
HDVinnie
464a09f8b7 Merge branch '6.x.x' into Linting 2023-02-03 15:53:35 -05:00
Roardom
67537afb9b fix: rss foreign key constraint 2023-02-03 14:40:49 -06:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
e1cb02e58f refactor: move staff rss requests to form requests 2023-01-08 05:05:41 -06:00
HDVinnie
2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
Roardom
a1909eab3d fix: rss validation 2022-08-31 02:31:21 -05:00
Roardom
0b77ddeb55 add: personal release filter to rss 2022-08-26 20:41:00 -05:00
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -05:00
HDVinnie
c8b67e208a fix: rss controllers return type hints 2022-02-10 15:34:44 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
d7cb337f5f chore: streamline query builder orderBy calls with asc and desc arguments 2022-01-08 03:34:17 -05:00
HDVinnie
77ec35bea5 chore: apply the laravel code style linter 2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
Reileen Kawahara
a72a655654 add: staff rss filter bookmark 2021-10-23 02:06:46 +02:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
67817fbdff Apply fixes from StyleCI
[ci skip] [skip ci]
2021-08-10 23:21:36 +00:00
HDVinnie
88bf916b0a update: rss system
- a lot more refactoring to come
2021-08-10 11:31:47 -04:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
c3310c7a80 refactor: staff rss controller 2020-12-30 12:19:09 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
e92aabae41 update: phpdoc blocks 2020-12-02 21:27:04 -05:00
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
HDVinnie
69e31e586e Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-26 20:32:56 +00:00
HDVinnie
1b55452ff1 update: rss system 2020-06-26 16:32:23 -04:00
HDVinnie
c8adeb7d35 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-07 02:09:28 +00:00
HDVinnie
2f7bc13bce update: rss controllers 2020-06-06 21:50:05 -04:00
HDVinnie
bf76798bd3 refactor: nullable compare to null 2020-04-24 11:31:12 -04:00
HDVinnie
78608a4666 refactor: space after sole ! operators
-  There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
780e0c1f0e chore: update license block 2020-02-12 15:05:34 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
c8f2390c4d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
426b801eda (Update) CRUDDY PT.5 🚀 2019-10-23 16:59:03 -04:00