Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
233 changes: 1 addition & 232 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,236 +2,5 @@

All notable changes to this project will be documented in this file.

## [v3.1.2-rciam] - 2023-01-16
## [Unreleased] - 2023-xx-xx

### Fixed

- Fix recording of user's IP address

## [v3.1.1-rciam] - 2022-12-19

### Fixed

- Fix wrong condition when `RequesterID` is present in the SAML request

## [v3.1.0-rciam] - 2022-04-20

### Added

- Support for Keycloak via `keycloakSp` config option

## [v3.0.10-rciam] - 2022-02-22

### Changed

- Remove unique constraint on IP statistics table to allow concurrent logins

## [v3.0.9-rciam] - 2022-02-01

### Fixed

- Fix login statistics for newly registered users accessing OIDC clients

## [v3.0.8-rciam] - 2021-11-22

### Fixed

- Fix default value of `userIdAttribute`
- Fix parameter in `insertLogin()` call

## [v3.0.7-rciam] - 2021-11-12

### Added

- Read `userIdAttribute` from state

## [v3.0.6-rciam] - 2021-04-27

#### Fixed
- Statistics class name

## [v3.0.5-rciam] - 2021-03-08

#### Fixed
- PostgreSQL syntax error in `addDaysRange()`

## [v3.0.4-rciam] - 2021-03-04

#### Fixed
- Add DateTimeZone library

## [v3.0.3-rciam] - 2021-03-01

#### Changed
- Record metrics in UTC timezone

## [v3.0.2-rciam] - 2021-02-20

#### Fixed
- Add missing library to statistics class

## [v3.0.1-rciam] - 2021-02-11

#### Added
- Support for collecting IP statistics
- Support for excluding user IDs from statistics

#### Changed
- Improve PostgreSQL table init scripts

## [v3.0.0-rciam] - 2020-06-03
This version is based on upstream v3.2.1 and is compatible with [SimpleSAMLphp v1.17](https://simplesamlphp.org/docs/1.17/simplesamlphp-changelog)
#### Added
- Add support for PostgreSQL queries
- Replace entityID with the RequesterID for the OIDC Clients
- Get IdP's friendly name from metadata
- Get SP's friendly name from metadata

## [v3.2.1]
#### Fixed
- Fixed the bug in using double '$'

## [v3.2.0]
#### Added
- Added possibility to show statistics only after authentication

#### Changed
- Remove unnecessary is_null()
- Use SimpleSAML\Database

#### Fixed
- Log info message about successful authentication only after successful authentication to SP
- Correct log message in insertLogin()
- Update README.md
- describe setup for modes PROXY/SP/IDP
- change array notation from `array()` to `[]`
- Read spName from $request only if present
- Remove unused indexes
- Optimize left outer join
- Don't double queries w/o days
- Fixed the table header in detailed statistics for SP

## [v3.1.0]
#### Added
- Added configuration file for ESLint
- Module now supports running statistics as IDP/SP
- Store detailed statistics(include some user identifier) for several days

#### Changed
- Using of short array syntax (from array() to [])
- Specify engine and default charset in tables.sql
- Removed unused include from 'templates/spDetail-tpl.php'
- Deleted useless code
- Deleted 'head' and 'body' tag in tab templates
- Use 'filter_input' to GET and VALIDATE value send as GET/POST param
- Eliminate inline javascript
- All JS code was moved to 'index.js'
- Using 'fetch_all' instead of 'fetch_asoc' to get data from DB
- Set default values for some option in 'DatabaseConnector.php'
- Remove duplicate code from 'DatabaseConnector.php'
- Move duplicate code for timeRange to separate file
- Use import instead of unnecessary qualifier

#### Fixed
- Fixed the syntax of CHANGELOG
- Fixed SQL injection vulnerability
- Fixed list of required packages

## [v3.0.0]
#### Added
- Added file phpcs.xml

#### Fixed
- Fixed the problem with generating error, when some of attributes 'eduPersonUniqueId', 'sourceIdPEppn', 'sourceIdPEntityId' is null

#### Changed
- Changed code style to PSR-2
- Module uses namespaces

## [v2.1.0]
#### Added
- Every successfully log in is logged with notice level

## [v2.0.0]
#### Added
- Added details with statistics for individually SPs and IdPs
- Added script for migrate data to new version of database structure

## [v1.5.0]
#### Added
- Added legends to charts
- Instance name in header is taken from config file

#### Fixed
- set default value of lastDays and tab in index.php: no error logs when user open statistics for the first time

## [v1.4.1]
#### Fixed
- Statistics will be now full screen
- Fixed bad checks before insert translation to db

## [v1.4.0]
#### Added
- Possibility to change the time range of displayed data

#### Changed
- DB commands work with apostrophes in IdP/SP names
- New visual form of the site
- Draw tables without month

#### Fixed
- Draws tables data by selected time range

#### Removed
- Removed unused functions

## [v1.3.0]
#### Added
- Added mapping tables for mapping identifier to name

#### Changed
- Storing entityIds instead of SpName/IdPName.

#### Fixed
- Used only tabs for indentations

## [v1.2.1]
#### Fixed
- Fixed the problem with getting utf8 chars from database

## [v1.2.0]
#### Added
- Classes SimpleSAML_Logger and SimpleSAML_Module renamed to SimpleSAML\Logger and SimpleSAML\Module
- Dictionary
- Czech translation

#### Changed
- Database commands use prepared statements
- Saving SourceIdPName instead of EntityId

## [v1.1.0]
#### Added
- Added average and maximal count of logins per day into summary table

#### Changed
- Fixed overqualified element in statisticsproxy.css

## [v1.0.0]
#### Added
- Changelog

[Unreleased]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/master
[v3.2.1]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v3.2.1
[v3.2.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v3.2.0
[v3.1.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v3.1.0
[v3.0.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v3.0.0
[v2.1.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v2.1.0
[v2.0.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v2.0.0
[v1.5.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.5.0
[v1.4.1]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.4.1
[v1.4.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.4.0
[v1.3.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.3.0
[v1.2.1]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.2.1
[v1.2.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.2.0
[v1.1.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.1.0
[v1.0.0]: https://github.com/CESNET/proxystatistics-simplesamlphp-module/tree/v1.0.0
15 changes: 0 additions & 15 deletions CODEOWNERS

This file was deleted.

67 changes: 0 additions & 67 deletions README.md

This file was deleted.

21 changes: 0 additions & 21 deletions composer.json

This file was deleted.

52 changes: 0 additions & 52 deletions config-templates/mysql_tables.sql

This file was deleted.

Loading