From c2688d7ac5ebad24ab6b520d4d011d358e328618 Mon Sep 17 00:00:00 2001
From: Belle Aerni
Date: Tue, 1 Nov 2022 17:20:59 -0700
Subject: [PATCH 1/5] Created initial cspell config file
---
cspell.json | 236 +++++++++++++++++++++++++++++++++++++++++++++++++
src/robots.txt | 2 +-
2 files changed, 237 insertions(+), 1 deletion(-)
create mode 100644 cspell.json
diff --git a/cspell.json b/cspell.json
new file mode 100644
index 000000000..b5e03f8f8
--- /dev/null
+++ b/cspell.json
@@ -0,0 +1,236 @@
+{
+ "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"
+ ],
+
+ "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"
+ ],
+ "ignorePaths": [
+ "tests/**",
+ "node_modules/**",
+ "src/bb-themes/huraga/assets/**",
+ "src/bb-themes/admin_default/assets/**",
+ "src/install/assets/**",
+ "src/install/sql/**",
+ "src/rb.php",
+ "src/bb-modules/Wysiwyg/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-modules/Orderbutton/assets/**",
+ "src/bb-modules/Formbuilder/assets/**",
+ "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"
+ ]
+}
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
From 10944467a84029102397fd1e1b74c2c0804256cf Mon Sep 17 00:00:00 2001
From: Belle Aerni
Date: Tue, 1 Nov 2022 18:00:46 -0700
Subject: [PATCH 2/5] Fixed typos in .md files
---
CHANGELOG.md | 31 ++++++++++++++++---------------
CODE_OF_CONDUCT.md | 6 +++---
CONTRIBUTING.md | 32 ++++++++++++++++----------------
GOVERNANCE.md | 8 ++++----
README.md | 15 +++++++++------
cspell.json | 38 ++++++++++++++++++++++++++++++++++----
6 files changed, 82 insertions(+), 48 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a8dfa96b..3c659cf3a 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,8 +403,9 @@ 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
-* All extensions can call other extension event hooks
+* 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 even
+* t 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
* Admin layout contains more blocks. Gives more freedom for extensions developers.
@@ -447,7 +448,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 +469,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
index b5e03f8f8..ea1cd0c21 100644
--- a/cspell.json
+++ b/cspell.json
@@ -14,7 +14,20 @@
"Plesk",
"Huntr",
"Fabien",
- "Potencier"
+ "Potencier",
+ "Kloxo",
+ "Ispconfig",
+ "Interkassa",
+ "Payza",
+ "Spyc",
+ "Hostinger",
+ "docusaurus",
+ "Laravel",
+ "pastable",
+ "Nyan",
+ "recognised",
+ "fordnox",
+ "Dockerized"
],
"ignoreWords": [
@@ -193,7 +206,23 @@
"onsubmit",
"rgba",
"autofocus",
- "Servicemembership"
+ "Servicemembership",
+ "uniqid",
+ "Bluepay",
+ "gettext",
+ "Centova",
+ "multisite",
+ "mcrypt",
+ "stopforumspam",
+ "Internetbs",
+ "binded",
+ "tada",
+ "TLDR",
+ "htdocs",
+ "LSWS",
+ "Lighttpd",
+ "mbstring",
+ "srcset"
],
"ignorePaths": [
"tests/**",
@@ -209,7 +238,7 @@
"src/bb-modules/Servicesolusvm/**",
"build.xml",
"data/**",
- "makefile",
+ "Makefile",
"phpunit.xml.dist",
"bin/**",
"src/bb-library/GeoLite2-Country.mmdb",
@@ -231,6 +260,7 @@
"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"
+ "src/bb-modules/System/html_admin/mod_system_settings.html.twig",
+ "gulpfile.babel.js"
]
}
From 6d557ce39ca1520876071aee07f07793232df613 Mon Sep 17 00:00:00 2001
From: Belle Aerni
Date: Tue, 1 Nov 2022 18:53:36 -0700
Subject: [PATCH 3/5] Fix remaining typos
---
cspell.json | 80 ++++++++++++++++++-
src/bb-library/Payment/AdapterAbstract.php | 2 +-
src/bb-library/Registrar/Adapter/Custom.php | 6 +-
src/bb-library/Registrar/Adapter/Email.php | 6 +-
.../Registrar/Adapter/Internetbs.php | 2 +-
.../Registrar/Adapter/Resellerclub.php | 2 +-
src/bb-library/Registrar/AdapterAbstract.php | 2 +-
src/bb-locale/en_US/LC_MESSAGES/messages.po | 6 +-
src/bb-locale/messages.pot | 6 +-
src/bb-modules/Activity/Service.php | 4 +-
src/bb-modules/Api/Controller/Client.php | 2 +-
src/bb-modules/Client/Api/Admin.php | 4 +-
src/bb-modules/Client/Api/Client.php | 4 +-
src/bb-modules/Client/Api/Guest.php | 4 +-
src/bb-modules/Client/Service.php | 2 +-
src/bb-modules/Currency/Api/Guest.php | 4 +-
.../mod_currency_settings.html.twig | 2 +-
src/bb-modules/Email/Service.php | 6 +-
src/bb-modules/Example/Controller/Admin.php | 2 +-
src/bb-modules/Formbuilder/Api/Admin.php | 10 +--
.../mod_formbuilder_field.html.twig | 2 +-
.../mod_formbuilder_settings.html.twig | 2 +-
src/bb-modules/Hook/Service.php | 2 +-
src/bb-modules/Invoice/Api/Admin.php | 4 +-
src/bb-modules/Invoice/Service.php | 2 +-
.../Invoice/ServiceSubscription.php | 4 +-
.../html_admin/mod_massmailer_index.html.twig | 2 +-
src/bb-modules/Order/Service.php | 6 +-
.../mod_orderbutton_settings.html.twig | 2 +-
.../mod_paidsupport_settings.html.twig | 2 +-
src/bb-modules/Product/Api/Admin.php | 2 +-
src/bb-modules/Product/Service.php | 2 +-
src/bb-modules/Profile/Api/Client.php | 2 +-
src/bb-modules/Profile/Service.php | 2 +-
src/bb-modules/Queue/Api/Admin.php | 8 +-
src/bb-modules/Servicedomain/Api/Client.php | 2 +-
src/bb-modules/Servicedomain/Api/Guest.php | 2 +-
src/bb-modules/Servicedomain/Service.php | 6 +-
src/bb-modules/Servicehosting/Api/Admin.php | 10 +--
src/bb-modules/Servicehosting/Api/Client.php | 4 +-
src/bb-modules/Servicelicense/Api/Admin.php | 2 +-
.../Servicelicense/Plugin/Simple.php | 2 +-
src/bb-modules/Servicelicense/Service.php | 12 +--
src/bb-modules/Spamchecker/Api/Guest.php | 2 +-
src/bb-modules/Spamchecker/Service.php | 2 +-
src/bb-modules/Staff/Api/Admin.php | 8 +-
src/bb-modules/Staff/Service.php | 2 +-
src/bb-modules/Stats/Api/Admin.php | 2 +-
src/bb-modules/Support/Api/Admin.php | 2 +-
src/bb-modules/Support/Service.php | 2 +-
src/bb-modules/Theme/Model/Theme.php | 2 +-
.../html/mod_product_promos.html.twig | 2 +-
.../php/elFinderVolumeDriver.class.php | 2 +-
.../elFinderVolumeLocalFileSystem.class.php | 2 +-
.../php/elFinderVolumeMySQL.class.php | 2 +-
src/bb-themes/huraga/config/settings.html | 2 +-
src/install/sql/content.sql | 2 +-
.../Registrar_Adapter_ResellerclubTest.php | 4 +-
tests/bb-modules/Client/Api/AdminTest.php | 8 +-
tests/bb-modules/Client/Api/ClientTest.php | 2 +-
tests/bb-modules/Client/ServiceTest.php | 6 +-
tests/bb-modules/Profile/ServiceTest.php | 6 +-
.../Servicedomain/Api/Api_GuestTest.php | 12 +--
.../bb-modules/Servicedomain/ServiceTest.php | 38 ++++-----
tests/bb-modules/Spamchecker/ServiceTest.php | 2 +-
tests/bb-modules/Staff/Api/AdminTest.php | 4 +-
tests/bb-modules/Staff/ServiceTest.php | 4 +-
67 files changed, 217 insertions(+), 143 deletions(-)
diff --git a/cspell.json b/cspell.json
index ea1cd0c21..33138b903 100644
--- a/cspell.json
+++ b/cspell.json
@@ -27,7 +27,9 @@
"Nyan",
"recognised",
"fordnox",
- "Dockerized"
+ "Dockerized",
+ "proccess",
+ "unsuspended"
],
"ignoreWords": [
@@ -222,7 +224,78 @@
"LSWS",
"Lighttpd",
"mbstring",
- "srcset"
+ "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/**",
@@ -261,6 +334,7 @@
"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"
+ "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..84ff67f15 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..f94e03557 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..9bedb1b4d 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..5f226553d 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..fdd0eff85 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 }}