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

2.35.14 nhdacdc #1504

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
ab949b5
chore(release-prepare): branch v35
Philip-Larsen-Donnelly Aug 26, 2020
6497a2b
fix: [DHIS2-9335] allow multiple browser tabs to post relationships …
Bekkalizer Aug 26, 2020
e5991c5
fix: use full width modal for search results (#644)
Bekkalizer Aug 27, 2020
3a1a087
feat: [DHIS2-9574] Show full name in notes (#653)
Bekkalizer Sep 21, 2020
d2da93f
chore: replace travis with github actions (#855)
Bekkalizer Nov 30, 2020
557545e
fix(translations): sync translations from transifex (v35)
dhis2-bot Dec 23, 2020
02be585
fix(translations): sync translations from transifex (v35)
dhis2-bot Dec 24, 2020
0e80d04
fix(translations): sync translations from transifex (v35)
dhis2-bot Dec 25, 2020
de26165
fix(translations): sync translations from transifex (v35)
dhis2-bot Dec 28, 2020
a7f7b94
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 6, 2021
2405a63
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 8, 2021
8d0e0d7
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 9, 2021
6e4e92c
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 10, 2021
d18eba7
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 15, 2021
3c4bfd0
feat: [DHIS2-10266] only download orgs in capture scope (#947)
Bekkalizer Jan 15, 2021
16cef0d
fix(translations): sync translations from transifex (v35)
dhis2-bot Jan 21, 2021
e18cda9
fix: added null check
Bekkalizer Feb 12, 2021
6240fb6
fix: [DHIS2-9628] always load selected program (#965)
Bekkalizer Feb 16, 2021
5fa0375
v31.0.17
Bekkalizer Feb 17, 2021
d49c271
fix: build
JoakimSM Feb 17, 2021
ea55fad
fix(translations): sync translations from transifex (v35)
dhis2-bot Feb 20, 2021
c436394
fix: [DHIS2-10548] remove hard coded ouMode and unused code (#971)
Bekkalizer Feb 22, 2021
c9aec00
chore(release-prepare): cut patch/2.35.2
Philip-Larsen-Donnelly Mar 1, 2021
3ee5a7a
chore(release-prepare): force re-build
Philip-Larsen-Donnelly Mar 3, 2021
54c2cf7
fix: program report start- and endDate filter (#977)
JoakimSM Mar 8, 2021
61033c6
v31.0.18
Bekkalizer Mar 11, 2021
c6e332b
Revert "v31.0.18"
Bekkalizer Mar 11, 2021
9ea2748
chore(release-prepare): cut patch/2.35.3
Philip-Larsen-Donnelly Mar 25, 2021
1111aab
fix(translations): sync translations from transifex (v35)
dhis2-bot Mar 29, 2021
c0aae48
fix(translations): sync translations from transifex (v35)
dhis2-bot Mar 30, 2021
dffc8fe
added hidefieldnodelete action
mnelushi Apr 19, 2021
af9f336
fix: [DHIS2-10675] changed the representation of the >= symbol (#1015)
superskip Apr 22, 2021
ac2a30f
fix: [DHIS2-10996] do not strip leading zeros
Bekkalizer Apr 22, 2021
8d44b38
fix(translations): sync translations from transifex (v35)
dhis2-bot Apr 22, 2021
d8864cb
fix(translations): sync translations from transifex (v35)
dhis2-bot Apr 27, 2021
b06a202
fix: [DHIS2-8660] missing translations (#1026)
superskip May 3, 2021
d8c6965
fix(translations): sync translations from transifex (v35)
dhis2-bot May 3, 2021
57f09ae
fix(translations): sync translations from transifex (v35)
dhis2-bot May 4, 2021
980764c
fix(translations): sync translations from transifex (v35)
dhis2-bot May 5, 2021
ec796c9
fix: Do not override currentStage on each iteration (#1053)
SferaDev May 7, 2021
19ccbb6
fix: [DHIS2-8660] translation for 'Manage Person' tooltip (#1056)
superskip May 10, 2021
1e32744
fix(translations): sync translations from transifex (v35)
dhis2-bot May 10, 2021
881bfb1
fix(translations): sync translations from transifex (v35)
dhis2-bot May 11, 2021
4bbdc41
fix(translations): sync translations from transifex (v35)
dhis2-bot May 18, 2021
d0c4845
fix: calendar format for overdue events
Bekkalizer May 19, 2021
fd41947
fix(translations): sync translations from transifex (v35)
dhis2-bot May 25, 2021
eb1290d
fix: update CurrentSelection whenever an event is added or removed (#…
superskip Jun 4, 2021
e92dd55
fix: [DHIS2-10081] allow deletion of polygons from focus area instanc…
superskip Jun 7, 2021
f0ad79b
fix: stopped generating generated attributes twice in the same call (…
superskip Jun 7, 2021
8589cea
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 8, 2021
4c4b0a9
fix: [DHIS2-8475] update CurrentSelection.currentSelection on enrollm…
superskip Jun 9, 2021
bf48982
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 10, 2021
4042624
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 11, 2021
b6cfa15
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 22, 2021
35f19c8
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 24, 2021
0a11640
fix(translations): sync translations from transifex (v35)
dhis2-bot Jun 28, 2021
f61820a
fix(translations): sync translations from transifex (v35)
dhis2-bot Jul 17, 2021
92c1d20
fix(translations): sync translations from transifex (v35)
dhis2-bot Jul 19, 2021
56b26dd
fix: refined the condition for loading a program through relationship…
superskip Aug 5, 2021
7763816
fix(translations): sync translations from transifex (v35)
dhis2-bot Aug 10, 2021
a2852a2
chore(release-prepare): cut patch/2.35.7
Philip-Larsen-Donnelly Aug 16, 2021
e85cc04
fix(translations): sync translations from transifex (v35)
dhis2-bot Aug 24, 2021
f403d24
fix(translations): sync translations from transifex (v35)
dhis2-bot Aug 25, 2021
a30c6b7
feat: [DHIS2-10550] inserted pagination in upcoming and overdue event…
superskip Sep 7, 2021
c8bd875
Merge branch '2.35.3-hide-field-no-delete' of https://github.com/HISP…
mankgamc Sep 10, 2021
91dfebd
fix: check that eventRows is defined (#1247)
superskip Sep 13, 2021
b9fb550
feat: [DHIS2-11403] dep mgmnt
Bekkalizer Sep 17, 2021
ce5c693
chore(release-prepare): cut patch/2.35.8
Philip-Larsen-Donnelly Sep 17, 2021
52f7ffe
2.35.7 changes
mankgamc Oct 11, 2021
e2917bd
Merge branch '2.35.7-EMBARGOED_acdc' of https://github.com/HISPSA/tra…
mankgamc Oct 11, 2021
378e964
Merge branch '2.35.7-EMBARGOED_acdc' of https://github.com/HISPSA/tra…
mankgamc Oct 12, 2021
c7bbfce
hifielnodelete bug fixes
mankgamc Oct 15, 2021
74d26af
feat: auto switch orgunit from search modal
superskip Oct 19, 2021
596024c
Susceptible animal cases new cumu culaculation bug
mankgamc Oct 19, 2021
90cfe6c
fix: minor - removed illegal character
Bekkalizer Oct 22, 2021
c6e49e9
fix: [DHIS2-12022] limit the number of events/enrollments fetched for…
superskip Oct 25, 2021
c043bce
fix(translations): sync translations from transifex (v35)
dhis2-bot Oct 26, 2021
a3e031a
fix(translations): sync translations from transifex (v35)
dhis2-bot Oct 30, 2021
01a317b
fix: [DHIS2-12068] remove excessive calls to /generate (#1290)
superskip Nov 8, 2021
944ecd3
fix: empty pie chart error message (#1299)
superskip Nov 26, 2021
0a6b41f
fix(translations): sync translations from transifex (v35)
dhis2-bot Nov 27, 2021
44b9fa7
fix(translations): sync translations from transifex (v35)
dhis2-bot Nov 29, 2021
66d9fb3
fix: [DHIS2-9345] issues with creating new enrollment (#1311)
superskip Nov 29, 2021
c3ca6e2
fix: [DHIS2-8734] corrected translation key casing
superskip Nov 29, 2021
7be256d
final changes
mankgamc Nov 30, 2021
bc26bc2
Merge branch 'v35-autoswitch-orgunit' of https://github.com/dhis2/tra…
mankgamc Nov 30, 2021
1fd71fd
org unit switch and hide-delete
mankgamc Dec 7, 2021
64121e5
org unit switch
mankgamc Dec 20, 2021
ac3102d
no hide delete build
mankgamc Jun 6, 2022
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
99 changes: 99 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: 'dhis2: verify (app)'

on:
push:
branches:

env:
GIT_AUTHOR_NAME: '@dhis2-bot'
GIT_AUTHOR_EMAIL: '[email protected]'
GIT_COMMITTER_NAME: '@dhis2-bot'
GIT_COMMITTER_EMAIL: '[email protected]'
GH_TOKEN: ${{secrets.DHIS2_BOT_GITHUB_TOKEN}}
CI: true

jobs:
install:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

- name: Install
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

build:
runs-on: ubuntu-latest
needs: install
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

- name: Build
run: yarn build

- uses: actions/upload-artifact@v2
with:
name: app-build
path: |
**/build
!**/node_modules
retention-days: 1

publish:
runs-on: ubuntu-latest
needs: [build] # add e2e if you use it
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
with:
token: ${{env.GH_TOKEN}}

- uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/download-artifact@v2
with:
name: app-build

- uses: dhis2/deploy-build@master
with:
build-dir: build
github-token: ${{ env.GH_TOKEN }}

release:
runs-on: ubuntu-latest
needs: [publish]
if: "github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
with:
token: ${{env.GH_TOKEN}}

- uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Publish release to GitHub
run: npx @dhis2/cli-utils release
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .tx/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[main]
host = https://www.transifex.com
lang_map = fa_AF: prs, uz@Cyrl: uz_Cyrl, uz@Latn: uz_Latn
lang_map = fa_AF: prs, uz@Cyrl: uz, uz@Latn: uz_Latn

[app-tracker-capture-app.i18n-app-properties--master]
file_filter = i18n/i18n_app_<lang>.properties
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ npm run build
```
> **Note:** If you have problems running the app try running the dhis2-core server with TomCat.

![Travis CI](https://travis-ci.com/dhis2/tracker-capture-app.svg)
3 changes: 2 additions & 1 deletion components/dashboard/dashboard-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ trackerCapture.controller('DashboardController',
selectedEnrollment = enrollments.find(function(e){ return e.program === $scope.selectedProgramId && e.status === 'ACTIVE'; });
}

ProgramFactory.getProgramsByOu($scope.selectedOrgUnit, false).then(function (response) {
ProgramFactory.getProgramsByOu($scope.selectedOrgUnit, selectedEnrollment ? true : false,
selectedEnrollment ? {id:selectedEnrollment.program} : null).then(function (response) {
$scope.programs = [];
$scope.programNames = [];
$scope.programStageNames = [];
Expand Down
11 changes: 10 additions & 1 deletion components/dashboard/dashboard-widgets.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ <h1>{{'select_widgets_to_show'| translate}}</h1>
</td>
<td>

<span ng-if="defaultDashboardWidgetsByTitle[widget.title].canBeUsedAsTopBar"><input type="checkbox" ng-model="widget.useAsTopBar" ng-change="setUseAsTopBar(widget)"/> Use as top bar</span>
<span ng-if="defaultDashboardWidgetsByTitle[widget.title].canBeUsedAsTopBar">
<div ng-style="{display: 'flex', 'align-items': 'center'}">
<div>
<input type="checkbox" ng-model="widget.useAsTopBar" ng-change="setUseAsTopBar(widget)"/>
</div>
<div ng-style="{'margin-left': '4px'}">
{{'use_as_top_bar'| translate}}
</div>
</div>
</span>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion components/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<ul class="dropdown-menu pull-right" role="menu">
<li><a href ng-click="showHideWidgets()">{{showHideWidgetsLabel}}</a></li>
<li ng-if="userAuthority.canAdministerDashboard"><a href ng-click="saveDashboarLayoutAsDefault()">{{'save_layout_as_default' | translate}}</a></li>
<li><a href ng-click="openTopBarSettings()">Top bar settings</a></li>
<li><a href ng-click="openTopBarSettings()">{{'top_bar_settings' | translate}}</a></li>
<li ng-if="userAuthority.canAdministerDashboard && lockedList && !lockedList[selectedProgram.id]"><a href ng-click="toggleLockDashboard()"><i class="fa fa-lock" aria-hidden="true"></i> {{'lock_default_layout' | translate}}</a></li>
<li ng-if="userAuthority.canAdministerDashboard && lockedList && lockedList[selectedProgram.id]"><a href ng-click="toggleLockDashboard()"><i class="fa fa-unlock" aria-hidden="true"></i> {{'unlock_default_layout' | translate}}</a></li>
</ul>
Expand Down
Loading