Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

358 enhancement information needed to register ultrascan #134

Conversation

ehb54
Copy link
Owner

@ehb54 ehb54 commented Oct 2, 2024

No description provided.

@demeler demeler requested a review from doluk October 2, 2024 19:55
Copy link
Collaborator

@doluk doluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the php backend already work? Then I would compile it tomorrow morning and test it.

Do we need the city? Because without the zip code it might not be unique (here in Germany we have a few times the same name for a city)

@@ -431,10 +390,8 @@ void US_License::update( void )
if ( firstname == "" ||
lastname == "" ||
institution == "" ||
address == "" ||
state == "" ||
zip == "" ||
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be removed too?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it can stay, because we init the zip code to be n/a. But the same is true for the address. So for consistency...

Copy link
Collaborator

@doluk doluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing License
image
Expired License
image
No License
image

Had some issues testing this with the SSL/TLS stuff on windows, but fixed that by copying the stuff into the bin folder of a stable release install of Ultrascan.

I tested the Initial registration and updating the license. Worked both without any problems.

The only thing I noticed is, that renewing the license will not remove the old information from the license when updating it. Which means, the information is still send over the internet to a none european server and the information is still stored somewhere on the device. This should be changed so it automatically replaces those information with n/a when updating the license.
This should be an easy thing by just force fully setting the fields in the update function to n/a.

@@ -431,10 +390,8 @@ void US_License::update( void )
if ( firstname == "" ||
lastname == "" ||
institution == "" ||
address == "" ||
state == "" ||
zip == "" ||
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it can stay, because we init the zip code to be n/a. But the same is true for the address. So for consistency...

@demeler
Copy link
Collaborator

demeler commented Oct 3, 2024 via email

@doluk
Copy link
Collaborator

doluk commented Oct 3, 2024

No, I wasn't arguing against the sending of the data in itself. It was about sending the address, phone number and zip code over the internet when no longer required by us. That you need some sort of telemetry data for the grant is absolutely understandable!

@demeler
Copy link
Collaborator

demeler commented Oct 3, 2024 via email

@doluk doluk changed the base branch from master to 358-enhancement-information-needed-to-register-ultrascan October 3, 2024 15:13
@doluk doluk merged commit ab22ea6 into ehb54:358-enhancement-information-needed-to-register-ultrascan Oct 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants