Commit Graph
2129 Commits
Author SHA1 Message Date
Axel Uhl 7207e2edcb whitespace changes only
Change-Id: Ied1d1f84ed21153c57f803836a6655bbf335f819
2016-07-19 16:27:05 +02:00
Axel Uhl ee8d0bbe36 fixed notification message for competitor score correction
Change-Id: I334d470d3a4a10f793a979a5aa74e8a4d26d32e6
2016-07-19 16:09:10 +02:00
Axel Uhl fc31383809 renamed parameter
Change-Id: I02e35cbe8c2e8ba19ecff8128f8c34bd3e94679c
2016-07-19 16:08:37 +02:00
Axel Uhl a6bb1d2d7d avoid creating threads for notifications; use existing scheduler in RacingEventServiceImpl instead
Change-Id: I2e590a285139294bbeb918dbedb5cea5f2c01905
2016-07-19 13:27:39 +02:00
Steffen Schaefer afa59fd1ce SailingNotificationService is now being stopped when RacingEventService
changes to replication state. In addition, an empty implementation of
SailingNotificationService is used to ensure that notification mails
will never be send on a replica.
2016-07-19 11:31:49 +02:00
Benjamin Barth 52eea75f26 Slightly adjustments to notification mail template 2016-07-19 11:19:36 +02:00
Steffen Schaefer fc56bd059e Using proper DateFormat for upcoming race notification 2016-07-19 10:00:36 +02:00
Benjamin Barth 8c4841969a Added german translations for notification mails 2016-07-18 16:53:19 +02:00
Benjamin Barth 23615ef97f Changes notification mails to use html with styled link buttons 2016-07-18 16:17:44 +02:00
Axel Uhl 1c5604be22 fixed message texts for notifications
Change-Id: Ie127ea34b58ceb087433b7d6570f3149a0c633c0
2016-07-15 20:01:35 +02:00
Axel Uhl 568d6cd767 in the HTML mail embed the link as a <a> element
Change-Id: I5c89ddf6de6872ca0991f5e738b0d8e1d5907c66
2016-07-15 19:59:00 +02:00
Axel Uhl 6c199d8598 also notify users interested in leaderboard correction changes if only a single competitor was changed
Change-Id: I67f37d60679b96e3a3dd4c640e24f61f580428f6
2016-07-15 19:58:39 +02:00
Axel Uhl 42429da7a1 encode URLs before sending them in an HTML e-mail
Change-Id: Ic71c4a6a66a110dac3148261f01aa5b2ffd1c19c
2016-07-15 19:46:10 +02:00
Axel Uhl 451a67cb82 properly initialize this.scoreCorrectionListenersByLeaderboard in RacingEventServiceImpl
Change-Id: I5091865beef52d630793c521fc44bd1ddaf411e2
2016-07-15 19:45:36 +02:00
Axel Uhl d6419c51cb wired user notifications to a new LeaderboardScoreCorrectionNotifier in RacingEventService; wired notifications with TrackedRaceReplicatorAndNotifier
Change-Id: I4ff77cf49700140b134dc95326a3f7a844958d95
2016-07-15 18:38:24 +02:00
Axel Uhl 721808aa77 use EventBase.getBaseURL() in SailingNotificationServiceImpl
Change-Id: I5d2afbc26f5ddb35c877fcc0dc5126f47d795db8
2016-07-15 14:27:58 +02:00
Axel Uhl 97c25d6bcd added baseURL property to EventBase
Change-Id: I0fbd92b14331918986d817fc86a06912ae8f603d
2016-07-15 13:56:07 +02:00
Axel Uhl dea82a7c88 Merge branch 'master' into bug2775 2016-07-15 13:17:56 +02:00
Axel Uhl e4ba3e2832 fixed a few remaining executors to use only daemon threads so the VM can be shut down cleanly when needed
Change-Id: I1aaa83a01dba167df169ab0c28aa40d2c1617319
2016-07-15 00:24:00 +02:00
Steffen Schaefer cb927ccb9c Linking to leaderboard for score correction related notifications 2016-07-14 09:49:16 +02:00
Steffen Schaefer aec8cb7bf2 Removed code duplications 2016-07-14 09:44:57 +02:00
Steffen Schaefer 8e26634e57 Improved testability 2016-07-14 08:28:16 +02:00
Steffen Schaefer d47e1cb70e Using the actual user locale in NotificationSetNotification if available 2016-07-13 14:11:11 +02:00
Steffen Schaefer f63c634bae Code quality improvements 2016-07-13 11:02:14 +02:00
Steffen Schaefer 577f17ec1e Updated the activator to properly start and stop
SailingNotificationService
2016-07-13 10:43:36 +02:00
Steffen Schaefer a4c4713e42 Updated SailingNotificationService and the associated messages 2016-07-13 10:42:37 +02:00
Steffen Schaefer 4252c2b270 Removed non useful docs generated by Eclipse 2016-07-13 08:11:56 +02:00
Steffen Schaefer 579f83fade Preparations for mail notifications 2016-07-12 16:53:48 +02:00
Steffen Schaefer 4dde6fb982 Documentation improvements 2016-07-12 10:32:29 +02:00
Steffen Schaefer 786488b28b Added more JavaDocs 2016-07-12 10:23:15 +02:00
Steffen Schaefer a0cec5fb37 Supporting additional constructor from superclass in NotificationSets to
automatically track the UserStore via OSGi service registry
2016-07-12 10:12:52 +02:00
Axel Uhl c49f01a379 comments and final declarations
Change-Id: I260c40920b3a292ccf140b11c806465bdb40085c
2016-07-12 09:54:48 +02:00
Steffen Schaefer c555a39d43 PreferenceConverter registrations in com.sap.sailing.server are now done
through OSGi
2016-07-11 12:42:59 +02:00
Steffen Schaefer b1a7a05006 Exporting package in OSGi to access the preferences model in gwt.ui 2016-07-11 11:31:55 +02:00
Steffen Schaefer 72aed5a00c Notification preferences are now saved to different keys 2016-07-11 11:25:53 +02:00
Steffen Schaefer 793c2c0341 Merge branch 'master' into bug2775
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
2016-07-11 11:18:46 +02:00
Steffen Schaefer d85ab8b470 The NotificationPreferences are now backend specific by using lookup
mechanisms for BoatClasses and Competitors. With this the
NotificationPreferences can't be used in the GWT UI anymore. Currently
the UI doesn't compile -> this needs to be fixed in a subsequent commit
2016-07-11 10:50:19 +02:00
Steffen Schaefer dd2570fed3 Added JavaDoc 2016-07-08 12:53:07 +02:00
Steffen Schaefer ccad89e448 Added missing volatile keyword to make double checked locking work
reliable
2016-07-08 09:28:42 +02:00
Steffen Schaefer fe12554783 Fixed NPE 2016-07-07 14:02:45 +02:00
Steffen Schaefer 23e0d33127 Added JavaDocs 2016-07-07 13:46:27 +02:00
Steffen Schaefer c3a2443930 Fixed a NPE when starting Smartphone-Tracking 2016-07-07 13:43:37 +02:00
Axel Uhl b20ab0c1cb formatting only
Change-Id: Idb46cafb2b87ec841cd5d6b412f11c0d6a699042
2016-07-07 11:28:42 +02:00
Steffen Schaefer 3212ed03db Prepared NotificationSets for BoatClass and Competitor Notifications 2016-07-07 08:41:35 +02:00
Steffen Schaefer 38733e7502 Renamed methods to make more clear what they are used for 2016-07-06 09:45:09 +02:00
Steffen Schaefer 051b5448d2 Registered NotificationPreferences on UserStore to hold instances in
memory
2016-07-05 15:11:22 +02:00
Steffen Schaefer 37e47d5fdc First stubs to register PreferenceConverters on the UserStore 2016-07-04 14:44:57 +02:00
Steffen Schaefer 6503be3993 stopTracking signal now directly comes from the RaceTracker instead of
doing this through the TrackedRace
2016-06-29 14:02:31 +02:00
Steffen Schaefer bd020e8c39 Renames/JavaDocs/... during code review 2016-06-29 09:00:04 +02:00
Steffen Schaefer fb88035daa Changes to handle detachment of a RaceLog in RaceLogFixTrackerManager 2016-06-27 16:34:02 +02:00