Skip to content
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

Program REST - List, GPF List, Detail, Delete #4680

Merged
merged 53 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1e715e6
initial commit
pkujawa Mar 12, 2025
93fc314
add rest programs table
Mar 12, 2025
2e99cfb
fix fetching permissions
Mar 12, 2025
dea9072
program details query replace with rest
Mar 13, 2025
a147b42
uncomment code in program details
Mar 13, 2025
959a47b
replace all programs form in new report
Mar 13, 2025
da73fb1
Merge branch 'rest/household' into rest/program
pkujawa Mar 14, 2025
e6752a6
add program viewset logic, serializers and queryset, just in case
pkujawa Mar 14, 2025
8de4b2d
fix business_area filter required in program
pkujawa Mar 14, 2025
8edf7be
adjust types and urls after backend changes
Mar 14, 2025
a218c45
beneficiary groups fixes
Mar 14, 2025
a8f7ca9
fix build lint test
Mar 14, 2025
287cb26
delete unnecessary business_area filter from program filter
pkujawa Mar 14, 2025
ec58f09
add delete action to program viewset
pkujawa Mar 14, 2025
cd83a84
add tests for program and program filtering, create separate filter i…
pkujawa Mar 15, 2025
516b535
test and fix household viewset filters
pkujawa Mar 17, 2025
29926bd
fix the existibng filter number_of_households_with_tp_in_program and …
pkujawa Mar 17, 2025
5618495
cleanup household filter
pkujawa Mar 17, 2025
b2d7ae4
add deleteProgram mutation
Mar 17, 2025
de90869
fix gpf?
Mar 17, 2025
e9595f7
Merge branch 'long-term/rest-api-refactor' into rest/program
Mar 17, 2025
fa2cbeb
beneficiaryGroupMatch, compatibleDct fix
Mar 17, 2025
46877f1
add tests for filter_number_of_households_with_tp_in_program
pkujawa Mar 18, 2025
526e53f
add program list caching, signal for program list version in business…
pkujawa Mar 18, 2025
fe26e94
Merge branch 'long-term/rest-api-refactor' into rest/program
pkujawa Mar 18, 2025
30847ff
add permission for beneficiary group
pkujawa Mar 18, 2025
b244bf5
fix beneficiary group tests
pkujawa Mar 18, 2025
ea3ce20
update permissions requried for view payment list that was updated re…
pkujawa Mar 18, 2025
9c6d920
format
pkujawa Mar 18, 2025
8936944
Merge branch 'long-term/rest-api-refactor' into rest/program
Mar 18, 2025
946480e
remove meloading appbar
Mar 19, 2025
168a5a3
add validation for selecting Partner for user in admin
pkujawa Mar 19, 2025
33ef323
add tests for search of household
pkujawa Mar 19, 2025
764543d
take perm from view
pkujawa Mar 19, 2025
383e379
Merge branch 'long-term/rest-api-refactor' into rest/program
pkujawa Mar 19, 2025
e455990
fix typing
pkujawa Mar 19, 2025
5746287
remove household query grapqhl test
pkujawa Mar 19, 2025
f444be1
remove watch all options from test in ci.yml workflow
Mar 19, 2025
17a5d08
CountActionMmixin
pkujawa Mar 19, 2025
4fb8d8c
add swagger schema for count action, add filtering by encoded areas i…
pkujawa Mar 19, 2025
b0328e1
remove program graphql test
pkujawa Mar 19, 2025
9fc534b
update program fixture to avoid non-unique programme code and random …
pkujawa Mar 19, 2025
d3b26ba
apply also to RealProgramfactory
pkujawa Mar 19, 2025
4dac1fb
remove graphql tests for household query
pkujawa Mar 19, 2025
f7fddc1
upd no queries in test
pkujawa Mar 19, 2025
e47c240
api client update
pkujawa Mar 20, 2025
735ddd8
fix programs table
Mar 20, 2025
cdf499e
fix lint
Mar 20, 2025
b6dc8b0
update tests for caching
pkujawa Mar 20, 2025
1b3c81b
add tests for program detail view
pkujawa Mar 20, 2025
e62bf3f
add more coverage, skip unnecessary checks
pkujawa Mar 20, 2025
a7da0be
change for rest validation error only for rest
pkujawa Mar 20, 2025
3aa1eb6
del graphql test for delete program
pkujawa Mar 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete unnecessary business_area filter from program filter
pkujawa committed Mar 17, 2025
commit 287cb264b7d3f6fa995ece7d5ac9b9fdbf2653d3
1 change: 0 additions & 1 deletion src/hct_mis_api/apps/program/filters.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@


class ProgramFilter(FilterSet):
business_area = CharFilter(field_name="business_area__slug")
search = CharFilter(method="search_filter")
status = MultipleChoiceFilter(field_name="status", choices=Program.STATUS_CHOICE)
sector = MultipleChoiceFilter(field_name="sector", choices=Program.SECTOR_CHOICE)