Commit Graph

33 Commits (599764ef3861f888b70bd2ed63ebfb4ec7b3b13b)

Author SHA1 Message Date
mpeltriaux 3fa76063d0 Eco account unit tests
* adds eco account unit tests
* adds validity check to eco account form to check on existing deductions and potential conflict with reduced deductable surface
* improves geojson handling on SimpleGeomForm
* adds/updates translation
1 year ago
mpeltriaux 5684b9b6d9 Unit test compensation models
* adds unit tests for compensation models
* removes duplicated unit tests
1 year ago
mpeltriaux 0f757a5de1 Unit test compensation states
* adds unit test for adding/editing/removing compensation states
1 year ago
mpeltriaux 1d3b576b51 Unit test for compensation forms
* adds unit tests for adding and editing deadline
1 year ago
mpeltriaux 643abcf841 Unit test for compensation forms
* adds compensation action forms unit tests
1 year ago
mpeltriaux 564ae4d5db Tests on analysis and compensation
* enhances tests for analysis and compensation app
1 year ago
mpeltriaux aa13e60bc0 Tests
* extends test for new behaviour of newly created entries
2 years ago
mpeltriaux 4138b056df #238 Fix
* adds casting from Decimal() to primitive float for proper calculation
2 years ago
mpeltriaux 587b828574 Test extension
* adds further checks on EcoAccount tests for proper updating of new deductable_rest attribute
2 years ago
mpeltriaux 68dfef18c5 Fixes EcoAccount availability ordering
* adds db based table ordering for EcoAccountTable
2 years ago
mpeltriaux 5e65156b54 #138 WIP Validity
* adds geometry validity checks for SimpleGeomForm is_valid()
    * shows validity problems on the form if a feature is invalid
* optimizes merging of different features into one MultiPolygon
* further enhances tests
* adds as_feature_collection() method on Geometry model for converting geom MultiPolygon attribute into FeatureCollection json holding each polygon as an own feature -> makes each polygon selectable in new netgis map client
2 years ago
mpeltriaux 8d34580090 #138 WIP Improvements
* adds geom back writing to form field in case of invalid geometry, so the invalid geometry will be shown again
* updates tests
* fixes bug where race condition of celery workers could lead to duplicates in parcels (needs migration)
2 years ago
mpeltriaux 5f1f2a933e #140 Tests
* adds workflow tests for major datatypes
3 years ago
mpeltriaux edcf7b3c78 #101 Team sharing tests
* adds tests for team sharing
* extends the API for team sharing support
* adds shared_teams property shortcut for ShareableObjectMixin
* adds full support for team-based sharing to all views and functions
* simplifies ShareModalForm
* adds/updates translations
3 years ago
mpeltriaux e152dfd4d7 #101 Team sharing form
* adds team sharing field to share form
* splits sharing logic into user based and teams based
* adds TeamAdmin for admin backend
* adds validity check on Team name -> only unused names shall be valid
3 years ago
mpeltriaux 5ccb63d27b #114 Unshared Account Deductions
* enables deducting from unshared eco accounts
   * account must be recorded and not deleted, so users can use it for deductions
3 years ago
mpeltriaux 6fbdc3c1fb #86 Edit deadlines EcoAccount
* adds support for editing of deadlines in EcoAccount
* adds buttons and urls
3 years ago
mpeltriaux afb0cabec4 #86 Edit deadline Compensation
* adds support for editing of deadlines
* adds buttons and urls
* adds w-10 as base css-class for all action columns
3 years ago
mpeltriaux c88bbdabbc #86 Edit view tests
* extends view tests
3 years ago
mpeltriaux d106977c34 #86 Edit deductions
* adds support for editing deductions
* adds tests
* improves major base test logic
3 years ago
mpeltriaux ce9143e4b2 #86 Edit payment
* adds button for payment editing
* adds new edit form payment editing
* adds tests for views and workflow
3 years ago
mpeltriaux 5eebd42c3c Further tests ecoaccount
* adds ecoaccount workflow tests
3 years ago
mpeltriaux 98df0f93c3 Further tests
* restructures compensation/tests into subtests for ecoaccount and compensation
* adds tests for ema workflow
* improved test data setup
3 years ago
mpeltriaux 1eecc5fa48 # 86 Viewport jump EcoAccount/EMA
* adds direct jump of viewport on related-data action (create/delete)
3 years ago
mpeltriaux bd36ab5b6f #35 Sanity command
* refactors "toggling" of recorded/checked state
* introduces mark_as_edited() for RecordableObjectMixin
3 years ago
mpeltriaux 037d3a8fee #19 Tests
* adds workflow edit testing for compensations
3 years ago
mpeltriaux ea14a01f89 #19 Tests
* adds workflow testing for geometries on new creation of intervention and compensation
*
3 years ago
mpeltriaux ce7033943f #19 Tests
* refactors sharing user setting by introducing share_with(user) and share_with_list(user_list) for BaseObject for a more self-explanatory sharing
3 years ago
mpeltriaux 50e134ba91 #19 Tests
* adds workflow tests for eco account deduction creation
3 years ago
mpeltriaux 667f378b74 #19 Tests
* adds workflow tests for compensation checking and recording
* improves related code
3 years ago
mpeltriaux 2957035b5a #19 Tests
* adds EcoAccount tests
* fixes bugs found by testing
3 years ago
mpeltriaux c221d00c28 #19 Tests
* adds EMA tests
* extends compensation tests
* fixes bugs detected by testing
* restructured tests for performance boost
3 years ago
mpeltriaux b5fc96c1cf #19 Tests
* adds tests for compensations (WIP)
* refactors some dummy data generating into base test class
* fixes bugs detected by testing
* adds important requirements.txt change for itsdangerous package (<1.0.0 for compatibility to django-simple-sso)
3 years ago