Skip to content

Commit

Permalink
Prepare release 2.4.0 (#138)
Browse files Browse the repository at this point in the history
* Code headers updated

* Changelog updated

* Versions

* Added license section

* Updated translations

* Updated transifex settings
  • Loading branch information
ramonski authored Mar 10, 2023
1 parent e238025 commit 4947cef
Showing 50 changed files with 1,547 additions and 590 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -526,3 +526,18 @@ that the results of all models (Analysis Requests) will be rendered in columns
side by side.

<img src="static/10_multi_default_by_column_template.png" alt="senaite.impress:MultiDefaultByColumn.pt" />


## License

**SENAITE.IMPRESS** Copyright (C) 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](https://github.com/senaite/senaite.impress/blob/master/LICENSE)
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
4 changes: 2 additions & 2 deletions docs/About.rst
Original file line number Diff line number Diff line change
@@ -88,8 +88,8 @@ Installation Requirements

The following versions are required for SENAITE IMPRESS:

- Plone 5.2.9
- senaite.lims >= 2.3.0
- Plone 5.2.11
- senaite.lims >= 2.4.0


.. _Plone 5: https://docs.plone.org/manage/installing/installation.html
2 changes: 1 addition & 1 deletion docs/Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2.4.0 (unreleased)
2.4.0 (2023-03-10)
------------------

- #136 Change default browserlayer
2 changes: 1 addition & 1 deletion src/senaite/__init__.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

try:
2 changes: 1 addition & 1 deletion src/senaite/impress/__init__.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import logging
19 changes: 19 additions & 0 deletions src/senaite/impress/actions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.
18 changes: 18 additions & 0 deletions src/senaite/impress/actions/providers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
from datetime import datetime
18 changes: 18 additions & 0 deletions src/senaite/impress/adapters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
from senaite.impress import senaiteMessageFactory as _
2 changes: 1 addition & 1 deletion src/senaite/impress/ajax.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import inspect
2 changes: 1 addition & 1 deletion src/senaite/impress/analysisrequest/__init__.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.
2 changes: 1 addition & 1 deletion src/senaite/impress/analysisrequest/model.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import itertools
2 changes: 1 addition & 1 deletion src/senaite/impress/analysisrequest/reportview.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from collections import Iterable
19 changes: 19 additions & 0 deletions src/senaite/impress/browser/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.
19 changes: 19 additions & 0 deletions src/senaite/impress/browser/publish/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.
18 changes: 18 additions & 0 deletions src/senaite/impress/browser/publish/content.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from collections import OrderedDict

19 changes: 19 additions & 0 deletions src/senaite/impress/browser/viewlets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.
18 changes: 18 additions & 0 deletions src/senaite/impress/browser/viewlets/content.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
from plone.app.layout.viewlets import ViewletBase
19 changes: 19 additions & 0 deletions src/senaite/impress/browser/viewlets/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from zope.viewlet.interfaces import IViewletManager


18 changes: 18 additions & 0 deletions src/senaite/impress/browser/viewlets/languageselector.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.app.i18n.locales.browser.selector import LanguageSelector
from plone.app.layout.viewlets import ViewletBase
2 changes: 1 addition & 1 deletion src/senaite/impress/browser/viewlets/resources.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.app.layout.viewlets import ViewletBase
18 changes: 18 additions & 0 deletions src/senaite/impress/browser/viewlets/setupbutton.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.IMPRESS.
#
# SENAITE.IMPRESS is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
from bika.lims.permissions import ManageBika
2 changes: 1 addition & 1 deletion src/senaite/impress/config.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from collections import OrderedDict
2 changes: 1 addition & 1 deletion src/senaite/impress/controlpanel.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.app.registry.browser.controlpanel import ControlPanelFormWrapper
2 changes: 1 addition & 1 deletion src/senaite/impress/decorators.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import json
2 changes: 1 addition & 1 deletion src/senaite/impress/exceptions.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from zope.globalrequest import getRequest
2 changes: 1 addition & 1 deletion src/senaite/impress/interfaces.py
Original file line number Diff line number Diff line change
@@ -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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims.interfaces import IBikaLIMS
5 changes: 2 additions & 3 deletions src/senaite/impress/locales/.tx/config
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[main]
host = https://www.transifex.com

[senaite-impress.senaite]
[o:senaite:p:senaite-impress:r:senaite]
file_filter = <lang>/LC_MESSAGES/senaite.impress.po
host = https://www.transifex.com
source_file = senaite.impress.pot
source_file = en/LC_MESSAGES/senaite.impress.po
source_lang = en
type = PO
Loading

0 comments on commit 4947cef

Please sign in to comment.