[med-svn] [Git][med-team/gnumed-server][master] 5 commits: New upstream version 22.8
Andreas Tille
gitlab at salsa.debian.org
Wed Nov 13 14:52:36 GMT 2019
Andreas Tille pushed to branch master at Debian Med / gnumed-server
Commits:
2b035b29 by Andreas Tille at 2019-11-13T14:48:28Z
New upstream version 22.8
- - - - -
3865e888 by Andreas Tille at 2019-11-13T14:48:28Z
New upstream version
- - - - -
1fe77c73 by Andreas Tille at 2019-11-13T14:49:11Z
Update upstream source from tag 'upstream/22.8'
Update to upstream version '22.8'
with Debian dir d62aa909428e48652222998de9e4f8ff29caf588
- - - - -
6134d04a by Andreas Tille at 2019-11-13T14:49:36Z
Standards-Version: 4.4.1
- - - - -
a485529c by Andreas Tille at 2019-11-13T14:51:29Z
Upload to unstable
- - - - -
7 changed files:
- debian/changelog
- debian/control
- server/bootstrap/fixup_db-v22.conf
- server/bootstrap/update_db-v21_v22.conf
- server/doc/schema/gnumed-entire_schema.html
- + server/sql/v21-v22/fixups/v22-i18n-lang_funcs-fixup.sql
- server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+gnumed-server (22.8-1) unstable; urgency=medium
+
+ * New upstream version
+ * Standards-Version: 4.4.1
+
+ -- Andreas Tille <tille at debian.org> Wed, 13 Nov 2019 15:49:46 +0100
+
gnumed-server (22.7-1) unstable; urgency=medium
* New upstream version
=====================================
debian/control
=====================================
@@ -7,7 +7,7 @@ Priority: optional
Build-Depends: debhelper-compat (= 12),
python
Build-Depends-Indep: po-debconf
-Standards-Version: 4.4.0
+Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/med-team/gnumed-server
Vcs-Git: https://salsa.debian.org/med-team/gnumed-server.git
Homepage: http://www.gnumed.de
=====================================
server/bootstrap/fixup_db-v22.conf
=====================================
@@ -29,6 +29,7 @@ schema base directory = ../sql/v21-v22/fixups/
schema = $schema$
v22-ref-paperwork_templates-fixups.sql
v22-invoice_id_grants-fixup.sql
+v22-i18n-lang_funcs-fixup.sql
v22-release_notes-fixup.sql
$schema$
=====================================
server/bootstrap/update_db-v21_v22.conf
=====================================
@@ -161,6 +161,7 @@ schema base directory = ../sql/v21-v22/fixups/
schema = $schema$
v22-ref-paperwork_templates-fixups.sql
v22-invoice_id_grants-fixup.sql
+v22-i18n-lang_funcs-fixup.sql
v22-release_notes-fixup.sql
$schema$
=====================================
server/doc/schema/gnumed-entire_schema.html
=====================================
@@ -112,7 +112,7 @@
<body>
<!-- Primary Index -->
- <p><br><br>Dumped on 2019-09-13</p>
+ <p><br><br>Dumped on 2019-11-10</p>
<h1><a name="index">Index of database - gnumed_v22</a></h1>
<ul>
=====================================
server/sql/v21-v22/fixups/v22-i18n-lang_funcs-fixup.sql
=====================================
@@ -0,0 +1,56 @@
+-- ======================================================
+-- GNUmed fixed string internationalisation (SQL gettext)
+-- ======================================================
+-- force terminate + exit(3) on errors if non-interactive
+\set ON_ERROR_STOP 1
+
+-- =============================================
+drop function if exists i18n.set_curr_lang(text) cascade;
+
+create function i18n.set_curr_lang(text)
+ returns boolean
+ language 'plpgsql'
+ security definer
+ as '
+DECLARE
+ _lang ALIAS FOR $1;
+BEGIN
+ if exists(select pk from i18n.translations where lang = _lang) then
+ delete from i18n.curr_lang where user = SESSION_USER;
+ insert into i18n.curr_lang (lang, db_user) values (_lang, SESSION_USER);
+ return true;
+ end if;
+ raise notice ''Cannot set current language to [%]. No translations available.'', _lang;
+ return false;
+END;
+';
+
+comment on function i18n.set_curr_lang(text) is
+ 'set preferred language:
+ - for "current user"
+ - only if translations for this language are available';
+
+-- =============================================
+drop function if exists i18n.force_curr_lang(text) cascade;
+
+create function i18n.force_curr_lang(text)
+ returns boolean
+ language 'plpgsql'
+ security definer
+ as '
+DECLARE
+ _lang ALIAS FOR $1;
+BEGIN
+ raise notice ''Forcing current language to [%] without checking for translations..'', _lang;
+ delete from i18n.curr_lang where user = SESSION_USER;
+ insert into i18n.curr_lang (lang, db_user) values (_lang, SESSION_USER);
+ return true;
+END;
+';
+
+comment on function i18n.force_curr_lang(text) is
+ 'force preferred language to some language:
+ - for "current user"';
+
+-- --------------------------------------------------------------
+select gm.log_script_insertion('v22-i18n-lang_funcs-fixup.sql', '22.8');
=====================================
server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
=====================================
@@ -17,28 +17,19 @@ INSERT INTO dem.message_inbox (
) VALUES (
(select pk from dem.staff where db_user = 'any-doc'),
(select pk_type from dem.v_inbox_item_type where type = 'memo' and category = 'administrative'),
- 'Release Notes for GNUmed 1.7.7 (database v22.7)',
- 'GNUmed 1.7.7 Release Notes:
+ 'Release Notes for GNUmed 1.7.8 (database v22.8)',
+ 'GNUmed 1.7.8 Release Notes:
- 1.7.7
+ 1.7.8
-FIX: EMR/tree: exception on showing visual progress note
-FIX: lab/result EA: exception when no previous result available
-FIX: meds/substance EA: exception when no LOINC selected
-FIX: data/ATC: fix reference data import
-FIX: meds/dose EA: exception on saving
-FIX: meds/product EA: exception on creating new product
-FIX: dist: fix appdata.xml [thanks Andreas]
+FIX: billing: invoice ID template configuration [thanks Marc]
+FIX: config: top pane lab panel setting [thanks Jelle Mous]
+FIX: searching across active EMR [thanks Eberhard]
-NEW: configurable invoice ID template [thanks Marc]
+ 22.8
- 22.7
-
-IMPROVED: lab results plotting scripts for gnuplot
-IMPROVED: bills tables grants for invoice ID generation
-
-NEW: multi-results plotting script for gnuplot
+FIX: i18n.set_curr/force_curr_lang()
');
-- --------------------------------------------------------------
-select gm.log_script_insertion('v22-release_notes-fixup.sql', '22.7');
+select gm.log_script_insertion('v22-release_notes-fixup.sql', '22.8');
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/compare/2be250a9bc998fc7208fcca256c2af8071fa9997...a485529c7b3679114a0dffdc8b995f2a87a95018
--
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/compare/2be250a9bc998fc7208fcca256c2af8071fa9997...a485529c7b3679114a0dffdc8b995f2a87a95018
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191113/d66fc666/attachment-0001.html>
More information about the debian-med-commit
mailing list