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

Implementation of Server {Login|Logout} commands #1067

Merged
merged 27 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ff2ef24
Skeleton for agama-cli Server command
mchf Feb 23, 2024
916c07d
Skeleton for Server/{Login,Logout} subcommands
mchf Feb 26, 2024
0bc558c
Subcommand match skeleton
mchf Feb 27, 2024
8e42568
Skeleton for handling credentials
mchf Feb 28, 2024
02b0f86
Interactive input of credentials
mchf Feb 29, 2024
fb200a3
Reading credentials from a file
mchf Mar 1, 2024
48b11ba
Do not deal with user name. For now only root is expected.
mchf Mar 1, 2024
5fbf7bb
Refactoring: Some renaming. Do not messup input and output data format
mchf Mar 1, 2024
25ce87d
Refactoring: Turned into objects
mchf Mar 1, 2024
262f48c
Documentation
mchf Mar 2, 2024
c4b45b2
Implemented Login / Logout subcommands
mchf Mar 6, 2024
a47caee
Small cleanup
mchf Mar 6, 2024
cfaaa2f
Formatting
mchf Mar 5, 2024
b1ae6cb
Decrease noisyness
mchf Mar 5, 2024
fd28d84
A cleanup according to the review - mostly comments
mchf Mar 6, 2024
a737cd4
Restrict permissions on file with JWT
mchf Mar 6, 2024
c5a3d4d
Use clap Args for struct with options to look more cool
mchf Mar 6, 2024
2fa0f44
Do not raise false error when called logout without previous login
mchf Mar 6, 2024
47a928a
Renamed command from 'Server' to 'Auth' to save first one for later use
mchf Mar 6, 2024
40f41e1
Formatting
mchf Mar 6, 2024
b752439
Introduced public function for getting stored JWT + new subcommand Show
mchf Mar 6, 2024
53a5bae
Modified handling of path where JWT is stored
mchf Mar 6, 2024
fa4c211
Minor cleanup. Some docs.
mchf Mar 6, 2024
9042a19
Updates according to the review
mchf Mar 7, 2024
72aa16c
Reformated message
mchf Mar 7, 2024
b8991fe
Minor leftovers from the review
mchf Mar 7, 2024
4754ad9
Updated changelog
mchf Mar 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading