Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
024e836
Commit for Develop
Mar 14, 2024
9abf1f3
Changes in hwc-inv as functionality
Apr 19, 2024
8ff28c7
small changes in env file
Apr 19, 2024
00cd561
change in index file
Apr 20, 2024
8babde7
CSS changes
Apr 22, 2024
290363c
change in url in ev files
Apr 22, 2024
f9434b8
Merge branch 'develop' of https://github.com/PSMRI/HWC-Inventory-UI-N…
Apr 22, 2024
7ec25f4
CSS changes
Apr 22, 2024
6924044
Change in index file name
Apr 22, 2024
220597d
fix the check box issue in rx
Apr 24, 2024
4cf75dd
removed commented code and vun
Apr 26, 2024
e69ad48
ci build configurations changes
May 8, 2024
594996a
ci environmentfile changes
May 9, 2024
a107269
fixed PR Merge conflicts
May 14, 2024
3f12ff8
Bug fix for upgrad--url
May 14, 2024
f39872e
Merge branch 'develop' of https://github.com/PSMRI/HWC-Inventory-UI-N…
May 14, 2024
521b4d1
Bug fix for hwc-inv for upgrad
May 15, 2024
7fbc54e
CSS changes
NKOKKILIGADDA87 May 20, 2024
b9f2029
Merge branch 'develop' of https://github.com/PSMRI/HWC-Inventory-UI
Jul 3, 2024
4bcba7d
Change in column name of table in item-dispense screen
Jul 3, 2024
0272668
Change in label for item dipense screen
Jul 4, 2024
265b96d
Update angular.json
anandamideShakyan Aug 16, 2024
8cbc7db
Merge pull request #28 from anandamideShakyan/develop
drtechie Aug 20, 2024
46730e9
readme file changes and add nvmrc file
NKOKKILIGADDA87 Aug 29, 2024
0c28723
URL changes using jboss context-root
devikasuresh20 Sep 18, 2024
3797e08
Minor change in angular.json
devikasuresh20 Sep 19, 2024
0716b34
Minor changes
devikasuresh20 Sep 19, 2024
0823719
Merge pull request #33 from devikasuresh20/develop
devikasuresh20 Sep 19, 2024
396085f
Added medicine batches empty condition for indent and also corrected …
devikasuresh20 Sep 27, 2024
00f35c9
Added medicine batches empty condition for indent and also corrected …
devikasuresh20 Sep 27, 2024
48b7c58
Removed extra slash from allocateStockFromItemID API URL
devikasuresh20 Oct 1, 2024
f9ca243
Corrected indedation
devikasuresh20 Oct 3, 2024
c0ed37d
Merge branch 'develop' into develop
devikasuresh20 Oct 3, 2024
4b8bda9
Merge pull request #36 from devikasuresh20/develop
devikasuresh20 Oct 3, 2024
44125f5
Set security question changes
devikasuresh20 Oct 9, 2024
6e6df07
Merge branch 'develop' of https://github.com/devikasuresh20/HWC-Inven…
devikasuresh20 Oct 9, 2024
570b24a
Manual dispense related changes
devikasuresh20 Oct 10, 2024
8cb553a
AMM-1012 Set Questionnaire screen changes (#37)
devikasuresh20 Oct 10, 2024
178a52b
Add ESLint and NPM Audit workflow
gupta-soham Oct 25, 2024
e9bae42
Merge pull request #42 from gupta-soham/feat/add-lint-audit-workflow
drtechie Oct 26, 2024
84a4f52
Merge branch 'PSMRI:develop' into develop
devikasuresh20 Nov 21, 2024
722b863
Added serviceProviderId in local storage
devikasuresh20 Nov 21, 2024
2a6f7b0
AMM-880 serviceProviderId changes in redir-in component (#49)
devikasuresh20 Nov 21, 2024
fad42e0
hwc inventory wasa first commit
NKOKKILIGADDA87 Nov 30, 2024
a0d36c4
hwc inventory wasa second commit
NKOKKILIGADDA87 Nov 30, 2024
4ba22ca
hwc inventory wasa third commit
NKOKKILIGADDA87 Nov 30, 2024
330208f
hwc inventory wasa forth commit
NKOKKILIGADDA87 Nov 30, 2024
f913257
hwc inventory wasa fifth commit
NKOKKILIGADDA87 Nov 30, 2024
f22346c
ngx cookie service version change
NKOKKILIGADDA87 Dec 2, 2024
8fbed7a
sonar issue fix with session service path change and encryption key l…
sandipkarmakar3 Dec 10, 2024
11246c4
sessionstorage service file moved to common-ui
NKOKKILIGADDA87 Dec 16, 2024
c32ce8c
sessionstorage import path change
NKOKKILIGADDA87 Dec 16, 2024
20f4490
remove JWT tokken setItem
NKOKKILIGADDA87 Dec 18, 2024
524a650
remove Enckey
NKOKKILIGADDA87 Dec 18, 2024
dce649c
sessionStorageEncKey value emity
NKOKKILIGADDA87 Dec 21, 2024
7c05fc3
login request body
NKOKKILIGADDA87 Dec 24, 2024
e199d53
login request body
NKOKKILIGADDA87 Dec 24, 2024
f260bbd
Update README.md
Sneha6003 Jan 21, 2025
aeb6495
Merge branch 'develop' of https://github.com/PSMRI/HWC-Inventory-UI i…
sandipkarmakar3 Jan 23, 2025
bf8f503
ready to merge with develop
sandipkarmakar3 Jan 23, 2025
21f9bfb
assigned port 4207 and updated the env for local development
Asp-irin Jan 30, 2025
6ffa35a
-wasa removed
sandipkarmakar3 Jan 30, 2025
2f7584e
Merge pull request #61 from Asp-irin/develop
drtechie Jan 30, 2025
169b6bc
comments are resolved
sandipkarmakar3 Jan 31, 2025
9b1e848
all comments are resolved but when pulled develop branch, environment…
sandipkarmakar3 Jan 31, 2025
41737af
Merge pull request #52 from PSMRI/hwc-inventory-wasa
devikasuresh20 Jan 31, 2025
888ff12
Add LICENSE and CODE_OF_CONDUCT
drtechie Feb 13, 2025
8cfb9f8
fix: Updated the build Scripts , and workflows to successful build.
Zapper9982 Apr 3, 2025
efe6fea
fix :updated the workflows and fixed linting to now include .js,.jsx …
Zapper9982 Apr 5, 2025
0627883
fix: upgraded from @v3 to @v4
Zapper9982 Apr 8, 2025
e3e7ec1
Merge pull request #62 from Zapper9982/bugfix/issue-55
drtechie Apr 9, 2025
1426d17
feat(git-hooks): added husky, Commitlint and Commitzen
Zapper9982 Apr 14, 2025
5c2f016
fix: removed unnecessary package-prod.yml
Zapper9982 Apr 14, 2025
d8ed406
fix: upgraded to v4
Zapper9982 Apr 14, 2025
b178e1b
Merge pull request #63 from Zapper9982/feat/issue-67
drtechie Apr 16, 2025
96fbdae
chore(husky): upgrading Husky to latest version
Zapper9982 Apr 16, 2025
8edb15a
Merge branch 'PSMRI:develop' into upgrade/husky
Zapper9982 Apr 16, 2025
162b596
Merge pull request #64 from Zapper9982/upgrade/husky
drtechie Apr 16, 2025
23ef43a
removed extra slash prescribed-drug.service.ts
helenKaryamsetty May 13, 2025
27b8f68
feat: ensure url doesn't have version. upgrade version
drtechie May 15, 2025
c5a8f58
fix: update names of the services in pom.xml files
drtechie May 19, 2025
394d207
removed extra slash & unencripted data (#65)
helenKaryamsetty May 19, 2025
7d0f479
Merge pull request #66 from PSMRI/build-update
drtechie May 19, 2025
5aebabb
reverted old change (#67)
helenKaryamsetty May 21, 2025
914b6af
fix: added missed slash
helenKaryamsetty May 21, 2025
28e8482
Merge pull request #68 from helenKaryamsetty/develop
devikasuresh20 May 22, 2025
31d8cec
Merge branch 'develop' of https://github.com/helenKaryamsetty/HWC-Inv…
May 23, 2025
e01bb56
Merge branch 'PSMRI:develop' into develop
devikasuresh20 May 24, 2025
66aae59
fix: hwc to aam changes
devikasuresh20 Jun 3, 2025
2c4e662
fix: added disabling condition for all the read only fields in inventory
devikasuresh20 Jun 4, 2025
c72d856
fix: added '!==' instead of '!='
devikasuresh20 Jun 5, 2025
7acd822
feat: vapt captcha security
5Amogh Jun 5, 2025
66126da
fix: unused imports, injections removed and updated
5Amogh Jun 5, 2025
099f38f
fix: captcha reset issue fix
5Amogh Jun 6, 2025
26aaf86
Merge pull request #69 from devikasuresh20/develop
devikasuresh20 Jun 9, 2025
32abd34
fix: dispense screen changes (#71)
devikasuresh20 Jun 10, 2025
080dba6
AMM-1563 (#72)
devikasuresh20 Jun 10, 2025
1dbb9b6
Merge branch 'develop' of https://github.com/helenKaryamsetty/HWC-Inv…
Jun 10, 2025
ff597f7
fix: commonui latest commit
Jun 10, 2025
5655e13
Merge pull request #75 from helenKaryamsetty/develop
devikasuresh20 Jun 10, 2025
41f5df1
Merge pull request #70 from PSMRI/develop-amogh
5Amogh Jun 11, 2025
4ae64cd
fix: type fix for the enable captcha variable (#76)
5Amogh Jun 17, 2025
3834314
fix: quick access button issue amm-1532
snehar-nd Jun 23, 2025
85d49e0
Merge pull request #77 from PSMRI/nd/sn/develop
snehar-nd Jun 23, 2025
7a7915a
fix: made alaignment changes amm-1532 (#78)
snehar-nd Jun 24, 2025
191a42e
Nd/sn/develop (#79)
snehar-nd Jun 24, 2025
6dbadbf
AMM-1603 Edit Indent Request changes (#80)
devikasuresh20 Jun 25, 2025
4f23109
fix: change reposne in forgot passowrd (#81)
vishwab1 Jul 3, 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
39 changes: 30 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
],
"overrides": [
{
"files": [
"*.ts"
],
"files": ["*.ts"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
Expand All @@ -34,18 +32,41 @@
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unused-vars": 0,
"@angular-eslint/template/click-events-have-key-events": 0
"@angular-eslint/template/click-events-have-key-events": 0,
"eqeqeq": 1
}
},
{
"files": [
"*.html"
],
"files": ["*.html"],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
"plugin:@angular-eslint/template/accessibility",
"plugin:prettier/recommended"
],
"rules": {}
"rules": {
"prettier/prettier": [
"error",
{
"parser": "angular"
}
]
}
},
{
"files": ["*.js", "*.jsx"],
"env": {
"node": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "warn",
"no-console": "error",
"eqeqeq": ["error", "always"]
}
}
]
}
18 changes: 11 additions & 7 deletions .github/workflows/build-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,26 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout code with submodules
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true

- name: Update submodules manually (if needed)
run: |
git submodule init
git submodule update --recursive

- name: Setup JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 18

Expand All @@ -30,7 +36,5 @@ jobs:
npm config set legacy-peer-deps true
npm install -g @angular/cli
npm install typescript@5.1.3 --save-dev
npm install ng2-smart-table@1.2.1
npm install node-sass
npm install --force
npm run build
npm run build-ci
30 changes: 30 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Commit Compliance

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
commitlint:
runs-on: ubuntu-latest

steps:
- name: Checkout code with submodule
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: npm ci --legacy-peer-deps

- name: Run commitlint on PR
run: |
npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
11 changes: 11 additions & 0 deletions .github/workflows/lint_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: ESLint and NPM Audit

on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]

jobs:
lint-and-audit:
uses: PSMRI/.github/.github/workflows/lint_audit.yml@main
51 changes: 0 additions & 51 deletions .github/workflows/package-prod.yml

This file was deleted.

19 changes: 9 additions & 10 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,34 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4


- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 18

- name: Build with NPM and Maven
run: |
npm config set legacy-peer-deps true
npm install -g @angular/cli
npm install -g grunt-cli
npm install typescript@5.1.3 --save-dev
npm install ng2-smart-table@1.2.1
npm install node-sass
npm install --force
npm run build
npm run build-ci

- name: Create WAR file
run: jar -cvf hwc-inventory-ui-next.war -C dist .
run: jar -cvf aam-inventory-ui.war -C dist .

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: HWC-Inventory-UI
path: hwc-inventory-ui-next.war
name: AAM-Inventory-UI
path: dist/aam-inventory-ui/aam-inventory-ui.war
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/tmp
/out-tsc
/bazel-out
/environments/enckey.ts

# Node
/node_modules
Expand Down Expand Up @@ -40,3 +41,6 @@ testem.log
# System files
.DS_Store
Thumbs.db

src/environments/environment.ts
src/environments/environment.ci.ts
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Common-UI"]
path = Common-UI
url = https://github.com/PSMRI/Common-UI
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
amrit@piramalswasthya.org.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
1 change: 1 addition & 0 deletions Common-UI
Submodule Common-UI added at bb57ec
Loading
Loading