aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/authpdo/_test
Commit message (Collapse)AuthorAge
* authPDO: extend mysql test to ensure multiple groups are readAndreas Gohr2022-01-02
| | | | | I noticed that all our tests basically only ever used one group per user. This makes sure multiple groups work as intended.
* add needed type hints for phpunit8Andreas Gohr2021-02-04
| | | | This will break a lot of plugin tests, but can't be avoided
* Merge branch 'psr2'Andreas Gohr2019-10-10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * psr2: (160 commits) fixed merge error Moved parts of the Asian word handling to its own class ignore snake_case error of substr_replace fixed some line length errors ignore PSR2 in the old form class fix PSR2 error in switch statement replaced deprecated utf8 functions formatting cleanup mark old utf8 functions deprecated some more PSR2 cleanup Some cleanup for the UTF-8 stuff Moved all utf8 methods to their own namespaced classes Create separate table files for UTF-8 handling Ignore mixed concerns in loader Use type safe comparisons in loader Remove obsolete include adjust phpcs exclude patterns for new plugin classes 🚚 Move Subscription class to deprecated.php ♻️ Split up ChangesSubscriptionSender into multiple classes Minor optimizations in PluginController ...
| * PSR-2 for authpdo pluginAndreas Gohr2018-05-08
| |
* | authpdo: fix mybb schema for MySQL 5.7+Phy2019-09-09
|/ | | | | | | | | | | | 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.
* mark some tests as non-riskyAndreas Gohr2017-03-31
| | | | | | Those tests either just check that an exception is NOT thrown or are there to check dependencies for other tests. Newer phpunits mark all tests as risky that have no assertion.
* authpdo: fix group filterAndreas Gohr2016-12-20
| | | | The filter passed by the user manager is called 'grps' not 'group'
* authpdo: fix return type of retrieveUsers() #1781Andreas Gohr2016-12-20
|
* authpdo: fix wrong return type for getUserCount() #1781Andreas Gohr2016-12-20
|
* AuthPDO: allow in-SQL pasword checkingAndreas Gohr2016-08-20
| | | | | | | | | | This is a feature that was present in the old authmysql plugin. It allows administrators to specify an SQL string that is used for explicit password checking instead of letting DokuWiki compare the hashes. This is useful where application implement their own salt/hashing thing. This comes with a test case for the MyBB forum software. Dump kindly provided by William Kitchen
* removed accidentally checked in functionAndreas Gohr2016-03-12
| | | | | this was an intermediate woriking state but got replaced by indivdual dump skipping. forgot to remove it again
* changed tests to use a data providerAndreas Gohr2016-03-12
| | | | | | this allows for each dump being run within its own test case which then can be skipped. This is needed to skip the django test on older PHP versions.
* removed another new feature from the postgres dumpAndreas Gohr2016-03-12
|
* remove postgres 9.3+ feature from dumpAndreas Gohr2016-03-12
| | | | this hopefully fixes the tests on travis
* added a postgres example database to the testsAndreas Gohr2016-03-11
|
* added fluxbb dump to the tests.Andreas Gohr2016-02-12
| | | | now all capabilities are covered
* added a few more tests for wordpressAndreas Gohr2016-02-12
|
* first go at using real database dumps for testsAndreas Gohr2016-02-12
| | | | this configures a minimal wordpress setup
* removed generic testAndreas Gohr2016-01-30
|
* skip tests if sqlite or pdo is missingAndreas Gohr2016-01-30
|
* user listing and counting addedAndreas Gohr2016-01-30
|
* added user deletionAndreas Gohr2016-01-30
|
* usermodification works nowAndreas Gohr2016-01-30
|
* user and group creation works nowAndreas Gohr2016-01-30
|
* added user group selectionAndreas Gohr2016-01-30
|
* began work on PDO auth pluginAndreas Gohr2016-01-29