a0e9e14e3f
Cargo.toml: bump advotracker_client to version (0.1.6-alpha1)
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:29 +02:00
90869c8305
Lint updates: introduce documentation strings
...
* correctemitted missind strings emitted via 'missing_docs' macro
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:29 +02:00
05f6e13dae
advotrackerd: update head
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:29 +02:00
d0035ecebb
advotracker_db: update head
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:29 +02:00
9b6b128e59
advotracker_client: structure update consuming orbtk ( #448 )
...
* orbtk 0.3.1-alpha4 including merge #448
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:28 +02:00
541e516099
lib.rs: active warning for missing documentation strings
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:28 +02:00
dc463df476
twine: update i18n usage
...
* update to use latest twain crate
* activate feature vor serialization, deserialization (consuming 'serde')
* use (t!) macro from twain crate consuming i18n.rs
* i18n.rs is compiled via build.rs from source
* update docu hint in translation source
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 16:15:22 +02:00
5a21958325
send_ticketdata: update lettre usage
...
* update Cargo.toml to new lettre crate (v0.10.0-rc.3)
* use TEXT_PLAIN method
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-06-11 12:58:28 +02:00
e06545aa92
Update copyright and year
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-23 14:36:35 +02:00
9837ae0d0d
static: New index file for node handling
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:50:14 +02:00
b0b90c3d6b
Include new submodule names
...
* advotracker_db
* advotrackerd
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:49:11 +02:00
473c31d9ea
New assets
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:48:45 +02:00
a5981b31a1
Include SDL2 dynamic library (OS=Windows)
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:48:04 +02:00
f7a0a97f34
Introduce 'Windows' resource handling
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:47:33 +02:00
78be428e7d
Flatten create structure
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-05-21 12:46:33 +02:00
9ed395d04b
advotracker-client: more twine adaptions
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-22 23:50:59 +01:00
dd5d361116
advotracker_client: update build dependencies
...
* correction in build.rs: use rust edition 2018 syntax
* crate twine is a build dependency
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-21 21:43:37 +01:00
4a316b8080
advotracker_client: add i18n directory
...
* initial localization.ini: strings for `en` and `de`
2021-03-21 21:39:57 +01:00
067257e0dd
advotracker_client: adopt usage of crate twine
...
* i18n crate
* twine::build_translations(): generate the i18n.rs with all
language translation strings
* twine::build_translations_from_readers(): generates to t!() macro
readers: the INI files with the translation strings
* twine::t() consumes the strings
2021-03-21 21:20:54 +01:00
60a7fc2d84
crates: code cleanup
2021-03-21 19:32:34 +01:00
cff156c024
advotracker_client: introduce Windows icon handling
...
* include `windres` crate
* create a `build.rs`
* include a `hotline.svg` that is converted to advotracker.ico
using inkscape and imagemagick
* crate a `README.md`
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-18 11:06:36 +01:00
78851ebbcf
Cargo: move profile definitions to workspace root
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-10 09:58:58 +01:00
f6ac43816f
data:constants: correct callback_number bug
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-10 09:47:22 +01:00
2b4eb454cc
examples: insert sdl2_demo
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-10 09:19:14 +01:00
abe56741e8
widgets:ticketdata: correct mail_from address
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-10 09:18:24 +01:00
0202d4a34b
advotracker_client: bump version 0.1.5-alpha2
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 17:26:46 +01:00
520e0cb712
widget:ticketdata: error handling and button glyphs
...
* assign glyphs depending on action state
* feedback on send_ticketdata return code
* cleanup
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 17:24:07 +01:00
c555ce4d85
service:send_ticketdata: adapt alingnment of http mail and relay
...
* cleanup comments
* correct relay / credential handling
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 12:07:14 +01:00
a8f6ac6a37
services:send_ticketdata: correct relay authentication issues
...
* correct mail_from identifier
* correct mail_reply identifier
* correct mail_cc identifier
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 11:16:50 +01:00
8abdef6e44
widget: bump to 0.1.5-alpha2
...
* typo cleanup
* temporary disable mail-cc combobox
* correct mail_cc address
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 09:50:12 +01:00
a5dae6e397
advotrackerdb: update use reference after structure update
...
* binaries: reference advotrackerdb, not crate
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:12 +01:00
e03c5ab667
main: adapt window size
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:11 +01:00
d8e94513c3
widget:policycheck: enable ClearPolicyNumber
...
* new action button "Clear", "New ticket"
* enable needed send_message routine
* create action method
* update visibility state of involved view properties
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:11 +01:00
5a9965751a
advotracker: reorganize the project using a crate based structure
...
* advotracker: the framework project
* crate/advotrackerdb: implementation of the database backend
* crate/advotrackerd: implementation of the backend (daemon)
* crate/adovtracker: implementaton of the application (CLI and GUI)
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:11 +01:00
4c88167bef
advotracker: restructure project using crate tree
...
* advotracker: the framework crate
* crate/advotrackerdb: crate implementing the database backend
* crate/advotrackerd: the backend daemon
* crate/adovtracker: the application (CLI and GUI)
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:11 +01:00
1ce1d029e5
widget:ticketdata: bug correction for ComboBox
...
* always use 'TextBlock', since editing is not allowed
'TextBox ' also disturbs correct rendering
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:10 +01:00
2e927c8a6a
widget:ticketdata: implement ClearForm
...
* reset all children of a given form to clean initial state
* use `match` expression that compares the widget name,
that resolves to the widget type (here: TextBox)
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:32:10 +01:00
f3db69ce62
Cargo.toml: bump version to 0.1.5-alpha0
...
* include dependency to crate lettre
* include depenency to crate maud
* this version initially supports ticketdata dialo
* data can be send via Email
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-08 04:31:40 +01:00
55040e37cf
widget:global_state: remove usage of navigate
...
* this needs to be adopted to use event handler code
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-06 15:27:20 +01:00
ba3a6fb4d3
ticketdata: update ticketdata_view using widget builder
...
* create and handle items in combo boxes using list
and widget builder
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-06 15:08:57 +01:00
8184af8135
ticketdata: code cleanup
2021-03-06 15:08:57 +01:00
87cbf493a2
advotracker: updated localization strings and constants
...
* update due to customer request
* constants
* translation strings
* disable WIP menu widget
* labels used in Email submission
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-06 15:08:57 +01:00
4381c3d299
main_view: disable wip menu widget
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-06 15:08:57 +01:00
791b451d39
main: handle test_policy_number
...
* provide cli-flag `testPolicyNumber` as String
since viperus doesnt support u64
* handle stringconversion (String -> u64) inside main
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-04 07:07:01 +01:00
aeaafd8c57
widget:ticketdata: function extention to handle Email sending
...
* remap to use `policy code`
* adapt the constants
* start with clear_form()
* use service 'send_ticketdata' which crate lettre
* enable smtp authorization via credentilas
* support html using crate 'maud'
* provide the needed structures
* update the constants for property and entity assigns
* include send Email service (sendticketdata)
* send_ticketdata: include html maud modules
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-04 07:06:03 +01:00
1af299dc01
widget:policycheck: map to ID_POLICY_CHECK_POLICY_CODE
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-03 22:35:20 +01:00
bd6971d4d0
.gitmodules: update dead module path
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-03 16:32:33 +01:00
85fb4ceb16
advotracker-db: update to head
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-03 16:32:21 +01:00
a451b58ab4
widget:menu: deactivate requirement for new popup_code
...
* since new popup code is just in PR #304 , do not rely on its availibility
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-03 11:53:17 +01:00
b96c3c510f
widgets:main_view: update widget activation handling
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-03-03 11:51:50 +01:00