Skip to content
Commits on Source (6)
......@@ -6,6 +6,14 @@
# rel-1-7-patches
------------------------------------------------
1.7.1
NEW: add bash completion script
IMPROVED: make DWV optional
IMPROVED: prerequisites check tool
IMPROVED: update timeline code to 1.17.0 release
1.7.0
NEW: link document to procedure
......@@ -1933,6 +1941,12 @@ FIX: missing cast to ::text in dem.date_trunc_utc() calls
# gnumed_v22
------------------------------------------------
22.1
IMPROVED: concurrency robustness of backup/restore scripts
22.0
NEW: revalidate constraints during database upgrade
NEW: deprecate gm-backup_* in favor of gm-backup
NEW: deprecate gm-restore_* in favor of gm-restore
......
......@@ -604,11 +604,12 @@ class cExportArea(object):
if u'DICOMDIR' in os.listdir(media_base_dir):
_html_start_data[u'browse_dicomdir'] = u'<li><a href="./DICOMDIR">%s</a></li>' % _(u'show DICOMDIR file')
# copy DWV into target dir
dwv_target_dir = os.path.join(media_base_dir, u'dwv')
gmTools.rmdir(dwv_target_dir)
dwv_src_dir = os.path.join(gmTools.gmPaths().local_base_dir, u'dwv4export')
if not os.path.isdir(dwv_src_dir):
dwv_src_dir = os.path.join(gmTools.gmPaths().system_app_data_dir, u'dwv4export')
if os.path.isdir(dwv_src_dir):
dwv_target_dir = os.path.join(media_base_dir, u'dwv')
gmTools.rmdir(dwv_target_dir)
try:
shutil.copytree(dwv_src_dir, dwv_target_dir)
_html_start_data[u'run_dicom_viewer'] = u'<li><a href="./dwv/viewers/mobile-local/index.html">%s</a></li>' % _(u'run Radiology Images (DICOM) Viewer')
......
......@@ -112,7 +112,7 @@
<body>
 
<!-- Primary Index -->
<p><br><br>Dumped on 2018-03-18</p>
<p><br><br>Dumped on 2018-04-05</p>
<h1><a name="index">Index of database - gnumed_v22</a></h1>
<ul>
......@@ -96,7 +96,7 @@ against. Please run GNUmed as a non-root user.
sys.exit(1)
#----------------------------------------------------------
current_client_version = u'1.7.0'
current_client_version = u'1.7.1'
current_client_branch = u'1.7'
_log = None
......
......@@ -21,9 +21,9 @@ TYPE_BETA = "beta"
TYPE_FINAL = ""
VERSION = (1, 17, 0)
TYPE = TYPE_DEV
REVISION_HASH = ""
REVISION_DATE = ""
TYPE = TYPE_FINAL
REVISION_HASH = "cb821d29f002"
REVISION_DATE = "2018-03-25"
def get_full_version():
......
......@@ -292,9 +292,10 @@ class TimelinePanelGuiCreator(wx.Panel):
menuid += 1
menu_definitions.append((_("Goto URL"), self._context_menu_on_goto_hyperlink_event, imp))
menu = wx.Menu()
mid = 0
for menu_definition in menu_definitions:
text, method, imp = menu_definition
menu_item = wx.MenuItem(menu, wx.NewId(), text)
menu_item = wx.MenuItem(menu, mid, text)
if imp is not None:
for menu_item in imp.GetMenuItems():
self.Bind(wx.EVT_MENU, method, id=menu_item.GetId())
......@@ -302,6 +303,7 @@ class TimelinePanelGuiCreator(wx.Panel):
else:
self.Bind(wx.EVT_MENU, method, id=menu_item.GetId())
menu.AppendItem(menu_item)
mid += 1
self.PopupMenu(menu)
menu.Destroy()
......
gnumed-client (1.7.1+dfsg-1) unstable; urgency=medium
* New upstream version
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.1.4
-- Andreas Tille <tille@debian.org> Thu, 12 Apr 2018 19:51:25 +0200
gnumed-client (1.7.0+dfsg-1) experimental; urgency=medium
* New upstream feature release
......
......@@ -12,9 +12,9 @@ Build-Depends: debhelper (>= 11~),
libjs-jquery,
libjs-jquery-livequery,
yui-compressor
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/gnumed-client.git
Vcs-Git: https://anonscm.debian.org/debian-med/gnumed-client.git
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/gnumed-client
Vcs-Git: https://salsa.debian.org/med-team/gnumed-client.git
Homepage: http://www.gnumed.de
Package: gnumed-client
......
......@@ -50,7 +50,7 @@ else:
import wxversion
print "found"
print " selecting unicode enabled version >= 2.8...",
wxversion.select(versions='2.8-unicode', optionsRequired=True)
wxversion.select(versions = ['3.0', '2.8-unicode'], optionsRequired = True)
print "success"
except ImportError:
missing = True
......@@ -86,18 +86,18 @@ except ImportError:
print " INFO : wxPython is available from http://www.wxpython.org"
print " INFO : on Mac OSX Panther you may have to use 'export DISPLAY=:0'"
print " uno...",
try:
import uno
print "found"
except ImportError:
missing = True
print ""
print " ERROR: uno not installed"
print " INFO : this is needed for form and letter handling"
print " INFO : GNUmed will work but you will be unable"
print " INFO : to use OpenOffice to write letters and"
print " INFO : fill in forms"
#print " uno...",
#try:
# import uno
# print "found"
#except ImportError:
# missing = True
# print ""
# print " ERROR: uno not installed"
# print " INFO : this is needed for form and letter handling"
# print " INFO : GNUmed will work but you will be unable"
# print " INFO : to use OpenOffice to write letters and"
# print " INFO : fill in forms"
print " Gnuplot...",
try:
......
......@@ -64,6 +64,7 @@ echo "make working with GNUmed more productive but"
echo "are not strictly required for standard operation."
read -p "Press <RETURN> key to continue."
echo "-------------------------------"
echo "Client tools:"
echo -n " 'file' command... "
BIN=`which file`
......@@ -170,7 +171,7 @@ echo -n " 'kprinter4' command... "
BIN=`which kprinter4`
if [ "x${BIN}x" == "xx" ]; then
echo ""
echo " INFO : You don't seem to have the 'kprinter' command installed."
echo " INFO : You don't seem to have the 'kprinter4' command installed."
echo " INFO : It is used to print files from KDE."
echo " INFO : On Windows it is not needed."
else
......@@ -259,7 +260,7 @@ BIN=`which iec16022`
if [ "x${BIN}x" == "xx" ]; then
echo ""
echo " INFO : You don't seem to have the 'iec16022' command installed."
echo " INFO : It can be used by GNUmed to create the datamatrix QR code"
echo " INFO : It can be used by GNUmed to create the datamatrix BMP code"
echo " INFO : of a text file from within GNUmed."
else
echo "found"
......@@ -345,6 +346,43 @@ else
echo "found"
fi
echo ""
read -p "Press <RETURN> key to continue."
echo "-------------------------------"
echo "Server tools:"
echo -n " 'tar' command... "
BIN=`which tar`
if [ "x${BIN}x" == "xx" ]; then
echo ""
echo " INFO : You don't seem to have the 'tar' command installed."
echo " INFO : It is used by GNUmed to backup databases."
else
echo "found"
fi
echo -n " 'bzip2' command... "
BIN=`which bzip2`
if [ "x${BIN}x" == "xx" ]; then
echo ""
echo " INFO : You don't seem to have the 'bzip2' command installed."
echo " INFO : It is used by GNUmed to backup databases."
else
echo "found"
fi
echo -n " 'flock' command... "
BIN=`which flock`
if [ "x${BIN}x" == "xx" ]; then
echo ""
echo " INFO : You don't seem to have the 'flock' command installed."
echo " INFO : It is used by GNUmed when backing up databases."
else
echo "found"
fi
#=================================================================
# obsolete
......
#!/bin/bash
# bash completions for GNUmed
_gnumed_completion()
{
COMPREPLY=()
OPTS="--quiet --debug --slave --override-schema-check --local-import --help --version -V -h -? --tool= --text-domain= --log-file= --conf-file= --lang-gettext= --ui= --wxp="
CURR="${COMP_WORDS[COMP_CWORD]}"
PREV="${COMP_WORDS[COMP_CWORD-1]}"
PREVPREV="${COMP_WORDS[COMP_CWORD-2]}"
case "${CURR}" in
"=")
case "${PREV}" in
"--tool")
TOOLS="check_enc_epi_xref export_pat_emr_structure"
COMPREPLY=($(compgen -W "${TOOLS}"))
return 0
;;
esac
;;
esac
case "${PREV}" in
"=")
case "${PREVPREV}" in
"--tool")
TOOLS="check_enc_epi_xref export_pat_emr_structure"
COMPREPLY=($(compgen -W "${TOOLS}" -- ${CURR}))
return 0
;;
esac
;;
esac
COMPREPLY=($(compgen -W "${OPTS}" -- ${CURR}))
return 0
}
complete -o nospace -F _gnumed_completion gnumed