Roardom
64a1d3542f
refactor: remove constructor from report controller and tidy validation
2023-07-07 03:18:13 +00:00
Roardom
18a6e7ae6c
refactor: split tickets, use route model binding, form requests and mass assignment
2023-07-07 03:18:13 +00:00
Roardom
0f1965260f
refactor: use route model binding, mass assignment and form requests for subtitles
2023-07-07 03:18:13 +00:00
Roardom
998bfa0e16
refactor: use route model binding for pages
2023-07-07 03:18:13 +00:00
Roardom
144d27ab39
refactor: use route model binding in articles
2023-07-07 03:18:13 +00:00
Roardom
222d2dee59
refactor: cruddify playlists
...
Use cruddy routes and controllers. Use route model binding. Use mass assignment. Use form requests. Use pivot model.
2023-07-07 03:18:13 +00:00
Roardom
f4cc89095f
refactor: graveyard resurrections
...
Use route model binding. Move methods in controller available to all users to user-specific controller. Clean up controller code.
2023-07-07 03:18:13 +00:00
Roardom
e0e0ba0dae
update: refactor and fix polls
...
Fix validation. Use route model binding. Cruddify polls and votes.
2023-07-07 03:18:13 +00:00
Roardom
0000838d8b
refactor: cruddy torrents
...
Separate torrents into cruddy route names. Route model binding isn't possible due to the global scope on unapproved torrents. Use form requests. Simplify the controller flow where possible.
2023-07-07 03:18:13 +00:00
Roardom
70e3505886
update: cruddy requests
...
Separate requests into cruddy routes. Use route model binding. Allow forfeit of award if request approval is revoked. Use form requests.
2023-07-07 03:18:13 +00:00
Roardom
7b312d219a
refactor: use route model binding for staff users
2023-07-07 03:18:13 +00:00
Roardom
454c0fbe2d
refactor: use route model binding for staff watchlist
2023-07-07 03:18:13 +00:00
Roardom
31a228c88a
refactor: use route model binding for staff internals
2023-07-07 03:18:13 +00:00
Roardom
5dba248143
refactor: use route model binding for staff notes
...
Also add missing controller method and remove dead route.
2023-07-07 03:18:13 +00:00
Roardom
0a19cd4b07
refactor: use route model binding for staff types
2023-07-07 03:18:13 +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
e8db1ed073
refactor: use route model binding for staff resolutions
2023-07-07 03:18:13 +00:00
Roardom
276c7cdc97
refactor: use route model binding for staff reports
2023-07-07 03:18:13 +00:00
Roardom
bcaaaa4209
refactor: use route model binding for staff seedboxes
2023-07-07 03:18:13 +00:00
Roardom
a703cdb61d
refactor: use route model binding for staff regions
...
Also fix up an error with the existing form request.
2023-07-07 03:18:13 +00:00
Roardom
8c557481ed
refactor: use route model binding for staff polls
2023-07-07 03:18:13 +00:00
Roardom
a5b8ff21bc
refactor: use route model binding for staff pages
2023-07-07 03:18:13 +00:00
Roardom
af4dc9e771
refactor: use route model binding for staff media languages
2023-07-07 03:18:13 +00:00
Roardom
a28667f969
refactor: use route model binding for staff groups
2023-07-07 03:18:13 +00:00
Roardom
931901a384
refactor: use route model binding for staff forums
2023-07-07 03:18:13 +00:00
Roardom
310153303a
refactor: use route model binding for staff distributors
2023-07-07 03:18:13 +00:00
Roardom
d08a808737
refactor: use route model binding for staff cheated torrents
2023-07-07 03:18:13 +00:00
Roardom
0ecc17f366
refactor: use route model binding for staff chat statuses
2023-07-07 03:18:13 +00:00
Roardom
8f9f7ce824
refactor: use route model binding for staff chatrooms
2023-07-07 03:18:13 +00:00
Roardom
b4fd0afc26
refactor: use route model binding for staff bots
2023-07-07 03:18:13 +00:00
Roardom
3450577c00
refactor: use route model binding for staff categories
2023-07-07 00:28:47 +00:00
Roardom
3c107635bb
refactor: use route model binding for blacklisted clients
...
Also fix the html to match the other pages. Also fix up the url and route names to match the naming conventions. The model name and database table name will have to be renamed at a later time.
2023-07-07 00:28:47 +00:00
Roardom
dd503f0471
refactor: properly cruddify user bans
2023-07-07 00:28:47 +00:00
Roardom
5decda2af4
refactor: use route model binding for staff audits
2023-07-07 00:28:47 +00:00
Roardom
ed4639083b
refactor: use route model binding for staff articles
2023-07-07 00:28:47 +00:00
Roardom
649d6a3573
refactor: cruddify user pms
...
Also use route model binding.
2023-07-07 00:28:47 +00:00
Roardom
3b46c7819b
refactor: use route model binding for user routes
2023-07-07 00:28:47 +00:00
Roardom
220d9f7b14
fix: user peer flushing
2023-07-07 00:28:47 +00:00
Roardom
4d16bc08df
refactor: use mass assignment for user settings
2023-07-07 00:28:47 +00:00
Roardom
d9ba25951a
refactor: user warnings
...
Use route model binding. Use mass assignment. Remove unused routes and methods.
2023-07-07 00:28:47 +00:00
Roardom
25d8b6df33
refactor: user notifications
...
Use route model binding.
2023-07-07 00:28:47 +00:00
Roardom
52c0aceeeb
refactor: user wishes
...
Use route model binding. Use mass assignment. Swap wish repository for explicit queries.
2023-07-07 00:28:47 +00:00
Roardom
c5bbe7cc34
refactor: user seedboxes
...
Use route model binding. Use mass assignment. Use relations.
2023-07-07 00:28:47 +00:00
Roardom
d0d5fdbc1d
refactor: user earnings
...
Use route model binding. Reduce temporary variables. Fix table styles.
2023-07-07 00:28:47 +00:00
Roardom
176d401c85
refactor: user transactions
...
Use route model binding. Use mass assignment. Remove dead code. Fix table styles.
2023-07-07 00:28:47 +00:00
Roardom
6835ed5f8c
refactor: tips
...
Use route model binding. Use mass assignment. Use relations.
2023-07-07 00:28:47 +00:00
Roardom
d19bb4f2ea
refactor: swap auth()->user()->id to auth()->id()
2023-07-07 00:28:47 +00:00
Roardom
aef482682b
refactor: swap comparing ids to is() and isNot
2023-07-07 00:28:47 +00:00
Roardom
140311100f
refactor: user invites
...
Use route model binding. Use mass assignment.
2023-07-07 00:28:47 +00:00
Roardom
5619a3c878
refactor: gifts
...
Use route model binding, adjust the form names to the same as the table columns, replace queries with relations, use mass assignment
2023-07-07 00:28:47 +00:00