-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Tasking manager fastapi #6649
Open
prabinoid
wants to merge
183
commits into
develop
Choose a base branch
from
tasking-manager-fastapi
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+25,123
β18,739
Open
Tasking manager fastapi #6649
Changes from all commits
Commits
Show all changes
183 commits
Select commit
Hold shift + click to select a range
94ae0ac
feat: initial setup for fastapi
kaditya97 a7d7dd4
fix: basic setup
kaditya97 c74ee92
feat: added pyinstrument for api performance testing
kaditya97 e9b4798
feat: asyncio implementation
kaditya97 a549e0c
fix: minor import issues
kaditya97 31e9338
feat: new docker files with pdm integration
kaditya97 9f2936c
fix: projects all api
kaditya97 93fb6a1
fix: countries api working
kaditya97 6a50637
Fix backend container name on ECS
eternaltyro f4dcce9
Fix image name
eternaltyro de3e23e
Make deploy job depend on completion of build job
eternaltyro 65f36c0
Test image output from build job
eternaltyro 7e43443
Fix image link
eternaltyro bd97588
Fix interpolation in workflow
eternaltyro 723f3bf
Move to new Task Definition family
eternaltyro b11ec40
Fix github actions output step
eternaltyro 36d7422
Better naming and targeted build
eternaltyro db01309
Fix output format
eternaltyro 4e54b2c
Fix syntax error in workflow
eternaltyro b976deb
Fix metadata parse
eternaltyro 174ab6d
Build metadata fixes
eternaltyro 323d6c6
Move shell variables to workflow step env
eternaltyro 7edf11f
Fix image_name for push and cleanup Dockerfile
eternaltyro 8bc532f
Suppress apt output properly
eternaltyro a31fe32
Fix output ref
eternaltyro c70658f
Bug fixes
eternaltyro f60d811
fix: add json to ignored types in config
kaditya97 08cedf8
fix: frontend update
kaditya97 f498125
hot-fix: migrations error fix for multiple entry
kaditya97 fcb699c
feat: Campaigns get api for fastapi app
prabinoid 4ce3838
feat: Async post for campaigns api
prabinoid 7782e88
feat: Campaign retrieve and delete api now works asynchronously
prabinoid d8dfc49
Refac: Refactored project retrieve api to work asynchronously
prabinoid 27c0ceb
feat: Organisations get apis with statistics
prabinoid 9a63f4e
feat: Organisations apis updated for managers, teams statistics and dβ¦
prabinoid 83b6819
feat: Organisation campaigns and project campaign get apis
prabinoid 2cdc407
feat: Organisation post and patch patch apis
prabinoid 80d94b7
refac: Campaign, organisations and projects association delete apis aβ¦
prabinoid 2ab0cec
Implement query execution using encode/databases for organisations liβ¦
prabinoid bb5695e
Organisation retrieve api refactored to work asynchronously using datβ¦
prabinoid fd10851
Refactor: Get organisation via organisation slug
prabinoid 3a9fdc1
Organisation delete apis refactored and migrations env database uri fβ¦
prabinoid 4a26042
Organisation create, update, statistics refactored and field validatoβ¦
prabinoid dc98999
Campaign apis refactored and updated organisations list query to retrβ¦
prabinoid e02e8b7
Update campaign refactored
prabinoid b2fa655
Campaign linkage apis with organisations refactored
prabinoid d594456
Countries api refactored
prabinoid 54c88c2
Project retrieve and countries api refactored
prabinoid 605c436
Project list api and pagination util refactored
prabinoid 038dab0
refactor: licenses
Anuj-Gupta4 79bc4fc
Refactor: Project campaigns apis
prabinoid 973c65f
refactor: interests
Anuj-Gupta4 c941a1d
Teams module added to routers and teams get apis refactored.
prabinoid ace25cc
Project teams api and fixes in project get api queries
prabinoid ae4192e
Project queries bbox api refactored
prabinoid d58a295
Project admin service, owner projects api and validators refactored
prabinoid 3d9c76e
Project detail summary and user touched projects api refactored
prabinoid 75ec750
fix: Campaigns list and allowed usernames list
prabinoid c3c34d4
Project user activities apis refactored
prabinoid 61dfc11
Project contributions apis and other geom queries apis refactored
prabinoid a7add10
refactor: comment
Anuj-Gupta4 8a9cf50
Project statistics and User project statistics refactored
prabinoid 097f7da
refactor: user's license acceptance
Anuj-Gupta4 9eb2d50
refactor: user rate contributions
Anuj-Gupta4 c42d930
refactor: get user interests
Anuj-Gupta4 63847ac
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 20de1fb
Heartbeat api refactored and ohsome api environment import handled
prabinoid 4ad3bcc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 166223c
Pre commit hooks refactor and db connection param json postgres port β¦
prabinoid 9d16c9c
Similar and Popular projects apis refactored and heartbeat api fixed
prabinoid bf98849
fix: field validator for OrganisationDTO and NewCampaignDTO
kaditya97 0241fb2
fix: black formatting
kaditya97 6e88839
Project and user favorites apis refactored
prabinoid 214d58f
refactor: set user interests
Anuj-Gupta4 1b640c9
refactor: get message
Anuj-Gupta4 2bf5714
refactor: get all notifications with filters
Anuj-Gupta4 04c437c
refactor: unread message count
Anuj-Gupta4 e0a375f
refactor: mark messages as read
Anuj-Gupta4 b42e094
refactor: delete messages
Anuj-Gupta4 ac34c0b
refactor: update notification time
Anuj-Gupta4 a2751d4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 33d126b
refactor: get user(s)
Anuj-Gupta4 37ed3d3
refactor: query users
Anuj-Gupta4 757d669
Tasks meta data api refactored
prabinoid 6bfd42b
Lock task for mapping and its functions refactored
prabinoid c8dfd1b
fix: system and related api's migration
kaditya97 c393908
fix: black errors
kaditya97 a48dc8a
fix: black erros
kaditya97 07856ac
fix: issues api's
kaditya97 c9652c6
fix: field validator for OrganisationDTO and NewCampaignDTO
kaditya97 2fd8a6d
fix: black formatting
kaditya97 7896b5d
refactor: set user interests
Anuj-Gupta4 64b49c0
refactor: get message
Anuj-Gupta4 0b5788a
refactor: get all notifications with filters
Anuj-Gupta4 ce4b0bf
refactor: mark messages as read
Anuj-Gupta4 293c98f
refactor: delete messages
Anuj-Gupta4 3f3b80d
refactor: update notification time
Anuj-Gupta4 d054a15
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3d5cea6
refactor: get user(s)
Anuj-Gupta4 96d17bf
refactor: query users
Anuj-Gupta4 4875211
Tasks meta data api refactored
prabinoid d84f624
Lock task for mapping and its functions refactored
prabinoid f284fae
fix: system and related api's migration
kaditya97 b67a063
fix: black errors
kaditya97 4f15895
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b94d0a7
fix: team api's
kaditya97 bc4b824
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 324c5bc
Invalidate all and lock a task for mapping refactored
prabinoid 49ed76b
Unlock task for mapping and related stats utils refactored
prabinoid 7bfb5fe
Lock task for validation refactored
prabinoid ae6c1ea
Unlock task after validation refactored
prabinoid 16a824a
fix: precommit changes
kaditya97 30a2b5b
fix: sonarcloud suggestion
kaditya97 36a8b38
Stop task validation refactored
prabinoid 245b113
Stop mapping task refactored
prabinoid 89f4210
Task undo last action refactored
prabinoid 46f7962
Map all tasks, Validate all tasks and Reset all tasks refactored
prabinoid 68c2906
fix: project post requests
kaditya97 9ceb89c
fix: user action and related api's
kaditya97 de60da9
Extend task lock duration and Revert user action from task refactored
prabinoid 8ac40b0
Split task api and related methods refactored
prabinoid ba79d6e
fix: user tasks api
kaditya97 6dbffdc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cbe838a
Project tasks gpx and xml export
prabinoid a1c07bf
fix: project post api
kaditya97 2bfe370
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6575c13
fix: Project action filter and user stats
prabinoid a7869f4
JSONResponse handling and cleanups
prabinoid 21d41ab
fix project filters
prabinoid 6b73668
Fix project responses and filters
prabinoid d1d16bb
fix project info dto
prabinoid aa14ae8
fix project teams patch
prabinoid 217cd91
Project patch fixed and dtos refactored
prabinoid b7b0b87
Bulk action being applied for all tasks fixed, due date exception hanβ¦
prabinoid b481747
All messages, organisation retrieve and task activities fixes
prabinoid 6e9609e
Project and notification duplication handled, organisation teams and β¦
prabinoid fb7d0bd
Messages, teams, comments, notification modules and project filters aβ¦
prabinoid 14a3b96
Teams managers and members assignment and retrieve query fixed
prabinoid 91771c1
Task dto last updated attribute made timezone aware and add teams by β¦
prabinoid f0fd183
Project clone and transfer project ownership refactored
prabinoid 637a216
Added root validator for project info dto
prabinoid eba8a2c
Split task url and geom fixed
prabinoid 5e5ae60
Project, organisation teams deletion and other fixes
prabinoid 28488aa
Http exception handler in the app for token expiration handling
prabinoid 6b13f3a
Register user, retrieve org by id and slug and user interests refactored
prabinoid ca22a59
feat(backend): Timestamps made utcnow and serialization done with utcβ¦
prabinoid cbeafb7
fix: Join team by request
prabinoid d05f3fe
Task and project card last contributions fixed and list dto for projeβ¦
prabinoid 4250fd4
fix: Project search and deletion.
prabinoid 3f2c2bb
fix: clear priority areas, send message after validation, project comβ¦
prabinoid 8992504
fix: Update teams and formatting
prabinoid d1b33bf
* Team messaging background task,
prabinoid 982d1ac
fix: Invalid token exception in TokenAuthBackend
prabinoid 8f26578
* Send message to contributors and background task.
prabinoid 3ecfc1b
Revert user task fixed and get latest task activity now returns distiβ¦
prabinoid 439ec94
* Send message after comment, parse usernames and mentions.
prabinoid 761db17
* Rebased against develop.
prabinoid ad4011f
Remove db connection dependency in routers
prabinoid 9b7e089
* Concurrent task validation using asyncio gather
prabinoid fbacdc5
fix: Recommended projects, my tasks in my contrib section and cleanups
prabinoid b7259cc
* Asyncio cron job scheduler set up.
prabinoid 280522a
Aoi, tasks and project non geometries exports and cleanups
prabinoid 0bf2ace
Remove atomic transaction from concurrent task execution
prabinoid 105129d
fix: Tasks added to cloned projects
prabinoid fd9292b
* Export projects as csv
prabinoid 9bb5f86
Private projects filters fixed and author names in list view and csv β¦
prabinoid 4191fc5
Task statistics and filters refactored
prabinoid 0315800
init: locustfile added
mahesh-naxa 58c4851
Locust and compose files for performance bench marking and its setup β¦
prabinoid 1d1c353
* Organisation statistics.
prabinoid fd4a8c8
User statistics refactored.
prabinoid 7579887
refactor: cron job for auto unlock task.
prabinoid 2989a7d
User statistics query results cast to int
prabinoid 07ca6b7
Remove sqlalchemy db configs
prabinoid 3bd0363
feat: Cron jobs updated for stats update and validator service exceptβ¦
prabinoid fdcab7e
fix: update aws-actions/amazon-ecs-deploy-task-definition to v2
nischalstha9 3ba8cd0
* Team membership and permission fixed for projects.
prabinoid 6fcc416
project to map and validate sorting zero division case handled
prabinoid 618eae8
* Rebase against develop
prabinoid 1197601
pm only dependency function and injection in the required functions
prabinoid 98b2bb3
Merge pull request #6701 from hotosm/fastapi-refactor
prabinoid 1921714
interests and license deletion message and cron service
prabinoid 6eb2efb
Merge pull request #6713 from hotosm/fastapi-refactor
prabinoid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,3 +68,4 @@ htmlcov/ | |
|
||
# Docker & Docker compose | ||
docker-compose.override.yml | ||
postgres_data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Small thing, but it might be worth updating pdm to 2.18.1 here to avoid downgrading on merge