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

roundup-tracker / roundup / 43760997786
75%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2026 09:06PM UTC
Jobs 1
Files 114
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

15 Nov 2026 08:51PM UTC coverage: 75.165% (+0.007%) from 75.158%
43760997786

push

github

rouilj
fix: issue2551437 - Clean up REST API handling...reserved... Password hyperdb props.

Detect attempts to change reserved properties in the REST interface.
Reserved properties can be included in the payload, but must have the
same value as the entry in the database. (Note ETAG checking is done
first, so the database should match the payload.)

Also Password properties are obscured in the REST interface. If the
obscured value is submitted, the password was changed to the obscured
value. Now such values are filtered from the change.

To implment his the following changes were done:

roundup/password.py:

  move password placeholder, obtaining a password placeholder and a
  method to detect a password placeholder to the Password class.

roundup/rest.py

  In props_from_args() remove code that identified reserved props by
  diffing .properties and .getprops(protected=True). Just import from
  hyperdb.Class.hyperdb_reserved_props added in prior commit.

  In props_from_args() filter out reserved props where their value is
  the same as in the database. Returns a UsageError using the reserved
  prop detection/error message methods. This changes the REST returned
  message and may be an issue.

  In props_from_args(), filter out props that match a Password
  placeholder. (Note, verifying that the prop is a Password type is
  not done. It is solely based on the value of the prop matching a
  password placeholder.)

  In prop_from_args() return an empty list if value is an empty
  list. Before it returned None which compared incorrectly to an empty
  list in the database. This resulted in an undesired update to the
  database. Also use roundup/password methods to generate placeholder
  strings.

  In put_element() enable analysis of protected props for changes.

  In put_element() extract getuid() call from inside of a loop.

roundup/security.py:

  Add pretty() method to dump permission when debugging with labeles
  for each component.

test/rest_common.py:

 ... (continued)

26 of 29 new or added lines in 3 files covered. (89.66%)

2 existing lines in 1 file now uncovered.

19167 of 25500 relevant lines covered (75.16%)

3.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
85.31
0.15% roundup/password.py
1
88.73
-0.06% roundup/rest.py
1
83.33
-0.24% roundup/security.py

Coverage Regressions

Lines Coverage ∆ File
2
88.73
-0.06% roundup/rest.py
Jobs
ID Job ID Ran Files Coverage
1 43760997786.1 15 Nov 2026 09:06PM UTC 114
75.16
GitHub Action Run
Source Files on build 43760997786
  • Tree
  • List 114
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43760997786
  • 9f408736 on github
  • Prev Build on master (#42397152705)
  • Next Build on master (#43763683514)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc