Commit Graph
21 Commits
Author SHA1 Message Date
Adam Daley 08a3919d96 Refactor Javascript and related API functions (#2725)
* chore: Remove jQuery dependencies and update build system

- Remove jQuery from theme dependencies
- Simplify build configuration
- Update documentation to reflect jQuery removal
- Apply PSR-12 code style formatting
- Replace jQuery with vanilla JS in ClientBalance adapter

* refactor: Complete JavaScript API rewrite with modern architecture

- Rewrite API.js with improved URL handling and CSRF management
- Add reusable utility functions in utils.js
- Remove deprecated jQuery-based bb object
- Update Tom Select integration

* feat: Add Twig API functions for declarative API interaction

- Add fb_api(), fb_api_form(), fb_api_link() Twig functions
- Add asset deduplication to prevent duplicate script/style loading

Note: Dashboard/Index module moved to separate refactor/index PR

* refactor: Integrate new API into theme layouts and core templates

- Update theme layouts to use new API functions
- Convert theme partials and macros
- Update core admin module templates (System, Theme, Wysiwyg, Staff)

* refactor: Update module templates to use new API functions

- Replace data-api-* attributes with fb_api_*() Twig functions
- Remove manual CSRF token handling
- Update all module templates for consistency

Note: Index module excluded (moved to refactor/index PR)

* Remove custom ignore rule from phpstan.neon

Deleted a specific ignore rule for ctype_alnum argument count in src/modules/Extension/Service.php, likely because it is no longer needed or the underlying issue has been resolved.
2026-01-14 19:10:24 +00:00
Adam Daley 4f46c0d5f5 Update CONTRIBUTING.md with AI usage guidelines (#3068)
Added guidelines for AI and LLM usage in contributions.

(Credit to LadybirdBrowser/ladybird for original version/text.)
2025-11-25 00:02:21 +00:00
Adam Daley dc84794645 Update Code of Conduct (#2933)
* Update Code of Conduct

Update Code of Conduct to latest Contributor Covenant Code of Conduct (3.0).

* Add 'cooldown' to cspell custom words list

Updated cspell.json to include 'cooldown' in the list of recognized words to prevent false spelling errors.

* Move `CODE_OF_CONDUCT.md` to `.github` directory

* Update Contributor Covenant badge in README

* Update Code of Conduct

Update Code of Conduct to latest Contributor Covenant Code of Conduct (3.0).

* Add 'cooldown' to cspell custom words list

Updated cspell.json to include 'cooldown' in the list of recognized words to prevent false spelling errors.

* Move `CODE_OF_CONDUCT.md` to `.github` directory

* Update Contributor Covenant badge in README

* Fix Code of Conduct link in `CONTRIBUTING.md`
2025-10-05 02:21:42 +01:00
d2ad579466 Typos and some untranslatable text (#2773)
* Fix typos and add translatable strings 1

* Fix typos and add translatable strings 2

* Fix typos and add translatable strings 3

* correction

* Load theme settings HTML as Twig template

* Make huraga theme settings translatable

* Update CONTRIBUTING.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update cspell.json

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-05 12:32:15 +01:00
John @ S4 f652b0d951 Removed references to Laravel (#1008)
* Removed references to Laravel

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2023-03-28 10:52:56 +03:00
Anyx ff8ed8db2f Remove reference to pull request templates
No longer needed.
2023-01-22 12:02:26 +02:00
Anyx 0edee483a8 Update docs URL & enforce FOSSBilling naming
Update the documentation URL and replace instances of "fossbilling" with "FOSSBilling" where applicable.
2023-01-21 21:45:38 +02:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
Belle Aerni 10944467a8 Fixed typos in .md files 2022-11-01 18:00:46 -07:00
John @ S4 a0527c6f2e removed reference to specific screen cap tools 2022-06-27 21:11:19 +03:00
John @ S4 23deca4a46 Update CONTRIBUTING.md 2022-06-27 19:37:25 +03:00
John @ S4 4927afc661 Added translation link 2022-06-27 19:36:02 +03:00
Yağızhan bd59973a88 Update CONTRIBUTING.md 2022-06-27 19:07:39 +03:00
Yağızhan e6a7eb6a4d Update CONTRIBUTING.md 2022-06-27 19:01:06 +03:00
Yağızhan aa06657f27 Fixed typos and wording 2022-06-27 18:58:26 +03:00
John @ S4 8bb0aa9a99 Update CONTRIBUTING.md 2022-06-27 15:26:46 +03:00
John @ S4 9bca0a3f84 Update CONTRIBUTING.md 2022-06-27 15:22:07 +03:00
Alice Hunter 30742d44a3 Rebrand Docs & use ORG Templates 2022-05-18 20:02:46 +10:00
Yağızhan 97fc3f3079 boxbilling.com -> boxbilling.org 2021-10-16 13:08:49 +03:00
Yağızhan fe835ca079 Update CONTRIBUTING.md 2021-10-03 11:57:36 +03:00
Andrius Putna e951809ea5 Create CONTRIBUTING.md 2019-10-29 17:45:42 +02:00