LP1207533 patron triggered events log
authorJason Etheridge <jason@EquinoxInitiative.org>
Wed, 29 Jul 2020 12:11:33 +0000 (08:11 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 1 Jun 2021 19:43:44 +0000 (15:43 -0400)
commit89a9e6966d1bf5cfca3c9b2c462761fe431f17db
treef3c13b1998287c647f219938cd4d9ccf65874ff1
parent9520212ba3edf6fe356bf8c88b81f345579086f4
LP1207533 patron triggered events log

* first cut at schema
* setting context_user, context_library, and context_bib on action_trigger.event
  when building the environment
* toward UI
  The original interface still exists and is used when spawned from Item Status,
  but for the patron interface, the Other -> Triggered Events / Notifications
  action will now spawn a new tab with the new interface.
* data retention
  Break the link between actor.usr and action_trigger.event when purging user data
  or aging circulations (as best as we can; some textual links may exist in
  action_trigger.event_output--i.e. overdue notices)
* release notes
* live tests

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
18 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/event-grid.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/event-grid.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/event-log.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/event-log.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/event-log.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/event-log/routing.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
Open-ILS/src/perlmods/live_t/32-lp1207533-triggered-events.t [new file with mode: 0644]
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.triggered_event_log.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/YYYY.functions.triggered_event_log.sql [new file with mode: 0644]
Open-ILS/src/templates/staff/circ/patron/index.tt2
docs/RELEASE_NOTES_NEXT/Circulation/PatronTriggeredEventsLog.adoc [new file with mode: 0644]