Age | Commit message (Collapse) | Author |
|
... otherwise the $where clause would start with an empty string, causing an SQL error.
|
|
Also removed unneeded calls to hide resizer handles
|
|
|
|
If the filters are set so that no Report List table is returned, don't try to set its properties
|
|
test_input() is used in more than one file so it makes sense to move it to the common.php file.
Add $_POST variable vaildation with test_input.
|
|
Mostly whitespace changes.
But need to make $html a global variable in each function that helps build the $html array.
Rather than return $html as a string from each function, make them into subroutines that work on the $html array directly.
|
|
|
|
Move debug comment that got in the way of an $sql satement
|
|
Add some space to the footer; fixes seeing content behind footer
|
|
Add a warning to Report Data table if the "Show Only Matching Report Data records" is enabled because some Report Data table rows are otherwise silently not shown.
|
|
Add background color to DMARC Results & Report Status dropdown lists
|
|
Implement cookie-based options on displayed pages
Includes some code section rearranging in dmarcts-reports-viewer.js that doesn't affect code logic.
|
|
All css styling, variables and functions to add a dropdown menu for options
|
|
All variables and functions necessary to store and retrieve cookies
|
|
Variables now stored either in dmarcts-reports-viewer-common.php (default) or in dmarcts-options cookie (user-set)
|
|
Add $options array to store the default program options
|
|
css styling for options table.
|
|
Generates list of available options and fills the page with either the default options (from dmarcts-reports-viewer-common.php) or previously set options from a cookie.
|
|
|
|
Was getting a 500 error on my install. PHP Log shows:
PHP Parse error: syntax error, unexpected ')' in /some/path/dmarcts-report-viewer.php on line 80
Pretty sure this was
|
|
Fix 'getElementById() is not defined' error
|
|
Add Alignment Results Display
|
|
The option block is getting a bit wide, so put the label names on the line above the dropdown boxes/options
|
|
This dropdown will filter the results in the Report List depending on the results of the individual tests for SPF/DKIM Authentication and Alignmnet and DMARC results (six results in all), corresponding to the right-hand color-coded circle. This dropdown is analogous to the current "DMARC Results" dropdown filter.
|
|
The DMARC Results dropdown should return the dmarc_select[] array names (like DMARC_FAIL and DMARC_PASS) instead of numbers, so $demarc_result can be evaluated. This is complimentary to commit ccfb119.
|
|
Don't need such complex SQL statements for generating the Report Data table. This SQL statement simply needs to return the report metadata of one report (to generate the Report Description), not all the report records themselves.
|
|
When evaluating $dmarc_result, use dmarc_select[] array names (like DMARC_FAIL and DMARC_PASS) instead of numbers, to make it easier to follow the code logic.
|
|
No code changes.
|
|
|
|
|
|
Small tweaks to default.css and dusk2dawn.css
|
|
Reverse mistaken removal of $dmarc_where and 'ORDER BY ip ASC' from SQL statement.
|
|
Change the SQL WHERE statement that filters the Report List. The DMARC Result dropdown now generates the WHERE statment from the overall DMARC result instead of the SPF/DKIM Authentication results.
|
|
When using the Reset button, which calls reset_report_list(), to reset the dropdown boxes, instead of changing 'value', change 'selectedIndex'.
|
|
Some key name changes to better reflect their purpose.
|
|
Depending on the individual SPF/DKIM Authentication & Alignment and overall DMARC results, this function sets the color variable for individual cells in the Report Data table.
|
|
Depending on the individual SPF/DKIM Authentication & Alignment and overall DMARC results, this function gets the color, sort key and result text for display in the Report Table (right status half-circle).
|
|
Depending on the overall DMARC result, this function gets the color, sort key and result text for display in the Report Table (left status half-circle).
|
|
Also add 'status_text' key for Report List table results.
Change 'status_num' key to 'status_sort_key' to better reflect what this key does.
Change 'DKIM_' arrays to 'DMARC_' to better reflect what these array values represent.
|
|
Rather than colour whole lines, now individual cells are coloured to reflect result.
|
|
Includes some variable name changes to better reflect its purpose.
|
|
Add Report List columns for status circles.
Change status cirlces from Unicode font symbol to circles created in css.
Add title messages in Report List
|
|
Also corrects bug where status circles would change colours when selecting a different DMARC Result from the dropdown.
|
|
Reformat $sql statements for better readability.
Remove commented-out code; whitespace changes.
No SQL or code changes.
|
|
Small typo update
|
|
It seemed as if this was a small typo / syntax error.
|
|
dusk2dawn.css Update
|
|
Also, add screen_overlay div for more efficient use of 'wait cursor'
|
|
Also, add screen_overlay div for more efficient use of 'wait cursor'
|
|
|