invenio-audit-logs 1.0.0.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. invenio_audit_logs-1.0.0.dev0/.dockerignore +15 -0
  2. invenio_audit_logs-1.0.0.dev0/.editorconfig +40 -0
  3. invenio_audit_logs-1.0.0.dev0/.github/workflows/pypi-publish.yml +21 -0
  4. invenio_audit_logs-1.0.0.dev0/.github/workflows/tests.yml +36 -0
  5. invenio_audit_logs-1.0.0.dev0/.tx/config +32 -0
  6. invenio_audit_logs-1.0.0.dev0/AUTHORS.rst +13 -0
  7. invenio_audit_logs-1.0.0.dev0/CHANGES.rst +13 -0
  8. invenio_audit_logs-1.0.0.dev0/CONTRIBUTING.rst +118 -0
  9. invenio_audit_logs-1.0.0.dev0/INSTALL.rst +8 -0
  10. invenio_audit_logs-1.0.0.dev0/LICENSE +21 -0
  11. invenio_audit_logs-1.0.0.dev0/MANIFEST.in +35 -0
  12. invenio_audit_logs-1.0.0.dev0/PKG-INFO +78 -0
  13. invenio_audit_logs-1.0.0.dev0/README.md +1 -0
  14. invenio_audit_logs-1.0.0.dev0/README.rst +29 -0
  15. invenio_audit_logs-1.0.0.dev0/babel.ini +22 -0
  16. invenio_audit_logs-1.0.0.dev0/docs/Makefile +192 -0
  17. invenio_audit_logs-1.0.0.dev0/docs/api.rst +19 -0
  18. invenio_audit_logs-1.0.0.dev0/docs/authors.rst +9 -0
  19. invenio_audit_logs-1.0.0.dev0/docs/changes.rst +9 -0
  20. invenio_audit_logs-1.0.0.dev0/docs/conf.py +324 -0
  21. invenio_audit_logs-1.0.0.dev0/docs/configuration.rst +13 -0
  22. invenio_audit_logs-1.0.0.dev0/docs/contributing.rst +9 -0
  23. invenio_audit_logs-1.0.0.dev0/docs/index.rst +47 -0
  24. invenio_audit_logs-1.0.0.dev0/docs/installation.rst +9 -0
  25. invenio_audit_logs-1.0.0.dev0/docs/license.rst +10 -0
  26. invenio_audit_logs-1.0.0.dev0/docs/make.bat +263 -0
  27. invenio_audit_logs-1.0.0.dev0/docs/requirements.txt +1 -0
  28. invenio_audit_logs-1.0.0.dev0/docs/usage.rst +12 -0
  29. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/__init__.py +18 -0
  30. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/alembic/1743073617_create_audit_logs_branch.py +27 -0
  31. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/alembic/1743073720_create_audit_logs_table.py +57 -0
  32. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/config.py +42 -0
  33. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/ext.py +47 -0
  34. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/proxies.py +16 -0
  35. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/__init__.py +12 -0
  36. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/api.py +51 -0
  37. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/models.py +27 -0
  38. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/templates/__init__.py +10 -0
  39. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/templates/os-v1/__init__.py +8 -0
  40. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/templates/os-v1/datastream-auditlog-v1.0.0.json +73 -0
  41. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/templates/os-v2/__init__.py +8 -0
  42. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/records/templates/os-v2/datastream-auditlog-v1.0.0.json +73 -0
  43. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/resources/__init__.py +17 -0
  44. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/resources/config.py +57 -0
  45. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/resources/resource.py +68 -0
  46. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/__init__.py +18 -0
  47. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/config.py +109 -0
  48. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/generators.py +24 -0
  49. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/permissions.py +24 -0
  50. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/results.py +113 -0
  51. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/schema.py +140 -0
  52. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/service.py +88 -0
  53. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/services/uow.py +31 -0
  54. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs/views.py +18 -0
  55. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/PKG-INFO +78 -0
  56. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/SOURCES.txt +70 -0
  57. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/dependency_links.txt +1 -0
  58. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/entry_points.txt +18 -0
  59. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/not-zip-safe +1 -0
  60. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/requires.txt +23 -0
  61. invenio_audit_logs-1.0.0.dev0/invenio_audit_logs.egg-info/top_level.txt +1 -0
  62. invenio_audit_logs-1.0.0.dev0/pyproject.toml +4 -0
  63. invenio_audit_logs-1.0.0.dev0/run-tests.sh +32 -0
  64. invenio_audit_logs-1.0.0.dev0/setup.cfg +102 -0
  65. invenio_audit_logs-1.0.0.dev0/setup.py +12 -0
  66. invenio_audit_logs-1.0.0.dev0/tests/conftest.py +28 -0
  67. invenio_audit_logs-1.0.0.dev0/tests/services/__init__.py +9 -0
  68. invenio_audit_logs-1.0.0.dev0/tests/services/conftest.py +73 -0
  69. invenio_audit_logs-1.0.0.dev0/tests/services/test_service.py +84 -0
  70. invenio_audit_logs-1.0.0.dev0/tests/test_alembic.py +43 -0
  71. invenio_audit_logs-1.0.0.dev0/tests/test_invenio_audit_logs.py +32 -0
@@ -0,0 +1,15 @@
1
+ .git
2
+ *.gitignore
3
+
4
+ *.mo
5
+ *.pyc
6
+ *.swp
7
+ *.swo
8
+ *.~
9
+
10
+ .dockerignore
11
+ Dockerfile
12
+ docker-compose.yml
13
+ docker-compose-dev.yml
14
+
15
+ Procfile*
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+ root = true
9
+
10
+ [*]
11
+ indent_style = space
12
+ end_of_line = lf
13
+ insert_final_newline = true
14
+ trim_trailing_whitespace = true
15
+ charset = utf-8
16
+
17
+ # Python files
18
+ [*.py]
19
+ indent_size = 4
20
+ # isort plugin configuration
21
+ known_first_party = invenio_audit_logs
22
+ multi_line_output = 2
23
+ default_section = THIRDPARTY
24
+ skip = .eggs
25
+
26
+ # RST files (used by sphinx)
27
+ [*.rst]
28
+ indent_size = 4
29
+
30
+ # CSS, HTML, JS, JSON, YML
31
+ [*.{css,html,js,json,yml}]
32
+ indent_size = 2
33
+
34
+ # Matches the exact files either package.json or .github/workflows/*.yml
35
+ [{package.json,.github/workflows/*.yml}]
36
+ indent_size = 2
37
+
38
+ # Dockerfile
39
+ [Dockerfile]
40
+ indent_size = 4
@@ -0,0 +1,21 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+
9
+ name: Publish
10
+
11
+ on:
12
+ push:
13
+ tags:
14
+ - v*
15
+
16
+ jobs:
17
+ build-n-publish:
18
+ uses: inveniosoftware/workflows/.github/workflows/pypi-publish.yml@master
19
+ secrets: inherit
20
+ with:
21
+ babel-compile-catalog: false
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+
9
+ name: CI
10
+
11
+ on:
12
+ push:
13
+ branches:
14
+ - master
15
+ - "feature/*"
16
+ - "maint-**"
17
+ pull_request:
18
+ branches:
19
+ - master
20
+ - "maint-**"
21
+ - "feature/**"
22
+ schedule:
23
+ # * is a special character in YAML so you have to quote this string
24
+ - cron: "0 3 * * 6"
25
+ workflow_dispatch:
26
+ inputs:
27
+ reason:
28
+ description: "Reason"
29
+ required: false
30
+ default: "Manual trigger"
31
+
32
+ jobs:
33
+ Python:
34
+ uses: inveniosoftware/workflows/.github/workflows/tests-python.yml@master
35
+ with:
36
+ extras: "tests"
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+ # TODO: Transifex integration
9
+ #
10
+ # 1) Create message catalog:
11
+ # $ python setup.py extract_messages
12
+ # $ python setup.py init_catalog -l <lang>
13
+ # $ python setup.py compile_catalog
14
+ # 2) Ensure project has been created on Transifex under the inveniosoftware
15
+ # organisation.
16
+ # 3) Install the transifex-client
17
+ # $ pip install transifex-client
18
+ # 4) Push source (.pot) and translations (.po) to Transifex
19
+ # $ tx push -s -t
20
+ # 5) Pull translations for a single language from Transifex
21
+ # $ tx pull -l <lang>
22
+ # 6) Pull translations for all languages from Transifex
23
+ # $ tx pull -a
24
+
25
+ [main]
26
+ host = https://www.transifex.com
27
+
28
+ [invenio.invenio-audit-logs-messages]
29
+ file_filter = invenio_audit_logs/translations/<lang>/LC_MESSAGES/messages.po
30
+ source_file = invenio_audit_logs/translations/messages.pot
31
+ source_lang = en
32
+ type = PO
@@ -0,0 +1,13 @@
1
+ ..
2
+ Copyright (C) 2025 CERN.
3
+
4
+ Invenio-Audit-Logs is free software; you can redistribute it and/or
5
+ modify it under the terms of the MIT License; see LICENSE file for more
6
+ details.
7
+
8
+ Authors
9
+ =======
10
+
11
+ Module providing audit logging features for Invenio.
12
+
13
+ - CERN <info@inveniosoftware.org>
@@ -0,0 +1,13 @@
1
+ ..
2
+ Copyright (C) 2025 CERN.
3
+
4
+ Invenio-Audit-Logs is free software; you can redistribute it and/or
5
+ modify it under the terms of the MIT License; see LICENSE file for more
6
+ details.
7
+
8
+ Changes
9
+ =======
10
+
11
+ Version 1.0.0.dev0 (released 2025-04-28)
12
+
13
+ - Initial dev release.
@@ -0,0 +1,118 @@
1
+ Contributing
2
+ ============
3
+
4
+ Contributions are welcome, and they are greatly appreciated! Every
5
+ little bit helps, and credit will always be given.
6
+
7
+ Types of Contributions
8
+ ----------------------
9
+
10
+ Report Bugs
11
+ ~~~~~~~~~~~
12
+
13
+ Report bugs at https://github.com/inveniosoftware/invenio-audit-logs/issues.
14
+
15
+ If you are reporting a bug, please include:
16
+
17
+ * Your operating system name and version.
18
+ * Any details about your local setup that might be helpful in troubleshooting.
19
+ * Detailed steps to reproduce the bug.
20
+
21
+ Fix Bugs
22
+ ~~~~~~~~
23
+
24
+ Look through the GitHub issues for bugs. Anything tagged with "bug"
25
+ is open to whoever wants to implement it.
26
+
27
+ Implement Features
28
+ ~~~~~~~~~~~~~~~~~~
29
+
30
+ Look through the GitHub issues for features. Anything tagged with "feature"
31
+ is open to whoever wants to implement it.
32
+
33
+ Write Documentation
34
+ ~~~~~~~~~~~~~~~~~~~
35
+
36
+ Invenio-Audit-Logs could always use more documentation, whether as part of the
37
+ official Invenio-Audit-Logs docs, in docstrings, or even on the web in blog posts,
38
+ articles, and such.
39
+
40
+ Submit Feedback
41
+ ~~~~~~~~~~~~~~~
42
+
43
+ The best way to send feedback is to file an issue at
44
+ https://github.com/inveniosoftware/invenio-audit-logs/issues.
45
+
46
+ If you are proposing a feature:
47
+
48
+ * Explain in detail how it would work.
49
+ * Keep the scope as narrow as possible, to make it easier to implement.
50
+ * Remember that this is a volunteer-driven project, and that contributions
51
+ are welcome :)
52
+
53
+ Get Started!
54
+ ------------
55
+
56
+ Ready to contribute? Here's how to set up `invenio-audit-logs` for local development.
57
+
58
+ 1. Fork the `inveniosoftware/invenio-audit-logs` repo on GitHub.
59
+ 2. Clone your fork locally:
60
+
61
+ .. code-block:: console
62
+
63
+ $ git clone git@github.com:your_name_here/invenio-audit-logs.git
64
+
65
+ 3. Install your local copy into a virtualenv. Assuming you have
66
+ virtualenvwrapper installed, this is how you set up your fork for local
67
+ development:
68
+
69
+ .. code-block:: console
70
+
71
+ $ mkvirtualenv invenio-audit-logs
72
+ $ cd invenio-audit-logs/
73
+ $ pip install -e .[all]
74
+
75
+ 4. Create a branch for local development:
76
+
77
+ .. code-block:: console
78
+
79
+ $ git checkout -b name-of-your-bugfix-or-feature
80
+
81
+ Now you can make your changes locally.
82
+
83
+ 5. When you're done making changes, check that your changes pass tests:
84
+
85
+ .. code-block:: console
86
+
87
+ $ ./run-tests.sh
88
+
89
+ The tests will provide you with test coverage and also check PEP8
90
+ (code style), PEP257 (documentation), flake8 as well as build the Sphinx
91
+ documentation and run doctests.
92
+
93
+ 6. Commit your changes and push your branch to GitHub:
94
+
95
+ .. code-block:: console
96
+
97
+ $ git add .
98
+ $ git commit -s
99
+ -m "component: title without verbs"
100
+ -m "* NEW Adds your new feature."
101
+ -m "* FIX Fixes an existing issue."
102
+ -m "* BETTER Improves and existing feature."
103
+ -m "* Changes something that should not be visible in release notes."
104
+ $ git push origin name-of-your-bugfix-or-feature
105
+
106
+ 7. Submit a pull request through the GitHub website.
107
+
108
+ Pull Request Guidelines
109
+ -----------------------
110
+
111
+ Before you submit a pull request, check that it meets these guidelines:
112
+
113
+ 1. The pull request should include tests and must not decrease test coverage.
114
+ 2. If the pull request adds functionality, the docs should be updated. Put
115
+ your new functionality into a function with a docstring.
116
+ 3. The pull request should work for Python 3.6, 3.7, 3.8 and 3.9. Check
117
+ https://github.com/inveniosoftware/inveniosoftware/invenio-audit-logs/actions?query=event%3Apull_request
118
+ and make sure that the tests pass for all supported Python versions.
@@ -0,0 +1,8 @@
1
+ Installation
2
+ ============
3
+
4
+ Invenio-Audit-Logs is on PyPI so all you need is:
5
+
6
+ .. code-block:: console
7
+
8
+ $ pip install invenio-audit-logs
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Invenio digital repository framework
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+ # TODO: Generate this manifest file by running the following commands:
9
+ # (please sort the lines in this file after running below commands)
10
+ #
11
+ # git init
12
+ # git add -A
13
+ # pip install -e .[all]
14
+ # check-manifest -u
15
+
16
+ include .dockerignore
17
+ include .editorconfig
18
+ include .tx/config
19
+ prune docs/_build
20
+ recursive-include .github/workflows *.yml
21
+ recursive-include invenio_audit_logs/translations *.po *.pot *.mo
22
+
23
+ # added by check-manifest
24
+ include *.md
25
+ include *.rst
26
+ include *.sh
27
+ include babel.ini
28
+ recursive-include docs *.bat
29
+ recursive-include docs *.py
30
+ recursive-include docs *.rst
31
+ recursive-include docs *.txt
32
+ recursive-include docs Makefile
33
+ recursive-include invenio_audit_logs *.json
34
+ recursive-include invenio_audit_logs *.py
35
+ recursive-include tests *.py
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.4
2
+ Name: invenio-audit-logs
3
+ Version: 1.0.0.dev0
4
+ Summary: Module providing audit logging features for Invenio.
5
+ Home-page: https://github.com/inveniosoftware/invenio-audit-logs
6
+ Author: CERN
7
+ Author-email: info@inveniosoftware.org
8
+ License: MIT
9
+ Keywords: invenio TODO
10
+ Platform: any
11
+ Classifier: Development Status :: 1 - Planning
12
+ Requires-Python: >=3.8
13
+ License-File: LICENSE
14
+ License-File: AUTHORS.rst
15
+ Requires-Dist: invenio-base<3.0.0,>=2.0.0
16
+ Requires-Dist: invenio-i18n<4.0.0,>=3.0.0
17
+ Requires-Dist: invenio-indexer<4.0.0,>=3.1.0
18
+ Requires-Dist: invenio-records-resources<8.0.0,>=7.0.0
19
+ Requires-Dist: invenio-administration<4.0.0,>=3.1.0
20
+ Requires-Dist: invenio-accounts<7.0.0,>=6.0.0
21
+ Provides-Extra: tests
22
+ Requires-Dist: pytest-black-ng>=0.4.0; extra == "tests"
23
+ Requires-Dist: pytest-invenio<4.0.0,>=3.0.0; extra == "tests"
24
+ Requires-Dist: invenio-db<3.0.0,>=2.0.0; extra == "tests"
25
+ Requires-Dist: invenio-app<3.0.0,>=2.1.0; extra == "tests"
26
+ Requires-Dist: invenio-indexer<4.0.0,>=3.1.0; extra == "tests"
27
+ Requires-Dist: Sphinx>=4.5.0; extra == "tests"
28
+ Provides-Extra: elasticsearch7
29
+ Requires-Dist: invenio-search[elasticsearch7]<4.0.0,>=3.0.0; extra == "elasticsearch7"
30
+ Provides-Extra: opensearch1
31
+ Requires-Dist: invenio-search[opensearch1]<4.0.0,>=3.0.0; extra == "opensearch1"
32
+ Provides-Extra: opensearch2
33
+ Requires-Dist: invenio-search[opensearch2]<4.0.0,>=3.0.0; extra == "opensearch2"
34
+ Dynamic: license-file
35
+
36
+ ..
37
+ Copyright (C) 2025 CERN.
38
+
39
+ Invenio-Audit-Logs is free software; you can redistribute it and/or
40
+ modify it under the terms of the MIT License; see LICENSE file for more
41
+ details.
42
+
43
+ ====================
44
+ Invenio-Audit-Logs
45
+ ====================
46
+
47
+ .. image:: https://github.com/inveniosoftware/invenio-audit-logs/workflows/CI/badge.svg
48
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/actions?query=workflow%3ACI
49
+
50
+ .. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-audit-logs.svg
51
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/releases
52
+
53
+ .. image:: https://img.shields.io/pypi/dm/invenio-audit-logs.svg
54
+ :target: https://pypi.python.org/pypi/invenio-audit-logs
55
+
56
+ .. image:: https://img.shields.io/github/license/inveniosoftware/invenio-audit-logs.svg
57
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/blob/master/LICENSE
58
+
59
+ Module providing audit logging features for Invenio.
60
+
61
+ TODO: Please provide feature overview of module
62
+
63
+ Further documentation is available on
64
+ https://invenio-audit-logs.readthedocs.io/
65
+
66
+ ..
67
+ Copyright (C) 2025 CERN.
68
+
69
+ Invenio-Audit-Logs is free software; you can redistribute it and/or
70
+ modify it under the terms of the MIT License; see LICENSE file for more
71
+ details.
72
+
73
+ Changes
74
+ =======
75
+
76
+ Version 1.0.0.dev0 (released 2025-04-28)
77
+
78
+ - Initial dev release.
@@ -0,0 +1 @@
1
+ # invenio-audit-logs
@@ -0,0 +1,29 @@
1
+ ..
2
+ Copyright (C) 2025 CERN.
3
+
4
+ Invenio-Audit-Logs is free software; you can redistribute it and/or
5
+ modify it under the terms of the MIT License; see LICENSE file for more
6
+ details.
7
+
8
+ ====================
9
+ Invenio-Audit-Logs
10
+ ====================
11
+
12
+ .. image:: https://github.com/inveniosoftware/invenio-audit-logs/workflows/CI/badge.svg
13
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/actions?query=workflow%3ACI
14
+
15
+ .. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-audit-logs.svg
16
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/releases
17
+
18
+ .. image:: https://img.shields.io/pypi/dm/invenio-audit-logs.svg
19
+ :target: https://pypi.python.org/pypi/invenio-audit-logs
20
+
21
+ .. image:: https://img.shields.io/github/license/inveniosoftware/invenio-audit-logs.svg
22
+ :target: https://github.com/inveniosoftware/invenio-audit-logs/blob/master/LICENSE
23
+
24
+ Module providing audit logging features for Invenio.
25
+
26
+ TODO: Please provide feature overview of module
27
+
28
+ Further documentation is available on
29
+ https://invenio-audit-logs.readthedocs.io/
@@ -0,0 +1,22 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2025 CERN.
4
+ #
5
+ # Invenio-Audit-Logs is free software; you can redistribute it and/or modify
6
+ # it under the terms of the MIT License; see LICENSE file for more details.
7
+
8
+ # Extraction from Python source files
9
+
10
+ [python: **.py]
11
+ encoding = utf-8
12
+
13
+ # Extraction from Jinja2 templates
14
+
15
+ [jinja2: **/templates/**.html]
16
+ encoding = utf-8
17
+
18
+ # Extraction from JavaScript files
19
+
20
+ [javascript: **.js]
21
+ encoding = utf-8
22
+ extract_messages = $._, jQuery._