Commit graph

167 commits

Author SHA1 Message Date
Dmitrii Metelkin
e6aeab9e85 Properly test confirmation 2018-05-02 10:06:36 +10:00
Dmitrii Metelkin
c82eb06aea
Merge pull request #29 from SAHellauer/MOODLE_33PLUS
Added confirmed equal 1 to user creation
2018-05-02 10:04:33 +10:00
Stephen Hellauer
9d59b407e7
Test function check for correct confirmation 2018-05-01 07:44:36 -05:00
Stephen Hellauer
8127ab82a9
Added confirmed equal 1 to user creation 2018-04-27 12:59:34 -05:00
Dmitrii Metelkin
79b6b751b0 Bump version 2018-03-28 11:56:37 +11:00
Dmitrii Metelkin
f8a1df93cf Update README.md 2018-03-28 11:49:51 +11:00
Dmitrii Metelkin
7e39fab83f Fix failing return parameters validation 2018-03-28 11:34:23 +11:00
Dmitrii Metelkin
9730daaba1 Remove whitespace 2018-01-29 11:52:04 +11:00
Dmitrii Metelkin
b8445715b9
Merge pull request #23 from andrewhancox/master_33
Master 33
2018-01-29 11:50:42 +11:00
Dmitrii Metelkin
bf33d00fbe Simplify travis file 2018-01-29 11:40:20 +11:00
Dmitrii Metelkin
f04cf2afc3 Update version file 2018-01-29 11:39:55 +11:00
Dmitrii Metelkin
0119c5b1b0 Add missing MOODLE_INTERNAL constants 2018-01-29 11:17:54 +11:00
Dmitrii Metelkin
c7e17febb5
Merge pull request #22 from andrewhancox/master
Prevent error where user is already logged in
2018-01-29 10:11:18 +11:00
Andrew Hancox
4afc2055be Move settings into settings.php 2018-01-23 15:29:50 +00:00
Andrew Hancox
bb426a5adb Prevent error where user is already logged in 2018-01-22 22:16:36 +00:00
Dmitrii Metelkin
747b4d301c
Merge pull request #20 from andrewhancox/master
Bug in whitelisting logic
2017-12-13 09:10:15 +11:00
Andrew Hancox
eea400f30f Reordered key checks 2017-12-12 11:53:21 +00:00
Andrew Hancox
55b614e284 Remove calls to deprecated and removed function 2017-11-18 14:11:03 +00:00
Andrew Hancox
91c4be7df4 Fix issue matching IPs when whitelisting is enabled 2017-11-18 14:10:45 +00:00
Dmitrii Metelkin
f0f988e9d3 Merge pull request #19 from catalyst/fix-ci-test
Exclude testing moodle master branch against PHP 5.6
2017-10-23 15:34:08 +11:00
Dmitrii Metelkin
19fb0044f0 Merge pull request #18 from andrewhancox/master
Add ability to white list IP addresses to ignore iprestrictions
2017-10-23 15:33:53 +11:00
Pat Kira
b71d9ecea6 Exclude testing moodle master branch against PHP 5.6 2017-10-23 13:28:17 +11:00
Andrew Hancox
c2152c1c84 Refactored to make unit tests more robust 2017-10-20 18:04:56 +01:00
Andrew Hancox
833a25daf3 Fixed issues from code review 2017-10-03 18:03:02 +01:00
Andrew Hancox
5171723d0e Fix pre-existing travis CI failures 2017-10-03 11:40:36 +01:00
Andrew Hancox
bded162058 Add ability to white list IP addresses to ignore iprestrictions 2017-10-03 11:05:40 +01:00
Dmitrii Metelkin
5a115b42f1 Merge pull request #17 from imrobinized/imrobinized-patch-1
Add PHP syntax highlighting
2017-07-12 13:01:41 +10:00
Robin
48d7011876 Revert changes on line break types 2017-07-12 10:55:35 +08:00
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