YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
Find a file
Laurent Peuch f9437bbd33 Global settings (#229)
* [enh] add base to run tests
* [enh] start global settings proto
* [mod] has -> exists
* [enh] configure actionmap for settings module
* [enh] add a default values mecanism
* [enh] nicer yaml dump
* [mod] DRY
* [fix] moulinette doesn't respect positionned arguments
* [fix] typo
* [mod] don't print when it's not needed
* [enh] raise a moulinette exception when the key doesn't exists
* [mod] add todo comments
* [mod] no more default value
* [enh] namespace all global settings commands
* [mod] unix way, be quiet except when needed
* [fix] forgot to add namespace argument to settings-list
* [fix] fail_silently wasn't considered as a cli flag
* [mod] refactoring
* [enh] remove empty namespace on remove
* [enh] print a warning if attempt to list an empty namespace settings
* [mod] refactoring
* [enh] handle case where I can't open settings file
* [enh] handle case where I can't write settings file
* [enh] handle case where I can't serialized settings data into yaml
* [mod] add error return codes
* [enh] start to move to new architecture for settings
* [enh] uses a dict instead of a tuple for settings
* [mod] no more namespace in settings list
* [mod] settings.exists isn't relevant anymore
* [mod] settings.remove isn't relevant anymore
* [enh] fix settings and switch to json
* [enh] adapt settings set
* [enh] don't set a key that doesn't exists
* [enh] check type of keys before settings them
* [enh] start implement default
* [enh] handle case where key doesnt exist for default
* [enh] i18n for bad key type on settings set
* [enh] i18n for bad key type on settings set for enum
* [mod] exception for weird situation
* [mod] this message isn't used anymore
* [enh] i18n for unknown setting key from local settings
* [mod] style
* [enh] start to work on a reset mecanism
* [enh] complain if settings_reset is called without yes
* [fix] --yes of reset is a boolean option
* [enh] backup old settings before resetting
* [fix] bad usage of logger
* [enh] backup unknown settings
* [enh] move settings description in translations
* [enh] add tests for settings
* [enh] migrate to pytest assert style
* [fix] typo
* [doc] add some comments for not explicite part of the code
* [mod] possibilities -> choices for uniformised vocabulary
* [mod] follow rest semantic
* [doc] made namespace usage more explicit
* [fix] we don't use namespace key anymore
* [enh] make settings_default available in cli
* [fix] *really* be Rest semantic
* [doc] add docstrings to settings module functions
* [enh] reset-all and --full option
* [fix] Remove unused global_settings_reset_not_yes
2017-05-16 17:18:07 +02:00
bin [enh] remove timeout from cli interface 2016-12-15 13:24:54 +01:00
data Global settings (#229) 2017-05-16 17:18:07 +02:00
debian Update changelog for 2.6.2 release 2017-04-24 09:21:44 -04:00
lib/metronome/modules [fix] Install updated metronome 3.7 modules instead of copying 2015-10-08 15:55:17 +02:00
locales Global settings (#229) 2017-05-16 17:18:07 +02:00
sbin [enh] include script to reset ldap password (#217) 2017-02-13 16:10:37 +01:00
src/yunohost Global settings (#229) 2017-05-16 17:18:07 +02:00
tests [enh] add yaml syntax check in travis.yml 2016-12-18 01:05:03 +01:00
.gitignore [fix] Update .gitignore 2015-11-15 00:22:54 +01:00
.travis.yml [enh] add yaml syntax check in travis.yml 2016-12-18 01:05:03 +01:00
CONTRIBUTORS.md [love] Add missing contributors & translators. 2017-04-25 15:37:14 +02:00
LICENSE Add AGPL license 2015-07-15 15:28:09 +02:00
README.md [enh] readme: add translation badge status. 2016-12-12 21:34:07 +01:00

YunoHost core

This repository is the core of YunoHost code.

Translation status

Issues

Contribute

  • You can develop on this repository using ynh-dev tool with use-git sub-command.
  • On this repository we are following this workflow: stable <— testing <— branch.
  • Note: if you modify python scripts, you will have to modifiy the actions map.

Repository content

How does it works?

Dependencies

License

As other components of YunoHost core code, this repository is under GNU AGPL v.3 license.