-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TM-1386] update reports statuses #534
Conversation
…wri-terramatch-api into fix/TM-1104-fix-pitch-model
[TM-1144] add validation for null extra info
[TM-1144] reorder functions to get valid schema data for polygons
[TM-1146] Fix Pitch model if organization is null
* [TM-1136] feat: add logic to upload replacement polygons * [TM-1136] fix * [TM-1136] fix
Fix/tm 1123 remove decimals
* [TM-1136] fix: reassigning site uuid * [TM-1136] fix * [TM-1136] fix * [TM-1136] fix test * [TM-1136] fix lint * [TM-1136] fix lint * [TM-1136] fix lint
* [TM-1104] send project_pitch_uuid for submisssion * [TM-1104] update swagger definition for project pitch uuid * [TM-1104] update swagger definition for project pitch uuid * [TM-1104] make lint fix --------- Co-authored-by: JORGE <[email protected]>
* [TM-1179] revert approved on update geom * [TM-1179] change status on edit to model
* [TM-1179] on save attributes change to submitted if approved
…quat' into TM-778
[TM-778] issue searching site reports by site name
[TM-1106] Improved long term scheduling system.
* [TM-1366] insert landscape data, create seeder and migration * [TM-1366] add fix lint
* [TM-1479] changes columns to table indicators * changes indicator_id to indicator_slug in controller
…terramatch-api into feat/TM-1127-add-worker
…rise Reporting Tasks (#526) * [TM-1353] add OneOff command to seed hbf and enterprises reports * remove imports * update hours for to account for tz displacement * update name * add one-off command for backdated reports * fix typo
* [TM-1479] changes columns to table indicators * changes indicator_id to indicator_slug in controller * [TM-1379] change indicator_slug values
[TM-1127] Add worker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two thing:
- This would be better implemented as a Command than a seeder, as it more conceptually aligns with what this tool is doing. Seeders are for getting initial data into a table, not for modifications
- I don't think the .csv makes much sense to check in. Would be better to just upload to the EC2 box and pass it as an argument to the command.
BulkWorkdayImport
is an example of a Command that works in this way.
…ri-terramatch-api into feat/TM-1386-bulk-approved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the command looks good, but please remove the seeder and checked in .csv.
This is a command that will update via projects projectReport, siteReport and tasks from
“awaiting approval” or “needs more information” to “approved”.