From ba84fc7003e56969f007a021114358ebd4fff29e Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Thu, 24 Dec 2020 14:21:34 +1100 Subject: [PATCH] Test check list, and cosmetic changes. --- ReleaseTestCheckupList-v-2.1.md | 32 ++++++++++++++++---------------- dbLifeLog/main.cnf | 14 ++++++++++---- htdocs/cgi-bin/config.cgi | 8 ++------ htdocs/cgi-bin/main.cgi | 24 +++++++++++++----------- 4 files changed, 41 insertions(+), 37 deletions(-) diff --git a/ReleaseTestCheckupList-v-2.1.md b/ReleaseTestCheckupList-v-2.1.md index b2e1898..3b7e220 100644 --- a/ReleaseTestCheckupList-v-2.1.md +++ b/ReleaseTestCheckupList-v-2.1.md @@ -4,27 +4,27 @@ ### Page Display/Functionality -- ☐ Menu, Links, interaction working. -- ☐ Show/Hide forms, menu working. -- ☐ Log number displayed per page ($REC_LIMIT), forward, back, top, end. -- ☐ Calculations are correct. -- ☐ Test look and feel on different browsers. -- ☐ Check Export select, sum selected. -- ☐ Date Diff button. -- ☐ Select All, Unselect All. -- ☐ Delete Selected. +- ☑ Menu, Links, interaction working. +- ☑ Show/Hide forms, menu working. +- ☑ Log number displayed per page ($REC_LIMIT), forward, back, top, end. +- ☑ Calculations are correct. +- ☑ Test look and feel on different browsers. +- ☑ Check Export select, sum selected. +- ☑ Date Diff button. +- ☑ Select All, Unselect All. +- ☑ Delete Selected. ### Log Form - ☑ Date,log,category entry, validation. - ☑ Log entry time zone, and order, properly displayed. - ☑ Help clouds, display and position. -- ☐ Sticky log entries working and showing on top. +- ☑ Sticky log entries working and showing on top. ### Search Form -- ☐ Date dialogs showing. +- ☑ Date dialogs showing. - ☐ Each View button working, page getting into view mode. - ☐ Keywords dropdown assist working. - ☐ Categories included and excluded with key words narrowing working. @@ -37,11 +37,11 @@ ### Configuration Check main.cnf -- ☐ Autologin works. -- ☐ Auto Timezone setting. -- ☐ Timezone Mapping. -- ☐ Backup disabled/enabled works. -- ☐ Database source change works. +- ☑ Autologin works. +- ☑ Auto Timezone setting. +- ☑ Timezone Mapping. +- ☑ Backup disabled/enabled works. +- ☑ Database source change works. - ☐ Central database external users access works. --- diff --git a/dbLifeLog/main.cnf b/dbLifeLog/main.cnf index 79f0cb2..3134a38 100644 --- a/dbLifeLog/main.cnf +++ b/dbLifeLog/main.cnf @@ -3,16 +3,22 @@ This is the main configuration file for the LifeLog applications settings. https://github.com/wbudic/LifeLog This is an Open Source License project -> https://choosealicense.com/licenses/isc/ -Credential format:< , don't enable here using AUTO_LOGIN option bellow, use config in app. + +# Credential format:< , to enable AUTO_LOGIN option bellow, + the config in app, has to also be enabled. < # BACKUP_ENABLED -> Enable (1), disable (0) backups to be restored from config page. < # Default database driver prefix, is SQLite. + +Remove -> '!' prefix to tag name, to enable, +and override any previously set from now on, top to end of file approach. + < -# ProgresSQL DB driver. Remove -> '!' prefix to tag name, to enable, and override the above SQLite one. +# ProgresSQL DB driver. < # LOG actual variable size limit, - 1024 default, 128 minimum value. -< +< # Set the following to an database name, with external managed multiple users, that are to connect to a single database. # Users have to be externally set, and alias is then used for their userid to be able to login. (Add user roles to AUTH table). @@ -27,7 +33,7 @@ Credential format:< , don't enable here using AU # Public records view feature only, it doesn't allow new log entries to be added and have pin point searching of all existing. <#File,System log and Event. # Following is similar to AUTO_LOGIN setting above, and must be set. -< +< < $inpRestore
- +

CSV File Format

Notice: (Obsolete feature, use not recommended!) @@ -1031,14 +1031,10 @@ sub backup { my $pipe = "tar czf - ".Settings::logPath().'main.cnf' ." ". Settings::dbFile()." | openssl enc -e -des-ede3-cfb -salt -S ".Settings->CIPHER_KEY." -pass pass:$pass-$alias -out ".Settings::logPath().$ball." 2>/dev/null"; my $rez = `$pipe`; - #print $cgi->header; - #print $cgi->start_html; print $cgi->header(-charset=>"UTF-8", -type=>"application/octet-stream", -attachment=>$ball); open (my $TAR, "<", Settings::logPath().$ball) or die "Failed creating backup -> $ball"; while(<$TAR>){print $_;} close $TAR; - - #print $cgi->end_html; exit; } diff --git a/htdocs/cgi-bin/main.cgi b/htdocs/cgi-bin/main.cgi index eb3eb1d..24193e4 100755 --- a/htdocs/cgi-bin/main.cgi +++ b/htdocs/cgi-bin/main.cgi @@ -738,7 +738,7 @@ if($isPUBViewMode){ } else{ $log_output .= <<_TXT; -Show All hidden with ➔ +Show All hidden ➔ @@ -753,7 +753,7 @@ $log_output .= <<_TXT;       - + @@ -892,9 +892,10 @@ $log_output .= qq(
View by Category: + -