diff --git a/auditlog/README.rst b/auditlog/README.rst index 3502d597834..c411f44ded0 100644 --- a/auditlog/README.rst +++ b/auditlog/README.rst @@ -1,5 +1,10 @@ -Track user operation on data models -=================================== +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +================================= +Audit Log - Track user operations +================================= This module allows the administrator to log user operations performed on data models such as ``create``, ``read``, ``write`` and ``delete``. @@ -7,23 +12,28 @@ models such as ``create``, ``read``, ``write`` and ``delete``. Usage ===== -Go to `Reporting / Audit / Rules` to subscribe rules. A rule defines which +Go to `Settings / Technical / Audit / Rules` to subscribe rules. A rule defines which operations to log for a given data model. -Then, check logs in the `Reporting / Audit / Logs` menu. -During installation, it will migrate any existing data from the `audittrail` -module (rules and logs). +Then, check logs in the `Settings / Technical / Audit / Logs` menu. You can group them by +user sessions, date, data model or HTTP requests: + +Get the details: + +.. image:: /auditlog/static/description/log.png -For further information, please visit: +A scheduled action exists to delete logs older than 6 months (180 days) +automatically but is not enabled by default. +To activate it and/or change the delay, go to the +`Configuration / Technical / Automation / Scheduled Actions` menu and edit the +`Auto-vacuum audit logs` entry: - * https://www.odoo.com/forum/help-1 +.. image:: /auditlog/static/description/autovacuum.png Known issues / Roadmap ====================== * log only operations triggered by some users (currently it logs all users) - * group logs by HTTP query (thanks to werzeug)? - * group HTTP query by user session? Bug Tracker @@ -43,6 +53,12 @@ Contributors * Sebastien Alix * Holger Brunn +* Holden Rehg + +Images +------ + +* Icon: built with different icons from the `Oxygen theme `_ (LGPL) Maintainer ---------- diff --git a/auditlog/__init__.py b/auditlog/__init__.py index ae4e80c044a..da3e3677596 100644 --- a/auditlog/__init__.py +++ b/auditlog/__init__.py @@ -1,44 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013 ABF OSIELL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models - - -def pre_init_hook(cr): - cr.execute("SELECT 1 FROM pg_class WHERE relname = 'audittrail_rule'") - if cr.fetchall(): - migrate_from_audittrail(cr) - - -def migrate_from_audittrail(cr): - cr.execute('ALTER TABLE audittrail_rule RENAME TO auditlog_rule') - cr.execute('ALTER TABLE audittrail_rule_id_seq ' - 'RENAME TO auditlog_rule_id_seq') - cr.execute('ALTER TABLE auditlog_rule RENAME COLUMN object_id TO model_id') - cr.execute('ALTER TABLE audittrail_log RENAME TO auditlog_log') - cr.execute('ALTER TABLE audittrail_log_id_seq ' - 'RENAME TO auditlog_log_id_seq') - cr.execute('ALTER TABLE auditlog_log RENAME COLUMN object_id TO model_id') - cr.execute('ALTER TABLE audittrail_log_line RENAME TO auditlog_log_line') - cr.execute('ALTER TABLE audittrail_log_line_id_seq ' - 'RENAME TO auditlog_log_line_id_seq') - cr.execute("UPDATE ir_model_data SET model='auditlog.rule' " - "WHERE model='audittrail.rule'") diff --git a/auditlog/__openerp__.py b/auditlog/__openerp__.py index b190bf87377..d9f0d67a495 100644 --- a/auditlog/__openerp__.py +++ b/auditlog/__openerp__.py @@ -1,28 +1,12 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013 ABF OSIELL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': "Audit Log", - 'version': "8.0.1.0.0", + 'version': "9.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", + 'license': "AGPL-3", 'website': "http://www.osiell.com", 'category': "Tools", 'depends': [ @@ -30,9 +14,12 @@ ], 'data': [ 'security/ir.model.access.csv', + 'data/ir_cron.xml', 'views/auditlog_view.xml', + 'views/http_session_view.xml', + 'views/http_request_view.xml', ], + 'images': [], 'application': True, - 'installable': False, - 'pre_init_hook': 'pre_init_hook', + 'installable': True, } diff --git a/auditlog/data/ir_cron.xml b/auditlog/data/ir_cron.xml new file mode 100644 index 00000000000..d0f77a082a8 --- /dev/null +++ b/auditlog/data/ir_cron.xml @@ -0,0 +1,18 @@ + + + + + + Auto-vacuum audit logs + 1 + days + -1 + + + auditlog.autovacuum + autovacuum + (180,) + + + + diff --git a/auditlog/i18n/de.po b/auditlog/i18n/de.po index 81e22dd9e1f..bbb247c8eb5 100644 --- a/auditlog/i18n/de.po +++ b/auditlog/i18n/de.po @@ -3,12 +3,19 @@ # * auditlog # # Translators: +# Antonio Trueba, 2016 +# FIRST AUTHOR , 2013-2014 +# Hotellook, 2014 +# Jarmo Kortetjärvi , 2016 +# Matjaž Mozetič , 2015 +# Rudolf Schnapka , 2016 +# SaFi J. , 2015 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:53+0000\n" +"POT-Creation-Date: 2016-05-06 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/language/de/)\n" "MIME-Version: 1.0\n" @@ -27,6 +34,21 @@ msgstr "Aktion" msgid "Audit" msgstr "Audit" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "Audit-Log - HTTP Benutzersitzungs-Protokoll" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "Auditlog - HTTP-Anforderungsprotokoll" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,20 +65,42 @@ msgid "Auditlog - Rule" msgstr "Auditlog - Regel" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Kontext" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Erstellt von" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Erstellt am:" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search msgid "Date" +msgstr "Datum" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Beschreibung" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" msgstr "" #. module: auditlog @@ -65,6 +109,11 @@ msgstr "" msgid "Draft" msgstr "Entwurf" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +126,76 @@ msgid "Fields updated" msgstr "Felder aktualisiert" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Gruppieren nach ..." #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "ID" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Zuletzt aktualisiert von" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" @@ -132,6 +231,8 @@ msgid "Log Writes" msgstr "Schreiben protokollieren" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +252,8 @@ msgid "Model" msgstr "Modell" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Name" @@ -175,6 +277,12 @@ msgstr "Alter Wert" msgid "Old value Text" msgstr "Alter Wert Text" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +294,12 @@ msgstr "Ressourcen-ID" msgid "Resource Name" msgstr "Ressourcenname" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +346,17 @@ msgid "" "model of this rule" msgstr "Aktivieren Sie dies, wenn die die Lese-Vorgänge aller Datensätze für das Modell protokollieren wollen" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +374,11 @@ msgstr "Aktiviere" msgid "Subscribed" msgstr "Aktiviert" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +386,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "Es wurde bereits eine Regel für dieses Modell erstellen.\nSie können keine weiteren erstellen. Ändern Sie die bestehende. " +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Deaktivieren" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Benutzer" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,7 +432,7 @@ msgid "Values" msgstr "Werte" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:555 #, python-format msgid "View logs" msgstr "" diff --git a/auditlog/i18n/en.po b/auditlog/i18n/en.po index d4f505da604..2bc8d983e7e 100644 --- a/auditlog/i18n/en.po +++ b/auditlog/i18n/en.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:53+0000\n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-8-0/language/en/)\n" "MIME-Version: 1.0\n" @@ -27,6 +27,21 @@ msgstr "Action" msgid "Audit" msgstr "Audit" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "Auditlog - Delete old logs" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "Auditlog - HTTP User session log" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "Auditlog - HTTP request log" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,14 +58,25 @@ msgid "Auditlog - Rule" msgstr "Auditlog - Rule" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Context" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Created by" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Created on" @@ -59,12 +85,28 @@ msgstr "Created on" msgid "Date" msgstr "Date" +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Description" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Display Name" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" msgstr "Draft" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "Fast log" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +119,76 @@ msgid "Fields updated" msgstr "Fields updated" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "Full log" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\nFast log: only log the changes made through the create and write operations (less information, but it is faster)" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Group By..." #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "HTTP Context" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "HTTP Request" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "HTTP Requests" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "ID" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Last Modified on" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Last Updated by" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Last Updated on" @@ -132,6 +224,8 @@ msgid "Log Writes" msgstr "Log Writes" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +245,8 @@ msgid "Model" msgstr "Model" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Name" @@ -175,6 +270,12 @@ msgstr "Old Value" msgid "Old value Text" msgstr "Old value Text" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Path" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +287,12 @@ msgstr "Resource ID" msgid "Resource Name" msgstr "Resource Name" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "Root URL" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +339,17 @@ msgid "" "model of this rule" msgstr "Select this if you want to keep track of read/open on any record of the model of this rule" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Session" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "Session ID" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +367,11 @@ msgstr "Subscribe" msgid "Subscribed" msgstr "Subscribed" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "Technical name" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +379,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "There is already a rule defined on this model\nYou cannot define another: please edit the existing one." +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "Type" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Unsubscribe" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "User" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "User session" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "User sessions" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,7 +425,7 @@ msgid "Values" msgstr "Values" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:538 #, python-format msgid "View logs" msgstr "View logs" diff --git a/auditlog/i18n/es.po b/auditlog/i18n/es.po index 573ccb28441..b61518823dc 100644 --- a/auditlog/i18n/es.po +++ b/auditlog/i18n/es.po @@ -3,12 +3,35 @@ # * auditlog # # Translators: +# Antonio Trueba, 2016 +# Antonio Trueba, 2016 +# bossnm11 , 2014 +# Carles Antoli , 2015 +# Carles Antoli , 2015 +# Chanseok , 2014 +# danimaribeiro , 2016 +# FIRST AUTHOR , 2012,2014 +# Hotellook, 2014 +# jeon , 2014 +# Jong-Dae Park , 2013,2015 +# Kevin Min , 2015 +# Kunwoo Kim , 2015 +# LEE SI HYEONG , 2014 +# Matjaž Mozetič , 2015-2016 +# Pedro M. Baeza , 2015 +# Rudolf Schnapka , 2016 +# Rudolf Schnapka , 2015 +# SaFi J. , 2015 +# Sam Ryoo , 2014 +# Seo. Junmin , 2015 +# seungil , 2014 +# SEUNGWON , 2014 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:54+0000\n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-27 15:24+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" "MIME-Version: 1.0\n" @@ -27,6 +50,21 @@ msgstr "Acción" msgid "Audit" msgstr "Auditoría" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,21 +81,43 @@ msgid "Auditlog - Rule" msgstr "Auditlog - Regla" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Contexto" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Creado por" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Creado en" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search msgid "Date" -msgstr "" +msgstr "Fecha" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Descripción" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Nombre a mostrar" #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search @@ -65,6 +125,11 @@ msgstr "" msgid "Draft" msgstr "No suscrito" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +142,76 @@ msgid "Fields updated" msgstr "Campos actualizados" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Agrupar por..." #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "Contexto HTTP" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "Petición HTTP" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "Peticiones HTTP" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "ID" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Última actualización por" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Última actualización por" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Última actualización el" @@ -132,6 +247,8 @@ msgid "Log Writes" msgstr "Registrar modificaciones" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +268,8 @@ msgid "Model" msgstr "Modelo" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Nombre" @@ -175,6 +293,12 @@ msgstr "Valor anterior" msgid "Old value Text" msgstr "Texto del valor anterior" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Ruta" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +310,12 @@ msgstr "ID del recurso" msgid "Resource Name" msgstr "Nombre del recurso" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +362,17 @@ msgid "" "model of this rule" msgstr "Marque esta casilla si desea registrar la lectura/apertura de cualquier registro del modelo de esta regla" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Sesión" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +390,11 @@ msgstr "Suscribir" msgid "Subscribed" msgstr "Suscrito" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +402,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "Ya existe una regla definida para este modelo.\nNo puede definir otra: por favor, modifique el existente." +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Desuscribir" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Usuario" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,12 +448,12 @@ msgid "Values" msgstr "Valores" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:538 #, python-format msgid "View logs" -msgstr "" +msgstr "Ver registros" #. module: auditlog #: help:auditlog.rule,user_ids:0 msgid "if User is not added then it will applicable for all users" -msgstr "" +msgstr "Si el usuario no se agrega entonces será aplicable para todos los usuarios" diff --git a/auditlog/i18n/fi.po b/auditlog/i18n/fi.po new file mode 100644 index 00000000000..7f0a900e69d --- /dev/null +++ b/auditlog/i18n/fi.po @@ -0,0 +1,448 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auditlog +# +# Translators: +# Ahmet Altınışık , 2015 +# Alejandro Santana , 2015 +# Antonio Trueba, 2016 +# Carles Antoli , 2015 +# Carles Antoli , 2015 +# FIRST AUTHOR , 2013 +# Guewen Baconnier , 2015 +# Hotellook, 2014 +# Jarmo Kortetjärvi , 2016 +# Matjaž Mozetič , 2015-2016 +# Rudolf Schnapka , 2015 +# SaFi J. , 2015 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-06 13:56+0000\n" +"Last-Translator: Jarmo Kortetjärvi \n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: auditlog +#: field:auditlog.rule,action_id:0 +msgid "Action" +msgstr "Toiminto" + +#. module: auditlog +#: model:ir.ui.menu,name:auditlog.menu_audit +msgid "Audit" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log +msgid "Auditlog - Log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log_line +msgid "Auditlog - Log details (fields updated)" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_rule +msgid "Auditlog - Rule" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 +msgid "Created by" +msgstr "Luonut" + +#. module: auditlog +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 +msgid "Created on" +msgstr "Luotu" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "Date" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Kuvaus" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Nimi" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Draft" +msgstr "" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,field_id:0 +msgid "Field" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log,line_ids:0 +msgid "Fields updated" +msgstr "" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +msgid "Group By..." +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 +msgid "ID" +msgstr "ID" + +#. module: auditlog +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Viimeksi muokattu" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 +msgid "Last Updated by" +msgstr "Viimeksi päivittänyt" + +#. module: auditlog +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 +msgid "Last Updated on" +msgstr "Viimeksi päivitetty" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log.line,log_id:0 +msgid "Log" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Log - Field updated" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_create:0 +msgid "Log Creates" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_unlink:0 +msgid "Log Deletes" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_read:0 +msgid "Log Reads" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_write:0 +msgid "Log Writes" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.log:auditlog.view_auditlog_log_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree +#: model:ir.ui.menu,name:auditlog.menu_audit_logs +msgid "Logs" +msgstr "Lokit" + +#. module: auditlog +#: field:auditlog.log,method:0 +msgid "Method" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,model_id:0 field:auditlog.rule,model_id:0 +msgid "Model" +msgstr "Mall" + +#. module: auditlog +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 +msgid "Name" +msgstr "Nimi" + +#. module: auditlog +#: field:auditlog.log.line,new_value:0 +msgid "New Value" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,new_value_text:0 +msgid "New value Text" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,old_value:0 +msgid "Old Value" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,old_value_text:0 +msgid "Old value Text" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: auditlog +#: field:auditlog.log,name:0 +msgid "Resource Name" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Rule" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_rule_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_rule_tree +msgid "Rules" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,model_id:0 +msgid "Select model for which you want to generate log." +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_create:0 +msgid "" +"Select this if you want to keep track of creation on any record of the model" +" of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_unlink:0 +msgid "" +"Select this if you want to keep track of deletion on any record of the model" +" of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_write:0 +msgid "" +"Select this if you want to keep track of modification on any record of the " +"model of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_read:0 +msgid "" +"Select this if you want to keep track of read/open on any record of the " +"model of this rule" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: field:auditlog.rule,state:0 +msgid "State" +msgstr "Tila" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Subscribe" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Subscribed" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + +#. module: auditlog +#: sql_constraint:auditlog.rule:0 +msgid "" +"There is already a rule defined on this model\n" +"You cannot define another: please edit the existing one." +msgstr "" + +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Unsubscribe" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,user_id:0 +msgid "User" +msgstr "Käyttäjä" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,user_ids:0 +msgid "Users" +msgstr "Käyttäjät" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Values" +msgstr "" + +#. module: auditlog +#: code:addons/auditlog/models/rule.py:538 +#, python-format +msgid "View logs" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,user_ids:0 +msgid "if User is not added then it will applicable for all users" +msgstr "" diff --git a/auditlog/i18n/fr.po b/auditlog/i18n/fr.po index d55547c9011..30113c259e4 100644 --- a/auditlog/i18n/fr.po +++ b/auditlog/i18n/fr.po @@ -3,13 +3,21 @@ # * auditlog # # Translators: +# Christophe CHAUVET , 2016 +# FIRST AUTHOR , 2013-2014 +# Giacomo , 2015 +# Hotellook, 2014 +# Matjaž Mozetič , 2015-2016 +# Miku Laitinen , 2015 +# Pedro M. Baeza , 2015 +# Rudolf Schnapka , 2015-2016 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:56+0000\n" -"Last-Translator: OCA Transbot \n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-08 15:28+0000\n" +"Last-Translator: Christophe CHAUVET \n" "Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,6 +35,21 @@ msgstr "Action" msgid "Audit" msgstr "Audit" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,21 +66,43 @@ msgid "Auditlog - Rule" msgstr "Auditlog - Règle" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Contexte" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Créé par" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Date" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search msgid "Date" -msgstr "" +msgstr "Date" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Description" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Nom affiché" #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search @@ -65,6 +110,11 @@ msgstr "" msgid "Draft" msgstr "Brouillon" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +127,76 @@ msgid "Fields updated" msgstr "Champs modifiés" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "Journaux complet" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Grouper par..." #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "Contexte HTTP" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "Requête HTTP" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "Requêtes HTTP" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "ID" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Dernière mise à jour le" @@ -132,6 +232,8 @@ msgid "Log Writes" msgstr "Enregistrer les écritures" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +253,8 @@ msgid "Model" msgstr "Modèle" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Nom" @@ -175,6 +278,12 @@ msgstr "Ancienne valeur" msgid "Old value Text" msgstr "Ancienne valeur texte" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Chemin" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +295,12 @@ msgstr "ID de l'enregistrement" msgid "Resource Name" msgstr "Nom de l'enregistrement" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "URL Racine" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +347,17 @@ msgid "" "model of this rule" msgstr "Cochez cette case si vous voulez garder une trace de la lecture/ouverture de chaque enregistrement du modèle défini dans cette règle." +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Session" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "ID de session" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +375,11 @@ msgstr "Abonner" msgid "Subscribed" msgstr "Abonné" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "Nom technique" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +387,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "Il existe déjà une règle définie sur ce modèle\nVous ne pouvez pas en définir une nouvelle, vous devez modifier celle existante." +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "Type" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Désabonner" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Utilisateur" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "Session utilisateur" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "Sessions utilisateur" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,7 +433,7 @@ msgid "Values" msgstr "Valeurs" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:538 #, python-format msgid "View logs" msgstr "Consulter les journaux" diff --git a/auditlog/i18n/fr_CA.po b/auditlog/i18n/fr_CA.po index 48892d5f799..6a404699045 100644 --- a/auditlog/i18n/fr_CA.po +++ b/auditlog/i18n/fr_CA.po @@ -3,13 +3,21 @@ # * auditlog # # Translators: +# Ahmet Altınışık , 2015 +# Antonio Trueba, 2016 +# danimaribeiro , 2016 +# FIRST AUTHOR , 2012,2014 +# Jarmo Kortetjärvi , 2016 +# Jesus Alan Ramos Rodríguez , 2015 +# Matjaž Mozetič , 2015 +# Pedro Castro Silva , 2015 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:53+0000\n" -"Last-Translator: <>\n" +"POT-Creation-Date: 2016-05-06 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr_CA/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,6 +35,21 @@ msgstr "" msgid "Audit" msgstr "" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,14 +66,25 @@ msgid "Auditlog - Rule" msgstr "" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "" @@ -59,12 +93,28 @@ msgstr "" msgid "Date" msgstr "" +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" msgstr "" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +127,76 @@ msgid "Fields updated" msgstr "" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "" #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "" @@ -132,6 +232,8 @@ msgid "Log Writes" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +253,8 @@ msgid "Model" msgstr "Modèle" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Nom" @@ -175,6 +278,12 @@ msgstr "" msgid "Old value Text" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +295,12 @@ msgstr "" msgid "Resource Name" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +347,17 @@ msgid "" "model of this rule" msgstr "" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +375,11 @@ msgstr "" msgid "Subscribed" msgstr "" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +387,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "" +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,7 +433,7 @@ msgid "Values" msgstr "" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:555 #, python-format msgid "View logs" msgstr "" diff --git a/auditlog/i18n/it.po b/auditlog/i18n/it.po index 326088de44f..7b357f480f8 100644 --- a/auditlog/i18n/it.po +++ b/auditlog/i18n/it.po @@ -3,13 +3,20 @@ # * auditlog # # Translators: +# FIRST AUTHOR , 2010,2012-2014 +# Hotellook, 2014 +# Jarmo Kortetjärvi , 2016 +# Matjaž Mozetič , 2015-2016 +# Paolo Valier, 2016 +# Paolo Valier, 2016 +# Rudolf Schnapka , 2016 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:53+0000\n" -"Last-Translator: <>\n" +"POT-Creation-Date: 2016-05-06 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,6 +34,21 @@ msgstr "" msgid "Audit" msgstr "" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,26 +65,53 @@ msgid "Auditlog - Rule" msgstr "" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 -msgid "Created by" +#: field:auditlog.http.request,user_context:0 +msgid "Context" msgstr "" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 +msgid "Created by" +msgstr "Creato da" + +#. module: auditlog +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" -msgstr "" +msgstr "Creato il" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search msgid "Date" +msgstr "Data" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Descrizione" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" msgstr "" #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" +msgstr "Bozza" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" msgstr "" #. module: auditlog @@ -74,31 +123,81 @@ msgstr "Campo" #: view:auditlog.log:auditlog.view_auditlog_log_form #: field:auditlog.log,line_ids:0 msgid "Fields updated" +msgstr "Campi aggiornati" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." +msgstr "Raggruppa per..." + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" msgstr "" #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" +msgstr "ID" + +#. module: auditlog +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" msgstr "" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" -msgstr "" +msgstr "Ultimo aggiornamento da" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" -msgstr "" +msgstr "Ultimo aggiornamento il" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_form @@ -132,6 +231,8 @@ msgid "Log Writes" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -142,7 +243,7 @@ msgstr "" #. module: auditlog #: field:auditlog.log,method:0 msgid "Method" -msgstr "" +msgstr "Metodo" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search @@ -151,7 +252,8 @@ msgid "Model" msgstr "Modello" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Nome" @@ -175,15 +277,27 @@ msgstr "" msgid "Old value Text" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Percorso" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 msgid "Resource ID" -msgstr "" +msgstr "ID Risorsa" #. module: auditlog #: field:auditlog.log,name:0 msgid "Resource Name" +msgstr "Nome della Risorsa" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" msgstr "" #. module: auditlog @@ -232,6 +346,17 @@ msgid "" "model of this rule" msgstr "" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Sessione" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "ID Sessione" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -241,12 +366,17 @@ msgstr "" #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Subscribe" -msgstr "" +msgstr "Sottoscrivi" #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Subscribed" +msgstr "Sottoscritto" + +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" msgstr "" #. module: auditlog @@ -256,29 +386,53 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "" +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "Tipo" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Utente" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" -msgstr "" +msgstr "Utenti" #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_form msgid "Values" -msgstr "" +msgstr "Valori" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:555 #, python-format msgid "View logs" msgstr "" diff --git a/auditlog/i18n/pt_BR.po b/auditlog/i18n/pt_BR.po index c30871eefbf..fe578c11d57 100644 --- a/auditlog/i18n/pt_BR.po +++ b/auditlog/i18n/pt_BR.po @@ -3,14 +3,35 @@ # * auditlog # # Translators: +# Antonio Trueba, 2016 # Armando Vulcano Junior , 2015 +# bossnm11 , 2014 +# Carles Antoli , 2015 +# Carles Antoli , 2015 +# Chanseok , 2014 +# danimaribeiro , 2016 +# FIRST AUTHOR , 2012,2014 +# jeon , 2014 +# Jong-Dae Park , 2013,2015 +# Kevin Min , 2015 +# Kunwoo Kim , 2015 +# LEE SI HYEONG , 2014 +# Matjaž Mozetič , 2015-2016 +# Paulo Ricardo , 2016 +# Pedro M. Baeza , 2015 +# Rudolf Schnapka , 2016 +# SaFi J. , 2015 +# Sam Ryoo , 2014 +# Seo. Junmin , 2015 +# seungil , 2014 +# SEUNGWON , 2014 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 20:40+0000\n" -"Last-Translator: Armando Vulcano Junior \n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-11 16:48+0000\n" +"Last-Translator: Paulo Ricardo \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,6 +49,21 @@ msgstr "Ação" msgid "Audit" msgstr "Auditar" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "Auditlog - Deletar logs antigos" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "Auditlog - log da sessão do usuário HTTP" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "log requisição HTTP" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -44,14 +80,25 @@ msgid "Auditlog - Rule" msgstr "Histórico de Auditoria - Regras" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Criado por" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Criado em" @@ -60,12 +107,28 @@ msgstr "Criado em" msgid "Date" msgstr "Data" +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Descrição" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Nome para Mostrar" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" msgstr "Rascunho" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -78,26 +141,76 @@ msgid "Fields updated" msgstr "Campos atualizados" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Agrupado por" #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "Identificação" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Última atualização em" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Última atualização por" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Última atualização em" @@ -133,6 +246,8 @@ msgid "Log Writes" msgstr "Gravação de Histórico" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -152,7 +267,8 @@ msgid "Model" msgstr "Modelo" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Nome" @@ -176,6 +292,12 @@ msgstr "Valor Antigo" msgid "Old value Text" msgstr "Valor Antigo de Texto" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Caminho" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -187,6 +309,12 @@ msgstr "Identificação do Recurso" msgid "Resource Name" msgstr "Nome do Recurso" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -233,6 +361,17 @@ msgid "" "model of this rule" msgstr "Selecione este se quiser manter o rastreio de leitura/abertura de qualquer registro do modelo desta regra" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -250,6 +389,11 @@ msgstr "Inscrever" msgid "Subscribed" msgstr "Inscrito" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "Nome técnico" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -257,17 +401,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "" +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "Tipo" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Desinscrever" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Usuário" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "Sessão do Usuário" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "Sessões do Usuário" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -279,7 +447,7 @@ msgid "Values" msgstr "Valores" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:538 #, python-format msgid "View logs" msgstr "Ver Histórico" diff --git a/auditlog/i18n/ru.po b/auditlog/i18n/ru.po index 5d8c11f1a92..360fc5d370d 100644 --- a/auditlog/i18n/ru.po +++ b/auditlog/i18n/ru.po @@ -3,13 +3,21 @@ # * auditlog # # Translators: +# Ahmet Altınışık , 2015 +# Alexis de Lattre , 2016 +# Antonio Trueba, 2016 +# Christophe CHAUVET , 2015 +# danimaribeiro , 2015-2016 +# FIRST AUTHOR , 2013 +# Matjaž Mozetič , 2015-2016 +# Rudolf Schnapka , 2016 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-18 13:53+0000\n" -"Last-Translator: <>\n" +"POT-Creation-Date: 2016-05-06 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,6 +35,21 @@ msgstr "" msgid "Audit" msgstr "" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -43,14 +66,25 @@ msgid "Auditlog - Rule" msgstr "" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "" @@ -59,12 +93,28 @@ msgstr "" msgid "Date" msgstr "" +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Описание" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" msgstr "" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -77,26 +127,76 @@ msgid "Fields updated" msgstr "" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "" #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "" @@ -132,6 +232,8 @@ msgid "Log Writes" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -151,7 +253,8 @@ msgid "Model" msgstr "Модель" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Название" @@ -175,6 +278,12 @@ msgstr "" msgid "Old value Text" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -186,6 +295,12 @@ msgstr "" msgid "Resource Name" msgstr "" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -232,6 +347,17 @@ msgid "" "model of this rule" msgstr "" +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -249,6 +375,11 @@ msgstr "" msgid "Subscribed" msgstr "" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -256,17 +387,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "" +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Пользователь" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -278,7 +433,7 @@ msgid "Values" msgstr "" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:555 #, python-format msgid "View logs" msgstr "" diff --git a/auditlog/i18n/sl.po b/auditlog/i18n/sl.po index 61be912f90c..0e6e1af8de4 100644 --- a/auditlog/i18n/sl.po +++ b/auditlog/i18n/sl.po @@ -3,13 +3,24 @@ # * auditlog # # Translators: -# Matjaž Mozetič , 2015 +# Ahmet Altınışık , 2015-2016 +# Carles Antoli , 2015 +# Carles Antoli , 2015 +# Christophe CHAUVET , 2015 +# Christophe CHAUVET , 2015 +# FIRST AUTHOR , 2014 +# Giacomo , 2015 +# Hotellook, 2014 +# Matjaž Mozetič , 2015-2016 +# Mohamed HABOU , 2016 +# Rudolf Schnapka , 2016 +# Thomas A. Jaeger, 2015 msgid "" msgstr "" "Project-Id-Version: server-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-29 11:14+0000\n" -"PO-Revision-Date: 2015-09-26 08:36+0000\n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-05 05:57+0000\n" "Last-Translator: Matjaž Mozetič \n" "Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/sl/)\n" "MIME-Version: 1.0\n" @@ -28,6 +39,21 @@ msgstr "Ukrep" msgid "Audit" msgstr "Revizija" +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "Revizijski dnevnik - izbriši stare dnevnike" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "Revizijski dnevnik - HTTP uporabniške seje" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "Revizijski dnevnik - HTTP zahtevki" + #. module: auditlog #: model:ir.model,name:auditlog.model_auditlog_log msgid "Auditlog - Log" @@ -44,14 +70,25 @@ msgid "Auditlog - Rule" msgstr "Revizijski dnevnik - pravila" #. module: auditlog -#: field:auditlog.log,create_uid:0 field:auditlog.log.line,create_uid:0 -#: field:auditlog.rule,create_uid:0 +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Kontekst" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 msgid "Created by" msgstr "Ustvaril" #. module: auditlog -#: field:auditlog.log,create_date:0 field:auditlog.log.line,create_date:0 -#: field:auditlog.rule,create_date:0 +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 msgid "Created on" msgstr "Ustvarjeno" @@ -60,12 +97,28 @@ msgstr "Ustvarjeno" msgid "Date" msgstr "Datum" +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Opis" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "Prikazni naziv" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: selection:auditlog.rule,state:0 msgid "Draft" msgstr "Osnutek" +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "Hitri dnevnik" + #. module: auditlog #: field:auditlog.log.line,field_id:0 msgid "Field" @@ -78,26 +131,76 @@ msgid "Fields updated" msgstr "Posodobljena polja" #. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "Polni dnevnik" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "Polni dnevnik: izdela razliko med podatki pred in po operaciji (beleži več informacij, kot npr. izračunana polja, ki so bila posodobljena, a je počasnejši)\nHitri dnevnik: beleži le spremembe nastale med operacijami ustvarjanja in zapisovanja (manj informacij, a je hitrejši)" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.rule:auditlog.view_auditlog_rule_search msgid "Group By..." msgstr "Združi po..." #. module: auditlog -#: field:auditlog.log,id:0 field:auditlog.log.line,id:0 -#: field:auditlog.rule,id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "HTTP kontekst" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "HTTP zahtevek" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "HTTP zahtevki" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 msgid "ID" msgstr "ID" #. module: auditlog -#: field:auditlog.log,write_uid:0 field:auditlog.log.line,write_uid:0 -#: field:auditlog.rule,write_uid:0 +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "Zadnjič spremenjeno" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 msgid "Last Updated by" msgstr "Zadnjič posodobil" #. module: auditlog -#: field:auditlog.log,write_date:0 field:auditlog.log.line,write_date:0 -#: field:auditlog.rule,write_date:0 +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 msgid "Last Updated on" msgstr "Zadnjič posodobljeno" @@ -133,6 +236,8 @@ msgid "Log Writes" msgstr "Dnevnik zapisov" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: view:auditlog.log:auditlog.view_auditlog_log_tree #: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree @@ -152,7 +257,8 @@ msgid "Model" msgstr "Model" #. module: auditlog -#: field:auditlog.rule,name:0 +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 msgid "Name" msgstr "Naziv" @@ -176,6 +282,12 @@ msgstr "Stara vrednost" msgid "Old value Text" msgstr "Stara vrednost tekstualno" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Pot" + #. module: auditlog #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,res_id:0 @@ -187,6 +299,12 @@ msgstr "ID vira" msgid "Resource Name" msgstr "Naziv vira" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "Korenska URL" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Rule" @@ -233,6 +351,17 @@ msgid "" "model of this rule" msgstr "Izberite, če želite slediti branju/odpiranju kateregakoli zapisa na modelu, na katerega se nanaša to pravilo." +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Seja" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "ID seje" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_search #: field:auditlog.rule,state:0 @@ -250,6 +379,11 @@ msgstr "Naroči se" msgid "Subscribed" msgstr "Naročen" +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "Tehnični naziv" + #. module: auditlog #: sql_constraint:auditlog.rule:0 msgid "" @@ -257,17 +391,41 @@ msgid "" "You cannot define another: please edit the existing one." msgstr "Za ta model je že določeno pravilo\nNe morete določiti drugega, lahko pa uredite obstoječega." +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "Tip" + #. module: auditlog #: view:auditlog.rule:auditlog.view_auditlog_rule_form msgid "Unsubscribe" msgstr "Odjavi naročnino" #. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 #: view:auditlog.log:auditlog.view_auditlog_log_search #: field:auditlog.log,user_id:0 msgid "User" msgstr "Uporabnik" +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "Uporabniška seja" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "Uporabniške seje" + #. module: auditlog #: field:auditlog.rule,user_ids:0 msgid "Users" @@ -279,7 +437,7 @@ msgid "Values" msgstr "Vrednosti" #. module: auditlog -#: code:addons/auditlog/models/rule.py:478 +#: code:addons/auditlog/models/rule.py:538 #, python-format msgid "View logs" msgstr "Prikaz dnevnikov" diff --git a/auditlog/i18n/tr.po b/auditlog/i18n/tr.po new file mode 100644 index 00000000000..c488ea593f0 --- /dev/null +++ b/auditlog/i18n/tr.po @@ -0,0 +1,444 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auditlog +# +# Translators: +# Ahmet Altınışık , 2016 +# Christophe CHAUVET , 2015 +# Christophe CHAUVET , 2015 +# FIRST AUTHOR , 2012 +# Matjaž Mozetič , 2015 +# Paolo Valier, 2016 +# Pedro M. Baeza , 2015 +# Rudolf Schnapka , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-28 02:41+0000\n" +"PO-Revision-Date: 2016-05-04 19:14+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: auditlog +#: field:auditlog.rule,action_id:0 +msgid "Action" +msgstr "Eylem" + +#. module: auditlog +#: model:ir.ui.menu,name:auditlog.menu_audit +msgid "Audit" +msgstr "Denetim" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "Denetim Günlüğü - HTTP kullanıcı oturum logu" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "Denetim Günlüğü - HTTP istek geçmişi" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log +msgid "Auditlog - Log" +msgstr "Denetim Günlüğü - geçmiş" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log_line +msgid "Auditlog - Log details (fields updated)" +msgstr "Denetim Günlüğü - Günlük detatları (güncellenen alanlar) " + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_rule +msgid "Auditlog - Rule" +msgstr "Denetim Günlüğü - Kural" + +#. module: auditlog +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "Bağlam" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 +msgid "Created by" +msgstr "Oluşturan" + +#. module: auditlog +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 +msgid "Created on" +msgstr "Oluşturuldu" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "Date" +msgstr "Tarih" + +#. module: auditlog +#: field:auditlog.log.line,field_description:0 +msgid "Description" +msgstr "Açıklama" + +#. module: auditlog +#: field:auditlog.autovacuum,display_name:0 field:auditlog.log,display_name:0 +#: field:auditlog.log.line,display_name:0 field:auditlog.rule,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Draft" +msgstr "Taslak" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,field_id:0 +msgid "Field" +msgstr "Alan" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log,line_ids:0 +msgid "Fields updated" +msgstr "Alanlar güncellendi" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +msgid "Group By..." +msgstr "Grupla..." + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "HTTP Bağlamı" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "HTTP isteği" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "HTTP isteği" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 +msgid "ID" +msgstr "ID" + +#. module: auditlog +#: field:auditlog.autovacuum,__last_update:0 +#: field:auditlog.http.request,__last_update:0 +#: field:auditlog.http.session,__last_update:0 +#: field:auditlog.log,__last_update:0 field:auditlog.log.line,__last_update:0 +#: field:auditlog.rule,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 +msgid "Last Updated by" +msgstr "Son güncellendi" + +#. module: auditlog +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 +msgid "Last Updated on" +msgstr "Son güncellenme" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log.line,log_id:0 +msgid "Log" +msgstr "günlük" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Log - Field updated" +msgstr "Günlük - Güncellenen alan" + +#. module: auditlog +#: field:auditlog.rule,log_create:0 +msgid "Log Creates" +msgstr "Oluşturma günlükleri" + +#. module: auditlog +#: field:auditlog.rule,log_unlink:0 +msgid "Log Deletes" +msgstr "Silme günlükleri" + +#. module: auditlog +#: field:auditlog.rule,log_read:0 +msgid "Log Reads" +msgstr "Okuma günlükleri" + +#. module: auditlog +#: field:auditlog.rule,log_write:0 +msgid "Log Writes" +msgstr "Yazma günlükleri" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.log:auditlog.view_auditlog_log_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree +#: model:ir.ui.menu,name:auditlog.menu_audit_logs +msgid "Logs" +msgstr "günlükler" + +#. module: auditlog +#: field:auditlog.log,method:0 +msgid "Method" +msgstr "Method" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,model_id:0 field:auditlog.rule,model_id:0 +msgid "Model" +msgstr "Alan" + +#. module: auditlog +#: field:auditlog.http.request,display_name:0 +#: field:auditlog.http.session,display_name:0 field:auditlog.rule,name:0 +msgid "Name" +msgstr "Adı" + +#. module: auditlog +#: field:auditlog.log.line,new_value:0 +msgid "New Value" +msgstr "Yeni Değer" + +#. module: auditlog +#: field:auditlog.log.line,new_value_text:0 +msgid "New value Text" +msgstr "Yeni değer metni" + +#. module: auditlog +#: field:auditlog.log.line,old_value:0 +msgid "Old Value" +msgstr "Eski Değer" + +#. module: auditlog +#: field:auditlog.log.line,old_value_text:0 +msgid "Old value Text" +msgstr "Eski değer Metni" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "Yol" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,res_id:0 +msgid "Resource ID" +msgstr "Kaynak ID" + +#. module: auditlog +#: field:auditlog.log,name:0 +msgid "Resource Name" +msgstr "Kaynak Adı" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "Kök URL" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Rule" +msgstr "Kural" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_rule_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_rule_tree +msgid "Rules" +msgstr "Kurallar" + +#. module: auditlog +#: help:auditlog.rule,model_id:0 +msgid "Select model for which you want to generate log." +msgstr "Günlük oluşturmak istediğiniz modeli seçin." + +#. module: auditlog +#: help:auditlog.rule,log_create:0 +msgid "" +"Select this if you want to keep track of creation on any record of the model" +" of this rule" +msgstr "bu modelde oluşturulan her kayıt için günlük tutmak isterseniz bunu seçin." + +#. module: auditlog +#: help:auditlog.rule,log_unlink:0 +msgid "" +"Select this if you want to keep track of deletion on any record of the model" +" of this rule" +msgstr "bu modelde silinen her kayıt için günlük tutmak isterseniz bunu seçin." + +#. module: auditlog +#: help:auditlog.rule,log_write:0 +msgid "" +"Select this if you want to keep track of modification on any record of the " +"model of this rule" +msgstr "bu modelde değiştirilen her kayıt için günlük tutmak isterseniz bunu seçin." + +#. module: auditlog +#: help:auditlog.rule,log_read:0 +msgid "" +"Select this if you want to keep track of read/open on any record of the " +"model of this rule" +msgstr "bu modelde okunan/açılan her kayıt için günlük tutmak isterseniz bunu seçin." + +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "Oturum" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "Oturum ID" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: field:auditlog.rule,state:0 +msgid "State" +msgstr "Durum" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Subscribe" +msgstr "Üye ol" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Subscribed" +msgstr "Üye oldu" + +#. module: auditlog +#: field:auditlog.log.line,field_name:0 +msgid "Technical name" +msgstr "" + +#. module: auditlog +#: sql_constraint:auditlog.rule:0 +msgid "" +"There is already a rule defined on this model\n" +"You cannot define another: please edit the existing one." +msgstr "Bu model için zaten bir kural tanımlanmış\nbaşka kural tanımlayamazsınız: lütfen olan kaydı güncelleyin." + +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Unsubscribe" +msgstr "Takibi bırak" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,user_id:0 +msgid "User" +msgstr "Kullanıcı" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "Kullanıcı oturumu" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "kullanıcı oturumları" + +#. module: auditlog +#: field:auditlog.rule,user_ids:0 +msgid "Users" +msgstr "Kullanıcılar" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Values" +msgstr "Değerler" + +#. module: auditlog +#: code:addons/auditlog/models/rule.py:538 +#, python-format +msgid "View logs" +msgstr "Günlükleri göster" + +#. module: auditlog +#: help:auditlog.rule,user_ids:0 +msgid "if User is not added then it will applicable for all users" +msgstr "Eğer kullanıcı eklenmediyse bütün kullanıcılar için geçerli olur" diff --git a/auditlog/i18n/zh_CN.po b/auditlog/i18n/zh_CN.po new file mode 100644 index 00000000000..faa0ae5df96 --- /dev/null +++ b/auditlog/i18n/zh_CN.po @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * auditlog +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-04-14 07:01+0000\n" +"PO-Revision-Date: 2016-04-05 07:21+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: auditlog +#: field:auditlog.rule,action_id:0 +msgid "Action" +msgstr "" + +#. module: auditlog +#: model:ir.ui.menu,name:auditlog.menu_audit +msgid "Audit" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_autovacuum +msgid "Auditlog - Delete old logs" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_session +msgid "Auditlog - HTTP User session log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_http_request +msgid "Auditlog - HTTP request log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log +msgid "Auditlog - Log" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_log_line +msgid "Auditlog - Log details (fields updated)" +msgstr "" + +#. module: auditlog +#: model:ir.model,name:auditlog.model_auditlog_rule +msgid "Auditlog - Rule" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.request,user_context:0 +msgid "Context" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,create_uid:0 +#: field:auditlog.http.request,create_uid:0 +#: field:auditlog.http.session,create_uid:0 field:auditlog.log,create_uid:0 +#: field:auditlog.log.line,create_uid:0 field:auditlog.rule,create_uid:0 +msgid "Created by" +msgstr "创建者" + +#. module: auditlog +#: field:auditlog.autovacuum,create_date:0 +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,create_date:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,create_date:0 field:auditlog.log,create_date:0 +#: field:auditlog.log.line,create_date:0 field:auditlog.rule,create_date:0 +msgid "Created on" +msgstr "创建时间" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "Date" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Draft" +msgstr "" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Fast log" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,field_id:0 +msgid "Field" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log,line_ids:0 +msgid "Fields updated" +msgstr "" + +#. module: auditlog +#: selection:auditlog.log,log_type:0 selection:auditlog.rule,log_type:0 +msgid "Full log" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_type:0 +msgid "" +"Full log: make a diff between the data before and after the operation (log more info like computed fields which were updated, but it is slower)\n" +"Fast log: only log the changes made through the create and write operations (less information, but it is faster)" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +msgid "Group By..." +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "HTTP Context" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,http_request_id:0 +msgid "HTTP Request" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_tree +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: field:auditlog.http.session,http_request_ids:0 +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_request_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_request_tree +msgid "HTTP Requests" +msgstr "" + +#. module: auditlog +#: field:auditlog.autovacuum,id:0 field:auditlog.http.request,id:0 +#: field:auditlog.http.session,id:0 field:auditlog.log,id:0 +#: field:auditlog.log.line,id:0 field:auditlog.rule,id:0 +msgid "ID" +msgstr "ID" + +#. module: auditlog +#: field:auditlog.autovacuum,write_uid:0 +#: field:auditlog.http.request,write_uid:0 +#: field:auditlog.http.session,write_uid:0 field:auditlog.log,write_uid:0 +#: field:auditlog.log.line,write_uid:0 field:auditlog.rule,write_uid:0 +msgid "Last Updated by" +msgstr "最后更新者" + +#. module: auditlog +#: field:auditlog.autovacuum,write_date:0 +#: field:auditlog.http.request,write_date:0 +#: field:auditlog.http.session,write_date:0 field:auditlog.log,write_date:0 +#: field:auditlog.log.line,write_date:0 field:auditlog.rule,write_date:0 +msgid "Last Updated on" +msgstr "上次更新日期" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +#: field:auditlog.log.line,log_id:0 +msgid "Log" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Log - Field updated" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_create:0 +msgid "Log Creates" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_unlink:0 +msgid "Log Deletes" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_read:0 +msgid "Log Reads" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,log_write:0 +msgid "Log Writes" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_form +#: field:auditlog.http.request,log_ids:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: view:auditlog.log:auditlog.view_auditlog_log_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_log_tree +#: model:ir.ui.menu,name:auditlog.menu_audit_logs +msgid "Logs" +msgstr "" + +#. module: auditlog +#: field:auditlog.log,method:0 +msgid "Method" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,model_id:0 field:auditlog.rule,model_id:0 +msgid "Model" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,name:0 +msgid "Name" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,new_value:0 +msgid "New Value" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,new_value_text:0 +msgid "New value Text" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,old_value:0 +msgid "Old Value" +msgstr "" + +#. module: auditlog +#: field:auditlog.log.line,old_value_text:0 +msgid "Old value Text" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,name:0 +msgid "Path" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: auditlog +#: field:auditlog.log,name:0 +msgid "Resource Name" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,root_url:0 +msgid "Root URL" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Rule" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: view:auditlog.rule:auditlog.view_auditlog_rule_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_rule_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_rule_tree +msgid "Rules" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,model_id:0 +msgid "Select model for which you want to generate log." +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_create:0 +msgid "" +"Select this if you want to keep track of creation on any record of the model" +" of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_unlink:0 +msgid "" +"Select this if you want to keep track of deletion on any record of the model" +" of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_write:0 +msgid "" +"Select this if you want to keep track of modification on any record of the " +"model of this rule" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,log_read:0 +msgid "" +"Select this if you want to keep track of read/open on any record of the " +"model of this rule" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.request,http_session_id:0 +#: field:auditlog.log,http_session_id:0 +msgid "Session" +msgstr "" + +#. module: auditlog +#: field:auditlog.http.session,name:0 +msgid "Session ID" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: field:auditlog.rule,state:0 +msgid "State" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Subscribe" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_search +#: selection:auditlog.rule,state:0 +msgid "Subscribed" +msgstr "" + +#. module: auditlog +#: sql_constraint:auditlog.rule:0 +msgid "" +"There is already a rule defined on this model\n" +"You cannot define another: please edit the existing one." +msgstr "" + +#. module: auditlog +#: field:auditlog.log,log_type:0 field:auditlog.rule,log_type:0 +msgid "Type" +msgstr "" + +#. module: auditlog +#: view:auditlog.rule:auditlog.view_auditlog_rule_form +msgid "Unsubscribe" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: field:auditlog.http.request,user_id:0 +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: field:auditlog.http.session,user_id:0 +#: view:auditlog.log:auditlog.view_auditlog_log_search +#: field:auditlog.log,user_id:0 +msgid "User" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.request:auditlog.view_auditlog_http_request_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_form +#: view:auditlog.log:auditlog.view_auditlog_log_search +msgid "User session" +msgstr "" + +#. module: auditlog +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_search +#: view:auditlog.http.session:auditlog.view_auditlog_http_session_tree +#: model:ir.actions.act_window,name:auditlog.action_auditlog_http_session_tree +#: model:ir.ui.menu,name:auditlog.menu_action_auditlog_http_session_tree +msgid "User sessions" +msgstr "" + +#. module: auditlog +#: field:auditlog.rule,user_ids:0 +msgid "Users" +msgstr "" + +#. module: auditlog +#: view:auditlog.log:auditlog.view_auditlog_log_form +msgid "Values" +msgstr "" + +#. module: auditlog +#: code:addons/auditlog/models/rule.py:555 +#, python-format +msgid "View logs" +msgstr "" + +#. module: auditlog +#: help:auditlog.rule,user_ids:0 +msgid "if User is not added then it will applicable for all users" +msgstr "" diff --git a/auditlog/migrations/8.0.1.0/pre-migration.py b/auditlog/migrations/8.0.1.0/pre-migration.py deleted file mode 100644 index 3fe51e77ce5..00000000000 --- a/auditlog/migrations/8.0.1.0/pre-migration.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2015 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -from openerp.addons.auditlog import migrate_from_audittrail - - -def migrate(cr, version): - """if we migrate from an older version, it's a migration from audittrail""" - migrate_from_audittrail(cr) diff --git a/auditlog/models/__init__.py b/auditlog/models/__init__.py index eb562a4c061..ce5b89899e4 100644 --- a/auditlog/models/__init__.py +++ b/auditlog/models/__init__.py @@ -1,23 +1,9 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013 ABF OSIELL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import rule +from . import http_session +from . import http_request from . import log +from . import autovacuum diff --git a/auditlog/models/autovacuum.py b/auditlog/models/autovacuum.py new file mode 100644 index 00000000000..8c9d8b334b3 --- /dev/null +++ b/auditlog/models/autovacuum.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# © 2016 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import logging +from datetime import datetime, timedelta + +from openerp import models, fields, api + + +_logger = logging.getLogger(__name__) + + +class AuditlogAutovacuum(models.TransientModel): + _name = 'auditlog.autovacuum' + _description = "Auditlog - Delete old logs" + + @api.model + def autovacuum(self, days): + """Delete all logs older than ``days``. This includes: + - CRUD logs (create, read, write, unlink) + - HTTP requests + - HTTP user sessions + + Called from a cron. + """ + days = (days > 0) and int(days) or 0 + deadline = datetime.now() - timedelta(days=days) + data_models = ( + 'auditlog.log', + 'auditlog.http.request', + 'auditlog.http.session', + ) + for data_model in data_models: + records = self.env[data_model].search( + [('create_date', '<=', fields.Datetime.to_string(deadline))]) + nb_records = len(records) + records.unlink() + _logger.info( + u"AUTOVACUUM - %s '%s' records deleted", + nb_records, data_model) + return True diff --git a/auditlog/models/http_request.py b/auditlog/models/http_request.py new file mode 100644 index 00000000000..ca896ea9940 --- /dev/null +++ b/auditlog/models/http_request.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api +from openerp.http import request + + +class AuditlogHTTPRequest(models.Model): + _name = 'auditlog.http.request' + _description = u"Auditlog - HTTP request log" + _order = "create_date DESC" + _rec_name = 'display_name' + + display_name = fields.Char(u"Name", compute="_display_name") + name = fields.Char(u"Path") + root_url = fields.Char(u"Root URL") + user_id = fields.Many2one( + 'res.users', string=u"User") + http_session_id = fields.Many2one( + 'auditlog.http.session', string=u"Session") + user_context = fields.Char(u"Context") + log_ids = fields.One2many( + 'auditlog.log', 'http_request_id', string=u"Logs") + + @api.multi + def _display_name(self): + for httprequest in self: + create_date = fields.Datetime.from_string(httprequest.create_date) + tz_create_date = fields.Datetime.context_timestamp( + httprequest, create_date) + httprequest.display_name = u"%s (%s)" % ( + httprequest.name or '?', + fields.Datetime.to_string(tz_create_date)) + + @api.model + def current_http_request(self): + """Create a log corresponding to the current HTTP request, and returns + its ID. This method can be called several times during the + HTTP query/response cycle, it will only log the request on the + first call. + If no HTTP request is available, returns `False`. + """ + if not request: + return False + http_session_model = self.env['auditlog.http.session'] + httprequest = request.httprequest + if httprequest: + if hasattr(httprequest, 'auditlog_http_request_id'): + return httprequest.auditlog_http_request_id + vals = { + 'name': httprequest.path, + 'root_url': httprequest.url_root, + 'user_id': request.uid, + 'http_session_id': http_session_model.current_http_session(), + 'user_context': request.context, + } + httprequest.auditlog_http_request_id = self.create(vals).id + return httprequest.auditlog_http_request_id + return False diff --git a/auditlog/models/http_session.py b/auditlog/models/http_session.py new file mode 100644 index 00000000000..183cb639631 --- /dev/null +++ b/auditlog/models/http_session.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api +from openerp.http import request + + +class AuditlogtHTTPSession(models.Model): + _name = 'auditlog.http.session' + _description = u"Auditlog - HTTP User session log" + _order = "create_date DESC" + _rec_name = 'display_name' + + display_name = fields.Char(u"Name", compute="_display_name") + name = fields.Char(u"Session ID") + user_id = fields.Many2one( + 'res.users', string=u"User") + http_request_ids = fields.One2many( + 'auditlog.http.request', 'http_session_id', string=u"HTTP Requests") + + @api.multi + def _display_name(self): + for httpsession in self: + create_date = fields.Datetime.from_string(httpsession.create_date) + tz_create_date = fields.Datetime.context_timestamp( + httpsession, create_date) + httpsession.display_name = u"%s (%s)" % ( + httpsession.user_id and httpsession.user_id.name or '?', + fields.Datetime.to_string(tz_create_date)) + + @api.model + def current_http_session(self): + """Create a log corresponding to the current HTTP user session, and + returns its ID. This method can be called several times during the + HTTP query/response cycle, it will only log the user session on the + first call. + If no HTTP user session is available, returns `False`. + """ + if not request: + return False + httpsession = request.httpsession + if httpsession: + existing_session = self.search( + [('name', '=', httpsession.sid), + ('user_id', '=', request.uid)]) + if existing_session: + return existing_session.id + vals = { + 'name': httpsession.sid, + 'user_id': request.uid, + } + httpsession.auditlog_http_session_id = self.create(vals).id + return httpsession.auditlog_http_session_id + return False diff --git a/auditlog/models/log.py b/auditlog/models/log.py index b222c470eb2..66c6a55545d 100644 --- a/auditlog/models/log.py +++ b/auditlog/models/log.py @@ -1,28 +1,10 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013 ABF OSIELL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import models, fields -class auditlog_log(models.Model): +class AuditlogLog(models.Model): _name = 'auditlog.log' _description = "Auditlog - Log" _order = "create_date desc" @@ -36,16 +18,25 @@ class auditlog_log(models.Model): method = fields.Char(u"Method", size=64) line_ids = fields.One2many( 'auditlog.log.line', 'log_id', string=u"Fields updated") + http_session_id = fields.Many2one( + 'auditlog.http.session', string=u"Session") + http_request_id = fields.Many2one( + 'auditlog.http.request', string=u"HTTP Request") + log_type = fields.Selection( + [('full', u"Full log"), + ('fast', u"Fast log"), + ], + string=u"Type") -class auditlog_log_line(models.Model): +class AuditlogLogLine(models.Model): _name = 'auditlog.log.line' _description = "Auditlog - Log details (fields updated)" field_id = fields.Many2one( 'ir.model.fields', ondelete='cascade', string=u"Field", required=True) log_id = fields.Many2one( - 'auditlog.log', string=u"Log", ondelete='cascade') + 'auditlog.log', string=u"Log", ondelete='cascade', index=True) old_value = fields.Text(u"Old Value") new_value = fields.Text(u"New Value") old_value_text = fields.Text(u"Old value Text") diff --git a/auditlog/models/rule.py b/auditlog/models/rule.py index 4f18c4a3e2f..b06f2342bd9 100644 --- a/auditlog/models/rule.py +++ b/auditlog/models/rule.py @@ -1,23 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013 ABF OSIELL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp import models, fields, api, modules, _, SUPERUSER_ID, sql_db @@ -58,7 +41,7 @@ def unchanged(self): if self.past_dict[o] == self.current_dict[o]) -class auditlog_rule(models.Model): +class AuditlogRule(models.Model): _name = 'auditlog.rule' _description = "Auditlog - Rule" @@ -88,14 +71,16 @@ class auditlog_rule(models.Model): u"Log Creates", default=True, help=(u"Select this if you want to keep track of creation on any " u"record of the model of this rule")) - # log_action = fields.Boolean( - # "Log Action", - # help=("Select this if you want to keep track of actions on the " - # "model of this rule")) - # log_workflow = fields.Boolean( - # "Log Workflow", - # help=("Select this if you want to keep track of workflow on any " - # "record of the model of this rule")) + log_type = fields.Selection( + [('full', u"Full log"), + ('fast', u"Fast log"), + ], + string=u"Type", required=True, default='full', + help=(u"Full log: make a diff between the data before and after " + u"the operation (log more info like computed fields which were " + u"updated, but it is slower)\n" + u"Fast log: only log the changes made through the create and " + u"write operations (less information, but it is faster)")) state = fields.Selection( [('draft', "Draft"), ('subscribed', "Subscribed")], string=u"State", required=True, default='draft') @@ -110,7 +95,7 @@ class auditlog_rule(models.Model): def _register_hook(self, cr, ids=None): """Get all rules and apply them to log method calls.""" - super(auditlog_rule, self)._register_hook(cr) + super(AuditlogRule, self)._register_hook(cr) if not hasattr(self.pool, '_auditlog_field_cache'): self.pool._auditlog_field_cache = {} if not hasattr(self.pool, '_auditlog_model_cache'): @@ -137,28 +122,28 @@ def _patch_methods(self): check_attr = 'auditlog_ruled_create' if getattr(rule, 'log_create') \ and not hasattr(model_model, check_attr): - model_model._patch_method('create', self._make_create()) + model_model._patch_method('create', rule._make_create()) setattr(model_model, check_attr, True) updated = True # -> read check_attr = 'auditlog_ruled_read' if getattr(rule, 'log_read') \ and not hasattr(model_model, check_attr): - model_model._patch_method('read', self._make_read()) + model_model._patch_method('read', rule._make_read()) setattr(model_model, check_attr, True) updated = True # -> write check_attr = 'auditlog_ruled_write' if getattr(rule, 'log_write') \ and not hasattr(model_model, check_attr): - model_model._patch_method('write', self._make_write()) + model_model._patch_method('write', rule._make_write()) setattr(model_model, check_attr, True) updated = True # -> unlink check_attr = 'auditlog_ruled_unlink' if getattr(rule, 'log_unlink') \ and not hasattr(model_model, check_attr): - model_model._patch_method('unlink', self._make_unlink()) + model_model._patch_method('unlink', rule._make_unlink()) setattr(model_model, check_attr, True) updated = True return updated @@ -182,7 +167,7 @@ def _revert_methods(self): # errors occurs with the `_register_hook()` BaseModel method. def create(self, cr, uid, vals, context=None): """Update the registry when a new rule is created.""" - res_id = super(auditlog_rule, self).create( + res_id = super(AuditlogRule, self).create( cr, uid, vals, context=context) if self._register_hook(cr, [res_id]): modules.registry.RegistryManager.signal_registry_change(cr.dbname) @@ -194,7 +179,7 @@ def write(self, cr, uid, ids, vals, context=None): """Update the registry when existing rules are updated.""" if isinstance(ids, (int, long)): ids = [ids] - super(auditlog_rule, self).write(cr, uid, ids, vals, context=context) + super(AuditlogRule, self).write(cr, uid, ids, vals, context=context) if self._register_hook(cr, ids): modules.registry.RegistryManager.signal_registry_change(cr.dbname) return True @@ -203,27 +188,48 @@ def write(self, cr, uid, ids, vals, context=None): def unlink(self): """Unsubscribe rules before removing them.""" self.unsubscribe() - return super(auditlog_rule, self).unlink() + return super(AuditlogRule, self).unlink() + @api.multi def _make_create(self): - """Instanciate a create method that log its calls.""" + """Instantiate a create method that log its calls.""" + self.ensure_one() + log_type = self.log_type + @api.model @api.returns('self', lambda value: value.id) - def create(self, vals, **kwargs): + def create_full(self, vals, **kwargs): self = self.with_context(auditlog_disabled=True) rule_model = self.env['auditlog.rule'] - new_record = create.origin(self, vals, **kwargs) + new_record = create_full.origin(self, vals, **kwargs) new_values = dict( - (d['id'], d) for d in new_record.sudo().read( - list(self._fields))) + (d['id'], d) for d in new_record.sudo() + .with_context(prefetch_fields=False).read(list(self._fields))) + rule_model.sudo().create_logs( + self.env.uid, self._name, new_record.ids, + 'create', None, new_values, {'log_type': log_type}) + return new_record + + @api.model + @api.returns('self', lambda value: value.id) + def create_fast(self, vals, **kwargs): + self = self.with_context(auditlog_disabled=True) + rule_model = self.env['auditlog.rule'] + vals2 = dict(vals) + new_record = create_fast.origin(self, vals, **kwargs) + new_values = {new_record.id: vals2} rule_model.sudo().create_logs( self.env.uid, self._name, new_record.ids, - 'create', None, new_values) + 'create', None, new_values, {'log_type': log_type}) return new_record - return create + return create_full if self.log_type == 'full' else create_fast + + @api.multi def _make_read(self): - """Instanciate a read method that log its calls.""" + """Instantiate a read method that log its calls.""" + self.ensure_one() + log_type = self.log_type def read(self, *args, **kwargs): result = read.origin(self, *args, **kwargs) @@ -248,7 +254,7 @@ def read(self, *args, **kwargs): rule_model = env['auditlog.rule'] rule_model.sudo().create_logs( env.uid, self._name, ids, - 'read', read_values) + 'read', read_values, None, {'log_type': log_type}) # New API else: # If the call came from auditlog itself, skip logging: @@ -261,44 +267,84 @@ def read(self, *args, **kwargs): rule_model = self.env['auditlog.rule'] rule_model.sudo().create_logs( self.env.uid, self._name, self.ids, - 'read', read_values) + 'read', read_values, None, {'log_type': log_type}) return result return read + @api.multi def _make_write(self): - """Instanciate a write method that log its calls.""" + """Instantiate a write method that log its calls.""" + self.ensure_one() + log_type = self.log_type + @api.multi - def write(self, vals, **kwargs): + def write_full(self, vals, **kwargs): self = self.with_context(auditlog_disabled=True) rule_model = self.env['auditlog.rule'] old_values = dict( - (d['id'], d) for d in self.sudo().read(list(self._fields))) - result = write.origin(self, vals, **kwargs) + (d['id'], d) for d in self.sudo() + .with_context(prefetch_fields=False).read(list(self._fields))) + result = write_full.origin(self, vals, **kwargs) new_values = dict( - (d['id'], d) for d in self.sudo().read(list(self._fields))) + (d['id'], d) for d in self.sudo() + .with_context(prefetch_fields=False).read(list(self._fields))) + rule_model.sudo().create_logs( + self.env.uid, self._name, self.ids, + 'write', old_values, new_values, {'log_type': log_type}) + return result + + @api.multi + def write_fast(self, vals, **kwargs): + self = self.with_context(auditlog_disabled=True) + rule_model = self.env['auditlog.rule'] + # Log the user input only, no matter if the `vals` is updated + # afterwards as it could not represent the real state + # of the data in the database + vals2 = dict(vals) + old_vals2 = dict.fromkeys(vals2.keys(), False) + old_values = dict((id_, old_vals2) for id_ in self.ids) + new_values = dict((id_, vals2) for id_ in self.ids) + result = write_fast.origin(self, vals, **kwargs) rule_model.sudo().create_logs( self.env.uid, self._name, self.ids, - 'write', old_values, new_values) + 'write', old_values, new_values, {'log_type': log_type}) return result - return write + return write_full if self.log_type == 'full' else write_fast + + @api.multi def _make_unlink(self): - """Instanciate an unlink method that log its calls.""" + """Instantiate an unlink method that log its calls.""" + self.ensure_one() + log_type = self.log_type + @api.multi - def unlink(self, **kwargs): + def unlink_full(self, **kwargs): self = self.with_context(auditlog_disabled=True) rule_model = self.env['auditlog.rule'] old_values = dict( - (d['id'], d) for d in self.sudo().read(list(self._fields))) + (d['id'], d) for d in self.sudo() + .with_context(prefetch_fields=False).read(list(self._fields))) rule_model.sudo().create_logs( - self.env.uid, self._name, self.ids, 'unlink', old_values) - return unlink.origin(self, **kwargs) - return unlink + self.env.uid, self._name, self.ids, 'unlink', old_values, None, + {'log_type': log_type}) + return unlink_full.origin(self, **kwargs) + + @api.multi + def unlink_fast(self, **kwargs): + self = self.with_context(auditlog_disabled=True) + rule_model = self.env['auditlog.rule'] + rule_model.sudo().create_logs( + self.env.uid, self._name, self.ids, 'unlink', None, None, + {'log_type': log_type}) + return unlink_fast.origin(self, **kwargs) + + return unlink_full if self.log_type == 'full' else unlink_fast def create_logs(self, uid, res_model, res_ids, method, old_values=None, new_values=None, additional_log_values=None): - """Create logs. `old_values` and `new_values` are dictionnaries, e.g: + """Create logs. `old_values` and `new_values` are dictionaries, e.g: {RES_ID: {'FIELD': VALUE, ...}} """ if old_values is None: @@ -306,6 +352,8 @@ def create_logs(self, uid, res_model, res_ids, method, if new_values is None: new_values = EMPTY_DICT log_model = self.env['auditlog.log'] + http_request_model = self.env['auditlog.http.request'] + http_session_model = self.env['auditlog.http.session'] for res_id in res_ids: model_model = self.env[res_model] name = model_model.browse(res_id).name_get() @@ -316,6 +364,8 @@ def create_logs(self, uid, res_model, res_ids, method, 'res_id': res_id, 'method': method, 'user_id': uid, + 'http_request_id': http_request_model.current_http_request(), + 'http_session_id': http_session_model.current_http_session(), } vals.update(additional_log_values or {}) log = log_model.create(vals) @@ -412,7 +462,8 @@ def _prepare_log_line_vals_on_write( 'new_value_text': new_values[log.res_id][field['name']], } # for *2many fields, log the name_get - if field['relation'] and '2many' in field['ttype']: + if log.log_type == 'full' and field['relation'] \ + and '2many' in field['ttype']: # Filter IDs to prevent a 'name_get()' call on deleted resources existing_ids = self.env[field['relation']]._search( [('id', 'in', vals['old_value'])]) @@ -457,7 +508,8 @@ def _prepare_log_line_vals_on_create(self, log, field, new_values): 'new_value': new_values[log.res_id][field['name']], 'new_value_text': new_values[log.res_id][field['name']], } - if field['relation'] and '2many' in field['ttype']: + if log.log_type == 'full' and field['relation'] \ + and '2many' in field['ttype']: new_value_text = self.env[field['relation']].browse( vals['new_value']).name_get() vals['new_value_text'] = new_value_text diff --git a/auditlog/security/ir.model.access.csv b/auditlog/security/ir.model.access.csv index 1bb8381d094..32744cc2154 100644 --- a/auditlog/security/ir.model.access.csv +++ b/auditlog/security/ir.model.access.csv @@ -2,7 +2,11 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_auditlog_rule_user,auditlog_rule_user,model_auditlog_rule,base.group_user,0,0,0,0 access_auditlog_log_user,auditlog_log_user,model_auditlog_log,base.group_user,0,0,0,0 access_auditlog_log_line_user,auditlog_log_line_user,model_auditlog_log_line,base.group_user,0,0,0,0 +access_auditlog_http_session_user,auditlog_http_session_user,model_auditlog_http_session,base.group_user,0,0,0,0 +access_auditlog_http_request_user,auditlog_http_request_user,model_auditlog_http_request,base.group_user,0,0,0,0 access_auditlog_rule_manager,auditlog_rule_manager,model_auditlog_rule,base.group_erp_manager,1,1,1,1 access_auditlog_log_manager,auditlog_log_manager,model_auditlog_log,base.group_erp_manager,1,1,1,1 access_auditlog_log_line_manager,auditlog_log_line_manager,model_auditlog_log_line,base.group_erp_manager,1,1,1,1 +access_auditlog_http_session_manager,auditlog_http_session_manager,model_auditlog_http_session,base.group_erp_manager,1,1,1,1 +access_auditlog_http_request_manager,auditlog_http_request_manager,model_auditlog_http_request,base.group_erp_manager,1,1,1,1 diff --git a/auditlog/static/description/autovacuum.png b/auditlog/static/description/autovacuum.png new file mode 100644 index 00000000000..67b47c4b737 Binary files /dev/null and b/auditlog/static/description/autovacuum.png differ diff --git a/auditlog/static/description/icon.png b/auditlog/static/description/icon.png index 3a0328b516c..6b0ac9f1e9f 100644 Binary files a/auditlog/static/description/icon.png and b/auditlog/static/description/icon.png differ diff --git a/auditlog/static/description/icon.xcf b/auditlog/static/description/icon.xcf new file mode 100644 index 00000000000..1915c6f455a Binary files /dev/null and b/auditlog/static/description/icon.xcf differ diff --git a/auditlog/static/description/log.png b/auditlog/static/description/log.png new file mode 100644 index 00000000000..a1534eb0988 Binary files /dev/null and b/auditlog/static/description/log.png differ diff --git a/auditlog/static/description/logs.png b/auditlog/static/description/logs.png new file mode 100644 index 00000000000..6969488fbe5 Binary files /dev/null and b/auditlog/static/description/logs.png differ diff --git a/auditlog/static/description/rule.png b/auditlog/static/description/rule.png new file mode 100644 index 00000000000..364e6252b87 Binary files /dev/null and b/auditlog/static/description/rule.png differ diff --git a/auditlog/tests/__init__.py b/auditlog/tests/__init__.py index a688b88a7db..1d57467d8d0 100644 --- a/auditlog/tests/__init__.py +++ b/auditlog/tests/__init__.py @@ -1,21 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2015 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_auditlog +from . import test_autovacuum diff --git a/auditlog/tests/test_auditlog.py b/auditlog/tests/test_auditlog.py index 18497bdad3e..556af97c927 100644 --- a/auditlog/tests/test_auditlog.py +++ b/auditlog/tests/test_auditlog.py @@ -1,43 +1,10 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2015 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# © 2015 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.tests.common import TransactionCase -class TestAuditlog(TransactionCase): - def setUp(self): - super(TestAuditlog, self).setUp() - self.groups_model_id = self.env.ref('base.model_res_groups').id - self.groups_rule = self.env['auditlog.rule'].create({ - 'name': 'testrule for groups', - 'model_id': self.groups_model_id, - 'log_read': True, - 'log_create': True, - 'log_write': True, - 'log_unlink': True, - 'state': 'subscribed', - }) - - def tearDown(self): - self.groups_rule.unlink() - super(TestAuditlog, self).tearDown() +class TestAuditlog(object): def test_LogCreation(self): """First test, caching some data.""" @@ -105,3 +72,45 @@ def test_LogCreation3(self): ('method', '=', 'write'), ('res_id', '=', testgroup4.id), ]).ensure_one()) + + +class TestAuditlogFull(TransactionCase, TestAuditlog): + + def setUp(self): + super(TestAuditlogFull, self).setUp() + self.groups_model_id = self.env.ref('base.model_res_groups').id + self.groups_rule = self.env['auditlog.rule'].create({ + 'name': 'testrule for groups', + 'model_id': self.groups_model_id, + 'log_read': True, + 'log_create': True, + 'log_write': True, + 'log_unlink': True, + 'state': 'subscribed', + 'log_type': 'full', + }) + + def tearDown(self): + self.groups_rule.unlink() + super(TestAuditlogFull, self).tearDown() + + +class TestAuditlogFast(TransactionCase, TestAuditlog): + + def setUp(self): + super(TestAuditlogFast, self).setUp() + self.groups_model_id = self.env.ref('base.model_res_groups').id + self.groups_rule = self.env['auditlog.rule'].create({ + 'name': 'testrule for groups', + 'model_id': self.groups_model_id, + 'log_read': True, + 'log_create': True, + 'log_write': True, + 'log_unlink': True, + 'state': 'subscribed', + 'log_type': 'fast', + }) + + def tearDown(self): + self.groups_rule.unlink() + super(TestAuditlogFast, self).tearDown() diff --git a/auditlog/tests/test_autovacuum.py b/auditlog/tests/test_autovacuum.py new file mode 100644 index 00000000000..720e93e4550 --- /dev/null +++ b/auditlog/tests/test_autovacuum.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# © 2016 ABF OSIELL +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import time + +from openerp.tests.common import TransactionCase + + +class TestAuditlogAutovacuum(TransactionCase): + + def setUp(self): + super(TestAuditlogAutovacuum, self).setUp() + self.groups_model_id = self.env.ref('base.model_res_groups').id + self.groups_rule = self.env['auditlog.rule'].create({ + 'name': 'testrule for groups', + 'model_id': self.groups_model_id, + 'log_read': True, + 'log_create': True, + 'log_write': True, + 'log_unlink': True, + 'state': 'subscribed', + 'log_type': 'full', + }) + + def tearDown(self): + self.groups_rule.unlink() + super(TestAuditlogAutovacuum, self).tearDown() + + def test_autovacuum(self): + log_model = self.env['auditlog.log'] + autovacuum_model = self.env['auditlog.autovacuum'] + group = self.env['res.groups'].create({ + 'name': 'testgroup1', + }) + nb_logs = log_model.search_count([ + ('model_id', '=', self.groups_model_id), + ('res_id', '=', group.id), + ]) + self.assertGreater(nb_logs, 0) + # Milliseconds are ignored by autovacuum, waiting 1s ensure that + # the logs generated will be processed by the vacuum + time.sleep(1) + autovacuum_model.autovacuum(days=0) + nb_logs = log_model.search_count([ + ('model_id', '=', self.groups_model_id), + ('res_id', '=', group.id), + ]) + self.assertEqual(nb_logs, 0) diff --git a/auditlog/views/auditlog_view.xml b/auditlog/views/auditlog_view.xml index 5bf2132cb47..aa7bf354b27 100644 --- a/auditlog/views/auditlog_view.xml +++ b/auditlog/views/auditlog_view.xml @@ -3,7 +3,7 @@ @@ -26,6 +26,7 @@ + @@ -33,15 +34,8 @@ - - - @@ -54,12 +48,11 @@ + - - @@ -110,6 +103,7 @@ + @@ -117,6 +111,10 @@ + + + +
@@ -182,6 +180,12 @@ + + diff --git a/auditlog/views/http_request_view.xml b/auditlog/views/http_request_view.xml new file mode 100644 index 00000000000..2169ed0f9ad --- /dev/null +++ b/auditlog/views/http_request_view.xml @@ -0,0 +1,82 @@ + + + + + + auditlog.http.request.form + auditlog.http.request + + + + + + + + + + + + + + + + + + + + auditlog.http.request.tree + auditlog.http.request + + + + + + + + + + + auditlog.http.request.search + auditlog.http.request + + + + + + + + + + + + + + + + + + + + HTTP Requests + ir.actions.act_window + auditlog.http.request + form + + + + + + + diff --git a/auditlog/views/http_session_view.xml b/auditlog/views/http_session_view.xml new file mode 100644 index 00000000000..942da68af9d --- /dev/null +++ b/auditlog/views/http_session_view.xml @@ -0,0 +1,69 @@ + + + + + + auditlog.http.session.form + auditlog.http.session + +
+ + + + + + + + + + +
+
+
+ + + auditlog.http.session.tree + auditlog.http.session + + + + + + + + + + + auditlog.http.session.search + auditlog.http.session + + + + + + + + + + + + + + + User sessions + ir.actions.act_window + auditlog.http.session + form + + + + + +
+