Commit Graph
40 Commits
Author SHA1 Message Date
Mojib Wali 1eb836aec8 permission: restriction to only open access 2021-01-18 10:28:34 +01:00
Mojib Wali 42e7a332d0 v0.4.0 2021-01-05 13:27:16 +01:00
Mojib Wali 5dd1bf0602 refactor(config): #41
* adding domain name for the production
* disable RDM records permission override
2021-01-05 13:24:56 +01:00
Mojib Wali 956a9eea76 feature(permission): AuthenticatedUser Generator #39 2021-01-05 13:23:11 +01:00
mb 4310ca8755 feature: adding domain to allowed host
refactor: disabled RDM permission override

This closes #40
2021-01-05 11:03:46 +01:00
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
Mojib Wali cb7f00d76c v0.3.0 2020-12-04 10:35:38 +01:00
mb 7069bbe481 refactor(user):disable changing email address
* disable userprofile extended form.
2020-11-09 12:23:12 +01:00
Mojib Wali d70c690ab3 v0.2.2 2020-10-19 14:39:41 +02:00
Christoph LadurnerandMojib Wali 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
Mojib Wali 975ac67a8a release; v0.2.1 2020-10-06 09:34:09 +02:00
mb 21d1a9d4c6 Merge branch 'master' of https://github.com/mb-wali/invenio-config-tugraz 2020-10-06 09:30:32 +02:00
mb 3d3354805d translation: extract messages and added required files for i18n, This closes #18 2020-10-06 09:29:52 +02:00
Mojib Wali b514a38ed9 release: v0.2.0 2020-10-06 09:24:29 +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 6e3e8e24c8 generator documentations. 2020-08-26 13:21:12 +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-wali f543f1f08c v0.1.5 2020-07-27 11:58:58 +02:00
mb-wali 33fc35272c v0.1.4 2020-07-27 11:47:26 +02:00
mb-wali c579052ade v0.1.3 2020-07-27 11:40:26 +02:00
mb-wali 35186ed91f v0.1.2 2020-07-27 11:31:02 +02:00
mb-wali bdb0e8df67 v0.1.1 2020-07-27 11:22:50 +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