invenio-theme-tuw


Nameinvenio-theme-tuw JSON
Version 2024.1.1 PyPI version JSON
download
home_pagehttps://gitlab.tuwien.ac.at/fairdata/invenio-theme-tuw
Summary"TU Wien theme for Invenio (RDM)."
upload_time2024-03-14 10:40:24
maintainer
docs_urlNone
authorTU Wien
requires_python>=3.7
licenseMIT
keywords invenio theme tuw
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2020 - 2021 TU Wien.

    Invenio-Theme-TUW is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

===================
 Invenio-Theme-TUW
===================

This module provides templates and assets to bring a TU Wien look and feel to InvenioRDM.


Installation
------------

After installing Invenio-Theme-TUW via `pip`, Invenio's assets have to be updated:

.. code-block:: console

   $ pip install invenio-theme-tuw
   $ invenio-cli assets update

Also, theming-related configuration items (e.g. `THEME_LOGO`) have to be removed from `invenio.cfg` to prevent them
from overriding the values set in `Invenio-Theme-TUW`.


Components
----------

* `views.py`: provides a `Blueprint` that registers both the `static/` and `templates/` folders to be usable by Invenio
* `webpack.py`: registers the front-end assets (in the `assets/` folder) to webpack
* `config.py`: overrides several configuration items related to theming Invenio


..
    Copyright (C) 2020-2024 TU Wien.

    Invenio-Theme-TUW is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

Changes
=======

Version 2024.1 (released 2024-03-01, updated 2024-03-14)

- Views: add status code in guards' response
- Add automated tests


Version 2023.2 (released 2023-04-24, updated 2023-12-22)

- v11 compat: Update templates and frontend build project
- Remove PDF preview override, as it has been merged upstream
- Rework "contact uploader" feature to a dedicated contact form
- Distribute ``.jinja`` files with releases
- Update PyPI publication flow
- Partially prefill "contact uploader" form on authenticated users
- Add FAIRsharing logo to the footer and readjust CSS grid
- Add rate limiting for the "contact uploader" feature
- Add a feature flag for enabling/disabling the feature
- Hide the contact form link when viewing one's own records' landing pages
- Optionally add the specified email address to CC (disabled by default)
- Preserve message formatting in HTML emails
- Remove "Fair Data Austria" logo from the footer and readjust CSS grid
- Add TU Wien logo to static assets
- Frontpage: Add link to the CRDM
- Prepare the repository for seasonal weather
- Add user settings page about record curation


Version 2023.1 (released 2023-01-13, updated 2023-04-24)

- Display the record's first uploaders on the landing pages
- Fix the draft preview page failing with a 404 code
- Update links to policies
- UI: fix header warning styling and improve permission guard pages
- UI: rework deposit permission guard page text
- UI: further improve deposit permission guard page text and modify its header icon
- Footer: Improve layout and responsiveness on smaller screens
- Fix naming of grid classes in css to avoid overlaps with `semantic-ui-less`
- UI: remove reference to test instance from deposit guard page
- Add possibility to a render an info box in the frontpage


Version 2022.6 (released 2022-10-17, updated 2022-11-30)

- v10 compat: Replace direct 'elasticsearch' import
- v10 compat: Load and pass ``custom_fields`` in ``communities_new`` view function
- Override ``app.config`` to specially handle our ``SITE_{API,UI}_URL`` config items
- Remove the ``communities_new`` override
- Remove "under development" text in frontpage
- Render missing flashed messages
- Rework the initialization procedure used for some custom overrides
- Migrate from setup.py to setup.cfg
- Remove old documents
- Hide the privacy policy for now, until it is accepted and published centrally
- Move Flask config override from Invenio-Theme-TUW to Invenio-Config-TUW
- Disable Matomo integration by default
- Use fallback system font during initial page load
- Update footer logos, links and file links


Version 2022.5 (released 2022-09-06, updated 2022-10-11)

- Add surrounding element to the recent uploads on the frontpage
- Some styling fixes
- Add config variable for Matomo site ID
- Rework the staging warning into a more general customizable warning
- Make the input element sizing on the deposit page more uniform
- Update the contact page
- Self-serve Google fonts used for the TUW corporate design
- Fix missing search bar in results page
- Remove inline styling from templates
- Add total record count to the search bar placeholder
- Scale down hero images
- Add possibility to a render a warning box in the frontpage


Version 2022.4 (released 2022-07-19, updated 2022-08-25)

- v9 compat: Chase upstream changes in our overridden templates
- v9 compat: Add permission guard page for community creation
- Add config variable for the FAQ link
- Remove unnecessary/outdated template and JS overrides
- Refactor directory structure for remaining template overrides
- Add comments marking the changes and their reasons in remaining overrides
- UI enhancements for mobile (side bar and communities frontpage)
- Reverse contents of CHANGES.rst (recent changes are shown on top)
- Fix wrong route in deposit guard template
- Update description in frontpage
- Override the ``communities_new`` view function (to support ``LocalProxy`` objects as ``SITE_UI_URL``)


Version 2022.3 (released 2022-03-11, updated 2022-07-14)

- Make the theme compatible with the v8 release of InvenioRDM
- Fix some styling issues
- Fix race conditions regarding blueprint overrides during init phase
- Add layer of protection around the deposit pages
- Update text on frontpage and contact page
- Reformat jinja templates
- Add tombstone page for Florian
- Refactor the module to actually play nice with InvenioRDM v8


Version 2022.2 (released 2022-02-07)

- Rebrand to 'TU Data Repository'
- Adjust Recent Uploads
- 'More'-button added to frontpage


Version 2022.1 (released 2022-01-26)

- Frontpage lists recent uploads
- Display creators of records nicely on frontpage
- Restyled Records on frontpage


Version 2021.11 (released 2022-01-05)

- Make ready for InvenioRDM v7 and Flask 2.0.2+
- Fix upload deposit upload quota


Version 2021.10 (released 2021-09-27, updated 2021-11-09)

- Add THEME_SITENAME config variable
- Make site name configurable
- Override webpack configuration in order to enable webp image assets
- Fix Manifest file
- Improved Accessibility on frontpage
- Increase Link Contrast
- SEO improvements
- Remove left-over usage of removed config variable
- Removed unintended link on frontpage
- Tooltip added to filenames on record landingpages


Version 2021.9 (released 2021-08-16, updated 2021-09-20)

- Capsulated CSS into Semantic UI Theme
- Fixed UI bugs (sticky header and mobile menu)
- Fixed typos on frontpage
- Fixed button text color
- Fixed footer (footer should still stick to the bottom of the page on pages with small content)
- Fixed Dropdown element font
- Fixed Login/Logout Button
- Added `alt`-text to all images
- Compressed hero images
- Improved Accessibility
- Fix mobile bugs on mobile version
- TU Data renamed to TU Research Data
- Feature section headings renamed
- Fix display of licenses
- Use configured search settings rather than hard-coded values
- Use upstream implementation of "cite as"
- Improve translation support
- Fix checkboxes not having visible check marks


Version 2021.8 (released 2021-07-29, updated 2021-08-12)

- Added hero images.
- Fixed navigation.
- Fix build errors.
- Update module for InvenioRDM 6.0 release.


Version 2021.7 (released 2021-07-29)

- Fix PDF files not being previewed.
- Fix incorrect sources for images in footer.
- Housekeeping (removing old scripts, ...).


Version 2021.6 (released 2021-07-18)

-  Fixes to corporate design, e.g.

   -  login button
   -  flipping tiles
   -  spacing


Version 2021.5 (released 2021-07-16)

- Fix set of distributed files.


Version 2021.4 (released 2021-07-16)

- Implement new TUW corporate design.


Version 2021.3 (released 2021-07-16)

- Fix set of distributed files.


Version 2021.2 (released 2021-07-16)

- Rework caching of result for schemaorg metadata.


Version 2021.1 (released 2021-07-15)

- Initial public release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.tuwien.ac.at/fairdata/invenio-theme-tuw",
    "name": "invenio-theme-tuw",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "invenio theme tuw",
    "author": "TU Wien",
    "author_email": "tudata@tuwien.ac.at",
    "download_url": "https://files.pythonhosted.org/packages/42/7c/1445b7ca4b88c366ebbe42cbafa1cd7fa901335426b7e2882f06b8121a77/invenio-theme-tuw-2024.1.1.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2020 - 2021 TU Wien.\n\n    Invenio-Theme-TUW is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\n===================\n Invenio-Theme-TUW\n===================\n\nThis module provides templates and assets to bring a TU Wien look and feel to InvenioRDM.\n\n\nInstallation\n------------\n\nAfter installing Invenio-Theme-TUW via `pip`, Invenio's assets have to be updated:\n\n.. code-block:: console\n\n   $ pip install invenio-theme-tuw\n   $ invenio-cli assets update\n\nAlso, theming-related configuration items (e.g. `THEME_LOGO`) have to be removed from `invenio.cfg` to prevent them\nfrom overriding the values set in `Invenio-Theme-TUW`.\n\n\nComponents\n----------\n\n* `views.py`: provides a `Blueprint` that registers both the `static/` and `templates/` folders to be usable by Invenio\n* `webpack.py`: registers the front-end assets (in the `assets/` folder) to webpack\n* `config.py`: overrides several configuration items related to theming Invenio\n\n\n..\n    Copyright (C) 2020-2024 TU Wien.\n\n    Invenio-Theme-TUW is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\nChanges\n=======\n\nVersion 2024.1 (released 2024-03-01, updated 2024-03-14)\n\n- Views: add status code in guards' response\n- Add automated tests\n\n\nVersion 2023.2 (released 2023-04-24, updated 2023-12-22)\n\n- v11 compat: Update templates and frontend build project\n- Remove PDF preview override, as it has been merged upstream\n- Rework \"contact uploader\" feature to a dedicated contact form\n- Distribute ``.jinja`` files with releases\n- Update PyPI publication flow\n- Partially prefill \"contact uploader\" form on authenticated users\n- Add FAIRsharing logo to the footer and readjust CSS grid\n- Add rate limiting for the \"contact uploader\" feature\n- Add a feature flag for enabling/disabling the feature\n- Hide the contact form link when viewing one's own records' landing pages\n- Optionally add the specified email address to CC (disabled by default)\n- Preserve message formatting in HTML emails\n- Remove \"Fair Data Austria\" logo from the footer and readjust CSS grid\n- Add TU Wien logo to static assets\n- Frontpage: Add link to the CRDM\n- Prepare the repository for seasonal weather\n- Add user settings page about record curation\n\n\nVersion 2023.1 (released 2023-01-13, updated 2023-04-24)\n\n- Display the record's first uploaders on the landing pages\n- Fix the draft preview page failing with a 404 code\n- Update links to policies\n- UI: fix header warning styling and improve permission guard pages\n- UI: rework deposit permission guard page text\n- UI: further improve deposit permission guard page text and modify its header icon\n- Footer: Improve layout and responsiveness on smaller screens\n- Fix naming of grid classes in css to avoid overlaps with `semantic-ui-less`\n- UI: remove reference to test instance from deposit guard page\n- Add possibility to a render an info box in the frontpage\n\n\nVersion 2022.6 (released 2022-10-17, updated 2022-11-30)\n\n- v10 compat: Replace direct 'elasticsearch' import\n- v10 compat: Load and pass ``custom_fields`` in ``communities_new`` view function\n- Override ``app.config`` to specially handle our ``SITE_{API,UI}_URL`` config items\n- Remove the ``communities_new`` override\n- Remove \"under development\" text in frontpage\n- Render missing flashed messages\n- Rework the initialization procedure used for some custom overrides\n- Migrate from setup.py to setup.cfg\n- Remove old documents\n- Hide the privacy policy for now, until it is accepted and published centrally\n- Move Flask config override from Invenio-Theme-TUW to Invenio-Config-TUW\n- Disable Matomo integration by default\n- Use fallback system font during initial page load\n- Update footer logos, links and file links\n\n\nVersion 2022.5 (released 2022-09-06, updated 2022-10-11)\n\n- Add surrounding element to the recent uploads on the frontpage\n- Some styling fixes\n- Add config variable for Matomo site ID\n- Rework the staging warning into a more general customizable warning\n- Make the input element sizing on the deposit page more uniform\n- Update the contact page\n- Self-serve Google fonts used for the TUW corporate design\n- Fix missing search bar in results page\n- Remove inline styling from templates\n- Add total record count to the search bar placeholder\n- Scale down hero images\n- Add possibility to a render a warning box in the frontpage\n\n\nVersion 2022.4 (released 2022-07-19, updated 2022-08-25)\n\n- v9 compat: Chase upstream changes in our overridden templates\n- v9 compat: Add permission guard page for community creation\n- Add config variable for the FAQ link\n- Remove unnecessary/outdated template and JS overrides\n- Refactor directory structure for remaining template overrides\n- Add comments marking the changes and their reasons in remaining overrides\n- UI enhancements for mobile (side bar and communities frontpage)\n- Reverse contents of CHANGES.rst (recent changes are shown on top)\n- Fix wrong route in deposit guard template\n- Update description in frontpage\n- Override the ``communities_new`` view function (to support ``LocalProxy`` objects as ``SITE_UI_URL``)\n\n\nVersion 2022.3 (released 2022-03-11, updated 2022-07-14)\n\n- Make the theme compatible with the v8 release of InvenioRDM\n- Fix some styling issues\n- Fix race conditions regarding blueprint overrides during init phase\n- Add layer of protection around the deposit pages\n- Update text on frontpage and contact page\n- Reformat jinja templates\n- Add tombstone page for Florian\n- Refactor the module to actually play nice with InvenioRDM v8\n\n\nVersion 2022.2 (released 2022-02-07)\n\n- Rebrand to 'TU Data Repository'\n- Adjust Recent Uploads\n- 'More'-button added to frontpage\n\n\nVersion 2022.1 (released 2022-01-26)\n\n- Frontpage lists recent uploads\n- Display creators of records nicely on frontpage\n- Restyled Records on frontpage\n\n\nVersion 2021.11 (released 2022-01-05)\n\n- Make ready for InvenioRDM v7 and Flask 2.0.2+\n- Fix upload deposit upload quota\n\n\nVersion 2021.10 (released 2021-09-27, updated 2021-11-09)\n\n- Add THEME_SITENAME config variable\n- Make site name configurable\n- Override webpack configuration in order to enable webp image assets\n- Fix Manifest file\n- Improved Accessibility on frontpage\n- Increase Link Contrast\n- SEO improvements\n- Remove left-over usage of removed config variable\n- Removed unintended link on frontpage\n- Tooltip added to filenames on record landingpages\n\n\nVersion 2021.9 (released 2021-08-16, updated 2021-09-20)\n\n- Capsulated CSS into Semantic UI Theme\n- Fixed UI bugs (sticky header and mobile menu)\n- Fixed typos on frontpage\n- Fixed button text color\n- Fixed footer (footer should still stick to the bottom of the page on pages with small content)\n- Fixed Dropdown element font\n- Fixed Login/Logout Button\n- Added `alt`-text to all images\n- Compressed hero images\n- Improved Accessibility\n- Fix mobile bugs on mobile version\n- TU Data renamed to TU Research Data\n- Feature section headings renamed\n- Fix display of licenses\n- Use configured search settings rather than hard-coded values\n- Use upstream implementation of \"cite as\"\n- Improve translation support\n- Fix checkboxes not having visible check marks\n\n\nVersion 2021.8 (released 2021-07-29, updated 2021-08-12)\n\n- Added hero images.\n- Fixed navigation.\n- Fix build errors.\n- Update module for InvenioRDM 6.0 release.\n\n\nVersion 2021.7 (released 2021-07-29)\n\n- Fix PDF files not being previewed.\n- Fix incorrect sources for images in footer.\n- Housekeeping (removing old scripts, ...).\n\n\nVersion 2021.6 (released 2021-07-18)\n\n-  Fixes to corporate design, e.g.\n\n   -  login button\n   -  flipping tiles\n   -  spacing\n\n\nVersion 2021.5 (released 2021-07-16)\n\n- Fix set of distributed files.\n\n\nVersion 2021.4 (released 2021-07-16)\n\n- Implement new TUW corporate design.\n\n\nVersion 2021.3 (released 2021-07-16)\n\n- Fix set of distributed files.\n\n\nVersion 2021.2 (released 2021-07-16)\n\n- Rework caching of result for schemaorg metadata.\n\n\nVersion 2021.1 (released 2021-07-15)\n\n- Initial public release.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\"TU Wien theme for Invenio (RDM).\"",
    "version": "2024.1.1",
    "project_urls": {
        "Homepage": "https://gitlab.tuwien.ac.at/fairdata/invenio-theme-tuw"
    },
    "split_keywords": [
        "invenio",
        "theme",
        "tuw"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9357bc762e2a82516552652e7e2d445163773f4a32a72b275531b94d538a3abe",
                "md5": "fb6ca9c7d2b2ab25bd6b7d7f027360da",
                "sha256": "a1bf5c3e907adcbd17c553a689f7d74eee89ceaf63a18b24884b8a7dc1edffa6"
            },
            "downloads": -1,
            "filename": "invenio_theme_tuw-2024.1.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fb6ca9c7d2b2ab25bd6b7d7f027360da",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 2476413,
            "upload_time": "2024-03-14T10:40:20",
            "upload_time_iso_8601": "2024-03-14T10:40:20.547655Z",
            "url": "https://files.pythonhosted.org/packages/93/57/bc762e2a82516552652e7e2d445163773f4a32a72b275531b94d538a3abe/invenio_theme_tuw-2024.1.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "427c1445b7ca4b88c366ebbe42cbafa1cd7fa901335426b7e2882f06b8121a77",
                "md5": "b55812e835479689214e2a8ff20cee74",
                "sha256": "94f8d640402fcf4ab1c3951e662a13ed20a8d9d8ccd1a4435e1d7e31f3e8f9f4"
            },
            "downloads": -1,
            "filename": "invenio-theme-tuw-2024.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b55812e835479689214e2a8ff20cee74",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2428102,
            "upload_time": "2024-03-14T10:40:24",
            "upload_time_iso_8601": "2024-03-14T10:40:24.932953Z",
            "url": "https://files.pythonhosted.org/packages/42/7c/1445b7ca4b88c366ebbe42cbafa1cd7fa901335426b7e2882f06b8121a77/invenio-theme-tuw-2024.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-14 10:40:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "invenio-theme-tuw"
}
        
Elapsed time: 0.21570s