Skip to content

Commit

Permalink
Next (#204)
Browse files Browse the repository at this point in the history
* add docker squash

* retrigger run

* add branch protection

* fix : move generated directory in upload folder (#129)

* PR to develop (#130)

* Feature/error handling (#124)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* Feature/crs (#131)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* crs blueprint

* geographic_coordinate_systems

* geographic_coordinate_systems return crs_list

* feat(wip) : crs_converter output_file_extensions
& add crs_converter tests

* update requirements

* passing unit tests

* explode input & output crs
load model

* update requirements

* add send_from_directory

* add is_model
update requirements

* fix tests and refactor

* add builders

* add crs key to geode_objects assign/convert

* code cleanup

* refactor + remove console.logs

* Update requirements.txt

Co-authored-by: Arnaud Botella <[email protected]>

* update crs tests

* 14.1.11-rc1

* re arange functions place

* start update tests

* add crs_converter mesh tests

* add crs=False

* update requirements

---------

Co-authored-by: Arnaud Botella <[email protected]>

* Fix/secure unit tests (#157)

* Develop (#132)

* add docker squash

* retrigger run

* add branch protection

* fix : move generated directory in upload folder (#129)

* PR to develop (#130)

* Feature/error handling (#124)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* Feature/crs (#131)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* crs blueprint

* geographic_coordinate_systems

* geographic_coordinate_systems return crs_list

* feat(wip) : crs_converter output_file_extensions
& add crs_converter tests

* update requirements

* passing unit tests

* explode input & output crs
load model

* update requirements

* add send_from_directory

* add is_model
update requirements

* fix tests and refactor

* add builders

* add crs key to geode_objects assign/convert

* code cleanup

* refactor + remove console.logs

* Update requirements.txt

Co-authored-by: Arnaud Botella <[email protected]>

* update crs tests

* 14.1.11-rc1

* re arange functions place

* start update tests

* add crs_converter mesh tests

* add crs=False

* update requirements

---------

Co-authored-by: Arnaud Botella <[email protected]>

---------

Co-authored-by: Arnaud Botella <[email protected]>

* add test data files

* launch tests

* (wip) : update tests

* update unit tests

* pep8 formatting

* Update requirements.txt

* update unit tests

* add get_form_variables function

* tests passing

---------

Co-authored-by: Arnaud Botella <[email protected]>

* Feature refactoring (#162)

* save

* update passing tests

* import geode_functions in app.py

* opengeodeweb-back==0.0.14

* empty commit

* upload before test

* add filename

* function upload_files()

* remove tests

* Add LICENSE_TOKEN

* test

* test wget license file

* test

* test

* remove LICENSE_TOKEN

* Feature workflows (#164)

* Develop (#132)

* add docker squash

* retrigger run

* add branch protection

* fix : move generated directory in upload folder (#129)

* PR to develop (#130)

* Feature/error handling (#124)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* Feature/crs (#131)

* feat(wip) : try except

* update requirements

* feat(wip) : refactor

* fix : update requirements

* fix

* merge develop into feature/errors_handling

* crs blueprint

* geographic_coordinate_systems

* geographic_coordinate_systems return crs_list

* feat(wip) : crs_converter output_file_extensions
& add crs_converter tests

* update requirements

* passing unit tests

* explode input & output crs
load model

* update requirements

* add send_from_directory

* add is_model
update requirements

* fix tests and refactor

* add builders

* add crs key to geode_objects assign/convert

* code cleanup

* refactor + remove console.logs

* Update requirements.txt

Co-authored-by: Arnaud Botella <[email protected]>

* update crs tests

* 14.1.11-rc1

* re arange functions place

* start update tests

* add crs_converter mesh tests

* add crs=False

* update requirements

---------

Co-authored-by: Arnaud Botella <[email protected]>

---------

Co-authored-by: Arnaud Botella <[email protected]>

* Adding workflows blueprint

* Updating requirements

* Change BBox points input

* test

* update CD workflow

* Changing env

* Adding data files

* Allowing .env file

* Fix / undefined bbox points

* Added grid cell size

* Added venv and packages

* added Web-Back lib and get_form_variables function

* added Web-Back lib and get_form_variables function

* Replaced all replaceable functions

* Fixed form variables format

* Fix : split variables

* Added : workflows tests template

* Fix : path name

* Fix : route methods

* Add : workflow ong tests + exemple set from file

* Added tests + exception handling + absolute paths

* Fixed exceptions + Added tests with stupid values

* Fix : Dockerfile python version

* Add : args to docker build + lic download

* Test : secret name

* test secret name

* test concat

* test force

* test

* Test : build with if/else

* Fix : opengeodeweb version

* deleted tests

* Test : get license with curl

* Fix : opengeodeweb version

* Test : curl

* Test : curl bis

* Test : corrected version

* Test with bearer

* Test : curl ter

* test : curl with ref

* Test : curl without ref

* test : curl again

* Test : right file name

* remove test

* clean actions

* Add : lock and time files requests

* Fix : abspath in lock and time requests

* Add : blueprints tree structure

* Fix : blueprints importations

* Fix : blueprints names

* Fix : new routes in tests

* Fix : added abspath to lock and time folders

* Add : child bp imported in parents bp

* Fix : importation routes

* Fix : bp names

* Removed lock and time folder from child bp

* fix : loading data

* fix : saving data

* Fix : save args

* Changed workflows routes names

* Updated routes in tests

* Delete venv directory

* Delete .env

* edit ignore

* fixed inspector

* removed before and teardown requests

* Rename workflows + clean code + data folders

* Added "/" before file names

* Fixed "/" in file routes

* Fixed data folder for tests

---------

Co-authored-by: Julien Champagnol <[email protected]>
Co-authored-by: Arnaud Botella <[email protected]>

* Update port 5000

* test config

* remove ID from url_prefix

* remove ID in tests

* Feature add viewers (#165)

* better implicit workflow (#171)

* better implicit workflow

* fix tests

* add log

* remove implicit surfaces

* update implicit points

* update requirements

* update simplex

* fix tests

* update explicit

* fix tests

* update explicit

* add sharp section

* update data

* fix tests

* fix tests

* update to next branch convention

* image_name: 'website-back'

* /website/createbackend

* update requirements

* fix tests

* update folders paths

* Feat validation (#196)

* update

* update

* new version of website back

* update blueprint_validity_checker.py

* update unit tests and requirements

* update unit tests

* update .env

* fix unit tests

* change upload_file

* clean code

* update .env

* update content

* test

* remove filename

* add FileStorage

* file basename

* os.mkdir(UPLOAD_FOLDER)

---------

Co-authored-by: JulienChampagnol <[email protected]>

* Feat validation (#203)

* update

* update

* new version of website back

* update blueprint_validity_checker.py

* update unit tests and requirements

* update unit tests

* update .env

* fix unit tests

* change upload_file

* clean code

* update .env

* update content

* test

* remove filename

* add FileStorage

* file basename

* os.mkdir(UPLOAD_FOLDER)

---------

Co-authored-by: SpliiT <[email protected]>

* add prepare pr

---------

Co-authored-by: Arnaud Botella <[email protected]>
Co-authored-by: Clémentine <[email protected]>
Co-authored-by: Tao Schiro <[email protected]>
Co-authored-by: SpliiT <[email protected]>
  • Loading branch information
5 people authored Nov 9, 2023
1 parent 42f8e7d commit 44743cd
Show file tree
Hide file tree
Showing 22 changed files with 317 additions and 1,045 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FLASK_DEBUG=True
FLASK_DEBUG=True
11 changes: 11 additions & 0 deletions .github/workflows/prepare_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Prepare PR

on:
pull_request:
branches:
- next

jobs:
prepare:
uses: Geode-solutions/actions/.github/workflows/py-prepare-pr.yml@master
secrets: inherit
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def kill_task():
@app.errorhandler(HTTPException)
def handle_exception(e):
response = e.get_response()
print(e.description)
response.data = flask.json.dumps(
{
"code": e.code,
Expand Down
143 changes: 0 additions & 143 deletions blueprint_crs_converter.py

This file was deleted.

117 changes: 0 additions & 117 deletions blueprint_file_converter.py

This file was deleted.

107 changes: 0 additions & 107 deletions blueprint_validity_checker.py

This file was deleted.

Loading

0 comments on commit 44743cd

Please sign in to comment.