Skip to content

Commit

Permalink
Release 1.0.0 (240111)
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Jan 11, 2024
1 parent a7f71f5 commit a897c59
Show file tree
Hide file tree
Showing 31 changed files with 32 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This extension adds Diseases, Signs and Symptoms handling to `SENAITE LIMS`_.
License
-------

**SENAITE.DIAGNOSIS** Copyright (C) 2022-2023 RIDING BYTES & NARALABS
**SENAITE.DIAGNOSIS** Copyright (C) 2022-2024 RIDING BYTES & NARALABS

This program is free software; you can redistribute it and/or modify it under
the terms of the `GNU General Public License version 2`_ as published
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

1.0.0 (Unreleased)
1.0.0 (2024-01-11)
------------------

- First version
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
include_package_data=True,
zip_safe=False,
install_requires=[
"senaite.lims>=2.3.0",
"senaite.patient",
"senaite.patient>=1.4.0",
],
extras_require={
"test": [
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

try:
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/content/diseases.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/content/etiologicagents.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/content/symptoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/browser/theme/icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import os
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

PRODUCT_NAME = "senaite.diagnosis"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/analysisrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from archetypes.schemaextender.interfaces import IBrowserLayerAwareExtender
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/disease.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from AccessControl import ClassSecurityInfo
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/diseases.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Container
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/etiologicagent.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from AccessControl import ClassSecurityInfo
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/etiologicagents.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Container
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from archetypes.schemaextender.field import ExtensionField
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/symptom.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from AccessControl import ClassSecurityInfo
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/content/symptoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Container
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims.interfaces import IDoNotSupportSnapshots
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/patches/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/patches/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
5 changes: 2 additions & 3 deletions src/senaite/diagnosis/patches/content/analysisrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.


def getRawSymptoms(self): # noqa camelcase
"""Returns the UIDs of the Symptom objects assigned to the Sample
"""
Expand Down Expand Up @@ -94,4 +93,4 @@ def getEtiologicAgents(self): # noqa camelcase
def setEtiologicAgents(self, value): # noqa camelcase
"""Sets the etiologic agents to the sample
"""
self.getField("EtiologicAgents").set(self, value)
self.getField("EtiologicAgents").set(self, value)
3 changes: 1 addition & 2 deletions src/senaite/diagnosis/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

# Field permissions for Samples (aka AnalysisRequest)

FieldEditDateOfDiagnosis = "senaite.diagnosis: Field: Edit Date of Diagnosis"
FieldEditDateOfOnset = "senaite.diagnosis: Field: Edit Date of Onset"
FieldEditEtiologicAgents = "senaite.diagnosis: Field: Edit Etiologic Agents"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/setuphandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/subscribers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/subscribers/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims.api import get_portal
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/diagnosis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2022 by it's authors.
# Copyright 2022-2024 by it's authors.
# Some rights reserved, see README and LICENSE.

import re
Expand Down

0 comments on commit a897c59

Please sign in to comment.