Commit Graph

19 Commits

Author SHA1 Message Date
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
mb
89ab18cf04 commented the overriden
uncomment to enable, also excluded some line of code from coverage.
2020-09-29 14:33:34 +02:00
mb
b4a2f2a36b get user remote_ip
* function to check user ip. * renamed the files.
2020-09-24 10:42:14 +02:00
mb
2f4df9167b seperate file for access control configuration
permissionsPolicy file will handle the access control configurations.
2020-09-23 14:22:02 +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
9bd44f269b not relevant to permissions.
by default this variable should be set to True.
2020-09-18 11:52:31 +02:00
mb
8a5cef77f4 documentation:how to override the default policies for records
adding custom generator to the overriden policy.
2020-08-20 15:00:48 +02:00
mb
8b3b577d32 how to:implementing generator for RecordIp. 2020-08-20 14:47:30 +02:00
mb
24b29ff668 extra information on config variables. 2020-07-31 09:48:34 +02:00
mb
6cd0fabf9e update config file 2020-07-27 15:52:24 +02:00
mb
d860cb99c0 module modification
updated the module structure
2020-07-27 10:25:41 +02:00
mb-wali
7919a5dcc0 Update config.py
more detailed comment on ```USERPROFILES_EXTEND_SECURITY_FORMS```
2020-07-10 09:06:07 +02:00
mb
83666fb072 configs for invenio-account 2020-07-08 11:30:23 +02:00
mb
267feed3d0 SSO_SAML_IDPS
removed dic
2020-07-07 10:21:10 +02:00
mb
0f46943120 config.py import changed
from invenio-shibboleth
2020-07-06 16:05:17 +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