Commit graph

180 commits

Author SHA1 Message Date
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
Dmitrii Metelkin
f6f41c0924 Add test to support core_userkey_manager class 2016-08-16 17:50:09 +10:00
Dmitrii Metelkin
14829905b7 Add core_userkey_manager class 2016-08-16 17:49:43 +10:00
Dmitrii Metelkin
f05cdf3950 Add userkey_manager_interface 2016-08-16 17:48:45 +10:00
Dmitrii Metelkin
157f357394 Add tests to support auth plugin class 2016-08-16 14:49:39 +10:00
Dmitrii Metelkin
3c8363d184 Add initial auth plugin class 2016-08-16 14:46:33 +10:00
Dmitrii Metelkin
e128916e37 Initial commit 2016-08-16 14:10:38 +10:00