Commit Graph
26352 Commits
Author SHA1 Message Date
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
Benjamin Barth d72221ab28 Moved mobile user profile details classes into their own package 2016-07-07 11:36:13 +02:00
Axel Uhl b20ab0c1cb formatting only
Change-Id: Idb46cafb2b87ec841cd5d6b412f11c0d6a699042
2016-07-07 11:28:42 +02:00
Steffen Schaefer d9ac7d5ab8 Code quality improvements for several tests 2016-07-07 10:49:31 +02:00
Steffen Schaefer 9475d30ef2 Added new test case regarding correct removal of preferences on user
deletion
2016-07-07 10:49:28 +02:00
Steffen Schaefer e876d456a4 Preferences are now removed if a user is deleted 2016-07-07 10:49:24 +02:00
Steffen Schaefer aaa04bb2fb Added failing tests to verify that preferences are currently not
correctly removed when a user is being deleted
2016-07-07 10:49:20 +02:00
Steffen Schaefer 5004b250f0 Added a null check to prevent a NullPointerException to be thrown in
getUserByEmail if there is no user for a given email address
2016-07-07 10:49:17 +02:00
Steffen Schaefer 7ecc533f8e Added a failing test to verify that getUserByEmail currently throws a
NullPointerException if there is no user for a given email address
2016-07-07 10:49:13 +02:00
Steffen Schaefer 13467a2eee Added tests to check that UserStore and MongoDB persistence is in sync 2016-07-07 10:49:09 +02:00
Benjamin Barth fb39c0992c Refactored client-side user preferences saving and loading logic 2016-07-07 09:45:29 +02:00
Axel Uhl cf7b8ca286 Merge branch 'master' into foiling 2016-07-07 09:44:48 +02:00
Axel Uhl 4eea6afba9 making expedition and UDP receiver threads daemon threads that don't obstruct shutting down the VM
Change-Id: I122e66b6cbca7defa388bfa9634fb63025887f0a
2016-07-07 09:44:12 +02:00
Papick Garcia Taboada 297fb13dad Merge branch 'master' of ssh://sapsailing.com/home/trac/git into foiling 2016-07-07 09:28:09 +02:00
Steffen Schaefer da43003a2c Updated JavaDocs 2016-07-07 09:09:03 +02:00
Steffen Schaefer f7c3b05647 Merge branch 'master' into bug2775 2016-07-07 08:42:32 +02:00
Steffen Schaefer 3212ed03db Prepared NotificationSets for BoatClass and Competitor Notifications 2016-07-07 08:41:35 +02:00
Axel Uhl 6c2b1f16fb also ensure that the WebSocketClient is nulled when no successful connection could be established
Change-Id: Ibcadd8330fd99edaf1cbd82174f2ce4c3f627a87
2016-07-07 01:23:38 +02:00
Axel Uhl 920ca128bd ensure that only one call to connect(...) happens per client; otherwise the client ends up in the shutdown hooks several times
Change-Id: Icbaaedc94b4e6263407966f0834cf10e6c9d4ca3
2016-07-07 01:21:56 +02:00
Axel Uhl 3c6df87650 when destroying the WebSocketClient, deregister from ShutdownThread.
Change-Id: Icd21191fd77521f5c87228d2cff1ad7e0744a9c6
2016-07-07 00:43:31 +02:00
Axel Uhl 09e0eaa170 compute remote address of Igtimi connections live for display in servlet
Change-Id: I828de665ef0b00b09c937be1c7696a418b544686
2016-07-06 22:51:52 +02:00
Axel Uhl eabdff2ce7 fixed Igtimi connector issue: server timestamp was not properly reset when launching a new connection;
this would have suggested to the server that the connection was immediately available although it wasn't; this way,
an unsuccessful connection would not have been recognized properly

Change-Id: I199847cead792de00fb0467541f220f095b87898
2016-07-06 22:02:52 +02:00
Axel Uhl aa9a7a8c15 less re-use of WebSocketClient, using new one and new ClientUpgradeRequest after each disconnect; new listener object each time
Change-Id: I088d4c30af6c12f9e7117dbdc97f8a2ca57ca960
2016-07-06 20:41:00 +02:00
Benjamin Barth 59a3c3bb8a Adjusted client-side user preferences saving and loading logic 2016-07-06 17:42:27 +02:00
Axel Uhl b884ad9677 a somewhat more robust way of closing and reconnecting to Igtimi WebSocket servers;
ignore the onWebSocketClose event if it is caused by the reconnect() call

Change-Id: I0b735d17168855e66ade684f5953a1faaa8e82e4
2016-07-06 16:50:17 +02:00
Steffen Schaefer 96b2a16e4b I18n for preferences tab 2016-07-06 15:30:29 +02:00
Steffen Schaefer 38e470d0aa Added messages for enabled and disabled to be used by the notification
toggles
2016-07-06 15:23:35 +02:00
Steffen Schaefer a59ee5ae1e Initially added an information test regarding notifications to the
preferences page
2016-07-06 15:15:27 +02:00
Axel Uhl b5b74b8982 Merge branch 'master' into bug3758 2016-07-06 14:36:29 +02:00
Axel Uhl d4706b8ffd Merge remote-tracking branch 'server/master' 2016-07-06 14:36:09 +02:00
Axel Uhl 2b5b02e65a Merge branch 'master' into bug3758 2016-07-06 14:30:22 +02:00
Axel Uhl 25b92a71f9 made SailWave import tolerant for rank formatting (1st, 2nd, ... instead of 1, 2, ..., as documented in Wiki but not implemented so far...
Change-Id: I4eff90780c1f3f36159c25a7b227d39f49148571
2016-07-06 14:29:43 +02:00
Benjamin Barth a7172666e9 Connected user preferences saving and loading to the backend logic 2016-07-06 13:39:12 +02:00
Benjamin Barth 2c62edcb8c Fixed missing JSONObject in SettingsToJsonSerializerGWT 2016-07-06 13:33:10 +02:00
fmittag 858a4ff025 fixed a parsing problem with tractrac competitor metadata in case of key names with the same prefix 2016-07-06 11:58:21 +02:00
Benjamin Barth ed20afd4b8 Adjusted access to clientFactory in UserProfileActivity 2016-07-06 11:45:47 +02:00
Steffen Schaefer 8059be9fb7 Implemented specific setting to handle BoatClassMasterdata 2016-07-06 11:40:28 +02:00
Axel Uhl f773186c11 Merge branch 'master' into bug3758 2016-07-06 11:22:56 +02:00
Axel Uhl e6f53cbbf9 return null as rank from HighPointMatchRacing if rank==0
Change-Id: I5c35450e4bdb2afd413c8f4f6d0be1d8d70637b3
2016-07-06 11:20:21 +02:00
Axel Uhl 0364016e09 trying a more careful handling of Igtimi websocket resources; not done yet
Change-Id: I4b258cb82c9411bbff60df4e6eba1f72379a4735
2016-07-06 11:19:51 +02:00
Steffen Schaefer c80bca9c87 Renamed methods to make more clear what they are used for 2016-07-06 09:45:21 +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 7ea2df0e53 Added missing GWT module inherits because UserService was extended to
used additional stuff from com.sap.sse.gwt
2016-07-06 09:21:43 +02:00
Steffen Schaefer e5d38e7455 Added JavaDocs to PreferenceConverter 2016-07-06 09:16:08 +02:00
Steffen Schaefer 1b64101140 Added more tests for PreferenceObjectBasedNotificationSet 2016-07-06 09:06:09 +02:00
Steffen Schaefer ee5eda7ff0 More tests for preference object handling and notification set
calculation
2016-07-05 18:47:48 +02:00
Steffen Schaefer 0f93d35bcf Added initial tests for PreferenceObjectBasedNotificationSet 2016-07-05 18:28:31 +02:00
Axel Uhl 5bfed45502 additional test resource for SailWave importer
Change-Id: I61be2ebe4835b9daac99ead2d2957483e5e4c69a
2016-07-05 18:24:42 +02:00
Axel Uhl 3c7009cc80 support blanks instead of , as separator of score and max points reason in CSV / SailWave result importer
Change-Id: I6e179457b664f45545941370ae1d68e4b680d1ee
2016-07-05 18:21:46 +02:00