diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a8dfa96b..6ebd0f9f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,8 +2,8 @@ Master
------------------------------------------------------------------------------
**General:**
-* Rafactoring admin template with Tabler.io
-* Templates extensions .phtml ranamed to .html.twig
+* Refactoring admin template with Tabler.io
+* Templates extensions .phtml renamed to .html.twig
* Updated bb-themes/bootstrap to Bootstrap 5
Release 4.22-beta.1.1
@@ -19,7 +19,7 @@ Release 4.22-beta.1.2 !!Update in progress!!
*
**Bug Fixes:**
-* Fix plesk integration
+* Fix Plesk integration
Release 4.22-beta.1.1
------------------------------------------------------------------------------
@@ -33,14 +33,14 @@ Release 4.22-beta.1.1
**Security:**
* Fixed three instances of XSS vulnerabilities
-* Use random_bytes instead of uniqid since it actually generates cryptographically secure pseudo-random bytes
+* Use random_bytes instead of `uniqid` since it actually generates cryptographically secure pseudo-random bytes
**Bug Fixes**
* Bugfixes with Bootstrap theme
* Fix PDF generation
* Fix KB entries, Tickets, and Invoices being duplicated in the BoxBilling interface
* Fix "8192 Required parameter follows optional parameter"
-* Corrected path to stylesheet in Boostrap theme
+* Corrected path to stylesheet in Bootstrap theme
* Fixed PHP 8 support
* Fix PDF generation on PHP 8
* Fix BoxBilling updater and have it update off GitHub releases
@@ -125,7 +125,7 @@ Release 4.16
* Seo module updates
* Users must verify theirs emails after email confirmations setting is enabled
* Compatibility with PHP7
-* Generate VAT rules for each EU country according to it's standart rate
+* Generate VAT rules for each EU country according to it's standard rate
* Various bug fixes and improvements
Release 4.15 (2015-02-19)
@@ -197,7 +197,7 @@ Release 4.13 (2015-01-15)
* WebMoney payment adapter updated
* Ability to set how many hours user needs to wait until consequent support ticket submission
* Added search in canned responses
-* Code improvements and optimisations
+* Code improvements and optimization
* YouHosting module rewritten to work with open source version
* Translation implementation reworked.
* Bug fixes
@@ -263,7 +263,7 @@ Release 2.11.28 (2012-11-28)
* News module updates
* Ability to change payment gateway in invoice payment page
* Immediately redirect to payment gateway after checkout if payment gateway was selected
-* Defautl theme update: Show client login/signup form before checkout button in shopping cart
+* Default theme update: Show client login/signup form before checkout button in shopping cart
* Search can be made by order meta keys
* Added new database table *client_order_meta* to store custom order data
* new statistic method to get number of sales by country
@@ -272,14 +272,14 @@ Release 2.11.28 (2012-11-28)
* Show Last month statistics in dashboard
* Render mod_page_login.phtml instead of mod_client_login.phtml template if template exists
* Allow create any template mod_client_*.phtml to be accessed by client only
-* Added redirects module. Usefull to redirect deprecated URLs to new ones
+* Added redirects module. Useful to redirect deprecated URLs to new ones
* Simplified payment gateway logic. Now it is a simple file, no need to extend any class.
* New event hooks:
* onBeforeAdminExtensionConfigSave
* onAfterAdminExtensionConfigSave
* onBeforeProductAddedToCart
* onAfterProductAddedToCart
-* Removed hostinger branding
+* Removed Hostinger branding
* Option to enable/disable ability for client to change his email
* Ability to require email confirmation in welcome email
* Ability to define required fields for client registration form
@@ -389,7 +389,7 @@ Release 2.6.17 (2012-06-17)
------------------------------------------------------------------------------
* New SolusVM VPS product type. Ability to import clients and existing servers from SolusVM master server. Full control from admin and client area.
-* New product type BoxBiling license. Ability to sell BoxBilling licenses from any BoxBilling installation. Enable
+* New product type BoxBilling license. Ability to sell BoxBilling licenses from any BoxBilling installation. Enable
* Email templates are generated on first event occurrence. Until then it can not be managed.
* Ability to filter orders by invoice option: issue invoice manually or automatically.
* Ability to preview email templates. Old email templates are deprecated.
@@ -403,7 +403,7 @@ Release 2.6.17 (2012-06-17)
* New dashboard widget to show active orders count grouped by products
* Updated Twig to 1.8.2 version
* Added ability to disable/enable automatic invoice issuing for orders
-* SpamChecker is a module. Google recapthca and stopforumspam.com database checks can be simply enabled or disabled as any other module
+* SpamChecker is a module. Google recaptcha and stopforumspam.com database checks can be simply enabled or disabled as any other module
* All extensions can call other extension event hooks
* All extensions can hook into cron job event
* Added new API methods **extension_config_get** and **extension_config_save** to store encrypted extension configuration data
@@ -447,7 +447,7 @@ Release v2.4.30 (2012-04-30)
* https://github.com/boxbilling/BoxBilling/issues/115 fix
* Password issue fix: https://github.com/boxbilling/BoxBilling/issues/114
* Including http://redbeanphp.com/ ORM in bb-library/rb.php For extensions as a helper
-* Simplifie nginx server support. Routing includes only 2 simple rules
+* Simplified nginx server support. Routing includes only 2 simple rules
* Adding new core module mod_api. Api is now accessible from yourdomain.com/api/role/module/method. bb-api is deprecated and will be removed in 2.6 version
* Gravatar url uses ssl if BoxBilling is on https
* Selectable refunds logic: generate refund invoice with paid invoice numbering or generate credit note
@@ -468,7 +468,7 @@ Release v2.4.30 (2012-04-30)
* Hosting account password is generated on order activation action
* Removing favicon to avoid overwriting on update
* Added zip code management to invoice client credentials
-* Whm/Cpanel server manager update. Do not try to exceute command again if response failed
+* Whm/Cpanel server manager update. Do not try to execute command again if response failed
* Translations fix
* Typo fix in order management page
* WebToPay payment adapter updates
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index f619411f1..061051612 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -43,7 +43,7 @@ acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
-Project maintaners have the right and responsibility to remove, edit, or reject
+Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
@@ -64,7 +64,7 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
## Enforcement Guidelines
-Project maintaners will follow these Community Impact Guidelines in determining
+Project maintainers will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
@@ -72,7 +72,7 @@ the consequences for any action they deem in violation of this Code of Conduct:
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
-**Consequence**: A private, written warning from Project maintaners, providing
+**Consequence**: A private, written warning from Project maintainers, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2e866312c..23d50452d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -25,7 +25,7 @@ We've tried to keep this document as short as possible but there is a lot of inf
* [Translating FOSSBilling](#translating-fossbilling)
* [Sponsor the project](#sponsoring-the-project)
-[Styleguides](#styleguides)
+[style Guides](#styleguides)
[But, I still have a question!](#but-i=stil-have-a-question)
@@ -46,7 +46,7 @@ If you need more reasons than that though, then because...
First off, no matter how you plan to take part, please take a couple of minutes to read our code of conduct before contributing anything.
-This project and everyone participating in it are governed by the [FOSSBilling Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behaviour to the moderators on our [Discord](https://fossbilling.org/discord) server.
+This project and everyone participating in it are governed by the [FOSSBilling Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to the moderators on our [Discord](https://fossbilling.org/discord) server.
### Which 'branch' should I contribute to?
@@ -54,7 +54,7 @@ The future of FOSSBilling is the /lara branch, which is a major rewrite of the c
In the meantime, the /main branch is being maintained with bug fixes, security updates and small enhancements. It is the codebase that was inherited from BoxBilling with some small enhancements and updates.
-### Unserstanding the strucutre of FOSSBilling
+### Understanding the structure of FOSSBilling
FOSSBilling is an open-source project — it's made up of over [50 modules](https://github.com/FOSSBilling/FOSSBilling/tree/master/src/bb-modules). When you initially consider contributing to FOSSBilling, you might be unsure about which of those 50 modules implements the functionality you want to change or report a bug for. This section should help you with that.
@@ -75,7 +75,7 @@ There are a lot of different ways that you can get involved in the FOSSBilling p
### Reporting bugs
-If you find a bug in FOSSBilling, please report it. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behaviour:computer:, and find related reports :mag_right:.
+If you find a bug in FOSSBilling, please report it. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior:computer:, and find related reports :mag_right:.
#### Before submitting a bug report
@@ -93,9 +93,9 @@ Explain the problem and include additional details to help maintainers reproduce
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as much detail as possible. For example, start by explaining what section exactly you used in the browser, or which API call you were using. When listing steps, **don't just say what you did but explain how you did it**.
-* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
-* **Describe the behaviour you observed after following the steps** and point out what exactly is the problem with that behaviour.
-* **Explain which behaviour you expected to see instead and why.**
+* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pastable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
+* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
+* **Explain which behavior you expected to see instead and why.**
* **Include screenshots and animated GIFs** which show you following the described steps and demonstrate the problem.
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
@@ -145,7 +145,7 @@ The process described here has several goals:
Please follow these steps to have your contribution considered by the maintainers:
1. Follow all instructions in [the template](https://github.com/FOSSBilling/.github/blob/master/.github/PULL_REQUEST_TEMPLATE/bug_fix.md)
-2. Follow the [styleguides](#styleguides)
+2. Follow the [style guides](#styleguides)
3. After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing What if the status checks are failing?If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
Before a PR can be merged it must pass all of the automated tests and also be reviewed by two maintainers. All of the above requirements must be met before your pull request will be reviewed. Please be aware that the reviewers may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
@@ -156,7 +156,7 @@ Great code is only one-half of any successful project, and great documentation i
The documentation for FOSSBilling is hosted here: [FOSSBilling Docs](https://docs.fossbilling.org/)
-Documentation is built using [Docusauras](https://docusaurus.io/) from this [GitHub repository](https://github.com/FOSSBilling/docs). You can contribute directly to the repo on GitHub or using the *Edit this page* links on each page of the docs site.
+Documentation is built using [docusaurus](https://docusaurus.io/) from this [GitHub repository](https://github.com/FOSSBilling/docs). You can contribute directly to the repo on GitHub or using the *Edit this page* links on each page of the docs site.
Please try to be thorough and clear when writing directions. Something might seem obvious to you, but do not assume that it is to everybody else.
@@ -175,9 +175,9 @@ If you do not have the time or necessary skills to actively take part in the dev
You can do this using [GitHub Sponsors](https://github.com/sponsors/FOSSBilling) or on [Open Collective](https://opencollective.com/fossbilling).
-## Styleguides
+## Style Guides
-### Commit Messages Styleguide
+### Commit Messages Style Guide
Please be as clear and descriptive as possible in your commit messages, it makes it much easier for everyone to follow them.
@@ -195,17 +195,17 @@ Please be as clear and descriptive as possible in your commit messages, it makes
* ⬆️ when upgrading dependencies
* :sparkles: when it is a new feature
-### PHP Styleguide
+### PHP Style Guide
All PHP must adhere to [PSR-12](https://www.php-fig.org/psr/psr-12/).
-The /lara branch is a work in progress and is being built in Laravel. If you are not familiar with the framework then please take a look at the [Laravel docs](https://laravel.com/docs/9.x) before diving in.
+The lara branch is a work in progress and is being built in Laravel. If you are not familiar with the framework then please take a look at the [Laravel docs](https://laravel.com/docs/9.x) before diving in.
-### Documentation Styleguide
+### Documentation Style Guide
-We don't have a formal Documentation Styleguide yet, but we will be developing one soon. In the meantime please take a look at the existing documentation and follow the tone and writing style so that everything stays coherent.
+We don't have a formal documentation style guide yet, but we will be developing one soon. In the meantime please take a look at the existing documentation and follow the tone and writing style so that everything stays coherent.
-Docusauras uses Markdown and MDX. Please [see their guides](https://docusaurus.io/docs/markdown-features) for how to use them if you are not sure.
+Docusaurus uses Markdown and MDX. Please [see their guides](https://docusaurus.io/docs/markdown-features) for how to use them if you are not sure.
## But, I still have a question!
diff --git a/GOVERNANCE.md b/GOVERNANCE.md
index 99bac15d0..812bacbc5 100644
--- a/GOVERNANCE.md
+++ b/GOVERNANCE.md
@@ -19,7 +19,7 @@ The FOSSBilling community is made up of individuals, companies, or groups who us
Anybody is free to use the core FOSSBilling software within the terms of the [license](https://github.com/FOSSBilling/FOSSBilling/blob/main/LICENSE). There are not and never will be any fees for usage, and no special requirements.
-We really appreciate user contributions but if you just want to download, install, and go, then you have the complee freedom to do that.
+We really appreciate user contributions but if you just want to download, install, and go, then you have the complete freedom to do that.
If you do want to be more involved in the community then the project [GitHub](https://github.com/FOSSBilling/FOSSBilling) page, the [Contribution Guidelines](https://github.com/FOSSBilling/FOSSBilling/blob/main/CONTRIBUTING.md), and [Discord](https://fossbilling.org/discord) are great places to start. You can also sponsor the project on [GitHub Sponsors](https://github.com/sponsors/FOSSBilling) or with [Open Collective](https://opencollective.com/fossbilling).
@@ -36,7 +36,7 @@ Although there is no concrete expectation of participation, contributions are wh
There are no specific skill requirements and no formal selection process. A contributor's elevation to the role of maintainer will be done after discussion by, and at the discretion of, the steering committee.
-Maintainer status can be removed if somebody demonstrates disruptive behaviour, if they resign, or if they do not participate in the community or contribute to the project for 6 months. This would be decided by a majority consensus of the steering committee.
+Maintainer status can be removed if somebody demonstrates disruptive behavior, if they resign, or if they do not participate in the community or contribute to the project for 6 months. This would be decided by a majority consensus of the steering committee.
## Steering Committee
@@ -56,7 +56,7 @@ At this moment the Steering Committee includes seven members - identified here b
Members of the steering committee may recommend and appoint new members from the community at any time. A nomination for a new member will result in a discussion and a vote by the existing committee members.
-Members may be removed from the committee if they demonstrate disruptive behaviour, if they resign, or if they do not participate in the community or contribute to the project for 6 months. In the case of disruptive bevaviour, removal will be decided on by discussion and majority consensus between the other committee members.
+Members may be removed from the committee if they demonstrate disruptive behavior, if they resign, or if they do not participate in the community or contribute to the project for 6 months. In the case of disruptive behavior, removal will be decided on by discussion and majority consensus between the other committee members.
## Decision-making process
@@ -64,7 +64,7 @@ Major decisions about the future of FOSSBilling will be made after community dis
We aim to resolve all issues and proposals through discussion, debate and collaboration. We are not saying that we will never resort to polls or votes but we will use them with care. Poll results will be used to help inform debate and consensus but they will not be taken as binding and definitive, and will not be the sole deciding factors.
-Because we aim to be transparent in our decision-making, all discussion on any issues and propsals, with the exception of security and sensitive governance issues, will take place in public on GitHub and Discord.
+Because we aim to be transparent in our decision-making, all discussion on any issues and proposals, with the exception of security and sensitive governance issues, will take place in public on GitHub and Discord.
Ideologically it would be great to involve all community members in every decision, but in practical terms, it is simply not possible if we want to be able to move forward at a reasonable speed.
diff --git a/README.md b/README.md
index 9c880485f..0f8a01846 100644
--- a/README.md
+++ b/README.md
@@ -24,24 +24,27 @@
> **Warning**
-> FOSSBilling is under active development but is currenly very much beta software, there may be stability or security issues and it is not recommended for use in active production environments yet!
+> FOSSBilling is under active development but is currently very much beta software, there may be stability or security issues and it is not recommended for use in active production environments yet!
**FOSSBilling** is a free open source, billing and client management solution. Whatever the size of your online services business, whether a startup or established, FOSSBilling can help you to automate your invoicing, incoming payments, and client management and communication.
If you run a web hosting business and are looking for an open-source alternative for billing and client management, then FOSSBilling is the answer. Although it is mostly used as a solution for hosting businesses, there is no reason why you can't use FOSSBilling for any other kind of online business, like digital downloads.
-FOSSBilling is designed to be extensible and to integrate easily with your favourite server management software and payment gateways.
+FOSSBilling is designed to be extensible and to integrate easily with your favorite server management software and payment gateways.
📥 This is self-hosted software that is free for anyone to install — All you need is a some basic knowledge, a web server, running PHP and a MySQL database. For more details, check the [requirements](#requirements) section.
## Contents
+- [Contents](#contents)
- [Requirements](#requirements)
+- [Example Configurations](#example-configurations)
- [Installation](#installation)
- - [Install the latest preview build](#download-the-latest-preview-build)
- - [Install from latest source code](#install-from-latest-source-code)
- - [Installing with Docker](#installing-with-docker)
+ - [Download the latest preview build](#download-the-latest-preview-build)
+ - [Install from latest source code](#install-from-latest-source-code)
+ - [Installing with Docker](#installing-with-docker)
- [Contributing](#contributing)
+- [Star History](#star-history)
- [Licensing](#licensing)
- [Links](#links)
@@ -78,7 +81,7 @@ If you're planning to use FOSSBilling in a production environment (see the discl
First, you should download the [latest preview build](https://fossbilling.org/downloads/preview). Unlike the source code, these preview builds already include the Composer packages, so you won't need to run Composer to install PHP packages. This is perfect if you are using shared hosting as you might not have the ability to run Composer yourself.
-You can either downnload the .tar file to your local computer and then upload it to your server using FTP, or download it directly to your web server using wget or git clone. In either case, you will need to extract the contents into the public folder of your site (usually, that's called **"htdocs"** or **"public_html"**).
+You can either download the .tar file to your local computer and then upload it to your server using FTP, or download it directly to your web server using wget or git clone. In either case, you will need to extract the contents into the public folder of your site (usually, that's called **"htdocs"** or **"public_html"**).
Your web directory's structure should now look like this:
- htdocs
diff --git a/cspell.json b/cspell.json
new file mode 100644
index 000000000..0ea7a4f69
--- /dev/null
+++ b/cspell.json
@@ -0,0 +1,337 @@
+{
+ "version": "0.2",
+ // language - current active spelling language
+ "language": "en",
+ // words - list of words to be always considered correct
+ "words": [
+ "FOSS",
+ "huraga",
+ "FOSSBilling",
+ "BoxBilling",
+ "evrifaessa",
+ "andpavlenko",
+ "jaapmarcus",
+ "Plesk",
+ "Huntr",
+ "Fabien",
+ "Potencier",
+ "Kloxo",
+ "Ispconfig",
+ "Interkassa",
+ "Payza",
+ "Spyc",
+ "Hostinger",
+ "docusaurus",
+ "Laravel",
+ "pastable",
+ "Nyan",
+ "recognised",
+ "fordnox",
+ "Dockerized",
+ "proccess",
+ "unsuspended"
+ ],
+
+ "ignoreWords": [
+ "thead",
+ "tbody",
+ "alink",
+ "xlink",
+ "stylesheet",
+ "endfor",
+ "currentpage",
+ "numpages",
+ "jquery",
+ "jgrowl",
+ "endmacro",
+ "tlds",
+ "selectboxtld",
+ "msgid",
+ "msgstr",
+ "nplurals",
+ "tmpname",
+ "Nottelling",
+ "ivsize",
+ "ciphertext",
+ "followlocation",
+ "CURLOPT",
+ "regexed",
+ "punnycode",
+ "timeago",
+ "daysleft",
+ "ipcountryname",
+ "bbmd",
+ "lngh",
+ "Michelf",
+ "loggedin",
+ "ERRMODE",
+ "Servicelicense",
+ "solusvm",
+ "Serviceboxbillinglicense",
+ "mmdb",
+ "BBLANG",
+ "maintmode",
+ "endapply",
+ "helpdesk",
+ "autorespond",
+ "Spamchecker",
+ "recaptcha",
+ "noborder",
+ "opengraph",
+ "precomposed",
+ "modernizr",
+ "selectivizr",
+ "cookieconsent",
+ "signout",
+ "signup",
+ "figcaption",
+ "onclick",
+ "noscript",
+ "orderbutton",
+ "Servicesolusvm",
+ "UNCANCEL",
+ "uncancel",
+ "accesshash",
+ "qtys",
+ "qnty",
+ "rtable",
+ "owndomain",
+ "rtable",
+ "tria",
+ "ONHOLD",
+ "TXTYPE",
+ "SUBSCR",
+ "sess",
+ "sysdate",
+ "promocode",
+ "maxuses",
+ "freesetup",
+ "nopadding",
+ "fieldset",
+ "signups",
+ "colspan",
+ "tfoot",
+ "xlarge",
+ "selectbox",
+ "sitekey",
+ "sitekey",
+ "autodark",
+ "noopener",
+ "datepicker",
+ "tablist",
+ "subpages",
+ "subpage",
+ "keyup",
+ "aligncenter",
+ "tabpanel",
+ "nowrap",
+ "Formbuilder",
+ "datetime",
+ "nbsp",
+ "banklink",
+ "taxname",
+ "taxrate",
+ "serie",
+ "currencylayer",
+ "custompages",
+ "middlenav",
+ "sendgrid",
+ "endset",
+ "tcode",
+ "tstatus",
+ "labelledby",
+ "ctitle",
+ "mtitle",
+ "servicehosting",
+ "cpanel",
+ "Nameserver",
+ "yourserverdomain",
+ "optgroup",
+ "iframe",
+ "yourdomain",
+ "uploadframe",
+ "servicedownloadable",
+ "servicedomain",
+ "markitup",
+ "ckeditor",
+ "akismet",
+ "codexplorer",
+ "Xplorer",
+ "POSTFIELDS",
+ "RETURNTRANSFER",
+ "hideit",
+ "esubject",
+ "econtent",
+ "subvalue",
+ "subsubkey",
+ "subsubvalue",
+ "autoescape",
+ "endautoescape",
+ "youparamname",
+ "publickey",
+ "dsearch",
+ "domainsearch",
+ "domainchecker",
+ "mobi",
+ "Servicecustom",
+ "uglifycss",
+ "upath",
+ "pathe",
+ "tabler",
+ "apexcharts",
+ "topnav",
+ "yourparamvalue",
+ "userid",
+ "subkey",
+ "blockquote",
+ "floatright",
+ "copyfields",
+ "mydomain",
+ "WHOIS",
+ "Paidsupport",
+ "supportticket",
+ "massmailer",
+ "kbcategories",
+ "kbarticle",
+ "noreferrer",
+ "ptickets",
+ "pticket",
+ "sptm",
+ "thankyoupage",
+ "taxupdate",
+ "Dompdf",
+ "ctable",
+ "DATEDIFF",
+ "cbrepo",
+ "OODB",
+ "Inno",
+ "onsubmit",
+ "rgba",
+ "autofocus",
+ "Servicemembership",
+ "uniqid",
+ "Bluepay",
+ "gettext",
+ "Centova",
+ "multisite",
+ "mcrypt",
+ "stopforumspam",
+ "Internetbs",
+ "binded",
+ "tada",
+ "TLDR",
+ "htdocs",
+ "LSWS",
+ "Lighttpd",
+ "mbstring",
+ "srcset",
+ "gugl",
+ "cclogin",
+ "CURDATE",
+ "BOXCLR",
+ "vatnum",
+ "caid",
+ "ECB's",
+ "onkeyup",
+ "DYSY",
+ "uninstallation",
+ "TRANSLIT",
+ "taxtitle",
+ "upgradables",
+ "sdbname",
+ "srepo",
+ "cgroups",
+ "Prio",
+ "longblob",
+ "loginform",
+ "closethick",
+ "allowtransparency",
+ "tabindex",
+ "Betransferred",
+ "Firstname",
+ "Lastname",
+ "pids",
+ "BOXADMR",
+ "lsql",
+ "rarr",
+ "randnum",
+ "classname",
+ "drepo",
+ "blud",
+ "onbeforeunload",
+ "colorpick",
+ "clickout",
+ "typeof",
+ "signin",
+ "helpdesks",
+ "hostnames",
+ "Askimet",
+ "urlset",
+ "lastmod",
+ "changefreq",
+ "remoteip",
+ "timespan",
+ "yeste",
+ "Flot",
+ "messageid",
+ "eunion",
+ "Roboto",
+ "onchange",
+ "enctype",
+ "endtrans",
+ "srch",
+ "behaviour",
+ "xaxis",
+ "yaxis",
+ "susp",
+ "cancelation",
+ "inps",
+ "ptitle",
+ "PLUGINNAME",
+ "nody",
+ "Perds",
+ "prms",
+ "apikey",
+ "tailwindcss",
+ "flexbox",
+ "juoda",
+ "BOXSID"
+ ],
+ "ignorePaths": [
+ "tests/**",
+ "node_modules/**",
+ "src/bb-themes/*/assets/**",
+ "src/install/assets/**",
+ "src/install/sql/**",
+ "src/rb.php",
+ "src/bb-modules/*/assets/**",
+ "src/composer.json",
+ "src/composer.lock",
+ "src/bb-modules/Servicesolusvm/**",
+ "build.xml",
+ "data/**",
+ "Makefile",
+ "phpunit.xml.dist",
+ "bin/**",
+ "src/bb-library/GeoLite2-Country.mmdb",
+ "cspell.json",
+ "package.json",
+ "src/bb-library/Registrar/**",
+ "src/bb-library/Server/Manager/**",
+ "src/bb-library/Box/**",
+ "src/bb-library/Payment/Adapter/**",
+ "src/bb-library/php-gettext/**",
+ "src/bb-locale/**",
+ "src/bb-modules/System/Service.php",
+ "src/bb-modules/Servicecentovacast/**",
+ "src/bb-library/Server/Package.php",
+ "src/bb-modules/Currency/Service.php",
+ "src/bb-themes/admin_default/gulpfile.babel.js",
+ "src/bb-modules/Seo/Service.php",
+ "src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.html.twig",
+ "src/bb-modules/Massmailer/Api/Admin.php",
+ "src/bb-modules/System/html_admin/mod_system_settings.html.twig",
+ "gulpfile.babel.js",
+ "htaccess.txt"
+ ]
+}
diff --git a/src/bb-library/Payment/AdapterAbstract.php b/src/bb-library/Payment/AdapterAbstract.php
index fcc5bd0e5..5e3f09f33 100644
--- a/src/bb-library/Payment/AdapterAbstract.php
+++ b/src/bb-library/Payment/AdapterAbstract.php
@@ -56,7 +56,7 @@ abstract class Payment_AdapterAbstract
$this->_config = $config;
/**
- * Redirect client after successfull payment, usually to invoice
+ * Redirect client after successful payment, usually to invoice
*/
if(!$this->getParam('return_url')) {
throw new Payment_Exception('Return URL for payment gateway was not set', array(), 6001);
diff --git a/src/bb-library/Registrar/Adapter/Custom.php b/src/bb-library/Registrar/Adapter/Custom.php
index 031d61bb6..807fd3747 100644
--- a/src/bb-library/Registrar/Adapter/Custom.php
+++ b/src/bb-library/Registrar/Adapter/Custom.php
@@ -34,7 +34,7 @@ class Registrar_Adapter_Custom extends Registrar_AdapterAbstract
);
}
- public function isDomainCanBeTransfered(Registrar_Domain $domain)
+ public function isDomaincanBeTransferred(Registrar_Domain $domain)
{
$this->getLog()->debug('Checking if domain can be transferred: ' . $domain->getName());
return true;
@@ -563,7 +563,7 @@ class Whois {
*/
private function get_tld()
{
- // Splitting domainname
+ // Splitting domain name
$domain=explode(".",$this->domain);
if(count($domain)>2) {
@@ -606,7 +606,7 @@ class Whois {
*/
private function get_domain()
{
- // Splitting domainname
+ // Splitting domain name
$domain=explode(".",$this->domain);
return $domain[0];
}
diff --git a/src/bb-library/Registrar/Adapter/Email.php b/src/bb-library/Registrar/Adapter/Email.php
index 61d6f1c6c..ce2a924de 100644
--- a/src/bb-library/Registrar/Adapter/Email.php
+++ b/src/bb-library/Registrar/Adapter/Email.php
@@ -69,7 +69,7 @@ class Registrar_Adapter_Email extends Registrar_AdapterAbstract
throw new Registrar_Exception('Email registrar can not determine whether domain is available');
}
- public function isDomainCanBeTransfered(Registrar_Domain $domain)
+ public function isDomaincanBeTransferred(Registrar_Domain $domain)
{
throw new Registrar_Exception('Email registrar can not determine whether domain can be transferred');
}
@@ -619,7 +619,7 @@ class Whois2 {
*/
private function get_tld()
{
- // Splitting domainname
+ // Splitting domain name
$domain=explode(".",$this->domain);
if(count($domain)>2) {
@@ -662,7 +662,7 @@ class Whois2 {
*/
private function get_domain()
{
- // Splitting domainname
+ // Splitting domain name
$domain=explode(".",$this->domain);
return $domain[0];
}
diff --git a/src/bb-library/Registrar/Adapter/Internetbs.php b/src/bb-library/Registrar/Adapter/Internetbs.php
index caaaf60fd..c322dd60b 100644
--- a/src/bb-library/Registrar/Adapter/Internetbs.php
+++ b/src/bb-library/Registrar/Adapter/Internetbs.php
@@ -72,7 +72,7 @@ class Registrar_Adapter_Internetbs extends Registrar_AdapterAbstract
return ($result['status'] == 'AVAILABLE');
}
- public function isDomainCanBeTransfered(Registrar_Domain $domain)
+ public function isDomaincanBeTransferred(Registrar_Domain $domain)
{
throw new Registrar_Exception('Domain transfer checking is not implemented');
}
diff --git a/src/bb-library/Registrar/Adapter/Resellerclub.php b/src/bb-library/Registrar/Adapter/Resellerclub.php
index 2195faeda..fd52d5b20 100644
--- a/src/bb-library/Registrar/Adapter/Resellerclub.php
+++ b/src/bb-library/Registrar/Adapter/Resellerclub.php
@@ -119,7 +119,7 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract
return false;
}
- public function isDomainCanBeTransfered(Registrar_Domain $domain)
+ public function isDomaincanBeTransferred(Registrar_Domain $domain)
{
$params = array(
'domain-name' => $domain->getName(),
diff --git a/src/bb-library/Registrar/AdapterAbstract.php b/src/bb-library/Registrar/AdapterAbstract.php
index ebb178541..d050425a8 100644
--- a/src/bb-library/Registrar/AdapterAbstract.php
+++ b/src/bb-library/Registrar/AdapterAbstract.php
@@ -37,7 +37,7 @@ abstract class Registrar_AdapterAbstract
* @return bool
* @throws Registrar_Exception
*/
- abstract public function isDomainCanBeTransfered(Registrar_Domain $domain);
+ abstract public function isDomaincanBeTransferred(Registrar_Domain $domain);
/**
* @return bool
diff --git a/src/bb-locale/en_US/LC_MESSAGES/messages.po b/src/bb-locale/en_US/LC_MESSAGES/messages.po
index b23a54496..deca6a96a 100644
--- a/src/bb-locale/en_US/LC_MESSAGES/messages.po
+++ b/src/bb-locale/en_US/LC_MESSAGES/messages.po
@@ -3780,7 +3780,7 @@ msgid ""
msgstr ""
msgid ""
-"data-product attribute value will be overiden if popup's product is selected "
+"data-product attribute value will be if popup's product is selected "
"from select-box above"
msgstr ""
@@ -4029,7 +4029,7 @@ msgstr ""
msgid ""
"Please keep in mind that field name can not start with number. Special "
-"characters will be replaced with underscrore ( _ )"
+"characters will be replaced with underscores ( _ )"
msgstr ""
msgid "Label"
@@ -5366,7 +5366,7 @@ msgstr ""
msgid "Error message:"
msgstr ""
-msgid "Set paid supoprt for helpdesks: "
+msgid "Set paid support for helpdesks: "
msgstr ""
msgid "Create new helpdesk"
diff --git a/src/bb-locale/messages.pot b/src/bb-locale/messages.pot
index 0adcd06f4..4445912ac 100644
--- a/src/bb-locale/messages.pot
+++ b/src/bb-locale/messages.pot
@@ -3779,7 +3779,7 @@ msgid ""
msgstr ""
msgid ""
-"data-product attribute value will be overiden if popup's product is selected "
+"data-product attribute value will be overridden if popup's product is selected "
"from select-box above"
msgstr ""
@@ -4028,7 +4028,7 @@ msgstr ""
msgid ""
"Please keep in mind that field name can not start with number. Special "
-"characters will be replaced with underscrore ( _ )"
+"characters will be replaced with underscores ( _ )"
msgstr ""
msgid "Label"
@@ -5365,7 +5365,7 @@ msgstr ""
msgid "Error message:"
msgstr ""
-msgid "Set paid supoprt for helpdesks: "
+msgid "Set paid support for helpdesks: "
msgstr ""
msgid "Create new helpdesk"
diff --git a/src/bb-modules/Activity/Service.php b/src/bb-modules/Activity/Service.php
index 464728c3f..895feb074 100644
--- a/src/bb-modules/Activity/Service.php
+++ b/src/bb-modules/Activity/Service.php
@@ -123,8 +123,8 @@ class Service implements InjectionAwareInterface
}
if (!empty($where)) {
- $whereStatment = implode(' and ', $where);
- $sql .= ' WHERE '.$whereStatment;
+ $whereStatement = implode(' and ', $where);
+ $sql .= ' WHERE '.$whereStatement;
}
$sql .= ' ORDER by m.id desc';
diff --git a/src/bb-modules/Api/Controller/Client.php b/src/bb-modules/Api/Controller/Client.php
index 9cadfbe48..4e9288a2d 100644
--- a/src/bb-modules/Api/Controller/Client.php
+++ b/src/bb-modules/Api/Controller/Client.php
@@ -249,7 +249,7 @@ class Client implements InjectionAwareInterface
{
$allowed = ['guest', 'client', 'admin'];
if (!in_array($role, $allowed)) {
- throw new \Box_Exception('Unknow API call', null, 701);
+ throw new \Box_Exception('Unknown API call', null, 701);
}
return true;
diff --git a/src/bb-modules/Client/Api/Admin.php b/src/bb-modules/Client/Api/Admin.php
index fe98cd989..a05d88ec0 100644
--- a/src/bb-modules/Client/Api/Admin.php
+++ b/src/bb-modules/Client/Api/Admin.php
@@ -154,7 +154,7 @@ class Admin extends \Api_Abstract
$data['email'] = $this->di['tools']->validateAndSanitizeEmail($data['email']);
$service = $this->getService();
- if ($service->emailAreadyRegistered($data['email'])) {
+ if ($service->emailAlreadyRegistered($data['email'])) {
throw new \Box_Exception('Email is already registered.');
}
@@ -247,7 +247,7 @@ class Admin extends \Api_Abstract
if (!is_null($this->di['array_get']($data, 'email'))) {
$email = $this->di['array_get']($data, 'email');
$email = $this->di['tools']->validateAndSanitizeEmail($email);
- if ($service->emailAreadyRegistered($email, $client)) {
+ if ($service->emailAlreadyRegistered($email, $client)) {
throw new \Box_Exception('Can not change email. It is already registered.');
}
}
diff --git a/src/bb-modules/Client/Api/Client.php b/src/bb-modules/Client/Api/Client.php
index 48d5c541b..a16a6c19d 100644
--- a/src/bb-modules/Client/Api/Client.php
+++ b/src/bb-modules/Client/Api/Client.php
@@ -31,7 +31,7 @@ class Client extends \Api_Abstract
}
/**
- * Update currencty logged in client details.
+ * Update currently logged in client details.
*
* @optional string $email - new client email. Must not exist on system
* @optional string $last_name - last name
@@ -84,7 +84,7 @@ class Client extends \Api_Abstract
$this->getService()->canChangeEmail($client, $email);
- if ($this->getService()->emailAreadyRegistered($email, $client)) {
+ if ($this->getService()->emailAlreadyRegistered($email, $client)) {
throw new \Box_Exception('Can not change email. It is already registered.');
}
$client->email = strtolower(trim($email));
diff --git a/src/bb-modules/Client/Api/Guest.php b/src/bb-modules/Client/Api/Guest.php
index 66bd65159..efdbbd0d9 100644
--- a/src/bb-modules/Client/Api/Guest.php
+++ b/src/bb-modules/Client/Api/Guest.php
@@ -198,8 +198,8 @@ class Guest extends \Api_Abstract
$email['to_client'] = $c->id;
$email['code'] = 'mod_client_password_reset_request';
$email['hash'] = $hash;
- $emailSerivce = $this->di['mod_service']('email');
- $emailSerivce->sendTemplate($email);
+ $emailService = $this->di['mod_service']('email');
+ $emailService->sendTemplate($email);
$this->di['logger']->info('Client requested password reset. Sent to email %s', $c->email);
diff --git a/src/bb-modules/Client/Service.php b/src/bb-modules/Client/Service.php
index fd8e77bf4..8829692df 100644
--- a/src/bb-modules/Client/Service.php
+++ b/src/bb-modules/Client/Service.php
@@ -203,7 +203,7 @@ class Service implements InjectionAwareInterface
];
}
- public function emailAreadyRegistered($new_email, \Model_Client $model = null)
+ public function emailAlreadyRegistered($new_email, \Model_Client $model = null)
{
if ($model && $model->email == $new_email) {
return false;
diff --git a/src/bb-modules/Currency/Api/Guest.php b/src/bb-modules/Currency/Api/Guest.php
index c713cea69..dcbbfce1c 100644
--- a/src/bb-modules/Currency/Api/Guest.php
+++ b/src/bb-modules/Currency/Api/Guest.php
@@ -60,10 +60,10 @@ class Guest extends \Api_Abstract
*
* @optional bool $convert - covert to default currency rate. Default - true;
* @optional bool $without_currency - Show only number. No symbols are attached Default - false;
- * @optional float $price - Price to be formated. Default 0
+ * @optional float $price - Price to be formatted. Default 0
* @optional string $code - currency code, ie: USD. Default - default currency
*
- * @return string - formated string
+ * @return string - formatted string
*/
public function format($data = [])
{
diff --git a/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig b/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig
index c088c6127..b9c0e0d16 100644
--- a/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig
+++ b/src/bb-modules/Currency/html_admin/mod_currency_settings.html.twig
@@ -128,7 +128,7 @@
{{ 'Adjust settings for currency rate updater'|trans }}
-
FOSSBilling uses data grabbed from European Central Bank for conversions from Euro to other currencies, and currencylayer for conversations from US Dollar to other currencies. If you choose Euro as your default currency, data from European Central Bank will be used, if you choose US Dollar, data from currencylayer will be used. While European Central Bank decided to keep it's API free to everyone, you won't need an autorization key to use ECB's data. However, you'll need an API key to use currencylayer. You can grab your API key from currencylayer's website. FOSSBilling doesn't make any profits from your purchases on currencylayer.com
+
FOSSBilling uses data grabbed from European Central Bank for conversions from Euro to other currencies, and currencylayer for conversations from US Dollar to other currencies. If you choose Euro as your default currency, data from European Central Bank will be used, if you choose US Dollar, data from currencylayer will be used. While European Central Bank decided to keep it's API free to everyone, you won't need an authorization key to use ECB's data. However, you'll need an API key to use currencylayer. You can grab your API key from currencylayer's website. FOSSBilling doesn't make any profits from your purchases on currencylayer.com
FOSSBilling does not take any responsibilities for data grabbed from 3rd party sources, including European Central Bank and currencylayer.
diff --git a/src/bb-modules/Hook/Service.php b/src/bb-modules/Hook/Service.php
index 5c153abbc..8c212d933 100644
--- a/src/bb-modules/Hook/Service.php
+++ b/src/bb-modules/Hook/Service.php
@@ -197,7 +197,7 @@ class Service implements InjectionAwareInterface
continue;
}
- // disconect modules without service class
+ // disconnect modules without service class
$mod = $this->di['mod']($mod_name);
if (!$mod->hasService()) {
$this->di['db']->exec($rm_sql, ['id' => $listener['id']]);
diff --git a/src/bb-modules/Invoice/Api/Admin.php b/src/bb-modules/Invoice/Api/Admin.php
index b0cff714e..d91fac76c 100644
--- a/src/bb-modules/Invoice/Api/Admin.php
+++ b/src/bb-modules/Invoice/Api/Admin.php
@@ -54,7 +54,7 @@ class Admin extends \Api_Abstract
}
/**
- * Sets invoce status to paid. This method differs from invoice update method
+ * Sets invoice status to paid. This method differs from invoice update method
* in a way that it sends notification to Events system, so emails are sent.
* Also this will try to automatically apply payment if clients balance is
* available.
@@ -722,7 +722,7 @@ class Admin extends \Api_Abstract
}
/**
- * Get list of subscribtions.
+ * Get list of subscriptions.
*
* @return array
*/
diff --git a/src/bb-modules/Invoice/Service.php b/src/bb-modules/Invoice/Service.php
index e6acb4f51..981f556f6 100644
--- a/src/bb-modules/Invoice/Service.php
+++ b/src/bb-modules/Invoice/Service.php
@@ -676,7 +676,7 @@ class Service implements InjectionAwareInterface
$pi->type = $item->type;
$pi->rel_id = $item->rel_id;
$pi->task = $item->task;
- $pi->status = \Model_InvoiceItem::STATUS_EXECUTED; // ark refund invoce as executed
+ $pi->status = \Model_InvoiceItem::STATUS_EXECUTED; // ark refund invoice as executed
$pi->title = $item->title;
$pi->period = $item->period;
$pi->quantity = $item->quantity;
diff --git a/src/bb-modules/Invoice/ServiceSubscription.php b/src/bb-modules/Invoice/ServiceSubscription.php
index 9ea9e8f17..fdb037219 100644
--- a/src/bb-modules/Invoice/ServiceSubscription.php
+++ b/src/bb-modules/Invoice/ServiceSubscription.php
@@ -39,7 +39,7 @@ class ServiceSubscription implements InjectionAwareInterface
return $this->di;
}
- public function create(\Model_Client $cient, \Model_PayGateway $pg, array $data)
+ public function create(\Model_Client $client, \Model_PayGateway $pg, array $data)
{
$model = $this->di['db']->dispense('Subscription');
$model->client_id = $data['client_id'];
@@ -207,7 +207,7 @@ class ServiceSubscription implements InjectionAwareInterface
return false;
}
- // check if first invoice line has deined period
+ // check if first invoice line has denied period
$query = 'SELECT id, period
FROM invoice_item
WHERE invoice_id = :id
diff --git a/src/bb-modules/Massmailer/html_admin/mod_massmailer_index.html.twig b/src/bb-modules/Massmailer/html_admin/mod_massmailer_index.html.twig
index 9132d7195..17f5a7b86 100644
--- a/src/bb-modules/Massmailer/html_admin/mod_massmailer_index.html.twig
+++ b/src/bb-modules/Massmailer/html_admin/mod_massmailer_index.html.twig
@@ -38,7 +38,7 @@
{{ msg.from_name }} {{ msg.from_email }}
{{ mf.status_name(msg.status) }}
-
+
diff --git a/src/bb-modules/Order/Service.php b/src/bb-modules/Order/Service.php
index db8759a2b..88def7c2d 100644
--- a/src/bb-modules/Order/Service.php
+++ b/src/bb-modules/Order/Service.php
@@ -620,7 +620,7 @@ class Service implements InjectionAwareInterface
$invoiceService->approveInvoice($invoice, ['id' => $invoice->id, 'use_credits' => true]);
}
- // activate imediately if say so
+ // activate immediately if say so
if ($activate) {
try {
$this->activateOrder($order);
@@ -936,7 +936,7 @@ class Service implements InjectionAwareInterface
$logic = $this->di['array_get']($config, 'order_renewal_logic', '');
if ('from_today' == $logic) {
- $from_time = time(); // renew order from the date renewal occured
+ $from_time = time(); // renew order from the date renewal occurred
} elseif ('from_greater' == $logic) {
if (strtotime($order->expires_at) > time()) {
$from_time = strtotime($order->expires_at);
@@ -976,7 +976,7 @@ class Service implements InjectionAwareInterface
$order->updated_at = date('Y-m-d H:i:s');
$this->di['db']->store($order);
- $note = (null === $reason) ? 'Order suspeded' : 'Order suspended for '.$reason;
+ $note = (null === $reason) ? 'Order suspended' : 'Order suspended for '.$reason;
$this->saveStatusChange($order, $note);
if (!$skipEvent) {
diff --git a/src/bb-modules/Orderbutton/html_admin/mod_orderbutton_settings.html.twig b/src/bb-modules/Orderbutton/html_admin/mod_orderbutton_settings.html.twig
index a22b80e3b..332d22ecf 100644
--- a/src/bb-modules/Orderbutton/html_admin/mod_orderbutton_settings.html.twig
+++ b/src/bb-modules/Orderbutton/html_admin/mod_orderbutton_settings.html.twig
@@ -184,7 +184,7 @@
{{ 'Add order-button class to your elements which must call popup. For example: '|trans }}<button type="button" class="order-button" >Order Now</button>
{{ 'Add data-product attribute to your element to open specific product. For example: '|trans }}<button type="button" class="order-button" data-product="2" >Order Product#2 Now </button>
-
{{ 'data-product attribute value will be overiden if popup\'s product is selected from select-box above'|trans }}
+
{{ 'data-product attribute value will be overridden if popup\'s product is selected from select-box above'|trans }}
diff --git a/src/bb-modules/Product/Api/Admin.php b/src/bb-modules/Product/Api/Admin.php
index 6dd563569..7953ac396 100644
--- a/src/bb-modules/Product/Api/Admin.php
+++ b/src/bb-modules/Product/Api/Admin.php
@@ -117,7 +117,7 @@ class Admin extends \Api_Abstract
}
/**
- * Update prodcut settings.
+ * Update product settings.
*
* @param int $id - product id
*
diff --git a/src/bb-modules/Product/Service.php b/src/bb-modules/Product/Service.php
index 60132e472..122fb29b6 100644
--- a/src/bb-modules/Product/Service.php
+++ b/src/bb-modules/Product/Service.php
@@ -942,7 +942,7 @@ class Service implements InjectionAwareInterface
return 0;
}
- // check if promo code aplies to specific period only
+ // check if promo code applies to specific period only
if (isset($config['period'])) {
$periods = $this->getPeriods($promo);
if (!empty($periods) && !in_array($config['period'], $periods)) {
diff --git a/src/bb-modules/Profile/Api/Client.php b/src/bb-modules/Profile/Api/Client.php
index 14f1d9778..e6ccce32e 100644
--- a/src/bb-modules/Profile/Api/Client.php
+++ b/src/bb-modules/Profile/Api/Client.php
@@ -31,7 +31,7 @@ class Client extends \Api_Abstract
}
/**
- * Update currencty logged in client details.
+ * Update currently logged in client details.
*
* @optional string $email - new client email. Must not exist on system
* @optional string $last_name - last name
diff --git a/src/bb-modules/Profile/Service.php b/src/bb-modules/Profile/Service.php
index 6c381fa93..6742a8b6a 100644
--- a/src/bb-modules/Profile/Service.php
+++ b/src/bb-modules/Profile/Service.php
@@ -125,7 +125,7 @@ class Service implements InjectionAwareInterface
$validator->isEmailValid($email);
$clientService = $this->di['mod_service']('client');
- if ($clientService->emailAreadyRegistered($email, $client)) {
+ if ($clientService->emailAlreadyRegistered($email, $client)) {
throw new \Box_Exception('Can not change email. It is already registered.');
}
diff --git a/src/bb-modules/Queue/Api/Admin.php b/src/bb-modules/Queue/Api/Admin.php
index 4498c5786..54bf9c5c6 100644
--- a/src/bb-modules/Queue/Api/Admin.php
+++ b/src/bb-modules/Queue/Api/Admin.php
@@ -13,7 +13,7 @@
*/
/**
- * Queue is a powerfull tool to execute long running tasks in the background.
+ * Queue is a powerful tool to execute long running tasks in the background.
*/
namespace Box\Mod\Queue\Api;
@@ -43,7 +43,7 @@ class Admin extends \Api_Abstract
/**
* Get queue details.
*
- * @param string $queue - queue name, ie: massemails
+ * @param string $queue - queue name, ie: massmailer
*
* @return array
*/
@@ -79,7 +79,7 @@ class Admin extends \Api_Abstract
/**
* Add message to queue to be executed later.
*
- * @param string $queue - unique queue name, ie: massemails
+ * @param string $queue - unique queue name, ie: massmailer
* @param string $mod - module name, ie: massmailer
*
* @optional string $execute_at - Message execution time. Schedule message to be executed later, ie: 2022-12-29 14:53:51
@@ -150,7 +150,7 @@ class Admin extends \Api_Abstract
* @optional int $interval - interval in seconds for message to be executed. Default is queue timeout
* @optional bool $until_complete - Execute until all messages in queue are executed. Default true
*
- * @return bool - returns true when queue finihed executing
+ * @return bool - returns true when queue finished executing
*/
public function execute($data)
{
diff --git a/src/bb-modules/Servicedomain/Api/Client.php b/src/bb-modules/Servicedomain/Api/Client.php
index 62f61b110..69564ba06 100644
--- a/src/bb-modules/Servicedomain/Api/Client.php
+++ b/src/bb-modules/Servicedomain/Api/Client.php
@@ -90,7 +90,7 @@ class Client extends \Api_Abstract
}
/**
- * Retireve domain transfer code.
+ * Retrieve domain transfer code.
*
* @param int $order_id - domain order id
*
diff --git a/src/bb-modules/Servicedomain/Api/Guest.php b/src/bb-modules/Servicedomain/Api/Guest.php
index 94d46ecf1..86b5cb4e1 100644
--- a/src/bb-modules/Servicedomain/Api/Guest.php
+++ b/src/bb-modules/Servicedomain/Api/Guest.php
@@ -134,7 +134,7 @@ class Guest extends \Api_Abstract
if (!$tld instanceof \Model_Tld) {
throw new \Box_Exception('TLD is not active.');
}
- if (!$this->getService()->canBeTransfered($tld, $data['sld'])) {
+ if (!$this->getService()->canBeTransferred($tld, $data['sld'])) {
throw new \Box_Exception('Domain can not be transferred.');
}
diff --git a/src/bb-modules/Servicedomain/Service.php b/src/bb-modules/Servicedomain/Service.php
index 454ccf6d7..3c43e83d5 100644
--- a/src/bb-modules/Servicedomain/Service.php
+++ b/src/bb-modules/Servicedomain/Service.php
@@ -104,7 +104,7 @@ class Service implements \Box\InjectionAwareInterface
}
$domain = $data['transfer_sld'].$tld->tld;
- if (!$this->canBeTransfered($tld, $data['transfer_sld'])) {
+ if (!$this->canBeTransferred($tld, $data['transfer_sld'])) {
throw new \Box_Exception(':domain can not be transferred!', [':domain' => $domain]);
}
@@ -527,7 +527,7 @@ class Service implements \Box\InjectionAwareInterface
return true;
}
- public function canBeTransfered(\Model_Tld $model, $sld)
+ public function canBeTransferred(\Model_Tld $model, $sld)
{
if (empty($sld)) {
throw new \Box_Exception('Domain name is not valid');
@@ -545,7 +545,7 @@ class Service implements \Box\InjectionAwareInterface
$tldRegistrar = $this->di['db']->load('TldRegistrar', $model->tld_registrar_id);
$adapter = $this->registrarGetRegistrarAdapter($tldRegistrar);
- return $adapter->isDomainCanBeTransfered($domain);
+ return $adapter->isDomaincanBeTransferred($domain);
}
public function isDomainAvailable(\Model_Tld $model, $sld)
diff --git a/src/bb-modules/Servicehosting/Api/Admin.php b/src/bb-modules/Servicehosting/Api/Admin.php
index e7936f766..c1e32218b 100644
--- a/src/bb-modules/Servicehosting/Api/Admin.php
+++ b/src/bb-modules/Servicehosting/Api/Admin.php
@@ -78,7 +78,7 @@ class Admin extends \Api_Abstract
*
* @param int $order_id - Hosting account order id
* @param string $tld - Top level domain value, ie: .com
- * @param string $sld - Second level domain value, ie: domainname
+ * @param string $sld - Second level domain value, ie: domain name
*
* @return bool
*/
@@ -319,7 +319,7 @@ class Admin extends \Api_Abstract
}
/**
- * Get hoting plan pairs.
+ * Get hosting plan pairs.
*
* @return array
*/
@@ -329,7 +329,7 @@ class Admin extends \Api_Abstract
}
/**
- * Get hostin plans paginated list.
+ * Get hosting plans paginated list.
*
* @return array
*/
@@ -442,8 +442,8 @@ class Admin extends \Api_Abstract
$this->di['validator']->checkRequiredParamsForArray($required, $data);
$order = $this->di['db']->getExistingModelById('ClientOrder', $data['order_id'], 'Order not found');
- $orderSerivce = $this->di['mod_service']('order');
- $s = $orderSerivce->getOrderService($order);
+ $orderService = $this->di['mod_service']('order');
+ $s = $orderService->getOrderService($order);
if (!$s instanceof \Model_ServiceHosting) {
throw new \Box_Exception('Order is not activated');
}
diff --git a/src/bb-modules/Servicehosting/Api/Client.php b/src/bb-modules/Servicehosting/Api/Client.php
index 820289e81..9404a03dc 100644
--- a/src/bb-modules/Servicehosting/Api/Client.php
+++ b/src/bb-modules/Servicehosting/Api/Client.php
@@ -87,8 +87,8 @@ class Client extends \Api_Abstract
throw new \Box_Exception('Order not found');
}
- $orderSerivce = $this->di['mod_service']('order');
- $s = $orderSerivce->getOrderService($order);
+ $orderService = $this->di['mod_service']('order');
+ $s = $orderService->getOrderService($order);
if (!$s instanceof \Model_ServiceHosting) {
throw new \Box_Exception('Order is not activated');
}
diff --git a/src/bb-modules/Servicelicense/Api/Admin.php b/src/bb-modules/Servicelicense/Api/Admin.php
index 1f5ac9f4b..e759cafdc 100644
--- a/src/bb-modules/Servicelicense/Api/Admin.php
+++ b/src/bb-modules/Servicelicense/Api/Admin.php
@@ -40,7 +40,7 @@ class Admin extends \Api_Abstract
* Update license parameters. Set which validation rules must be applied
* for license.
*
- * @param int $order_id - License irder id
+ * @param int $order_id - License order id
*
* @optional string $plugin - New license plugin name
* @optional bool $validate_ip - True to validate IP; False - to allow all IPs for this license
diff --git a/src/bb-modules/Servicelicense/Plugin/Simple.php b/src/bb-modules/Servicelicense/Plugin/Simple.php
index ba3b23ce7..51b450136 100644
--- a/src/bb-modules/Servicelicense/Plugin/Simple.php
+++ b/src/bb-modules/Servicelicense/Plugin/Simple.php
@@ -59,7 +59,7 @@ class Simple
/**
* This method is optional.
- * Aditional validation rules can be applied to license validation logic.
+ * Additional validation rules can be applied to license validation logic.
* Method is called after "expiration, ip, version, path, hostname validations are passed".
*
* Should throw "LogicException" if validation fails
diff --git a/src/bb-modules/Servicelicense/Service.php b/src/bb-modules/Servicelicense/Service.php
index f6c25cf80..61accbeeb 100644
--- a/src/bb-modules/Servicelicense/Service.php
+++ b/src/bb-modules/Servicelicense/Service.php
@@ -211,8 +211,8 @@ class Service implements InjectionAwareInterface
*/
public function action_delete(\Model_ClientOrder $order)
{
- $prderService = $this->di['mod_service']('order');
- $service = $prderService->getOrderService($order);
+ $orderService = $this->di['mod_service']('order');
+ $service = $orderService->getOrderService($order);
if ($service instanceof \Model_ServiceLicense) {
$this->di['db']->trash($service);
}
@@ -250,8 +250,8 @@ class Service implements InjectionAwareInterface
public function isLicenseActive(\Model_ServiceLicense $model)
{
- $prderService = $this->di['mod_service']('order');
- $o = $prderService->getServiceOrder($model);
+ $orderService = $this->di['mod_service']('order');
+ $o = $orderService->getServiceOrder($model);
if ($o instanceof \Model_ClientOrder) {
return \Model_ClientOrder::STATUS_ACTIVE == $o->status;
}
@@ -353,8 +353,8 @@ class Service implements InjectionAwareInterface
public function getExpirationDate(\Model_ServiceLicense $model)
{
- $prderService = $this->di['mod_service']('order');
- $o = $prderService->getServiceOrder($model);
+ $orderService = $this->di['mod_service']('order');
+ $o = $orderService->getServiceOrder($model);
if ($o instanceof \Model_ClientOrder) {
return $o->expires_at;
}
diff --git a/src/bb-modules/Spamchecker/Api/Guest.php b/src/bb-modules/Spamchecker/Api/Guest.php
index 2b493dc07..442e1b2a9 100644
--- a/src/bb-modules/Spamchecker/Api/Guest.php
+++ b/src/bb-modules/Spamchecker/Api/Guest.php
@@ -13,7 +13,7 @@
*/
/**
- * Spam cheking module management.
+ * Spam checking module management.
*/
namespace Box\Mod\Spamchecker\Api;
diff --git a/src/bb-modules/Spamchecker/Service.php b/src/bb-modules/Spamchecker/Service.php
index 2a4505812..918d90cb1 100644
--- a/src/bb-modules/Spamchecker/Service.php
+++ b/src/bb-modules/Spamchecker/Service.php
@@ -83,7 +83,7 @@ class Service implements InjectionAwareInterface
$blocked_ips = explode(PHP_EOL, $config['blocked_ips']);
$blocked_ips = array_map('trim', $blocked_ips);
if (in_array($di['request']->getClientAddress(), $blocked_ips)) {
- throw new \Box_Exception('Your IP addresss (:ip) is blocked. Please contact our support to lift your block.', [':ip' => $di['request']->getClientAddress()], 403);
+ throw new \Box_Exception('Your IP address (:ip) is blocked. Please contact our support to lift your block.', [':ip' => $di['request']->getClientAddress()], 403);
}
}
}
diff --git a/src/bb-modules/Staff/Api/Admin.php b/src/bb-modules/Staff/Api/Admin.php
index fd42951ec..c0a1c73e0 100644
--- a/src/bb-modules/Staff/Api/Admin.php
+++ b/src/bb-modules/Staff/Api/Admin.php
@@ -33,7 +33,7 @@ class Admin extends \Api_Abstract
$pager = $this->di['pager']->getSimpleResultSet($sql, $params, $per_page);
foreach ($pager['list'] as $key => $item) {
$staff = $this->di['db']->getExistingModelById('Admin', $item['id'], 'Admin is not found');
- $pager['list'][$key] = $this->getService()->toModel_AdminApiiArray($staff);
+ $pager['list'][$key] = $this->getService()->toModel_AdminApiArray($staff);
}
return $pager;
@@ -57,7 +57,7 @@ class Admin extends \Api_Abstract
$model = $this->di['db']->getExistingModelById('Admin', $data['id'], 'Staff member not found');
- return $this->getService()->toModel_AdminApiiArray($model);
+ return $this->getService()->toModel_AdminApiArray($model);
}
/**
@@ -92,7 +92,7 @@ class Admin extends \Api_Abstract
}
/**
- * Completely delete staff member. Removes all related acitivity from logs.
+ * Completely delete staff member. Removes all related activity from logs.
*
* @param int $id - staff member ID
*
@@ -215,7 +215,7 @@ class Admin extends \Api_Abstract
$this->getService()->setPermissions($model->id, $data['permissions']);
- $this->di['logger']->info('Changed staff member %s permisions', $model->id);
+ $this->di['logger']->info('Changed staff member %s permissions', $model->id);
return true;
}
diff --git a/src/bb-modules/Staff/Service.php b/src/bb-modules/Staff/Service.php
index 2139fc409..b0891d67a 100644
--- a/src/bb-modules/Staff/Service.php
+++ b/src/bb-modules/Staff/Service.php
@@ -384,7 +384,7 @@ class Service implements InjectionAwareInterface
return $cron;
}
- public function toModel_AdminApiiArray(\Model_Admin $model, $deep = false)
+ public function toModel_AdminApiArray(\Model_Admin $model, $deep = false)
{
$data = [
'id' => $model->id,
diff --git a/src/bb-modules/Stats/Api/Admin.php b/src/bb-modules/Stats/Api/Admin.php
index fa575d8ee..61f281405 100644
--- a/src/bb-modules/Stats/Api/Admin.php
+++ b/src/bb-modules/Stats/Api/Admin.php
@@ -95,7 +95,7 @@ class Admin extends \Api_Abstract
}
/**
- * Return icome by day. If no timespan is selected method returns
+ * Return income by day. If no timespan is selected method returns
* previous month statistics.
*
* @optional string $date_from - day since income are counted
diff --git a/src/bb-modules/Support/Api/Admin.php b/src/bb-modules/Support/Api/Admin.php
index 529d5af20..dafd99c88 100644
--- a/src/bb-modules/Support/Api/Admin.php
+++ b/src/bb-modules/Support/Api/Admin.php
@@ -346,7 +346,7 @@ class Admin extends \Api_Abstract
}
/**
- * Set iquery status to closed.
+ * Set id status to closed.
*
* @param int $id - inquiry id
*
diff --git a/src/bb-modules/Support/Service.php b/src/bb-modules/Support/Service.php
index c2d944a15..42b1bdb57 100644
--- a/src/bb-modules/Support/Service.php
+++ b/src/bb-modules/Support/Service.php
@@ -1364,7 +1364,7 @@ class Service implements \Box\InjectionAwareInterface
$this->di['db']->trash($model);
- $this->di['logger']->info('Deleted canned reponse #%s', $id);
+ $this->di['logger']->info('Deleted canned response #%s', $id);
return true;
}
diff --git a/src/bb-modules/Theme/Model/Theme.php b/src/bb-modules/Theme/Model/Theme.php
index 18fb78462..8fe19e641 100644
--- a/src/bb-modules/Theme/Model/Theme.php
+++ b/src/bb-modules/Theme/Model/Theme.php
@@ -109,7 +109,7 @@ class Theme
// remove style attributes
$settings_page = preg_replace('/(<[^>]+) style=".*?"/i', '$1', $settings_page);
- // fix unclosed texarea
+ // fix unclosed text area
$settings_page = preg_replace('//i', '', $settings_page);
return $settings_page;
diff --git a/src/bb-themes/admin_default/html/mod_product_promos.html.twig b/src/bb-themes/admin_default/html/mod_product_promos.html.twig
index b92f8304c..8a43cc84e 100644
--- a/src/bb-themes/admin_default/html/mod_product_promos.html.twig
+++ b/src/bb-themes/admin_default/html/mod_product_promos.html.twig
@@ -76,7 +76,7 @@
From {% if promo.start_at %}{{ promo.start_at|date('Y-m-d') }}{% else %}now{% endif %}
- untill {% if promo.end_at %}{{ promo.end_at|date('Y-m-d') }}{% else %}disabled{% endif %}
+ until {% if promo.end_at %}{{ promo.end_at|date('Y-m-d') }}{% else %}disabled{% endif %}
{% if promo.active == true %}
diff --git a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeDriver.class.php b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeDriver.class.php
index bbb61f93a..9372faf99 100644
--- a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeDriver.class.php
+++ b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeDriver.class.php
@@ -454,7 +454,7 @@ abstract class elFinderVolumeDriver {
}
/**
- * Configure after successfull mount.
+ * Configure after successful mount.
* By default set thumbnails path and image manipulation library.
*
* @return void
diff --git a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeLocalFileSystem.class.php b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeLocalFileSystem.class.php
index 1c1af8ec5..93d0d9a7d 100644
--- a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeLocalFileSystem.class.php
+++ b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeLocalFileSystem.class.php
@@ -44,7 +44,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
/*********************************************************************/
/**
- * Configure after successfull mount.
+ * Configure after successful mount.
*
* @return void
* @author Dmitry (dio) Levashov
diff --git a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeMySQL.class.php b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeMySQL.class.php
index 52861155d..f6f3fef35 100644
--- a/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeMySQL.class.php
+++ b/src/bb-themes/huraga/assets/js/plugins/elFinder/php/elFinderVolumeMySQL.class.php
@@ -178,7 +178,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
/**
* Perform sql query and return result.
- * Increase sqlCnt and save error if occured
+ * Increase sqlCnt and save error if occurred
*
* @param string $sql query
* @return misc
diff --git a/src/bb-themes/huraga/config/settings.html b/src/bb-themes/huraga/config/settings.html
index 4d84b131a..c1ed0f76b 100644
--- a/src/bb-themes/huraga/config/settings.html
+++ b/src/bb-themes/huraga/config/settings.html
@@ -221,7 +221,7 @@
-
+
diff --git a/src/install/sql/content.sql b/src/install/sql/content.sql
index e17cf191e..c9e514f0d 100644
--- a/src/install/sql/content.sql
+++ b/src/install/sql/content.sql
@@ -177,7 +177,7 @@ LOCK TABLES `kb_article` WRITE;
INSERT INTO `kb_article` (`id`, `kb_article_category_id`, `views`, `title`, `content`, `slug`, `status`, `created_at`, `updated_at`)
VALUES
(1,2,0,'How to contact support','Registered clients can contact our support team:\n------------------------------------------------------------\n\n* Login to clients area\n* Select **Support** menu item\n* Click **Submit new ticket**\n* Fill the form and press *Submit*\n\nGuests can contact our support team:\n------------------------------------------------------------\n\n* Use our contact form.\n* Fill the form and click *Submit*\n','how-to-contact-support','active','2021-01-01 12:00:00','2021-01-01 12:00:00'),
- (2,2,0,'How to place new order','To place new order, follow these steps:\n------------------------------------------------------------\n\n* Select our services at *Order* page.\n* Depending on selected product, you might need to provide additional information to complete order request.\n* Click \"Continue\" and your product/service is now in shopping cart.\n* If you have promo code, you can apply it and get discount.\n* Click on \"Checkout\" button to proceed with checkout process\n * If you are already logged in, uou will be automaticaly redirected to new invoice\n * If you are registerd client, you can provide your login details\n * If you have never purchased any service from us, fill up client sign up form, and continue checkout\n* Choose payment method to pay for invoice. List of all avalable payment methods will be listed below invoice details.\n* Choose payment method\n* You will be redirected to payment gateway page\n* After successfull payment, You will be redirected back to invoice page.\n* Depending on selected services your order will be reviewed and activated by our staff members.\n* After you receive confirmation email about order activation you are able to manage your services.\n','how-to-place-new-order','active','2021-01-01 12:00:00','2021-01-01 12:00:00'),
+ (2,2,0,'How to place new order','To place new order, follow these steps:\n------------------------------------------------------------\n\n* Select our services at *Order* page.\n* Depending on selected product, you might need to provide additional information to complete order request.\n* Click \"Continue\" and your product/service is now in shopping cart.\n* If you have promo code, you can apply it and get discount.\n* Click on \"Checkout\" button to proceed with checkout process\n * If you are already logged in, uou will be automaticaly redirected to new invoice\n * If you are registerd client, you can provide your login details\n * If you have never purchased any service from us, fill up client sign up form, and continue checkout\n* Choose payment method to pay for invoice. List of all avalable payment methods will be listed below invoice details.\n* Choose payment method\n* You will be redirected to payment gateway page\n* After successful payment, You will be redirected back to invoice page.\n* Depending on selected services your order will be reviewed and activated by our staff members.\n* After you receive confirmation email about order activation you are able to manage your services.\n','how-to-place-new-order','active','2021-01-01 12:00:00','2021-01-01 12:00:00'),
(3,2,0,'Example article','Example article heading\n------------------------------------------------------------\n\nCursus, parturient porta dis sit? Habitasse non, sociis porttitor, sagittis dapibus scelerisque? Pid, porttitor integer, montes. Hac, in? Arcu nunc integer nascetur dis nisi. In, sed a amet? Adipiscing odio mauris mauris, porta, integer, adipiscing habitasse, elementum phasellus, turpis in? Quis magna placerat eu, cursus urna mattis egestas, a ac massa turpis mus et odio pid in, urna dapibus ridiculus in turpis cursus ac a urna magna purus etiam ac nisi porttitor! Auctor est? In adipiscing, hac platea augue vut, hac est cum sagittis! Montes nascetur pulvinar tristique porta platea? Magnis vel etiam nisi augue auctor sit pulvinar! Aliquet rhoncus, elit porta? Magnis pulvinar eu turpis purus sociis a augue? Sit, nascetur! Mattis nisi, penatibus ac ac natoque auctor turpis.\n\nExample article heading\n------------------------------------------------------------\n\nUt diam cursus, elit pulvinar, habitasse purus? Enim. Urna? Velit arcu, rhoncus sociis sed, et, ultrices nascetur lacus vut purus tempor a. Vel? Sagittis integer scelerisque, dapibus lectus mid, magnis, augue duis velit etiam tortor! Eros, a et phasellus est ultricies integer elementum in, tempor sed parturient. Dictumst rhoncus, ut sed sagittis facilisis? In, proin? Urna augue in sociis enim dignissim! Velit magna tincidunt ac. Nunc, vel auctor porta enim integer. Phasellus amet eu. Tristique lundium arcu! In? Massa penatibus arcu, rhoncus augue ut pid pulvinar, porttitor, porta, et! A sit odio, proin natoque ultrices cras cras magna porttitor! Ultrices sed magna in! Porttitor nunc, tincidunt nec, amet integer aenean. Tincidunt, placerat nec dolor parturient et ac pulvinar a.\n','example-article-slug','active','2021-01-01 12:00:00','2021-01-01 12:00:00');
/*!40000 ALTER TABLE `kb_article` ENABLE KEYS */;
diff --git a/src/robots.txt b/src/robots.txt
index be7566897..80d5de3dd 100644
--- a/src/robots.txt
+++ b/src/robots.txt
@@ -1,5 +1,5 @@
# If the FOSSBilling site is installed within a folder such as at
-# e.g. www.example.com/boxbilling/ the robots.txt file MUST be
+# e.g. www.example.com/fossbilling/ the robots.txt file MUST be
# moved to the site root at e.g. www.example.com/robots.txt
# AND the FOSSBilling folder name MUST be prefixed to the disallowed
# path, e.g. the Disallow rule for the /bb-data/ folder
diff --git a/tests/bb-library/Registrar/Adapter/Registrar_Adapter_ResellerclubTest.php b/tests/bb-library/Registrar/Adapter/Registrar_Adapter_ResellerclubTest.php
index e13cdb21d..20ef39958 100644
--- a/tests/bb-library/Registrar/Adapter/Registrar_Adapter_ResellerclubTest.php
+++ b/tests/bb-library/Registrar/Adapter/Registrar_Adapter_ResellerclubTest.php
@@ -125,7 +125,7 @@ class Registrar_Adapter_ResellerclubTest extends PHPUnit\Framework\TestCase
$this->assertFalse($result);
}
- public function testisDomainCanBeTransfered()
+ public function testisDomaincanBeTransferred()
{
$adapterMock = $this->getMockBuilder('Registrar_Adapter_Resellerclub')->disableOriginalConstructor()
->setMethods(array('_makeRequest'))
@@ -140,7 +140,7 @@ class Registrar_Adapter_ResellerclubTest extends PHPUnit\Framework\TestCase
->with('domains/validate-transfer')
->willReturn($requestResult);
- $result = $adapterMock->isDomainCanBeTransfered($registrarDomain);
+ $result = $adapterMock->isDomaincanBeTransferred($registrarDomain);
$this->assertIsBool($result);
$this->assertTrue($result);
}
diff --git a/tests/bb-modules/Client/Api/AdminTest.php b/tests/bb-modules/Client/Api/AdminTest.php
index 6f45b9731..fa609de17 100644
--- a/tests/bb-modules/Client/Api/AdminTest.php
+++ b/tests/bb-modules/Client/Api/AdminTest.php
@@ -147,7 +147,7 @@ class AdminTest extends \BBTestCase
$serviceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(false));
+ method('emailAlreadyRegistered')->will($this->returnValue(false));
$serviceMock->expects($this->atLeastOnce())->
method('adminCreateClient')->will($this->returnValue(1));
@@ -184,7 +184,7 @@ class AdminTest extends \BBTestCase
$serviceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(true));
+ method('emailAlreadyRegistered')->will($this->returnValue(true));
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
@@ -297,7 +297,7 @@ class AdminTest extends \BBTestCase
$serviceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(false));
+ method('emailAlreadyRegistered')->will($this->returnValue(false));
$serviceMock->expects($this->atLeastOnce())->
method('canChangeCurrency')->will($this->returnValue(true));
@@ -381,7 +381,7 @@ class AdminTest extends \BBTestCase
$serviceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(true));
+ method('emailAlreadyRegistered')->will($this->returnValue(true));
$serviceMock->expects($this->never())->
method('canChangeCurrency')->will($this->returnValue(true));
diff --git a/tests/bb-modules/Client/Api/ClientTest.php b/tests/bb-modules/Client/Api/ClientTest.php
index dcda8816c..2f3f21a80 100644
--- a/tests/bb-modules/Client/Api/ClientTest.php
+++ b/tests/bb-modules/Client/Api/ClientTest.php
@@ -135,7 +135,7 @@ class ClientTest extends \BBTestCase {
$serviceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(false));
+ method('emailAlreadyRegistered')->will($this->returnValue(false));
$eventMock = $this->getMockBuilder('\Box_EventManager')->getMock();
$eventMock->expects($this->atLeastOnce())->
diff --git a/tests/bb-modules/Client/ServiceTest.php b/tests/bb-modules/Client/ServiceTest.php
index 2347b70ea..e63136e91 100644
--- a/tests/bb-modules/Client/ServiceTest.php
+++ b/tests/bb-modules/Client/ServiceTest.php
@@ -322,7 +322,7 @@ class ServiceTest extends \BBTestCase {
$this->assertTrue(array_diff_key($result, $expectedArrayKeys) == array());
}
- public function testemailAreadyRegistered()
+ public function testemailAlreadyRegistered()
{
$email = 'test@example.com';
$model = new \Model_Client();
@@ -337,7 +337,7 @@ class ServiceTest extends \BBTestCase {
$clientService = new \Box\Mod\Client\Service();
$clientService->setDi($di);
- $result = $clientService->emailAreadyRegistered($email);
+ $result = $clientService->emailAlreadyRegistered($email);
$this->assertIsBool($result);
}
@@ -350,7 +350,7 @@ class ServiceTest extends \BBTestCase {
$clientService = new \Box\Mod\Client\Service();
- $result = $clientService->emailAreadyRegistered($email, $model);
+ $result = $clientService->emailAlreadyRegistered($email, $model);
$this->assertIsBool($result);
$this->assertEquals(false, $result);
}
diff --git a/tests/bb-modules/Profile/ServiceTest.php b/tests/bb-modules/Profile/ServiceTest.php
index 8d63c0ce3..920b98f89 100644
--- a/tests/bb-modules/Profile/ServiceTest.php
+++ b/tests/bb-modules/Profile/ServiceTest.php
@@ -152,7 +152,7 @@ class ServiceTest extends \BBTestCase
$clientServiceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$clientServiceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(false));
+ method('emailAlreadyRegistered')->will($this->returnValue(false));
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($this->atLeastOnce())->method('isEmailValid');
@@ -238,7 +238,7 @@ class ServiceTest extends \BBTestCase
$clientServiceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$clientServiceMock->expects($this->never())->
- method('emailAreadyRegistered')->will($this->returnValue(false));
+ method('emailAlreadyRegistered')->will($this->returnValue(false));
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($this->never())->method('isEmailValid');
@@ -295,7 +295,7 @@ class ServiceTest extends \BBTestCase
$clientServiceMock = $this->getMockBuilder('\Box\Mod\Client\Service')->getMock();
$clientServiceMock->expects($this->atLeastOnce())->
- method('emailAreadyRegistered')->will($this->returnValue(true));
+ method('emailAlreadyRegistered')->will($this->returnValue(true));
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($this->atLeastOnce())->method('isEmailValid');
diff --git a/tests/bb-modules/Servicedomain/Api/Api_GuestTest.php b/tests/bb-modules/Servicedomain/Api/Api_GuestTest.php
index 11078e18e..32e84bbb3 100644
--- a/tests/bb-modules/Servicedomain/Api/Api_GuestTest.php
+++ b/tests/bb-modules/Servicedomain/Api/Api_GuestTest.php
@@ -206,10 +206,10 @@ class Api_GuestTest extends \BBTestCase
public function testCan_be_transferred()
{
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
- ->setMethods(array('tldFindOneByTld', 'canBeTransfered'))->getMock();
+ ->setMethods(array('tldFindOneByTld', 'canBeTransferred'))->getMock();
$serviceMock->expects($this->atLeastOnce())->method('tldFindOneByTld')
->will($this->returnValue(new \Model_Tld()));
- $serviceMock->expects($this->atLeastOnce())->method('canBeTransfered')
+ $serviceMock->expects($this->atLeastOnce())->method('canBeTransferred')
->will($this->returnValue(true));
$validatorMock = $this->getMockBuilder('\Box_Validate')->disableOriginalConstructor()->getMock();
@@ -233,10 +233,10 @@ class Api_GuestTest extends \BBTestCase
public function testCan_be_transferredTldNotFoundException()
{
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
- ->setMethods(array('tldFindOneByTld', 'canBeTransfered'))->getMock();
+ ->setMethods(array('tldFindOneByTld', 'canBeTransferred'))->getMock();
$serviceMock->expects($this->atLeastOnce())->method('tldFindOneByTld')
->will($this->returnValue(null));
- $serviceMock->expects($this->never())->method('canBeTransfered')
+ $serviceMock->expects($this->never())->method('canBeTransferred')
->will($this->returnValue(true));
$validatorMock = $this->getMockBuilder('\Box_Validate')->disableOriginalConstructor()->getMock();
@@ -259,10 +259,10 @@ class Api_GuestTest extends \BBTestCase
public function testCan_be_transferredCanNotBeTransferredException()
{
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
- ->setMethods(array('tldFindOneByTld', 'canBeTransfered'))->getMock();
+ ->setMethods(array('tldFindOneByTld', 'canBeTransferred'))->getMock();
$serviceMock->expects($this->atLeastOnce())->method('tldFindOneByTld')
->will($this->returnValue(new \Model_Tld()));
- $serviceMock->expects($this->atLeastOnce())->method('canBeTransfered')
+ $serviceMock->expects($this->atLeastOnce())->method('canBeTransferred')
->will($this->returnValue(false));
$validatorMock = $this->getMockBuilder('\Box_Validate')->disableOriginalConstructor()->getMock();
diff --git a/tests/bb-modules/Servicedomain/ServiceTest.php b/tests/bb-modules/Servicedomain/ServiceTest.php
index 5ab74ed53..2e4463734 100644
--- a/tests/bb-modules/Servicedomain/ServiceTest.php
+++ b/tests/bb-modules/Servicedomain/ServiceTest.php
@@ -103,7 +103,7 @@ class ServiceTest extends \BBTestCase
/**
* @dataProvider validateOrderDataProvider
*/
- public function testValidateOrderData($data, $finOneByTldCalled, $canBeTransferedCalled, $isDomainAvailableCalled)
+ public function testValidateOrderData($data, $finOneByTldCalled, $canBeTransferredCalled, $isDomainAvailableCalled)
{
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($this->atLeastOnce())->method('isSldValid')
@@ -115,11 +115,11 @@ class ServiceTest extends \BBTestCase
$tld->min_years = 2;
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
- ->setMethods(array('tldFindOneByTld', 'canBeTransfered', 'isDomainAvailable'))->getMock();
+ ->setMethods(array('tldFindOneByTld', 'canBeTransferred', 'isDomainAvailable'))->getMock();
$serviceMock->expects($finOneByTldCalled)->method('tldFindOneByTld')
->will($this->returnValue($tld));
- $serviceMock->expects($canBeTransferedCalled)->method('canBeTransfered')
+ $serviceMock->expects($canBeTransferredCalled)->method('canBeTransferred')
->will($this->returnValue(true));
$serviceMock->expects($isDomainAvailableCalled)->method('isDomainAvailable')
->will($this->returnValue(true));
@@ -226,7 +226,7 @@ class ServiceTest extends \BBTestCase
'called' => $this->atLeastOnce(),
'returns' => null
),
- array( //canBeTransfered
+ array( //canBeTransferred
'called' => $this->never(),
'returns' => true
)
@@ -245,7 +245,7 @@ class ServiceTest extends \BBTestCase
'called' => $this->atLeastOnce(),
'returns' => $tldModel
),
- array( //canBeTransfered
+ array( //canBeTransferred
'called' => $this->atLeastOnce(),
'returns' => false
)
@@ -256,7 +256,7 @@ class ServiceTest extends \BBTestCase
/**
* @dataProvider validateOrderDateTransferExceptionsProvider
*/
- public function testValidateOrderDateTransferExceptions($data, $isSldValidArr, $tldFindOneByTldArr, $canBeTransfered)
+ public function testValidateOrderDateTransferExceptions($data, $isSldValidArr, $tldFindOneByTldArr, $canBeTransferred)
{
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($isSldValidArr['called'])->method('isSldValid')
@@ -265,11 +265,11 @@ class ServiceTest extends \BBTestCase
->will($this->returnValue(null));
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
- ->setMethods(array('tldFindOneByTld', 'canBeTransfered'))->getMock();
+ ->setMethods(array('tldFindOneByTld', 'canBeTransferred'))->getMock();
$serviceMock->expects($tldFindOneByTldArr['called'])->method('tldFindOneByTld')
->will($this->returnValue($tldFindOneByTldArr['returns']));
- $serviceMock->expects($canBeTransfered['called'])->method('canBeTransfered')
- ->will($this->returnValue($canBeTransfered['returns']));
+ $serviceMock->expects($canBeTransferred['called'])->method('canBeTransferred')
+ ->will($this->returnValue($canBeTransferred['returns']));
$di = new \Box_Di();
$di['validator'] = $validatorMock;
@@ -354,7 +354,7 @@ class ServiceTest extends \BBTestCase
/**
* @dataProvider validateOrderDateRegisterExceptionsProvider
*/
- public function testValidateOrderDateRegisterExceptions($data, $isSldValidArr, $tldFindOneByTldArr, $canBeTransfered)
+ public function testValidateOrderDateRegisterExceptions($data, $isSldValidArr, $tldFindOneByTldArr, $canBeTransferred)
{
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
$validatorMock->expects($isSldValidArr['called'])->method('isSldValid')
@@ -366,8 +366,8 @@ class ServiceTest extends \BBTestCase
->setMethods(array('tldFindOneByTld', 'isDomainAvailable'))->getMock();
$serviceMock->expects($tldFindOneByTldArr['called'])->method('tldFindOneByTld')
->will($this->returnValue($tldFindOneByTldArr['returns']));
- $serviceMock->expects($canBeTransfered['called'])->method('isDomainAvailable')
- ->will($this->returnValue($canBeTransfered['returns']));
+ $serviceMock->expects($canBeTransferred['called'])->method('isDomainAvailable')
+ ->will($this->returnValue($canBeTransferred['returns']));
$di = new \Box_Di();
$di['validator'] = $validatorMock;
@@ -1071,11 +1071,11 @@ class ServiceTest extends \BBTestCase
$this->assertTrue($result);
}
- public function testCanBeTransfered()
+ public function testcanBeTransferred()
{
$registrarAdapterMock = $this->getMockBuilder('Registrar_Adapter_Custom')->disableOriginalConstructor()
->getMock();
- $registrarAdapterMock->expects($this->atLeastOnce())->method('isDomainCanBeTransfered')
+ $registrarAdapterMock->expects($this->atLeastOnce())->method('isDomaincanBeTransferred')
->will($this->returnValue(true));
$serviceMock = $this->getMockBuilder('\Box\Mod\Servicedomain\Service')
@@ -1102,25 +1102,25 @@ class ServiceTest extends \BBTestCase
$tld->tld = '.com';
$tld->tld_registrar_id = rand(1, 100);
- $result = $serviceMock->canBeTransfered($tld, 'example');
+ $result = $serviceMock->canBeTransferred($tld, 'example');
$this->assertTrue($result);
}
- public function testCanBeTransferedEmptySldException()
+ public function testcanBeTransferredEmptySldException()
{
$this->expectException(\Box_Exception::class);
- $this->service->canBeTransfered(new \Model_Tld(), '');
+ $this->service->canBeTransferred(new \Model_Tld(), '');
}
- public function testCanBeTransferedNotAllowedException()
+ public function testcanBeTransferredNotAllowedException()
{
$tldModel = new \Model_Tld();
$tldModel->loadBean(new \RedBeanPHP\OODBBean());
$tldModel->allow_transfer = false;
$this->expectException(\Box_Exception::class);
- $this->service->canBeTransfered($tldModel, 'example');
+ $this->service->canBeTransferred($tldModel, 'example');
}
public function testIsDomainAvailable()
diff --git a/tests/bb-modules/Spamchecker/ServiceTest.php b/tests/bb-modules/Spamchecker/ServiceTest.php
index 323e5a824..fba28e03a 100644
--- a/tests/bb-modules/Spamchecker/ServiceTest.php
+++ b/tests/bb-modules/Spamchecker/ServiceTest.php
@@ -134,7 +134,7 @@ class ServiceTest extends \BBTestCase {
->willReturn($di);
$this->expectException(\Box_Exception::class);
- $this->expectExceptionMessage(sprintf("Your IP addresss (%s) is blocked. Please contact our support to lift your block.", $clientIp), 403);
+ $this->expectExceptionMessage(sprintf("Your IP address (%s) is blocked. Please contact our support to lift your block.", $clientIp), 403);
$this->service->isBlockedIp($boxEventMock);
}
diff --git a/tests/bb-modules/Staff/Api/AdminTest.php b/tests/bb-modules/Staff/Api/AdminTest.php
index 06c0de922..e17c516c3 100644
--- a/tests/bb-modules/Staff/Api/AdminTest.php
+++ b/tests/bb-modules/Staff/Api/AdminTest.php
@@ -32,7 +32,7 @@ class AdminTest extends \BBTestCase {
->method('getSearchQuery')
->will($this->returnValue(array('sqlString', array())));
$serviceMock->expects($this->atLeastOnce())
- ->method('toModel_AdminApiiArray')
+ ->method('toModel_AdminApiArray')
->will($this->returnValue(array()));
$resultSet = array(
@@ -70,7 +70,7 @@ class AdminTest extends \BBTestCase {
$serviceMock = $this->getMockBuilder('\Box\Mod\Staff\Service')->getMock();
$serviceMock->expects($this->atLeastOnce())
- ->method('toModel_AdminApiiArray')
+ ->method('toModel_AdminApiArray')
->will($this->returnValue(array()));
$validatorMock = $this->getMockBuilder('\Box_Validate')->getMock();
diff --git a/tests/bb-modules/Staff/ServiceTest.php b/tests/bb-modules/Staff/ServiceTest.php
index 75f03707f..83aff8e76 100644
--- a/tests/bb-modules/Staff/ServiceTest.php
+++ b/tests/bb-modules/Staff/ServiceTest.php
@@ -896,7 +896,7 @@ class ServiceTest extends \BBTestCase
$this->assertInstanceOf('\Model_Admin', $result);
}
- public function testtoModel_AdminApiiArray()
+ public function testtoModel_AdminApiArray()
{
$adminModel = new \Model_Admin();
$adminModel->loadBean(new \RedBeanPHP\OODBBean());
@@ -929,7 +929,7 @@ class ServiceTest extends \BBTestCase
$service = new \Box\Mod\Staff\Service();
$service->setDi($di);
- $result = $service->toModel_AdminApiiArray($adminModel);
+ $result = $service->toModel_AdminApiArray($adminModel);
$this->assertNotEmpty($result);
$this->assertIsArray($result);