EventNotificationService.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Revert some unnecessary package name changes

  1. … 464 more files in changeset.
LDEV-5440 Refactor packages of imported classes

  1. … 481 more files in changeset.
LDEV-5440 Rewrite config files and library references

  1. … 955 more files in changeset.
LDEV-5189 Sort class members by last name when UI requires it

  1. … 5 more files in changeset.
LDEV-5041 Add lesson service utility method

  1. … 5 more files in changeset.
LDEV-4274: Use service proxy bean instead of concrete implementation, so methods called from child threads are transactional.

  1. … 1 more file in changeset.
LDEV-4274: Initial implementation of a Learner Progress Report email, to be sent to Monitors on a set of dates. Dates are entered via a new dialog box in monitoring. The code works as long as the mailserver is running when the reports are emailed but if it fails then the emails do not resend properly.

  1. … 17 more files in changeset.
LDEV-4187: Prevent "Illegal attempt to associate a collection with two open sessions" errors.

LDEV-4187: Make sure that even after an exception is thrown, the Hibernate session is closed. Add extra logging to verify completeActivity() failures.

  1. … 7 more files in changeset.
LDEV-4187: Delegate non-HTTP-request tasks to own threads. Open and close Hibernate session for each of such thread. Bind created session to context and thread. Close session at the end of thread execution.

  1. … 5 more files in changeset.
LDEV-4021: If no subject/message supplied use the default text from the event, otherwise messages end up with no subject.

LDEV-3668: Fix for toggle subscription to receive email notifications by email. (merging to MAIN Sanjana's commit)

LDEV-3668:Fix for toggle subscription to receive email notifications by email.

LDEV-3760: Fix a Hibernate exception when Susbscription is inserted, not updated.

LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3761: Initial implementation of NotificationManager. Adjust queries for fetching Notifications.

  1. … 6 more files in changeset.
LDEV-3760: Initial implementation of notifications. Add new delivery method to EventNotification framework. Allow notifications on file upload in Share Resources. Add notifications button on home screen.

  1. … 26 more files in changeset.
LDEV-3661: Simplify EventNotifications - get rid of unnecessary subscription periodicity. Fix single user notification mechanism.

  1. … 7 more files in changeset.
LDEV-3435: Do not log same errors if they arrive within 5 seconds. This prevents flooding logs with identical errors when mail system is down.

  1. … 1 more file in changeset.
LDEV-3661: Methods coping with multiple recipients send messages in a new thread.

  1. … 2 more files in changeset.
LDEV-3661: Remove Aspirin library. Emails will be send using the configured SMTP server. Simplify Event Notifications - remove unnecessary methods, internal Event pool, extra threads.

    • -370
    • +319
    ./EventNotificationService.java
  1. … 50 more files in changeset.
LDEV-3364: Fix CRON ResendMessagesJob execution when no Hibernate Session was bound to thread.

Remove EventNotificationService usage via singleton reference and call DAO methods with service layer in-between to support transactions.

  1. … 3 more files in changeset.
LDEV-3327: delay first execution of ResendMessagesJob

Start first ResendMessagesJob execution 2 minutes after class is loaded. EventNotificationService is usually initialized together with Wildfly environment and 2 minutes are given to WIldfly to initialize properly.

LDEV-3182 Include lesson and course information in email alerts sent to monitors

  1. … 28 more files in changeset.
LDEV-3061: Allow emailing learners from Monitor. Fix issues with EventNotificationService. Move emailing module from Admin to Central.

    • -540
    • +533
    ./EventNotificationService.java
  1. … 37 more files in changeset.
LDEV-3010 added option to send emails with Html Content-type

  1. … 24 more files in changeset.
LDEV-1893 added logging of failed sent messages

  1. … 1 more file in changeset.
LDEV-1893: Quartz job for resending messages is not rescheduled anymore.

LDEV-1893: Quartz job for resending messages is not rescheduled anymore.