• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 13388202322
25%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dead-code-cleanup
DEFAULT BRANCH: master
Ran 18 Feb 2025 10:17AM UTC
Jobs 2
Files 774
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Feb 2025 10:14AM UTC coverage: 72.34% (+47.4%) from 24.975%
13388202322

Pull #1999

github

web-flow
feat: expose passwords and drop autologin (#2005)

## Problem

The users API does not expose the passwords. Initially, we implemented
like that for security
reasons, but giving that the password is send over an authenticated
HTTPS connection, we do not
think it is relevant. After all, you are sending/receiving the password
using the same channel.

Moreover, the D-Bus API is kind of inconsistent. The "first user" is
exposed as a single "object",
while the root data are separate D-Bus properties.

## Solution

- Make user/root passwords visible.
- Drop the autologin property, as it is not wanted anymore.

About the D-Bus API, this PR puts all the root information together
using a `RootUser` property.
Ideally, we should have a `SetRootUser` method too, but it will have to
wait a bit.

## Testing

- Added a new unit test
- Tested manually
Pull Request #1999: feat(web): rework users interface

25 of 51 new or added lines in 6 files covered. (49.02%)

72 existing lines in 2 files now uncovered.

19505 of 26963 relevant lines covered (72.34%)

42.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
0.0% rust/agama-server/src/users/web.rs
5
60.0
service/lib/agama/dbus/users.rb
17
0.0
0.0% rust/agama-lib/src/users/client.rs

Uncovered Existing Lines

Lines Coverage ∆ File
9
0.0
0.0% rust/agama-lib/src/users/client.rs
63
0.0
0.0% rust/agama-server/src/users/web.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 service 13388202322.2 18 Feb 2025 10:17AM UTC 644
88.93
GitHub Action Run
2 rust 13334599182.2 14 Feb 2025 06:02PM UTC 130
24.97
GitHub Action Run
Source Files on build 13388202322
  • Tree
  • List 774
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13388202322
  • Pull Request #1999
  • PR Base - storage-config-ui (#13334599182)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc