Skip to content

Commit cfbe53e

Browse files
sebalixmstuttgart
authored andcommitted
auditlog - Icon added + README updated (screenshots)
1 parent 12a7315 commit cfbe53e

File tree

19 files changed

+44
-197
lines changed

19 files changed

+44
-197
lines changed

auditlog/README.rst

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,26 @@ Usage
1313
=====
1414

1515
Go to `Reporting / Audit / Rules` to subscribe rules. A rule defines which
16-
operations to log for a given data model.
17-
Then, check logs in the `Reporting / Audit / Logs` menu.
16+
operations to log for a given data model:
17+
18+
.. image:: /auditlog/static/description/rule.png
19+
20+
Then, check logs in the `Reporting / Audit / Logs` menu. You can group them by
21+
user sessions, date, data model or HTTP requests:
22+
23+
.. image:: /auditlog/static/description/logs.png
24+
25+
Get the details:
26+
27+
.. image:: /auditlog/static/description/log.png
1828

1929
A scheduled action exists to delete logs older than 6 months (180 days)
2030
automatically but is not enabled by default.
2131
To activate it and/or change the delay, go to the
2232
`Configuration / Technical / Automation / Scheduled Actions` menu and edit the
23-
`Auto-vacuum audit logs` entry.
33+
`Auto-vacuum audit logs` entry:
34+
35+
.. image:: /auditlog/static/description/autovacuum.png
2436

2537
During installation, a one-time script will migrate any existing data from the
2638
`audittrail` module (rules and logs).
@@ -49,6 +61,11 @@ Contributors
4961
* Sebastien Alix <[email protected]>
5062
* Holger Brunn <[email protected]>
5163

64+
Images
65+
------
66+
67+
* Icon: built with different icons from the `Oxygen theme <https://en.wikipedia.org/wiki/Oxygen_Project>`_ (LGPL)
68+
5269
Maintainer
5370
----------
5471

auditlog/__init__.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2013 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
from . import models
236

auditlog/__manifest__.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2013 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
{
236
'name': "Audit Log",

auditlog/migrations/8.0.1.0/pre-migration.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# This module copyright (C) 2015 Therp BV (<http://therp.nl>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 Therp BV <http://therp.nl>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214
from openerp.addons.auditlog import migrate_from_audittrail
225

236

auditlog/models/__init__.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2013 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
from . import rule
236
from . import http_session

auditlog/models/autovacuum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
# © 2016 ABF OSIELL SARL, Sebastien Alix (http://osiell.com)
3-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2+
# © 2016 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
44
import logging
55
from datetime import datetime, timedelta
66

auditlog/models/http_request.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2015 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
from openerp import models, fields, api
236
from openerp.http import request

auditlog/models/http_session.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2015 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
from openerp import models, fields, api
236
from openerp.http import request

auditlog/models/log.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2013 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214
from openerp import models, fields
225

236

auditlog/models/rule.py

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
##############################################################################
3-
#
4-
# OpenERP, Open Source Management Solution
5-
# Copyright (C) 2013 ABF OSIELL (<http://osiell.com>).
6-
#
7-
# This program is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU Affero General Public License as
9-
# published by the Free Software Foundation, either version 3 of the
10-
# License, or (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU Affero General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU Affero General Public License
18-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19-
#
20-
##############################################################################
2+
# © 2015 ABF OSIELL <http://osiell.com>
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
214

225
from openerp import models, fields, api, modules, _, SUPERUSER_ID, sql_db
236

0 commit comments

Comments
 (0)