-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notifications: patron url #1029
Conversation
db0ef6b
to
bbe3871
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My suggestion for the commit message:
notifications: fix patron URL construction
The patron profile URL in the notification messages should be adapted to the running instance.
* Corrects patron URL. `RERO_ILS_APP_BASE_URL` is used to construct the patron URL. Closes #802.
* Adds command line interface for notifications. Process of notifications can now be started with `invenio run notifications process`.
bbe3871
to
838b707
Compare
8943b36
to
b3d9e34
Compare
b3d9e34
to
b27fa78
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message:
notifications: adapt patron url to the instance
The patron URL displayed in the notifications sent to to the patron
should be automatically changed according to the deployed instance.
* Corrects patron URL in notifications. `RERO_ILS_APP_URL` is used to
construct the patron URL. Closes #802
* Adds command line interface for notifications. Process of
notifications can now be started with `invenio run notifications
process`.
* Uses standart JSONSCHEMAS_ENDPOINT = '/schemas'.
* Uses JSONSCHEMAS_REPLACE_REFS = True to resolve $ref before serving a
schema.
* Deletes all unnecessary `$schema` in fixtures.
b27fa78
to
60c49d9
Compare
60c49d9
to
01394d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good news to do this. Can we split the JSONSchema document into several files? Languages, etc.
01394d6
to
9de1675
Compare
Should be interesting to test. |
9de1675
to
745a296
Compare
The patron URL displayed in the notifications sent to to the patron should be automatically changed according to the deployed instance. * Corrects patron URL in notifications. `RERO_ILS_APP_URL` is used to construct the patron URL. Closes rero#802 * Adds command line interface for notifications. Process of notifications can now be started with `invenio run notifications process`. * Uses standart JSONSCHEMAS_ENDPOINT = '/schemas'. * Uses JSONSCHEMAS_REPLACE_REFS = True to resolve $ref before serving a schema. * Deletes all unnecessary `$schema` in fixtures. * Deletes `document-minimal-v0.0.1.json` schema file. Co-Authored-by: Peter Weber <peter.weber@rero.ch>
745a296
to
31968af
Compare
RERO_ILS_APP_URL
is used toconstruct the patron url. closes Link to the patron profile not adapted to the concerned instance in the notification message. #802
can now be started with
invenio run notifications process
.schema.
$schema
in fixtures.Why are you opening this PR?
How to test?
Code review check list