71 Commits

Author SHA1 Message Date
Mojib Wali
92cfad940f v0.4.2 v0.4.2 2021-03-02 15:25:02 +01:00
Mojib Wali
93ad527061 config: disable registration
* vocab: remove override vocab
* global: disable user registration
2021-03-02 15:24:18 +01:00
Mojib Wali
9d2ad34601 v0.4.1 v0.4.1 2021-01-18 10:54:09 +01:00
Mojib Wali
1eb836aec8 permission: restriction to only open access 2021-01-18 10:28:34 +01:00
Mojib Wali
42e7a332d0 v0.4.0 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 v0.3.0 2020-12-04 10:35:38 +01:00
Mojib Wali
be22817a91 ci(repo): migrate to github actions. #34
tests(repo): modified to github actions.
2020-12-04 10:30:34 +01:00
Mojib Wali
1ca39d2f8d refactor(user):userprofile #31
* disable userprofile extended form.
  User is no longer obliged to provide username and name when registering.
  This mean that the user can change/add name and username from profile section.
* disable changing email address.
  User no longer can change the email address from profile section.
2020-11-10 12:19:55 +01:00
mb
7069bbe481 refactor(user):disable changing email address
* disable userprofile extended form.
2020-11-09 12:23:12 +01:00
Mojib Wali
396f44fbd8 url/badge update
Repository transfer from 'https://github.com/mb-wali' to 'https://github.com/tu-graz-library'.
2020-10-28 13:55:09 +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
d70c690ab3 v0.2.2 v0.2.2 2020-10-19 14:39:41 +02: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
Mojib Wali
975ac67a8a release; v0.2.1 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 v0.2.0 2020-10-06 09:24:29 +02:00
mb
1556bc7f18 ci:use github actions to publish to pypi
Using github action - passwords are secured in secrets, and it seperated the publishing the package from testing the package. This closes #20
2020-10-06 09:21:16 +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
89ab18cf04 commented the overriden
uncomment to enable, also excluded some line of code from coverage.
2020-09-29 14:33:34 +02:00
mb-wali
595bf8ca48 Generators for permissions(WIP)
First draft Custom Generators for permissions(WIP)
2020-09-29 13:37:56 +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-wali
9cd3f33475 configs
extra information on config variables.
2020-08-17 17:47:43 +02:00
mb
24b29ff668 extra information on config variables. 2020-07-31 09:48:34 +02:00
mb
e431ff2eb6 updated tests files
with pytest version 6.0.0, these changes were required.
2020-07-30 11:42:06 +02:00
mb
6cd0fabf9e update config file 2020-07-27 15:52:24 +02:00
mb-wali
f543f1f08c v0.1.5 0.1.5 2020-07-27 11:58:58 +02:00
mb-wali
94c858f412 Update .travis.yml 2020-07-27 11:58:21 +02:00
mb-wali
33fc35272c v0.1.4 0.1.4 2020-07-27 11:47:26 +02:00
mb-wali
02db7a01c9 Update .travis.yml 2020-07-27 11:45:44 +02:00
mb-wali
c579052ade v0.1.3 0.1.3 2020-07-27 11:40:26 +02:00
mb-wali
7146e53fe3 Update .travis.yml 2020-07-27 11:38:16 +02:00
mb-wali
35186ed91f v0.1.2 0.1.2 2020-07-27 11:31:02 +02:00
mb-wali
32c6f1eefc Update .travis.yml 2020-07-27 11:29:53 +02:00
mb-wali
bdb0e8df67 v0.1.1 0.1.1 2020-07-27 11:22:50 +02:00
mb-wali
28b72334a9 Merge pull request #15 from mb-wali/module
module modification
* updated the module structure
* closed #11
2020-07-27 11:20:46 +02:00