Commit Graph
628 Commits
Author SHA1 Message Date
Belle AerniandAdam Daley 6478746dc6 Automatically update the IP address DBs (#2680)
* Periodically update the IP address databases

* Ignore false positive PHPStan error in `Config.php`

Co-Authored-By: Adam Daley <admdly@users.noreply.github.com>

* Limit 1 DB update per execution

This way these are hogging less time from the cron job & it slightly spreads out the load on Github's release servers.

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2025-04-24 01:20:00 -07:00
FOSSBilling BotandFOSSBilling Bot 5b51ba0d24 Apply PHP Code Styling & Quality Changes (#2668)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2025-04-17 17:46:34 +01:00
Adam Daley bc4dd1d459 Replace FOSSBilling\Request with Symfony\HttpFoundation (#2645)
Replace `FOSSBilling\Request` with `Symfony\HttpFoundation` functionality.
2025-04-17 07:43:38 +01:00
John PandBelle Aerni 93a5947ea5 Fixes cookie consent banner to bottom of window (#2666)
Fixes cookie consent message to bottom of window

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2025-04-16 03:04:24 -07:00
renovate[bot] 9072201f4b chore(deps): update dependency ckeditor5 to v45 (#2660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 02:37:40 -07:00
olobinandBelle Aerni c59f60abe0 Fixed bug: now removing only related to item addons (#2663)
Deleting a product with a domain name from cart now only removes related addons for that domain name, rather than all addons of the same type from the cart.

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2025-04-16 02:30:39 -07:00
luzpaz 674ec83b31 fix: misc. typos (#2632)
Found via codespell
2025-03-07 13:05:52 +00:00
luzpazandAdam Daley c7700d1e1d fix: various typos (#2593)
Found via `codespell -q 3 -S "./tests-legacy,./package-lock.json,./cspell.json" -L filp,ridiculus,serie`

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2025-03-06 00:28:41 +00:00
Adam Daley 25ad0842b5 Move serialize-javascript override to root package.json (#2608) 2025-02-20 00:22:06 +00:00
Adam Daley bdb473ba74 Add serialize-javascript override to bump to v6.0.2 (#2604) 2025-02-19 22:55:29 +00:00
Yağızhan bb85d517f5 Fixed the background color of the support tickets (#2597)
* A simple bg-transparent should do the trick

* Update mod_support_ticket.html.twig
2025-02-09 22:37:26 -08:00
Belle Aerni 368f8cd6ad Bump the year (#2581) 2025-01-23 15:11:53 -08:00
Belle Aerni 3449537c92 Fixed CS / Rector workflow and ran both (#2580) 2025-01-20 16:19:45 -08:00
Belle Aerni 672c96cd5f Slightly improve session fingerprinting (#2560)
* Slightly improve session fingerprinting

* Spelling
2025-01-20 16:07:15 -08:00
Belle Aerni b35d902a6a Security dashboard & checks (#2503)
* Started implimenting a security dashboard and checks

* Wrote two functional checks

* Fix typos

* Update webserver.php

* + a new check

* Slight cleanup, made translatable

* Added some general checks

* Update cspell.json

* Typo

* Slight tweaks, add a permission to run checks
2025-01-08 10:52:07 +00:00
4b5121e78e Fix some display inconsistencies that annoy me (#2516)
* Add space after language, before language code

* Add space in locale.title instead of editing layout

* Consistency & improvements regarding Knowledge Base

* Improve ticket dashboard (at least in my opinion)

* More consistency

* Improve footer copyright in admin panel

* Fix a little display issue - copyright notice should now look great.

* Save some bytes - because why not?

* GitHub is a brand name and does not have to be translated - even more space saved!

* Another improvement

* Sign up -> Register

* Remove hidden useless space after footer

* Improve wording

* Improve wording in ticket dashboard for clarity

* Fix little mistake in the copyright notice

---------

Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2024-12-17 05:38:56 -08:00
Belle Aerni f8cbaa7bc6 Chore/dep updates (#2540)
* Bump deps

* Override dep versions with security alerts
2024-12-12 07:51:44 -08:00
Belle Aerni 650b091623 Sort categories and articles by alphabetical order (#2528)
* Sort categories and articles by alphabetical order

* Update ServiceTest.php
2024-12-03 15:42:22 -08:00
Belle Aerni c0ee8d3fc5 Cleaned up some routing, simplified webserver conf (#2511)
* Cleaned up some routing, simplified webserver conf

* Update cspell.json

* Update cspell.json

* Fixes
2024-11-27 04:00:12 -08:00
Belle Aerni bea56db9e0 Restore the cron module icon (#2508) 2024-11-25 19:20:58 -08:00
Belle Aerni 6df392ffa7 Fully prevent the cron account from ever being logged into (#2502)
* Fully prevent the cron account from ever being logged into

* Update the tests
2024-11-22 00:08:48 -08:00
Belle Aerni 45db4910a7 PHP 8.4 prep (#2464)
* Update CI for PHP 8.4

* Update composer deps for PHP 8.4

* Updates

* This is the default mode and this constant causes test failutes

* Explicily install the PDO extensions

* Temporarily downgrade the live tests to PHP 8.3

It would seem that there is some kind of problem with PHP 8.4 in regards to these tests. I believe it is outside of our control however as it installs fine for me with PHP 8.4 under DirectAdmin

* Update to address deprecations

* Make that nullable

* Fixed my typo

* Bump PHPunit to v11

* Also take care of two minor things

* Formatting fix
2024-11-21 23:16:29 -08:00
Belle AerniandJaap Marcus 7fcaaae8bb Add delays to prevent email enumeration (#2487)
* Add delays to prevent email enumeration

* Wording tweak

* This should fix the tests

Also ran PHP-CS-Fixer and Rector

* Update ServiceTest.php

---------

Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
2024-11-14 00:38:58 -08:00
Belle Aerni a5d15c2a99 Upgrade GeoIP functionality & replace the databases (#2471)
* Replaced Maxmind's IP database

* Began rebuilding GeoIP reader functionality

The GeoIP2 package does not worth with DB's that aren't built by maxmind themselves, making it rather unhelpful for us.

Since my long-term goal is for someone to be able to bring in their own DB, making a custom implementation seems like the reasonable choice.

(Plus my aim is already to replace the MaxMind DB due to it's licencing)

* Created an IP address lookup page

* + ASN info

* Bump last patch

* Make PHPStan happy

* Very minor refactor + PHPDocs
2024-10-31 19:31:50 +01:00
Belle Aerni 2b431f8757 Smaller fixes (#2474)
* Fixed a few issues in the order page

* Fixup and clean up the invoice auth check

* Allow tests to pass
2024-10-31 02:29:11 -07:00
Adam Daley 8d5b63d259 Update node/npm dependencies (#2454)
Update node/npm dependencies to latest versions, where possible.
2024-10-04 22:03:17 +01:00
renovate[bot] 6f5b20e695 chore(deps): update dependency @ckeditor/ckeditor5-dev-utils to v43 (#2434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 01:23:25 -07:00
renovate[bot] 4f1b001a69 chore(deps): update dependency @ckeditor/ckeditor5-dev-translations to v43 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 01:13:42 -07:00
renovate[bot] 156e9f91d1 chore(deps): update dependency ckeditor5 to v43 (#2394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 13:43:37 -07:00
Belle Aerni 44c7c18e78 Added the WYSIWYG editor to the huraga theme (#2384)
* Added the WYSIWYG editor to the huraga theme

* Apply the dark mode workaround for CKEditor
2024-08-04 01:40:38 -07:00
Belle Aerni a3b0f7d919 Disable fallback cron behavior for non preview / development enviroments (#2378)
* Only enable the fallback cron behavior for testing / dev setups

* Clean up the cron error message

We don't need to worry about it clearing the message on prod environments going forward as the fallback will be disabled

* Fixed CS
2024-08-01 17:18:01 -07:00
renovate[bot] e6f1f3c121 chore(deps): update dependency @ckeditor/ckeditor5-dev-translations to v42 (#2367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 13:52:15 -07:00
renovate[bot] 8f065c5a1a chore(deps): update dependency @ckeditor/ckeditor5-dev-utils to v42 (#2368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 13:43:41 -07:00
renovate[bot] 28d4e8cfd8 chore(deps): update dependency @ckeditor/ckeditor5-dev-utils to v41 (#2358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 14:02:10 -07:00
renovate[bot] 828fa1a653 chore(deps): update dependency @ckeditor/ckeditor5-dev-translations to v41 (#2357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 03:04:28 -07:00
Belle Aerni 32315e2ddb Remove additional hardcoded lists (#2346)
* Remove additional hardcoded lists (countries & phone codes)

Also fixed a few UI oddities I noticed

* Bugfixes

* Removed the old reference to the polyfill

* Fixed a typo
2024-07-12 00:46:03 +01:00
Stage4000 feed0f8256 Fix Client Profile Layout Bug (#2340)
Update mod_client_profile.html.twig
2024-07-06 16:20:49 -07:00
FOSSBilling BotandFOSSBilling Bot 17d19c28ee Apply PHP Code Styling & Quality Changes (#2333)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-07-04 13:46:38 -07:00
Adam Daley 4f5b0872c3 Update cspell.json (#2330)
* Update cspell.json

* Fix `system:releasenotes` command description
2024-07-03 05:20:11 +01:00
Yağızhan d1904145eb Introducing the FOSSBilling CLI (#1021)
+CLI

Die when accessed through a browser

Move the commands under the modules

Added system:version

Added system:releasenotes

Added theme:list

Styling
2024-07-03 05:02:28 +01:00
Adam Daley 22dfd5f9ab Migrate CKEditor to new installation method (#2328) 2024-07-02 23:03:31 +01:00
Belle Aerni 945a201572 Small Currency Improvements (#2311)
* Removed the hardcoded currencies list

Also streamlined the process of adding new currencies by allowing the title & exchange rate to automatically be determined.

* Use an existing translatable string

* Update the test workflows

* Dropped the legacy test, wrote two new ones

* Fixed a typo in my assert

* Whooooops
2024-06-27 09:48:37 -07:00
chatphpanduser 49b7c228a4 fix pagination not show for order/service page (#2310)
Co-authored-by: user <user@example.com>
2024-06-25 14:15:49 -07:00
Belle Aerni e8055911c8 Fix the required params for the client profile (#2303) 2024-06-14 21:25:34 -07:00
Belle Aerni 76321faf8e Misc fixes and cleanup (#2299)
* Misc fixes and cleanup

* More misc cleanup

* Removed outdated / invalid tests

* Update SentryHelper.php
2024-06-10 20:32:44 -07:00
Belle Aerni 1451d735b7 Made the email log cleanup config seperate from other activity logs (#2297)
Also fixed a bug with the original code since it never referenced the specific config property
2024-06-09 17:52:48 -07:00
Belle Aerni 21e47dd686 Very small misc changes (#2296) 2024-06-07 21:56:16 -07:00
Belle Aerni 8ac5b00fe9 Misc fixes + product configuration page improvements (#2292)
* Fixed our Rector config. Closes #2272

* Much improved the product configuration page

Fixed a bug and significantly improved the visuals for that page

* Place the period text after the cost

Closes #2242

* Misc changes

* Slightly shrunk the addon buttons, updated cspell
2024-06-04 21:30:59 -07:00
fc67657d6c Add an item quantity option when creating invoices (#2284)
* Resolves https://github.com/FOSSBilling/FOSSBilling/issues/2283

* Update cspell.json

---------

Co-authored-by: Devadatta Sahoo <webmaster@nettantra.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2024-06-04 14:30:34 -07:00
98fde5e085 Add a default invoice note option (#2282)
* Resolves https://github.com/FOSSBilling/FOSSBilling/issues/2279

* Made "notes" singular

While technically the DB name is notes and it'll appear as notes under the invoice, the option where you set the default is only a single text input so "notes" seems a bit odd to use there

---------

Co-authored-by: Devadatta Sahoo <webmaster@nettantra.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2024-05-28 20:02:33 -07:00