Udo Wessels
b65745c4b3
Merge branch 'master' into bug5774
2024-05-17 11:54:38 +02:00
Udo Wessels
fac34ecb74
bug5774: Extended the paywall documentation by adding examples. Did some rework after reviewing code for the example documentation.
2024-05-17 11:54:03 +02:00
Udo Wessels
1845e0158e
Merge branch 'bug5774' of ssh://sapsailing.com/home/trac/git into bug5774
2024-05-17 10:35:19 +02:00
Udo Wessels
1a568d220c
bug5774: updated some documentation of SecuredSettings.
2024-05-06 17:31:14 +02:00
Udo Wessels
0e5f582ff5
bug5774: removed security check from expandable sortable columns to enable the default handling of premium settings.
...
- cleaned up some logs and todo's
- removed default premium DetailTypes, because they would now be active also without premium rights.
2024-05-03 15:43:47 +02:00
Udo Wessels
59490f04fd
bug5774: added the support and handling of default values to SailingPremiumCheckBox and PremiumCheckBox
...
- cleaned up initialization of secured setting objects (removed redundant setting of paywall resolver, securedDTO if settings object is already one with security context)
- removed specific premiumLeaderboardPermissions handling from LeaderboardPanel, because visibility of premium objects is now handled by settings correctly. This handling was blocking the usage of default premium settings.
2024-05-02 12:22:05 +02:00
Udo Wessels
98bb5af626
bug5774: reverted some 'clean up' to fix tests.
...
The way of creating debugIds was changed and this broke the tests.
2024-04-15 10:45:20 +02:00
Udo Wessels
e00628b496
bug5774: Again some cleanup and DTO settings.
2024-04-14 14:38:55 +02:00
Udo Wessels
8ca84d8823
bug5774: eliminate some TODOs
2024-04-12 18:24:23 +02:00
Udo Wessels
9ec4c20179
bug5774: clean up and fix potential 'cannot find symbol' error
2024-04-12 15:21:12 +02:00
Udo Wessels
b6a5a3522b
bug5774: The changes on AbstractGenericSerializableSettings are reverted and therefore another AbstractGenericSerializableSettingsWithContext was created instead. This prevent us to be forced to initialize every settings object with a security context even if it is not needed. Now we only use the ...WithContext in cases where we really need it to work with secured settings in the addChildSettings method.
...
There are still some places to work on e.g. where the secured DTO's are not in place when we init a settings with context. They are marked with TODO bug5774.
Also the secured ENUM setting needs some attention...
In LiveRaceWithRacemapAndLeaderBoardPresenterImpl there is already a change were we get a StrippedLeaderboardDTO to init context object correctly and which can be used for authorization check later.
2024-04-12 14:13:40 +02:00
Udo Wessels
36c20f0a9e
Merge branch 'master' into bug5774
2024-04-12 13:07:59 +02:00
Udo Wessels
4d2652c3f7
bug5774: added missing passthrough to PremiumCheckBox with settings
...
- added last missing premium checkbox to new SecuredBooleanSetting
2024-03-11 18:17:32 +01:00
Udo Wessels
129fa73f65
bug5774: Rework after review with Axel
...
- introduced a context object for child settings in settings classes, because of abstract super call hierarchy it was not possible to use data from outside.
- reverted changes with paywall resolver and secured DTO proxies, because potentially not needed
2024-03-09 03:53:35 +01:00
Udo Wessels
7ff8cb6969
Merge branch 'master' into bug5774
2024-03-08 15:20:44 +01:00
Udo Wessels
d1bc46ad26
bug5774: mainly fixed the implementation so that no exception occurs any more when using the new secured settings.
...
- Added a new documentation page under HowTo -> Development -> Secured Settings
- Cleaned up some RaceMapSetting initializations by using the newly introduced builder
- Added a PaywallResolverProxy
- Used the PaywallResolverProxy and SecuredDTOProxy to make it possible to add the underlying objects to a later time
- Refactored some field naming, especially the name of setting fields
- Changed the getValue() method of a setting to return the default value if value is null (background was the casting of NULL values to atomar return parameters like boolean or int, also a default value was set)
- Added a setValue method without permission check to be used for reset to default method, which will not be overwritten by other implementations of the AbstractValueSetting, which causes some exceptions before.
- Added log messages if a value of an secured value setting is used without paywall resolver or secured DTO
2024-03-04 17:40:59 +01:00
Udo Wessels
d2063c9874
bug5774: cleaned up usage of the PaywallResolverImpl. Only use the class for initialization, but the interface for field declaration.
2024-02-26 17:14:29 +01:00
Udo Wessels
b023ba9673
Merge branch 'master' into bug5774
2024-02-26 15:32:36 +01:00
Udo Wessels
93f849cb14
Fixed non responsive sizing of the carousel header in home.html. Commented in detail on bug5950
2024-02-23 14:52:13 +01:00
Udo Wessels
9033e6a4ba
bug5968: defuse a little bit the unwanted click on 'data by TracTrac' link by shorten the link to only needed width and not full 100% line width.
2024-02-16 17:37:49 +01:00
Udo Wessels
948c21757f
bug5968: Adapted the implementation of checking the rights to see the media tab accordingly to the already fixed implementation of MultiregattaMediaTabView.
2024-02-16 10:58:19 +01:00
Udo Wessels
2d22fad303
Exchanged deprecated addDomListner method with native JS method addEventListener (and also removeEventListener) and moved code from DomMapHandlerRegistration to MapHandlerRegistration to remove duplicated code and move it to a central place.
2024-02-12 17:44:04 +01:00
Udo Wessels
1cc9239520
Merge branch 'bug5950'
2024-01-30 16:24:33 +01:00
Udo Wessels
0e19cd09a2
fixed error when loading UI resources: No source code is available for type com.sap.sailing.gwt.ui.raceboard.RaceboardDropdownResources
2024-01-30 16:22:30 +01:00
Udo Wessels
6f2cd4c5ce
bug5950: fixed a forgotten style change for premium icon in header bar.
2024-01-29 19:03:22 +01:00
Udo Wessels
d7dfaa748a
Merge branch 'master' into bug5950
2024-01-29 17:10:41 +01:00
Udo Wessels
968b0da9ba
bug5950: Centered the header navigation.
...
- Fixed positioning of the user icon in case of active premium subscription (home and race-board)
- Moved Login/Logout fly-out from calculated position to right, because we changed the position of the user icon also to the right while stretching the header
2024-01-29 16:50:17 +01:00
Udo Wessels
4d6647c2bd
bug5613: Additional fixes to 'data by TrackTrack' link for small mobile phone view.
2024-01-22 17:12:32 +01:00
Udo Wessels
16b0526e94
bug5927: added note to release notes
2023-12-22 16:03:58 +01:00
Udo Wessels
a9dad2b178
Merge branch 'master' into bug5927
2023-12-22 11:45:20 +01:00
Udo Wessels
be47d6e1a2
bug5927: Added new action to premium role and switched to correct SecuredDto.
2023-12-22 11:44:55 +01:00
Udo Wessels
3ab4e414aa
bug5927: Created a new list box premium element to move the colored-tails selection behind the paywall.
...
- added reset of view in case of user event status change
2023-12-18 16:50:53 +01:00
Udo Wessels
970ae1747b
Merge branch 'master' into bug5818
2023-12-11 16:52:27 +01:00
Udo Wessels
ea2ddb8b61
bug5818: removed the POST endpoint for deleting files from file storage and changed the client calls to the already existing DELETE endpoint.
...
- Also added a cleanup action if the cancel button of the respective dialogs were pressed. This was already implemented in some dialogs, but not in all.
2023-12-04 15:29:03 +01:00
Udo Wessels
5fa1868c16
Merge branch 'master' into bug5900
2023-12-01 14:30:06 +01:00
Udo Wessels
ec083ae40d
bug5900: For all entry points with starter label 'SAP Sailing Analytics' and 'Loading, please wait...' message the noscript tag is moved behind title element and is including now a short description about the Sailing Analytics to force Google bot to grab these texts instead of 'Loading, please wait...'. They are usually not shown but in case of missing JS it looks pretty fine and give the user additionally some nice information, what he is missing if he don't turn on JavaScript.
2023-12-01 14:23:44 +01:00
Udo Wessels
dfe4aae81c
bug5900: moved noscript a little bit back, added some general description before noscript text and redesigned the page a litte bit, so that noscript text is more behind in dom tree but on top of view.
2023-11-27 18:48:04 +01:00
Udo Wessels
509680e7b6
Merge branch 'master' into bug5900
2023-11-27 18:41:54 +01:00
Udo Wessels
980dd3e899
Merge branch 'bug5905'
2023-11-24 18:08:54 +01:00
Udo Wessels
d264cddff8
bug5905: revert wait in findElementBySeleniumId because there are reproducible test failures e.g. not finding a button in TestNegativeAcls.
2023-11-24 15:43:27 +01:00
Udo Wessels
eabee904a7
bug5905: cleanup
2023-11-24 12:51:44 +01:00
Udo Wessels
230000d401
Merge branch 'master' into bug5905
2023-11-24 12:48:12 +01:00
Udo Wessels
ebfcba1fdc
bug5905: enabled and fixed finally last part of Race Manager App QR code test, after production environment was updated to new QR code handling
...
- cleaned up code
- did some more stabilization by changing the central PageObject.findElementBySeleniumId to a Selenium wait.
2023-11-24 12:46:58 +01:00
Udo Wessels
0295859982
bug5905: removed unstable check in pressOk logic.
2023-11-20 13:34:11 +01:00
Udo Wessels
d459366075
bug5905: completed test of device registration.
...
- added a general test if check url of productive server is available and only execute test if server is reachable, because all tests are depending on this resource.
- one test is still not working completely until productive system is updated to handle qr-code generation requests for Race Manager App. This code is deactivated.
2023-11-20 12:20:54 +01:00
Udo Wessels
9889481123
Merge branch 'master' into bug5905
2023-11-17 17:29:55 +01:00
Udo Wessels
10de53c4f9
bug5905: Tests still have not been completed. Stabilized the tests. Tested already with new Race Manager App redirect in branch.io but until it is not live we need to leave last part of testRaceManagerAppInvitationLink uncommented.
...
- added some translations to exchange hard coded text.
2023-11-17 17:29:07 +01:00
Udo Wessels
8e94d076b0
bug5905: next test of creating QR-Code for device registration. Not completed yet.
2023-11-06 17:57:43 +01:00
Udo Wessels
5f99bcb654
Merge branch 'master' into bug5883
2023-09-04 13:51:36 +02:00
Udo Wessels
241464732b
bug5773: decoupled feature list rendering from hard coded feature line definitions.
...
- Now all features are configured by a key stored to depending plan category (enum). For each feature we need an entry in SubscriptionPlan.PlanCategory constructor and labels for name, description and url (optional filled with a link to further details about the feature). The rendering is done automatically and in the order of definition.
- see wiki (info/misc/subscriptions) for details
2023-09-01 16:09:23 +02:00
Udo Wessels
e7bfd2c0aa
bug5883: fixed width problem of feature list on mobile devices.
...
- Title is now vertically aligned and column width is optimized not to have a table width that forced to scroll horizontal.
2023-09-01 12:08:25 +02:00
Udo Wessels
62cc6d42c3
bug5900: added an additional meta attribute description to give google Crawler the right information for Google search.
2023-08-28 11:46:10 +02:00
Udo Wessels
aba062a11e
bug5883: did some text corrections and started rotating the feature titles 90 degree to save space, but cannot get width under control. Therefore, still under construction.
2023-08-18 17:58:29 +02:00
Udo Wessels
5a2b576c23
Merge branch 'bug5884'
2023-08-18 16:55:01 +02:00
Udo Wessels
50bd7e8565
Merge branch 'bug5510' into bug5666
2023-08-18 15:33:20 +02:00
Udo Wessels
f6c75d0793
Merge branch 'bug5884'
2023-08-18 15:22:31 +02:00
Udo Wessels
555ffb7eee
bug5884: last corrections.
2023-08-18 15:19:21 +02:00
Udo Wessels
2f7c8a8c58
Merge branch 'master' into bug5883
2023-08-18 11:02:59 +02:00
Udo Wessels
9c4969e67b
bug5883: Clean up.
2023-08-18 11:02:46 +02:00
Udo Wessels
841f957d06
bug5883: rework on feature initialization in code
2023-08-14 17:48:37 +02:00
Udo Wessels
be70c81742
bug5884: Reformulation of trial description
...
- rewrote trial texts
- cleaned up some titles
- Fixed wrong description text of premium plan in German translation
2023-08-14 10:54:43 +02:00
Udo Wessels
c8991f332f
bug5773: revert mail activation logic not to block mail tests. Only if explicit set to false, it will disable email server calls and log instead only mail content. For all other scenarios it works like before and will try to send the email.
2023-08-07 18:41:29 +02:00
Udo Wessels
48b07ec2f9
bug5773: Revert email toggle read from system properties and implemented the (standard) lookup of mail.enable property from mail.properties.
2023-08-07 14:28:48 +02:00
Udo Wessels
1fa15ca3bf
bug5773: fixed now the update of the user model and user details view if email validation status was set back.
...
- Introduced a new (optional) system parameter to disable email sending. This is good for local execution. No error occurs any more and email content is visible in the log.
2023-08-07 12:44:15 +02:00
Udo Wessels
c9faeb161d
Merge branch 'master' into bug5773
2023-08-04 15:09:43 +02:00
Udo Wessels
f21e823a65
bug5773: fixed not working cancelation of already covered subscriptions.
2023-08-04 15:09:12 +02:00
Udo Wessels
9a516e9cd5
bug5773: another missing German translation and small logging clean up.
2023-07-31 14:17:08 +02:00
Udo Wessels
a0d81ea44b
bug5773: updated documentation
2023-07-31 11:59:43 +02:00
Udo Wessels
e4c9e8f072
bug5773: Adapt text and provide missing German translations
2023-07-31 09:26:23 +02:00
Udo Wessels
4ba619cd66
Merge branch 'master' into bug5773
...
# Conflicts:
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
2023-07-31 09:09:27 +02:00
Udo Wessels
e31f756567
bug5878: Bugfix: It is now possible to subscribe to a plan and set a VAT number if previously subscribed to another plan.
2023-07-28 15:14:34 +02:00
Udo Wessels
ce2bbdd988
bug5773: Information popup for upgrades is now styled.
2023-07-24 17:46:39 +02:00
Udo Wessels
354a302ced
Merge branch 'master' into bug5773
...
# Conflicts:
# java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
2023-07-24 16:45:49 +02:00
Udo Wessels
62751201d5
bug5773: Add a first version of confirmation dialog to inform the user of an potential upgrade event.
...
- clean up error logging and messaging
- fine tune overlapping subscriptions (extra handling trial -> remove categories to prevent loophole)
2023-07-21 18:07:16 +02:00
Udo Wessels
35e753d51c
bug5773: Fixed refund behavior when auto cancelation is done. Now the payment amount will be refunded to origin account.
...
- merged bug5805, because need this improvements to have a full picture of changes regarding subscriptions before adding additional UI elements, like new information/confirmation dialogs.
2023-07-21 12:07:22 +02:00
Udo Wessels
976f37462f
bug5773: Added automatic and immediate cancelation of old subscription by api, if new one is covering the old one.
...
- old cancel service was renamed to nonRenewing to explain the difference to the new immediate cancelation logic
2023-07-17 17:49:13 +02:00
Udo Wessels
8958c5a299
Merge branch 'master' into bug5773
2023-07-10 14:54:13 +02:00
Udo Wessels
762e63a2bf
bug5805: The submit button will be disabled and renamed in case of not validated email address.
...
- On user detailed page the validation/invalidation process is now much clearer by adding some description and changed name of the save button of email changes to SAVE/VALIDATE.
- Added the current validation status of the email on the user detailed page.
- Small optimization on subscription page: if a plan is not active, e.g. the user has already a plan subscribed, than the price change buttons are grey to indicate that they have no function.
- Button to stop the auto-renewal of a subscription is now named 'stop auto-renewal' instead of misleading 'cancel subscription' text.
2023-07-10 14:35:58 +02:00
Udo Wessels
d88ecf6868
bug5773: again test push
2023-07-04 14:10:22 +02:00
Udo Wessels
76e444c563
bug5773: test push
2023-07-04 13:56:11 +02:00
Udo Wessels
dd4419915d
bug5773: fixed bug that it is not possible to upgrade a plan. Downgrade still not possible.
...
- added according JUnit tests to test core check of up-/downgrading plans.
2023-07-03 16:07:28 +02:00
Udo Wessels
89f9ae3416
Merge branch 'master' into bug5127
2023-02-13 10:07:46 +01:00
Udo Wessels
47dbeea141
bug5127: finalized the new media selenium tests. Now the URL field is tested on admin console and home view, but only the url input, not the file upload itself. But this include the important youtube and vimeo video insertion.
2023-02-06 20:30:57 +01:00
Udo Wessels
77de923423
bug5127: correct not wanted commit
2023-02-03 19:33:36 +01:00
Udo Wessels
a11f20595d
bug5127: First charge of Selenium test fragments. Not working.
2023-02-03 19:30:28 +01:00
Udo Wessels
ac7538b314
bug5127: added release notes.
2023-02-03 15:15:34 +01:00
Udo Wessels
3f36adb950
Merge branch 'bug5127'
2023-02-03 15:12:40 +01:00
Udo Wessels
223d41fb2b
bug5127: cleaned up not needed extra handling of qt MimeTypes.
2023-02-03 10:48:16 +01:00
Udo Wessels
d06fb40f11
bug5127: fixed not visible mov file on home media tab (if mime type is mov). Added mov to supported video types in MediaTagConstants.
...
- made changes to MimeType qt so that it is not using quicktime media sub type any more, because it is practically used as mp4 sub type by any video component later.
2023-02-03 10:39:52 +01:00
Udo Wessels
e2c70be2de
bug5127: disabled previous fix for a while and extended logging for better bug analysis. This changes will be reverted after testing.
2023-01-30 09:28:01 +01:00
Udo Wessels
caca18ae02
bug5127: special handling of double underscore in JSON. Double underscores in file name are encoded with hex representation and later decoded if read.
...
In some cases the JSON parser of Apples Safari on mobile devices cannot parse JSON value starting with a number and then double underscores. Usually there are no double __ in file name, but on Apple mobile devices the video filename is starting with digits following with two underscores, which will cause problems in JSON parser.
2023-01-27 18:39:51 +01:00
Udo Wessels
b769651eef
bug5127: added mov mime type to admin console upload dialog (event - video), so that on Apple mobile devices videos could be uploaded, else mp4 has to be chosen as mime type manually, which is not transparent or even intuitive.
2023-01-27 11:11:13 +01:00
Udo Wessels
43e6743119
bug5127: fixed adding Youtube and Vimeo media to an event.
...
- extended MimeType test for new centralized functionality of extracting MimeTypes from URL.
2023-01-23 18:55:15 +01:00
Udo Wessels
232e991fa0
bug5127: fixed the fixed popup dialog which prevented the user to scroll the popup content. Removed camera first feature, because on several devices it is not possible to open the file chooser any more.
2023-01-23 15:51:39 +01:00
Udo Wessels
9d2202d820
bug5127: added mimeType support for webm, because seams to be an important content type and on home we support this type of file but until now not on admin console. This is now aligned.
2023-01-20 16:34:57 +01:00
Udo Wessels
8879009975
bug5127: fixed file upload in case of not supported file types.
...
- Restricted upload only to supported file types (fixed a bug using accept attribute on the file upload input element).
- Improved upload process feedback
2023-01-20 15:38:06 +01:00
Udo Wessels
978f637826
bug5127: fixed scrolling behavior of the upload dialog box in home.
2023-01-20 13:36:12 +01:00
Udo Wessels
fcf162b39e
bug5127: added cancel button to add media dialog in home in case there are so many uploads that the popup grow over the screen boarders and the cancel and save buttons are not visible any more.
2023-01-20 11:34:02 +01:00
Udo Wessels
cd6b3dd097
Merge branch 'master' into bug5127
2023-01-20 09:20:05 +01:00
Udo Wessels
4be6b84e0c
bug5127: reverted change of OGV sub type to fix JUnit tests (test seems to be the trues, in this case)
2023-01-18 09:34:57 +01:00