Skip to content

Conversation

@OsamaRagab520
Copy link
Contributor

No description provided.

@OsamaRagab520 OsamaRagab520 requested a review from oyasr May 10, 2022 19:23
@OsamaRagab520 OsamaRagab520 merged commit c1e5893 into dev May 10, 2022
OsamaRagab520 added a commit that referenced this pull request May 15, 2022
* chore: crete auth app

* chore: add auth to installed apps

* chore: add .vscode to gitignore

* feat: create initial user model

* chore: create locations app

* feat: create initial locations models

* feat: add govs and cities data

* feat: add gov-city db population service

* feat: add user create service

* refactor: move auth app inside api/

* feat: Implement Case model

* feat: Implement Case services

* fix: add cases app to local apps

* fix: locations typo

* fix: add api namespace to app names

* fix: rquirements typo

* fix: circular import

* feat: add location attribute to case model

* fix: admin page typo

* feat: initial database migration

* feat: add cases app models to admin site

* feat: add locations app models to admin site

* chore: update requirements folder

* fix: json paths

* feat: add governorate list selector

* chore: add dj-rest-auth lib

* fix: add None as default value for lon & lat

* fix: add firebase token to create user service

* feat: implement user registration

* chore: rename auth app to authentication

* fix: RegisterSerializer fields

* fix: location clean logic

* fix: modify address to accpet null

* feat: create custom error handler

* fix: update token auth

* feat: implement user registration

* refactor: create_location service

* refactor: migrate to simpleJWT

* fix: CreateUserApi

* fix: circural referance

* chore: apply new model migrations

* fix: remove dj-rest-auth from installed apps

* feat: add common tools

* refactor: case services

* feat: add custom permissions

* refactor: CaseDetails model

* refactor: case services

* feat: implement case create view

* feat: s3 direct upload

* feat: implement user detail view

* feat: implement user update view

* feat: implement update location service

* refactor: update user location in place

* refactor: make urls for each app

* fix: api namespace collision

* test: user model test cases

* feat: implement DetailCaseApi

* fix: append api namespace to apis url

* feat: implement CaseListApi

* chore: run jobs on dev PR & commits

* MAFQUD-208 : notification system (#20)

* feat: create initial notification model

* chore: create initial notification migration

* feat: add notificaions in admin site

* feat: implement notification services

* feat: implement notification list api

* feat: create fcm device on user create

* fix: user reference to object instead of class

* fix: remove api level permission

* feat: make notifications model migration

* fix: make fcm token required

* fix: linting whitespaces

* fix: add fcm token field in tests

* MAFQUD-206 : phone validation (#21)

* feat: implement validate phone/email apis

* refactor: move validators in api.common app

* fix: remove email validation

* MAFQUD-207 : Refactor services (#22)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* MAFQUD-205 : Write list case matches Endpoint (#26)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* MAFQUD-210: national id (#27)

* feat: add national id field in user model

* feat: create set national id api

* Final tweaks (#30)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* feat: write locations app endpoints

* fix: minor changes to notifications app

* feat: write endpoint for list user cases

* feat: write endpoint for pulishing a case & few updates

* chore: disable push notification & hot fixes

* chore: integrate files into cases instead of urls

Co-authored-by: root <root@Legion.localdomain>
Co-authored-by: Osama Yasser <osamayasserr@gmail.com>
@OsamaRagab520 OsamaRagab520 deleted the MAFQUD-205-list-case-matches branch May 16, 2022 00:13
OsamaRagab520 added a commit that referenced this pull request May 21, 2022
* chore: crete auth app

* chore: add auth to installed apps

* chore: add .vscode to gitignore

* feat: create initial user model

* chore: create locations app

* feat: create initial locations models

* feat: add govs and cities data

* feat: add gov-city db population service

* feat: add user create service

* refactor: move auth app inside api/

* feat: Implement Case model

* feat: Implement Case services

* fix: add cases app to local apps

* fix: locations typo

* fix: add api namespace to app names

* fix: rquirements typo

* fix: circular import

* feat: add location attribute to case model

* fix: admin page typo

* feat: initial database migration

* feat: add cases app models to admin site

* feat: add locations app models to admin site

* chore: update requirements folder

* fix: json paths

* feat: add governorate list selector

* chore: add dj-rest-auth lib

* fix: add None as default value for lon & lat

* fix: add firebase token to create user service

* feat: implement user registration

* chore: rename auth app to authentication

* fix: RegisterSerializer fields

* fix: location clean logic

* fix: modify address to accpet null

* feat: create custom error handler

* fix: update token auth

* feat: implement user registration

* refactor: create_location service

* refactor: migrate to simpleJWT

* fix: CreateUserApi

* fix: circural referance

* chore: apply new model migrations

* fix: remove dj-rest-auth from installed apps

* feat: add common tools

* refactor: case services

* feat: add custom permissions

* refactor: CaseDetails model

* refactor: case services

* feat: implement case create view

* feat: s3 direct upload

* feat: implement user detail view

* feat: implement user update view

* feat: implement update location service

* refactor: update user location in place

* refactor: make urls for each app

* fix: api namespace collision

* test: user model test cases

* feat: implement DetailCaseApi

* fix: append api namespace to apis url

* feat: implement CaseListApi

* chore: run jobs on dev PR & commits

* MAFQUD-208 : notification system (#20)

* feat: create initial notification model

* chore: create initial notification migration

* feat: add notificaions in admin site

* feat: implement notification services

* feat: implement notification list api

* feat: create fcm device on user create

* fix: user reference to object instead of class

* fix: remove api level permission

* feat: make notifications model migration

* fix: make fcm token required

* fix: linting whitespaces

* fix: add fcm token field in tests

* MAFQUD-206 : phone validation (#21)

* feat: implement validate phone/email apis

* refactor: move validators in api.common app

* fix: remove email validation

* MAFQUD-207 : Refactor services (#22)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* MAFQUD-205 : Write list case matches Endpoint (#26)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* MAFQUD-210: national id (#27)

* feat: add national id field in user model

* feat: create set national id api

* Final tweaks (#30)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* feat: write locations app endpoints

* fix: minor changes to notifications app

* feat: write endpoint for list user cases

* feat: write endpoint for pulishing a case & few updates

* chore: disable push notification & hot fixes

* chore: integrate files into cases instead of urls

* chore: apply clean migrations

* chore: update app base settings

* fix: minor cases app bugs

* feat: pack user info in the token

* chore: use firebase_token as the id for fcm device

* chore: disable unnessary urls

Co-authored-by: root <root@Legion.localdomain>
Co-authored-by: Osama Yasser <osamayasserr@gmail.com>
OsamaRagab520 added a commit that referenced this pull request Jul 20, 2022
* chore: crete auth app

* chore: add auth to installed apps

* chore: add .vscode to gitignore

* feat: create initial user model

* chore: create locations app

* feat: create initial locations models

* feat: add govs and cities data

* feat: add gov-city db population service

* feat: add user create service

* refactor: move auth app inside api/

* feat: Implement Case model

* feat: Implement Case services

* fix: add cases app to local apps

* fix: locations typo

* fix: add api namespace to app names

* fix: rquirements typo

* fix: circular import

* feat: add location attribute to case model

* fix: admin page typo

* feat: initial database migration

* feat: add cases app models to admin site

* feat: add locations app models to admin site

* chore: update requirements folder

* fix: json paths

* feat: add governorate list selector

* chore: add dj-rest-auth lib

* fix: add None as default value for lon & lat

* fix: add firebase token to create user service

* feat: implement user registration

* chore: rename auth app to authentication

* fix: RegisterSerializer fields

* fix: location clean logic

* fix: modify address to accpet null

* feat: create custom error handler

* fix: update token auth

* feat: implement user registration

* refactor: create_location service

* refactor: migrate to simpleJWT

* fix: CreateUserApi

* fix: circural referance

* chore: apply new model migrations

* fix: remove dj-rest-auth from installed apps

* feat: add common tools

* refactor: case services

* feat: add custom permissions

* refactor: CaseDetails model

* refactor: case services

* feat: implement case create view

* feat: s3 direct upload

* feat: implement user detail view

* feat: implement user update view

* feat: implement update location service

* refactor: update user location in place

* refactor: make urls for each app

* fix: api namespace collision

* test: user model test cases

* feat: implement DetailCaseApi

* fix: append api namespace to apis url

* feat: implement CaseListApi

* chore: run jobs on dev PR & commits

* MAFQUD-208 : notification system (#20)

* feat: create initial notification model

* chore: create initial notification migration

* feat: add notificaions in admin site

* feat: implement notification services

* feat: implement notification list api

* feat: create fcm device on user create

* fix: user reference to object instead of class

* fix: remove api level permission

* feat: make notifications model migration

* fix: make fcm token required

* fix: linting whitespaces

* fix: add fcm token field in tests

* MAFQUD-206 : phone validation (#21)

* feat: implement validate phone/email apis

* refactor: move validators in api.common app

* fix: remove email validation

* MAFQUD-207 : Refactor services (#22)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* MAFQUD-205 : Write list case matches Endpoint (#26)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* MAFQUD-210: national id (#27)

* feat: add national id field in user model

* feat: create set national id api

* Final tweaks (#30)

* refactor: cases app

* refactor: users app

* refactor: locations app

* refactor: make firebase_token essential field

* chore: liniting

* update user service test

* feat: create CaseMatchApi endpoint

* fix: pass user to list_case_match selector

* bugfix

* feat: write locations app endpoints

* fix: minor changes to notifications app

* feat: write endpoint for list user cases

* feat: write endpoint for pulishing a case & few updates

* chore: disable push notification & hot fixes

* chore: integrate files into cases instead of urls

* chore: apply clean migrations

* chore: update app base settings

* fix: minor cases app bugs

* feat: pack user info in the token

* chore: use firebase_token as the id for fcm device

* chore: disable unnessary urls

* chore: delete unnssary authentication classes and configure jwt life time

* chore: move UserCasesListApi to cases app instead of users
feat: switch to PageNumberPagination instead of LimitOffsetPagination

* chore: nest locations responses

* chore: change pagination style & add case & action field to notification model

* chore: update notification serializer

* feat: write case contacts model

* chore: make database migration

* feat: implement create and update case contacts

* chore: change pagnition style

* chore production settings

* feat: add two new notifications

* fix: update aws signature version to v4

* fix: increase the expiration time of aws presigned url to 5 mins

* feat: update case'name filter (#72)

* feat: activate push notifications

* feat: add case state update endpoints (#81)

* Mafqud-69: containerize and deploy AI model (#121)

* chore: add ai model code & pre built models

* feat: integrate ai model

* chore: add model dependencies

* chore: add ml requirements

* chore: upgrade pip on image build

* activate model integration

Co-authored-by: Osama Yasser <osamayasserr@gmail.com>

Co-authored-by: root <root@Legion.localdomain>
Co-authored-by: Osama Yasser <osamayasserr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants