]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Test check list, and cosmetic changes.
authorWill Budicm <redacted>
Thu, 24 Dec 2020 03:21:34 +0000 (14:21 +1100)
committerWill Budicm <redacted>
Thu, 24 Dec 2020 03:21:34 +0000 (14:21 +1100)
ReleaseTestCheckupList-v-2.1.md
dbLifeLog/main.cnf
htdocs/cgi-bin/config.cgi
htdocs/cgi-bin/main.cgi

index b2e189845a2ce03c26e16eeae6708231e1b3dc42..3b7e220a525861b4ad99b81cb445dc31c12f1c70 100644 (file)
@@ -4,27 +4,27 @@
 
 ### Page Display/Functionality
 
-- &#9744; Menu, Links, interaction working.
-- &#9744; Show/Hide forms, menu working.
-- &#9744; Log number displayed per page ($REC_LIMIT), forward, back, top, end.
-- &#9744; Calculations are correct.
-- &#9744; Test look and feel on different browsers.
-- &#9744; Check Export select, sum selected.
-- &#9744; Date Diff button.
-- &#9744; Select All, Unselect All.
-- &#9744; Delete Selected.
+- &#9745; Menu, Links, interaction working.
+- &#9745; Show/Hide forms, menu working.
+- &#9745; Log number displayed per page ($REC_LIMIT), forward, back, top, end.
+- &#9745; Calculations are correct.
+- &#9745; Test look and feel on different browsers.
+- &#9745; Check Export select, sum selected.
+- &#9745; Date Diff button.
+- &#9745; Select All, Unselect All.
+- &#9745; Delete Selected.
 
 ### Log Form
 
 - &#9745; Date,log,category entry, validation.
 - &#9745; Log entry time zone, and order, properly displayed.
 - &#9745; Help clouds, display and position.
-- &#9744; Sticky log entries working and showing on top.
+- &#9745; Sticky log entries working and showing on top.
 
 
 ### Search Form
 
-- &#9744; Date dialogs showing.
+- &#9745; Date dialogs showing.
 - &#9744; Each View button working, page getting into view mode.
 - &#9744; Keywords dropdown assist working.
 - &#9744; Categories included and excluded with key words narrowing working.
 
 ### Configuration Check main.cnf
 
-- &#9744; Autologin works.
-- &#9744; Auto Timezone setting.
-- &#9744; Timezone Mapping.
-- &#9744; Backup disabled/enabled works.
-- &#9744; Database source change works.
+- &#9745; Autologin works.
+- &#9745; Auto Timezone setting.
+- &#9745; Timezone Mapping.
+- &#9745; Backup disabled/enabled works.
+- &#9745; Database source change works.
 - &#9744; Central database external users access works.
 
 ---
index 79f0cb2c8a505ac0611865d6f2d1f7cbad59fee1..3134a385ba20f79248d20897334c5b624c2c5fb7 100644 (file)
@@ -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:<<AUTO_LOGIN <{alias}/{password}> , don't enable here using AUTO_LOGIN option bellow, use config in app.
+
+# Credential format:<<AUTO_LOGIN <{alias}/{password}> , to enable AUTO_LOGIN option bellow,
+ the config in app, has to also be enabled.
 <<AUTO_LOGIN</>
 # BACKUP_ENABLED -> Enable (1), disable (0) backups to be restored from config page.
 <<BACKUP_ENABLED<1>
 # 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.
+
 <<!DBI_SOURCE<DBI:SQLite:>
-# ProgresSQL DB driver. Remove -> '!' prefix to tag name, to enable, and override the above SQLite one.
+# ProgresSQL DB driver. 
 <<!DBI_SOURCE<DBI:Pg:host=localhost;>
 # LOG actual variable size limit, - 1024 default, 128 minimum value. 
-<<DBI_LOG_VAR_SIZE<8024>
+<<!DBI_LOG_VAR_SIZE<8024>
 
 # 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:<<AUTO_LOGIN <{alias}/{password}> , 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.
 <<!PUBLIC_CATS<03,06,09>#File,System log and Event.
 # Following is similar to AUTO_LOGIN setting above, and must be set.
-<<!PUBLIC_LOGIN<admin/admin>
+<<!PUBLIC_LOGIN</>
 <<TIME_ZONE_MAP<
 Australia/Marsfield=Australia/Sydney
 Australia/Bondi=Australia/Sydney
index 5f88ba7d0e4dd42f6cd4a508e9945e78e57f5be0..fe2f679fcba1e1c0f6e57b33529b9cc9a1323aba 100755 (executable)
@@ -361,7 +361,7 @@ foreach $file (sort @backups){
 }
 if(length $bck_list == 0){
 $bck_list = '<p>Restore will bring back and merge log entries from the time of backup.</p>
-                        <input type="submit" name="Submit" value="Submit"/></td>
+                        </td>
                 </tr>';
 }
 else{
@@ -403,7 +403,7 @@ print qq(
                 <tr><td>
                 $inpRestore
                 <hr></td></tr>
-
+                </form>
                 <tr><td><H3>CSV File Format</H3> Notice: (<font color=red>Obsolete feature, use not recommended!</font>)</td></tr>
 
                 <tr style="border-left: 1px solid black;"><td>
@@ -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;
 
 }
index eb3eb1d63235746d4fd2d271ddb3c25c60778643..24193e42f134f4b410dafed91ad84e0cefaca431 100755 (executable)
@@ -738,7 +738,7 @@ if($isPUBViewMode){
 }
 else{
 $log_output .= <<_TXT;
-<tr class="r0" id="brw_row"><td colspan="2">Show All hidden with &#10132;
+<tr class="r0" id="brw_row"><td colspan="2" style="font-size:small;text-align:left;">Show All hidden &#10132;
 <a id="menu_close" href="#" onclick="return showAll();"><span  class="ui-icon ui-icon-heart" style="float:none;"></span></a>
 
 <a href="#top">&#x219F;</a></td>
@@ -753,7 +753,7 @@ $log_output .= <<_TXT;
     <input type="submit" value="Date Diff" onclick="return dateDiffSelected()"/>&nbsp;
     <input type="submit" value="Export" onclick="return exportSelected()"/>&nbsp;        
     <input type="submit" value="Print" onclick="return viewSelected()"/>&nbsp;
-    <input id="del_sel" type="submit" value="Delete"/>
+    <input id="del_sel" type="submit" value="Delete" onclick="display('Please Wait!')"/>
     </span>
 
 </td></tr>
@@ -892,9 +892,10 @@ $log_output .= qq(<form id="frm_srch" action="main.cgi"><TABLE class="tbl" borde
     <tr class="collpsd">
      <td align="right" style="width:20%">View by Category:</td>
      <td align="left">
+            <button class="bordered" data-dropdown="#dropdown-standard-v" style="margin: 0px; padding: 0; padding-right:8px;">
             <span id="lcat_v" class="ui-button">$catselected</span>
-            <button class="bordered" data-dropdown="#dropdown-standard-v">&#171;</button>
-            <div id="dropdown-standard-v" class="dropdown-menu        dropdown-anchor-left-center      dropdown-has-anchor">
+            &#171;</button>
+            <div id="dropdown-standard-v" class="dropdown-menu dropdown-anchor-left-center dropdown-has-anchor">
                         <table class="tbl">$td_cat</table>
             </div>
 
@@ -922,8 +923,9 @@ $log_output .= qq(<form id="frm_srch" action="main.cgi"><TABLE class="tbl" borde
      <td align="right">Exclude Category:</td>
      <td align="left">
 
+            <button class="bordered" data-dropdown="#dropdown-standard-x" style="margin: 0px; padding: 0; padding-right:8px;">
             <span id="lcat_x" class="ui-button">$xcatselected</span>
-            <button class="bordered" data-dropdown="#dropdown-standard-x">&#171;</button>
+            &#171;</button>
             <div id="dropdown-standard-x" class="dropdown-menu        dropdown-anchor-left-center      dropdown-has-anchor">
                         <table class="tbl">$td_cat</table>
             </div>
@@ -1207,26 +1209,26 @@ my $dbg = qq(--DEBUG OUTPUT--\n
             $tfId = 1;
         }
 
-        $vmode = "[In Page Mode]&nbsp;";
-        $vmode = "<font color='red'>[In View Mode]</font>&nbsp;" if$isInViewMode;
+        $vmode = qq(<span style="font-size:small;">[In Page Mode]</span>&nbsp;);
+        $vmode = qq(<span style="font-color:red;font-size:small">[In View Mode]</span>&nbsp;) if$isInViewMode;
         if($isPUBViewMode){
-           $log_output .=qq!<tr class="r$tfId" id="brw_row"><td>$vmode</td><td colspan="3"></td>!;
+           $log_output .=qq!<tr class="r$tfId" id="brw_row"><td style="text-align:left;">$vmode</td><td colspan="3"></td>!;
         }
         elsif($rec_limit == 0){
-            $log_output .= qq!<tr class="r$tfId" id="brw_row"><td>$vmode</td><td colspan="3">
+            $log_output .= qq!<tr class="r$tfId" id="brw_row"><td style="text-align:left;">$vmode</td><td colspan="3">
                                <input class="ui-button" type="button" onclick="submitTop($log_top);return false;" value="Back To Page View"/>!;
 
         }
         else{
                 if ($rs_cur < $log_top && $rs_prev && $rs_prev > 0 && $log_start > 0 && $rs_page > 0) {
 
-                    $log_output .= qq!<tr class="r$tfId" id="brw_row"><td>$vmode</td><td colspan="3"><input class="ui-button" type="button" onclick="submitTop($log_top);return false;" value="TOP"/>&nbsp;&nbsp;
+                    $log_output .= qq!<tr class="r$tfId" id="brw_row"><td style="text-align:left;">$vmode</td><td colspan="3"><input class="ui-button" type="button" onclick="submitTop($log_top);return false;" value="TOP"/>&nbsp;&nbsp;
                     <input type="hidden" value="$rs_prev"/>
                     <input class="ui-button" type="button" onclick="submitPrev($log_rc_prev, $rec_limit);return false;" value="&lsaquo;&lsaquo;&nbsp; Previous"/>&nbsp;&nbsp;!;
 
                 }
                 else {
-                    $log_output .= qq(<tr class="r$tfId" id="brw_row"><td>$vmode</td><td colspan="3"><i>Top</i>&nbsp;&nbsp;&nbsp;&nbsp;);
+                    $log_output .= qq(<tr class="r$tfId" id="brw_row"><td style="text-align:left;">$vmode</td><td colspan="3"><i>Top</i>&nbsp;&nbsp;&nbsp;&nbsp;);
                 }