Commit Graph

55 Commits

Author SHA1 Message Date
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 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 a0429ca442 fix: achievement unlock
The unlock() function only takes a single argument
2023-04-12 03:19:22 +00:00
HDVinnie f4ebee885c update: lint 2023-02-03 22:23:00 -05:00
HDVinnie 3650900c97 update: lint
- not_operator_with_space to false
2023-02-03 16:01:29 -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 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 2725397734 Apply fixes from StyleCI 2022-08-25 23:17:20 +00:00
HDVinnie 33494ca5ce refactor: simplify pointless boolean expressions in ifs 2022-08-25 19:17:06 -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 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
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
HDVinnie 428db45a60 update: ability to add subtitles to pending uploads 2021-12-15 12:39:29 -05: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
Oha-you 1ff90dee81 fix: Add subtitle file validation, remove .ico, edit rules 2021-05-20 23:35:15 +03:00
HDVinnie 6b02773725 fix: subtitle controller union type 2021-05-18 20:54:10 -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 9fc6c265b7 refactor: subtitle controller 2020-12-30 12:20:12 -05:00
HDVinnie 467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie 817ce03fd0 refactor: insecure uniqid usage 2020-12-02 21:18:16 -05:00
HDVinnie 4bc0c36f7b Apply fixes from StyleCI
[ci skip] [skip ci]
2020-11-03 20:08:37 +00:00
HDVinnie f466b7be89 refactor: subtitle search 2020-11-03 15:08:22 -05:00
Howard Lau d8819054e5 fix: atomic counter updates in SubtitleController 2020-08-31 13:32:50 +08:00
HDVinnie 10befaaea0 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-23 03:08:54 +00:00
HDVinnie 29628335f0 update: phpdoc blocks 2020-07-22 23:08:40 -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
PyR8zdl 603934c6ef Reverted a mistake.
Details here. https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/1341#discussion_r425335151
2020-05-14 13:12:54 -05:00
PyR8zdl 93838a726a Subtitle-System Patch
1. Fixed typo in return route.
2. Made the use of filesystem consistent.
3. Removed unneeded copy to tmp directory.
4. Simplified mime-type and file return.
2020-05-14 11:42:31 -05:00
HDVinnie 0b9221a760 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-05-07 20:25:20 +00:00
HDVinnie eb88163e48 update: subtitles system
- adds a subtitles index with faceted filtering
- linked in sidenav
2020-05-07 16:16:47 -04:00
HDVinnie 8c8e2865b2 refactor: camel case function naming to underscore 2020-04-24 11:04:24 -04:00
HDVinnie 4afdfbdade Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie bb9002bc48 update: subtitle delete checks 2020-04-13 14:39:53 -04:00
HDVinnie d7a37afbb4 fix: subtitles downloading
- close #1273
2020-04-13 12:55:01 -04:00
HDVinnie 8b015a42e7 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-12 16:50:09 +00:00
HDVinnie 780db13326 update: subtitle controller 2020-04-09 13:23:37 -04:00
HDVinnie 19f3aa531d update: subtitle chat message 2020-04-07 19:58:14 -04:00
HDVinnie 716ff29875 update: subtitle controller
- fix operator
2020-04-07 19:44:33 -04:00
HDVinnie cde6fc48d3 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-07 23:05:20 +00:00
HDVinnie 4000feea7f update: subtitle controller 2020-04-07 18:48:51 -04:00
HDVinnie ea850ca866 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-03-30 03:08:39 +00:00