# Anakeen Platform 4 — v2022.1.1

Date : 2022-10-06

### Bug Fixes

* **admin:** bugfix admin (refs #1482) (d8fb67c)
* **admin:** export + import translation + change po-parser (refs #1505) (e679e68)
* **admin:** fix traduction button enum component (refs #1577) (8269c87)
* **admin:** i18n filter + open window to accept only zip (refs #1578) (97a6a34)
* **admin:** pb css ajouts rôles (refs #1577) (ebf4386)
* **admin:** some bugs to structure component (refs #1482) (c6ba856)
* bump deps with CVE (b4a1e55)
* **cli:** add verbose condition to display log (refs #1665) (4fe7f2c)
* **cli:** error in the initialization of application (refs #1590) (916e784)
* **cli:** update yargs require + some js lib version (refs #1482) (c127971)
* **control:** add a check for the pgservice for the restore (refs #1600) (8d60a80)
* **control:** ignore platform requirements for composer (refs #1477) (d3256fa)
* **control:** ignore platform requirements for composer (refs #1477) (d5c037d)
* **control:** using composer semver (refs #1479) (cecf992)
* **control:** using composer semver (refs #1479) (173ec3a)
* correct crontab (refs #1483) (bc23364)
* correct PHP code for PSALM 6 reco (refs #1483) (7e8fa19)
* **dev-center:** fix button Dynamic Profile in tab Security  (refs #1577) (0afbe9e)
* **dev-center:** fix hub management on devel (refs #1482) (33858ba)
* **dev-center:** fix the filter system of table Enumerate and Localisation  (refs #1577) (90a39af)
* **dev-center:** fix the URL href  (refs #1577) (cf22941)
* **devtools:** add couchdb to docker (930b932)
* **devtools:** add db init script (3d1f728)
* **devtools:** add ignore file on check-php target (7c54a02)
* **devtools:** change default couchdb port (779bc34)
* **devtools:** complete vscode workspace settings (270b9b9)
* **devtools:** correct `make clean` targets (refs #1587) (f727668)
* **devtools:** fix eslint config (5726cb4)
* **devtools:** fix gitignore and vscode settings (b7f019c)
* **devtools:** fix lint js config (f4e6e76)
* **devtools:** fix makefile module path (60f1450)
* **devtools:** fix php image to add pdo driver (ce2d6f9)
* **devtools:** fix php linter configuration (4ed9a61)
* **devtools:** use latest anakeen docker version (72ca229)
* **fulltext:** copy "TEXT SEARCH CONFIGURATION" into "searches" schema (refs #1509) (8227967)
* **fulltext:** create PostgreSQL's extensions in "public" schema (refs #1509) (6e9fadf)
* **fulltext:** fix bugs to php 8.1 migration (refs #1624) (6a6fd50)
* **fulltext:** use XML migration for creating searches.* TS configs (refs #1509) (ba0707a)
* go to PSALM 5 (refs #1483) (0168fe0)
* **hub:** loading a page of test by URL  (refs #1577) (19dc01f)
* **hub:** remove tests 217 and 209 (refs #1577) (7e063a5)
* **migration-tools:** button to kendo btn vue + lint (refs #1482) (6cc899a)
* **migration-tools:** repair tooltip with boostrap 5 (refs #1482) (fa9cff0)
* **offline-lib:**  add save synchro status into view OfflineDummy (refs #1486) (901ae05)
* **offline-lib:** add current SS view when se is a SmartStructure (09d52e3)
* **offline-lib:** add full arrays in newValues (22c4d0d)
* **offline-lib:** add in info.xml deps (refs #4) (cf69c74)
* **offline-lib:** add Logger utils (779643f)
* **offline-lib:** add offline publish on gitlab-ci + fix dependency (refs #1486) (9df3aa4)
* **offline-lib:** add offline roles (dc3e065)
* **offline-lib:** add parameter for caching default assets (d08f646)
* **offline-lib:** add postRestore hook (refs #16) (a432ce1)
* **offline-lib:** add rollup configs (d90e6da)
* **offline-lib:** add rollup global variable (d682627)
* **offline-lib:** add route access (6dfd48e)
* **offline-lib:** add some correction on offline-lib (refs #1486) (8fe5721)
* **offline-lib:** add xsd for offline xml config file (0c1b881)
* **offline-lib:** autocomplete route is POST (5abb092)
* **offline-lib:** bad devtool repertory (refs #1486) (bcf0539)
* **offline-lib:** bad offline dummy SmartStructure name (1ba6669)
* **offline-lib:** better content-disposition parsing (bc861a3)
* **offline-lib:** change api script to route (c761c9f)
* **offline-lib:** clean corrupted asset file if generation fails (8417ae4)
* **offline-lib:** completeDataHook returns documentData (c1aae50)
* **offline-lib:** consider platform version to update cache (50e06d8)
* **offline-lib:** correct deps (refs #4) (152a5cb)
* **offline-lib:** correctly encode offline file names (d00fd8c)
* **offline-lib:** do not define PATH in `offline.cron` (refs #14) (6dd5b38)
* **offline-lib:** do not forget array modifications (refs #17) (865ec05)
* **offline-lib:** do not hardcode serviceworker name (7d84eab)
* **offline-lib:** do not produce partial assets file (2d397b2)
* **offline-lib:** enable cron tasks (09c574c)
* **offline-lib:** errors in cache initialisation (07e326d)
* **offline-lib:** eventEmitter does not support error being prevented (68c7978)
* **offline-lib:** fix addSaveModifURL (e6bb710)
* **offline-lib:** fix addServiceWorkerAutocompletionHandler export name (89114d9)
* **offline-lib:** fix cron registration and refactor test project (3ee70f5)
* **offline-lib:** fix library export (8b4aaaa)
* **offline-lib:** fix lockfile creation at restore (a4caafa)
* **offline-lib:** fix messages queuing indefinitely (085e893)
* **offline-lib:** fix notices (e1a628c)
* **offline-lib:** fix offline files uploading (c20007a)
* **offline-lib:** fix offline gitlab dependency (refs #1486) (f10447e)
* **offline-lib:** fix php file with psalm (refs #1486) (e823ac0)
* **offline-lib:** fix state.IS_SERVER_REACHABLE (3828281)
* **offline-lib:** fix unit test (refs #1486) (4466464)
* **offline-lib:** fix UserSync route pattern (eeaac4d)
* **offline-lib:** handle empty array structure (refs #18) (7ba3da7)
* **offline-lib:** import $ in offlineFiles (344f043)
* **offline-lib:** init first state during conversion from dummy (2bb1474)
* **offline-lib:** lint files (7f13d0e)
* **offline-lib:** lint files (21e1e96)
* **offline-lib:** lint files (43ce881)
* **offline-lib:** lint php file (1625623)
* **offline-lib:** merge edit for creation docs (48352ec)
* **offline-lib:** merge successive edits (69703a9)
* **offline-lib:** move interfaces (e535a6d)
* **offline-lib:** offlineFiles (1354627)
* **offline-lib:** pouchify returns bad state displayValue (effd8c5)
* **offline-lib:** prevent errors in admin when lock files do not exist (baa17af)
* **offline-lib:** prevent warning in initQueueContext (7a98f69)
* **offline-lib:** race condition in saveValues (beae18c)
* **offline-lib:** re-enable security in couchdb user base creation (3f1fc37)
* **offline-lib:** refactor module export (953b7a3)
* **offline-lib:** reinject synchroWarningMessage in customServerData (0e8ea1e)
* **offline-lib:** remove @types/workbox-sw (0cb5abc)
* **offline-lib:** remove messages deduplication (17638e1)
* **offline-lib:** remove obsolete files (5054be0)
* **offline-lib:** remove unwanted change (refs #1486) (b457264)
* **offline-lib:** remove unwanted file (refs #1486) (992b1c6)
* **offline-lib:** rename offlineFiles events (203a54a)
* **offline-lib:** resolve compareValues for files in array (6bddb51)
* **offline-lib:** return array in getDefaultAttachements (a372739)
* **offline-lib:** rewrite eventEmitter (3b5587b)
* **offline-lib:** rewrite offlineDownloadFile (3316b44)
* **offline-lib:** saveEditBase adjustments (c22951e)
* **offline-lib:** some fixes (54fe590)
* **offline-lib:** transmit mdate and delete lastMDate (430a94e)
* **offline-lib:** unexport pouch utilities (909afdf)
* **offline-lib:** update font assets path (832a7fa)
* **offline-lib:** update log when assets not match cache (refs #1486) (e6f1c86)
* **offline-lib:** update offlineDummy profile (213c15c)
* **offline-lib:** update packages to pass CI & prettify (580b2b4)
* **offline-lib:** update types (d01cf51)
* **offline-lib:** wip refactor typescript (8cd14f1)
* **offline-test:** add php linter (1a9f55e)
* **offline-test:** fix build config (8667086)
* **offline-test:** fix dev server and makefile rules (82a017d)
* **offline-test:** fix phpstorm configuration (d722de6)
* **offline-test:** fix static assets and main page (57a0916)
* **offline-test:** override root route (eba2cb1)
* **sde:** add default value for radio enum se_ol in dsearch (refs #1591) (8fd6dc7)
* **sde:** basic authenticator correct setcookie (refs #1483) (ace54eb)
* **sde:** cast on id comparaison (refs #1597) (d58cda7)
* **sde:** correct a typo after psalm merge (refs #1483) (e1737b4)
* **sde:** correct account after psalm (refs #1483) (2bee675)
* **sde:** correct account after psalm (refs #1483) (307192d)
* **sde:** correct ContextParameterManager psalm 6 (refs #1483) (bf6dad8)
* **sde:** correct DateUtil Psalm 6 (refs #1483) (dc784c7)
* **sde:** correct DbObj psalm 6 (refs #1483) (66ad992)
* **sde:** correct debug (refs #1483) (2b0a30e)
* **sde:** correct default argument type for apiusage (81a19b9)
* **sde:** correct docterm psalm 6 (refs #1483) (347744f)
* **sde:** correct enum local (refs #1483) (45787c8)
* **sde:** correct type for code generation (refs #1483) (bf43471)
* **sde:** correct type of ExportCollection (refs #1483) (3f11caf)
* **sde:** fix bug after php 8.1 migration (refs #1629) (c30daf8)
* **sde:** fix copie paste unwanted (refs #1274) (2029aca)
* **sde:** fix null args after php 8.1 migration (refs #1667) (c46ec20)
* **sde:** slim V4 (refs #1479) (2a45696)
* **sde:** slim V4 (refs #1479) (11238d3)
* **sde:** upgrading monolog to latest major (refs #1479) (39b8932)
* **sde:** upgrading monolog to latest major (refs #1479) (3c8395a)
* **te:** correct erroneous computation of TE_HOME (refs #1020) (8c6c9e9)
* **te:** correct erroneous computation of TE_HOME (refs #1020) (a1084c6)
* **te:** correct PHP Fatal error class "\...\Postgres" not found (refs #1594) (8c2a946)
* **te:** repair te interface (refs #1482) (215c2e7)
* **tools:** change only ref master to integration (refs #1486) (113b06c)
* **tools:** change tooltip management (refs #1482) (dab79b5)
* **tools:** colors bootstrap (refs #1482) (af72fb8)
* **tools:** deprecated usages in PHP 8.1 (refs #1477) (34fd31f)
* **tools:** deprecated usages in PHP 8.1 (refs #1477) (d10d57e)
* **tools:** fix router navigo on business-app (refs #1482) (f3f4106)
* **tools:** remove te.conf (refs #1566) (b09d34e)
* **tools:** remove tooltip.js file (refs #1482) (f694e18)
* **tools:** some kendo migration + lint scss file (refs #1482) (e236ccd)
* **tools:** some php error from 8.1 migration (refs #1482) (bc8d402)
* **tools:** update makefile + package.json to add yalc cmd (refs #1482) (ff356da)
* **tools:** update phpCsFixer to v3 (refs #1477) (32f0a4f)
* **tools:** update phpCsFixer to v3 (refs #1477) (ec75294)
* **tools:** update version + package.json + fulltext config (refs #1482) (69e502d)
* **ui:** bugfix after js migration user interfaces (refs #1482) (1dc4329)
* **ui:** bugfix user interfaces (refs #1482) (5863ab1)
* **ui:** confirm btn become primary (refs #1666) (cc1eca8)
* **ui:** confirm save and close se btn in primary (refs #1626) (8d5a453)
* **ui:** correct component lib css integration for identity (refs #1621) (1dc0cb5)
* **ui:** correct searchHook on the new monolog (b4a1d63)
* **ui:** fix header of export grid content (refs #1630) (a4f4128)
* **ui:** fix selector on some report fields (refs #1674) (6ecb7e5)
* **ui:** fix some migration bugs css on repport (refs #1627) (027da6d)
* **ui:** fix some mistake from php v8.1 migration (refs #1534) (1a95d29)
* **ui:** fix vuejs translation (f27bf14)
* **ui:** pb css description (refs #1577) (96b0e7a)
* **ui:** pb css for option display listdisplay  (refs #1577) (37fcbd9)
* **ui:** pb useOtherChoice (refs #1577) (b8bbb9a)
* **ui:** php error if http_referer is null (refs #1620) (8ddd42a)
* **ui:** remove box shadow on enum focused (refs #1633) (0701f16)
* **ui:** repair ank tree component (refs #1664) (7da2555)
* **ui:** style on column grid filter (refs #1631) (e35efd6)
* **ui:** ui correction bug after update js lib (refs #1482) (ab4f965)


### Features

* **dev-center:** repair devel + some bugfix (refs #1482) (5231d95)
* **devtools:** remove storybook from monorepo (refs #1488) (6ef7add)
* **devtools:** remove storybook from monorepo (refs #1488) (5cdeb49)
* **offline-lib:** ackowledge tasks (a806c86)
* **offline-lib:** add ?method to OfflineRoutesManager::addCustomRoute (56f1e91)
* **offline-lib:** add & expose new checkInitBases route (39bf548)
* **offline-lib:** add activeContextUUID to limit the number of tabs (58a035b)
* **offline-lib:** add admin ui (1de6bea)
* **offline-lib:** add ApiUtils response utils (40645a8)
* **offline-lib:** add app utils module (314b16b)
* **offline-lib:** add autocomplete management (ed3292b)
* **offline-lib:** add build offline-lib on ci (refs #1486) (47ac67d)
* **offline-lib:** add debug parameter to offlineRouteManager.start (60aacaf)
* **offline-lib:** add destroy functions (050efa6)
* **offline-lib:** add event message when view base replication error (e07c90e)
* **offline-lib:** add flag isOfflineView during getOfflineView (1385bf8)
* **offline-lib:** add import resolver typescript (a5a771d)
* **offline-lib:** add offline .eslintignore (refs #1486) (2d82c27)
* **offline-lib:** add offline admin component (refs #1486) (87b0b8e)
* **offline-lib:** add offline settings parameters (aceeca8)
* **offline-lib:** add parents into OfflineSmartElementProperties type (1decd08)
* **offline-lib:** add ping route (a0bb233)
* **offline-lib:** add queue and worker management (444d84e)
* **offline-lib:** add REFRESH_POUCH_INFO action to store (9b32968)
* **offline-lib:** add SEGrid management (14e43e4)
* **offline-lib:** add SSE_LISTENERS actions in store (d915ac9)
* **offline-lib:** add synchronize se rules (3be0630)
* **offline-lib:** add version customization (b757027)
* **offline-lib:** add vuex plugin (68c645e)
* **offline-lib:** adding elements for better usability (0a14f8e)
* **offline-lib:** ajout de la route uploadFile et getTemporaryFile (53467eb)
* **offline-lib:** allow fallback on serviceWorkerViewGetter (364622e)
* **offline-lib:** allow online fallback for autocomplete (e4ecae4)
* **offline-lib:** allow online fallback for grid handlers (8d6152b)
* **offline-lib:** allow string for initid (fa309a4)
* **offline-lib:** allow to return array in custom version (42776dd)
* **offline-lib:** allow views to be merged in pouchify (e501216)
* **offline-lib:** always return result in ping (432cb5a)
* **offline-lib:** apply title from editValue during completion (a9d1100)
* **offline-lib:** auto push when edit base updated (e606dac)
* **offline-lib:** call CompleteDataHook in completeLocalDocument (c72de40)
* **offline-lib:** debut Mise en cache Tar (750525c)
* **offline-lib:** define TS types (2f8239e)
* **offline-lib:** do not synchro at each ping (69d1270)
* **offline-lib:** ensure ss name is in uppercase in couch base (bba28fa)
* **offline-lib:** export couch utilities to utils/app (6d1f274)
* **offline-lib:** export getFlatStructure in ServiceWorkerUtils (3e34103)
* **offline-lib:** export previously unexported modules (575e06a)
* **offline-lib:** externalize handlers and factorize UserSync (584ca54)
* **offline-lib:** fix max workers check (8ea1696)
* **offline-lib:** fix renammed function and add lastMdate to Pouchify (ffff98c)
* **offline-lib:** force reattachment of wf (4cd89d8)
* **offline-lib:** generate stubs and constants into own dir (8da0aa5)
* **offline-lib:** gestion de install et activate du service worker (d72bad9)
* **offline-lib:** handle html files (a49e286)
* **offline-lib:** implement couchPouch.getErrors() (a852879)
* **offline-lib:** implements internal/bases/infos/ route (8335599)
* **offline-lib:** improve cache init & expose new updateCache route (5e47f89)
* **offline-lib:** include credentials in every fetch (83c52ea)
* **offline-lib:** init main couchdb base (c1700c8)
* **offline-lib:** init user base (79ec423)
* **offline-lib:** init user couch database (9ac2380)
* **offline-lib:** inject appversion to SW (d215b02)
* **offline-lib:** manage version from inside serviceworker (f05e2cc)
* **offline-lib:** merge offline in monorepo (refs #1486) (d81d8b9)
* **offline-lib:** polyfill eventsource (c680258)
* **offline-lib:** postMessages (e3f2fc2)
* **offline-lib:** refactor saveDoc into saveValues (8f023c2)
* **offline-lib:** register custom routes before internal ones (0dd0179)
* **offline-lib:** remove consultationView from sharedView (1d67b33)
* **offline-lib:** remove error_logs (9dda440)
* **offline-lib:** remove phpcouchdb lib (refs #1486) (16da04f)
* **offline-lib:** rename couchPouchHook insertion methods (3148104)
* **offline-lib:** rewrite localViewHandler as async/await (f84b994)
* **offline-lib:** rewrite Pouchify (aff2b19)
* **offline-lib:** save viewBase sync info in appliBase (93bdb8a)
* **offline-lib:** simplify overriding of Ping route (797d62e)
* **offline-lib:** support creation routes (039fd20)
* **offline-lib:** test if assets exist before using public dir (59eb1c3)
* **offline-lib:** update admin center version and set memory constant (6b24c6d)
* **offline-lib:** update couchdb version to 3.0.0 (e25a392)
* **offline-lib:** update enqueue version (f34fa42)
* **offline-lib:** update event manager (4768fd7)
* **offline-lib:** update libxmljs to libxmljs2 (c833904)
* **offline-lib:** upgrade php deps & adapt the code (3473c8b)
* **offline-lib:** use mime types db (cbe471e)
* **offline-lib:** use TS types (2ed1557)
* **offline-test:** add vue components for ping test (e0fb7f8)
* **sde:** add postgresql v 14.1 + update some tests (refs #1476) (f46d6da)
* **sde:** add postgresql v 14.1 + update some tests (refs #1476) (fdb5a8f)
* **sde:** php Cron library major update (refs #1479) (a209791)
* **sde:** php Cron library major update (refs #1479) (c1bc87f)
* **te:** add check for missing libraries for soffice.bin (refs #15) (3f7dbee)
* **te:** add check for missing libraries for soffice.bin (refs #15) (5f4ea3c)
* **te:** add loading of `lib/engines/sql-init.d/*.sql` files on init (refs #1589) (7500e12)
* **te:** add loading of `lib/engines/sql-init.d/*.sql` files on init (refs #1589) (d791a23)
* **te:** drop support for legacy rc-init behaviour in `bin/ted` (refs #1589) (dac8b0f)
* **te:** drop support for legacy rc-init behaviour in `bin/ted` (refs #1589) (ffc2b13)
* **te:** remove obsolete engines (refs #208) (2946ba6)
* **te:** remove obsolete engines (refs #208) (c1c6152)
* **te:** use dedicated te-soffice-env instead of te-ooo-server (refs #1589) (47b2764)
* **te:** use dedicated te-soffice-env instead of te-ooo-server (refs #1589) (57c1f80)
* **tools:** php 8.1 compatibility (refs #1477) (87cbcc1)
* **tools:** php 8.1 compatibility (refs #1477) (4c22d94)
* **tools:** psalm level 6 (refs #1274) (46fcb67)
* **tools:** psalm level 7 (refs #1274) (51aca3f)
* **tools:** psalm level 7 (refs #1274) (6ce61f5)
* **tools:** repair admin v1 (refs #1482) (4185265)
* **tools:** repair dev server (refs #1482) (a76fc51)
* **tools:** update js lib (refs #1482) (7558c73)
* **tools:** update js libraries (refs #1482) (342aad0)
* **tools:** upgrade PHP to latest version without migr (refs #1479) (8aa6f21)
* **tools:** upgrade PHP to latest version without migr (refs #1479) (b197643)
* **ui:** add missing GridComponent (refs #1622) (f148af9)
* **ui:** build component for vue2 and vue3 (refs #1480) (6eb2104)
* **ui:** repair admin v2 (refs #1482) (2fa353f)
