-
Notifications
You must be signed in to change notification settings - Fork 311
Fix wrong .env location in TinyMCE filemanager config #3267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anoziere
added a commit
that referenced
this pull request
Dec 19, 2024
* Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multi 8000 ple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr>
anoziere
added a commit
that referenced
this pull request
Dec 23, 2024
* Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr>
anoziere
added a commit
that referenced
this pull request
Dec 23, 2024
* Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix : alt and title in image (#3258) (#3259) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: add parent, visible, position templateId on product route by id * feat: set json as default format on response * feat: change swagger conf to not activate it on prod * feat: add title and version to swagger * fix: problem on order fitler, comparing value twig, first time not normalized * feat: add filter NotInf to exclude column with values + refacto * feat: add order images on api resources * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Rebase main (#3273) * Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> * feat: update and reorganize dependencies * feat: remove email and defaults themes + modules (all in dependencies composer now ) * feat: update symfony flex from core * feat: add local setup as gitignore, remove setup as core dependencie * fix: update conf * feat: composer update + end clean dependencies * fix: temporary disable exception on hook not found on dev * Draft: Feat/add PATCH endpoint and better PUT behavior (#3243) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Alexandre Nozière <118798868+anoziere@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com>
anoziere
added a commit
that referenced
this pull request
Dec 27, 2024
* Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr>
anoziere
added a commit
that referenced
this pull request
Dec 27, 2024
* Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix : alt and title in image (#3258) (#3259) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: add parent, visible, position templateId on product route by id * feat: set json as default format on response * feat: change swagger conf to not activate it on prod * feat: add title and version to swagger * fix: problem on order fitler, comparing value twig, first time not normalized * feat: add filter NotInf to exclude column with values + refacto * feat: add order images on api resources * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Rebase main (#3273) * Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> * feat: update and reorganize dependencies * feat: remove email and defaults themes + modules (all in dependencies composer now ) * feat: update symfony flex from core * feat: add local setup as gitignore, remove setup as core dependencie * fix: update conf * feat: composer update + end clean dependencies * fix: temporary disable exception on hook not found on dev * Draft: Feat/add PATCH endpoint and better PUT behavior (#3243) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Alexandre Nozière <118798868+anoziere@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com>
anoziere
added a commit
that referenced
this pull request
Dec 27, 2024
* Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr>
anoziere
added a commit
that referenced
this pull request
Dec 27, 2024
* Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix : alt and title in image (#3258) (#3259) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: add parent, visible, position templateId on product route by id * feat: set json as default format on response * feat: change swagger conf to not activate it on prod * feat: add title and version to swagger * fix: problem on order fitler, comparing value twig, first time not normalized * feat: add filter NotInf to exclude column with values + refacto * feat: add order images on api resources * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Rebase main (#3273) * Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed ro 10000 unding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> * feat: update and reorganize dependencies * feat: remove email and defaults themes + modules (all in dependencies composer now ) * feat: update symfony flex from core * feat: add local setup as gitignore, remove setup as core dependencie * fix: update conf * feat: composer update + end clean dependencies * fix: temporary disable exception on hook not found on dev * Draft: Feat/add PATCH endpoint and better PUT behavior (#3243) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Alexandre Nozière <118798868+anoziere@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com>
anoziere
added a commit
that referenced
this pull request
Dec 27, 2024
* Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix : alt and title in image (#3258) (#3259) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: add filter NotInf to exclude column with values + refacto * feat: add order images on api resources * Order & Product API Updates (#3276) * fix: get order status api * fix: add customer id search on order route * fix: add price on front order route * fix: add infos order front api * feat: add pse product image api * feat: add module route * fix: csfixer * fix: get order status api * feat: better management locale for i18n + add itemsPerPage * add search filter ProductId on ProductImage * fix: router problem + composer cs + add extension to getAttributes * csfixer core * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase from api-maintenance + add CartService * Add cartItem Product values * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Rebase main (#3273) * Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unuse AE88 d getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Draft: Feat/add PATCH endpoint and better PUT behavior (#3243) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Alexandre Nozière <118798868+anoziere@users.noreply.github.com> * Feat/rebase api maintenance 231224 (#3274) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix : alt and title in image (#3258) (#3259) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: add parent, visible, position templateId on product route by id * feat: set json as default format on response * feat: change swagger conf to not activate it on prod * feat: add title and version to swagger * fix: problem on order fitler, comparing value twig, first time not normalized * feat: add filter NotInf to exclude column with values + refacto * feat: add order images on api resources * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Rebase main (#3273) * Fix attributes and path commerce guys address (#3226) * Update SchemaLocator.php Replaces the use of a relative path with an absolute path. For example, when the generation of models in the cache is called from the Thelia php console, it uses the path local/config/shema.xml. Whereas if the generation of models in the cache is called from an http request, it uses the path web/local/config/shema.xml. * Update SchemaLocator.php fix code style * fix the path of commerceguys address and its attributes --------- Co-authored-by: hequet <erwann.hequet@api-and-you.com> * Fixed rounding in taxes and taxed prices caclulation (#3242) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * Fix/lang url (#3240) * fix 74 : Managing multi-language URLs for SEO * missing cs fixer --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * autofill contact form if user is a customer (#3241) Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> * fix: docker imagick + suppress warning + composer update securities package * feat(ci): put in place ci (#3245) * fix(ci): preprod only on main (#3248) * fix : alt and title in image (#3258) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Bump cross-spawn from 7.0.3 to 7.0.6 in /templates/frontOffice/modern (#3261) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump http-proxy-middleware in /templates/frontOffice/modern (#3254) Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ci): use git deploy (#3249) * Bump express from 4.19.2 to 4.21.0 in /templates/frontOffice/modern (#3247) Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 1.1.3 to 1.7.4 in /templates/frontOffice/modern (#3246) Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.7.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.1.3...v1.7.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.c D4BA om> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: redirect docker readme to official documentation * feat: remove docker encore * fix: better get current locale (#3263) * Fix .env location (#3267) Co-authored-by: Franck Allimant <fallimant@openstudio.fr> * fix: better get current locale (#3268) * WIP add api platform compatibility * Allow decorates in dependency injection * Add persistence to api * Try to update api-platform * Basic API Crud * Basic API Crud * Add DELETE and PUT * Fix API I18ns * Add JWT auth * Add dynamic join for api ressources * Api cleanup * Separate customer and admin api login routes * Add more filters * Fix I18n persist * Add filters for relation + only join if needed * Merge API Localized and Search filter * Add api pagination extension * Improve localized field open api doc * Fix api filters for non collection relation * Fix Api Customer resource * Delete security.yaml * Allow relation affectation write * [API] Implement order filter * [API] Order, customer api ressource,column attribute, range and date filter (#3099) * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * order api feature * module api * create column attribute and adding ressources * adding afterModelToResource, taxed price * fixing group for order and customer * Range filter and delete unused getCollection route * adding DateFilter * fix cart get * adding relationsAlias * fix/ add return this and add plurial on name route * add relations for fix double filter relation * fix/ add return this and add plurial on name route * fix relations alias of delivery address --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * api content and folder * add group write for content and folder * modify I18n + clean files * api attribute / attribute_av and feature / feature_av * remove write on date + remove version + fix ContentFolder * remove locale from I18n * api Category * api Tax * api Config and ModuleConfig * Fixer CS code * fix Module group write * api add ContentFolder in Content * add normalizationContext for Get Single * modify route name * api TaxRule and TaxRuleCountry * Api Product + Template * api Product ProductPrice PSE * api add collection for Product * Allow write cascade on multiple relation * [API] Fix api resource collection * Start api extend by module * Rebase to main + fix session * Add missing dependencies for api * Fix api errors page * Fix relation write * Allow module to add property to existing resources * Add module api addons * Load module resource * CI fixes + replace propel class name by propel tablemap * Fix relation validation error path + fix PSE groups * Fix iriconverter classname * Fix Addresses country constraints * Fix IriConverter when first argument is resource object * Replace all AbstractPropelResource by trait * [API] Don't join relation i18n if not in serialization groups * [Api] Do a left join on array properties * Feat/adding constraints (#3123) * customer constraints, fix locale for address error translation * add constraints for product, fix null reference * add order constraint and fix order creation --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Add country and state by iso * Fix Address Api resource * [API] Add more constraint + fix filters issues * adding order constraint and orderProductTax * solve filterBy propel problem * fix pse post issue 2 * fix delete issue 1 * adding get for status by code, issue 3 * better way to filter * delete useless isset * improvement filter listener --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * [API] Fix constraints on bool fields * [API] Fix Resources path for thelia project * [API] fix 2 constaintes and fix propel model with new property (#3130) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix orders currencyRate nullable (#3133) Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> * [API] Fix I18ns for multiple ressources (#3135) * [API] Add file upload on api (#3131) * [API] Add file upload on api * [Api] Add binary file response * Replace class_implements by instanceof * Add order amounts + add docker opcache and conf + swagger doc expansion (#3136) * feat: add opcache docker + disable doc expansion swagger + rebuild swagger assets + add total without tax order * feat: add all totals from admin pages * Feat/file upload api (#3138) * add all endpoints for upload files * fix const name --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Add test in case of context array is not fully built (PUT/POST case) (#3139) * fix weight attribute and OrderAddress (#3141) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * rebase main 2.5.4 + fix problem decorate metadate_collection * Feat upgrade api platform (#3150) * upgrade api + remove assetic + remove unecessary sources from git + update gitiginore + fix session management * fix some deprecated * rework AssetManager + fix deprecated + csfixer * change ci php version * change mariaDb verison ci * Feat api front + refacto + events for API (#3151) * refacto service + add login front / admin + routes front * add groups front to product datas + refacto service ApiResourcePropelTransformerService.php * refacto service * add front endpoints (#3156) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Update decoration PropelPropertyMetadataFactory.php Change service decorated * Fix I18n join if Resource name is not same as Model name (#3160) * Add OpenApi context for php Enum (#3172) * Allow to use Symfony Groups attribute in annotation namespace (#3177) * Fix addon ApiResourcePropelTransformerService.php fix property access symfony try to do resource->addonName * Update ApiResourcePropelTransformerService.php rollback * Update PropelResourceTrait.php add iseet method to find property * Update OrderStatus.php fix problem urivariables * Update State.php fix problem urivariables * Update Country.php fix problem urivariables * fix pse for product write (#3227) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add attribute filter + fix error with column name * fix : save image table * fix : restrictive condition * fix resizing image with api * feat: add validation for image type + cs fixer (#3238) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix: correct price rounding on GET order routes (#3239) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * feat: twig parser inside thelia core (#3209) * feat: refacto kernel + better management service in controllers * feat: add dataAccess layer with default loop calls possible * feat: add params to loop twig * fix: problem wrong container used in kernel * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Feat/twig integration (#3223) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * remove webpack encore from core * better twig name, readme and conf * remove twig from core * Update composer.json * Update SchemaLocator.php * Update composer.json * Update ModuleManagement.php * Update SmartyParser.php * Update SmartyParser.php * Refacto dependencies (#3225) * feat: add twig extension for attributes, better management of template path, twig as module * feat: manage form, loop count, hooks, url + refacto assetsResolver * remove twig and doctrine annotation from core + remove versionning modules + better root composer.json * remove module from git + add default packages * remove module from git + add default packages * fix parser + better manage loop injection + temporary add module twig and smarty * refacto + add module front * refacto + add module front * add files conf symfony * fix composer dependencies * optimisations symfony adn docker * feat: better management locale for i18n + add itemsPerPage * Add SVG Extension + path in twig.yaml + WebpackEncoreBundle * fix join * delete use * Fix I18n single object & sub object * Add serialization groups for product collections * Add Encore extension to get assets files url in twig * fix: parser call from front controller * add webpack encore yaml config * feat: add twigphp/intl-extra to twig engine (need to install manually for now) * feat: add publicUrl * feat: add loader for attribute and annotations route module * feat: refacto router to put all xml route in main symfony router * modify twig translation config * add search filter ProductId on ProductImage * fix: problem manage token url admin * fix: router problem + composer cs + add extension to getAttributes * fix: problem instantiate loop with tiret * Fix attributes extension (doublons) + add PSE twig extension * fix: problem get route with request method not allowed * Form twig * fix: problem coupon session / request null * fix loop namme in bo (#3236) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/symfony ux (#3237) * add symfony ux packages * add symfony ux packages config * add a way to ignore thelia setting the default view * clean root composer.json * manage template routes as attribute php * normalize translation config & change twig_component default directory * cleanup * force GET contect in Data Service * Add Form errors * fix: problem live component context management + refacto twigEngine + csfixer * csfixer core * Live components (#3251) * utils: attrAvByProduct * add alias for twig form * formByName and formViewByName * add twig filter count function --------- Co-authored-by: Robin Morel <rmorel@openstudio.fr> * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/add patch endpoint (#3252) * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * add get session cart route (#3253) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * Feat/resource datas access (#3219) * feat: can call api platform GET routes from twig * feat: better layer access data + security * fix: composer cs fixer * Add serialization groups for product collections * Add serialization groups for product collections * rebase from api-maintenance + add CartService * remove stateless conf * fix : bad type in rebase * fix names, and delete unused services * feat: update TwigEngine module * Add cartItem Product values * add cartitem groups on product * fix incorrect kernetListener param & update TB (#3265) * add TwigExtraBundle + update cartItem groups * move twig-bundle & twig/intl-extra to flexy composer * Draft: feat : choice filter route (#3266) * feat : choice filter route * feat 7 : choice filter in Thelia core --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> * feat: update and reorganize dependencies * feat: remove email and defaults themes + modules (all in dependencies composer now ) * feat: update symfony flex from core * feat: add local setup as gitignore, remove setup as core dependencie * fix: update conf * feat: composer update + end clean dependencies * fix: temporary disable exception on hook not found on dev * Draft: Feat/add PATCH endpoint and better PUT behavior (#3243) * Fix HTTP return codes not working in production environment (#3250) Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> * fix issues with patch route and i18n * fix put issues : setNew, add id in put endpoint * fix hydrate problem with modified column * fix : put and patch endpoint * add PATCH routes and fix --------- Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: Alexandre Nozière <118798868+anoziere@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> * fix: dependencies core * fix: remove modules files * fix: double attributes * fix: remove modern file * feat: add conf api swagger --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ArthurLashermes <76913541+ArthurLashermes@users.noreply.github.com> Co-authored-by: ArthurLashermes <alashermes@openstudio.fr> Co-authored-by: lnormandon <lnormandon@openstudio.fr> Co-authored-by: lesateliersapicius <devweb@apicius.com> Co-authored-by: hequet <erwann.hequet@api-and-you.com> Co-authored-by: Franck Allimant <roadster31@users.noreply.github.com> Co-authored-by: Franck Allimant <fallimant@openstudio.fr> Co-authored-by: Jordi-Hermes <56640527+Jordy-Hermes@users.noreply.github.com> Co-authored-by: jordi hermes babalako <jhbabalako@openstudio.fr> Co-authored-by: jdenis-os <jdenis@openstudio.fr> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Lopes-Vicente <vlopes@openstudio.fr> Co-authored-by: Vincent Lopes-Vicente <vlopesvicente@gmail.com> Co-authored-by: Da Silva Mendonca Thomas <thomas.dasilvamendonca@protonmail.com> Co-authored-by: ThomasDaSilva <97163246+ThomasDaSilva@users.noreply.github.com> Co-authored-by: Damien Foulhoux <dfoulhoux@openstudio.fr> Co-authored-by: Lucanis <damien.foulhoux@gmail.com> Co-authored-by: Damien Foulhoux <Lucanis@users.noreply.github.com> Co-authored-by: Rob <32717550+robinallezard@users.noreply.github.com> Co-authored-by: Robin Morel <rmorel@openstudio.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When TinyMCE JS scripts are copied to the web directory, the path to the .env file is not the same as when TinyMCE scripts are symlinked.
This PR fixes the problem.