Commit Graph

13 Commits

Author SHA1 Message Date
Mojib Wali
530d32d7c7 migrate: to invenio-app-rdm:v2 2021-03-29 09:41:35 +02:00
Mojib Wali
a4558e02bf doimint: adds suffix config 2021-03-17 10:15:30 +01:00
Mojib Wali
c87e65d89f dep: bump in webpack 2021-03-17 09:40:05 +01:00
Mojib Wali
95710c440e depositform: get doi from backend 2021-03-16 09:55:59 +01:00
Mojib Wali
67c3828fc0 DOI minting
* feature: adds doi minting(#161)
* overrides deposit page
* deposit edit page
* record landingpage
2021-03-11 14:48:24 +01:00
Christoph Ladurner
1598b04ed6 feature(ui): override the default search react app from invenio-app-rdm
The look of the result entries should now be the same as on the frontpage.

The main difference from the default layout is that the access badge is not more a
badge. It is now in the footer on the right side. The main reason is that the
green color of the badge could lead to the wrong conclusion that if this record
has the access right "Open Acess" it would be a "Green Open Access" record.

NOTES:
It was necessary to import also some React classes into the components.js file
which were not really overriden. This was because it was not possible to import
it from invenio-app-rdm/search/components.js directly. This should be repaired
in some ways.
2021-01-11 17:01:51 +01:00
Christoph Ladurner
95f566d48d all python files are now formated with black (#106)
* all python files are now formated with black

NOTE:
some configurations where necessary. flake8 line-length has to be set to 88
which is the default for black. but this was not enough some lines of black
where formated longer then 88 characters. found flake8-bugbear with B950.

with that and in combination with ignore=E501 it is possible to ignore long
lines, but if there are lines to long it will still point it out.

further also for isort some configuration was necessary

REFERENCES:
https://github.com/psf/black/blob/master/docs/compatible_configs.md#isort
https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8
https://github.com/PyCQA/flake8-bugbear#opinionated-warnings

* removed commented import statments

Co-authored-by: Christoph Ladurner <christoph.ladurner@tugraz.at>
2020-10-14 14:10:05 +02:00
Christoph Ladurner
62c52b1c68 separate html and javascript code
the function hide was in the header.html file enclosed by script tags. it has
been moved to the theme.js file.

to make it run it was necessary to add a entry point to the WebpackThemeBundle
instance in webpack.py (render the js file) and include the resulting js file
manually in footer.html (to be loaded in the browser).
2020-06-15 21:40:36 +02:00
mb
ed03878fe0 travis check:
invenio-assets module to install requires, removed commented lines.
2020-06-10 17:35:42 +02:00
mb
7d0255b15f migrate to semantic_ui:
This commit holds alot of changes in the UI, migration of bootstrap to semantic-ui, override of header.html and setting them for /search & /deposite endpoints. PS. The migration is not finished.
2020-06-10 15:33:11 +02:00
mb-wali
15ff93aa22 Dev (#3)
* isort

* manifest updated

* manifest updated

* tests

* tests modify
2020-05-01 19:35:42 +02:00
mb
161478117c changes 2020-05-01 18:48:43 +02:00
mb
a700a800e5 tugraz theme 2020-05-01 18:31:02 +02:00