Skip to content

Commit

Permalink
Release 1.0.0 (191011)
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Nov 10, 2019
1 parent 700e806 commit a56300d
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Changelog
=========

1.0.0 (unreleased)
------------------

First version
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
About
=====

This is an **EXPERIMENTAL PACKAGE, use at your own risk**

This package enables asynchronous tasks in Senaite to better handle concurrent
actions and processes when senaite's workload is high, especially for instances
with high-demand on writing to disk.
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@

from setuptools import setup, find_packages

version = "0.0.9"
version = "1.0.0"

setup(
name="senaite.queue",
version=version,
description="Asynchronous tasks add-on for SENAITE",
long_description=open("README.rst").read(),
long_description=open("README.rst").read() + "\n" +
open("CHANGES.rst").read() + "\n",
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
Expand All @@ -36,8 +37,8 @@
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords=['senaite', 'lims', 'opensource'],
author="SENAITE Foundation",
author_email="support@senaite.com",
author="Naralabs SL",
author_email="info@naralabs.com",
url="https://github.com/senaite/senaite.queue",
license="GPLv2",
packages=find_packages("src", exclude=["ez_setup"]),
Expand All @@ -48,7 +49,7 @@
install_requires=[
"setuptools",
"senaite.lims>=1.3.0",
"senaite.lims<2",
"senaite.lims<2.0.0",
"requests",
],
extras_require={
Expand Down
9 changes: 9 additions & 0 deletions src/senaite/queue/locales/.tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[main]
host = https://www.transifex.com

[senaite-queue]
file_filter = <lang>/LC_MESSAGES/senaite.queue.po
host = https://www.transifex.com
source_file = senaite.queue.pot
source_lang = en
type = PO
75 changes: 74 additions & 1 deletion src/senaite/queue/locales/en/LC_MESSAGES/senaite.queue.po
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: 2019-10-10 23:36+0000\n"
"POT-Creation-Date: 2019-11-10 12:47+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 All @@ -26,10 +26,75 @@ msgstr ""
msgid "Asynchronous tasks add-on for SENAITE"
msgstr ""

#: senaite/queue/controlpanel.py:35
msgid "Default number of objects that will be handled in a single task. A value of 0 disables queuing of tasks functionality at all, specific tasks below included."
msgstr ""

#: senaite/queue/controlpanel.py:34
msgid "Default number of objects to process per task"
msgstr ""

#: senaite/queue/views/worksheet.py:85
msgid "No analyses were added"
msgstr ""

#: senaite/queue/controlpanel.py:45
msgid "Number of analyses that will be handled in a single task when assigned to a worksheet. Overrides default's for action 'assign'. A value of 0 disables the queue for this specific action."
msgstr ""

#: senaite/queue/controlpanel.py:65
msgid "Number of analyses that will be handled in a single task when result is submitted. Overrides default's for 'submit' action. A value of 0 disables the queue for this specific action."
msgstr ""

#: senaite/queue/controlpanel.py:95
msgid "Number of analyses that will be handled in a single task when the analysis is rejected. Overrides default's for 'reject' action. A value of 0 disables the queue for this specific action"
msgstr ""

#: senaite/queue/controlpanel.py:85
msgid "Number of analyses that will be handled in a single task when the analysis is retracted. Overrides default's for 'retract' action. A value of 0 disables the queue for this specific action"
msgstr ""

#: senaite/queue/controlpanel.py:75
msgid "Number of analyses that will be handled in a single task when the analysis is verified. Overrides default's for 'reject' action. A value of 0 disables the queue for this specific action"
msgstr ""

#: senaite/queue/controlpanel.py:55
msgid "Number of analyses that will be handled in a single task when unassigned from a worksheet. Overrides default's for 'unassign' action. A value of 0 disables the queue for this specific action."
msgstr ""

#: senaite/queue/controlpanel.py:44
msgid "Number of analyses to assign per task"
msgstr ""

#: senaite/queue/controlpanel.py:94
msgid "Number of analyses to reject per task"
msgstr ""

#: senaite/queue/controlpanel.py:84
msgid "Number of analyses to retract per task"
msgstr ""

#: senaite/queue/controlpanel.py:64
msgid "Number of analyses to submit per task"
msgstr ""

#: senaite/queue/controlpanel.py:54
msgid "Number of analyses to unassign per task"
msgstr ""

#: senaite/queue/controlpanel.py:74
msgid "Number of analyses to verify per task"
msgstr ""

#: senaite/queue/controlpanel.py:105
msgid "Number of seconds to wait for a process in queue to be finished before being considered as failed. Failed processes will be enqueued again"
msgstr ""

#: senaite/queue/profiles/default/actionicons.xml
#: senaite/queue/profiles/default/controlpanel.xml
msgid "Queue Settings"
msgstr ""

#: senaite/queue/listing.py:51
msgid "Queued"
msgstr ""
Expand All @@ -38,6 +103,14 @@ msgstr ""
msgid "SENAITE QUEUE"
msgstr ""

#: senaite/queue/controlpanel.py:117
msgid "SENAITE QUEUE Settings"
msgstr ""

#: senaite/queue/controlpanel.py:104
msgid "Seconds to wait before unlock"
msgstr ""

#: senaite/queue/templates/queued_analyses_sample_viewlet.pt:17
msgid "analyses are being processed in background"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion src/senaite/queue/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
dependencies before installing this add-on own profile.
-->
<metadata>
<version>0.0.9</version>
<version>1.0.0</version>

<!-- Be sure to install the following dependencies if not yet installed -->
<dependencies>
Expand Down

0 comments on commit a56300d

Please sign in to comment.