Commit 9c3f5657 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Authentification is activated by default.

parent cf62753c
...@@ -7,7 +7,7 @@ def documentations(): ...@@ -7,7 +7,7 @@ def documentations():
return dict() return dict()
# @auth.requires_login() @auth.requires_login()
def index(): def index():
"""Main Controller to run the application launching the plugin dbui. """Main Controller to run the application launching the plugin dbui.
......
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
'Group ID': 'Group ID', 'Group ID': 'Group ID',
'Group uniquely assigned to user %(id)s': 'Group uniquely assigned to user %(id)s', 'Group uniquely assigned to user %(id)s': 'Group uniquely assigned to user %(id)s',
'Groupby': 'Groupby', 'Groupby': 'Groupby',
'groups': 'groups',
'hardware': 'matériel', 'hardware': 'matériel',
'Hardware': 'Matériel', 'Hardware': 'Matériel',
'Hardware Cost': 'Hardware Cost', 'Hardware Cost': 'Hardware Cost',
...@@ -211,6 +212,7 @@ ...@@ -211,6 +212,7 @@
'List, metric and graph': 'Liste, métrique et graphe', 'List, metric and graph': 'Liste, métrique et graphe',
'Liste': 'Liste', 'Liste': 'Liste',
'Lists': 'Listes', 'Lists': 'Listes',
'Log In': 'Log In',
'Logged in': 'Logged in', 'Logged in': 'Logged in',
'Login': 'Login', 'Login': 'Login',
'Logout': 'Logout', 'Logout': 'Logout',
...@@ -237,6 +239,7 @@ ...@@ -237,6 +239,7 @@
'Name of the database table which will be displayed in the report. Any fields of this table can be shown including foreign fields.': 'Name of the database table which will be displayed in the report. Any fields of this table can be shown including foreign fields.', 'Name of the database table which will be displayed in the report. Any fields of this table can be shown including foreign fields.': 'Name of the database table which will be displayed in the report. Any fields of this table can be shown including foreign fields.',
'Name of the object.': 'Name of the object.', 'Name of the object.': 'Name of the object.',
'Niveau': 'Niveau', 'Niveau': 'Niveau',
'Nom de famille': 'Nom de famille',
'Note': 'Note', 'Note': 'Note',
'Notified': 'Notifié', 'Notified': 'Notifié',
'Object or table name': 'Object or table name', 'Object or table name': 'Object or table name',
...@@ -256,7 +259,7 @@ ...@@ -256,7 +259,7 @@
'Percentage': 'Pourcentage', 'Percentage': 'Pourcentage',
'Period': 'Période', 'Period': 'Période',
'Period End': 'Period End', 'Period End': 'Period End',
'Period is not defined.': "Sélectionnez une période.", 'Period is not defined.': 'Sélectionnez une période.',
'Period Start': 'Period Start', 'Period Start': 'Period Start',
'Person': 'Persone', 'Person': 'Persone',
'Persone': 'Persone', 'Persone': 'Persone',
...@@ -285,6 +288,7 @@ ...@@ -285,6 +288,7 @@
'Registration identifier': 'Registration identifier', 'Registration identifier': 'Registration identifier',
'Registration key': 'Registration key', 'Registration key': 'Registration key',
'Registration successful': 'Registration successful', 'Registration successful': 'Registration successful',
'relation user / groups': 'relation user / groups',
'Report Name': 'Nom du rapport', 'Report Name': 'Nom du rapport',
'Report Type': 'Rapport', 'Report Type': 'Rapport',
'Reports': 'Rapports', 'Reports': 'Rapports',
...@@ -297,6 +301,7 @@ ...@@ -297,6 +301,7 @@
'Select a teams and/or a project !!!': 'Select a teams and/or a project !!!', 'Select a teams and/or a project !!!': 'Select a teams and/or a project !!!',
'Select the history records. It can used any field of the history table using the SQL WHERE syntax, but the foreign keys are not resolved nor the individual property of the history.data dictionary. (more information in the smart_query in the web2py documentation).': "Selectionne l'historique. C'est une requête SQL WHERE bâtie à partir des champs des la table history, mais les clés étrangères ne sont pas résolues ni les clés du dictionnaire history.data dictionary. (voir les requêtes 'smart_query' dans la documentaion web2py).", 'Select the history records. It can used any field of the history table using the SQL WHERE syntax, but the foreign keys are not resolved nor the individual property of the history.data dictionary. (more information in the smart_query in the web2py documentation).': "Selectionne l'historique. C'est une requête SQL WHERE bâtie à partir des champs des la table history, mais les clés étrangères ne sont pas résolues ni les clés du dictionnaire history.data dictionary. (voir les requêtes 'smart_query' dans la documentaion web2py).",
'select...': 'selectionner...', 'select...': 'selectionner...',
'Sign Up': 'Sign Up',
'since %s': 'depuis %s', 'since %s': 'depuis %s',
'software': 'logiciels', 'software': 'logiciels',
'Software versions': 'Versions des logiciels', 'Software versions': 'Versions des logiciels',
...@@ -327,6 +332,7 @@ ...@@ -327,6 +332,7 @@
'the metrics 2d': 'les métriques 2d', 'the metrics 2d': 'les métriques 2d',
'The metrics 2d': 'Les métriques 2d', 'The metrics 2d': 'Les métriques 2d',
"The report id '%s' is unknown.": "The report id '%s' is unknown.", "The report id '%s' is unknown.": "The report id '%s' is unknown.",
'This email already has an account': 'This email already has an account',
'Time': 'Temps', 'Time': 'Temps',
'Timestamp': 'Timestamp', 'Timestamp': 'Timestamp',
'Title': 'Titre', 'Title': 'Titre',
...@@ -353,6 +359,7 @@ ...@@ -353,6 +359,7 @@
'User guides': 'Guides utilisateur', 'User guides': 'Guides utilisateur',
'user guides': 'guides utilisateur', 'user guides': 'guides utilisateur',
'User ID': 'User ID', 'User ID': 'User ID',
'users': 'users',
'Usual': 'Habituel', 'Usual': 'Habituel',
'Value already in database or empty': 'Value already in database or empty', 'Value already in database or empty': 'Value already in database or empty',
'value already in database or empty': 'value already in database or empty', 'value already in database or empty': 'value already in database or empty',
......
...@@ -13,7 +13,7 @@ from gluon.tools import Auth ...@@ -13,7 +13,7 @@ from gluon.tools import Auth
# #
auth = Auth(db, hmac_key=Auth.get_or_create_key()) auth = Auth(db, hmac_key=Auth.get_or_create_key())
auth.define_tables(migrate=MIGRATE) auth.define_tables(migrate=MIGRATE_USER)
auth.settings.create_user_groups = False auth.settings.create_user_groups = False
auth.settings.mailer = None auth.settings.mailer = None
auth.settings.registration_requires_approval = True auth.settings.registration_requires_approval = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment