Commit Graph

14 Commits

Author SHA1 Message Date
Leonardo Pistone
d8baef5c31 [imp] account_move_batch_validate: if creating the jobs takes long, at least commit while marking moves to be validated. that way users will see the flag somewhat sooner. 2020-05-26 10:03:13 +03:00
Leonardo Pistone
2561d64581 [imp] account_move_batch_validate: creating many jobs can be slow. Delay also the job that creates the other jobs.
Sadly, I have to disable tests until we will have a way to execute all pending jobs immediately in integration tests.
2020-05-26 10:03:13 +03:00
Leonardo Pistone
e2140bc654 [imp] account_move_batch_validate: impersonal log messages 2020-05-26 10:03:13 +03:00
Leonardo Pistone
48089ee8f0 [imp] account_move_batch_validate: log more when creating jobs 2020-05-26 10:03:13 +03:00
Leonardo Pistone
efcb80f540 [fix] when a the move we want to validate is not there anymore, close the job silently, with an appropriate message. I provide a test for that. 2020-05-26 10:03:13 +03:00
Leonardo Pistone
ded0977ac5 [imp] account_move_batch_validate: hide job uuid, make mark readonly 2020-05-26 10:03:13 +03:00
Leonardo Pistone
a0de85a1d8 [fix] mark moves for posting a bit at a time to avoid MemoryError 2020-05-26 10:03:13 +03:00
Leonardo Pistone
a7c143be65 [fix] store the job after changing the state 2020-05-26 10:03:13 +03:00
Leonardo Pistone
a5edba0ed7 [add] new test for unmark feature 2020-05-26 10:03:13 +03:00
Leonardo Pistone
5b2bd031ca [add] move batch validate: now you can cancel all jobs that are not done yet 2020-05-26 10:03:13 +03:00
Leonardo Pistone
78e6560d09 [imp] batch validate: refactor, handle job uuid 2020-05-26 10:03:13 +03:00
Leonardo Pistone
be6319afbd [imp] do not use a new cursor to create the jobs 2020-05-26 10:03:13 +03:00
Leonardo Pistone
02de20b0ec [imp] account_move_batch_validate: first (partially) working state, yey! 2020-05-26 10:03:13 +03:00
Leonardo Pistone
8886335db9 [add] new module account_move_batch_validate: initial work, unfinished 2020-05-26 10:03:13 +03:00