Skip to content

Latest commit

 

History

History
820 lines (541 loc) · 82 KB

CHANGELOG.md

File metadata and controls

820 lines (541 loc) · 82 KB

2.6.2 (2024-02-07)

Bug Fixes

  • reference data resolvers could break schema (98d8fe7)

2.6.1 (2024-02-01)

Bug Fixes

  • date & datetime filters not working as expected (#919) (ab3d2f3)
  • decodeUriComponent in feature layer would cause some issues (7389f07)
  • feature route would sometimes stop server on failure (3f11952)

2.6.0 (2024-01-25)

Bug Fixes

  • filtering using boolean on ref data would not work (712fac7)

Features

  • allow addFields stage for reference data aggregations (#907) (75e505c)
  • allow graphql reference data to pass variables (#932) (d64910e)
  • reference data aggregation now supports graphql variables injection (#947) (d5a2085)
  • use graphql reference data variables in layers (#948) (9cb70b8)

2.6.0 (2024-01-23)

Bug Fixes

  • filtering using boolean on ref data would not work (712fac7)

Features

  • allow addFields stage for reference data aggregations (#907) (75e505c)
  • allow graphql reference data to pass variables (#932) (d64910e)
  • reference data aggregation now supports graphql variables injection (#947) (d5a2085)
  • use graphql reference data variables in layers (#948) (9cb70b8)

2.5.1 (2024-01-23)

Bug Fixes

  • allow reference data aggregations to use series in mapping (772e539)
  • duplication of application would fail when pages would not exist (#930) (3629151)
  • empty filters array always returns false (#936) (94066d8)
  • ownership could break pull job (5707a66)

2.5.0 (2024-01-10)

Features

2.4.4 (2024-01-09)

Bug Fixes

  • dashboard filter would not correctly save in some cases (4f67ce2)

2.4.3 (2024-01-08)

Bug Fixes

  • check if permission exists when editing resources, during application duplication (#914) (838cc6c)
  • duplication of application would sometimes fail due to incorrect test on existence of pages (51f417f)

Performance Improvements

2.4.2 (2023-12-21)

Bug Fixes

  • add missing context filter in ref data layer (e9ed89f)
  • aggregation on null question using choices from refData (#905) (fad6120)

2.4.1 (2023-12-20)

Bug Fixes

  • changes on reference data would break the back (73ca9de)

2.4.0 (2023-12-18)

Bug Fixes

  • aggregation not working fine for most ref data (#877) (27740e2)
  • aggregation on reference data not working correctly (392b624)

Features

2.3.1 (2023-12-13)

Bug Fixes

  • revert changes on time fields in exports (5d60245)

2.3.0 (2023-12-12)

Features

2.2.1 (2023-12-13)

Bug Fixes

  • revert changes on time fields in exports (5d60245)

2.2.0 (2023-12-08)

Bug Fixes

  • ability on records could fail due to missing resource (b217df1)
  • add access tokens to all internal requests (067bd1c)
  • Add default values for gridOptions in DashboardType to prevent unwanted results when going from one dashboard to another one (#844) (f48459f)
  • added sorting on id field to avoid having missing records (#842) (935fe1b)
  • api configuration would incorrectly save edit api configuration auth type (e97a8d7)
  • API edit mutation could fail because of incorrect check of arguments (00b0e0d)
  • audience would not be available (4e76800)
  • boolean would not correctly be calculated in getFilter (58dc862)
  • build issue after 2.x.x merge (1d48814)
  • build would fail due to incorrect default value for auth audience (8985cc0)
  • calculated fields in resource question breaking search in grid (c5287eb)
  • check record trigger would break build (06691dd)
  • client flow authentication would not work due to incorrect update when migrating mongoose version (18a4683)
  • cloning application would not clone filter & grid options in dashboards (3162811)
  • code could not compile (5699e03)
  • contains filter not working if value is single (b7e5558)
  • could not always get fields from ref data (32e83d4)
  • could not download application with existing name (#795) (c9f9d8a)
  • could not get canUpdate / canDelete on meta (323330a)
  • could not get map data due to incorrect id check (6906c21)
  • could not load datasources in layers (9e1b841)
  • dashboard queries would take too much time if context (7783bff)
  • disable custom notifications scheduler to prevent system to crash (00c3e22)
  • Download file method would break due to missing file destination (aac3f63)
  • download file would sometimes not throw correct error or resolve request (46e2cc6)
  • download of template for records upload would query records even if not needed (b263bdb)
  • editing a dashboard inside a workflow could cause unexpected type issue due to incorrect error handling (75ccd9a)
  • editRecord could break if previous version did not have any data (85a2d5c)
  • editRecord would not correctly check non editable fields (#815) (5ca7717)
  • error on fetching records with no data (4986e1d)
  • filtering records on form name would break query (c2d8e58)
  • geofiltering would break layers if empty (c22a882)
  • gis/feature route was broken due to incorrect layout / aggregation setup (7a3cdd7)
  • grant ability to read api configuration & reference data to all records (d45c394)
  • graphQL queries would be cached by proxy (1dd9fba)
  • in some edge cases, dashboard structure would be incorrectly passed in graphql (#817) (2a5866e)
  • inccorect filter in getautoassigned role (41a0143)
  • incorrect audience settings (9c8e710)
  • incorrect display of date fields in export & history (#857) (5262f8b)
  • incorrect mutation to set filter at dashboard level (2d57100)
  • incorrect names for some matrix questions (1fedb51)
  • incorrect sorting on api configurations (#852) (1260ceb)
  • incorrect timezone in calculated fields. Now enforcing user timezone (296aab4)
  • issue with layers using lat lng fields (88f75f6)
  • layer input could not allow saving of heatmap layer (6da8988)
  • layers using lat & long could break popup (#722) (70217f5)
  • matrix in grid and summary card not correctly saved in db (#748) (e37b342)
  • number question values, when saved as string, would not match in filters (#774) (2dc18ec)
  • ping request using cache and decrypting twice (#826) (14b26c4)
  • prevent any default field to be used in a form (6e52fda)
  • prevent contextual content in pages to be duplicated (926f476)
  • pulljobs failing would crash server (e416ee5)
  • redis client error (2c45593)
  • reference data not getting exported (#858) (24ad915)
  • reference data query not working due to incorrect cursor pagination (96d7298)
  • some layers would not work due to incorrect geoField (f409b1c)
  • some permissions issues when not admin (794683d)
  • updated layer model to also saves popup fields info (#670) (eb43289)
  • upload would fail most of the time for tagbox / checkbox questions (243f77d)
  • users roles not appearing in applications (#835) (d05d061)
  • users who can edit application can now delete the steps & pages (cf130ce)
  • using size operator on nullish values in aggregations on records (#836) (5eca1c7)

Features

  • Ability to save draft record (#802) (d1b1e3b)
  • add auth code APIs (#789) (20ff5d8)
  • add contextual filtering (0a734e2)
  • add dashboard buttons to schema (fe7bd55)
  • add new route of scss conversion to css (691794d)
  • allow caching of more API requests (#825) (105f0a5)
  • allow draft edition of records (32148b1), closes feat/AB#65023
  • Allow MultiPoint and MultiPolygon on layer features (514d3ee)
  • allow single widget page (53762f4)
  • can now archive application pages and restore them (a76928a)
  • can now edit page / step 's icons (#749) (30bb81c)
  • can now group layers (074cb2b)
  • can now hide application menu by default (2519344)
  • can now query historical data (#752) (75b1c8a)
  • can now sort aggregations on records (a09f2c8)
  • can now use infinite aggregations (3f190d4)
  • can save custom grid options per dashboard (#824) (8779433)
  • cluster layers now support new options (#757) (f9b58b3)
  • get draft data from single record custom query, by passing data argument (509b670)
  • now use filter at dashboard level (#834) (6b3f4e9)
  • possibility to hide pages' (f5ca2e6)
  • query of polygon features on map (fc33c06)

2.1.12 (2023-12-04)

Bug Fixes

  • client flow authentication would not work due to incorrect update when migrating mongoose version (18a4683)

2.1.11 (2023-11-14)

Bug Fixes

  • incorrect metadata for createdBy / lastUpdatedBy fields (#829) (c6892f3)

2.1.10 (2023-11-12)

Bug Fixes

  • record history would not correctly display changes on resources for some users (f2cfa5f)

2.1.9 (2023-11-10)

Bug Fixes

  • could not revert past history versions (d9999a1)
  • some requests could not be cached due to incorrect method check (61e44c7)

2.1.8 (2023-11-07)

Bug Fixes

  • add resource fields to history (71e708d)
  • owner field could create issue in history (0b08985)

2.1.7 (2023-11-06)

Bug Fixes

  • allow parallel sorting in aggregations (#798) (8b7a8ec)

2.1.6 (2023-11-03)

Bug Fixes

  • check of calculated fields in pipeline of 'all' query could break some queries (00e88f8)
  • updated editApiConfiguration mutation (#793) (dbe15c6)

2.1.5 (2023-10-25)

Bug Fixes

  • could not get first createdBy in history (47b33fd)

2.1.4 (2023-10-24)

Bug Fixes

  • incorrect list of permissions sent to back-office role editor (#786) (d4377c0)
  • non-admin users could not download history (#785) (862fdcc)

2.1.3 (2023-10-18)

Bug Fixes

  • playground was unavailable due to apollo update (#778) (31534b5)

2.1.2 (2023-10-09)

Bug Fixes

  • unfriendly api configuration edition (#766) (33b7901)

2.1.1 (2023-10-03)

Bug Fixes

  • API configuration enum type was broken (d19707c)

2.1.0 (2023-09-21)

Features

  • can now filter items based on 'at' date (7b2160d)

Performance Improvements

2.0.10 (2023-09-20)

Bug Fixes

  • template name not used when editing record (f30874a)

2.0.9 (2023-09-07)

Bug Fixes

  • only fetch visible fields in export #35940 (#730) (7effd81)
  • unavailable api configuration while fetching user attributes could break (68e7be4)
  • unavailable api configuration while update user groups could break (11104fa)

2.0.8 (2023-08-25)

Bug Fixes

  • calculated fields edition would not trigger schema update (23a1bbd)
  • in record history, some updates would appear in the UI but not in the download (98e5d37)
  • only restart server on resource changes, if a calculated field is updated (a041f13)
  • some users without admin permissions on form could not download file (3963550)

2.0.7 (2023-08-17)

Bug Fixes

  • aggregations on resource question could fail due to incorrect objectId conversion (d6e5980)
  • typo error in ping proxy route would make it fail for service to service APIs (5903ecf)

2.0.6 (2023-08-09)

Bug Fixes

  • editing a user role in application would prevent to see roles of the user in other application, in the UI (f1c0afa)

2.0.5 (2023-08-04)

Bug Fixes

  • pull job could not insert records due to missing property in addition of new records (700c1ab)

2.0.4 (2023-08-03)

Bug Fixes

  • comments could raise validation errors in survey, due to incorrect settings in validation method (cf3adbd)

2.0.3 (2023-08-03)

Bug Fixes

  • pagination on users for application & role would not work (95ae809)
  • search while displaying user would break (b271647)

2.0.2 (2023-07-14)

Bug Fixes

  • transformRecord could cause issue if resources question was empty (e8515d6)

2.0.1 (2023-07-07)

Bug Fixes

  • choicesByUrl could break checkRecordValidation method (98c15bd)

2.0.0 (2023-07-03)

Bug Fixes

  • accessible fields would break if no data in record (8b1b198)

  • add calculated fields used in sorting/filtering/style to pipeline (#618) (79aa6dd)

  • added option to export from selection (e5ed7db)

  • aggregation from refData (962ed69)

  • calculated field using concatenation could break data queries (7417039), closes fix/AB#60680

  • can now properly use the columns for styling (7676364)

  • change $toString to $convert in concat operation (37d1152)

  • convert would not always work (c940d9e)

  • converting concat operators into string (fdd96ae)

  • correctly determine if user locked app (da1f788)

  • could not get correct error from mutations / queries (48357e5)

  • could not update calculated fields (3f7146c)

  • could not update canSee / canUpdate permissions of some fields (121364b)

  • dashboard type would send issue if no page related (6bb585e)

  • dataRef resolver for multiselect types (86e1939)

  • delete folder of blob storage was not working (5e32054)

  • edit custom notification gl type, missing one field (4787519)

  • empty rows & columns could break emails (26027a7)

  • fields permissions incorrectly being reset (12379b1)

  • getFilter not working (cd45bab)

  • getRows maximum page size (#617) (0139322)

  • hide fields on roles with no permission (3de9a25)

  • incorrect add manage distribution / template permissions migration would create useless permissions (cfcceae)

  • incorrect meta data in graphql (cfdc06b)

  • incorrect name in export batch (8b09742)

  • incorrect path when downloading file would break the system (99016fe)

  • interrupted cascade deletion of resources (3244ff0)

  • issue with mapping (c6678d5)

  • jsonpath not being reflected for rest ref data (0c20fe8)

  • lint (c3f7f19)

  • mongoose filter from resource question (5754acd)

  • prevent pagination to cause payload error (e488d7e), closes AB#54896 AB#54896

  • problems regarding calculated fields (0c457eb)

  • refData from graphQL API (04c1982)

  • removed old resource model changes (ac4f30a)

  • saving questions from refData (b19d387)

  • schema could break due to reference structure not existing (744e6dd)

  • sort and filter by calculated cols (9672968)

  • step field in dashboard.type would raise an issue if dashboard not page of a step (7f7e2ef)

  • styling rule not taking into account calculated fields (491a176), closes AB#60522

  • transform record would not return correct date / time in some cases (99c20c5)

  • update editForm mutation to save field permission as objectIds and not string (#614) (927f0a1)

  • update role resource permissions (cbd8a1b)

  • updating type on update (7619e14)

  • users could not be invited if no position attributes (#639) (e570e2f)

  • drop 1.4 (58486fa)

Features

  • add calcfields stages to aggr pipeline (8aa158a)
  • add lastUpdateForm meta field (c1ad0bf)
  • add manage distribution list permission migration (03b14c0)
  • add possibility to have one dashboard per record (5843998), closes feat/AB#59620
  • add scss editor in applications (e266645), closes Feat/ab#59756
  • add substr / toint / tolong calc key (29fd52b)
  • add substring option to calculated fields (2a8d4d9)
  • added date expression (8d64b25)
  • added special info operators (977bc4a)
  • added today operation + bit of refactoring (ea5554d)
  • adding derivedFields on custom query (d003b6f)
  • building pipeline for single and double also (63299ff)
  • can now filter fields by template they are used in (ff470be)
  • can use multiple fields to filter record history (28a8739)
  • context filter position of dashboard can now be defaulted at a certain position (eebec36)
  • dashboards with context (341766c)
  • grouping by null in aggregations (41a7b9b)
  • pipeline builder for multiple operators case (b340f9a)
  • possibility to have pages on top of the app (e116cbf)
  • updated editResource mutation (6337871)
  • use column width to generate email table (a1f9c81)

Performance Improvements

BREAKING CHANGES

  • drop 1.4 and start 2.0

1.3.17 (2023-05-24)

Bug Fixes

  • could not get canUpdate / canDelete on meta (914575f)
  • permissions not passed to record resolvers (62313e9)

1.3.16 (2023-04-25)

Bug Fixes

  • editForm bug when it's the first edition (5d6ba6a)
  • editForm: keep edited core fields permissions so they're correctly propagated to child resources #61030 (0fa197e)
  • logic issue for neq operator (5c259fd)
  • permissions could be lost when saving some templates (6725e56), closes fix/AB#61030

1.3.15 (2023-04-20)

Bug Fixes

1.3.14 (2023-04-14)

Bug Fixes

  • empty email rows would break email sending (3fa1268)
  • empty rows & columns could break emails (8460da4)

1.3.13 (2023-03-16)

Performance Improvements

1.3.12 (2023-02-21)

Bug Fixes

  • permissions: compute correct permissions and prevent fails (66c84a6)

1.3.11 (2023-02-09)

Bug Fixes

  • agg: aggregation on related field sharing same name (3dd18c3)
  • agg: fix issue with filter on resource + optimize query (5095719)

1.3.10 (2023-02-03)

Bug Fixes

  • step could not be duplicated (08e278a)

1.3.9 (2023-01-26)

Bug Fixes

1.3.8 (2023-01-17)

Bug Fixes

  • adding canSee and canUpdate filters on resource without global access on it could break (5c603cf)

1.3.7 (2023-01-16)

Bug Fixes

  • oort config would display groups from external service by default (64336bf)

1.3.6 (2023-01-10)

Bug Fixes

  • aggregation pagination not working (b6c23cb)
  • requests with metadata could cause system failure (8981dea), closes 1.3.x/AB#53528
  • validation on a form using choicesByUrl could send 401 errors due to missing token (0fb643e)

1.3.5 (2023-01-04)

Bug Fixes

  • sorting on multi select field could break records aggregation (79ac65e)

1.3.4 (2023-01-03)

Bug Fixes

  • file question type now supported in record history (eb53df8), closes AB#52075
  • infinite loop when getting form / resource metadata, due to relationship between resources (1cbc6b1)
  • user could see 'add' button on grids, even if not authorized (62d07be)

1.3.3 (2022-12-19)

Bug Fixes

  • remove class declaration true in tsconfig (46f3ca1)

1.3.2 (2022-12-19)

Bug Fixes

  • add custom surveyjs components in the back so validation can detect them (3795674)
  • could edit attributes if not local config (0e247aa)
  • could not get choices in metadata helper if token was not passed (e816438)
  • filter on resource type question (d1ddf39)
  • reference data could not be edited if only one updated field (7d33f67)
  • send meta of related question (908afef)

1.3.1 (2022-12-07)

Bug Fixes

  • using user._id would cause some issues with user management methods (cee82ef)

1.3.0 (2022-12-01)

Bug Fixes

  • adds checks to prevent mongo errors (a8d9f35)
  • aggregation name edition (538c731)
  • allow to sort while filtering for all types Refactor the all.ts query and manage to handle all the cases for sorting (e67a8eb)
  • bug with aggregation mapping #37424 (e30bb9f)
  • bug with attachment empty #25833 (a6cca3a)
  • bug with static refData resolvers #37424 (1b7d6ae)
  • cannot see records with createdBy.user = null (41cffb3)
  • canUpdate and canDelete optimization (216b423)
  • canUpdate and canDelete problems with admin (1c94c1d)
  • converting id to string in order to filter (70fa69b)
  • fixed caching issue (500dba9)
  • fixed record edition mutation #29961 (55bbaf9)
  • force DataSource responses to be JSON (8ed7d5e)
  • forgot to save file #10639 (9738707)
  • history of records with reference data #39364 (62546aa)
  • issue when extracting filter fields (f8bad8b)
  • linting #39364 (edfb79c)
  • minor fixes (2d5bb36)
  • problems with recordsPermissions on createdBy (afee65c)
  • query empty for simple forms (d00819c)
  • remove copy paste artifacts #10639 (01da235)
  • remove unused import (4865b18)
  • removed autotoggle field permission from form #29961 (6ac9579)
  • removed log #29961 (7af4480)
  • removed log + fixed record query #29961 (4274b3f)
  • schema breaks if related resource nout found (d221d35)
  • setting typos #29935 (3b1fdc2)
  • special characters removed from the destination file name. fix download history by removing history call in history definition (928b807)
  • transforming user into json (7fe5f19)

Features

  • add modifiedAt field to referenceData #29451 (69d8b42)
  • Add new express-winston logger system to catch http requests. Add color in log files (86a57fc)
  • add nodemailer to send email from the back #25833 (d46f2a8)
  • add possibility to filter form / resource records query by linked resources (f029e7d)
  • add ReferenceData model and its integration #10639 (443ba17)
  • added case for attributes in the filters (ab41b20)
  • added field permissions to forms as well #29961 (473e57e)
  • added pagination to aggregations (ae8e3e5)
  • auto assignment of rules from groups (2147519)
  • can duplicate pages #27084 (d0bd649)
  • fetch user attributes from external API #29935 (e86db9e)
  • new graphql filter field for refData #29451 (adaecad)
  • page size now part of layout (bc88bde)
  • pagination for layouts field on resource (ae033ca)
  • replace all console.log and console.error by new logger system (1f84702)
  • same structure for unicity as other permissions (84eb85d)
  • sending only accessible fields on from query #29961 (d0f2037)
  • sending user access on queries/meta #29961 (d4e290e)
  • sort applications on FO by modifiedAt (d909537)
  • support aggregations with referenceDatas #37424 (dafc13c)
  • support sort and filter for refData fields (29e6a91)
  • toggling resource filed permission #29961 (6386147)
  • using attributes for auto roles filter (a693f0b)

1.2.0 (2022-12-01)

Features

1.1.0 (2022-12-01)

Features

1.0.0 (2022-12-01)

Bug Fixes

  • .env file creation on ci-dev workflow #16673 (df9ce22)
  • adapt integration tests to be more precise #16673 (92ddc83)
  • add core to retrieve core form (faeab92)
  • add other choice for choicesByUrl question (349092a)
  • aggregation now working with bson (65ca98f)
  • all users displayed when no applications given (26f9602)
  • API URL breaking display text with some parameters (cb8497b), closes AB#16710
  • authentication not working on first request #16673 (eccdf17)
  • bug if applications empty for users question (c77c252)
  • cannot see records with createdBy.user = null #33755 (05c080e)
  • CICD (349ed3f)
  • correct permissions on records for download #11772 (067299e)
  • crash when proxy req is interrupted by client (47bc4fd)
  • display=true not working for chilren fields #16933 (1473a44)
  • export JSON for matrix type questions (cbbbe08)
  • export not working for not admin users #18826 (a26bdce)
  • filter stage with dates #24829 (75a45cf)
  • first auth and put credentials in .env (12fe065)
  • flexible matching between value and choices #16669 (0916473)
  • issue where comments would insert new fields in the structure of children forms (502d93b)
  • issue where modifiedAt would export createAt value (c4cec2d)
  • issue where modifiedBy of record would be null if no version (3166cb1)
  • issue where non admin filters would not be able to query any record (ae182ca)
  • issue where other export than records would be brokené #18423 (c673bbd)
  • issue where style would not apply to some items, depending on pagination #28131 (c175794)
  • lint #28131 (1004a87)
  • move db init and changed tests expectations (2340fb5)
  • now possible to export records if not admin, and permissions of the form are empty #18826 (6bce1d6)
  • one to many relationship with multiple definitions of same resource were overlapping #11374 (2382bd0)
  • pass display argument to related fields #22026 (abe67b9)
  • pass own URL in .env file and catch errors (18eacad)
  • permission logic (a37c386)
  • permissions on records for resource (3385735)
  • prepare commit msg husky hook (de6d251)
  • prevents sending duplicate choice values #33768 (7365f70)
  • pullJob with same linked fields mapped twice #26822 (241a19c)
  • recursive unwind for embedded fields #24829 (d012424)
  • remove deprecated host (4eccb42)
  • set incrementalId on records import from file #16670 (4516be7)
  • sort by dropdown in choicesByUrl #16669 (6cf5272)
  • sort desc for arrays #16669 (5778ba2)
  • split db init with server and connection init #16673 (0279166)
  • stringify _id for groupBy stage (67c4096)
  • support any API URL in getDisplayText #16710 (48efcf3)
  • transform record with deleted fields (6ad5a2a)
  • try to trigger workflows #16673 (ecfba91)
  • update applications queries #16673 (ac000c2)
  • update record GQ type tthat was deleting the versions of record #16302 (d0fe8d6)
  • use client.id instead of .env #16673 (39d0c55)

Features

Reverts

  • Revert "fix filter not working on incrementalId" This reverts commit 1d7cc45475daf793efa9ababdca8d6bcdd8d65f0. (68281c6)
  • Revert "Add a field settings to steps" (0d42457)
  • Revert "Trying to add a context to subscriptions" (64e86a2)