Commit Graph

18 Commits

Author SHA1 Message Date
Mojib Wali
ce97c5378c feature(permissions): RecordIp generator #36 2021-01-05 09:44:27 +01:00
Mojib Wali
e2b1c59c5d feature(permission): split the base from rdm permissions
* updated rdm permission policy
* ci: updating test commands to new 1.4.41
2020-12-21 14:54:05 +01:00
Unix
8f2670235b badges/url updated
after transfering the module the path/url was invalid.
2020-10-28 13:46:34 +01:00
Mojib Wali
6803ce9614 bump dependencies
* bump dependency : invenio-rdm-records
* SQLAlchemy-Utils for SQL queries
* invenio-search with elasticsearch 7
* SQLAlchemy-Continuum for a versioning extension for SQLAlchemy
2020-10-19 14:28:53 +02:00
Mojib Wali
4d89290b58 bump dependency : invenio-rdm-records
This change is required for the latest invenioRDM - sep release.
2020-10-19 14:10:07 +02:00
Christoph Ladurner
2ccd24cfca all python files are now formated with black (#23)
* 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

* ext removed unnecessary commented import statement

* generators add pragma: no cover to increase code coverage

NOTE:
this should be corrected with a real test in one of the next commits

* fixed the syntax.

Co-authored-by: Mojib Wali <44528277+mb-wali@users.noreply.github.com>
2020-10-15 10:36:58 +02:00
Mojib Wali
0a37a8015e global: extension class to uppercase.
The extension class name is changed to uppercase.
2020-10-12 10:03:55 +02:00
mb
6b175bacf8 test:migrate to latest pytest-invenio and docker-services-cli
This closes #19
2020-10-06 09:04:15 +02:00
mb
2b71d1af73 Access control configuration
updated the dependencies & documentation for permissions based on new release on invenio-records-permission.
2020-09-22 13:27:50 +02:00
mb
8b3b577d32 how to:implementing generator for RecordIp. 2020-08-20 14:47:30 +02:00
mb
d860cb99c0 module modification
updated the module structure
2020-07-27 10:25:41 +02:00
mb-wali
e920d16f61 Update setup.py
removed invenio-shibboleth from install_requires, this closes #14 .
2020-07-08 16:47:41 +02:00
mb
f0454a09cb update keywords
This closes #12
2020-07-07 08:35:54 +02:00
mb
0936f7e274 invenio-shibboleth module is added to install_requires 2020-07-06 16:02:31 +02:00
mb
894a81f5c1 added missing modules
invenio-db & invenio-oauthclient was added to the install requirement.
2020-07-01 10:47:07 +02:00
mb-wali
6a898d0f69 Mapping (#6)
* saml config

* manifest for saml files

* required

* required

* travis added install

* travis added install

* travis added installs

* extras

* extras

* added

* added

* onelogin configs

* onelogin configs

* using ready

* typo

* email sender

* modified config.py

added CORS variables in order to be possible to enable the CORS. also rearanged the config.py variables and thier comments.

* missing import:

in config.py import is needed in order to use flask_babelex func. also this module requires invenio-saml to be installed - added to the install_requires. for now installing it via github.

* install_requires

changed the branch for invenio-saml

* updated setup.py

changed to custom branch of invenio-saml, for testing the changes on those branch.

* Update config.py

In order to register user_profile via login with OAuth client, one must set this value.

* typo

fixed typo in comment.

* removed entityId

removed manully input for service provider, now it will assign automaticly the metadata url to service provider entityID.

* mapping field

a. changed invenio-saml branch, b. changed mapping field names.

* added missing NameIDFormat

* fix missplaced

name and surname was misplaced

* changed branch
2020-06-26 10:39:53 +02:00
mb-wali
a62ed72989 configs (#1)
* entrypoint for config.py

* entrypoint for config.py

* manifest

* new configs

* new configs
2020-05-12 14:58:54 +02:00
mb
e1357c890a init 2020-05-12 14:18:20 +02:00