Roardom
a447269552
refactor: use moderation status enum and cast
...
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Ion Bazan
4c40916f9d
fix test
2024-11-01 16:39:12 +08:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
93b17f0419
chore: license
2024-03-19 17:56:44 -04:00
Roardom
9345ad6bb3
update: manually bencode the announce response
...
Performance optimization compared to recursively encoding one character at a time using the Bencode helper function.
2023-09-08 01:46:58 +00:00
HDVinnie
836fd2777c
PHP Style Change (Laravel Pint CI)
2023-07-17 22:32:06 +00:00
HDVinnie
6af8a72af6
update: test-suite
...
- Tests: 422 incomplete, 318 passed (684 assertions) and coverage Total: 22.7%.
2023-07-17 18:30:58 -04:00
HDVinnie
8daf39c331
update: test suite
2023-07-11 16:48:07 -04:00
Shift
0f33d2846d
Define test classes as final
2023-07-10 18:54:51 +00:00
Shift
812238b4b8
Adopt PHP attributes in test classes
2023-07-10 18:54:51 +00:00
Roardom
741adef615
add: moderation scopes
2023-07-10 04:20:40 +00:00
Roardom
ea9fd6c9c9
update: swap infohash from ascii-encoded hex to binary
2023-04-08 08:02:04 +00: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
8afb111cdd
Apply fixes from StyleCI
2022-06-15 12:06:47 +00:00
HDVinnie
445ced95bb
update: announce controller test
2022-06-15 08:05:56 -04:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
7020fd8e88
chore: styleci
2020-10-13 16:43:29 -04:00
HDVinnie
1901a569dc
tests: fix announce controller test
2020-10-13 16:34:12 -04:00
Laravel Shift
fac1da0b42
Shift cleanup
2020-09-08 22:25:06 +00:00
Laravel Shift
089632a4ac
Namespace seeders
2020-09-08 22:24:37 +00:00
Laravel Shift
add31768f5
Shift to class based factories
2020-09-08 22:24:30 +00:00
HDVinnie
6d8a42ab1d
update: announnce test
2020-08-17 15:32:21 -04:00
HDVinnie
d06d994e95
update: announce controller test
2020-06-02 15:08:57 -04:00
Ben Johnson
73bee5a9b3
tests: Add Announce and Article controller tests
2020-02-27 14:40:51 -05:00
Ben Johnson
65d602f058
tests: Move scaffolded tests into Todo directory
...
Currently, the test suite requires way longer than necessary because it runs all the scaffolded tests, even though they exit immediately.
Moving them until they are implemented will speed-up the test suite execution time dramatically.
2020-02-17 15:56:39 -05:00
HDVinnie
987bed7a7b
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-02-13 21:45:47 +00:00
Laravel Shift
daa7cad1b4
Generate HTTP tests for controllers
2020-01-22 17:19:02 +00:00