-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Improvement] Manage EOL date by setup eol_explicit status #13806
[Improvement] Manage EOL date by setup eol_explicit status #13806
Conversation
Google Oauth Recap
Signed-off-by: snipe <snipe@snipe.net>
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # public/css/dist/skins/skin-red-dark.css # public/css/dist/skins/skin-red-dark.min.css # public/mix-manifest.json
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # public/css/build/app.css # public/css/build/overrides.css # public/css/dist/all.css # public/mix-manifest.json
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # public/css/build/app.css # public/css/build/overrides.css # public/css/dist/all.css # public/mix-manifest.json
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # config/version.php # public/css/dist/all.css # public/js/build/app.js # public/js/build/vendor.js # public/js/dist/all.js # public/mix-manifest.json
This should provide LDAPS support out of the box, and fix snipe#13129
Fixed snipe#13129: Add missing LDAP lib required for LDAPS support
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # config/version.php
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # public/css/dist/skins/skin-yellow-dark.css # public/css/dist/skins/skin-yellow-dark.min.css # public/mix-manifest.json
Signed-off-by: snipe <snipe@snipe.net>
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # config/version.php
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # public/css/dist/all.css # public/css/dist/bootstrap-table.css # public/js/dist/bootstrap-table.js # public/mix-manifest.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I think I see the advantage to this now.
Could we add some text to the checkbox explaining what it is? I think it'd be a little confusing as is. It could just say "Explicit" or something.
The one concern I have is if you check the box on an existing asset that has EOL months set on the model, the date box defaults to the calculated date (which makes sense) and then you can save an asset with eol_explicit
set to true
, even though it's the same as the calculated date. This could get a little confusing and defeat some of the purpose of the feature.
Could we do a diffInMonths()
check to make sure that it's actually different before saving?
Thanks again!
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # config/version.php
Yeah, I think that's more or less what I mean for the text. We could still check if Not a hill I'm ready to die on though - I do see your point about being able to set it explicit to not change the |
I'm sorry, by mistake updated my branch by master, not sure how to revert changes, so re-created this PR under new #13846 |
Description
This improvement allow setup EOL date manually by user on damand by set eol_explicit checkbox.
BEFORE:
AFTER:
If checkbox is not checked then EOL date is hiden and calculation of date is on the base Model EOL rate
If checkbox is checked then EOL date is showed and user can input EOL Date manually.
Status of checkbox is saved as eol_explicit value
In this way is much easier to manage EOL date and explicit marker status instead of build complex rules :)
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: