Commit Graph

52 Commits

Author SHA1 Message Date
HDVinnie 2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04: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 07bb03c9bc Revert "refactor: dynamic calls to static"
This reverts commit 71ff333eb4.
2021-05-09 10:49:39 -04:00
HDVinnie 71ff333eb4 refactor: dynamic calls to static 2021-04-27 21:35:23 -04:00
HDVinnie 74e9948b7c refactor: chat repository 2020-12-30 12:38:54 -05:00
HDVinnie e52de0346d cleanup: chat repository 2020-12-28 23:53:35 -05:00
HDVinnie 467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie 7244ab85f8 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-11-01 17:06:17 +00:00
HDVinnie 01093d711c Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-28 16:54:24 +00: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
HDVinnie 608c508fe7 refactor: symplify quote escapes 2020-04-24 11:19:08 -04:00
innocente205 7a119993fe Update ChatRepository.php
Lookup the 'command' instead of the 'slug' to allow changing the systembot name.
2020-04-19 12:58:49 +07:00
Ben Johnson aa32a893fa tests: Implement TorrentController API tests
As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
2020-02-24 15:24:50 -05:00
Ben Johnson 5db70a9ea8 tests: Flesh-out several more ChatController tests 2020-02-20 16:38:43 -05:00
HDVinnie 605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie 285ecfa38b refactor: count on null 2020-02-12 19:15:58 -05:00
HDVinnie 780e0c1f0e chore: update license block 2020-02-12 15:05:34 -05:00
HDVinnie c8f2390c4d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
Laravel Shift d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +00:00
Laravel Shift b0732954c4 Shift deprecated helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.

[1]: https://github.com/laravel/framework/pull/26898
2019-05-09 00:05:08 +00:00
HDVinnie ec897bb6de Apply fixes from StyleCI
[ci skip] [skip ci]
2019-03-19 19:33:47 +00:00
HDVinnie 7368b55602 (Fix) Issue #609 🐛
- This closes #609
- check to make sure message exsists before broadcasting and trying to delete.
2019-03-17 18:15:19 -04:00
HDVinnie e0e1aa924b Apply fixes from StyleCI 2019-02-22 13:16:32 +00:00
HDVinnie 3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
Laravel Shift 12397c9e6a 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
2019-02-22 03:22:51 +00:00
HDVinnie e3580dc6e1 (Update) ChatRepository 🚀
- remove duplicate code
2019-02-12 13:18:06 -05:00
HDVinnie c9aadb8c5c Apply fixes from StyleCI 2019-02-11 07:47:06 +00:00
singularity43 66f0357c9d (Update) ChatRepository Repository
Update pm routine.
2019-02-10 20:52:25 -05:00
HDVinnie f711b767a2 Apply fixes from StyleCI 2019-02-09 20:56:26 +00:00
singularity43 bac19b872e (Update) ChatRepository Repository
Update message, pm, etc.
2019-02-09 15:04:26 -05:00
HDVinnie d65a6479ae Merge branch 'master' into feature/chat-private-messages 2019-02-02 20:42:27 -05:00
HDVinnie 0850390860 (Update) Standardize Where Expressions 🚀
- using `Model::where('download', '=', 1)` over`Model::where('download', 1)`
- decided is easier for new devs to understand.
- thanks to @werrpy for helping with the regex to mass update.
2018-12-16 18:32:58 -05:00
HDVinnie 2f2c52328b Apply fixes from StyleCI 2018-12-06 22:57:41 +00:00
HDVinnie 00bb324053 Apply fixes from StyleCI 2018-12-06 14:42:13 +00:00
HDVinnie 1dee25b7ca (Add) Missing License Blocks
- few files were missing NOTICE OF LICENSE
2018-11-05 18:51:45 -05:00
poppabear8883 466342abe2 (Update) Chat Censoring v1.5
Now blurs the bad words instead of using `****`. Also removes the global
enabled option and is now explicitly per user setting.
2018-07-27 09:01:32 -04:00
poppabear8883 9e70fb5518 (WIP) Chat Censoring v1.5 2018-07-26 16:54:25 -04:00
poppabear8883 9ead227613 (Feature) Chat Censoring v1.0
This feature enables very basic chat censoring options. Settings can be
edited via `config/censor.php`
2018-07-26 16:11:16 -04: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
poppabear8883 3bd9256cac (WIP)[Chat] Private Messages 2018-05-16 16:17:30 -04:00
poppabear8883 6c45d42372 (WIP)[Chat] Private Messages
This is a "Work In Progress" commit. Its not expected to work.
2018-05-15 23:07:52 -04:00
poppabear8883 b1c8318637 (Refact)[Chat] Fetch entire configuration instead of just limits
-- Run --

npm install && php artisan clear:all

-- Notes --

If using the Git Updater, you will NOT have to do the command
above.
2018-05-14 09:43:09 -04:00
Poppabear 5122acaf6c (Update) Fixed various bugs and added tooltips 2018-05-13 15:06:20 -04:00
Poppabear fff8d78764 (Release) Chat 2.1 Beta
--- Fixed ---
1. When switching rooms, will fetch new messages
2. Scrolling issues
3. Large margin on left side of content area for large width displays
4. Can now use tradition SHIFT + ENTER for new lines
5. Styled to be more attractive ??
2018-05-13 00:26:04 -04:00
Poppabear 8226995d9d (Feature) Can delete chat messages
Rules to Moderating messages:
 1. Owner can mod all
 2. User can mod his own message
 3. is_admin group can mod messages except for Owner messages
 4. Mods CAN NOT mod other mods messages
2018-05-12 16:26:50 -04:00
Poppabear 40ef5f6738 (Update)[Chat 2.0] Max Message Limits
Now you are able to configure the max messages allowed in each room.
2018-05-08 22:24:20 -04:00
poppabear8883 f37df6fede (Beta) Chat v2.0
This is a "Beta" commit. Its expected to be appropriate for local or
public testing.
2018-05-08 16:14:24 -04:00