### 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.
### 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.
---
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).
# 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
}
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{
<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>
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;
}
}
else{
$log_output .= <<_TXT;
-<tr class="r0" id="brw_row"><td colspan="2">Show All hidden with ➔
+<tr class="r0" id="brw_row"><td colspan="2" style="font-size:small;text-align:left;">Show All hidden ➔
<a id="menu_close" href="#" onclick="return showAll();"><span class="ui-icon ui-icon-heart" style="float:none;"></span></a>
<a href="#top">↟</a></td>
<input type="submit" value="Date Diff" onclick="return dateDiffSelected()"/>
<input type="submit" value="Export" onclick="return exportSelected()"/>
<input type="submit" value="Print" onclick="return viewSelected()"/>
- <input id="del_sel" type="submit" value="Delete"/>
+ <input id="del_sel" type="submit" value="Delete" onclick="display('Please Wait!')"/>
</span>
</td></tr>
<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">«</button>
- <div id="dropdown-standard-v" class="dropdown-menu dropdown-anchor-left-center dropdown-has-anchor">
+ «</button>
+ <div id="dropdown-standard-v" class="dropdown-menu dropdown-anchor-left-center dropdown-has-anchor">
<table class="tbl">$td_cat</table>
</div>
<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">«</button>
+ «</button>
<div id="dropdown-standard-x" class="dropdown-menu dropdown-anchor-left-center dropdown-has-anchor">
<table class="tbl">$td_cat</table>
</div>
$tfId = 1;
}
- $vmode = "[In Page Mode] ";
- $vmode = "<font color='red'>[In View Mode]</font> " if$isInViewMode;
+ $vmode = qq(<span style="font-size:small;">[In Page Mode]</span> );
+ $vmode = qq(<span style="font-color:red;font-size:small">[In View Mode]</span> ) 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"/>
+ $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"/>
<input type="hidden" value="$rs_prev"/>
<input class="ui-button" type="button" onclick="submitPrev($log_rc_prev, $rec_limit);return false;" value="‹‹ Previous"/> !;
}
else {
- $log_output .= qq(<tr class="r$tfId" id="brw_row"><td>$vmode</td><td colspan="3"><i>Top</i> );
+ $log_output .= qq(<tr class="r$tfId" id="brw_row"><td style="text-align:left;">$vmode</td><td colspan="3"><i>Top</i> );
}