1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-10 11:06:23 +02:00

Commit Graph

  • 0fb653d6e0 Add section 'Custom password requirements' to README Marco 2017-03-24 17:07:26 +01:00
  • dc233d9d46 Remove 'Features' section in README Marco 2017-03-24 16:49:37 +01:00
  • 7c842f903e Add 'MySQL Native Driver' as full name of 'mysqlnd' driver in README v5.0.1 Marco 2017-03-18 22:35:44 +01:00
  • 0e2279ecda Document what is required to make library work with other databases Marco 2017-03-18 22:31:30 +01:00
  • 79db94f500 Add 'mysqlnd' driver for PDO as platform dependency in README Marco 2017-03-18 22:30:19 +01:00
  • f38d7bd62c Add PDO as platform dependency in README Marco 2017-03-18 22:25:23 +01:00
  • 04a2e8ef4e Throw error if 'libmysqlclient' driver is used instead of 'mysqlnd' Marco 2017-03-18 22:21:23 +01:00
  • 59505479a5 Add class 'WrongMysqlDatabaseDriverError' Marco 2017-03-18 22:13:28 +01:00
  • fdcfd6f78c Add class 'DatabaseDriverError' Marco 2017-03-18 22:12:49 +01:00
  • 20606bc507 Update dependencies Marco 2017-03-18 22:11:05 +01:00
  • 89a7af17fe Add documentation on how to retrieve status information Marco 2017-02-26 14:15:26 +01:00
  • 4c084150c4 Update migration guide v5.0.0 Marco 2017-02-26 13:49:20 +01:00
  • dd51d2c07d Add tests for 'getStatus' and related methods in 'Auth' class Marco 2017-02-26 13:45:26 +01:00
  • 93477e4e7e Add shorthands for 'getStatus' in 'Auth' class Marco 2017-02-26 13:45:00 +01:00
  • d59ac83d13 Refactor array definition in 'authenticateUserInternal' Marco 2017-02-26 13:13:37 +01:00
  • 9a0036b8a8 Add 'Status' class with constants Marco 2017-02-26 13:05:37 +01:00
  • a05d277a2c Read status from 'users' table and provide read access in session Marco 2017-02-26 13:03:52 +01:00
  • 0839beefcb Improve readability of README Marco 2017-02-26 11:54:41 +01:00
  • bf5db38361 Link to 'Migration' from README Marco 2017-02-25 19:13:56 +01:00
  • d9be7a4c22 Add table of contents to 'Migration' Marco 2017-02-25 18:59:15 +01:00
  • e9bae4a346 Reverse chronological order in 'Migration.md' Marco 2017-02-25 18:49:27 +01:00
  • 2317423550 Explain that constructor of 'Administration' is for internal use only Marco 2017-02-25 18:40:49 +01:00
  • d9dccf8100 Add 'status' column to 'users' table Marco 2017-02-25 18:13:55 +01:00
  • 26ca48c3b9 Improve language Marco 2017-02-25 18:07:02 +01:00
  • 9ec74b3b2d Deprecate boolean format for parameter 'rememberDuration' with login Marco 2017-02-25 18:06:07 +01:00
  • 9c60acec0d Improve code style Marco 2017-02-25 17:58:29 +01:00
  • 94eeb9dbe0 Fix anchors in README Marco 2017-02-25 17:35:38 +01:00
  • 4dca8439d1 Add tests for method 'deleteUserById' and related methods Marco 2017-02-25 17:34:36 +01:00
  • 81bdd79906 Add method 'deleteUserById' and similar methods for email and username Marco 2017-02-25 17:32:35 +01:00
  • 63144d4dc0 Add private method 'deleteUsersByColumnValue' to 'Administration' Marco 2017-02-25 17:14:24 +01:00
  • f06af42f87 Move method 'getUserDataByUsername' from 'Auth' to 'UserManager' Marco 2017-02-25 16:18:51 +01:00
  • 6c6f34935c Add tests for method 'createUser' in class 'Administration' Marco 2017-02-25 15:45:58 +01:00
  • 293c231003 Do not offer email verification when creating users as admin Marco 2017-02-25 15:44:37 +01:00
  • 05d72a849b Improve language Marco 2017-02-21 10:02:49 +01:00
  • cf41c9a105 Add methods 'createUser' and 'createUserWithUniqueUsername' Marco 2017-02-21 10:02:03 +01:00
  • da4bb583bf Add component for administrative tasks as class 'Administration' Marco 2017-02-21 09:43:30 +01:00
  • d99979f270 Move method 'createUserInternal' from class 'Auth' to 'UserManager' Marco 2017-02-21 09:28:42 +01:00
  • 22872d55bd Import class 'IntegrityConstraintViolationException' in 'UserManager' Marco 2017-02-21 09:27:54 +01:00
  • ff6d78942a Move method 'createConfirmationRequest' from 'Auth' to 'UserManager' Marco 2017-02-21 09:26:10 +01:00
  • d27005df10 Import class 'Error' in 'UserManager' Marco 2017-02-21 09:22:40 +01:00
  • ad2aa84e4a Move method 'validatePassword' from class 'Auth' to 'UserManager' Marco 2017-02-21 09:19:09 +01:00
  • f7d50d53ea Move method 'validateEmailAddress' from class 'Auth' to 'UserManager' Marco 2017-02-21 09:17:08 +01:00
  • e916c3d07e Move method 'createRandomString' from class 'Auth' to 'UserManager' Marco 2017-02-21 09:13:39 +01:00
  • fdeff8a792 Emphasize that class 'UserManager' is for internal use only Marco 2017-02-21 09:03:55 +01:00
  • 43fa612d67 Move method 'throttle' and its constants from 'Auth' to 'UserManager' Marco 2017-02-21 08:55:10 +01:00
  • 0b0258f29a Manually require file 'Exceptions.php' in parent class as well Marco 2017-02-21 08:45:27 +01:00
  • 9252bee030 Let parent class 'UserManager' manage database connection for 'Auth' Marco 2017-02-21 08:40:30 +01:00
  • 6a15679238 Make class 'Base64' final Marco 2017-02-21 08:28:14 +01:00
  • 8ab08f41e1 Let autoloader fetch class 'Base64' instead of including it manually Marco 2017-02-21 08:27:19 +01:00
  • 83464c0be7 Improve description of 'Auth' class Marco 2017-02-21 08:07:38 +01:00
  • b5c853388c Make class 'Auth' final Marco 2017-02-21 08:01:41 +01:00
  • 5585623e08 Let class 'Auth' extend abstract class 'UserManager' Marco 2017-02-21 08:00:26 +01:00
  • a7d640154c Add abstract class 'UserManager' Marco 2017-02-21 07:59:49 +01:00
  • 8acd3a9779 Add tests for method 'loginWithUsername' in class 'Auth' v4.3.0 Marco 2017-02-20 21:46:36 +01:00
  • 374f27176b Add tests for method 'registerWithUniqueUsername' in class 'Auth' Marco 2017-02-20 21:42:48 +01:00
  • 3cb2284870 Add public method 'loginWithUsername' to class 'Auth' Marco 2017-02-20 21:36:45 +01:00
  • 690485ba6d Add support for sign in via username to 'authenticateUserInternal' Marco 2017-02-20 21:32:45 +01:00
  • 495a87d499 No need to check for uniqueness of username if none has been provided Marco 2017-02-20 20:52:02 +01:00
  • 784030139b Treat empty string or whitespace-only string as non-existent username Marco 2017-02-20 20:48:03 +01:00
  • fb6f3d31b8 Add private method 'getUserDataByUsername' to class 'Auth' Marco 2017-02-20 19:57:23 +01:00
  • 370ecc4933 Add class 'AmbiguousUsernameException' Marco 2017-02-16 09:48:55 +01:00
  • da2d282648 Add class 'UnknownUsernameException' Marco 2017-02-16 09:48:04 +01:00
  • 4aaf85e3cf Add class 'EmailOrUsernameRequiredError' Marco 2017-02-16 09:47:26 +01:00
  • f2561a1932 Re-use 'getUserDataByEmailAddress' in 'authenticateUserInternal' Marco 2017-02-16 08:56:44 +01:00
  • 8cc54473e3 Improve language of parameter name Marco 2017-02-16 08:30:24 +01:00
  • f26f2209cd Store email address in session data as found in the database Marco 2017-02-16 08:25:14 +01:00
  • 188086f2e4 Do not validate password earlier than necessary Marco 2017-02-16 08:18:48 +01:00
  • c6213a6081 Change order of parameters in 'authenticateUserInternal' Marco 2017-02-16 08:15:48 +01:00
  • c55250c572 Refactor body of 'login' method into new 'authenticateUserInternal' Marco 2017-02-15 18:29:15 +01:00
  • dac2850aba Add method 'registerWithUniqueUsername' v4.2.0 Marco 2017-02-15 17:19:16 +01:00
  • 4268e3fcd5 Add support for unique username constraint in 'createUserInternal' Marco 2017-02-15 17:11:56 +01:00
  • d579179494 Add class 'DuplicateUsernameException' Marco 2017-02-15 17:06:08 +01:00
  • bd02e08f83 Refactor body of 'register' method into new 'createUserInternal' Marco 2017-02-15 16:41:38 +01:00
  • d4fe11b844 Improve language Marco 2017-02-15 16:39:17 +01:00
  • 09fabd4c91 Improve notes in 'General advice' section of README Marco 2017-01-31 23:49:36 +01:00
  • 4dcf491ad9 Fix language in README Marco 2017-01-30 19:33:04 +01:00
  • 4f5ff151ef Improve installation instructions by excluding steps for manual setup Marco 2017-01-30 19:31:45 +01:00
  • f5027c09e9 Add table of contents to 'Usage' section in README Marco 2017-01-30 19:10:28 +01:00
  • 6db82d1f65 Add guide on how to store and access additional user information Marco 2017-01-30 19:04:11 +01:00
  • f944067aff Set 'ignore_user_abort' to 'true' in method 'register' Marco 2017-01-30 18:48:23 +01:00
  • a640e8a5ad Define link to external documentation more precisely Marco 2017-01-30 18:39:21 +01:00
  • 2aee8a662e Move 'Reading and writing session data' below 'Utilities' in README Marco 2017-01-30 18:37:47 +01:00
  • 36ef710480 Group several sections in README under 'Accessing user information' Marco 2017-01-30 18:24:44 +01:00
  • 9187840767 Improve language in README Marco 2017-01-30 18:23:30 +01:00
  • 6bfa298836 Prevent usage of password reset if email has not been verified yet v4.1.1 Marco 2016-12-12 20:58:37 +01:00
  • 6be456a27a Change 'getUserIdByEmailAddress' to 'getUserDataByEmailAddress' Marco 2016-12-12 20:38:49 +01:00
  • 78a16d8f50 Improve language v4.1.0 Marco 2016-12-04 17:27:58 +01:00
  • e669f6f017 Move documentation on 'remember me' to its own section Marco 2016-12-04 17:24:21 +01:00
  • 5aafd0b009 Improve language Marco 2016-12-04 17:23:09 +01:00
  • d53a484c2e Improve language Marco 2016-12-04 17:13:33 +01:00
  • 07732dcaa9 Change 'remember me' for login from binary choice to custom interval Marco 2016-12-04 17:05:57 +01:00
  • f486ab6763 Forget remembered sessions when passwords are reset or changed Marco 2016-12-04 16:54:34 +01:00
  • 5e331924f6 Increase entropy in tokens for remember directives Marco 2016-12-04 16:52:18 +01:00
  • ac95be3714 Use dummy password (instead of no password at all) in examples Marco 2016-12-04 16:49:09 +01:00
  • e6c8ae056c Ignore warnings for 'zend.assertions' that cannot be set Marco 2016-12-04 16:46:05 +01:00
  • 5bac29065d Improve documentation Marco 2016-12-04 16:44:50 +01:00
  • 36b590eb81 Update dependencies v4.0.1 Marco 2016-12-01 13:48:48 +01:00
  • 5c6a71d921 Update migration guide v4.0.0 Marco 2016-09-15 23:52:24 +02:00
  • d94243f19d Update examples of how to provide a database connection Marco 2016-09-15 23:51:29 +02:00
  • 2a2d93f534 Improve exemplary database credentials Marco 2016-09-15 23:45:35 +02:00