Skip to content

Releases: ocariot/account

v2.3.2

29 Jan 16:39
Compare
Choose a tag to compare

New Features:

  • Added children:readAll scope to Application user.

Refactorings:

  • Fixed date validators;
  • Improved some error messages;
  • Updated versions of the dependencies used in the project.

v2.3.1

24 Jan 13:18
Compare
Choose a tag to compare

New Features:

  • Adjustments to the scopes of the QFoodTracking resource;
  • Added new scopes: foodtracking:create, foodtracking:read, foodtracking:update e foodtracking:delete;
  • All users have these new scopes.

v2.3.0

15 Jan 03:04
Compare
Choose a tag to compare

New Features:

Removed scopes and added new ones.

  • Admin

    • removed: foodrecord:read
    • added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:read, habitsquest:read, foodhabitsquest:read, perceptionquest:read
  • Application

    • removed: questionnaires:create, questionnaires:read, foodrecord:create, foodrecord:read
    • added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:read, habitsquest:read, foodhabitsquest:create, foodhabitsquest:read, perceptionquest:read
  • Child

    • removed: questionnaires:create, questionnaires:read, foodrecord:create, foodrecord:read
  • Family

    • removed: questionnaires:create, questionnaires:read, questionnaires:update, questionnaires:delete, foodrecord:create, foodrecord:read, foodrecord:update, foodrecord:delete
    • added: socioquest:create, socioquest:read, socioquest:update, healthquest:create, healthquest:read, healthquest:update, parentphyquest:create, parentphyquest:read, parentphyquest:update, childrenphyquest:read, habitsquest:create, habitsquest:read, habitsquest:update, foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update, perceptionquest:create, perceptionquest:read, perceptionquest:update
  • Educator

    • removed: questionnaires:create, questionnaires:read, questionnaires:update, questionnaires:delete, foodrecord:create, foodrecord:read, foodrecord:update, foodrecord:delete
    • added: childrenphyquest:read, habitsquest:create, habitsquest:read, habitsquest:update, foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update, perceptionquest:create, perceptionquest:read, perceptionquest:update, missions:create, missions:update
  • Health Professional

    • removed: questionnaires:read, foodrecord:read
    • added: socioquest:read, healthquest:read, parentphyquest:read, childrenphyquest:create, childrenphyquest:read, childrenphyquest:update, habitsquest:read, foodhabitsquest:read, perceptionquest:read

v2.2.0

06 Dec 16:26
Compare
Choose a tag to compare

New Features:

  • Updated the integer age attribute to type String. The attribute receive integer, float or yyyy-mm-dd;
  • Added age_calc_date attribute;
  • Updated and added validators for the age and age_calc_date attributes;
  • Updated and added of integration tests for age and age_calc_date attribute.

Bug Fixes:

  • Fixed issue causing client MongoDB to issue warnings about reconnectTries and reconnectInterval options.

v2.1.1

04 Dec 04:23
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed bug in providers that returned a maximum of 100 records.

v2.1.0

27 Nov 15:37
Compare
Choose a tag to compare

New Features:

  • Added to the child model the attributes fitbit_status and cve_status;
  • Added handler for subFitbitRevoke() event. It sets the child's fitbit_status attribute to 'none';
  • Updated the handler for the subFitbitAuthError() event. Now the fitbit_status attribute is updated according to the error code received in the event;
  • Updated the handler for the subFitbitLastSync() event to set fitbit_status attribute to 'valid_token';
  • Whitelist removed.

Bug Fixes:

  • Fixed bug not returning last_sync and last_login.

v2.0.8

22 Nov 02:50
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed bug with sorting and filtering users by username.

v2.0.7

20 Nov 23:14
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed field validations that let null values ​​pass;
  • Fixed bug not returning last_login and last_sync;
  • Fixed bug in children attribute of Family and ChildrenGroup templates that did not validate null values;
  • Fixed bug on users who could update institution_id with null value.

v2.0.6

11 Nov 22:54
Compare
Choose a tag to compare

Bug Fixes:

  • Bug fix associated with submitting ID in POST of each resource. The ID passed in the body was being considered and this caused error message when it was not expected.

v2.0.5

11 Nov 15:50
Compare
Choose a tag to compare

Bug Fixes:

  • Institution model corrected to accept latitude and longitude as number or sequence. Before was blocking valid number.