Roardom
47647bd481
fix: request deletion permissions
...
If we don't allow users to edit their request if someone else has added their bon to it, surely we shouldn't allow them to delete the request either.
2024-08-23 05:22:26 +00:00
Roardom
64a60089d9
refactor: treat sprintf as native function
...
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
Roardom
12903f64ac
fix: strict type issues
...
Don't pass null into functions that don't accept null.
2024-05-23 17:40:16 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
98c32a38f3
update: remove request bon transactions
...
This data is already stored in the requests and bounty tables. At this point, the name and comment fields are duplicates of each other and don't need to both be kept.
2024-02-26 09:33:33 +00:00
Roardom
8f0bc33058
update: limit user edit interval for torrents/requests
2024-01-28 12:02:09 +00:00
HDVinnie
656647649f
Revert "cleanup: pt.2"
...
This reverts commit 33d9927abd .
2023-10-12 23:11:20 -04:00
HDVinnie
33d9927abd
cleanup: pt.2
2023-10-12 22:41:46 -04:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
1348ffeaa8
fix: reorder seedbonus decrement so error is generated first
2023-08-31 09:20:50 +00:00
Roardom
2ca7adbbe5
fix: various larastan controller issues
2023-08-25 09:13:18 +00:00
Roardom
6e6f551367
fix: various larastan livewire issues
2023-08-25 06:45:41 +00:00
Roardom
229eed8091
refactor: use _id suffix on bon_transactions foreign keys
2023-07-22 21:30:50 +00:00
Roardom
7f318e08d6
fix: requirement of ids on request creation
...
IDs irrelevant to the category should not be required.
2023-07-10 06:42: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
3b46c7819b
refactor: use route model binding for user routes
2023-07-07 00:28:47 +00:00
Roardom
9d4789ba91
refactor: require whitespace before statements
2023-07-07 00:27:13 +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
b5493c5642
refactor: swap where('id', '=', ) for find()
2023-06-19 23:18:40 +00:00
HDVinnie
da845a3e49
fix: Requests achievements
...
- Requests filled anonymously count towards achievements when they should not.
2023-06-02 23:49:22 -04:00
Roardom
34c5abf019
refactor: request controller
2023-04-28 01:31:44 +00:00
Roardom
a65b83e52a
update: cruddy request views
2023-04-21 21:49:35 +00:00
Roardom
4c93353f03
update: cruddy request controller
2023-04-21 21:49:35 +00:00
Roardom
5d3ef3be48
fix: upload and request buttons on meta when value is missing
2023-03-21 02:12:08 -05:00
Roardom
7e1bb1ad5b
update: new metadata redesign
2023-03-19 18:48:55 -05: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
HDVinnie
1076ee03a0
update: RequestController
...
- allow user to use full urls
2023-01-31 11:46:24 -05:00
Roardom
fdceea6aa9
fix: bon transactions
2023-01-03 17:27:26 -06:00
Roardom
fc0235e39b
update: fulfill requests with torrent id instead of info_hash
2022-12-23 16:07:47 -06:00
HDVinnie
d21503a9b6
update: RequestController
2022-12-15 17:16:49 -05: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
e292545306
Apply fixes from StyleCI
2022-05-31 22:06:07 +00:00
Shift
be2d37ed6e
Use Illuminate\Support\Carbon
2022-05-31 22:05:34 +00:00
StyleCI Bot
83c698cc2a
Apply fixes from StyleCI
2022-03-27 19:46:40 +00:00
HDVinnie
8a9eb19152
fix : #2167
2022-03-27 15:46:20 -04:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
bdd63aa816
update: controllers
2022-02-28 05:06:55 -05:00
HDVinnie
80c792ec53
fix: request controller validation order
2022-02-07 15:21:42 -05:00
HDVinnie
d3abd28925
update: type hints
2022-01-08 15:35:53 -05:00
HDVinnie
a2cdb5f5ff
update: type hints
2022-01-08 14:37:50 -05:00
StyleCI Bot
06bcb20688
Apply fixes from StyleCI
2022-01-08 18:56:52 +00: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
alkl58
43583d0d87
RequestController: German & French Translation
2021-12-08 22:24:50 +01: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