Commit Graph
2514 Commits
Author SHA1 Message Date
e0d412aa93 Installer Overhaul (#1698)
* #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

* #1683 replace installer template assets

* #1683 initial UI layout overhaul, still need to port in some original UI logic

* #1683 initial backend overhaul, also still needs work

* #1683 misc cleanup, move license placement

* #1683 rename installer result template

* improve layout and content, fix variable naming #1683

* small fixes, readability improvement #1683

* stop passing references everywhere... use class variable instead #1683

* refactor unnecessary methods, improve more class variable references, optimize exception flow, remove duplicated method calls, verbose commenting/method renaming/code flow adjustment for readability #1683

* rename installer class (I think we deserve it at this point...) #1683

* improve form submission UX #1683

* block install if subfolder is detected #1683

* add validation for checking if we are already installed, secure against tampered requests #1683

* touch up install result for better onboarding #1683

* conver theme to jsdelivr, delete local picocss assets #1683

* fix typos #1683

* Use a local CSS file, other minor improvements

* Implemented new functionality on the install page

* Bug fix, make it more space efficient

* Minor fix

* Casing and minor JavaScript changes

* Adjusted the buttons

* Fix the blank screen issue

* window -> tab

* match other link tooltip adjustments

* update subfolder installations documentation link

* add Database prefix to db field labels

* Sentence case

* agreement checkbox

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2023-10-12 09:52:03 +02:00
FOSSBilling BotandFOSSBilling Bot 7a849bb1fc Update CKEditor and Related Dependencies (#1709)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-10-10 06:57:33 -07:00
FOSSBilling BotandFOSSBilling Bot 6afde30ea7 Apply PHP Code Styling & Quality Changes (#1708)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-10-10 14:29:34 +02:00
Belle Aerni c4c67be42f Prevent fatal errors on missing message authors (#1706) 2023-10-10 07:43:54 +02: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
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
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
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
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 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
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 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
Christoph Schläpfer 46b8057948 Reworked How Invoices look, added Bank Clearing Code & Account Number to Company settings. 2023-09-26 20:25:10 +02:00
Ron 059ced629e #1058 adjust recurrent product pricing UI behavior (#1605) 2023-09-25 12:59:11 -07:00
Belle Aerni 8c047bc0da Fix to allow analysis to run against the installer (#1633) 2023-09-25 22:02:57 +03:00
Belle Aerni e10d2daaa9 Cache requests to the Extension Directory (#1635)
* Cache requests to the Extension Directory

* Remove unneeded use statement
2023-09-25 09:57:28 +02:00
Albin Varghese 9e216ca9b2 Add missing import on installer (#1632) 2023-09-24 13:43:48 +03:00
YağızhanandBelle Aerni dbcf9a3ad4 Rewritten bin/prepare & +FOSSBilling_Environment (#1622)
* Rewritten bin/prepare & +FOSSBilling_Environment

* -redundancy

* - unnecessary bits

* nothing much

* Fix inverted logic, use new function in missed location

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-09-22 18:19:02 -07:00
3ee7f29689 Reworked Password-Reset flow (#1627)
* Reworked Password-Reset flow
- No more Passwords sent via E-Mail
- Correct redirects.

* Fixed spelling & last redirect

* Small fixes and updated tests for pw-reset-flow

* Fixed tests for pw-reset-flow

* Fixed tests for the Password reset flow

* Fixed typos, resolved Feedback

* Renamed event before password reset

* Renamed event after password reset

* Tweak a few comments, send the reset email instantly

---------

Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-09-22 18:15:18 -07:00
Belle Aerni cba659534c Improve session max age logic / behavior (#1614) 2023-09-22 16:46:58 -07:00
Christoph SchlaepferandChristoph Schläpfer 4dd38a0479 Removed random static key in email setVars & getVars (#1629)
* Removed random static key in email setVars & getVars

* Added config mock to Tests, fixed feedback

* Added config mock to Tests, fixed feedback

---------

Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
2023-09-22 15:43:36 -07:00
FOSSBilling Bot 4944d323b8 Apply PHP Code Styling & Quality Changes (#1625) 2023-09-21 16:30:23 +03:00
Belle Aerni 3d7132321a Prune the filesystem cache during cron (#1596)
* Prune the filesystem cache during cron

* Something something fix the tests

* Move it to the system module
2023-09-20 00:08:47 +02:00