Skip to content
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

Eval expression response json #990

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Conversation

wlorenzetti
Copy link
Member

Refactoring of response of /api/expression_eval/<int:project_id>/ with a standard G3W-SUITE API Json response, i.e.:

From a response body like this

'GUATEMALA'

To a Json response body like this:

{'result': True, 'value': "GUATEMALA"}

wlorenzetti added 4 commits December 11, 2024 14:04
@wlorenzetti wlorenzetti added the refactoring Anything which could result in a API change label Dec 11, 2024
@wlorenzetti wlorenzetti added this to the v3.9 milestone Dec 11, 2024
@wlorenzetti wlorenzetti self-assigned this Dec 11, 2024
@wlorenzetti wlorenzetti marked this pull request as ready for review December 11, 2024 14:05
@wlorenzetti wlorenzetti merged commit 43c9858 into dev Dec 11, 2024
5 checks passed
@wlorenzetti wlorenzetti deleted the eval_expression_response_json branch December 11, 2024 14:05
volterra79 added a commit to g3w-suite/g3w-client that referenced this pull request Dec 11, 2024
volterra79 added a commit to g3w-suite/g3w-client that referenced this pull request Dec 27, 2024
* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* 🐛 Misspelling variable

* 🐛 Loading external wms layer showing map spinner

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* ✨ Referred to g3w-suite/g3w-admin#990

* ♻️ Remove duplicate setCurrentLayout method

* 💄 alignment

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* 🐛 Close modal window after logged in

* 🐛 Fix update url of media when save temp url to server (commit)

* 🐛 Fix handle media input when commit changes to server (commit and updates/new)

* GUI.getService('queryresults').registerVectorLayer(layer); on ly if a vector layer

* Clean code - spaces

* 🐛 Add highlight toc layers also on querybycircle

* Remove console.log

* 🐛 Fix jsts parser. Need to set geom ol

* 🐛 Referred jsts

* 🎨  Handle output data error to manage query by control

* 🐛 Make reactive change legendurls

* 🐛 Add WMTS to ol.tilegrid

* Clean code - Use url string instead of an url object as a key

* 🐛 Fix TileGrid on ol.tilegrid

* 🐛 Fix query by draw polygon and circle on external layers

* Clean code - spaces

* 🐛 Fix querybuilder search

* 🐛 Fix fileDownload request using formData for post request method

* Clean code - spaces

---------

Co-authored-by: volterra79 <boccacci.francesco@gmail.com>
Raruto added a commit to g3w-suite/g3w-client that referenced this pull request Jan 30, 2025
* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

---------

Co-authored-by: volterra79 <boccacci.francesco@gmail.com>
volterra79 added a commit to g3w-suite/g3w-client that referenced this pull request Feb 3, 2025
* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

* ✨  Add pagination on relation table on query or search result feature

* 🐛 Sync with PAGELENGTHS constant array

* ♻️ Move methods on Realtion.vue componetent to get data table, etc ..

* 🐛 Show relation back to relations list button only if layer has more than one relations

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
volterra79 added a commit to g3w-suite/g3w-client that referenced this pull request Feb 3, 2025
* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

* ✨  Add pagination on relation table on query or search result feature

* 🐛 Sync with PAGELENGTHS constant array

* ♻️ Move methods on Realtion.vue componetent to get data table, etc ..

* 🐛 Show relation back to relations list button only if layer has more than one relations

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
volterra79 added a commit to g3w-suite/g3w-client that referenced this pull request Feb 3, 2025
* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

* ✨  Add pagination on relation table on query or search result feature

* 🐛 Sync with PAGELENGTHS constant array

* ♻️ Move methods on Realtion.vue componetent to get data table, etc ..

* 🐛 Show relation back to relations list button only if layer has more than one relations

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
Raruto added a commit to g3w-suite/g3w-client that referenced this pull request Feb 3, 2025
… container (#707)

* 🐛 Fix delete package.json of default_plugins at start time

* Add pagination on relation table on query/search result container (#705)

* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

* ✨  Add pagination on relation table on query or search result feature

* 🐛 Sync with PAGELENGTHS constant array

* ♻️ Move methods on Realtion.vue componetent to get data table, etc ..

* 🐛 Show relation back to relations list button only if layer has more than one relations

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>

* Add pagination on relation table on query/search result container (#705)

* reduce nesting level

* show branch name on production

* closes: https://github.com/g3w-suite/backlog/issues/113

* missing response

* hotfix for i18n label

* wms styles

* `select2_layers` → `wms_styles`

* i18n

* add test for custom wms

* WIP: zip file test

* help text

* drop are

* Remove hardcoded EPSG:4326 to zip(shapefile)

* remove function: `setDefaultLayerStyle`

* convert to esm: `shpjs`, `jszip`, `file-saver`

* WIP: extract proj definition

* move `x2js` into `src/utils/parsers`

* remove unused vendor files

* remove unused vendor files

* remove unusued vendor files

* `concatenate:vendor_js` → `move:vendor_js`

* convert some vendors to node modules

* convert some vendors to node modules

* remove ol css

* bump gulp to v4

* remove `dropdownCssClass`

* missing this

* convert ol to npm module

* immutabile object

* remove select2

* info message

* 🐛 Add file type attribute

* ♻️ use import ES6 module

* Revert

* 🐛 Zip file shapefiles

* reduce nesting level

* remove x2js dependency

* remove unusued `id` param

* shorten function names: `addZValue`, `removeZValue`

* jsdoc

* missing quote

* remove folder: `src/assets/vendors/`

* closes: https://github.com/g3w-suite/backlog/issues/121

* border

* check for node element

* editing css

* fixes: #691

* debug info

* hotfix for datetimepicker

* jsdoc

* text overflow

* Delete settings.json

* Delete setProjectAliasUrl.js

* Update g3w-globals.js

* remove: test, less, core-js

* remove circual dependecies + depretacted.js

* attempt to fix invalid plugin source maps

* 🐛 get values from server only if input is 'selectfield' type

* undefined variable

* wrong import `Select2`

* clean wms name

* 🐛 Referred to #692

* 🐛 set loading is set true if previous request are completed after last request

* Revert "🐛 set loading is set true if previous request are completed after last request"

This reverts commit 55ccbfa.

* 🐛 Loading previous long request

* Fix setModal(false) on close Form only when close content

* WIP: esbuild

* monkey patch `Vue.extend`

* cb → async

* remove unusued npm commands

* ✨ Add PUT XHR method

* 🐛 Bad Request - Request Line is too large Fix createFilter token request using POST method instead GET

* ensure sync exec

* default import

* invalid new target

* fix spinner

* return this

* wrong new

* invalid return

* return type

* 🐛 notvalid computed mixin replcae with validate

* ⬆️ ol from v5.3.0 to v10.3.1

* ♻️ remove _.union dependency lodash

* 🎨 show map spinner on loading map

* 🐛 Misspelling variable

* 🐛 Misspelling variable

* 🐛 Fix map screenshot

* 🐛 Fix pint area and editing form grey map

* 🐛 Loading external wms layer showing map spinner

* 🐛 Fix loading wms external layer spinner on map

* 🐛 Handle editing layer position on map. Always on top also after add wms external layer

* 🐛 Fix show relation form not scrollable

* Replace same structure of main parent feature form structure

* 💄Replace rgb to rgba

* 💄 set relation tool result aligned

* sanity check

* proxy class for legacy plugins

* mispelling

* jsdocs

* mispelling

* ✨ Referred to g3w-suite/g3w-admin#990

* nullish

* `"checkJs": true`

* 🐛 Fix current layout

* ♻️ Remove duplicate setCurrentLayout method

* Clean code

* 💄 alignment

* 💄 alignment

* `"moduleResolution": "bundler"`

* convert to ES6: `defineClassField`

* 🐛Fix image field on query result when no structure is set on layer

* 🐛 Reurn response from server and not undefined

* deprecation notices

* Delete _version.js

* 🐛 Fix query by polygon request

* `this.corids` → `this.outputDataPlace.reqs`

* ♻️  handle multi output request

* backomp

* deprecration notice

* convert `_.isEmpty` to plain js

* Update jsconfig.json

* remove `lodash` and `quill`

* remove `bootbox`

* 🐛 Take in an account search return data type as new search. Wrong refactoring from G3W-SUITE v3.7.x

* Clean code - comments

* drop dependency: `"jquery-i18next"`

* ✨ Add child attribute to state of serach. Need to know if a serach is a child of anothre search

* `i18next-xhr-backend` → `i18next-http-backend`

* Clean code - Remove implicit set tooltip in favor of v-t-tooltip directive

* drop dependencies: `"jquery-u"`, `"blueimp-file-upload"`

* update `bootstrap`

* extract `bootstrap-3.css`

* merge `bootstrap-3.css` into `app.css`

* unusued css

* css clean up

* Align with dev

* Import jsts

* remove legacy meta tags

* remove: `utils/createSingleFieldParameter.js`

* `margin-between-element` → `mb-5`

* slim down utils

* delete `utils/coordinatesToGeometry.js`

* replace: `"file-saver"` , `downloadFile`, `XHR.fileDownload` with `saveBlob`

* 💄 Change map footer icons css padding

* remove: `npm-force-resolutions`, `"graceful-fs"`, `"i18next-http-backend"`, `"browserslist"`

* 🐛 Fix download relations. Exclude pdf format

* 💄 Change css app title on navbar

* remove `"bootbox"`

* 🐛 Fix issue on delete map theme. Missing await and remove body fetch request

* remove `"ol-rotate-feature"`

* remove: `v-checked` and `v-t-title`

* update notification icons

* monospace operator

* fix `Object.values` is not a constructor

* update icon

* missing icon

* remove `src/version.js`

* remove unusued task: `"vendor:js"`

* update engines

* remove `bootstrap/js/button`

* auto clean `legacy_plugins`

* Update gulpfile.js

* exclude legacy plugins from deploy

* `legacy_plugins` → `static_plugins`

* create symlinks

* remove some backomps

* Update README.md

* backomps

* remove deprecated utils

* ✨  Add pagination on relation table on query or search result feature

* 🐛 Sync with PAGELENGTHS constant array

* ♻️ Move methods on Realtion.vue componetent to get data table, etc ..

* 🐛 Show relation back to relations list button only if layer has more than one relations

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Anything which could result in a API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants