Commit graph

7 commits

Author SHA1 Message Date
iLLiCiTiT
3ac669d9a5 moved task roles to tasks_widget as it's only place where are used 2021-11-24 21:10:14 +01:00
iLLiCiTiT
b2a7424338 fixed TASK_ORDER_ROLE 2021-11-15 17:53:50 +01:00
Petr Kalis
05983fc1eb OP-1906 - refactor - simplified roles
Removed FullItemRole, replaced with more primitive returning roles
2021-11-09 13:43:17 +01:00
Petr Kalis
93514721da OP-1906 - refactor - roles in Site Sync Queue
Used new role wrere possible. RepresentationModel stuck with old roles, much more complicated refactor needed in the future.
2021-11-09 11:40:19 +01:00
Petr Kalis
a3a6fbe8ac OP-1906 - refactor - returned data structure simplified
Data returned should be simple values, not arrays/dictionaries etc.

Do not import from sync_server if not necessary (because of Python2)
2021-11-08 18:27:47 +01:00
iLLiCiTiT
45ea46ddf6 added copy of project model into utils 2021-10-29 18:43:27 +02:00
iLLiCiTiT
52801768d8 moved task model into tools/utils/models.py 2021-10-29 18:32:39 +02:00