Roardom
48adfce1af
fix: group cache
...
Laravel returns numeric strings when an int is saved to cache, which breaks a lot of the logic here. Fixed by removing cache everywhere except rss and middleware, and in those two spots, caching the whole group and not just the id of the group.
2025-07-19 11:59:00 +00:00
Roardom
9bdbe9764c
refactor: cached select group id by slug queries
...
Uses a better key. Doesn't use the cache when it's not needed.
2025-07-14 18:15:29 +00:00
Roardom
21b89e5f26
refactor: use rss rsskey auth guard
2025-06-17 07:59:44 +00:00
Roardom
0d92098d6f
refactor: replace users.active with users.email_verified_at
...
This is the correct column intended to be used by the Laravel framework. `active` seems to be a custom column that was implemented in UNIT3D before Laravel added email verification in version 5.7.
2025-06-11 06:07:56 +00:00
BradleyRL
b7a76252c3
fix: rss genres
2025-05-20 21:02:11 -04:00
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
5a6259cea7
remove: sd content and stream optimized flags
...
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +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
36d6e06822
update: don't query database in rss
2024-10-08 03:30:23 +00:00
Roardom
ef8b23dd7c
fix: search by name if argument is supplied in rss search
2024-08-12 12:00:13 +00:00
Roardom
dd538f73b0
fix: use the "all" matching strategy in meilisearch
...
Resembles the sql search better.
2024-08-12 11:58:50 +00:00
Roardom
fa35e4e5c0
add: use meilisearch to search torrents
2024-08-06 02:15:25 +00:00
Roardom
4b3b864fa4
refactor: use DTO to modularize torrent searching
2024-07-12 14:40:27 +00:00
HDVinnie
9a9318e8f5
update: rss controller
...
- fixes multiple Cannot access property on bool | stdClass
2024-06-21 13:58:50 -04:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
0ef7cc235a
fix: phpstan level 7 controller errors
2024-01-07 17:13:20 +00:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
4ce90b163f
PHP Style Change (Laravel Pint CI)
2023-10-13 02:31:58 +00:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
741778d355
fix: rss edit/delete access
2023-09-24 01:04:45 +00:00
Roardom
d4bb88e39f
update: only select what's necessary in RSS
...
Don't need to select the description, mediainfo, bdinfo, etc.
2023-09-09 08:01:55 +00:00
Roardom
2ca7adbbe5
fix: various larastan controller issues
2023-08-25 09:13:18 +00:00
Roardom
e86c16df5f
fix: authenticated user is null when searching by uploader via rss
2023-07-15 04:14:58 +00:00
Roardom
aef482682b
refactor: swap comparing ids to is() and isNot
2023-07-07 00:28:47 +00:00
Roardom
9d4789ba91
refactor: require whitespace before statements
2023-07-07 00:27:13 +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
Roardom
177c59d88d
refactor: swap firstOrFail() for sole() to enforce a single result
2023-06-19 23:18:40 +00:00
Roardom
b5493c5642
refactor: swap where('id', '=', ) for find()
2023-06-19 23:18:40 +00:00
HDVinnie
f4ebee885c
update: lint
2023-02-03 22:23:00 -05: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
6d429da33d
update: rss cache key
...
RSS feed caching should be done by id, not by user, otherwise it wouldn't be cached when multiple users use the same feed.
2022-12-04 05:05:27 +00:00
HDVinnie
f6bf6a326e
PSR12 Linting
2022-09-11 23:54:18 +00: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
StyleCI Bot
084825c006
Apply fixes from StyleCI
2022-09-09 16:44:56 +00:00
HDVinnie
e62c64c3a1
update: rss
...
- add caching and adjust default rate limiters
2022-09-09 12:44:42 -04: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
Roardom
ff826e24be
update: order rss feed torrents by bumped date
2022-08-11 02:15:59 -05:00
Roardom
f1bb84b90b
fix: torrent filter type hints
2022-05-31 16:57:02 -05:00
HDVinnie
92e773aa5a
fix: rss controller
2022-05-29 23:57:08 -04:00
HDVinnie
32fe112635
fix: rss controller
2022-05-29 23:37:09 -04:00
clandestine8
8557044be3
fix: torrent api and rss contollers
2022-05-29 21:16:42 -04:00
HDVinnie
88e811386d
update: preslash helpers
2022-05-26 22:03:18 -04:00
StyleCI Bot
d5595c45d8
Apply fixes from StyleCI
2022-05-27 00:57:02 +00:00
Roardom
4726d5c555
refactor: torrent search filters into trait
2022-05-25 05:03:49 -05:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00