35 Commits

Author SHA1 Message Date
costaht
20beba1216 add: channelKey to enable bot to join protected IRC channels 2024-09-24 22:24:51 -03:00
HDVinnie
2c0a4794cc Merge pull request #3952 from costaht/master
(FIX) Appending missing colon to the function privmsg
2024-06-29 23:35:51 -04:00
costaht
05759e98c1 Appending colon to the function privmsg instead of the body message 2024-06-27 13:52:41 -03:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
2fbae7f55d refactor: use more fluent syntax for irc bot 2024-03-03 19:36:54 +00:00
Roardom
8b66eaed34 fix: phpstan level 8 Bot errors 2024-01-07 17:13:20 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
HDVinnie
b3f0386149 cleanup: pt.1 2023-10-12 22:30:52 -04:00
Roardom
788fabaf79 fix: irc announce bot parameter order 2023-08-31 05:14:42 +00:00
Roardom
4cdbcb40b5 update: bots
Lots were wrong with these files. Updated them to more modern standards, fixed some larastan errors, and fixed some issues with the IRC bot as well. They could still use some further clean up as is.
2023-08-28 06:39:10 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +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
6445f12fb4 update: bots 2022-02-28 04:53:57 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
601e4c1f90 update: general cleanup 2020-12-03 00:16:23 -05:00
HDVinnie
7f3ba72a70 update: irc bot 2020-10-19 15:18:59 -04:00
HDVinnie
d3e44408e5 update: irc bot 2020-10-19 11:05:01 -04:00
HDVinnie
21eb6390d7 update: irc bot
- still needs fixing
2020-08-24 14:08:32 -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
f69ecec866 refactor: code quality changes 2020-06-02 18:37:19 -04:00
HDVinnie
d66c18aaa7 refactor: consistent preg delimiters 2020-04-24 11:44:59 -04:00
HDVinnie
c1f7904cc6 refactor: use identical over equal with same type 2020-04-24 10:52:25 -04:00
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
Laravel Shift
dcc003602b Adopt Laravel coding style
The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style through
the [.shiftrc][1] file by using your [PHP CS Fixer][2] config.

[1]: https://laravelshift.com/shiftrc-configuration-file
[2]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
2019-05-09 00:04:58 +00:00
HDVinnie
00bb324053 Apply fixes from StyleCI 2018-12-06 14:42:13 +00:00
Laravel Shift
5c1c56d2ca Adopt PSR-2 coding style
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2018-07-18 20:13:14 +00:00
HDVinnie
a30c798dc8 (Update) IRC Announce System
- Adopt PHP short array syntax
2018-07-11 11:08:21 -04:00
HDVinnie
ec30bddb31 (Update) IRC Announce System
- reformat to adopt PSR-2 coding style
2018-07-11 11:05:01 -04:00
HDVinnie
3d1afae0d0 (Update) Refactor IRC Announce Bot 2018-03-04 22:54:39 -05:00
HDVinnie
97f7d60c43 (Update) Final Commit
- update config w/ enabled option
- update controller for new config changes
- update IRCAnnounceBot.php config typo
2018-03-04 15:30:50 -05:00
HDVinnie
07abf8c0b1 (Initial) IRC Announce Bot PT.1
- UNTESTED!
- irc-bot config / IRCAnnounceBot / TorrentController
- Artisan Commands To Follow For Test Use
2018-02-26 01:25:53 -05:00