Commit Graph

16 Commits (fc3c0c4beba23680f6003d8b718206da4a93486e)

Author SHA1 Message Date
mpeltriaux f93e2b8463 HOTFIX: API
* hardens atom_id input to be integer or string compatible
2 years ago
mpeltriaux f4d0485019 # 129 Handler code renaming
* renames handler code list
* improves missing handler data rendering on detail view
3 years ago
mpeltriaux f441ed94f5 # 129 Handler code
* adds handler code list usage to forms and models
* updates tests
* extends API for handler code handling
3 years ago
mpeltriaux 0677cec709 #118 API ActionTypes
* adds support for multiple action_type entries on one CompensationAction
3 years ago
mpeltriaux f6304d0b33 #88 Action/Biotope API extension
* extends the API to support serializing and deserializing of action_details and biotope_details
* renames biotope_extra_types into biotope_type_details on CompensationState model for convenience reasons and to match CompensationAction's action_type_details
3 years ago
mpeltriaux 4c98949ba3 #31 API Deductions
* adds GET/POST/PUT/DELETE support for EcoAccountDeductions
3 years ago
mpeltriaux bfefc43522 #31 API GET Tests
* adds tests for api GET method
* fixes bug where non existing geometry could not be serialized properly
3 years ago
mpeltriaux 27c1de2c53 #31 API protected visibility
* reworks most internal API methods for de/serializing from public to protected visibility
* moves test_api_sharing.py into /share subfolder of tests
3 years ago
mpeltriaux e7dbea49cd #31 API DELETE
* adds support for DELETE method for all relevant objects
* improves get_obj_from_db functionality
* drops custom compensation logic for get_obj_from_db due to improvement of base method
3 years ago
mpeltriaux 5a7ea0b6c2 #31 API Tests
* adds creation tests with minimum data for intervention, compensation, ema and ecoaccount
* fixes bug where empty geometry would not be created properly using the API
* reworks key fetching from POST data, so inproperly stated keys will lead to an error for the API user, instead of silently working and use default data
* adds some logical checks for deductable_surface of eco account creation using api
* fixes bug that would have occured on creating compensations via api
3 years ago
mpeltriaux 89fb867ab2 #31 API PUT/POST Ema
* adds support for PUT and POST of Ema
* moves set_responsibility() and set_legal() from Intervention API Serializer into proper Mixins where they belong to
3 years ago
mpeltriaux f461a8e38d #31 API Improvement
* adds support for returning all shared data
* adds documentation
3 years ago
mpeltriaux d58ca3f324 #31 API PUT Compensation
* adds support for PUT compensation (Update)
* improves updating of related objects
* adds missing payment PUT support for intervention API
3 years ago
mpeltriaux 07331078c4 #31 API code cleaning
* splits large AbstractModelAPISerializer into different reusable Mixins to increase reusability of code for similar models
3 years ago
mpeltriaux c8dfa7e21f #31 API POST Intervention
* adds check for deserializing of konova codes
3 years ago
mpeltriaux d0f3fb9f61 #31 API POST Intervention
* adds support for proper POST of intervention
* makes /<id> optional (required for Post)
3 years ago