Commit graph

188 commits

Author SHA1 Message Date
Dmitrii Metelkin
9e9df72f52 Remove code duplication in tests 2020-05-08 17:20:28 +10:00
Dmitrii Metelkin
78bf6e94cd Move php unit tests to a folder 2020-05-08 16:53:54 +10:00
Dmitrii Metelkin
6ba819fd6e Add privacy API 2020-05-08 15:22:02 +10:00
Dmitrii Metelkin
14cfe78b53 Fix issues link in Readme 2020-05-08 15:21:14 +10:00
Dmitrii Metelkin
37ad867c1a Update Travis 2020-05-08 15:14:59 +10:00
Dmitrii Metelkin
0ef19c0799 Add Catalyst to Readme 2020-05-08 14:51:39 +10:00
Dmitrii Metelkin
6c3d4a8a15
Merge pull request #46 from catalyst/pull39
Fix issue #35
2020-05-08 14:46:07 +10:00
Dmitrii Metelkin
251832f494 Remove empty line 2019-11-17 01:02:17 +11:00
Dmitrii Metelkin
f9ad660379 Add some comments 2019-11-17 00:49:00 +11:00
Dmitrii Metelkin
acb3ffd66d Don't rely on 2019-11-17 00:42:44 +11:00
Dmitrii Metelkin
1f8860f189 Add more tests 2019-11-17 00:19:48 +11:00
Dmitrii Metelkin
75f5fa7e15 Simplify code 2019-11-17 00:19:36 +11:00
Dmitrii Metelkin
1be8efccb3 Logged out user if key is invalid 2019-11-16 23:59:16 +11:00
Dmitrii Metelkin
ac66abbd21 Fix error when page url is not set 2019-11-16 23:20:22 +11:00
Dmitrii Metelkin
4a18dea34f Add test to cover fix when session is already exists 2019-11-16 23:19:14 +11:00
Dmitrii Metelkin
3733a74f05 Fix unit tests in later moodle versions 2019-11-16 22:47:18 +11:00
Jorge Humberto Sanchez Jimenez
e847890304 Fixes when session already exist
When loggin in, if session already exist, the login is attached to the
old user/session.
Logout if current session userid doesn't match with loginurl key userid
and retry the login.
2019-11-16 22:10:48 +11:00
Dmitrii Metelkin
291f2a04c4 Fix travis file 2019-11-16 22:07:34 +11:00
Dmitrii Metelkin
112aeb25d2 Fix copy-paste issue in upgrade script 2018-05-02 10:40:24 +10:00
Dmitrii Metelkin
15cfe70041 Fix broken SQL 2018-05-02 10:30:07 +10:00
Dmitrii Metelkin
8f92919434 Add upgrade script to fix all previously created users 2018-05-02 10:18:21 +10:00
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