Skip to content

Commit fba1803

Browse files
committed
Increase version to 503 – for web-app V7.5.3
1 parent 8117b57 commit fba1803

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## Unreleased
88

9+
## 1.1.503
10+
11+
### Added
12+
- Nicer Admin page for user list
13+
- Add missing translation trigger for Ops learning
14+
- Customize helm
15+
- Add filters to District and Admin2 pages
16+
- Simplify OpsLearning Admin validation check
17+
- Fix dtype issue and summary parsing issue
18+
- Use psql-15 for local dev
19+
- Reverse creation order in SitReps listing
20+
- Remove IFRC_TRANSLATION_GET_API_KEY
21+
- Add environment variables for operation learning in helm chart
22+
- Change the scraping logic for icrc ingestion
23+
- Update urban considerations for component 16 and 17
24+
- Add merge migration Add Translation for excerpts, title and summary
25+
- Change the format for CSV file.
26+
- Upgrade to python 3.11
27+
- Azure handling the proper way
28+
- New translation api
29+
- Not allow data images to be pasted to rich text
30+
- Skip non-working ns_initiatives endpoints
31+
932
## 1.1.502
1033

1134
### Added
@@ -2497,7 +2520,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
24972520

24982521
## 0.1.20
24992522

2500-
[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.502...HEAD
2523+
[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.503...HEAD
2524+
[1.1.503]: https://github.com/IFRCGo/go-api/compare/1.1.502...1.1.503
25012525
[1.1.502]: https://github.com/IFRCGo/go-api/compare/1.1.501...1.1.502
25022526
[1.1.501]: https://github.com/IFRCGo/go-api/compare/1.1.500...1.1.501
25032527
[1.1.500]: https://github.com/IFRCGo/go-api/compare/1.1.499...1.1.500

api/admin.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ class ProfileInline(admin.StackedInline):
3737

3838

3939
class GoUserAdmin(UserAdmin):
40+
41+
@admin.display(description=_("name"))
42+
def name(self, obj):
43+
return obj.first_name + " " + obj.last_name
44+
4045
inlines = (ProfileInline,)
4146
list_filter = (
4247
("profile__country__region", RelatedDropdownFilter),
@@ -46,6 +51,7 @@ class GoUserAdmin(UserAdmin):
4651
"is_superuser",
4752
"is_active",
4853
)
54+
list_display = ("username", "email", "name", "is_active", "is_staff")
4955

5056
def get_inline_instances(self, request, obj=None):
5157
if not obj:
@@ -617,7 +623,7 @@ def queryset(self, request, queryset):
617623

618624

619625
class CountryIsDeprecatedFilter1(IsDeprecatedFilter):
620-
title = "Country deprecated"
626+
title = "Country is deprecated"
621627
parameter_name = "admin1__country__is_deprecated"
622628

623629
def queryset(self, request, queryset):
@@ -696,7 +702,7 @@ class RegionAdmin(geoadmin.OSMGeoAdmin, CompareVersionAdmin, RegionRestrictedAdm
696702

697703

698704
class Admin1IsDeprecatedFilter(IsDeprecatedFilter):
699-
title = "Admin1 deprecated"
705+
title = "Admin1 is deprecated"
700706
parameter_name = "admin1__is_deprecated"
701707

702708
def queryset(self, request, queryset):
@@ -706,7 +712,7 @@ def queryset(self, request, queryset):
706712

707713

708714
class CountryIsDeprecatedFilter2(IsDeprecatedFilter):
709-
title = "Country deprecated"
715+
title = "Country is deprecated"
710716
parameter_name = "admin1__country__is_deprecated"
711717

712718
def queryset(self, request, queryset):

main/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from .celery import app as celery_app
44

55
__all__ = ["celery_app"]
6-
__version__ = "1.1.502"
6+
__version__ = "1.1.503"

0 commit comments

Comments
 (0)