mpeltriaux
a06eaa49fb
#31 API basic implementation Refactor
...
* reorganizes code into proper api/utils/serializer subclasses to keep serialization logic away from regular view logic
2022-01-24 10:31:48 +01:00
mpeltriaux
45ac5b68b9
#31 API basic implementation Refactor
...
* reorganizes code into proper api/utils/serializer subclasses to keep serialization logic away from regular view logic
2022-01-24 10:31:48 +01:00
mpeltriaux
ee828598cc
#31 API basic implementation Cleanup
...
* cleans code
* reworks many code fragments into smaller methods and split into super class
2022-01-21 18:34:01 +01:00
mpeltriaux
8d400b4ffe
#31 API basic implementation Cleanup
...
* cleans code
* reworks many code fragments into smaller methods and split into super class
2022-01-21 18:34:01 +01:00
mpeltriaux
2db63b4f91
#31 API basic implementation Ema fetch
...
* adds API support for fetching EMA
2022-01-21 17:49:07 +01:00
mpeltriaux
870cc96a1a
#31 API basic implementation Ema fetch
...
* adds API support for fetching EMA
2022-01-21 17:49:07 +01:00
mpeltriaux
beb67ba307
#31 API basic implementation EcoAccount fetch
...
* outsources json creation of modified_on an created_on to superclass
* adds API support for fetching ecoaccount data
2022-01-21 17:44:58 +01:00
mpeltriaux
4f6964b04a
#31 API basic implementation EcoAccount fetch
...
* outsources json creation of modified_on an created_on to superclass
* adds API support for fetching ecoaccount data
2022-01-21 17:44:58 +01:00
mpeltriaux
fd4729aa03
#31 API basic implementation Compensation
...
* adds compensation fetching for API v1
* refactors filter into predefined lookup dict of super class (needs to be customized on subclasses)
2022-01-21 17:32:31 +01:00
mpeltriaux
897520f906
#31 API basic implementation Compensation
...
* adds compensation fetching for API v1
* refactors filter into predefined lookup dict of super class (needs to be customized on subclasses)
2022-01-21 17:32:31 +01:00
mpeltriaux
11de423d05
#31 API basic implementation Intervention fetch
...
* enhances intervention fetching and serialization
2022-01-21 16:29:59 +01:00
mpeltriaux
0c35e79d04
#31 API basic implementation Intervention fetch
...
* enhances intervention fetching and serialization
2022-01-21 16:29:59 +01:00
mpeltriaux
cf82f4b223
#31 API basic implementation Token Authentication
...
* adds token checking to AbstractModelAPIView
* adds user accessibility filtering for intervention API v1
* extends fetch_and_serialize() method to take a dict for db filtering instead of a single field and value
* organizes urlnames into supporting formats like "api:v1:intervention"
2022-01-21 16:15:16 +01:00
mpeltriaux
3938db1893
#31 API basic implementation Token Authentication
...
* adds token checking to AbstractModelAPIView
* adds user accessibility filtering for intervention API v1
* extends fetch_and_serialize() method to take a dict for db filtering instead of a single field and value
* organizes urlnames into supporting formats like "api:v1:intervention"
2022-01-21 16:15:16 +01:00
mpeltriaux
134651c8f7
#31 API basic implementation
...
* adds new app to project
* adds relation between User model and new APIUserToken model
* adds first implementation for GET of intervention
* adds basic code layout for future extension by having new versions
2022-01-21 15:26:08 +01:00
mpeltriaux
881da38538
#31 API basic implementation
...
* adds new app to project
* adds relation between User model and new APIUserToken model
* adds first implementation for GET of intervention
* adds basic code layout for future extension by having new versions
2022-01-21 15:26:08 +01:00
mpeltriaux
d01bc7e547
Merge pull request 'master' ( #85 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#85
2022-01-21 09:27:46 +01:00
mpeltriaux
60fb22b6c7
Merge pull request 'master' ( #85 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#85
2022-01-21 09:27:46 +01:00
mpeltriaux
d8b503f2b5
Merge pull request '83_Publication_rework' ( #84 ) from 83_Publication_rework into master
...
Reviewed-on: SGD-Nord/konova#84
2022-01-21 09:27:10 +01:00
mpeltriaux
b9d532aa81
Merge pull request '83_Publication_rework' ( #84 ) from 83_Publication_rework into master
...
Reviewed-on: SGD-Nord/konova#84
2022-01-21 09:27:10 +01:00
mpeltriaux
4e57ca4954
# 83 Publication rework
...
* adds fake-inherited is_ready_for_publish() method to compensation model (not derived from RecordableObjectMixin) to equalize usage of is_ready_for_publish() usage for all data types (compensation can be checked the same way as intervention, ecoaccount or ema)
2022-01-21 09:26:41 +01:00
mpeltriaux
ee6ac9e7c8
# 83 Publication rework
...
* adds fake-inherited is_ready_for_publish() method to compensation model (not derived from RecordableObjectMixin) to equalize usage of is_ready_for_publish() usage for all data types (compensation can be checked the same way as intervention, ecoaccount or ema)
2022-01-21 09:26:41 +01:00
mpeltriaux
469dabf6aa
# 83 Publication rework EcoAccount Compensation
...
* adds implementation for is_ready_for_publish() on compensation (uses intervention's implementation) and EcoAccount
2022-01-21 09:22:43 +01:00
mpeltriaux
fd3f9b95b9
# 83 Publication rework EcoAccount Compensation
...
* adds implementation for is_ready_for_publish() on compensation (uses intervention's implementation) and EcoAccount
2022-01-21 09:22:43 +01:00
mpeltriaux
20ed6a7720
# 83 Publication rework EMA
...
* adds is_ready_for_publish implementation for EMA
2022-01-21 09:15:06 +01:00
mpeltriaux
e73b42db7b
# 83 Publication rework EMA
...
* adds is_ready_for_publish implementation for EMA
2022-01-21 09:15:06 +01:00
mpeltriaux
884aaca0b3
# 83 Publication rework interventions
...
* adds abstract is_ready_for_publish method to PublishableObjectMixin which needs to be implemented in subclasses
* adds implementation for intervention model
* adds publishable check to rendering report view
* adds/updates translations
2022-01-21 09:02:56 +01:00
mpeltriaux
b72426e20f
# 83 Publication rework interventions
...
* adds abstract is_ready_for_publish method to PublishableObjectMixin which needs to be implemented in subclasses
* adds implementation for intervention model
* adds publishable check to rendering report view
* adds/updates translations
2022-01-21 09:02:56 +01:00
mpeltriaux
b8353e1671
Merge pull request 'master' ( #82 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#82
2022-01-20 12:32:56 +01:00
mpeltriaux
cf984e4abe
Merge pull request 'master' ( #82 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#82
2022-01-20 12:32:56 +01:00
mpeltriaux
05e443166c
Merge pull request '70_Tab_title_too_long' ( #81 ) from 70_Tab_title_too_long into master
...
Reviewed-on: SGD-Nord/konova#81
2022-01-20 12:31:49 +01:00
mpeltriaux
1670bf37ab
Merge pull request '70_Tab_title_too_long' ( #81 ) from 70_Tab_title_too_long into master
...
Reviewed-on: SGD-Nord/konova#81
2022-01-20 12:31:49 +01:00
mpeltriaux
648e287144
# 70 Tab title rest
...
* adds tab titles for some other pages
* adds/updates translations
2022-01-20 12:31:20 +01:00
mpeltriaux
79b9be5637
# 70 Tab title rest
...
* adds tab titles for some other pages
* adds/updates translations
2022-01-20 12:31:20 +01:00
mpeltriaux
9e8d4fc753
# 70 Tab title EMA
...
* adds ema tab titles
* adds/updates translations
2022-01-20 12:26:22 +01:00
mpeltriaux
7a8cafcd77
# 70 Tab title EMA
...
* adds ema tab titles
* adds/updates translations
2022-01-20 12:26:22 +01:00
mpeltriaux
2f65caf6b1
# 70 Tab title eco-account
...
* adds tab titles for eco account
* adds/updates translations
2022-01-20 12:23:19 +01:00
mpeltriaux
b9bec82876
# 70 Tab title eco-account
...
* adds tab titles for eco account
* adds/updates translations
2022-01-20 12:23:19 +01:00
mpeltriaux
fb911c7429
# 70 Tab title compensation
...
* adds tab titles for compensations
* adds/updates translations
* optimizes identifier generating, so that one-digit months will be converted into two digits
2022-01-20 12:19:08 +01:00
mpeltriaux
014155b0a4
# 70 Tab title compensation
...
* adds tab titles for compensations
* adds/updates translations
* optimizes identifier generating, so that one-digit months will be converted into two digits
2022-01-20 12:19:08 +01:00
mpeltriaux
77e9c989aa
# 70 Tab titles interventions
...
* adds content related tab title
* adds/updates translations
2022-01-20 12:12:04 +01:00
mpeltriaux
dc42278943
# 70 Tab titles interventions
...
* adds content related tab title
* adds/updates translations
2022-01-20 12:12:04 +01:00
mpeltriaux
9e3d9a1c19
# License update
...
* minor enhancement for online rendering
2022-01-20 10:00:12 +01:00
mpeltriaux
951bbef480
# License update
...
* minor enhancement for online rendering
2022-01-20 10:00:12 +01:00
mpeltriaux
a13e36df73
Merge pull request '# 72 License' ( #80 ) from 72_Licence into master
...
Reviewed-on: SGD-Nord/konova#80
2022-01-20 09:56:46 +01:00
mpeltriaux
df84f7f660
Merge pull request '# 72 License' ( #80 ) from 72_Licence into master
...
Reviewed-on: SGD-Nord/konova#80
2022-01-20 09:56:46 +01:00
mpeltriaux
79dac2281f
# 72 License
...
* adds license info de and en
2022-01-20 09:55:59 +01:00
mpeltriaux
028f8fd8f0
# 72 License
...
* adds license info de and en
2022-01-20 09:55:59 +01:00
mpeltriaux
f54ddeabfa
Merge pull request '# Bugfix parcel updating' ( #79 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#79
2022-01-19 17:20:53 +01:00
mpeltriaux
14c42217c2
Merge pull request '# Bugfix parcel updating' ( #79 ) from master into Docker
...
Reviewed-on: SGD-Nord/konova#79
2022-01-19 17:20:53 +01:00