Change Log
All notable changes to this project will be documented in this file.
[2.0.10] - 2024-08-xx
Added
Changed
Fixed
[2.0.9] - 2024-08-22
Added
force_completestage tasks
[2.0.8] - 2024-08-08
Fixed
- Force to load via
ecoportal/api-v2
[2.0.7] - 2024-08-08
Fixed
- Get
Commonnamespaced all over the code
[2.0.6] - 2024-08-08
Fixed
- use full path and
requireonly
[2.0.5] - 2024-08-07
Fixed
- Use correct endpoint to update page-stages
[2.0.4] - 2024-08-07
Added
- Ability to
submit!andsign_off!
[2.0.0] - 2024-08-01
Added
- File upload to S3 and register it to ecoPortal
Ecoportal::API::Common::Content::DoubleModel- Allow update on
external_id
- Allow update on
Changed
- require
ruby 3
[1.1.8] - 2024-03-23
Changed
- A lot of code tidy up
Fixed
Ecoportal::API::Common::Conent::CollectionModel- correct
itemklassresolution
- correct
[1.1.7] - 2024-03-13
Added
Ecoportal::API::Common::Concerns::BenchmarkableEcoportal::API::Common::Conent::CollectionModel- added ability to define default value for
read_only
- added ability to define default value for
Fixed
Ecoportal::API::Common::Content::CollectionModeltidied up itemklassscoping- added some benchmarking too
- memoize
@_items
[1.1.6] - 2024-02-29
Added
- A bit of specs on object retrieval for
Ecoportal::API::Common::Conent::CollectionModel Ecoportal::API::Registers::PageResultexposedmembranes- with new object
Ecoportal::API::Registers::PageResult::MembraneDroplet
- with new object
Fixed
Ecoportal::API::Common::Conent::CollectionModel
[1.1.5] - 2024-02-03
Changed
- Upgrade gem dependencies
[1.1.4] - 2024-02-01
Added
- Support for new fields
Ecoportal::API::V2::Page::Component::ActionsFieldEcoportal::API::V2::Page::Component::MailboxField
[1.1.3] - 2023-06-28
Added
Ecoportal::API::V2::Page::Component::ContractorEntitiesField- Added support for contractor entities fields.
[1.1.2] - 2023-04-17
Changed
- Require ruby version
2.7.2 - Soften max version on gem dependencies
- Upgrade core
ecoportal-apigem
Fixed
Ecoportal::API::Common::Content::DoubleModelwas not copyingdocat root level
[1.1.1] - 2023-03-09
Added
Changed
- upgraded core gem
ecoportal-api
Fixed
[1.0.1] - 2023-02-24
Added
- Allowed
read_onlymode to supportemdeds_manywith item class withoutmethod_keyEcoportal::API::Common::Content::DoubleModelEcoportal::API::Common::Content::CollectionModelEcoportal::API::Common::Content::ArrayModel
Changed
- It is a risky change (so treated as a braking change)
[0.9.7] - 2022-11-29
Added
Ecoportal::API::V2::Page::Component::ReferenceFieldadded methods#deleteand#clear
Changed
Ecoportal::API::V2::Page::Component::ReferenceField#add- be able to add multiple references
- prevent double-ups, just in case the server doesn't handle this
Fixed
Ecoportal::API::V2::Page::Component#bindings
[0.9.6] - 2022-11-18
Added
Ecoportal::API::V2::Page::Stage#componentsEcoportal::API::V2::Page::Component#replaceEcoportal::API::V2::Page::Force::Binding#replace
Fixed
Ecoportal::API::V2::Page::Component#bindings
[0.9.5] - 2022-11-17
Fixed
Ecoportal::API::V2::Page::Component::ImagesField#empty?missed to add this one.
[0.9.4] - 2022-11-15
Added
Ecoportal::API::V2::Page::Component::ImagesField#add_imageempty?method to components
[0.9.3] - 2022-10-11
Added
Ecoportal::API::V2::Pagemethods#mark_as_submitand#mark_as_sign_off
Changed
Ecoportal::API::V2::Pages#get_new, to return an object of classEcoportal::API::V2::Pages::PageStage
Fixed
- Remove debugging message
[0.9.2] - 2022-09-29
Added
Ecoportal::API::V2::Page::Component::SelectionOption#delete!Ecoportal::API::V2::Page::Component#delete!Ecoportal::API::V2::Page::Component#moveto move to another section or side of the sameEcoportal::API::V2::Page::Component#unattach!to detach the component from any sectionEcoportal::API::V2::Page::Component::SelectionOption#delete!Ecoportal::API::V2::Page::Component::Binding#delete!Ecoportal::API::V2::Page::Section#remove_component!to simplify the removal of a field from the section
Changed
Ecoportal::API::V2::Page::Component::SelectionField#options- added and moved logics to
Ecoportal::API::V2::Page::Component::SelectionOptions
- added and moved logics to
Ecoportal::API::V2::Page::Component::SelectionOption#nameto return#valuewhen it's empty
Fixed
- Remove debugging message
[0.9.1] - 2022-09-26
Added
Ecoportal::API::V2::Page::Force::Helper
Changed
Ecoportal::API::V2::Page::Force, logic aroundhelpers(remote forces)- breaking change:
scriptis not writable anymore. You should usecustom_scriptinstead.
- breaking change:
[0.8.33] - 2022-09-23
Changed
Ecoportal::API::Common::Content::DoubleModel#embeds_many: added new_class name collision prevention
Fixed
Ecoportal::API::Common::ClassHelpers.new_class: should acceptnameparameter to be a class itself
[0.8.32] - 2022-09-19
Added
Ecoportal::API::V2::Pages::PageCreateResponseto wrap the response on creation
Changed
Ecoportal::API::V2::Pages#createto rather return aPageCreateResponse
Fixed
Ecoportal::API::V2::Pages#createto make sure new page with no changes can be created.
[0.8.31] - 2022-09-15
Added
Ecoportal::API::Common::Content::ClassHelpers.uidto generate a random uid
Changed
- added inheritable attributes to
Ecoportal::API::Common::Content::ArrayModel(:order_matteres, :uniq)Ecoportal::API::Common::Content::CollectionModel(klass, :order_matters, :order_key, :items_key, :new_item)Ecoportal::API::Common::Content::DoubleModel(:key)
- moved
SecureRandomdependency toEcoportal::API::Common::Content::ClassHelpers
Fixed
Ecoportal::API::V2::Page::Component::SelectionOption#numeric!fix conversionEcoportal::API::Common::Content::ClassHelpers,new_class- Added parameter
namespace(default: the classinheritsparameter): it's purpose is to define the namespace where the new class will sit - Fixed also the namespace where the new class constant will sit (it was using always the source class
self) - Improved
nameparameter to have a default value that is randomized. This is useful when we just want to do something likeSomeClass.new_class, where the name of the new class doesn't really matter.
- Added parameter
- Fixed lost reference of class resolvers when using
embeds_manyEcoportal::API::Common::Content::ClassHelpers,resolve_classaccepts now aHashwithkeyreferrer class, andvalueany of the previously accepted ones (i.e.SymbolorString). To this purpose,source_classparameter has been added.- This has been natively wrapped in
Ecoportal::API::Common::Content::DoubleModel.embeds_many, as it naturally shares theclass_resolverwith a third party class that loses the reference.
[0.8.30] - 2022-07-11
Added
Ecoportal::API::V2::Page::MoultCounter- Available on
Ecoportal::API::V2::Pages::PageStage
- Available on
Ecoportal::API::V2::Page::Component#Lawadded support forLawFieldcontent- where
Ecoportal::API::V2::Page::Component#LawFieldhas many of
- where
Ecoportal::API::V2::Componentadded parameterany_length:for#refand#indexable_label(aiming to enhance data exportability)
Changed
- Reviewed
to_smethod on multiple components, to ensure smooth export
Fixed
Ecoportal::API::V2::Pages::PageStage#uid- Should check if
mould_conterexists - Should return
idifmould_counterdoes not exist
- Should check if
- Exports
Ecoportal::API::V2::Pages::Component::PeopleField#to_s: fix type conversionEcoportal::API::V2::Pages::Component::DateField#to_s: make time to work to the local timezone where the client script runs
[0.8.29] - 2022-07-07
Added
Ecoportal::API::V2::Page::Component::ActionField#permitted_person_schema_ids- Integration for the new feature
Ecoportal::API::V2::Pages::PageStage#uidnew method for directly rendering the uid
Changed
Ecoportal::API::V2::Page::Component::PeopleField#configure_permits- Allow for
can_viewto prevent unnecessary errors
- Allow for
Fixed
Ecoportal::API::V2::Page::PermissionFlags#configurefixed typo
[0.8.28] - 2022-05-31
Added
Ecoportal::API::V2::Page::Component::FileaddedlabelEcoportal::API::V2::Page::Component::Imageaddedupload_idandfile_file_name
[0.8.27] - 2022-04-25
Added
Ecoportal::API::Common::Content::CollectionModel#clear- It calls
#delete!on each item from anArraycopy
- It calls
Ecoportal::API::V2::Page::Components#add- Now it allows to use a
Hashdoc model to create theComponent
- Now it allows to use a
Ecoportal::API::V2::Page::Component::SelectionFieldadded some methods:#numeric?,#text?to check thedata_typeof the selection options#switch_type!to switch thedata_typebetweentxtandnum#deselectto mark asfalsethe propertyselectedof some selection option#namecounterpart of#value#valuesand#namesthey return always anArray(no matter if the field is notmultiple)#options_by_valuewhich returns aHashwith all the options by theirvalue#options_by_namewhich returns aHashwith all the options by theirname
Ecoportal::API::V2::Page::Componentadded some methods:#forces,#bindingsand#bindings?to check if a Component has bindings in what forces and what those bindings are.
Ecoportal::API::V2::Page::Force#bindto add a bindingEcoportal::API::V2::Page::Force::Bindingadded a couple of methods:#forceto refer to the Force object of a binding#referenceto retrieve the component or section the binding refers to
Ecoportal::API::V2::Page::Force::Bindingsadded some methods:#forceto refer to the Force object of the bindings#by_nameand#by_referenceto obtain aHashwith all the bindings#reference?to check if a section or component have a binding to the force#get_by_referenceto retrieve anArraywith all the bindings to one section or component
Ecoportal::API::V2::Page::Forces#bindings_by_reference- For (script) optimization purposes. It gets all the bindings as a
Hashof reference toArray<Binding>
- For (script) optimization purposes. It gets all the bindings as a
Ecoportal::API::V2::Page::Sectionadded some methods:#shared?to know if the section is shared by multiple stages#bindingsto obtain the bindings of the section in any force#forcesall the forces that this section has a binding to#bindings?whether or not the section has any force binding
Ecoportal::API::V2::Page::Sectionsadded some methods:#any_shared?whether or not there are shared sections#moveto move the section to some specific position
Changed
ecoportal-apidependency upgradeEcoportal::API::V2::Page::PermissionFlags#configure- Added option to pass a
Hashwith pairsSymbol,Boolean flags.configure {subscribed: true}
- Added option to pass a
Ecoportal::API::Common::Content::ModelHelpers#same_string?- Added parameter
mild:to compare the strings with only alphabetic characters
- Added parameter
Ecoportal::API::V2::Page::Component::SelectionFieldadded some methods:#selectedadded parameters to modify the returned valueby_name:andby_value:to return aHashvalue:andname:which combines respectively with the above, to cast them in theHash
Ecoportal::API::V2::Page::Sections#get_by_heading- added
mild:option to allow more flexibility on searches
- added
Fixed
Ecoportall::API::Common::Content::DoubleModel#dirty?- It was checking that
#as_updateequaled{}. Now it also checks onnulltoo.
- It was checking that
Ecoportal::API::V2::Page::Component::SelectionOption#numeric!- It was using
to_iwhich would return0when the sourcevaluewas not numeric. - Now it uses
Float(value), provided that it can throw an exception
- It was using
Ecoportal::API::V2::Pages::Stages#get- The page
idandstage_idwere used exchanged in the message
- The page
Ecoportal::API::V2::Page::Forcesfixed theweight(position) scoping- It was not positioning correctly
Ecoportal::API::V2::Page::Sectionsfixed theweight(position) scoping- It was not positioning correctly
[0.8.26] - 2022-03-25
Added
Ecoportal::API::V2::Page::Stage#add_permit
Ecoportal::API::V2::Page::Permit.new_doc
[0.8.25] - 2022-02-04
Added
Ecoportal::API::V2::Page::Component::ReferenceField#addto add new references
Changed
Ecoportal::API::Common::Content::HashDiffPatch#patch_data- Added support for model objects with no
patch_ver(so diffs are calculated as well)
- Added support for model objects with no
[0.8.24] - 2022-01-05
Fixed
Ecoportal::API::V2::Page#stages?do not generate an object to this purposeEcoportal::API::V2::Registers#searchfix typo in print feedback
[0.8.23] - 2021-12-24
Added
Ecoportal::API::V2::Registers#searchadded more feedback on what is going on
[0.8.22] - 2021-12-23
Fixed
Ecoportal::API::V2::Page::Section#add_componentwas not using correctlybeforeandafter- It was not correctly translating them into the existing component
[0.8.21] - 2021-12-15
Added
- To children of
Ecoportal::API::V2::Page::Componentadded method#to_s(for exporting) Ecoportal::API::V2::Page::Component::ReferenceField- added
#references(the lookup results) - added
#reference_ids(theidsof the referenced oozes)
- added
Changed
- Re-exposed
Ecoportal::API::V2::Stages#ordered
Fixed
Ecoportal::API::V2::Page::Component::ImagesField#imagestypo inklass
[0.8.20] - 2021-12-09
Changed
Ecoportal::API::V2::Pages::PageStage#permitsremoved- The reason is that it should be changed using the
Stage#permitsinstead
- The reason is that it should be changed using the
- Upgraded
ecoportal-apigem dependency
Fixed
Ecoportal::API::V2::Page::Stage#sectionstypo
[0.8.19] - 2021-09-29
Changed
- Moved validation of components multi-section from
PageStagetoPage - Removed validation from
PageStage#as_update- This means that the validation will not run natively, but in the client lib
Fixed
Ecoportal::V2::Page::Stage#section?fixed typoEcoportal::V2::Page::Stage#attached?added missing code#component?fixed typo
[0.8.18] - 2021-09-29
Fixed
- typo in
PageStage#validate
[0.8.17] - 2021-09-29
Fixed
- Typo in
Section#attached?
[0.8.15] - 2021-09-29
Fixed
- Typo in
Section#component?
[0.8.14] - 2021-09-28
Added
Ecoportal::API::Common::Content::CollectionModel#_doc_posfor clarity#include?to check if an element is present in the collection
Ecoportal::API::V2::Page::Stage#section?check if section belongs to stageEcoportal::API::V2::Page::Sections#get_by_id#unattachedsections that are not attached to any stage
Ecoportal::API::V2::Page::Section#add_componentadded parameterbefore: to cover case where you want to add it at the beginning#component?widened parameter type#stagesstages where this section is attachedattached?whether or not the section is attached
Ecoportal::API::V2::Page::Component#attached?whether or not the field is attached to some section#multi_section?if the field is attached to more than one section :/
- added support for
forcesEcoportal::API::V2::Page::ForceEcoportal::API::V2::Page::ForcesEcoportal::API::V2::Page::Force::BindingEcoportal::API::V2::Page::Force::Bindings
- added shortcut to
#oozethroughout all the model - validations in some methods
Ecoportal::API::V2::Page::Stage#add_section: section should be inooze.sectionsEcoportal::API::V2::Page::Section#add_component: component should be inooze.componentsEcoportal::API::V2::Page::Force::Bindings#add:- section to be in
ooze.sections - component to be in
ooze.components Ecoportal::API::V2::Pages::PageStage#as_updateon page instances, it checks that- Fields do not belong to more than one section
- Fields belong at least to one section
- Sections belong to at least one stage
Fixed
Ecoportal::API::Common::Content::ArrayModel#insert_onewas not inserting when not found. Should insert at least at the end.
[0.8.13] - 2021-09-03
Fixed
Ecoportal::API::V2::Page::Sectionsweightfixing should only happen on entire page, not on stage sections that could change the order of section shared with other stages#scope_weightwas not excluding the section when usingweightof the last one
- Several classes with
embeds_manywere performing theorderingof those elements in the wrong way Ecoportall::API::Common::Content::DoubleModel#replace_original_dochad a couple of typos#replace_docshould only remove the variable referring to the current object and only ifnew_docisnil
Ecoportal::API::Common::Content::CollectionModelon insertion and deletion it was removing instance variable objects.- There was no need for this approach, as the only necessary thing is to just keep those variable instances up to date in the correct unique access point to do so.
- Aside note: the reason why this was initially designed this way is because there were some difficulties to identify the existing elements in the subjacent model. Once
#passkeyas added, this difficulty could be overcome.
Ecoportal::API::Common::Content::ArrayModelon initialize, defaultdocshould be anArray
[0.8.12] - 2021-08-30
Added
Ecoportal::API::V2::Pages::PageStage#current_stage
Fixed
Ecoportal::API::Common::Content::DocHelpers#get_bodytypo and wrong parameters on call.Ecoportal::API::V2::Pages#updateshould always returnResultobject.Ecoportal::API::V2::Registers#searchwas not usingcursor_idto iterate.
[0.8.11] - 2021-08-27
Added
Ecoportal::API::V2::Page#stages?Ecoportal::API::V2::Pages::PageStage#current_stage_idEcoportal::API::V2::Registers#searchadded option keyed parameter:only_first- which will make the method return the first
Ecoportal::API::V2::Registers::SearchResults - This has been added with the aim of knowing how many results out of how many entries.
- which will make the method return the first
Changed
Ecoportal::API::V2::Pages::PageStage#updatewon't update unless there's something to update.
[0.8.10] - 2021-08-22
Added
Ecoportal::API::Common::Content::CollectionModel#[]now supports position as wellEcoportal::API::V2::Page::Component::FilesField#add_file: support for adding filesEcoportal::API::V2::Page::Component::PeopleField#viewable_fields: support for managingviewable_fields
Changed
Fixed
Ecoportal::API::V2::Page::Component::FilesField: was not requiringFileEcoportal::API::V2::Page::Component::NumberField#value: it was missing :/Ecoportal::API::Common::Content::HashDiffPatchdid not support nested objects in Arrays, where the nested object wouldn't have apatch_ver. This fix allows for itEcoportal::API::Common::Content::DoubleModel.passforcedto definemethodsthat should always be present. This allows to definepatch_veras a forcedkeyin models that have it- The enforcement (
self.class.enforce!) happens oninitialize passenforcedsubjacent modelforced_model_keysis inheritable
Ecoportal::API::Common::Content::CollectionModel:- Method
upsert!was not working fine the parameterspos,beforeandafter - Method
delete!did not support position
- Method
[0.8.9] - 2021-08-16
Added
Ecoportal::API::Common::Content::ModelHelpers- Starting with
#same_string?, this lib aims to offer a full set of helper comparers.
- Starting with
Ecoportal::API::V2::Page::Components#get_by_id- In future changes, method
[]might be overriding the method of the parent classCollectionModel.
- In future changes, method
Ecoportal::API::V2::Page::PermissionFlagsto offer support tocan_permission,subscribed, etc.Ecoportal::API::V2::Page::Section#add_componentsuper handy helper to add fields to sections.Ecoportal::API::V2::Page::Component::PeopleField#deleteto remove people using their ids.Ecoportal::API::V2::Page::Component::GeoFieldadded suport for#coordinates- With embedded object
Ecoportal::API::V2::Page::Component::GeoCoordinates
- With embedded object
#configuremethod, to all theComponenttypes (butChartFields)- This method allows to quickly set field properties.
Ecoportal::API::V2::Page::Sections#between, aiming to obtain sections between two other ones
Changed
Ecoportal::API::V2::Page::Sectionreal support forsplitsections (right vs left)- This is actually a FIX
Ecoportal::API::V2::Page::Component::DateField#create_event- Now it switches to allow future dates
Ecoportal::API::V2::Page::Component::SelectionField#add_option, thenameparameter is now optional- This change aims to make it consistent with the back-end.
- To its actual
Booleantype some properties- All
Componenttypes
- All
Fixed
Ecoportal::API::Common::Content::HashDiffPatchdid not supportHashvalues withoutidorpatch_ver- This fix should allow them to flow to the update
Ecoportal::API::V2::Page::Component::ChartFielddid not havedocformodebased configurationEcoportal::API::Common::Content::ArrayModel#insert_one- When
pos,before&afterwerenilit was failing to attach the element.
- When
Ecoportal::API::V2::Page::Sections#addwas not adding in the correct orderEcoportal::API::V2::Page::Section.new_docwas unnecessarily giving9999as default weight
[0.8.8] - 2021-08-03
Added
Ecoportal::API::V2::Page::Component::ChartField::Benchmark- Support to convert selection options between numeric and text type.
- Add
Permitobject toPageandStage
Changed
- Removed
Stages.ordered_stages: detected bug with Enumerable iteration
[0.8.7] - 2021-05-25
Changed
- Upgrade
ecoportal-apigem
Fixed
- Requiring
api/commonfrom 2 different ends
[0.8.6] - 2021-02-23
Added
Ecoportal::API::V2::Page::Component::SelectionFieldadded methods#numeric!#text!
[0.8.5] - 2021-02-22
Changed
- upgrade
[0.8.4] - 2021-02-22
Changed
- roll back
ecoportal-apidependency
[0.8.3] - 2021-02-22
Changed
- updated
rspecfor expected patch data ondeleteoperation.
Fixed
- More specific namespace path for
Internal::Peoplenamespace
[0.8.2] - 2021-02-21
Changed
- some necessary changes for the new gem to be active
[0.8.1] - 2021-02-21
Changed
- renamed parameters (backwards incompatible change):
Ecoportal::API::V2::Pages::Stagesmethods#getand#update- updated
Ecoportal::API::V2::Pages#accordingly
MOVED TO GEM ecoportal-api-v2
[0.7.5] - 2021-02-21
Added
Ecoportal::API::Common::ClassHelpersadded inheritable attribute valuesEcoportal::API::V2::Pages::PageStageadded missing propertiesEcoportal::API::V2::Page::Stages#ordered_stagesmethod to obtain stages in orderEcoportal::API::V2::Registers#searchmethod search pages in the register, which includes new classes:Ecoportal::API::V2::Registers::PageResultEcoportal::API::V2::Registers::StagesResultEcoportal::API::V2::Registers::StageResult
Ecoportal::API::V2::Pages#getadded parameterstage_id:to be able to directly obtain the stage
Changed
- Moved some classes to the new namespace
Ecoportal::API::V2::RegistersEcoportal::API::V2::Registers::RegisterEcoportal::API::V2::Registers::Template
Fixed
Ecoportal::API::Common::Content::HashDiffPatch:deletedoperation wording anddata.patch_verEcoportal::API::V2::Page::Component.new_docshould delegate to child classes that have their own implementationEcoportal::API::V2::Page::Component::ImagesField.new_docshould includelayoutEcoportal::API::V2::Page::Component::SignatureField.new_docshould includecolor
[0.7.4] - 2021-02-12
Added
Ecoportal::API::V2::Page::Component::GaugeStop#color=enabled setting colours using asymbol:blue,:blue_greyed,:blue_light:turquoise,:jade,:green,:pistachio,:avocado:yellow,:orange,:pumpkin,:red,:magenta,:fuchsia,:purple,:violet
Ecoportal::API::V2::Page::Component::GaugeStop#color_symto get the color assymbolname- added support for chart fields:
Ecoportal::API::V2::Page::Component::ChartFieldwith the differentmodetypesEcoportal::API::V2::Page::Component::ChartFrField(LTIFR)
Changed
Ecoportal::API::Page::Component::DateFieldDate objects + Timezones#valueshould be shown in local time#value=should be set by local time
Ecoportal::API::Common::Content::DoubleModel.embeds_multiplerenamed toembeds_manyEcoportal::API::Common::Content::DoubleModel.embeds_oneremoved parameter:multiple- Fields under
Ecoportal::API::Page::Componentthatembeds_manyshould generate new elements in a standard way- added
Ecoportal::API::Common::Content::CollectionModel#items_classmethod
- added
Fixed
- solved
pretty_printname collision renaming toEcoportal::API::Common::Content::DoubleModel#print_pretty
[0.7.3] - 2021-02-01
Added
Ecoportal::API::Common::Content::CollectionModel#delete!finally scoped how delete should work :)Ecoportal::API::V2.newbetter feedback on key error.Ecoportal::API::V2::Page::Component::SignatureFieldadded propertysigned_by_nameEcoportal::API::V2::Page::Component#requiredthis field property is currently supportedEcoportal::API::V2::Page::Component::DateFieldmore supported properties:show_time,today_button,past_only,create_event,remind_me_in,renews,renews_every,renews_unit,renews_until
Ecoportal::API::V2::Page::Component::ChecklistField- added more methods:
add_item,ordered_items
- added more methods:
Ecoportal::API::V2::Page::Component::GaugeField- more supported properties:
max,active_colorandstops - for
stopsadded classEcoportal::API::V2::Page::Component::GaugeStop - added more methods:
add_stop,ordered_stops
- more supported properties:
Ecoportal::API::V2::Page::Component::ReferenceFieldmore supported properties:register_id,hide_create,hide_attach,hide_metadata,hide_dashboards,display_fields,display_fields_in_lookup
Ecoportal::API::V2::Page::Component::ActionField- more supported properties:
create_actions,required_number_of_completed_actions,permits_and_rules_integration,add_subscribed,add_subscribed_to_tasks - added more methods:
add_task,ordered_tasks Ecoportal::API::V2::Page::Component::Actionmodified, provided that some properties areread_only
- more supported properties:
Ecoportal::API::V2::Page::Component::PeopleFieldmore supported properties:is_me_button,attach_mode,person_schema_id,viewable_fields,singular,requires_number,cached_people,attached_people_permissions_enabled,apply_attached_people_permissions_to,attached_people_permissions_editable,attached_people_permissions_flags
Ecoportal::API::V2::Page::Component::PlainTextFieldmore supported properties:multiline,max_length,exact_index
Ecoportal::API::V2::Page::Component::SelectionFieldmore supported properties:flat
Ecoportal::API::V2::Page::Component::TagFieldmore supported properties:single_select,use_defaults,tag_tree_id,button_text
Ecoportal::API::V2::Page::Sectionmore supported properties:minimized
Changed
- upgraded
ecoportal-apidependency
Fixed
Ecoportal::API::Common::Content::CollectionModel#upsert!was not actually moving the element to the new position when it already existed
[0.7.2] - 2020-10-07
Added
- automatic key builder
- helper:
Ecoportal::API::V2::v2keymethod user_key:andorg_key:as constructor methods forEcoportal::API::V2
- helper:
[0.7.1] - 2020-10-07
Changed
- updated dependencies
[0.7.0] - 2020-09-10
Changed
- updated dependencies
[0.6.1] - 2020-07-11
Added
Ecoportal::API::Common::Content::DoubleModel#pretty_print
[0.6.0] - 2020-07-11
Changed
- upgraded
ecoportal-apigem
[0.5.9] - 2020-07-02
Added
- helper
Ecoportal::API::Common::Content::StringDigest#indexable_label: to see the part of a label that gets indexed - this
CHANGELOG.mdfile