Skip to content
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

libraries: add notification settings in library definition #1691

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

AoNoOokami
Copy link
Contributor

@AoNoOokami AoNoOokami commented Feb 10, 2021

Co-Authored-by: Alicia Zangger [email protected]
Co-Authored-by: Renaud Michotte [email protected]
Co-Authored-by: Johnny Mariéthoz [email protected]

Why are you opening this PR?

To implement task 2012 of US1922 https://tree.taiga.io/project/rero21-reroils/us/1922?milestone=282105

Dependencies

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@AoNoOokami AoNoOokami self-assigned this Feb 10, 2021
@AoNoOokami AoNoOokami added this to the v1.1.0 milestone Feb 10, 2021
@AoNoOokami AoNoOokami force-pushed the zaa-#2012-printing-email branch 5 times, most recently from 1f3f646 to cde5544 Compare February 16, 2021 08:04
@AoNoOokami AoNoOokami force-pushed the zaa-#2012-printing-email branch 3 times, most recently from 538b402 to 73372b5 Compare February 22, 2021 15:06
@AoNoOokami AoNoOokami marked this pull request as ready for review February 22, 2021 15:06
@iGormilhit iGormilhit modified the milestones: v1.1.0, v1.2.0 Mar 1, 2021
@jma jma force-pushed the zaa-#2012-printing-email branch from 73372b5 to fac2a5b Compare March 11, 2021 14:20
@jma jma self-requested a review March 11, 2021 14:21
@jma jma force-pushed the zaa-#2012-printing-email branch 2 times, most recently from f18f10e to 8797836 Compare March 11, 2021 16:17
@jma jma requested review from rerowep and zannkukai March 11, 2021 16:33
@@ -358,6 +358,11 @@ def get_timezone(self):
default = pytz.timezone('Europe/Zurich')
return default

def email_notification_type(self, notification_type):
"""."""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this docstring ! 😍 but seems not according to best practices :-)

@jma jma force-pushed the zaa-#2012-printing-email branch from 8797836 to d42d5af Compare March 15, 2021 06:52
@jma jma force-pushed the zaa-#2012-printing-email branch from d42d5af to 97649a7 Compare March 15, 2021 09:09
@jma jma force-pushed the zaa-#2012-printing-email branch 2 times, most recently from 706c281 to c9287f2 Compare March 16, 2021 05:44
* Adds notification settings in library jsonschema and mapping.
* Adds notification settings data.
* For patron with mail communication channel the notification is sent to
  the corresponding library email if it exists.
* Closes rero#913.
* Adds patron information for each email sent to the library emails.

Co-Authored-by: Alicia Zangger <[email protected]>
Co-Authored-by: Renaud Michotte <[email protected]>
Co-Authored-by: Johnny Mariéthoz <[email protected]>
@jma jma force-pushed the zaa-#2012-printing-email branch from c9287f2 to 5827225 Compare March 16, 2021 12:57
@jma jma removed their request for review March 16, 2021 13:52
@jma jma merged commit 9ad6be9 into rero:dev Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send notification "availability" some time after the item is checked in
6 participants