Skip to content

Releases: ocariot/account

v2.7.1

27 Oct 18:56
Compare
Choose a tag to compare

Adds new scopes

  • Adds admin and family users scopes to delete questionnaires: socioquest:delete, healthquest:delete, parentphyquest:delete, childrenphyquest:delete, habitsquest:delete, foodhabitsquest:delete, perceptionquest:delete

v2.7.0

07 Sep 21:05
Compare
Choose a tag to compare

New Features

  • Adds children.nfc resource
    • Associates an NFC tag with a child. The same tag cannot be associated with more than one child:
      • POST /v1/children/{child_id}/nfc
    • Retrieves a child's data by the NFC tag:
      • GET /v1/children/nfc/{nfc_tag}

v2.6.3

22 Jun 19:58
Compare
Choose a tag to compare

New Fetures and bug fixes

  • Adds device scopes
  • Fixes #2
  • Fixes the error that did not apply sorting after updating the lib query-strings-parser
  • Fixes test settings
  • Updates .dockerignore and the base node image to node: 12-alpine
  • Updates CustomLogger class

v2.6.2

28 Apr 18:19
Compare
Choose a tag to compare

Improvements:

  • Refactoring access to user's scopes in AuthRepository's generateAccessToken(user: User) method:
    • Accessing user scopes from their array in the Default class.
  • Removing scopes from user's models and schema;
  • Removing users.types.scopes endpoint;
  • Updating dependencies.

v2.6.1

17 Apr 16:41
Compare
Choose a tag to compare

New Features:

  • Adding notifications:read and notifications:delete to Admin, Child, Educator, Family and HealthProfessional users.

v2.6.0

15 Apr 16:56
Compare
Choose a tag to compare

New features:

  • Added a task to notify when a child has not synchronized their data for 7 days or more;
  • For this, a method was added to ChildRepository class: findInactiveChildren(numberOfDays: number)

Improvements:

  • Updated dependencies;
  • Updated some config files: Default class, Dockerfile, .travis.yml

v2.5.0

30 Mar 17:16
Compare
Choose a tag to compare

New features:

  • New providers registered in RPC task:
    • provideEducatorsFromChild(childId: string)
    • provideHealthProfessionalsFromChild(childId: string)
  • New scopes:
    • Added gamificationprofile:update for Educator and Family users
    • Added missions:delete for Educator users

v2.4.0

05 Mar 13:55
Compare
Choose a tag to compare

New features:

  • Adding users.types.scopes endpoint
  • Adding new scopes:
    • Family: gamificationprofile:create, missions:create, missions:update
    • Educators: gamificationprofile:create

v2.3.4

05 Feb 19:08
Compare
Choose a tag to compare

Bug fixes:

  • Fixing how a child is updated after the arrival of any Fitbit event in handlers.
  • For this, adding two new methods in ChildRepository: updateFitbitStatus and updateLastSync.
  • Updated dependencies.

v2.3.3

29 Jan 20:42
Compare
Choose a tag to compare

Improvements:

  • Added notifications:create scope to users (except Application).