authPDO: extend mysql test to ensure multiple groups are readI noticed that all our tests basically only ever used one group peruser. This makes sure multiple groups work as intended.
add needed type hints for phpunit8This will break a lot of plugin tests, but can't be avoided
authpdo: fix mybb schema for MySQL 5.7+https://dev.mysql.com/doc/refman/5.7/en/upgrading-from-previous-series.html> In MySQL 5.7.5, these SQL mode changes were made: ... Strict SQL mode for trans
authpdo: fix mybb schema for MySQL 5.7+https://dev.mysql.com/doc/refman/5.7/en/upgrading-from-previous-series.html> In MySQL 5.7.5, these SQL mode changes were made: ... Strict SQL mode for transactional storage engines (`STRICT_TRANS_TABLES`) is now enabled by default.https://dev.mysql.com/doc/refman/5.7/en/data-type-defaults.html> For data entry into a NOT NULL column that has no explicit DEFAULT clause, if an INSERT or REPLACE statement includes no value for the column, or an UPDATE statement sets the column to NULL, MySQL handles the column according to the SQL mode in effect at the time:>> If strict SQL mode is enabled, an error occurs for transactional tables and the statement is rolled back. For nontransactional tables, an error occurs, but if this happens for the second or subsequent row of a multiple-row statement, the preceding rows will have been inserted.
show more ...
PSR-2 for authpdo plugin
mark some tests as non-riskyThose tests either just check that an exception is NOT thrown or arethere to check dependencies for other tests. Newer phpunits mark alltests as risky that have no ass
mark some tests as non-riskyThose tests either just check that an exception is NOT thrown or arethere to check dependencies for other tests. Newer phpunits mark alltests as risky that have no assertion.
authpdo: fix group filterThe filter passed by the user manager is called 'grps' not 'group'
authpdo: fix return type of retrieveUsers() #1781
authpdo: fix wrong return type for getUserCount() #1781
AuthPDO: allow in-SQL pasword checkingThis is a feature that was present in the old authmysql plugin. Itallows administrators to specify an SQL string that is used for explicitpassword checking i
AuthPDO: allow in-SQL pasword checkingThis is a feature that was present in the old authmysql plugin. Itallows administrators to specify an SQL string that is used for explicitpassword checking instead of letting DokuWiki compare the hashes. Thisis useful where application implement their own salt/hashing thing.This comes with a test case for the MyBB forum software. Dump kindlyprovided by William Kitchen
removed accidentally checked in functionthis was an intermediate woriking state but got replaced by indivdualdump skipping. forgot to remove it again
changed tests to use a data providerthis allows for each dump being run within its own test case which thencan be skipped. This is needed to skip the django test on older PHPversions.
removed another new feature from the postgres dump
remove postgres 9.3+ feature from dumpthis hopefully fixes the tests on travis
added a postgres example database to the tests
added fluxbb dump to the tests.now all capabilities are covered
added a few more tests for wordpress
first go at using real database dumps for teststhis configures a minimal wordpress setup
removed generic test
skip tests if sqlite or pdo is missing
user listing and counting added
added user deletion
usermodification works now
user and group creation works now
added user group selection
began work on PDO auth plugin