Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 8 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 CERN.
# Copyright (C) 2019 Northwestern University.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2019 CERN.
# SPDX-FileCopyrightText: 2019 Northwestern University.
# SPDX-FileCopyrightText: 2026 TU Wien.
# SPDX-License-Identifier: MIT

root = true

Expand All @@ -15,6 +12,10 @@ insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

# Align TOML indenting with Tombi
[*.toml]
indent_size = 2

# RST files (used by sphinx)
[*.rst]
indent_size = 4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/i18n-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
uses: inveniosoftware/invenio-i18n/.github/workflows/i18n-push-base.yml@master
with:
extract-backend: true
backend-package-path: invenio_app_rdm
frontend-package-path: invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
secrets: inherit
with:
babel-compile-catalog: true
backend-package-path: invenio_app_rdm
1 change: 0 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ jobs:
stale-pr-message: 'This PR was automatically marked as stale.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var/
.venv/
Pipfile
Pipfile.lock
uv.lock

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down Expand Up @@ -73,4 +74,4 @@ target/

# node modules
**/*/node_modules
node_modules
node_modules
6 changes: 3 additions & 3 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

# Translate python strings
# 1) Create message catalog:
# $ python setup.py extract_messages
# $ python setup.py init_catalog -l <lang>
# $ python setup.py compile_catalog
# $ pybabel extract -F pyproject.toml -o invenio_app_rdm/translations/messages.pot invenio_app_rdm
# $ pybabel init -i invenio_app_rdm/translations/messages.pot -d invenio_app_rdm/translations -l <lang>
# $ pybabel compile -d invenio_app_rdm/translations --use-fuzzy
# 2) Ensure project has been created on Transifex under the invenio-app-rdm
# organisation.
# 3) Install the transifex-client
Expand Down
12 changes: 5 additions & 7 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
..
Copyright (C) 2019-2025 CERN.
Copyright (C) 2019-2024 Northwestern University.
Copyright (C) 2021-2024 TU Wien.
Copyright (C) 2021-2026 Graz University of Technology.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019-2025 CERN.
SPDX-FileCopyrightText: 2019-2024 Northwestern University.
SPDX-FileCopyrightText: 2021-2024 TU Wien.
SPDX-FileCopyrightText: 2021-2026 Graz University of Technology.
SPDX-License-Identifier: MIT

Changes
=======
Expand Down
8 changes: 3 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2020 CERN.
Copyright (C) 2020-2025 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2020 CERN.
SPDX-FileCopyrightText: 2020-2025 Northwestern University.
SPDX-License-Identifier: MIT

Contributing
============
Expand Down
8 changes: 3 additions & 5 deletions INSTALL.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT

Installation
============
Expand Down
56 changes: 0 additions & 56 deletions MANIFEST.in

This file was deleted.

8 changes: 3 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT

=================
Invenio App RDM
Expand Down
16 changes: 0 additions & 16 deletions babel.ini

This file was deleted.

8 changes: 3 additions & 5 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


API Docs
Expand Down
8 changes: 3 additions & 5 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


.. include:: ../CHANGES.rst
10 changes: 3 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 CERN.
# Copyright (C) 2022 Graz University of Technology.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2019 CERN.
# SPDX-FileCopyrightText: 2022 Graz University of Technology.
# SPDX-License-Identifier: MIT

"""Sphinx configuration."""

Expand Down
8 changes: 3 additions & 5 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


Configuration
Expand Down
8 changes: 3 additions & 5 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


.. include:: ../CONTRIBUTING.rst
8 changes: 3 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019-2025 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019-2025 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


.. include:: ../README.rst
Expand Down
8 changes: 3 additions & 5 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


.. include:: ../INSTALL.rst
8 changes: 3 additions & 5 deletions docs/usage.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
..
Copyright (C) 2019 CERN.
Copyright (C) 2019 Northwestern University.

Invenio App RDM is free software; you can redistribute it and/or modify
it under the terms of the MIT License; see LICENSE file for more details.
SPDX-FileCopyrightText: 2019 CERN.
SPDX-FileCopyrightText: 2019 Northwestern University.
SPDX-License-Identifier: MIT


Usage
Expand Down
12 changes: 4 additions & 8 deletions invenio_app_rdm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019-2026 CERN.
# Copyright (C) 2019-2022 Northwestern University.
# Copyright (C) 2024-2026 Graz University of Technology.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2019-2026 CERN.
# SPDX-FileCopyrightText: 2019-2022 Northwestern University.
# SPDX-FileCopyrightText: 2024-2026 Graz University of Technology.
# SPDX-License-Identifier: MIT

"""Invenio App RDM."""

Expand Down
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2023 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2023 CERN.
# SPDX-License-Identifier: MIT

"""Invenio app rdm administration module."""
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/audit_logs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2025 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2025 CERN.
# SPDX-License-Identifier: MIT

"""Audit logs administration module."""

Expand Down
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/audit_logs/audit_logs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2025 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2025 CERN.
# SPDX-License-Identifier: MIT

"""Invenio administration view module for audit logs."""

Expand Down
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/domains/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2024 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2024 CERN.
# SPDX-License-Identifier: MIT

"""Invenio administration module for user resources."""

Expand Down
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/domains/domains.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2024 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2024 CERN.
# SPDX-License-Identifier: MIT

"""Invenio administration domains view module."""

Expand Down
8 changes: 2 additions & 6 deletions invenio_app_rdm/administration/moderation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2025 CERN.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# SPDX-FileCopyrightText: 2025 CERN.
# SPDX-License-Identifier: MIT
"""Requests moderation administration module."""

from .requests import ModerationRequestDetailView, ModerationRequestListView
Expand Down
Loading
Loading