Skip to content

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

License

Notifications You must be signed in to change notification settings

FOSSBilling/Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages