Change Log
All notable changes to this project will be documented in this file.
[0.8.2] - 2021-02-xx
Added
Fixed
Ecoportal::API::V1::Person#filter_tags=should ignorenilvalues
Changed
- removed all the namespace under
Ecoportal::API::V2as that is managed byecoportal-api-oozesgem Ecoportal::API::V1::People.getshould return aPersonobject- observe that it was returning the
WrappedResponse(anEnumerablehelper that works better when getting multiple people).
- observe that it was returning the
[0.7.5] - 2021-02-12
Added
Fixed
pretty_printmethod was colliding withppmodule:- renamed to
Ecoportal::API::Common::BaseModel#print_pretty - renamed to
Ecoportal::API::Common::BatchReponse#print_pretty - renamed to
Ecoportal::API::Common::Reponse#print_pretty - renamed to
Ecoportal::API::Common::WrappedResponse#print_pretty
- renamed to
Changed
- forgot to change
Ecoportal::API::VERSIONduring last release
[0.7.4] - 2021-01-2
Added
Fixed
- changed
compacttocompact!:Ecoportal::API::V1::Person#filter_tags=Ecoportal::API::Internal::Account#policy_group_ids=Ecoportal::API::Internal::Account#login_provider_ids=Ecoportal::API::Internal::Account#starred_ids=
Changed
[0.7.3] - 2020-11-30
Added
Fixed
Ecoportal::API::V1::Person#email=: was not showing the incorrect value in the error message- added
compactto removenullvalues on:Ecoportal::API::V1::Person#filter_tags=Ecoportal::API::Internal::Account#policy_group_ids=Ecoportal::API::Internal::Account#login_provider_ids=Ecoportal::API::Internal::Account#starred_ids=
Changed
[0.7.2] - 2020-10-19
Added
Ecoportal::API::V1::Person#email=:- do a minimum validation (no blanks in the email)
- set in lower case (as this is how it's in the server) ### Fixed
Ecoportal::API::V1::People#each: whensilentit shouldn't print a blank line- fixed so they return empty array
[]whennil:Ecoportal::API::V1::Person#filter_tagsEcoportal::API::Internal::Account#policy_group_idsEcoportal::API::Internal::Account#login_provider_idsEcoportal::API::Internal::Account#starred_ids### Changed
- made it so some methods the
Arraywithuniqvalues:Ecoportal::API::V1::Person#filter_tags=Ecoportal::API::Internal::Account#policy_group_ids=
- made it so it only updates the keys defined in the
Hashpassed to the setter:Ecoportal::API::Internal::Account#permissions_custom=Ecoportal::API::Internal::Account#preferences=
[0.7.1] - 2020-09-30
Added
Ecoportal::API::Internal::Permissions: update for new abilitytasksof ecoPortal release1.5.3Ecoportal::API::V1::People#each: added keyword argumentsilent:to display download progress ### FixedEcoportal::API::V1::People#each: when no block provided, it was creating anEnumaratorwithout preserving the parameters (i.e.:qorper_pagewere lost)
[0.7.0] - 2020-09-11
Added
- added hook, private method
body_datafor child classes to define behaviour onresponse.bodytoEcoportal::API::V1::PeopleEcoportal::API::Common::BatchOperation
Changed
Ecoportal::API::Internal::Permissions: update for new abilities of ecoPortal release1.5.2- decoupled abilities:
person_coreintoperson_core_create,person_core_edit### Fixed
- decoupled abilities:
[0.6.0] - 2020-07-14
Added
Ecoportal::API::Common::BaseModel#initial_doc:#consolidate!modifiesoriginal_doc- this helper allows to know what was the initial document the object was created with
Ecoportal::API::Common::BaseModel#as_update: added parameter (default::last=> compare withoriginal_doc)- calling it with
:totalwill compare the currentdocwith theinitial_doc### Changed
- calling it with
Ecoportal::API::Internal::Permissions: update for new abilities of ecoPortal release1.5.0- added abilities:
person_core,person_account,person_details - removed ability:
people
- added abilities:
- renamed
printtopretty_printto avoid overriding$stdout.print, on:Ecoportal::API::Common::BaseModelEcoportal::API::Common::BatchReponseEcoportal::API::Common::ResponseEcoportal::API::Common::WrappedResponse### Fixed
Ecoportal::API::Internal::Preferences: kiosk settings should default tofalse(nil)
[0.5.8] - 2020-06-23
Added
Changed
Fixed
Ecoportal::API::V1::Person#filter_tags=:original_doc["filter_tags"]isnilwhen creating a personEcoportal::API::Internal::Account#policy_group_ids=:original_doc["account"]isnilwhen creating a person
[0.5.7] - 2020-06-22
Added
Ecoportal::API::V1::PersonSchema: addedenable_tags&tagspropertiesEcoportal::API::Internal::Preferences: added missing fields for kiosk ### ChangedEcoportal::API::V1::People::JOB_TIMEOUT: from 1 minute to 3 minutesEcoportal::API::V1::Person#filter_tags=: will preserve the original order of the matching tags- this change is to prevent
as_updateto generate false update positives
- this change is to prevent
Ecoportal::API::Internal::Account#policy_group_ids=: will preserve the original order of the matching ids- this change is to prevent
as_updateto generate false update positives ### Fixed
- this change is to prevent
Ecoportal::API::Internal::Preferences: accessdocusing string keys (not withsymbolkeys)
[0.5.6] - 2020-06-08
Added
- this
CHANGELOG.mdfile - person model:
freemiumcore property ### Changed ### Fixed