Skip to content

Commit

Permalink
Merge pull request #27 from senaite/prepare-release-1.3.0
Browse files Browse the repository at this point in the history
Prepare release 1.3.0
  • Loading branch information
ramonski authored Mar 10, 2023
2 parents e598f9e + 98e4929 commit e42a021
Show file tree
Hide file tree
Showing 37 changed files with 98 additions and 40 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,18 @@ Each databox allows through the two icons in the upper right cornder to export
the results with the configured columns and order to Excel or CSV.

<img src="static/7_databox_excel_export.png" alt="Databox Excel Export" />


## License

**SENAITE.DATABOX** 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.databox/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.
2 changes: 1 addition & 1 deletion docs/Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1.3.0 (unreleased)
1.3.0 (2023-03-10)
------------------

- #26 Remove dependency to Products.TextIndexNG3 (test layer)
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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

try:
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/__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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/behaviors/__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 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/databox/behaviors/databox.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import ast
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/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 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/databox/browser/add.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.browser import add
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/edit.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.browser import edit
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/folder_view.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/form.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 2018-2022 by it's authors.
# Copyright 2018-2023 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/databox/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 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/databox/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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import os
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/view.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import collections
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/browser/viewlets/__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 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/databox/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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

PROJECTNAME = "senaite.databox"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/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 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/databox/content/databox.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.dexterity.content import Item
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/content/databoxfolder.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 2018-2022 by it's authors.
# Copyright 2018-2023 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/databox/converters.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from datetime import datetime
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from zope.interface import Interface
Expand Down
7 changes: 3 additions & 4 deletions src/senaite/databox/locales/.tx/config
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[main]
host = https://www.transifex.com

[senaite-databox.senaite]
[o:senaite:p:senaite-databox:r:senaite]
file_filter = <lang>/LC_MESSAGES/senaite.databox.po
host = https://www.transifex.com
source_file = senaite.databox.pot
source_file = en/LC_MESSAGES/senaite.databox.po
source_lang = en
type = PO
type = PO
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-06-10 20:02+0000\n"
"POT-Creation-Date: 2023-03-10 15:22+0000\n"
"PO-Revision-Date: 2020-07-09 07:13+0000\n"
"Last-Translator: Ramon Bartl <[email protected]>, 2020\n"
"Language-Team: German (https://www.transifex.com/senaite/teams/111490/de/)\n"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-06-10 20:02+0000\n"
"POT-Creation-Date: 2023-03-10 15:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
8 changes: 4 additions & 4 deletions src/senaite/databox/locales/senaite.databox.pot
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# --- PLEASE EDIT THE LINES BELOW CORRECTLY ---
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#--- PLEASE EDIT THE LINES BELOW CORRECTLY ---
#SOME DESCRIPTIVE TITLE.
#FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-06-10 20:02+0000\n"
"POT-Creation-Date: 2023-03-10 15:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/permissions.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

AddDataBox = "senaite.databox: Add DataBox"
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from senaite.databox import logger
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/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 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/databox/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 2018-2022 by it's authors.
# Copyright 2018-2023 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/databox/tests/__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 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/databox/tests/base.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from plone.app.testing import TEST_USER_ID
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/layers.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import os
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/tests/test_doctests.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

import doctest
Expand Down
19 changes: 19 additions & 0 deletions src/senaite/databox/upgrade/__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.DATABOX.
#
# SENAITE.DATABOX 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.
9 changes: 8 additions & 1 deletion src/senaite/databox/upgrade/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="senaite.impress">

<genericsetup:upgradeStep
title="Upgrade SENAITE DATABOX"
description="Upgrade to version 1.3.0"
source="1.2.0"
destination="1.3.0"
handler="senaite.databox.upgrade.handlers.run_all_upgradesteps"
profile="senaite.databox:default" />

<genericsetup:upgradeStep
title="Upgrade SENAITE DATABOX"
description="Upgrade to version 1.2.0"
sortkey="1"
source="*"
destination="1.2.0"
handler="senaite.databox.upgrade.handlers.run_all_upgradesteps"
Expand Down
18 changes: 18 additions & 0 deletions src/senaite/databox/upgrade/handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.DATABOX.
#
# SENAITE.DATABOX 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.databox import logger
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/databox/vocabularies.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 2018-2022 by it's authors.
# Copyright 2018-2023 by it's authors.
# Some rights reserved, see README and LICENSE.

from bika.lims import api
Expand Down

0 comments on commit e42a021

Please sign in to comment.