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, 3 Aug 2021 18:20:28 +0000 (14:20 -0400)
commite6a5eef2ab6cbfded5474f96ccf8c5ab32a4b957
tree4869e93b3f389d9bef0b5705de15559d5a8023a1
parentecfc8a7b4fc91064f334ce557f76385569927b67
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]