From: Andrea Zagli Date: Sat, 2 Dec 2017 15:47:33 +0000 (+0100) Subject: Rinominato in albonline. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=5df1fd5bb45eca5a856dd8d36aa5cb85a9d7626c;p=albonline%2Fbe Rinominato in albonline. --- diff --git a/.gitignore b/.gitignore index 680d8bf..d328ab1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ *.o *~ -messi.exe -src/messi +albonline.exe +src/albonline COPYING INSTALL Makefile @@ -16,12 +16,12 @@ config.sub configure data/Makefile data/Makefile.in -data/messi/Makefile -data/messi/Makefile.in -data/messi/form/Makefile -data/messi/form/Makefile.in -data/messi/gui/Makefile -data/messi/gui/Makefile.in +data/albonline/Makefile +data/albonline/Makefile.in +data/albonline/form/Makefile +data/albonline/form/Makefile.in +data/albonline/gui/Makefile +data/albonline/gui/Makefile.in depcomp install-sh missing diff --git a/autogen.sh b/autogen.sh index f6026b6..984fffe 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -PKG_NAME="messi" +PKG_NAME="albonline" (test -f $srcdir/configure.ac \ && test -d $srcdir/src \ diff --git a/config.h.in b/config.h.in index 22d07be..c28712d 100644 --- a/config.h.in +++ b/config.h.in @@ -9,6 +9,14 @@ /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT diff --git a/configure.ac b/configure.ac index 6bbe05e..1334c57 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ m4_define(min, 0) m4_define(mic, 2) AC_PREREQ([2.61]) -AC_INIT([messi], [maj.min.mic], [azagli@libero.it]) +AC_INIT([albonline], [maj.min.mic], [azagli@libero.it]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS([config.h]) @@ -22,7 +22,7 @@ AC_CANONICAL_SYSTEM AC_PROG_CC # Checks for libraries. -PKG_CHECK_MODULES([MESSI], [gtk+-3.0 >= 3.0.0 +PKG_CHECK_MODULES([ALBONLINE], [gtk+-3.0 >= 3.0.0 libzakconfi libgtkform >= 0.5.0 libgtkformui >= 0.5.0 @@ -33,8 +33,8 @@ PKG_CHECK_MODULES([MESSI], [gtk+-3.0 >= 3.0.0 libzakaudit >= 0.5.0 libreptool >= 0.5.0]) -AC_SUBST(MESSI_CFLAGS) -AC_SUBST(MESSI_LIBS) +AC_SUBST(ALBONLINE_CFLAGS) +AC_SUBST(ALBONLINE_LIBS) # Checks for header files. @@ -45,7 +45,7 @@ AC_SUBST(MESSI_LIBS) dnl ****************************** dnl Translations dnl ****************************** -GETTEXT_PACKAGE=ambulanti +GETTEXT_PACKAGE=albonline AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The prefix for our gettext translation domains.]) @@ -75,12 +75,12 @@ AC_SUBST(V_MICRO, mic) AC_CONFIG_FILES([ Makefile data/Makefile - data/messi/Makefile - data/messi/form/Makefile - data/messi/gui/Makefile + data/albonline/Makefile + data/albonline/form/Makefile + data/albonline/gui/Makefile docs/Makefile - docs/messi/Makefile - docs/messi/examples/Makefile + docs/albonline/Makefile + docs/albonline/examples/Makefile src/Makefile ]) diff --git a/data/Makefile.am b/data/Makefile.am index 9c88079..024ef85 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1 +1 @@ -SUBDIRS = messi +SUBDIRS = albonline diff --git a/data/albonline/Makefile.am b/data/albonline/Makefile.am new file mode 100644 index 0000000..93b52d7 --- /dev/null +++ b/data/albonline/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = form gui diff --git a/data/albonline/form/Makefile.am b/data/albonline/form/Makefile.am new file mode 100644 index 0000000..14ee06f --- /dev/null +++ b/data/albonline/form/Makefile.am @@ -0,0 +1,10 @@ +formdir = $(datadir)/$(PACKAGE)/form + +form_DATA = \ + atto.form \ + attoallegato.form \ + tipoatto.form \ + trovaatti.form \ + trovaregistro.form + +EXTRA_DIST = $(form_DATA) diff --git a/data/albonline/form/atto.form b/data/albonline/form/atto.form new file mode 100644 index 0000000..50fe20f --- /dev/null +++ b/data/albonline/form/atto.form @@ -0,0 +1,75 @@ + + + + atti
+ + + + t + t + + + + + + t + + + + + + + SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint + + + + t + + + + + + t + + + + + + + SELECT nome FROM uffici WHERE id = ##key0::gint + + + + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + t + now + + + + + + date + %d/%m/%Y + t + now + + + + + + + +
diff --git a/data/albonline/form/attoallegato.form b/data/albonline/form/attoallegato.form new file mode 100644 index 0000000..03428d2 --- /dev/null +++ b/data/albonline/form/attoallegato.form @@ -0,0 +1,38 @@ + + + + atto_allegati
+ + + + t + t + + + + + + + + + + t + + + + + + + + + + date + %d/%m/%Y + + + + + + + +
diff --git a/data/albonline/form/tipoatto.form b/data/albonline/form/tipoatto.form new file mode 100644 index 0000000..1961f25 --- /dev/null +++ b/data/albonline/form/tipoatto.form @@ -0,0 +1,17 @@ + + + + tipi_atto
+ + + + t + t + + + + + + + +
diff --git a/data/albonline/form/trovaatti.form b/data/albonline/form/trovaatti.form new file mode 100644 index 0000000..5a87312 --- /dev/null +++ b/data/albonline/form/trovaatti.form @@ -0,0 +1,62 @@ + + + + + + + + + + + + SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint + + + + + + + + + + + + + + + SELECT nome FROM uffici WHERE id = ##key0::gint + + + + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + diff --git a/data/albonline/form/trovaregistro.form b/data/albonline/form/trovaregistro.form new file mode 100644 index 0000000..34f6d44 --- /dev/null +++ b/data/albonline/form/trovaregistro.form @@ -0,0 +1,81 @@ + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + + + + + + + SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint + + + + + + + + + + + + + + + SELECT nome FROM uffici WHERE id = ##key0::gint + + + + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + date + %d/%m/%Y + + + + + + + + + diff --git a/data/albonline/gui/Makefile.am b/data/albonline/gui/Makefile.am new file mode 100644 index 0000000..1f9ad52 --- /dev/null +++ b/data/albonline/gui/Makefile.am @@ -0,0 +1,5 @@ +guidir = $(datadir)/$(PACKAGE)/gui + +gui_DATA = $(PACKAGE).gui + +EXTRA_DIST = $(gui_DATA) diff --git a/data/albonline/gui/albonline.gui b/data/albonline/gui/albonline.gui new file mode 100644 index 0000000..58f6814 --- /dev/null +++ b/data/albonline/gui/albonline.gui @@ -0,0 +1,2568 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + False + Atti - Gestione albonline + + + True + False + 5 + vertical + 5 + + + True + False + <b>Atti - Albo Pretorio</b> + True + + + False + True + 0 + + + + + True + True + etched-in + + + True + True + lstore_atti + True + 1 + + + + + + ID + + + + 0 + + + + + + + Numero + + + + 1 + + + + + + + Tipo + + + + 2 + + + + + + + Oggetto + + + + 3 + + + + + + + Ufficio + + + + 4 + + + + + + + Data ricezione + + + + 5 + + + + + + + Data inizio pubblicazione + + + + 6 + + + + + + + Data fine pubblicazione + + + + 7 + + + + + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-new + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + _Pubblica + True + True + True + True + + + False + False + 3 + + + + + _Esporta + True + True + True + True + + + False + False + 4 + + + + + gtk-find + True + True + True + True + + + False + False + 5 + + + + + gtk-cancel + True + True + True + True + + + False + False + 6 + + + + + gtk-ok + True + True + True + True + + + False + False + 7 + + + + + False + True + 2 + + + + + + + + + + + + + + + + + + + + + False + Atto - Gestione albonline + True + center-on-parent + 600 + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + ID + + + 0 + 0 + + + + + True + False + start + True + lbl_id + + + 1 + 0 + + + + + True + True + 10 + • + False + False + + + 1 + 1 + + + + + True + False + + + 1 + 2 + + + + + True + True + 255 + • + False + False + + + 1 + 3 + + + + + True + True + 10 + • + False + False + + + 1 + 5 + + + + + True + True + 10 + • + False + False + + + 1 + 6 + + + + + True + True + 10 + • + False + False + + + 1 + 7 + + + + + True + True + etched-in + + + True + True + + + + + 1 + 8 + + + + + True + False + 0 + + + True + False + 5 + 5 + + + True + True + etched-in + + + True + True + lstore_atto_allegati + False + True + 0 + + + + + + Titolo + + + + 1 + + + + + + + Descrizione + + + + 2 + + + + + + + + + True + True + 0 + + + + + True + False + vertical + 5 + start + + + gtk-new + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + gtk-open + True + True + True + True + + + False + False + 3 + + + + + False + True + 1 + + + + + + + True + False + <b>Allegati</b> + True + + + + + 0 + 9 + 2 + + + + + True + False + + + 1 + 4 + + + + + True + False + start + Numero + + + 0 + 1 + + + + + True + False + start + Tipo + + + 0 + 2 + + + + + True + False + start + Oggetto + + + 0 + 3 + + + + + True + False + start + Ufficio + + + 0 + 4 + + + + + True + False + start + Data ricezione + + + 0 + 5 + + + + + True + False + start + Data inizio pubblicazione + + + 0 + 6 + + + + + True + False + start + Data fine pubblicazione + + + 0 + 7 + + + + + True + False + start + start + Note + + + 0 + 8 + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + + + False + False + 1 + + + + + Salva e _chiudi + True + True + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + Registro Albo Pretorio - Gestione albonline + + + True + False + 5 + vertical + 5 + + + True + False + <b>Registro - Albo Pretorio</b> + True + + + False + True + 0 + + + + + True + True + etched-in + + + True + True + lstore_registro + False + True + 1 + + + + + + ID + + + + 0 + + + + + + + Data + + + + 9 + + + + + + + Azione + + + + 8 + + + + + + + Numero + + + + 1 + + + + + + + Tipo + + + + 2 + + + + + + + Oggetto + + + + 3 + + + + + + + Ufficio + + + + 4 + + + + + + + Data ricezione + + + + 5 + + + + + + + Data inizio pubblicazione + + + + 6 + + + + + + + Data fine pubblicazione + + + + 7 + + + + + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-open + True + True + True + True + + + False + False + 0 + + + + + _Ratifica + True + True + True + True + + + False + False + 1 + + + + + De_pubblica + True + True + True + True + + + False + False + 2 + + + + + _Esporta + True + True + True + True + + + False + False + 3 + + + + + gtk-find + True + True + True + True + + + False + False + 4 + + + + + gtk-cancel + True + True + True + True + + + False + False + 5 + + + + + gtk-ok + True + True + True + True + + + False + False + 6 + + + + + False + True + 2 + + + + + + + + + + + + + + + False + Tipi atto - Gestione albonline + True + center-on-parent + 500 + 350 + True + + + True + True + 6 + vertical + 5 + + + True + False + <b>Tipi atto</b> + True + + + False + True + 0 + + + + + True + True + etched-in + + + True + True + lstore_tipi_atto + False + True + 1 + + + + + + ID + + + 1 + + + 0 + + + + + + + Descrizione + + + + 1 + + + + + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-new + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + gtk-cancel + True + True + True + True + + + False + False + 3 + + + + + gtk-ok + True + True + True + True + + + False + False + 4 + + + + + False + True + 2 + + + + + + + False + Allegato - Amministrazione aperta + True + center-on-parent + 480 + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + True + lbl_id + + + 1 + 0 + + + + + True + True + 255 + ● + True + False + False + + + 1 + 2 + + + + + True + True + etched-in + + + True + True + + + + + 1 + 4 + + + + + True + True + 10 + ● + True + False + False + + + 1 + 3 + + + + + True + True + 255 + ● + True + False + False + + + 1 + 1 + + + + + True + False + 0 + + + True + False + 12 + + + + + + + + True + False + <b>File</b> + True + + + + + 0 + 5 + 2 + + + + + False + lbl_id_atti + + + 1 + 6 + + + + + True + False + start + Titolo + + + 0 + 1 + + + + + True + False + start + Descrizione + + + 0 + 2 + + + + + True + False + start + Data documento + + + 0 + 3 + + + + + True + False + start + start + Note + + + 0 + 4 + + + + + True + False + start + ID + + + 0 + 0 + + + + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + True + True + + + False + False + 1 + + + + + Salva e _chiudi + True + True + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + + + False + Gestione albonline + center + 600 + 450 + + + + True + False + vertical + + + True + False + + + True + False + _File + True + + + True + False + + + gtk-quit + True + False + True + True + + + + + + + + + + True + False + _Visualizza + True + + + True + False + + + True + False + _Albo pretorio + True + + + True + False + + + True + False + _Atti + True + + + + + + True + False + _Registro + True + + + + + + + + + + + + + + True + False + _Tabelle + True + + + True + False + + + True + False + Ti_pi atto + True + + + + + + + + + + True + False + A_iuto + True + + + True + False + + + gtk-about + True + False + True + True + + + + + + + + + + False + True + 0 + + + + + True + False + + + + + + True + True + 1 + + + + + True + False + 2 + + + False + True + 2 + + + + + + + False + 5 + Informazioni su... + True + center-on-parent + True + normal + w_main + Gestione Albonline + 0.0.2 + Copyright © 2013-2016 Andrea Zagli <azagli@libero.it> + Andrea Zagli <azagli@libero.it> + image-missing + + + True + False + vertical + 2 + + + True + False + end + + + False + True + end + 0 + + + + + + + + + + False + Tipo atto - Gestione albonline + True + center-on-parent + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + ID + + + 0 + 0 + + + + + True + False + start + True + lbl_id + + + 1 + 0 + + + + + True + True + 150 + ● + True + False + False + + + 1 + 1 + + + + + True + False + start + Descrizione + + + 0 + 1 + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + True + True + + + False + False + 1 + + + + + Salva e _chiudi + True + True + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + + + False + Trova atti - Gestione albonline + True + 450 + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + Tipo + + + 0 + 1 + + + + + True + False + True + + + 1 + 1 + + + + + True + False + True + + + 1 + 3 + + + + + True + False + 5 + + + True + True + 10 + ● + False + False + + + True + True + 0 + + + + + True + False + start + a data + + + False + True + 1 + + + + + True + True + 10 + ● + False + False + + + True + True + 2 + + + + + 1 + 5 + + + + + True + True + True + 10 + • + False + False + + + 1 + 0 + + + + + True + False + 5 + + + True + True + 10 + ● + False + False + + + True + True + 0 + + + + + True + False + start + a data + + + False + True + 1 + + + + + True + True + 10 + ● + False + False + + + True + True + 2 + + + + + 1 + 4 + + + + + True + True + 255 + • + False + False + + + 1 + 2 + + + + + True + False + start + Numero + + + 0 + 0 + + + + + True + False + start + Oggetto + + + 0 + 2 + + + + + True + False + start + Ufficio + + + 0 + 3 + + + + + True + False + start + Pubblicazione - da data + + + 0 + 5 + + + + + True + False + start + Ricezione - da data + + + 0 + 4 + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-clear + True + True + True + True + + + False + False + 0 + + + + + gtk-cancel + True + True + True + True + + + False + False + 1 + + + + + gtk-ok + True + True + True + True + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + + + False + Trova atti nel registro - Gestione albonline + True + 450 + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + Tipo + + + 0 + 2 + + + + + True + False + True + + + 1 + 2 + + + + + True + False + True + + + 1 + 4 + + + + + True + False + start + Ufficio + + + 0 + 4 + + + + + True + False + start + Pubblicazione - da data + + + 0 + 6 + + + + + True + False + 5 + + + True + True + 10 + ● + False + False + + + True + True + 0 + + + + + True + False + start + a data + + + False + True + 1 + + + + + True + True + 10 + ● + False + False + + + True + True + 2 + + + + + 1 + 6 + + + + + True + False + start + Numero + + + 0 + 1 + + + + + True + True + 10 + • + False + False + + + 1 + 1 + + + + + True + False + 5 + + + True + True + 10 + ● + False + False + + + True + True + 0 + + + + + True + False + start + a data + + + False + True + 1 + + + + + True + True + 10 + ● + False + False + + + True + True + 2 + + + + + 1 + 5 + + + + + True + True + 255 + • + False + False + + + 1 + 3 + + + + + True + False + True + 5 + + + True + True + 10 + ● + False + False + + + True + True + 0 + + + + + True + False + a data + + + False + True + 1 + + + + + True + True + 10 + ● + False + False + + + True + True + 2 + + + + + 1 + 0 + + + + + True + True + False + True + + + 1 + 7 + + + + + True + False + start + Azione - da data + + + 0 + 0 + + + + + True + False + start + Oggetto + + + 0 + 3 + + + + + True + False + start + Ricezione - da data + + + 0 + 5 + + + + + True + False + start + Da ratificare + + + 0 + 7 + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-clear + True + True + True + True + + + False + False + 0 + + + + + gtk-cancel + True + True + True + True + + + False + False + 1 + + + + + gtk-ok + True + True + True + True + True + True + + + False + False + 2 + + + + + False + True + 1 + + + + + + diff --git a/data/messi/Makefile.am b/data/messi/Makefile.am deleted file mode 100644 index 93b52d7..0000000 --- a/data/messi/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = form gui diff --git a/data/messi/form/Makefile.am b/data/messi/form/Makefile.am deleted file mode 100644 index 14ee06f..0000000 --- a/data/messi/form/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -formdir = $(datadir)/$(PACKAGE)/form - -form_DATA = \ - atto.form \ - attoallegato.form \ - tipoatto.form \ - trovaatti.form \ - trovaregistro.form - -EXTRA_DIST = $(form_DATA) diff --git a/data/messi/form/atto.form b/data/messi/form/atto.form deleted file mode 100644 index 50fe20f..0000000 --- a/data/messi/form/atto.form +++ /dev/null @@ -1,75 +0,0 @@ - - - - atti
- - - - t - t - - - - - - t - - - - - - - SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint - - - - t - - - - - - t - - - - - - - SELECT nome FROM uffici WHERE id = ##key0::gint - - - - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - t - now - - - - - - date - %d/%m/%Y - t - now - - - - - - - -
diff --git a/data/messi/form/attoallegato.form b/data/messi/form/attoallegato.form deleted file mode 100644 index 03428d2..0000000 --- a/data/messi/form/attoallegato.form +++ /dev/null @@ -1,38 +0,0 @@ - - - - atto_allegati
- - - - t - t - - - - - - - - - - t - - - - - - - - - - date - %d/%m/%Y - - - - - - - -
diff --git a/data/messi/form/tipoatto.form b/data/messi/form/tipoatto.form deleted file mode 100644 index 1961f25..0000000 --- a/data/messi/form/tipoatto.form +++ /dev/null @@ -1,17 +0,0 @@ - - - - tipi_atto
- - - - t - t - - - - - - - -
diff --git a/data/messi/form/trovaatti.form b/data/messi/form/trovaatti.form deleted file mode 100644 index 5a87312..0000000 --- a/data/messi/form/trovaatti.form +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint - - - - - - - - - - - - - - - SELECT nome FROM uffici WHERE id = ##key0::gint - - - - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - diff --git a/data/messi/form/trovaregistro.form b/data/messi/form/trovaregistro.form deleted file mode 100644 index 34f6d44..0000000 --- a/data/messi/form/trovaregistro.form +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - - - - - - - SELECT descrizione FROM tipi_atto WHERE id = ##key0::gint - - - - - - - - - - - - - - - SELECT nome FROM uffici WHERE id = ##key0::gint - - - - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - date - %d/%m/%Y - - - - - - - - - diff --git a/data/messi/gui/Makefile.am b/data/messi/gui/Makefile.am deleted file mode 100644 index 1ecdc05..0000000 --- a/data/messi/gui/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -guidir = $(datadir)/$(PACKAGE)/gui - -gui_DATA = messi.gui - -EXTRA_DIST = $(gui_DATA) diff --git a/data/messi/gui/messi.gui b/data/messi/gui/messi.gui deleted file mode 100644 index eddcf77..0000000 --- a/data/messi/gui/messi.gui +++ /dev/null @@ -1,2568 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - False - Atti - Gestione messi notificatori - - - True - False - 5 - vertical - 5 - - - True - False - <b>Atti - Albo Pretorio</b> - True - - - False - True - 0 - - - - - True - True - etched-in - - - True - True - lstore_atti - True - 1 - - - - - - ID - - - - 0 - - - - - - - Numero - - - - 1 - - - - - - - Tipo - - - - 2 - - - - - - - Oggetto - - - - 3 - - - - - - - Ufficio - - - - 4 - - - - - - - Data ricezione - - - - 5 - - - - - - - Data inizio pubblicazione - - - - 6 - - - - - - - Data fine pubblicazione - - - - 7 - - - - - - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - _Pubblica - True - True - True - True - - - False - False - 3 - - - - - _Esporta - True - True - True - True - - - False - False - 4 - - - - - gtk-find - True - True - True - True - - - False - False - 5 - - - - - gtk-cancel - True - True - True - True - - - False - False - 6 - - - - - gtk-ok - True - True - True - True - - - False - False - 7 - - - - - False - True - 2 - - - - - - - - - - - - - - - - - - - - - False - Atto - Gestione messi notificatori - True - center-on-parent - 600 - True - - - True - False - 5 - vertical - 5 - - - True - False - 5 - 5 - - - True - False - start - ID - - - 0 - 0 - - - - - True - False - start - True - lbl_id - - - 1 - 0 - - - - - True - True - 10 - • - False - False - - - 1 - 1 - - - - - True - False - - - 1 - 2 - - - - - True - True - 255 - • - False - False - - - 1 - 3 - - - - - True - True - 10 - • - False - False - - - 1 - 5 - - - - - True - True - 10 - • - False - False - - - 1 - 6 - - - - - True - True - 10 - • - False - False - - - 1 - 7 - - - - - True - True - etched-in - - - True - True - - - - - 1 - 8 - - - - - True - False - 0 - - - True - False - 5 - 5 - - - True - True - etched-in - - - True - True - lstore_atto_allegati - False - True - 0 - - - - - - Titolo - - - - 1 - - - - - - - Descrizione - - - - 2 - - - - - - - - - True - True - 0 - - - - - True - False - vertical - 5 - start - - - gtk-new - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - gtk-open - True - True - True - True - - - False - False - 3 - - - - - False - True - 1 - - - - - - - True - False - <b>Allegati</b> - True - - - - - 0 - 9 - 2 - - - - - True - False - - - 1 - 4 - - - - - True - False - start - Numero - - - 0 - 1 - - - - - True - False - start - Tipo - - - 0 - 2 - - - - - True - False - start - Oggetto - - - 0 - 3 - - - - - True - False - start - Ufficio - - - 0 - 4 - - - - - True - False - start - Data ricezione - - - 0 - 5 - - - - - True - False - start - Data inizio pubblicazione - - - 0 - 6 - - - - - True - False - start - Data fine pubblicazione - - - 0 - 7 - - - - - True - False - start - start - Note - - - 0 - 8 - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - - - False - False - 1 - - - - - Salva e _chiudi - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - Registro Albo Pretorio - Gestione messi notificatori - - - True - False - 5 - vertical - 5 - - - True - False - <b>Registro - Albo Pretorio</b> - True - - - False - True - 0 - - - - - True - True - etched-in - - - True - True - lstore_registro - False - True - 1 - - - - - - ID - - - - 0 - - - - - - - Data - - - - 9 - - - - - - - Azione - - - - 8 - - - - - - - Numero - - - - 1 - - - - - - - Tipo - - - - 2 - - - - - - - Oggetto - - - - 3 - - - - - - - Ufficio - - - - 4 - - - - - - - Data ricezione - - - - 5 - - - - - - - Data inizio pubblicazione - - - - 6 - - - - - - - Data fine pubblicazione - - - - 7 - - - - - - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-open - True - True - True - True - - - False - False - 0 - - - - - _Ratifica - True - True - True - True - - - False - False - 1 - - - - - De_pubblica - True - True - True - True - - - False - False - 2 - - - - - _Esporta - True - True - True - True - - - False - False - 3 - - - - - gtk-find - True - True - True - True - - - False - False - 4 - - - - - gtk-cancel - True - True - True - True - - - False - False - 5 - - - - - gtk-ok - True - True - True - True - - - False - False - 6 - - - - - False - True - 2 - - - - - - - - - - - - - - - False - Tipi atto - Gestione messi notificatori - True - center-on-parent - 500 - 350 - True - - - True - True - 6 - vertical - 5 - - - True - False - <b>Tipi atto</b> - True - - - False - True - 0 - - - - - True - True - etched-in - - - True - True - lstore_tipi_atto - False - True - 1 - - - - - - ID - - - 1 - - - 0 - - - - - - - Descrizione - - - - 1 - - - - - - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - gtk-cancel - True - True - True - True - - - False - False - 3 - - - - - gtk-ok - True - True - True - True - - - False - False - 4 - - - - - False - True - 2 - - - - - - - False - Allegato - Amministrazione aperta - True - center-on-parent - 480 - True - - - True - False - 5 - vertical - 5 - - - True - False - 5 - 5 - - - True - False - start - True - lbl_id - - - 1 - 0 - - - - - True - True - 255 - ● - True - False - False - - - 1 - 2 - - - - - True - True - etched-in - - - True - True - - - - - 1 - 4 - - - - - True - True - 10 - ● - True - False - False - - - 1 - 3 - - - - - True - True - 255 - ● - True - False - False - - - 1 - 1 - - - - - True - False - 0 - - - True - False - 12 - - - - - - - - True - False - <b>File</b> - True - - - - - 0 - 5 - 2 - - - - - False - lbl_id_atti - - - 1 - 6 - - - - - True - False - start - Titolo - - - 0 - 1 - - - - - True - False - start - Descrizione - - - 0 - 2 - - - - - True - False - start - Data documento - - - 0 - 3 - - - - - True - False - start - start - Note - - - 0 - 4 - - - - - True - False - start - ID - - - 0 - 0 - - - - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - True - True - - - False - False - 1 - - - - - Salva e _chiudi - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - - False - Gestione messi notificatori - center - 600 - 450 - - - - True - False - vertical - - - True - False - - - True - False - _File - True - - - True - False - - - gtk-quit - True - False - True - True - - - - - - - - - - True - False - _Visualizza - True - - - True - False - - - True - False - _Albo pretorio - True - - - True - False - - - True - False - _Atti - True - - - - - - True - False - _Registro - True - - - - - - - - - - - - - - True - False - _Tabelle - True - - - True - False - - - True - False - Ti_pi atto - True - - - - - - - - - - True - False - A_iuto - True - - - True - False - - - gtk-about - True - False - True - True - - - - - - - - - - False - True - 0 - - - - - True - False - - - - - - True - True - 1 - - - - - True - False - 2 - - - False - True - 2 - - - - - - - False - 5 - Informazioni su... - True - center-on-parent - True - normal - w_main - Gestione Messi Notificatori - 0.0.2 - Copyright © 2013-2016 Andrea Zagli <azagli@libero.it> - Andrea Zagli <azagli@libero.it> - image-missing - - - True - False - vertical - 2 - - - True - False - end - - - False - True - end - 0 - - - - - - - - - - False - Tipo atto - Gestione messi notificatori - True - center-on-parent - True - - - True - False - 5 - vertical - 5 - - - True - False - 5 - 5 - - - True - False - start - ID - - - 0 - 0 - - - - - True - False - start - True - lbl_id - - - 1 - 0 - - - - - True - True - 150 - ● - True - False - False - - - 1 - 1 - - - - - True - False - start - Descrizione - - - 0 - 1 - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - True - True - - - False - False - 1 - - - - - Salva e _chiudi - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - - False - Trova atti - Gestione messi notificatori - True - 450 - True - - - True - False - 5 - vertical - 5 - - - True - False - 5 - 5 - - - True - False - start - Tipo - - - 0 - 1 - - - - - True - False - True - - - 1 - 1 - - - - - True - False - True - - - 1 - 3 - - - - - True - False - 5 - - - True - True - 10 - ● - False - False - - - True - True - 0 - - - - - True - False - start - a data - - - False - True - 1 - - - - - True - True - 10 - ● - False - False - - - True - True - 2 - - - - - 1 - 5 - - - - - True - True - True - 10 - • - False - False - - - 1 - 0 - - - - - True - False - 5 - - - True - True - 10 - ● - False - False - - - True - True - 0 - - - - - True - False - start - a data - - - False - True - 1 - - - - - True - True - 10 - ● - False - False - - - True - True - 2 - - - - - 1 - 4 - - - - - True - True - 255 - • - False - False - - - 1 - 2 - - - - - True - False - start - Numero - - - 0 - 0 - - - - - True - False - start - Oggetto - - - 0 - 2 - - - - - True - False - start - Ufficio - - - 0 - 3 - - - - - True - False - start - Pubblicazione - da data - - - 0 - 5 - - - - - True - False - start - Ricezione - da data - - - 0 - 4 - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-clear - True - True - True - True - - - False - False - 0 - - - - - gtk-cancel - True - True - True - True - - - False - False - 1 - - - - - gtk-ok - True - True - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - - False - Trova atti nel registro - Gestione messi notificatori - True - 450 - True - - - True - False - 5 - vertical - 5 - - - True - False - 5 - 5 - - - True - False - start - Tipo - - - 0 - 2 - - - - - True - False - True - - - 1 - 2 - - - - - True - False - True - - - 1 - 4 - - - - - True - False - start - Ufficio - - - 0 - 4 - - - - - True - False - start - Pubblicazione - da data - - - 0 - 6 - - - - - True - False - 5 - - - True - True - 10 - ● - False - False - - - True - True - 0 - - - - - True - False - start - a data - - - False - True - 1 - - - - - True - True - 10 - ● - False - False - - - True - True - 2 - - - - - 1 - 6 - - - - - True - False - start - Numero - - - 0 - 1 - - - - - True - True - 10 - • - False - False - - - 1 - 1 - - - - - True - False - 5 - - - True - True - 10 - ● - False - False - - - True - True - 0 - - - - - True - False - start - a data - - - False - True - 1 - - - - - True - True - 10 - ● - False - False - - - True - True - 2 - - - - - 1 - 5 - - - - - True - True - 255 - • - False - False - - - 1 - 3 - - - - - True - False - True - 5 - - - True - True - 10 - ● - False - False - - - True - True - 0 - - - - - True - False - a data - - - False - True - 1 - - - - - True - True - 10 - ● - False - False - - - True - True - 2 - - - - - 1 - 0 - - - - - True - True - False - True - - - 1 - 7 - - - - - True - False - start - Azione - da data - - - 0 - 0 - - - - - True - False - start - Oggetto - - - 0 - 3 - - - - - True - False - start - Ricezione - da data - - - 0 - 5 - - - - - True - False - start - Da ratificare - - - 0 - 7 - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-clear - True - True - True - True - - - False - False - 0 - - - - - gtk-cancel - True - True - True - True - - - False - False - 1 - - - - - gtk-ok - True - True - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - diff --git a/docs/Makefile.am b/docs/Makefile.am index 9c88079..024ef85 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1 +1 @@ -SUBDIRS = messi +SUBDIRS = albonline diff --git a/docs/albonline.sql b/docs/albonline.sql new file mode 100644 index 0000000..91f51a2 --- /dev/null +++ b/docs/albonline.sql @@ -0,0 +1,146 @@ +-- +-- PostgreSQL database dump +-- + +-- Dumped from database version 8.4.15 +-- Dumped by pg_dump version 9.2.2 +-- Started on 2013-02-19 13:42:16 + +SET statement_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = off; +SET check_function_bodies = false; +SET client_min_messages = warning; +SET escape_string_warning = off; + +-- +-- TOC entry 454 (class 2612 OID 16386) +-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: - +-- + +CREATE OR REPLACE PROCEDURAL LANGUAGE plpgsql; + + +SET search_path = public, pg_catalog; + +SET default_with_oids = false; + +-- +-- TOC entry 140 (class 1259 OID 592769) +-- Name: atti; Type: TABLE; Schema: public; Owner: - +-- + +CREATE TABLE atti ( + id integer NOT NULL, + numero character varying(10) DEFAULT ''::character varying, + id_tipi_atto integer DEFAULT 0, + oggetto character varying(255) DEFAULT ''::character varying, + id_uffici integer DEFAULT 0, + ricezione_data date, + pubblicazione_inizio_data date, + pubblicazione_fine_data date, + note text DEFAULT ''::text, + status character varying(1) DEFAULT ''::character varying +); + + +-- +-- TOC entry 141 (class 1259 OID 592781) +-- Name: atto_allegati; Type: TABLE; Schema: public; Owner: - +-- + +CREATE TABLE atto_allegati ( + id integer NOT NULL, + id_atti integer, + titolo character varying(255) DEFAULT ''::character varying, + descrizione character varying DEFAULT ''::bpchar, + data_documento date, + note text DEFAULT ''::text, + percorso character varying(255) DEFAULT ''::character varying, + contenuto integer, + data_file timestamp without time zone, + dimensione_file bigint, + status character varying(1) DEFAULT ''::character varying +); + + +-- +-- TOC entry 143 (class 1259 OID 592804) +-- Name: registro; Type: TABLE; Schema: public; Owner: - +-- + +CREATE TABLE registro ( + id integer NOT NULL, + id_atti integer, + azione integer DEFAULT 0, + azione_data timestamp without time zone, + note text DEFAULT ''::text +); + + +-- +-- TOC entry 1814 (class 0 OID 0) +-- Dependencies: 143 +-- Name: COLUMN registro.azione; Type: COMMENT; Schema: public; Owner: - +-- + +COMMENT ON COLUMN registro.azione IS '1 - pubblicato +2 - respinto +3 - depubblicato +4 - ratificato'; + + +-- +-- TOC entry 142 (class 1259 OID 592792) +-- Name: tipi_atto; Type: TABLE; Schema: public; Owner: - +-- + +CREATE TABLE tipi_atto ( + id integer NOT NULL, + descrizione character varying(255) DEFAULT ''::character varying, + status character varying(1) DEFAULT ''::character varying +); + + +-- +-- TOC entry 1801 (class 2606 OID 592798) +-- Name: atti_pkey; Type: CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY atti + ADD CONSTRAINT atti_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 1803 (class 2606 OID 592800) +-- Name: atto_allegati_pkey; Type: CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY atto_allegati + ADD CONSTRAINT atto_allegati_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 1807 (class 2606 OID 592808) +-- Name: registro_pkey; Type: CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY registro + ADD CONSTRAINT registro_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 1805 (class 2606 OID 592802) +-- Name: tipi_atto_pkey; Type: CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY tipi_atto + ADD CONSTRAINT tipi_atto_pkey PRIMARY KEY (id); + + +-- Completed on 2013-02-19 13:42:17 + +-- +-- PostgreSQL database dump complete +-- + diff --git a/docs/albonline/Makefile.am b/docs/albonline/Makefile.am new file mode 100644 index 0000000..aee2d7b --- /dev/null +++ b/docs/albonline/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = examples diff --git a/docs/albonline/examples/Makefile.am b/docs/albonline/examples/Makefile.am new file mode 100644 index 0000000..ac79821 --- /dev/null +++ b/docs/albonline/examples/Makefile.am @@ -0,0 +1,6 @@ +albonline_examplesdir = $(docdir)/examples + +albonline_examples_DATA = \ + albonline.conf + +EXTRA_DIST = $(albonline_examples_DATA) diff --git a/docs/albonline/examples/albonline.conf b/docs/albonline/examples/albonline.conf new file mode 100644 index 0000000..fb36f07 --- /dev/null +++ b/docs/albonline/examples/albonline.conf @@ -0,0 +1,27 @@ +[DB_TERRITORIO] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=territorio + +[ZAKAUTHO_TERRITORIO] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz + +[DB_ORGANIGRAMMA] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=organigramma + +[ZAKAUTHO_ORGANIGRAMMA] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz + +[libzakauthe] +plugin=zakauthedb + +[libzakauthe/libzakauthedb/db] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autedb + +[ZAKAUTHO] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz + +[ZAKAUDIT] +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=audit + +[DB] +pg_cnc_string=host=localhost dbname=albonline user=postgres password=postgres +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=albonline diff --git a/docs/messi.sql b/docs/messi.sql deleted file mode 100644 index 91f51a2..0000000 --- a/docs/messi.sql +++ /dev/null @@ -1,146 +0,0 @@ --- --- PostgreSQL database dump --- - --- Dumped from database version 8.4.15 --- Dumped by pg_dump version 9.2.2 --- Started on 2013-02-19 13:42:16 - -SET statement_timeout = 0; -SET client_encoding = 'UTF8'; -SET standard_conforming_strings = off; -SET check_function_bodies = false; -SET client_min_messages = warning; -SET escape_string_warning = off; - --- --- TOC entry 454 (class 2612 OID 16386) --- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: - --- - -CREATE OR REPLACE PROCEDURAL LANGUAGE plpgsql; - - -SET search_path = public, pg_catalog; - -SET default_with_oids = false; - --- --- TOC entry 140 (class 1259 OID 592769) --- Name: atti; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE atti ( - id integer NOT NULL, - numero character varying(10) DEFAULT ''::character varying, - id_tipi_atto integer DEFAULT 0, - oggetto character varying(255) DEFAULT ''::character varying, - id_uffici integer DEFAULT 0, - ricezione_data date, - pubblicazione_inizio_data date, - pubblicazione_fine_data date, - note text DEFAULT ''::text, - status character varying(1) DEFAULT ''::character varying -); - - --- --- TOC entry 141 (class 1259 OID 592781) --- Name: atto_allegati; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE atto_allegati ( - id integer NOT NULL, - id_atti integer, - titolo character varying(255) DEFAULT ''::character varying, - descrizione character varying DEFAULT ''::bpchar, - data_documento date, - note text DEFAULT ''::text, - percorso character varying(255) DEFAULT ''::character varying, - contenuto integer, - data_file timestamp without time zone, - dimensione_file bigint, - status character varying(1) DEFAULT ''::character varying -); - - --- --- TOC entry 143 (class 1259 OID 592804) --- Name: registro; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE registro ( - id integer NOT NULL, - id_atti integer, - azione integer DEFAULT 0, - azione_data timestamp without time zone, - note text DEFAULT ''::text -); - - --- --- TOC entry 1814 (class 0 OID 0) --- Dependencies: 143 --- Name: COLUMN registro.azione; Type: COMMENT; Schema: public; Owner: - --- - -COMMENT ON COLUMN registro.azione IS '1 - pubblicato -2 - respinto -3 - depubblicato -4 - ratificato'; - - --- --- TOC entry 142 (class 1259 OID 592792) --- Name: tipi_atto; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE tipi_atto ( - id integer NOT NULL, - descrizione character varying(255) DEFAULT ''::character varying, - status character varying(1) DEFAULT ''::character varying -); - - --- --- TOC entry 1801 (class 2606 OID 592798) --- Name: atti_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY atti - ADD CONSTRAINT atti_pkey PRIMARY KEY (id); - - --- --- TOC entry 1803 (class 2606 OID 592800) --- Name: atto_allegati_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY atto_allegati - ADD CONSTRAINT atto_allegati_pkey PRIMARY KEY (id); - - --- --- TOC entry 1807 (class 2606 OID 592808) --- Name: registro_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY registro - ADD CONSTRAINT registro_pkey PRIMARY KEY (id); - - --- --- TOC entry 1805 (class 2606 OID 592802) --- Name: tipi_atto_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY tipi_atto - ADD CONSTRAINT tipi_atto_pkey PRIMARY KEY (id); - - --- Completed on 2013-02-19 13:42:17 - --- --- PostgreSQL database dump complete --- - diff --git a/docs/messi/Makefile.am b/docs/messi/Makefile.am deleted file mode 100644 index aee2d7b..0000000 --- a/docs/messi/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = examples diff --git a/docs/messi/examples/Makefile.am b/docs/messi/examples/Makefile.am deleted file mode 100644 index 85b7f89..0000000 --- a/docs/messi/examples/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -messi_examplesdir = $(docdir)/examples - -messi_examples_DATA = \ - messi.conf - -EXTRA_DIST = $(messi_examples_DATA) diff --git a/docs/messi/examples/messi.conf b/docs/messi/examples/messi.conf deleted file mode 100644 index 08703da..0000000 --- a/docs/messi/examples/messi.conf +++ /dev/null @@ -1,27 +0,0 @@ -[DB_TERRITORIO] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=territorio - -[ZAKAUTHO_TERRITORIO] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz - -[DB_ORGANIGRAMMA] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=organigramma - -[ZAKAUTHO_ORGANIGRAMMA] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz - -[libzakauthe] -plugin=zakauthedb - -[libzakauthe/libzakauthedb/db] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autedb - -[ZAKAUTHO] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autoz - -[ZAKAUDIT] -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=audit - -[DB] -pg_cnc_string=host=localhost dbname=messi user=postgres password=postgres -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=messi diff --git a/po/Makefile.in.in b/po/Makefile.in.in index e6c32cb..027f656 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -93,7 +93,7 @@ all-yes: $(CATALOGS) all-no: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) - $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) \ + $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --from-code=UTF-8 \ --msgid-bugs-address='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&keywords=I18N+L10N&component=general' \ --add-comments --keyword=_ --keyword=N_ \ --keyword=C_:1c,2 \ diff --git a/src/Makefile.am b/src/Makefile.am index a3184c3..1ebb04e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,11 @@ guidir = $(datadir)/$(PACKAGE)/gui formdir = $(datadir)/$(PACKAGE)/form -AM_CPPFLAGS = $(MESSI_CFLAGS) \ +AM_CPPFLAGS = $(ALBONLINE_CFLAGS) \ -DGUIDIR=\""$(guidir)"\" \ -DFORMDIR=\""$(formdir)"\" -LIBS = $(MESSI_LIBS) \ +LIBS = $(ALBONLINE_LIBS) \ -export-dynamic if PLATFORM_WIN32 @@ -16,9 +16,9 @@ AM_CPPFLAGS += -I`pg_config --includedir` LIBS += -L`pg_config --libdir` -lpq endif -bin_PROGRAMS = messi +bin_PROGRAMS = albonline -messi_SOURCES = \ +albonline_SOURCES = \ commons.c \ commons.h \ main.c \ @@ -38,4 +38,3 @@ messi_SOURCES = \ trovaatti.h \ trovaregistro.c \ trovaregistro.h - \ No newline at end of file diff --git a/src/atti.c b/src/atti.c index 0e63029..89ea378 100644 --- a/src/atti.c +++ b/src/atti.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include @@ -213,7 +213,7 @@ Atti atti_carica (a); - ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "messi_rw"); + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "albonline_rw"); if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button4")), FALSE); diff --git a/src/atto.c b/src/atto.c index 1b3d7b3..3fd0235 100644 --- a/src/atto.c +++ b/src/atto.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include #include @@ -260,7 +260,7 @@ Atto atto_carica (a); } - ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "messi_rw"); + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "albonline_rw"); if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_form_set_sensitive_by_name (priv->form, FALSE, @@ -724,7 +724,7 @@ atto_on_btn_allegato_apri_clicked (GtkButton *button, filename_orig = g_path_get_basename (gdaex_data_model_get_field_value_stringify_at (dm, 0, "percorso")); error = NULL; - fin = g_file_open_tmp (g_strdup_printf ("messi-XXXXXX-%s", + fin = g_file_open_tmp (g_strdup_printf ("albonline-XXXXXX-%s", filename_orig), &filename_tmp, &error); if (fin < 1 || error != NULL) diff --git a/src/attoallegato.c b/src/attoallegato.c index 8726127..3af49b4 100644 --- a/src/attoallegato.c +++ b/src/attoallegato.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2012 Andrea Zagli +/* + * Copyright (C) 2012-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include "attoallegato.h" @@ -122,7 +122,7 @@ AttoAllegato *atto_allegato_new (Commons *commons, guint id, guint id_atto) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; AttoAllegato *a = ATTO_ALLEGATO (g_object_new (atto_allegato_get_type (), NULL)); @@ -194,8 +194,8 @@ AttoAllegato atto_allegato_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "opengov_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "opengov_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button126")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button31")), FALSE); diff --git a/src/commons.h b/src/commons.h index ae62bd5..e2192a0 100644 --- a/src/commons.h +++ b/src/commons.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include diff --git a/src/main.c b/src/main.c index c5d0640..26359df 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2016 Andrea Zagli + * Copyright (C) 2009-2017 Andrea Zagli * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include @@ -55,11 +55,11 @@ main_on_before_execute (gpointer instance, gpointer gda_stmt, gpointer user_data if (gda_statement_get_statement_type (stmt) == GDA_SQL_STATEMENT_UPDATE) { - zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_BEFORE_UPDATE, commons->utente, "messi", stmt); + zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_BEFORE_UPDATE, commons->utente, "albonline", stmt); } else if (gda_statement_get_statement_type (stmt) == GDA_SQL_STATEMENT_DELETE) { - zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_DELETE, commons->utente, "messi", stmt); + zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_DELETE, commons->utente, "albonline", stmt); } } } @@ -73,11 +73,11 @@ main_on_after_execute (gpointer instance, gpointer gda_stmt, gpointer user_data) if (gda_statement_get_statement_type (stmt) == GDA_SQL_STATEMENT_INSERT) { - zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_INSERT, commons->utente, "messi", stmt); + zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_INSERT, commons->utente, "albonline", stmt); } else if (gda_statement_get_statement_type (stmt) == GDA_SQL_STATEMENT_UPDATE) { - zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_AFTER_UPDATE, commons->utente, "messi", stmt); + zak_audit_action_from_gdastatement (audit, ZAK_AUDIT_ACTION_AFTER_UPDATE, commons->utente, "albonline", stmt); } } } @@ -303,7 +303,7 @@ main (int argc, char *argv[]) #endif - commons->guifile = g_build_filename (commons->guidir, "messi.gui", NULL); + commons->guifile = g_build_filename (commons->guidir, "albonline.gui", NULL); commons->territorio_commons->guifile = g_build_filename (commons->territorio_commons->guidir, "territorio.gui", NULL); commons->organigramma_commons->guifile = g_build_filename (commons->organigramma_commons->guidir, "organigramma.gui", NULL); @@ -370,8 +370,8 @@ main (int argc, char *argv[]) return 0; } - if (!zak_autho_is_allowed (commons->autoz, commons->role_utente, zak_autho_get_resource_from_id (commons->autoz, "messi_ro"), FALSE) - && !zak_autho_is_allowed (commons->autoz, commons->role_utente, zak_autho_get_resource_from_id (commons->autoz, "messi_rw"), FALSE)) + if (!zak_autho_is_allowed (commons->autoz, commons->role_utente, zak_autho_get_resource_from_id (commons->autoz, "albonline_ro"), FALSE) + && !zak_autho_is_allowed (commons->autoz, commons->role_utente, zak_autho_get_resource_from_id (commons->autoz, "albonline_rw"), FALSE)) { g_critical ("Non si è autorizzati all'utilizzo di questa applicazione."); return 0; diff --git a/src/registro.c b/src/registro.c index 29e714b..156a232 100644 --- a/src/registro.c +++ b/src/registro.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include @@ -214,7 +214,7 @@ Registro registro_carica (a); - ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "messi_rw"); + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "albonline_rw"); if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { } @@ -254,7 +254,7 @@ registro_carica (Registro *registro) GtkTreeIter iter; - AutozIResource *ires1; + ZakAuthoIResource *ires1; GHashTable *ht_ufficio; GValue *gv_ufficio; diff --git a/src/tipiatto.c b/src/tipiatto.c index 172d477..65789d3 100644 --- a/src/tipiatto.c +++ b/src/tipiatto.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include "tipiatto.h" diff --git a/src/tipoatto.c b/src/tipoatto.c index 90f0bf4..d21acdb 100644 --- a/src/tipoatto.c +++ b/src/tipoatto.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2016 Andrea Zagli + * Copyright (C) 2013-2017 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include "tipoatto.h"