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

Future/v4.0 #4224

Open
wants to merge 759 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
759 commits
Select commit Hold shift + click to select a range
3bc6a61
fix merge issues
jdeanquin-dg Oct 26, 2023
16ea465
GGW-121 fixed create indicator error
timothygachengo Oct 31, 2023
9d30821
Merge pull request #4152 from devgateway/task/GGW-121/fix-me-admin
jdeanquin-dg Oct 31, 2023
9cb93a6
GGW-123 - fix error when we save an activity with indicator and values
drossi-dg Nov 1, 2023
153f1f7
Merge pull request #4153 from devgateway/fix/GGW-123/fix-error-when-w…
jdeanquin-dg Nov 1, 2023
9ac6e3d
GGW-127 - Exception in organization manager
drossi-dg Nov 2, 2023
1d8157f
Merge pull request #4154 from devgateway/bug/GGW-127/Exception-in-org…
lilitk Nov 3, 2023
55adb4e
GGW-128 - Cannot add org code from organizaction manager
drossi-dg Nov 3, 2023
4dfcc00
GGW-130- cannot change organisation
mokandubrian Nov 6, 2023
af0c66d
GGW-130- cannot change organisation
mokandubrian Nov 6, 2023
bbae958
GGW-130- cannot change organisation
mokandubrian Nov 6, 2023
9f7c98a
Merge pull request #4157 from devgateway/fix/GGW-funding-issue
jdeanquin-dg Nov 6, 2023
61427c5
GGW-122 add search params to URL
timothygachengo Nov 6, 2023
732dc59
GGW-130- cannot change organisation
mokandubrian Nov 6, 2023
0f9c47f
GGW-130- cannot delete contact
mokandubrian Nov 6, 2023
5759eed
GGW-134- cannot delete contact
mokandubrian Nov 6, 2023
b352078
Merge pull request #4158 from devgateway/fix/GGW-contacts-issue
lilitk Nov 7, 2023
5f13f64
GGW-122 fix report generator url params
timothygachengo Nov 7, 2023
318d4c4
GGW-116 sending to amp dashboard server
dynamodenis Nov 9, 2023
d1ade9e
Merge branch 'develop' into ggw/merge_develop
jdeanquin-dg Nov 9, 2023
876ae95
Merge pull request #4163 from devgateway/ggw/merge_develop
brianbrix Nov 9, 2023
69bcf75
Revert "Ggw/merge develop"
jdeanquin-dg Nov 9, 2023
e57f418
Merge pull request #4164 from devgateway/revert-4163-ggw/merge_develop
jdeanquin-dg Nov 9, 2023
34607d8
Revert "Revert "Ggw/merge develop""
jdeanquin-dg Nov 9, 2023
356a265
fix merge
jdeanquin-dg Nov 9, 2023
f8a0c8c
Merge pull request #4165 from devgateway/revert-4164-revert-4163-ggw/…
jdeanquin-dg Nov 9, 2023
e94524d
Merge pull request #4159 from devgateway/task/GGW-122/fix-report-gene…
jdeanquin-dg Nov 13, 2023
d6dac2a
GGW-9 make AF MultiCountry
jdeanquin-dg Nov 14, 2023
bc2cdae
AMP-30723 - Fix Add patch and save to DB
mokandubrian Nov 15, 2023
ac5664e
Merge pull request #4172 from devgateway/fix/v4.0-patcher_fix
jdeanquin-dg Nov 15, 2023
0c42f2b
GGW-147 fix when country and not selecting default country
jdeanquin-dg Nov 15, 2023
c475cdc
GGW-145 When you set Regional, Search location dropdown is lost
jdeanquin-dg Nov 16, 2023
4defdfb
Merge pull request #4095 from devgateway/feature/AMP-30620/migrate-sp…
jdeanquin-dg Nov 16, 2023
2a9bd10
Merge branch 'future/v4.0' into task/merge-futureintoGGW
jdeanquin-dg Nov 16, 2023
5461698
Merge pull request #4174 from devgateway/task/merge-futureintoGGW
jdeanquin-dg Nov 16, 2023
7654b34
Merge pull request #4171 from devgateway/GGW-9/activity-form-multilin…
jdeanquin-dg Nov 16, 2023
2ce870c
GGW-148 fix connection leak
jdeanquin-dg Nov 16, 2023
6eaafdc
Merge pull request #4175 from devgateway/bug/GGW-148/fix-connection-leak
brianbrix Nov 17, 2023
03c6d16
GGW-148 fix leaks by reverting
jdeanquin-dg Nov 17, 2023
3dd6b9b
Merge pull request #4178 from devgateway/bug/GGW-148/fix-connection-leak
jdeanquin-dg Nov 17, 2023
a069355
GGW-149 fixed filters and settings in report generator
timothygachengo Nov 21, 2023
ab3ca59
GGW-149 change jsx ts
timothygachengo Nov 21, 2023
35bb7e7
GGW-149 fixed eslint in user manager
timothygachengo Nov 21, 2023
be92409
GGW-149 fix filters
timothygachengo Nov 21, 2023
727eab0
GGW 150 prevent double clicking while saving as draft
jdeanquin-dg Nov 21, 2023
8472abe
Merge pull request #4181 from devgateway/task/GGW-149/fix-filters-and…
jdeanquin-dg Nov 21, 2023
eec1755
GGW 150 prevent double clicking while saving as draft
jdeanquin-dg Nov 21, 2023
688f46b
GGW-151 preview not loads
jdeanquin-dg Nov 21, 2023
fbb7424
GGW-143 added country and disbursment
dynamodenis Nov 22, 2023
59bfaab
Merge pull request #4182 from devgateway/task/GGW-150/multiple-save-a…
lilitk Nov 22, 2023
948c185
Merge pull request #4183 from devgateway/task/GGW-151/preview-not-loads
jdeanquin-dg Nov 22, 2023
4c5f28b
GGW-143 country implimentation level
dynamodenis Nov 23, 2023
94c29c4
GGW-143 updated implimentation level
dynamodenis Nov 26, 2023
9ef1265
GGW-143 added status
dynamodenis Nov 27, 2023
f00e74c
GGW-143 added currency
dynamodenis Nov 27, 2023
9d1fd86
GGW-143 updated funding job
dynamodenis Nov 28, 2023
5485476
GGW-143 testing reports
dynamodenis Nov 28, 2023
a0a6f10
GGW-157
brianbrix Nov 30, 2023
b6cf87e
GGW-157
brianbrix Nov 30, 2023
cf3bf25
GGW-143 dashboard url added to settings
dynamodenis Dec 1, 2023
0b23019
Merge pull request #4185 from devgateway/fix/GGW-157-activity
jdeanquin-dg Dec 1, 2023
34d1f5a
GGW-143 code cleanup
dynamodenis Dec 4, 2023
06a4222
Merge branch 'future/GGW' into task/GGW-143/amp-dashboart-reports-dat…
dynamodenis Dec 4, 2023
179b5dd
Merge pull request #4155 from devgateway/bug/GGW-128/cannot-add-org-c…
lilitk Dec 5, 2023
8336f27
GGW-155 filter indicators with activity program
dynamodenis Dec 6, 2023
4612561
GGW-157
brianbrix Dec 7, 2023
90d4967
GGW-155 updated the error when adding new project
dynamodenis Dec 8, 2023
d46ebeb
GGW-162 added indicator manager to the admin section
timothygachengo Dec 8, 2023
b61b081
AMP - Random fix for null pointer in Report settings
brianbrix Dec 11, 2023
d7d7520
AMP - Random fix for null pointer in Report settings
brianbrix Dec 11, 2023
e213a36
Merge pull request #4193 from devgateway/fix/v4.0-report-nullpointer
jdeanquin-dg Dec 11, 2023
88c093c
GGW-143 rearrange the code
jdeanquin-dg Dec 13, 2023
d8be1df
Merge pull request #4191 from devgateway/fix/GGW-location
jdeanquin-dg Dec 13, 2023
cd14843
GGW-143 revert code
jdeanquin-dg Dec 13, 2023
a3280fc
GGW-143 optimize code. split by currency
jdeanquin-dg Dec 13, 2023
f69846a
Merge pull request #4187 from devgateway/task/GGW-143/amp-dashboart-r…
jdeanquin-dg Dec 13, 2023
b37599d
Merge remote-tracking branch 'origin/future/v4.0' into future/GGW
jdeanquin-dg Dec 13, 2023
c4eda78
GGW-162 fix indicator manager UI and added replaced old UI
timothygachengo Dec 14, 2023
04bb9b8
GGW-162 added filters to the indicator table
timothygachengo Dec 14, 2023
d5e4234
Merge branch 'future/GGW' into task/GGW-162/indicator-manager-changes
timothygachengo Dec 14, 2023
45b42a8
GGW-162 fix date parser
timothygachengo Dec 15, 2023
32be42b
GGW-162 removed console statements
timothygachengo Dec 15, 2023
31b47bf
GGW-162 created category value API and added to create indicator form
timothygachengo Dec 19, 2023
c5eccfe
GGW-162 fix edit indicator form
timothygachengo Dec 20, 2023
d5693ec
GGW-162 fix edit indicator form
timothygachengo Dec 20, 2023
86f17c6
GGW-162 remove console statements
timothygachengo Dec 20, 2023
7482ca7
GGW-162 remove debug.log
timothygachengo Dec 22, 2023
2df11d5
Merge branch 'future/GGW' into task/GGW-155--filter-indicators-with-a…
jdeanquin-dg Dec 26, 2023
2bbc3ae
GGW-182 fix concurrency in set.
jdeanquin-dg Dec 26, 2023
b3bf230
GGW-183 refresh after selection
jdeanquin-dg Dec 26, 2023
9923bcc
GGW-186 fix No Page found for component [AmpDeleteLinkField [Componen…
jdeanquin-dg Dec 26, 2023
750139f
Merge pull request #4190 from devgateway/task/GGW-155--filter-indicat…
lilitk Dec 26, 2023
4632337
GGW-177 fix colour for pillars and added baselines and target
timothygachengo Dec 28, 2023
0f61f33
GGW-180 added translations for error messages
timothygachengo Dec 28, 2023
65e8fae
GGW-178 fix sectors default values
timothygachengo Dec 29, 2023
c20d8e6
GGW-176 prevent create indicator when not logged in
timothygachengo Jan 2, 2024
5db0fde
Merge pull request #4197 from devgateway/task/GGW-162/indicator-manag…
jdeanquin-dg Jan 2, 2024
1a96dad
Merge pull request #4097 from devgateway/future/GGW
jdeanquin-dg Jan 2, 2024
20f8387
AMP-30613 fixed me dashboard loading and added sectors reducer
timothygachengo Jan 3, 2024
29cd1a6
AMP-30613 created sector dropdown
timothygachengo Jan 3, 2024
e231c05
AMP-30613 created sector classifcation endpoint
timothygachengo Jan 4, 2024
25b4064
AMP-30613 created sector classificationr reducer
timothygachengo Jan 5, 2024
ba6b38c
AMP-30613 add reducer inside startup
timothygachengo Jan 5, 2024
dfda475
AMP-30613 created sector classification dropdown
timothygachengo Jan 5, 2024
c6d1658
AMP-30613 created secondary sector endpoint
timothygachengo Jan 5, 2024
6042f79
AMP-30613 created generic bar chart
timothygachengo Jan 5, 2024
48f85fe
AMP-30613 created util function to generate the chart report
timothygachengo Jan 5, 2024
3856f0b
AMP-30613 added sector progress by funding bar chart
timothygachengo Jan 5, 2024
4fa57a8
AMP-30613 added funding type to sector chart
timothygachengo Jan 8, 2024
641a924
AMP-30613 added indicator by sector endpoint and component
timothygachengo Jan 8, 2024
c2b32cc
AMP-30613 created fetch indicators by classification reducer
timothygachengo Jan 8, 2024
e1662d0
added fetch indicators integration
timothygachengo Jan 8, 2024
0b28433
AMP-30613 created fetch indicators by classification reducer
timothygachengo Jan 8, 2024
229eadb
ANP-30613 created indicator progress chart
timothygachengo Jan 8, 2024
bdf6c31
AMP-30613 created indicator progress chart
timothygachengo Jan 9, 2024
53dcfb8
AMP-30613 fix sector classification loading bar
timothygachengo Jan 9, 2024
46b58fd
AMP-30613 fix indicator manager date formatting
timothygachengo Jan 9, 2024
d995d86
AMP-30613 added custom legend
timothygachengo Jan 9, 2024
c088cbe
AMP-30613 added legend tooltip
timothygachengo Jan 9, 2024
bd57f8d
AMP-30613 created add indicators button
timothygachengo Jan 9, 2024
f48b494
AMP-30613 split reducers for left and right indicator section
timothygachengo Jan 10, 2024
64751d8
AMP-30613 replace charts with component
timothygachengo Jan 10, 2024
6f96f27
AMP-30613 fix ResizeObserver loop
jdeanquin-dg Jan 11, 2024
85f2d58
AMP-30613 fix resize observer error
timothygachengo Jan 15, 2024
c86b8f6
AMP-30613 fix resize observer error
timothygachengo Jan 15, 2024
125a1bc
AMP-30613 fixed inidcator progress chart
timothygachengo Jan 15, 2024
c9a4a03
AMP-30613 fixed indicator by program reducer
timothygachengo Jan 15, 2024
ddc266e
AMP-30613 created link between indicator and theme
timothygachengo Jan 15, 2024
114151d
AMP-30613 fix program grouped by indicator
timothygachengo Jan 15, 2024
0e67645
AMP-30613 fix fetch indicators to fetch independently
timothygachengo Jan 16, 2024
f284100
AMP-30613 fix fetch indicators to fetch independently
timothygachengo Jan 16, 2024
f04c372
AMP-30613 fix fetch indicators to fetch independently
timothygachengo Jan 16, 2024
7194223
AMP-30613 add number of indicators global setting
timothygachengo Jan 16, 2024
c0f2ee0
AMP-30613 add number of indicators global setting to settings API
timothygachengo Jan 16, 2024
7b64b0d
AMP-30613 added value total in the sector chart
timothygachengo Jan 16, 2024
89b4edf
AMP-30613 fix year select dropdown data
timothygachengo Jan 16, 2024
6c3fdb2
AMP-30613 removed deps
timothygachengo Jan 16, 2024
1a5f1fc
AMP-30613 fix ndd dashboard
timothygachengo Jan 16, 2024
8ad8649
AMP-30613 added header text translation
timothygachengo Jan 16, 2024
c17fea2
AMP-30613 fix download charts
timothygachengo Jan 16, 2024
a691327
AMP-30613 fix indicator addition
timothygachengo Jan 16, 2024
2733897
AMP-30613 fix indicator addition
timothygachengo Jan 16, 2024
553af34
AMP-30613 fix filter widget issue
timothygachengo Jan 17, 2024
35420c1
AMP-30613 fixed program grouped by indicator
timothygachengo Jan 17, 2024
c09b32f
GGW-156 make programs endpoint cross origin
jdeanquin-dg Jan 9, 2024
62d99cf
GGW-156 make programs endpoint cross-origin
jdeanquin-dg Jan 9, 2024
cb959f2
GGW-156 make activity status endpoint cross-origin
jdeanquin-dg Jan 15, 2024
c9792ba
Merge pull request #4225 from devgateway/task/AMP-30400/back-port-portal
jdeanquin-dg Jan 22, 2024
04bf07a
AMP-30799 fixed date format issue for base and target values
timothygachengo Feb 12, 2024
3af11e8
GGW-222 point reampv2 apps to new urls
timothygachengo Feb 6, 2024
c3bbb17
AMP-30797 fixed program configuration reducer to prevent ndd crash
timothygachengo Feb 12, 2024
87e2b70
AMP-30800 fix show chart values in M&E
timothygachengo Feb 13, 2024
55cdc10
AMP-30809 fix gauge value if current exeeds the target value
timothygachengo Feb 13, 2024
b7e7fed
AMP-30809 code cleanup
timothygachengo Feb 14, 2024
e698ea4
AMP-30811 fix line chart axis
timothygachengo Feb 14, 2024
588937d
AMP-30811 fixed x axis on line chart
timothygachengo Feb 14, 2024
8c65904
AMP-30796 remove loading when indicator is not available
timothygachengo Feb 14, 2024
3ab2e5d
AMP-30803 ordered dropdowns in M&E and indicator manager
timothygachengo Feb 15, 2024
55c2445
AMP-30801 shortened indicator dropdown
timothygachengo Feb 16, 2024
04b6244
AMP-30801 fixed service worker url
timothygachengo Feb 16, 2024
df79195
AMP-30801 disable service worker
timothygachengo Feb 16, 2024
1f67b14
AMP-30802 added column titles
timothygachengo Feb 19, 2024
d515ef2
AMP-30804 added year value
timothygachengo Feb 19, 2024
aa30358
AMP-30801 fix design issues
timothygachengo Feb 19, 2024
9af4a1f
AMP-30817 fix 404 error
timothygachengo Feb 19, 2024
78800dd
AMP-30804 remove radio button
timothygachengo Feb 19, 2024
1dc19a9
AMP-30798 fix filter design issue
timothygachengo Feb 19, 2024
c138e6e
AMP-30825 fix sector schemes
timothygachengo Feb 22, 2024
f3ad1dc
AMP-30819 fix y axis values for line chart
timothygachengo Feb 22, 2024
5f481da
AMP-30818 fix gauge chart issue
timothygachengo Feb 22, 2024
e0ae71f
AMP-30824 fix program configuration when saving
timothygachengo Feb 23, 2024
f2a3896
AMP-30823 fix indicator dates
timothygachengo Feb 23, 2024
9185fde
AMP-30817
timothygachengo Feb 23, 2024
5c4a2bc
AMP-30817 ui performance enhancements
timothygachengo Feb 23, 2024
62c17d1
AMP-30834 fix alignment
timothygachengo Feb 23, 2024
ae10a89
AMP-30816 ui enhancements
timothygachengo Feb 23, 2024
60a5380
AMP-30613 ui enhancements
timothygachengo Feb 26, 2024
47a1ef1
AMP-30613 ui enhancements
timothygachengo Feb 26, 2024
0c5764a
AMP-30827 add sector label
timothygachengo Feb 27, 2024
3f20905
AMP-30798 ui enhancements
timothygachengo Feb 27, 2024
81bcf10
AMP-30837 uremove extea loading
timothygachengo Feb 27, 2024
b276a53
AMP-30837 ui enhancement
timothygachengo Feb 28, 2024
038230e
AMP-30838 remove duplicate indicators
timothygachengo Feb 28, 2024
6d4ea22
AMP-30823 enable program dates to be overwritten in the indicator man…
timothygachengo Feb 28, 2024
b4aed10
AMP-30835 fix alignment
timothygachengo Feb 29, 2024
3f4890c
AMP-30835 ui enhancement
timothygachengo Mar 1, 2024
5680bf3
AMP-30836 fix sector charts
timothygachengo Mar 1, 2024
3c7bc0f
Merge branch 'develop' into future/v4.0
jdeanquin-dg Mar 5, 2024
69e891b
AMP-30843 fix wrong tooltip
timothygachengo Mar 7, 2024
7eb940d
AMP-30819 fix y axis values for line chart
timothygachengo Mar 7, 2024
a07b06b
AMP-30841 fix indicator data
timothygachengo Mar 7, 2024
ea61aee
AMP-30832 fix activity fields cloning
jdeanquin-dg Mar 7, 2024
5684c87
AMP-30832
brianbrix Mar 8, 2024
80e13a7
AMP-30832
brianbrix Mar 8, 2024
c833cb7
AMP-30832
brianbrix Mar 8, 2024
36f39e5
AMP-30832 remove debug leftover
jdeanquin-dg Mar 8, 2024
b64b012
v4.0-Fix-cascade delete issue
brianbrix Mar 12, 2024
31d811b
Merge pull request #4258 from devgateway/fix/v4.0-fix-cascade-issue
jdeanquin-dg Mar 12, 2024
1efad3d
Merge branch 'future/v4.0' into bug/AMP-30832/offline-sync-new-project
jdeanquin-dg Mar 12, 2024
a9dd3f8
AMP-30842 add GS to the dashboard
timothygachengo Mar 13, 2024
7b803df
AMP-30832-Fix-cascade delete issue
brianbrix Mar 13, 2024
63ada6f
AMP-30832-Fix document upload issue
brianbrix Mar 13, 2024
aba3434
AMP-30832-Fix document upload issue
brianbrix Mar 13, 2024
8c3d438
AMP-30832-Fix document upload issue
brianbrix Mar 13, 2024
b4974fe
AMP-30832 remove unused imports
jdeanquin-dg Mar 13, 2024
055921f
Revert "AMP-30832 remove unused imports"
jdeanquin-dg Mar 13, 2024
596bcdf
AMP-30832-Fix document upload issue
brianbrix Mar 13, 2024
a328e62
Merge remote-tracking branch 'origin/bug/AMP-30832/offline-sync-new-p…
brianbrix Mar 13, 2024
0f94540
AMP-30832-Fix amp contacts saving issue
brianbrix Mar 13, 2024
ed9589d
AMP-30832-Fix amp contacts saving issue
brianbrix Mar 14, 2024
901b0af
AMP-30812 add date settings
timothygachengo Mar 14, 2024
4b40250
AMP-30840 fix chart
timothygachengo Mar 14, 2024
e71e8af
AMP-30832 - Gpni survey issue
brianbrix Mar 14, 2024
24016c7
AMP-30813 updated code to handle global value indicators values
dynamodenis Mar 19, 2024
ee2c8b1
Revert "AMP-30813 updated code to handle global value indicators values"
dynamodenis Mar 19, 2024
360fa2f
AMP-30813 code clean up
dynamodenis Mar 19, 2024
d36a9ba
Merge pull request #4255 from devgateway/bug/AMP-30832/offline-sync-n…
jdeanquin-dg Mar 23, 2024
61322fe
Merge pull request #4214 from devgateway/task/AMP-30613/me-ndd-dashboard
jdeanquin-dg Apr 3, 2024
a1b0e37
AMP-30863 fix menu entry
jdeanquin-dg Apr 5, 2024
fc0cfbe
Merge pull request #4276 from devgateway/task/AMP-30863/adjust-menu
jdeanquin-dg Apr 5, 2024
322c231
AMP-30868 fix indicator rules in the indicator service
timothygachengo Apr 24, 2024
a61c292
AMP-30868 fix indicator manager validations
timothygachengo Apr 24, 2024
304e22f
AMP-30812 fix year values issue
timothygachengo Apr 29, 2024
ae23f78
AMP-30869 fix translations in indicator manager
timothygachengo Apr 29, 2024
6b442e5
AMP-30869 updated submodules
timothygachengo Apr 29, 2024
77c99fd
AMP-30819 fix y axis values for line chart
timothygachengo Apr 29, 2024
e2213d8
AMP-30868 fix indicator manager validation
timothygachengo Apr 30, 2024
44d4d4a
AMP-30869 fix missing translations
timothygachengo Apr 30, 2024
e76a21a
AMP-30869 make text translatable in the me section AF
timothygachengo Apr 30, 2024
fd8f066
Merge pull request #4309 from devgateway/task/AMP-30819/fix-y-axis-on…
jdeanquin-dg Jun 10, 2024
62d94bf
Merge pull request #4263 from devgateway/task/AMP-30813/base-and-targ…
jdeanquin-dg Jun 11, 2024
f20ac36
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
1381216
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
acf4f5c
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
8fe95b9
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
b54fefc
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
8a91a96
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
a569b72
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
4438b90
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
e2a4b42
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
030d79a
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
fa92766
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
2bc9758
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
dab4958
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
e3c7781
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
c931792
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
3717a9a
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
7dfdfee
AMP-30906: Resolve ndd dash bug
brianbrix Oct 31, 2024
d1aa005
Merge pull request #4352 from devgateway/fix/AMP-30906/Fix-ndd-dashbo…
jdeanquin-dg Nov 1, 2024
d25b07e
amp-30916 migrate amp build process to new jenkins (#4365)
brianbrix Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "amp/TEMPLATE/ampTemplate/node_modules/amp-boilerplate"]
path = amp/TEMPLATE/ampTemplate/node_modules/amp-boilerplate
url = [email protected]:devgateway/amp-boilerplate.git
[submodule "amp/TEMPLATE/ampTemplate/node_modules/amp-translate"]
path = amp/TEMPLATE/ampTemplate/node_modules/amp-translate
url = [email protected]:devgateway/amp-translate.git
[submodule "amp/TEMPLATE/ampTemplate/node_modules/amp-filter"]
path = amp/TEMPLATE/ampTemplate/node_modules/amp-filter
url = [email protected]:devgateway/amp-filter.git
30 changes: 16 additions & 14 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ def updateGitHubCommitStatus(context, message, state) {
]
])
}

def codeVersion
def countries
def environment

stage('Build') {

timeout(15) {
milestone()
environment = input(
Expand All @@ -63,15 +61,21 @@ stage('Build') {

println "Using environment: ${environment}"

node {
node('ansible') {
checkout scm


// Find AMP version
codeVersion = readMavenPom(file: 'amp/pom.xml').version
println "AMP Version: ${codeVersion}"

//Used in the initial generation of keys when working with a new jenkins instance
//****************************************************************
// sh "ssh-keygen -t rsa -b 4096 -C 'jenkins@${environment}' -f ~/.ssh/id_rsa -N ''"
sh "ssh-keyscan -H ${environment} >> ~/.ssh/known_hosts"
// sh "cat /root/.ssh/id_rsa.pub"
//******************************************************
countries = sh(returnStdout: true,
script: "ssh ${environment} 'cd /opt/amp_dbs && amp-db ls ${codeVersion} | sort'")
script: "ssh ${env.jenkinsUser}@${environment} 'cd /opt/amp_dbs && amp-db ls ${codeVersion} | sort'")
.trim()
if (countries == "") {
println "There are no database backups compatible with ${codeVersion}"
Expand All @@ -97,7 +101,7 @@ stage('Build') {

println "amp url is ${ampUrl}"

node {
node('docker') {
checkout scm

def image = "${dockerRepo}amp/webapp:${tag}"
Expand All @@ -109,11 +113,13 @@ stage('Build') {

sshagent(credentials: ['GitHubDgReadOnlyKey']) {
withEnv(['DOCKER_BUILDKIT=1']) {
sh "ssh-add -L"
sh "docker build " +
"--progress=plain " +
"--ssh default " +
"-t ${image} " +
"--build-arg BUILD_SOURCE='${tag}' " +
"--build-arg AMP_URL='${ampUrl}' " +
"--build-arg AMP_PULL_REQUEST='${pr}' " +
"--build-arg AMP_BRANCH='${branch}' " +
"--build-arg AMP_REGISTRY_PRIVATE_KEY='${registryKey}' " +
Expand All @@ -134,19 +140,16 @@ stage('Build') {
}
}
}

def deployed = false

// If this stage fails then next stage will retry deployment. Otherwise next stage will be skipped.
stage('Deploy') {
node {
node('ansible') {
try {
// Find latest database version compatible with ${codeVersion}
dbVersion = sh(returnStdout: true, script: "ssh ${environment} 'cd /opt/amp_dbs && amp-db find ${codeVersion} ${country}'").trim()
dbVersion = sh(returnStdout: true, script: "ssh ${env.jenkinsUser}@${environment} 'cd /opt/amp_dbs && amp-db find ${codeVersion} ${country}'").trim()

// Deploy AMP
sh "ssh ${environment} 'amp-up2 ${tag} ${country} ${dbVersion} ${pgVersion}'"

sh "ssh ${env.jenkinsUser}@${environment} 'amp-up2 ${tag} ${country} ${dbVersion} ${pgVersion}'"
slackSend(channel: 'amp-ci', color: 'good', message: "Deploy AMP - Success\nDeployed ${changePretty} will be ready for testing at ${ampUrl} in about 3 minutes")

deployed = true
Expand All @@ -157,7 +160,6 @@ stage('Deploy') {
}
}
}

// Retry deploy with the same country.
stage('Deploy again') {
if (deployed) {
Expand All @@ -170,7 +172,7 @@ stage('Deploy again') {
}
node {
try {
sh "ssh ${environment} 'amp-up2 ${tag} ${country} ${dbVersion} ${pgVersion}'"
sh "ssh ${env.jenkinsUser}@${environment} 'amp-up2 ${tag} ${country} ${dbVersion} ${pgVersion}'"

slackSend(channel: 'amp-ci', color: 'good', message: "Deploy AMP - Success\nDeployed ${changePretty} will be ready for testing at ${ampUrl} in about 3 minutes")

Expand Down
4 changes: 3 additions & 1 deletion amp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN --mount=type=cache,target=/root/.npm \

FROM node as compile-amp-boilerplate
WORKDIR /tmp/amp/TEMPLATE/ampTemplate/node_modules/amp-boilerplate
COPY TEMPLATE/ampTemplate/node_modules/amp-boilerplate/.git .
COPY TEMPLATE/ampTemplate/node_modules/amp-boilerplate .
COPY --from=compile-amp-translate /tmp/amp/TEMPLATE/ampTemplate/node_modules/amp-translate ../amp-translate
RUN --mount=type=cache,target=/root/.npm \
Expand All @@ -22,6 +23,7 @@ RUN --mount=type=cache,target=/root/.npm \

FROM node as compile-amp-filter
WORKDIR /tmp/amp/TEMPLATE/ampTemplate/node_modules/amp-filter
COPY TEMPLATE/ampTemplate/node_modules/amp-filter/.git .
COPY --from=compile-amp-translate /tmp/amp/TEMPLATE/ampTemplate/node_modules/amp-translate ../amp-translate
COPY TEMPLATE/ampTemplate/node_modules/amp-filter .
# HACK otherwise amp-filter won't compile!
Expand Down Expand Up @@ -113,7 +115,7 @@ COPY --from=compile-gis-layers-manager /tmp/amp/TEMPLATE/ampTemplate/node_module
COPY --from=compile-gis-module /tmp/amp/TEMPLATE/ampTemplate/gisModule/dist TEMPLATE/ampTemplate/gisModule/dist
COPY --from=compile-dashboard /tmp/amp/TEMPLATE/ampTemplate/dashboard/build TEMPLATE/ampTemplate/dashboard/build
COPY --from=compile-reamp /tmp/amp/TEMPLATE/reamp TEMPLATE/reamp
COPY --from=compile-reampv2 /tmp/amp/TEMPLATE/reampv2/build TEMPLATE/reampv2/build
COPY --from=compile-reampv2 /tmp/amp/TEMPLATE/reampv2 TEMPLATE/reampv2
ARG BUILD_SOURCE
RUN --mount=type=cache,target=/root/.m2 \
mvn -B test war:exploded \
Expand Down
12 changes: 11 additions & 1 deletion amp/TEMPLATE/ampTemplate/css_2/amp-wicket.css
Original file line number Diff line number Diff line change
Expand Up @@ -684,4 +684,14 @@ input[disabled], select[disabled]{

.top-padding-10 {
padding-top: 10px;
}
}
.save-gray-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
z-index: 1000; /* Ensure it's above other elements */
display: none; /* Hidden by default */
}
6 changes: 3 additions & 3 deletions amp/TEMPLATE/ampTemplate/css_2/amp.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ td.inside_inner_title { border-width: 1px 1px 1px 1px;border-color: #CCC; border
.header { height:51px;text-align:center;width:1000px;margin:0 auto;position:relative;}
.logo {color:#FFFFFF; font-size:14px; font-weight:bold; float:left;padding:0px; width:480px; border: 0px; margin: 8px 0px 0px 0px; display: inline;}
.logo a {color:#FFFFFF; text-decoration: none !important; display: table-cell;}
.flag {width:30px; height: 20px; border: 0px; vertical-align: middle; float:left;margin-right:4px;}
.flag {width:30px; height: 30px; border: 0px; vertical-align: middle; float:left;margin-right:4px;}
.logo .title {display: table-cell; padding-left: 8px; vertical-align: middle; }
.logo .title .label {display: block; text-align: left;}
.top_nav {position:absolute; right:30px; top:30px;}
Expand Down Expand Up @@ -623,7 +623,7 @@ div.yui-ac-hd{border:1px solid red;}
div.adminicon{float:right;}
.t-name {font-size:11px;}
.activity_me {background-color:#FFFFFF; border:1px solid #CCCCCC; margin-top:15px; padding:10px;}
.activity_me td {padding-bottom:8px;}
.activity_me td {padding-bottom:8px; padding-left: 10px;}
.dijitToolbar .dijitButtonContents{padding:0px;}
.soria .dijitButtonNode {
-moz-border-bottom-colors: none;
Expand Down Expand Up @@ -684,7 +684,7 @@ div.yui-ac-hd{border:1px solid red;}
div.adminicon{float:right;}
.t-name {font-size:11px;}
.activity_me {background-color:#FFFFFF; border:1px solid #CCCCCC; margin-top:15px; padding:10px;}
.activity_me td {padding-bottom:8px;}
.activity_me td {padding-bottom:8px; padding-left: 10px;}
.dijitToolbar .dijitButtonContents{padding:0px;}
.soria .dijitButtonNode {
-moz-border-bottom-colors: none;
Expand Down
Loading