Commit graph

56 commits

Author SHA1 Message Date
Dmitrii Metelkin
3358c1e942 Update documentation 2016-08-19 16:46:19 +10:00
Dmitrii Metelkin
c84216c6f8 Fix ip restriction functionality 2016-08-19 16:01:08 +10:00
Dmitrii Metelkin
c6d7b60c67 Refactoring of tests/core_userkey_manager_test.php 2016-08-19 14:51:41 +10:00
Dmitrii Metelkin
ec059a2191 Add allowedips parameter to the core key manager 2016-08-19 14:47:40 +10:00
Dmitrii Metelkin
816c6f92e9 Change web service use restrictions 2016-08-19 14:03:15 +10:00
Dmitrii Metelkin
56d8c6cbe0 Fix a coding style issue 2016-08-19 13:10:11 +10:00
Dmitrii Metelkin
44170b76db Fix incorrect class doc 2016-08-19 13:03:55 +10:00
Dmitrii Metelkin
bf41c01c12 Refactor logoutpage_hook function 2016-08-19 12:13:47 +10:00
Dmitrii Metelkin
01949baf71 Add tests to support logoutpage_hook function 2016-08-19 12:06:13 +10:00
Dmitrii Metelkin
97cd90dcfe Add test to ceck if session marked as userkey session 2016-08-19 11:58:14 +10:00
Dmitrii Metelkin
5de0871171 Add logout redirection functionality 2016-08-19 11:54:39 +10:00
Dmitrii Metelkin
b24d466649 Core userkey mamager doesn't care about existing of the user 2016-08-19 11:46:22 +10:00
Dmitrii Metelkin
b46edb61a9 Delete a user key just after we found it 2016-08-19 11:45:41 +10:00
Dmitrii Metelkin
3d4d67612b Add tests to suppor redirect url in config form 2016-08-19 11:08:10 +10:00
Dmitrii Metelkin
8e1ecdb7b6 Move key lifetime error to the string file 2016-08-19 10:53:36 +10:00
Dmitrii Metelkin
56a1728b1a Add redirect URL to a config form 2016-08-19 10:49:38 +10:00
Dmitrii Metelkin
3a516626fa Update wantsurl related tests 2016-08-19 10:37:52 +10:00
Dmitrii Metelkin
1c3c2d5a76 Update README.md 2016-08-19 10:31:50 +10:00
Dmitrii Metelkin
55b2d87dba Update README.md 2016-08-19 10:24:41 +10:00
Dmitrii Metelkin
b1897a200a Update README.md 2016-08-19 10:23:28 +10:00
Dmitrii Metelkin
58dfcfa9a4 Update README.md 2016-08-19 10:07:16 +10:00
Dmitrii Metelkin
4b888d61ae Initial readme description 2016-08-19 09:59:16 +10:00
Dmitrii Metelkin
5aef1d7966 Change size of key life time in config form 2016-08-19 09:58:59 +10:00
Dmitrii Metelkin
775933852a Exclude unwanted ci checks 2016-08-18 23:48:36 +10:00
Dmitrii Metelkin
be13e8b069 Fix coing style issues 2016-08-18 23:30:58 +10:00
Dmitrii Metelkin
2a6a429b0a Add README.md 2016-08-18 23:13:50 +10:00
Dmitrii Metelkin
47e11baf6c Add travis.yml file 2016-08-18 23:05:55 +10:00
Dmitrii Metelkin
aaac20f995 Add tests for user_login_userkey() 2016-08-18 22:57:37 +10:00
Dmitrii Metelkin
a3fa1f0254 Change user_login_userkey() to return redirect URL 2016-08-18 22:56:53 +10:00
Dmitrii Metelkin
8341a1ac40 Change error text by get_string call 2016-08-18 21:51:02 +10:00
Dmitrii Metelkin
5f6a3a8c81 Move error text to a string file 2016-08-18 21:49:27 +10:00
Dmitrii Metelkin
fc66e08628 Add throwing an error if the plugin is disabled 2016-08-18 21:47:56 +10:00
Dmitrii Metelkin
52698e1d30 Add permissions to the service description 2016-08-18 18:13:24 +10:00
Dmitrii Metelkin
99d080f1cd Add 'Generate user key' permission 2016-08-18 18:10:38 +10:00
Dmitrii Metelkin
92555b7d28 Implement login functionality 2016-08-18 16:10:18 +10:00
Dmitrii Metelkin
3e8c4138f0 Fix issue with keylifetime being string 2016-08-18 14:44:21 +10:00
Dmitrii Metelkin
29d61cad41 Add settings 2016-08-18 14:43:57 +10:00
Dmitrii Metelkin
5a5bfc9d23 Improve tests/auth_plugin_test.php 2016-08-17 17:53:26 +10:00
Dmitrii Metelkin
0e96db7022 Add test for externallib.php 2016-08-17 17:44:18 +10:00
Dmitrii Metelkin
f37a49b50e Fix externallib.php 2016-08-17 17:43:53 +10:00
Dmitrii Metelkin
e698304f80 Refactor generation of request_login_url_parameters 2016-08-17 16:43:35 +10:00
Dmitrii Metelkin
dfae36ad51 Some clean up in auth.php 2016-08-17 16:03:19 +10:00
Dmitrii Metelkin
8b3534c803 Add more tests to tests/auth_plugin_test.php 2016-08-17 15:58:11 +10:00
Dmitrii Metelkin
0f69115488 Add fake userkey manager for testing 2016-08-17 15:45:47 +10:00
Dmitrii Metelkin
7d25db3fda WIP: add initital test and implementation get_login_url 2016-08-17 15:06:46 +10:00
Dmitrii Metelkin
c320a5576f Add externallib.php 2016-08-17 15:05:27 +10:00
Dmitrii Metelkin
9696666814 Add services file 2016-08-17 15:05:06 +10:00
Dmitrii Metelkin
f72c5ed742 Fix docs in version.php 2016-08-17 15:04:45 +10:00
Dmitrii Metelkin
3e7903b025 Fix some coding style issues 2016-08-17 12:21:12 +10:00
Dmitrii Metelkin
002f1d2dd3 Add docs to tests/core_userkey_manager_test.php 2016-08-17 12:16:48 +10:00