Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
846e595
Update TeamCity installer URL for docker hub
csebranek Nov 20, 2024
a6266b8
Update labkey npm dependencies and rehyrdate package-lock.json
csebranek Nov 25, 2024
b6eb062
explicitly add children as a type
csebranek Nov 25, 2024
50a6703
remove placeholder in purchasing module, update react for wnprc_ehr, …
csebranek Nov 25, 2024
464332a
update to react 18 for virology module, update build script for docke…
csebranek Nov 25, 2024
7952492
update react types, update deprecated ReactDOM.render
csebranek Nov 26, 2024
1d52b83
add test for breeding page
csebranek Nov 27, 2024
3804fd6
new upload format working
csebranek Jan 28, 2025
f95b7c4
fix missing middle_name issue
csebranek Jan 28, 2025
e708739
change areas to access_level, remove employee number, fix notes/displ…
csebranek Jan 30, 2025
a59dc9d
remove old card info from unidentified cards page, add new cols
csebranek Jan 30, 2025
7107b42
removed unused code
csebranek Jan 31, 2025
d8b5ec6
Merge branch '24.11_fb_labkey_update' into 24.11_fb_barrier_access_up…
csebranek Jan 31, 2025
104c8f9
Mark modules as PostgreSQL-only (#691)
labkey-adam Nov 14, 2024
cfbe297
Remove SupportedDatabases property now that default is PostgreSQL-onl…
labkey-adam Nov 19, 2024
3a10dcc
Additional details for necropsy requests (#688)
LeviCameron1 Nov 12, 2024
6b6c0fc
remove unused export (#697)
labkey-klum Nov 28, 2024
e74559e
No need to exclude Jakarta Activation API everywhere (#699)
labkey-adam Dec 3, 2024
a29cfaf
24.3 fb notification revamps (#685)
aschmidt34 Nov 24, 2024
c5729d5
Don't encode parameters passed to WebTestHelper.buildUrl (#704)
labkey-tchad Dec 6, 2024
8f9759d
Updates to current blood draw queries and adding visual plot (#703)
csebranek Dec 4, 2024
ec535e7
Changes to automated blood charges (#710)
csebranek Dec 12, 2024
d09d9cc
24.3 fb notification revamps (#712)
aschmidt34 Dec 13, 2024
43806bd
sort current blood by room and cage first (#723)
csebranek Jan 3, 2025
56e04fa
24.3 fb notification revamps (#720)
aschmidt34 Jan 7, 2025
2ade761
Blood draw scheduling improvement (#724)
csebranek Jan 9, 2025
49cf2cc
Migrate <permissionClasses> -> <requiresPermissions> (#730)
labkey-adam Jan 15, 2025
0bafa8a
24.3 fb water system changes (#722)
dnicolalde Jan 15, 2025
edec526
revert package.json with new package-lock.json
csebranek Feb 4, 2025
09d9673
redo package updates with new lock file version
csebranek Feb 4, 2025
3746570
Merge other fbs in to this main one
csebranek Feb 4, 2025
5d86b96
fix broken links
csebranek Feb 6, 2025
0aeea63
Merge branch '24.11_fb_homepage_updates' into 24.11_fb_labkey_update
csebranek Feb 10, 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
1 change: 0 additions & 1 deletion AnimalRequests/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Label: Enter Animal Requests into EHR
Description: Simple module that utilizes React and Typescript to enter animal requests into WNPRC EHR
URL: https://github.com/WNPRC-EHR-Services/wnprc-modules/AnimalRequests
License: Apache 2.0
SupportedDatabases: pgsql
LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ManageVersion: false
6 changes: 1 addition & 5 deletions ApiKey/build.gradle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be the problem with Jakarta we are having

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Snapshot is passing the test for this module

Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ dependencies {
"Eclipse Distribution License v1.0",
"http://www.eclipse.org/org/documents/edl-v10.php",
"Parsing XML"
),
{
// Exclude in favor of angus activation from API
exclude group: "jakarta.activation", module: "jakarta.activation-api"
}
)
)

BuildUtils.addExternalDependency(
Expand Down
1 change: 0 additions & 1 deletion ApiKey/module.properties
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what are the ^M character at the en of every line

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ModuleClass: org.labkey.apikey.ApiKeyModule
Name: ApiKey
ManageVersion: false
SupportedDatabases: pgsql
6 changes: 1 addition & 5 deletions DBUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ dependencies {
"Eclipse Distribution License v1.0",
"http://www.eclipse.org/org/documents/edl-v10.php",
"Parsing XML"
),
{
// Exclude in favor of angus activation from API
exclude group: "jakarta.activation", module: "jakarta.activation-api"
}
)
)

BuildUtils.addExternalDependency(
Expand Down
1 change: 0 additions & 1 deletion DBUtils/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ Name: DBUtils
RequiredServerVersion: 16.3
SchemaVersion: 17.2
ManageVersion: false
SupportedDatabases: pgsql
6 changes: 1 addition & 5 deletions DeviceProxy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ dependencies {
"Eclipse Distribution License v1.0",
"http://www.eclipse.org/org/documents/edl-v10.php",
"Parsing XML"
),
{
// Exclude in favor of angus activation from API
exclude group: "jakarta.activation", module: "jakarta.activation-api"
}
)
)

BuildUtils.addExternalDependency(
Expand Down
1 change: 0 additions & 1 deletion DeviceProxy/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ModuleClass: org.labkey.deviceproxy.DeviceProxyModule
Name: DeviceProxy
ManageVersion: false
SupportedDatabases: pgsql
2 changes: 1 addition & 1 deletion ETLChemistryAnalyzer/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ModuleClass: org.labkey.ETLChemistryAnalyzer.ETLChemistryAnalyzerModule
Label: ETL Chemistry Analyzer
License: Apache 2.0
LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ManageVersion: false
ManageVersion: false
4 changes: 2 additions & 2 deletions ETLChemistryAnalyzer/resources/views/welcome.view.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<view xmlns="http://labkey.org/data/xml/view" title="ChemistryAnalyzer ETL Module">
<permissionClasses>
<requiresPermissions>
<permissionClass name="org.labkey.api.security.permissions.ReadPermission"/>
</permissionClasses>
</requiresPermissions>
</view>
1 change: 0 additions & 1 deletion GoogleDrive/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ RequiredServerVersion: 15.2
URL: https://github.com/WNPRC-EHR-Services/GoogleDrive
SchemaVersion: 1.000
ManageVersion: false
SupportedDatabases: pgsql
2 changes: 1 addition & 1 deletion SelfRegistration/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ URL: https://github.com/WNPRC-EHR-Services/wnprc-modules/SelfRegistration
License: Apache 2.0
LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
Name: SelfRegistration
ManageVersion: false
ManageVersion: false
2 changes: 1 addition & 1 deletion WNPRC_Compliance/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ License: Apache 2.0
LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ModuleClass: org.labkey.wnprc_compliance.WNPRC_ComplianceModule
Name: WNPRC_Compliance
SchemaVersion: 21.001
SchemaVersion: 25.001
SupportedDatabases: pgsql
ManageVersion: false
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,23 @@ personsList.isArchived,
card_info.first_name,
card_info.last_name,
card_info.middle_name,
card_info.department,
card_info.employee_number,
card_info.info2,
card_info.info3,
card_info.info5,

access_info.areas,
access_info.access_levels,

persons_to_cards.personid

FROM (
SELECT
report_id,
card_id,
GROUP_CONCAT(display_area, ';') as areas
GROUP_CONCAT(access_level, ';') as access_levels


FROM (
SELECT
reports.report_id,
report_data.card_id,
report_data.enabled,
report_data.area,
CASE
WHEN report_data.enabled IS FALSE THEN CAST(COALESCE(report_data.area, '') || ' (disabled)' as VARCHAR)
ELSE report_data.area
END as display_area
report_data.access_level,


FROM wnprc_compliance.access_reports reports, wnprc_compliance.access_report_data report_data
Expand Down
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how are we dealing with people having multiple cards.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ last_name,
first_name,
middle_name,
date_of_birth,
cardInfo.employee_number,
notes,
tbResults.lastClearance as lastTbClearance,
measlesResults.lastClearance as measlesClearance,
Expand Down Expand Up @@ -51,16 +50,3 @@ LEFT JOIN (

ON measlesResults.person_id = persons.personid

--Adding employee_number from card_info table. Need to select the latest uploaded record to the card_info table
--Use person_to_cards table to link the personid to the card_id.
LEFT JOIN wnprc_compliance.persons_to_cards pers_to_card ON (persons.personid = pers_to_card.personid)
LEFT JOIN
(
SELECT card_info.employee_number, card_info.card_id, MAX(card_info.created)
FROM wnprc_compliance.card_info
GROUP BY card_info.card_id, card_info.employee_number
) cardInfo
ON (pers_to_card.cardid = cardInfo.card_id)

ORDER BY last_name ASC

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ id,
first_name,
middle_name,
last_name,
display,
COALESCE(display, '') as display,
LCASE(display) as displayLcase,
notes,
COALESCE(notes, '') as notes,
"type"

FROM (
Expand All @@ -33,7 +33,7 @@ FROM (
SELECT
card_id as id,
first_name,
middle_name,
COALESCE(middle_name, ''),
last_name,
COALESCE(first_name, '') || ' ' || COALESCE(middle_name, '') || ' ' || COALESCE(last_name, '') || ' (' || card_id || ')' as display,
COALESCE(department || ';', '') || COALESCE(info2 || ';', '') || COALESCE(info3 || ';', '') as notes,
Expand All @@ -48,7 +48,7 @@ FROM (
SELECT
personid as id,
first_name,
middle_name,
COALESCE(middle_name, ''),
last_name,
COALESCE(first_name, '') || ' ' || COALESCE(middle_name, '') || ' ' || COALESCE(last_name, '') as display,
notes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ cards.card_id,
last_name,
first_name,
middle_name,
department,
employee_number,
info2,
info3,
info5
card_info.card_type,
to_char(card_info.date_issued , 'yyyy-MM-dd') AS date_issued,
to_char(card_info.date_expire, 'yyyy-MM-dd') AS date_expire,
card_info.issue_code

FROM (
SELECT
Expand All @@ -18,12 +17,16 @@ FROM (
SELECT
unknown_cards.card_id,
card_info.report_id,
card_info.report_id.date
card_info.report_id.date,
card_info.card_type,
card_info.date_issued,
card_info.date_expire,
card_info.issue_code

FROM (
SELECT
cards.card_id,
persons_to_cards.personid
persons_to_cards.personid,

FROM (
SELECT card_id
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS card_type text;
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS date_issued timestamp;
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS date_expire timestamp;
ALTER TABLE wnprc_compliance.card_info ADD COLUMN IF NOT EXISTS issue_code int;

ALTER TABLE wnprc_compliance.access_report_data RENAME TO access_report_data_old;


DROP TABLE IF EXISTS wnprc_compliance.access_report_data;
CREATE TABLE wnprc_compliance.access_report_data (
report_id TEXT,
access_level TEXT,
card_id TEXT,

container entityid NOT NULL,
createdby userid,
created TIMESTAMP,
modifiedby userid,
modified TIMESTAMP,

CONSTRAINT PK_access_report_data_new PRIMARY KEY (report_id, access_level, card_id),
CONSTRAINT FK_access_report_data_access_reports_new FOREIGN KEY (report_id) REFERENCES wnprc_compliance.access_reports (report_id)
);
16 changes: 16 additions & 0 deletions WNPRC_Compliance/resources/schemas/wnprc_compliance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
</columns>
</table>
<table tableName="access_report_data" tableDbType="TABLE">
<columns>
<column columnName="report_id"/>
<column columnName="access_level"/>
<column columnName="card_id"/>
<column columnName="container"/>
<column columnName="createdby"/>
<column columnName="created"/>
<column columnName="modifiedby"/>
<column columnName="modified"/>
</columns>
</table>
<table tableName="access_report_data_old" tableDbType="TABLE">
<columns>
<column columnName="report_id"/>
<column columnName="area"/>
Expand All @@ -156,6 +168,10 @@
<column columnName="first_name"/>
<column columnName="last_name"/>
<column columnName="middle_name"/>
<column columnName="date_issued"/>
<column columnName="date_expire"/>
<column columnName="card_type"/>
<column columnName="issue_code"/>
<column columnName="department"/>
<column columnName="employee_number"/>
<column columnName="info2"/>
Expand Down
Loading