Age | Commit message (Collapse) | Author |
|
|
|
|
|
PDO is used instead of mysqli for database connection. A variable
$dbtype specifies the driver to be used. If not specified, it defaults
to mysql.
|
|
When arrays of data do not exist, for example in a new & empty set-up, create empty arrays
Resolves the follow warnings and error:
- Warning: Undefined variable $domains in /var/www/viewer/dmarcts-report-viewer.php on line 324
- Warning: Undefined variable $orgs in /var/www/viewer/dmarcts-report-viewer.php on line 325
- Warning: Undefined variable $periods in /var/www/viewer/dmarcts-report-viewer.php on line 326
- Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /var/www/viewer/dmarcts-report-viewer.php:125 Stack trace: #0 /var/www/viewer/dmarcts-report-viewer.php(326): html() #1 {main} thrown in /var/www/viewer/dmarcts-report-viewer.php on line 125
|
|
|
|
Issue Fixes
|
|
Fixes issue #69
|
|
css file additions (x-css classes) based on https://github.com/filamentgroup/select-css
|
|
If xml highlight option is chosen, add the highlight.js Javascript and style sheets.
Add the xml highlight Javascript variables to the page.
|
|
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
|
|
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
|
|
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.
|
|
No code changes.
|
|
Some key name changes to better reflect their purpose.
|
|
Reformat $sql statements for better readability.
Remove commented-out code; whitespace changes.
No SQL or code changes.
|
|
It seemed as if this was a small typo / syntax error.
|
|
|
|
New public domain icons for html.png and xml.png.
Delete icon attribution in footer for old icons.
Update .js file to accommodate changes.
Update image title and alt tags.
|
|
|
|
|
|
|
|
Query both report start and end times to build the Month (selPeriod) …
|
|
dropdown box in option bar
Updated the SQL query that builds the year-month entries for the Month (selPeriod) select dropdown box in the option bar from both the `mindate` (report start time) AND `maxdate` (report end time) columns in the `report` table. When a new month starts, the old SQL query would only use the 'mindate` (report start time) column to build the selPeriod select entries, meaning there could be report end times in the new month without a corresponding entry in the selPeriod dropdown box.
|
|
$arg was being carried across from periods (to select latest period) to orgs and reporter - by default "all" should be selected, but $arg was over-riding to force only the last domain & last reporter to be displayed.
|
|
|
|
- Fixed a php error only noticed in the Apache logs about an undefined offset
|
|
|
|
|
|
Signed-off-by: CodeLingoBot <bot@codelingo.io>
|
|
|
|
|
|
|
|
When displaying without selected period, links are forced to have p=all
|
|
|
|
|
|
Fix indentations
|
|
|
|
|
|
|
|
|
|
|
|
convert the ipv6 adress into a string.
|
|
|
|
I added a few class tags to the code and harmonised the optionblock with basic styling. Now also the current active setting ist allways first and the buttons for changing is behind.
Additionally I added an option for users to use a custom cssfile per config.
|
|
Correct missing $sort_order on tmpl_reportList
|