Project

General

Profile

Actions

Feature #33592

closed

Include updated_on and passwd_changed_on columns in users API response

Added by Go MAEDA almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Users CSV has updated_on and passwd_changed_on column since r19740. I think it is inconsistent that the values are not included in API response.


Files


Related issues

Related to Redmine - Feature #33347: Include updated_on and passwd_changed_on columns when exporting users to CSVClosedGo MAEDA

Actions
Related to Redmine - Defect #33787: Redmine::ApiTest::UsersTest fail if config.time_zone is setClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 4 years ago

  • Related to Feature #33347: Include updated_on and passwd_changed_on columns when exporting users to CSV added
Actions #2

Updated by vzvu 3k6k almost 4 years ago

I've attached a patch to add these fields to user API, written by @Takenori TAKAKI and me. Tests for these changes will be posted later.

Actions #3

Updated by vzvu 3k6k almost 4 years ago

I've attached a patch to ensure these fields are correctly added.

But I'm afraid that these assertions might be too detailed. For now Redmine::ApiTest::UsersTest doesn't have tests for individual fields except for id and some optional fields.

I wonder if we should add assertions for other fields too, or just drop this test patch to keep test code simple.

Actions #4

Updated by Go MAEDA over 3 years ago

  • Target version set to Candidate for next minor release
Actions #5

Updated by Go MAEDA over 3 years ago

  • Target version changed from Candidate for next minor release to 4.2.0

Setting the target version to 4.2.0.

Actions #6

Updated by Go MAEDA over 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Actions #7

Updated by Go MAEDA over 3 years ago

  • Related to Defect #33787: Redmine::ApiTest::UsersTest fail if config.time_zone is set added
Actions #8

Updated by Go MAEDA over 3 years ago

  • Subject changed from Include updated_on and passwd_changed_on columns in API response to Include updated_on and passwd_changed_on columns in users API response
Actions

Also available in: Atom PDF