Commit graph

189 commits

Author SHA1 Message Date
Robin
6964749b0b Add PHP syntax highlighting 2017-07-12 10:48:40 +08:00
Daniel Thee Roperto
d6d00e28ea Version bump. 2017-05-15 12:05:20 +10:00
Daniel Thee Roperto
c335cee4f9 Merge pull request #14 from catalyst/issue13-moodle32
Issue #13 - Updated Travis and unit test.
2017-05-15 12:04:04 +10:00
Daniel Thee Roperto
596f2d72aa Issue #13 - Updated Travis and unit test.
- Added Moodle 32 and Moodle 33 to Travis.
- Updated Travis to not test mysql in every scenario
- Updated Travis to use Postgres 9.3 (required by Moodle 33+)
- Updated test_that_user_logged_in_and_redirected as newer Moodle defaults to different URL.
2017-05-15 11:52:08 +10:00
Dmitrii Metelkin
c12c5214a4 Merge pull request #9 from andrewhancox/master
Add user provisioning and test client code. Close #9
2017-04-10 10:45:19 +10:00
Andrew Hancox
9ec87b0e87 Removed dependency on Moodle 31 2017-04-03 09:32:35 +01:00
Andrew Hancox
c1624f7d05 Fixed codechecker issues 2017-04-03 09:15:38 +01:00
Andrew Hancox
805e22e8e0 Make additional user information optional unless creating a new user. 2017-03-31 13:37:46 +01:00
Andrew Hancox
d6c957c298 Added a test client code to README. 2017-03-31 13:14:54 +01:00
Andrew Hancox
b08d113e0c Add user provisioning. 2017-03-31 11:55:52 +01:00
Brendan Heywood
1632d8830a Update README.md 2016-10-10 15:26:01 +11:00
Dmitrii Metelkin
1f23904478 Bump version 2016-09-26 13:26:14 +10:00
Dmitrii Metelkin
f14e57c683 Merge pull request #8 from CatalystIT-AU/sso_redirect
SSO redirect
2016-09-26 13:19:00 +10:00
Dmitrii Metelkin
35bec6b695 Use redirect function in user_login_userkey 2016-09-26 12:06:59 +10:00
Dmitrii Metelkin
1d380d8aed Refactor hooks and modify related tests 2016-09-26 11:48:14 +10:00
Dmitrii Metelkin
b7cd70f1ea Add ssourl validation 2016-09-26 10:45:40 +10:00
Matt Porritt
68f7634066 Add functionality to stop users from reaching the regular Moodle login page.
This function forces users who try to access Moodle directly to be redirected to the "SSO Host".  The functionality is enabled by setting a SSO redirect URl in the plugins admin settings
The forced redirect can be overridden by using the  query param "enrolkey_skipsso=on"
2016-09-26 09:51:52 +10:00
Dmitrii Metelkin
afc5ec3e3f Bump version 2016-08-27 21:43:19 +10:00
Dmitrii Metelkin
8bcd3d18c2 Merge pull request #6 from CatalystIT-AU/userkeymanager_changes
Userkeymanager changes
2016-08-27 21:40:42 +10:00
Dmitrii Metelkin
777575db8e Refactor auth class 2016-08-27 21:19:58 +10:00
Dmitrii Metelkin
fd548ed7f5 Add reminder to write more tests 2016-08-27 16:17:21 +10:00
Dmitrii Metelkin
b93919bf5f Fix existing tests for core key manager class after changing the interface 2016-08-27 16:12:01 +10:00
Dmitrii Metelkin
cbfbb5cb8a Get rid of unused global valiables 2016-08-27 16:06:35 +10:00
Dmitrii Metelkin
336cd2862b Update auth pligin to use a new key manager interface 2016-08-27 15:59:25 +10:00
Dmitrii Metelkin
401e9c9245 Update fake key manager in case to implement a new interface 2016-08-27 15:58:55 +10:00
Dmitrii Metelkin
04a4f4f573 Update core key manager in case to implement a new interface 2016-08-27 15:58:39 +10:00
Dmitrii Metelkin
1c8f115935 Change user key manager interface to abstract key validation 2016-08-27 15:58:09 +10:00
Dmitrii Metelkin
46f7068b38 Merge pull request #4 from CatalystIT-AU/issue#2
Fix #2 remove default archetypes and update documentation
2016-08-27 15:01:29 +10:00
Dmitrii Metelkin
5ff3cb7efc Fix #2 remove default archetypes and update documentation 2016-08-27 15:00:07 +10:00
Dmitrii Metelkin
5c5b003f5c Merge pull request #3 from CatalystIT-AU/issue#1
Fix #1 when redirecting to server root, not a moodle root
2016-08-27 14:52:14 +10:00
Dmitrii Metelkin
6a85c04826 Fix #1 when redirecting to server root, not a moodle root 2016-08-27 14:50:53 +10:00
Dmitrii Metelkin
f6bc25a61d Fix service name in README.md 2016-08-22 10:26:27 +10:00
Dmitrii Metelkin
dfeedcfa87 Rename web service 2016-08-19 17:07:20 +10:00
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