Repository navigation
feat: add Jmix account sign-in and Enterprise+BPM trial (#9) - #10
Merged
Merged
Conversation
AccessTokens refreshes once per process, keeps the rotated refresh token and deletes the session when the provider ends it. StoreClient reads the store's subscriptions, trial availability and trial start, with one refresh-and-retry on a 401. The checked-cast string reader that SessionStore, TokenClient and BrowserSignIn each carried now lives in util/Json.kt and StoreClient uses it too.
Add the account-and-trial feature guide and link it from AGENTS.md and the README, with the session location and the new options-table wording for --no-update and -h. Point the add-ons guide at jmix trial, and note jdk.httpserver in the distribution guide. Extend the installer tests (shell and PowerShell) to run login --help and trial --help and to require jdk.httpserver in the runtime image, which only the installed CLI needs.
A browser that still has a Jmix sign-in session completes the sign-in without showing a page, so jmix trial could ask to start the trial without ever naming the account. signInInteractively, which jmix login and jmix trial share, now prints the "Signed in ..." line itself. Without a name or email claim the line reads "Signed in to your Jmix account." instead of "... as your Jmix account."
Clikt's test() runs Mordant's JNA terminal detection, so every test run printed four "restricted method" warnings on JDK 25. Use the flag the application already passes.
The account/trial row filtered only the account and trial packages and skipped LoginCommandTest, LogoutCommandTest and TrialCommandTest. Use the command from the feature guide.
Group commands in a dedicated package and add a responsive menu with cached account details, logo-only animation and navigation back from project creation. Prevent credential leaks through redirects and errors, validate trial archives, and add regression tests and updated documentation.
- .gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three independent reviews covered account and trial security, generation and wizard behavior, and release verification. Follow-up checks reproduced the fixes for session races, stalled responses, and trial extraction failures.
Tracks #9.