Commit Graph
31 Commits
Author SHA1 Message Date
pycat 307f4876ff Split RESESRVED_USERNAMES list #551
- Have each module declare its own reserved_usernames list
2017-05-05 20:39:18 -04:00
James Valleroy 2adb14e838 minetest: Restrict max players between 1 and 100 2016-12-23 10:49:30 -05:00
James Valleroy 533118c7f5 Refactor minetest server config
Only load augeas once to read the config.
2016-12-23 10:49:27 -05:00
mridulnagpal df662e6899 form added for minetest 2016-12-23 10:49:22 -05:00
James Valleroy f8dfd49f0f frontpage: Rearrange parameters for add_shortcut
Rename id to shortcut_id.
2016-12-18 12:32:49 -05:00
mridulnagpal c57d0284a6 icons updated 2016-12-18 12:32:46 -05:00
mridulnagpal e4b310369e icons updated 2016-12-18 12:32:43 -05:00
mridulnagpal 8d5fc5f1c4 icons updated 2016-12-18 12:32:41 -05:00
mridulnagpal 071058b427 ugettexy lazy restored 2016-12-18 12:32:39 -05:00
mridulnagpal 06fb7fab3b License updated ikiwiki icon added title indented 2016-12-18 12:32:26 -05:00
James Valleroy 0a20e1e83a frontpage: Use reverse_lazy for Configure links 2016-12-08 19:42:54 +05:30
Swapnil Gupta ce18ed4214 Error when initializing modules fixed 2016-12-07 05:43:54 -05:00
James Valleroy b234d0e1b3 Ensure that services are registered when modules complete setup 2016-12-04 13:45:31 -05:00
mridulnagpal 941259df1e Firewall updated 2016-12-04 13:45:26 -05:00
James Valleroy 5ba9f2824a minetest: Bump module version
This is to ensure that new managed_packages will be installed.
2016-11-25 12:44:33 -05:00
mridulnagpal 258b788bc2 minetest: Add mods packages to be installed with server 2016-11-25 12:43:28 -05:00
James Valleroy 69332a903d Minor changes for frontpage configure button
Remove unneeded gettext around configure URLs.

Remove module-level variables for configure URLs. Just use it directly
in add_shortcut().

Use reverse lookup for configure URLs.

Check that configure_url is set before displaying.

Change appearance of Configure link to a button.
2016-11-21 19:13:23 -05:00
mridulnagpal 8f147e4c7f frontpage: Show Configure button in service details
Only show when user is logged in.
2016-11-21 12:22:01 -05:00
mridulnagpal fbe40f17b2 apps requiring login don't show up on frontpage unless logged in 2016-11-15 19:50:58 -05:00
Sunil Mohan Adapa 72c6aad514 minetest: Fix showing status block and diagnostics 2016-09-03 15:15:59 -04:00
Sunil Mohan Adapa 3fe6ea6014 frontpage: Cleanup urls for showing description
In a module, when URL is not avialable for a shortcut, send None instead
of an implementation specific detail on how to show description.  This
allows use to change the implementation of how description is shown
without changes to modules.
2016-09-02 20:06:53 +05:30
James Valleroy 49eadd971a Add information about enabled services to front page 2016-09-02 20:03:39 +05:30
Sunil Mohan Adapa 5f548a9e36 packages: Make modules declare managed packages
This can then be used by a privileged action to verify that packages
requested for installation are in fact valid.  This slightly improves
security of those privileged actions.
2016-06-11 12:11:32 -04:00
Sunil Mohan Adapa ad61028a3a menu: Sort menu items for all locales
Currently menu items are shown in alphabetical order in applications and
no clear order in system configuration.  This is done using static
weights for menu items based on English names that does not work for
other locales.

Sorting can't be done at the time of adding menu items as users of
multiple locales may use the interface at the same time.

Implement a sorting mechanism based on existing order as well as labels
of menu item.  This allows the flexiblity of grouping menu items in
future as it may be need for system configuration.  In case of help menu

Remove sort order for all modules except for help menu as here we want
that specific order.
2016-06-06 17:44:59 -04:00
Sunil Mohan Adapa f245e7e763 firewall: Explicitly specify ports for services
It has become confusing to reuse the name of the service for name of the
systemd unit file and firewall port.  This has lead to the regression
that quassel, mumble and minetest can no longer open firewall ports.
Fix this by explicitly specifying ports all services.
2016-06-05 15:44:41 -04:00
fonfon b54846b0ce Services: Template restructuring
- renamed app.html to simple_service.html
- allow hiding the 'status' block instead of using separate
  apache_service.html template
2016-05-11 18:19:35 -04:00
fonfon f419c28596 Services: Explicitly use ServiceForm and ServiceView
- adapted all modules to not use views.ConfigurationView anymore
- removed templates that are not needed anymore
- no more implicit 'enabled' and 'get_status' functions in __init__.py files
- (more coherent/explicit use of Django functionality)
2016-05-11 18:19:31 -04:00
fonfon a9528c56d9 Service object to handle services on a system-level
The Service object now offers handling services on a system level,
and gathering information whether it's enabled or running.
New methods: enable, disable, is_enabled, is_running;

For this it needs the correct (system-level) service name.
All of the methods can be overridden/customized.

This changes all modules to the new Service object and deletes
action scripts that are not required anymore.
2016-05-11 18:19:27 -04:00
Sunil Mohan Adapa 9422f43ba5 minetest: Use common view for configuration 2016-02-28 19:37:35 +05:30
Sunil Mohan Adapa 6c67a50e11 minetest: Use new setup mechanism 2016-02-26 15:21:56 +05:30
James Valleroy 363e071bff minetest: New module for minetest server 2016-02-26 15:20:36 +05:30