Commit Graph
4086 Commits
Author SHA1 Message Date
Belle Aerni c4c67be42f Prevent fatal errors on missing message authors (#1706) 2023-10-10 07:43:54 +02:00
dependabot[bot] 48c69ddb70 Bump sass from 1.68.0 to 1.69.0 (#1700) 2023-10-06 13:41:22 +03:00
dependabot[bot] 5d0ff40f31 Bump stripe/stripe-php from 12.5.0 to 12.6.0 (#1701) 2023-10-06 13:40:36 +03:00
dependabot[bot] 3c70199250 Bump rector/rector from 0.18.4 to 0.18.5 (#1702) 2023-10-06 13:40:13 +03:00
Belle Aerni 464771215a Improvements to the Extension Directory integration (#1696)
* Added the ability to view extension readmes

* Move them to a new tab as well
2023-10-06 08:04:14 +03:00
FOSSBilling BotandFOSSBilling Bot c58068bc61 Apply PHP Code Styling & Quality Changes (#1694)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-10-05 05:46:06 -07:00
Yağızhan 1aaaabd067 Grammar (#1691)
* Grammar

* Update mod_extension_index.html.twig
2023-10-05 12:47:18 +03:00
RonandBelle Aerni 75fb9cbdcf Developer Workflow Supporting Code (#1692)
* #1583 initial workflow update using debug reference in config for install dir bypass

* #1583 add missed files

* #1583 improve config generation

* #1583 clean up docblock (issue feedback)

* fix https detection, corrected pull from upstream

* #1583 improve docker build config

* #1583 remove docker configs from repo, they have been moved to dev workflow documentation

* Two very minor changes

* Other minor changes

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-10-05 09:47:57 +02:00
Yağızhan abeee38a04 Fixed broken closing tag (#1690) 2023-10-04 09:24:40 -07:00
Yağızhan 887b84fc32 Fixed duplicated ID (#1689) 2023-10-04 09:02:06 -07:00
Belle Aerni ed73d8a14a Fix massmailer's send functionality (#1688) 2023-10-04 18:11:40 +03:00
dependabot[bot] cf1093c9ca Bump friendsofphp/php-cs-fixer from 3.34.0 to 3.34.1 (#1687)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.34.0 to 3.34.1.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.34.0...v3.34.1)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 02:30:11 -07:00
Belle Aerni 8c7729ccd3 Miscellaneous autoloader improvements (#1676)
* Miscellaneous autoloader improvements

* Spelling

* Fixed PHPDocs
2023-10-04 07:40:19 +03:00
FOSSBilling BotandFOSSBilling Bot d3f8cb3301 Apply PHP Code Styling & Quality Changes (#1672)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-10-03 05:45:30 -07:00
Belle Aerni 730333f448 Minor improvements to Stripe & PayPal integrations (#1671) 2023-10-03 14:36:49 +03:00
Belle Aerni e212718993 Improvements to the Stripe payment gateway (#1664)
* Improvements to the Stripe payment gateway

* Actually, let Stripe fill that in

It'll pull it from the Stripe account if we don't pass it, which seems Ideal to me
2023-10-02 03:57:31 -07:00
Belle Aerni e0b84e58a7 Fix and improve cron messages in the admin panel (#1666)
* Fix and improve cron messages in the admin panel

* Add a note that the message is cached for 15 min
2023-10-02 03:32:03 -07:00
dependabot[bot] 751fd2d6a6 Bump apexcharts from 3.42.0 to 3.43.0 (#1669)
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.42.0 to 3.43.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/compare/v3.42.0...v3.43.0)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 03:15:37 -07:00
dependabot[bot] 5bb731f277 Bump core-js from 3.32.2 to 3.33.0 (#1668)
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.2 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 03:14:45 -07:00
dependabot[bot] 6802bc0e67 Bump friendsofphp/php-cs-fixer from 3.30.0 to 3.34.0 (#1667)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.30.0 to 3.34.0.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.30.0...v3.34.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 02:26:43 -07:00
Belle Aerni 38144df6f9 Small bug fixes (#1665) 2023-10-02 10:17:05 +02:00
Belle Aerni b8d3d35ad2 Significantly improve translation management (#1661)
* Started work on locale disable / enable functionality

* Implemented enable / disable functionality

* Implemented completion bar

* Update the preview workflow to use locale releases

* Fix typos, correct workflow

* Use the latest translation release

* Fix tests

* Fixed typo, removed crappy instructions

* fkn spelling
2023-09-30 22:19:15 +03:00
Belle Aerni 1505edae92 Revert of the model changes from the PHPStan PR (#1656)
Revert of the model changes for PHPStan
2023-09-30 22:09:53 +03:00
dependabot[bot] 48312b03b9 Bump postcss from 8.4.30 to 8.4.31 (#1654)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 03:02:49 -07:00
dependabot[bot] 8158489f85 Bump stripe/stripe-php from 12.4.0 to 12.5.0 (#1653)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from
12.4.0 to 12.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stripe/stripe-php/releases">stripe/stripe-php's
releases</a>.</em></p>
<blockquote>
<h2>v12.5.0</h2>
<ul>
<li><a
href="https://redirect.github.com/stripe/stripe-php/pull/1582">#1582</a>
Generate Discount, SourceTransaction and use sections in more
places</li>
<li><a
href="https://redirect.github.com/stripe/stripe-php/pull/1584">#1584</a>
Update generated code
<ul>
<li>Add support for <code>rendering</code> on <code>Invoice</code></li>
</ul>
</li>
</ul>
<p>See <a
href="https://github.com/stripe/stripe-php/blob/v12.5.0/CHANGELOG.md">the
changelog for more details</a>.</p>
<h2>v12.5.0-beta.1</h2>
<ul>
<li><a
href="https://redirect.github.com/stripe/stripe-php/pull/1578">#1578</a>
Update generated code for beta
<ul>
<li>Remove support for <code>customer</code> on
<code>ConfirmationToken</code></li>
<li>Add support for <code>issuer</code> on <code>Invoice</code></li>
</ul>
</li>
</ul>
<p>See <a
href="https://github.com/stripe/stripe-php/blob/v12.5.0-beta.1/CHANGELOG.md">the
changelog for more details</a>.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md">stripe/stripe-php's
changelog</a>.</em></p>
<blockquote>
<h2>12.5.0 - 2023-09-28</h2>
<ul>
<li><a
href="https://redirect.github.com/stripe/stripe-php/pull/1582">#1582</a>
Generate Discount, SourceTransaction and use sections in more
places</li>
<li><a
href="https://redirect.github.com/stripe/stripe-php/pull/1584">#1584</a>
Update generated code
<ul>
<li>Add support for <code>rendering</code> on <code>Invoice</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stripe/stripe-php/commit/a4249b4a90437844f6c35e8701f8c68acd206f56"><code>a4249b4</code></a>
Bump version to 12.5.0</li>
<li><a
href="https://github.com/stripe/stripe-php/commit/c6e09b9d39f1374ae833c8bdefa500c28ff6b058"><code>c6e09b9</code></a>
Update generated code (<a
href="https://redirect.github.com/stripe/stripe-php/issues/1584">#1584</a>)</li>
<li><a
href="https://github.com/stripe/stripe-php/commit/4a9474ed3f3e48829452b44ad730b19110385f5d"><code>4a9474e</code></a>
Generate Discount, SourceTransaction and use sections in more places (<a
href="https://redirect.github.com/stripe/stripe-php/issues/1582">#1582</a>)</li>
<li>See full diff in <a
href="https://github.com/stripe/stripe-php/compare/v12.4.0...v12.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stripe/stripe-php&package-manager=composer&previous-version=12.4.0&new-version=12.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 03:01:38 -07:00
Belle Aerni 0feed33d73 Fix redirect issue with stripe (#1650)
Fixes Issue that redirected users to the admin login page after payment with stripe was complete, due to a bug in the email template engine.
2023-09-28 18:53:32 +02:00
FOSSBilling BotandFOSSBilling Bot 76d89eb410 Apply PHP Code Styling & Quality Changes (#1649)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-09-28 05:29:52 -07:00
f2f9701359 Mark as paid now adds funds if the Payment Provider is "Custom". (#1487)
* When you press the "Mark as paid" Button on the invoice, you can now enter a transaction id.
If the Payment gateway of the Invoice is "Custom" and it's enabled, the transaction ID will be used to add transactions that add funds in the amount of the invoice to the customer. Then, it will be marked as paid, just like with any other payment provider.

* Added processTransaction method to the Custom Payment Gateway.
* Fixed tests by removing unnecessary tests for Payment Adapters that don't have the processTransaction method.


---------

Co-authored-by: Christoph Schläpfer <chris+github@cleverly.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
2023-09-28 13:14:06 +02:00
Belle Aerni bf3c40719e Quick fix to the models (#1648) 2023-09-28 12:25:22 +02:00
dependabot[bot] e72fd5b123 Bump cypress from 13.2.0 to 13.3.0 (#1647)
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.2.0 to 13.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.2.0...v13.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 02:51:02 -07:00
Belle Aerni 1881ff7bfb Bump PHPStan analysis level (#1641)
* Bump PHPStan to level 2
2023-09-28 09:06:58 +02:00
Belle Aerni 566a621ad4 Implement a basic "confidence" system for fingerprinting (#1634)
* Rework how fingerprints are determined to be valid

* Spelling

* Fixed a typo, added a bit more info
2023-09-27 16:26:42 -07:00
Christoph Schlaepfer 647d806168 Merge pull request #1642 from Anuril/improve_pdf_invoice
Improved Invoices (Added Bank Name & BIC / SWIFT Code and improved PDF layout)
2023-09-27 22:33:10 +02:00
Christoph Schläpfer 95cdf9d329 Replaced Bank Clearing Code with BIC / SWIFT Code 2023-09-27 22:10:54 +02:00
Christoph Schläpfer bc5c5657f3 Cleanup & Spelling 2023-09-27 12:41:04 +02:00
Christoph Schläpfer e96828b52a Cleanup & Spelling 2023-09-27 12:32:48 +02:00
Christoph Schläpfer fbc303a42a If accessing invoices via hash is disabled, logged in clients will be redirected to their invoice page if they are not the buyer on the invoice they are trying to view. 2023-09-27 12:25:38 +02:00
dependabot[bot] c5644516ec Bump symfony/webpack-encore-bundle from 1.17.1 to 1.17.2 (#1644)
Bumps [symfony/webpack-encore-bundle](https://github.com/symfony/webpack-encore-bundle) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/symfony/webpack-encore-bundle/releases)
- [Changelog](https://github.com/symfony/webpack-encore-bundle/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/symfony/webpack-encore-bundle/compare/v1.17.1...v1.17.2)

---
updated-dependencies:
- dependency-name: symfony/webpack-encore-bundle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 02:30:42 -07:00
dependabot[bot] b478c33308 Bump friendsofphp/php-cs-fixer from 3.28.0 to 3.30.0 (#1643)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.28.0 to 3.30.0.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.28.0...v3.30.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 02:30:34 -07:00
Christoph Schläpfer a36695365d Made invoice to be checked against client as well. 2023-09-27 11:23:07 +02:00
Christoph Schläpfer 5cab8a3d8f Added option to configure if the bank information should be displayed on the bottom of every page 2023-09-27 11:14:50 +02:00
Christoph Schläpfer 9be239612a Removed debugging statements 2023-09-27 10:58:24 +02:00
Christoph Schläpfer 0c5320b7db Fixed Test 2023-09-27 10:42:24 +02:00
Christoph Schläpfer 0a9b4954eb Spelling 2023-09-27 10:38:07 +02:00
Christoph Schläpfer 971be2a345 Merge branch 'main' into improve_pdf_invoice 2023-09-27 10:26:59 +02:00
Christoph Schläpfer 6781d70137 Added functionality to choose if invoice is accessible via Hash. 2023-09-27 10:25:32 +02:00
Christoph SchlaepferandChristoph Schläpfer 1a18bd790c Changed the text regarding extension development. (#1640)
* Changed the text regarding "how to get an extension into the extension store".

* Removed recurring sentence.

---------

Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
2023-09-26 17:13:13 -07:00
FOSSBilling BotandFOSSBilling Bot e47b83e590 Update CKEditor and Related Dependencies (#1639)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-09-26 17:10:41 -07:00
FOSSBilling BotandFOSSBilling Bot f37753d4a7 Apply PHP Code Styling & Quality Changes (#1638)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-09-26 17:10:30 -07:00
dependabot[bot] 56f947856f Bump rector/rector from 0.18.3 to 0.18.4 (#1637)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.3 to 0.18.4.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.3...0.18.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 17:09:34 -07:00