Commit Graph

124 Commits

Author SHA1 Message Date
HDVinnie
b3843ef724 update: announce controller 2020-10-01 23:27:23 -04:00
HDVinnie
9efd3dd932 update: add announce caching 2020-09-18 10:55:43 -04:00
HDVinnie
5c02ccddbd Apply fixes from StyleCI
[ci skip] [skip ci]
2020-09-14 15:30:32 +00:00
HDVinnie
f1fc6765d9 update: announce controller
- fix exceptions
- fix check user download rights
2020-09-14 11:30:00 -04:00
HDVinnie
99fd793d3d refactor: rename param to match type 2020-09-04 13:33:20 -04:00
HDVinnie
1042342923 refactor: preslash simple functions 2020-09-04 13:06:59 -04:00
HDVinnie
cbd0690d63 update: announce controller 2020-09-02 10:49:27 -04:00
HDVinnie
06f5ea9384 fix: announce job dispatching 2020-08-24 16:35:25 -04:00
HDVinnie
082b46217a update: announce controller 2020-08-24 14:16:33 -04:00
HDVinnie
bb55bda0b0 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-08-24 14:19:24 +00:00
HDVinnie
9dacf49b64 update: announce controller
- add download slots check
2020-08-24 10:19:07 -04:00
HDVinnie
43fa1cecfc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-08-22 20:07:40 +00:00
HDVinnie
3ee489c26c update: announce controller
- code style
2020-08-22 16:07:27 -04:00
HDVinnie
2bd2f4f71a update: announce controller
- This stops announce from sending peers to the users client that are from the same user.
- This does not stop a user from manually adding their other peer to the client to seed to themselves.
2020-08-22 15:48:57 -04:00
HDVinnie
79d34fa967 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-08-19 00:41:28 +00:00
HDVinnie
70aa4a82b8 update: announce controller
- enforce min interval
2020-08-18 20:41:16 -04:00
HDVinnie
bf97d7b68c Apply fixes from StyleCI
[ci skip] [skip ci]
2020-08-18 16:23:14 +00:00
HDVinnie
3587e08e71 update: announce controller 2020-08-18 12:22:57 -04:00
HDVinnie
7756916925 update: announce controller
- add credits for Rhilip
2020-08-17 18:42:10 -04:00
HDVinnie
748f56eab1 update: announce controller 2020-08-17 17:32:09 -04:00
HDVinnie
cf3e394379 update: announce controller 2020-08-17 15:32:42 -04:00
HDVinnie
cbd4397f7a Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-30 20:06:01 +00:00
HDVinnie
4c28a4ebf7 update: announce controller 2020-06-03 14:30:24 -04:00
HDVinnie
f31bb3b689 update: announce controller
- WIP more checks to be added like client whitelist.
2020-06-01 17:55:57 -04:00
PyR8zdl
2efb3b7ad0 Update: Stops users from passively seeding to themselves.
This stops announce from sending peers to the users client that are from the same user.
This does not stop a user from manually adding their other peer to the client to seed to themselves.
With that being said if a users is found to be seeding to themselves that means they are activly trying to break the rules and should be banned.
2020-05-23 10:36:12 -05:00
HDVinnie
874cd3df9d update: announce controller 2020-05-13 13:08:48 -04:00
HDVinnie
86a7f40074 Revert "(Refactoring) Announce Controller: add new method for response torren…" 2020-04-30 05:13:30 -04:00
Viktor Mazur
e2f18f0c03 (Refactoring) Announce Controller: add new method for response torrentClient. 2020-04-25 15:24:32 +03:00
HDVinnie
4afdfbdade Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie
78608a4666 refactor: space after sole ! operators
-  There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
ea2a12be15 refactor: closure to arrow function 2020-04-14 20:38:48 -04:00
HDVinnie
46aa876c06 refactor: add literal separator to numbers
- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
2020-04-14 20:25:07 -04:00
HDVinnie
c44f295a37 add: double upload permission to groups 2020-04-01 00:09:34 -04:00
HDVinnie
6160c03ede refactor: change variable with read only status and default value to a constant 2020-03-06 09:04:22 -05:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
Ben Johnson
73bee5a9b3 tests: Add Announce and Article controller tests 2020-02-27 14:40:51 -05:00
HDVinnie
8fa0839384 update: announce controller
- dont cache connections
2020-02-25 09:53:56 -05:00
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie
3b72e0a3f7 update: announce controller 2020-02-14 16:35:20 -05:00
HDVinnie
0eb606aa51 refactor: remove unnecessary ternary expression 2020-02-14 13:08:04 -05:00
HDVinnie
b275e9ba82 refactor: combine nested if statements
### `Combine If Rector`

Merges nested if statements

```diff
 class SomeClass {
     public function run()
     {
-        if ($cond1) {
-            if ($cond2) {
-                return 'foo';
-            }
+        if ($cond1 && $cond2) {
+            return 'foo';
         }
     }
 }
```
2020-02-13 11:26:54 -05:00
HDVinnie
c8d953a3ad Merge branch 'master' into development 2020-02-12 18:03:21 -05:00
HDVinnie
780e0c1f0e chore: update license block 2020-02-12 15:05:34 -05:00
HDVinnie
8d72989943 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-12 17:41:17 +00:00
HDVinnie
611fcd6bc1 refactor: if / else / elseif statements
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
ea58e49ad2 (Update) Cache Queries 2020-02-10 09:46:05 -05:00
HDVinnie
4a0d127502 (Update) Simplify givePeers function
- merged the two function and added a filter_flag parameter
2020-02-08 11:10:17 -05:00
HDVinnie
db55d77880 (Update) Announce Controller 🚀 2020-02-07 16:41:00 -05:00
HDVinnie
6810711223 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-07 21:27:19 +00:00
HDVinnie
fdc4a2c545 (Update) Announce Controller 🚀
- add observers and cache
2020-02-07 16:21:17 -05:00