diff --git a/.cspell/bittorrent.txt b/.cspell/bittorrent.txt new file mode 100644 index 0000000000..69e64e847a --- /dev/null +++ b/.cspell/bittorrent.txt @@ -0,0 +1,12 @@ +announce +bdecode +bencode +btih +infohash +leecher +leechers +numwant +peerlist +seedbox +seedboxes +seeders \ No newline at end of file diff --git a/.cspell/blade.txt b/.cspell/blade.txt new file mode 100644 index 0000000000..010c79b995 --- /dev/null +++ b/.cspell/blade.txt @@ -0,0 +1,12 @@ +endcomponent +enderror +endfor +endforeach +endforelse +endisset +endphp +endsection +endslot +endswitch +forelse +isset \ No newline at end of file diff --git a/.cspell/brands.txt b/.cspell/brands.txt new file mode 100644 index 0000000000..061e799d74 --- /dev/null +++ b/.cspell/brands.txt @@ -0,0 +1,16 @@ +authy +bdinfo +bitwarden +gnutella +igdb +imdb +jackett +kazaa +limewire +mal +mediainfo +phpstorm +shareaza +tmdb +tvdb +tvrage \ No newline at end of file diff --git a/.cspell/dependencies.txt b/.cspell/dependencies.txt new file mode 100644 index 0000000000..177cb3edc6 --- /dev/null +++ b/.cspell/dependencies.txt @@ -0,0 +1,34 @@ +alpinejs +assada +axios +axllent +beanstalkd +commonmark +gabrielelana +getmeili +imagick +imgbb +joypixels +laravel +linkify +livewire +mailgun +mailpit +meilisearch +papertrail +phpredis +phpstan +phpunit +polycast +purgecss +reichel +ryoluo +spatie +stelmakh +sweetalert +symfony +theodorejb +typesense +vite +voku +zxcvbn \ No newline at end of file diff --git a/.cspell/dependency_terms.txt b/.cspell/dependency_terms.txt new file mode 100644 index 0000000000..6db77bea4f --- /dev/null +++ b/.cspell/dependency_terms.txt @@ -0,0 +1,6 @@ +asciify +dontBackupDatabases +dontBackupFilesystem +htmlify +lexify +swal \ No newline at end of file diff --git a/.cspell/html.txt b/.cspell/html.txt new file mode 100644 index 0000000000..d0aa7ddda5 --- /dev/null +++ b/.cspell/html.txt @@ -0,0 +1,27 @@ +autocorrect +autofocus +backref +contentlength +datalist +describedby +evenodd +formaction +formmethod +formnovalidate +inputmode +lightcoral +maxlength +minmax +nbsp +noopener +noreferrer +nowrap +progressbar +rowgroup +rowspan +stroke-linejoin +tabindex +valuemax +valuemin +valuenow +xlink \ No newline at end of file diff --git a/.cspell/irc.txt b/.cspell/irc.txt new file mode 100644 index 0000000000..ae6b90229a --- /dev/null +++ b/.cspell/irc.txt @@ -0,0 +1,6 @@ +joinchannel +nickserv +nickservpass +privmsg +realname +servername \ No newline at end of file diff --git a/.cspell/laravel.txt b/.cspell/laravel.txt new file mode 100644 index 0000000000..d3c29aeb0a --- /dev/null +++ b/.cspell/laravel.txt @@ -0,0 +1,22 @@ +arrayable +assertdontseetext +dispatchable +doesntcontain +doesntexist +dontbroadcasttocurrentuser +dontflash +dontreport +ehlo +encryptable +encrypter +mimetypes +mysql +ordoesnthave +pgsql +queueable +sasl +sslmode +sqlite +sqlsrv +stringable +wheredoesnthave diff --git a/.cspell/mysql.txt b/.cspell/mysql.txt new file mode 100644 index 0000000000..4242293bb2 --- /dev/null +++ b/.cspell/mysql.txt @@ -0,0 +1,8 @@ +arrayagg +from_unixtime +inet6_ntoa +innodb +mysqld +mysqldump +timestampadd +timestampdiff \ No newline at end of file diff --git a/.cspell/people.txt b/.cspell/people.txt new file mode 100644 index 0000000000..2db23213bd --- /dev/null +++ b/.cspell/people.txt @@ -0,0 +1,7 @@ +hdvinnie +rhilip +roardom +sindre +sindresorhus +sorhus +vinnie \ No newline at end of file diff --git a/.cspell/php.txt b/.cspell/php.txt new file mode 100644 index 0000000000..80e7fe0d46 --- /dev/null +++ b/.cspell/php.txt @@ -0,0 +1,10 @@ +autoload +autoloaded +autoloading +bcmath +classmap +fastcgi +igbinary +mbstring +opcache +phar \ No newline at end of file diff --git a/.cspell/php_constants.txt b/.cspell/php_constants.txt new file mode 100644 index 0000000000..f5c4ed5f40 --- /dev/null +++ b/.cspell/php_constants.txt @@ -0,0 +1,4 @@ +ENT_NOQUOTES +PATHINFO_BASENAME +PREG_OFFSET_CAPTURE +PREG_SET_ORDER \ No newline at end of file diff --git a/.cspell/php_functions.txt b/.cspell/php_functions.txt new file mode 100644 index 0000000000..36acd9573c --- /dev/null +++ b/.cspell/php_functions.txt @@ -0,0 +1,45 @@ +addslashes +closedir +ctype_digit +ctype_print +ctype_xdigit +fclose +fgets +fileperms +fpassthru +fsockopen +fwrite +getcwd +gethostbyaddr +htmlspecialchars +inet_ntop +inet_pton +intdiv +intval +isset +ksort +ltrim +microtime +opendir +pathinfo +preg_match +preg_match_all +preg_quote +preg_replace +preg_replace_callback +preg_split +rawurlencode +rtrim +scandir +strcasecmp +strpos +strrchr +strspn +strtolower +strtotime +strtoupper +sys_getloadavg +uniqid +unserialize +urldecode +usleep \ No newline at end of file diff --git a/.cspell/redis.txt b/.cspell/redis.txt new file mode 100644 index 0000000000..2164719147 --- /dev/null +++ b/.cspell/redis.txt @@ -0,0 +1,6 @@ +llen +lpop +lpush +rpush +sadd +srandmember \ No newline at end of file diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000000..9460f71f47 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,19 @@ +name: Check Spelling +on: [push, pull_request] +jobs: + spellcheck: + strategy: + matrix: + operating-system: + - ubuntu-22.04 + name: ${{ matrix.operating-system }} + runs-on: ${{ matrix.operating-system }} + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Run CSpell + uses: streetsidesoftware/cspell-action@v6 + with: + incremental_files_only: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 538fdb7061..792e916f69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -Contributions are **welcome**. Please make all pull requests agaist the development branch (currently 8.x.x) and NOT master which is only for releases. +Contributions are **welcome**. Please make all pull requests against the development branch (currently 8.x.x) and NOT master which is only for releases. We accept contributions via Pull Requests on [Github](https://github.com/HDInnovations/UNIT3D). @@ -104,7 +104,7 @@ Any new pages should use the existing component styles unless a new block, eleme ## Other -- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. +- **Document any change in behavior** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. - **Create feature branches** - Don't ask us to pull from your master branch. diff --git a/app/Console/Commands/AutoDeactivateWarning.php b/app/Console/Commands/AutoDeactivateWarning.php index c464189294..381c94f95a 100644 --- a/app/Console/Commands/AutoDeactivateWarning.php +++ b/app/Console/Commands/AutoDeactivateWarning.php @@ -96,6 +96,6 @@ final public function handle(): void } }, 'user_id'); - $this->comment('Automated Warning Deativation Command Complete'); + $this->comment('Automated Warning Deactivation Command Complete'); } } diff --git a/app/Console/Commands/AutoRecycleClaimedTorrentRequests.php b/app/Console/Commands/AutoRecycleClaimedTorrentRequests.php index e0b3ad9650..7ce5af5b48 100644 --- a/app/Console/Commands/AutoRecycleClaimedTorrentRequests.php +++ b/app/Console/Commands/AutoRecycleClaimedTorrentRequests.php @@ -36,7 +36,7 @@ class AutoRecycleClaimedTorrentRequests extends Command * * @var string */ - protected $description = 'Recycle Torrent Requests That Wwere Claimed But Not Filled Within 7 Days.'; + protected $description = 'Recycle Torrent Requests That Were Claimed But Not Filled Within 7 Days.'; /** * AutoRecycleClaimedTorrentRequests Constructor. diff --git a/app/Console/Commands/FetchMeta.php b/app/Console/Commands/FetchMeta.php index 60d10b040f..86e8a7e09e 100644 --- a/app/Console/Commands/FetchMeta.php +++ b/app/Console/Commands/FetchMeta.php @@ -36,7 +36,7 @@ class FetchMeta extends Command * * @var string */ - protected $description = 'Fetchs Meta Data For New System On Preexxsisting Torrents'; + protected $description = 'Fetches Meta Data For New System On Preexisting Torrents'; /** * Execute the console command. diff --git a/app/Console/Commands/GitUpdater.php b/app/Console/Commands/GitUpdater.php index 2c3d6d606d..2eb8c898bd 100644 --- a/app/Console/Commands/GitUpdater.php +++ b/app/Console/Commands/GitUpdater.php @@ -126,7 +126,7 @@ private function update(): void $this->backup($paths); - $this->header('Reseting Repository'); + $this->header('Resetting Repository'); $this->commands([ 'git fetch origin', diff --git a/app/Helpers/BackupEncryption.php b/app/Helpers/BackupEncryption.php index 69d4e8da23..09d2c62e31 100644 --- a/app/Helpers/BackupEncryption.php +++ b/app/Helpers/BackupEncryption.php @@ -21,28 +21,28 @@ class BackupEncryption { /** - * Default encryption contants. + * Default encryption constants. * * @var int */ final public const ENCRYPTION_DEFAULT = ZipArchive::EM_AES_128; /** - * AES-128 encryption contants. + * AES-128 encryption constants. * * @var int */ final public const ENCRYPTION_WINZIP_AES_128 = ZipArchive::EM_AES_128; /** - * AES-192 encryption contants. + * AES-192 encryption constants. * * @var int */ final public const ENCRYPTION_WINZIP_AES_192 = ZipArchive::EM_AES_192; /** - * AES-256 encryption contants. + * AES-256 encryption constants. * * @var int */ diff --git a/app/Helpers/Bbcode.php b/app/Helpers/Bbcode.php index 2a2ba1bae9..eb2dbdd52c 100755 --- a/app/Helpers/Bbcode.php +++ b/app/Helpers/Bbcode.php @@ -96,7 +96,7 @@ class Bbcode 'closeHtml' => '', 'block' => false, ], - 'linethrough' => [ + 'line-through' => [ 'openBbcode' => '/^\[s\]/i', 'closeBbcode' => '[/s]', 'openHtml' => '', @@ -152,28 +152,28 @@ class Bbcode 'closeHtml' => '', 'block' => true, ], - 'namedquote' => [ + 'named-quote' => [ 'openBbcode' => '/^\[quote=(.*?)\]/i', 'closeBbcode' => '[/quote]', 'openHtml' => '
Quoting $1:

', 'closeHtml' => '

', 'block' => true, ], - 'orderedlistnumerical' => [ + 'ordered-list-numerical' => [ 'openBbcode' => '/^\[list=1\]/i', 'closeBbcode' => '[/list]', 'openHtml' => '
    ', 'closeHtml' => '
', 'block' => true, ], - 'orderedlistalpha' => [ + 'ordered-list-alpha' => [ 'openBbcode' => '/^\[list=a\]/i', 'closeBbcode' => '[/list]', 'openHtml' => '
    ', 'closeHtml' => '
', 'block' => true, ], - 'unorderedlist' => [ + 'unordered-list' => [ 'openBbcode' => '/^\[list\]/i', 'closeBbcode' => '[/list]', 'openHtml' => '