/Demo

Extension to disable critical settings, generally used for public demo instances.

Primary LanguagePHPApache License 2.0Apache-2.0

demo

FOSSBilling extension to disable critical settings, generally used for public demo instances.

A demonstration of the error message in the admin_default theme

Guidelines for hosting a demo

  1. Perform a fresh install of FOSSBilling
  2. Clone this repository to /bb-modules/Demo/
  3. Navigate to Extensions -> Overview and enable the extension
  4. After enabling the extension, run the cron jobs once (for more details on why you have to do it, see FOSSBilling/FOSSBilling#170)

Ideally, you should configure your system to perform a fresh install every 5-10 minutes. The interval can be adjusted per your expected traffic. If you want to host a public demo, you're also encouraged to join our Discord server to keep in touch with the team.

How it works

This extension is simple. It relies on hooks/events to function. The extension listens for events that are called before executing critical tasks, like when the user attempts to change system settings. The hook blocks the operation before it gets executed and shows an end-user-friendly error.

I've accidentally enabled this extension, how do I disable it?

Due to its nature, it's impossible to disable this extension through the admin panel. You should remove the extension from the /bb-modules/ directory manually.

Licensing

This extension is released under the Apache v2.0 license. See LICENSE for the full license terms.

Changes made to Fossbilling

  • Disable functions listed in Service.php
  • Disable logging of ip adress of user(s)
  • Disable sending of email adress

Notes

  • Before activating this plugin we suggest deleting Email registar found in src/library/Registrar/Adapter/Email.php