897 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
27e5ce8b9f Merge branch 'MDL-30328' of git://github.com/scriby/moodle 2011-11-21 02:22:40 +01:00
Eloy Lafuente (stronk7)
e5235e6eef Merge branch 'MDL-30326' of git://github.com/scriby/moodle 2011-11-21 02:03:51 +01:00
Eloy Lafuente (stronk7)
5f72d1025b MDL-30354 lti - whitespace fixes 2011-11-21 01:57:24 +01:00
Eloy Lafuente (stronk7)
d167cc3397 Merge branch 'MDL-30354' of git://github.com/scriby/moodle 2011-11-21 01:48:52 +01:00
Eloy Lafuente (stronk7)
77a7978f11 MDL-20534 lti: B9 - mini bump 2011-11-21 01:27:34 +01:00
Eloy Lafuente (stronk7)
695f327a70 Merge branch 'MDL-30343' of git://github.com/scriby/moodle 2011-11-21 01:17:06 +01:00
Eloy Lafuente (stronk7)
0fca3dbbce Merge branch 'MDL-30341' of git://github.com/scriby/moodle 2011-11-21 01:11:54 +01:00
Eloy Lafuente (stronk7)
253f5575c9 MDL-30339 lti lang - whitespace fixes 2011-11-21 01:03:22 +01:00
Eloy Lafuente (stronk7)
8efcee5f8c Merge branch 'MDL-30295' of git://github.com/scriby/moodle
Conflicts:
	mod/lti/lang/en/lti.php
2011-11-21 00:58:12 +01:00
Eloy Lafuente (stronk7)
34087d7be2 Merge branch 'MDL-30339' of git://github.com/scriby/moodle 2011-11-21 00:50:32 +01:00
Chris Scribner
036e84c389 MDL-30354 lti - B27 - locallib changes 2011-11-18 12:38:41 -05:00
Eloy Lafuente (stronk7)
668933bcaa MDL-20534 lti: B14 - tiny bit, but savepoint tests require that 2011-11-18 17:19:59 +01:00
Chris Scribner
532ae9aa34 MDL-30295 lti - Adding lti:manage localization string. 2011-11-18 11:19:07 -05:00
Chris Scribner
efba8960e1 MDL-20534 lti: B11 - Making language file changes (re-order, markdown, remove newlines in strings) 2011-11-18 11:18:36 -05:00
Eloy Lafuente (stronk7)
194f2c60ef MDL-20534 lti: B14 - whitespace and comment fixes 2011-11-18 16:05:22 +01:00
Chris Scribner
38936053a3 MDL-20534 lti: B9 - Adding db/log.php 2011-11-17 16:41:45 -05:00
Chris Scribner
aeae316274 MDL-20534 lti: B28 - Accidentally included Copyright header in wrong file. 2011-11-17 16:30:20 -05:00
Chris Scribner
8f45215d1c MDL-20534 lti: B28 - Update attribution headers. 2011-11-17 16:29:50 -05:00
Chris Scribner
76519c52f0 MDL-20534 lti: B11 - Making language file changes (re-order, markdown, remove newlines in strings) 2011-11-17 15:50:14 -05:00
Charles Severance
6edcab7a1a MDL-20534
Undo change that Chris already did.
2011-11-17 10:35:07 -05:00
Charles Severance
461bde28d8 MDL-20534
Add the tool_consumer_info fields and fix parsing of custom parameters.
2011-11-17 10:34:58 -05:00
Chris Scribner
34eb05018f MDL-20534 lti: Some cleanup of locallib.php 2011-11-17 10:34:45 -05:00
Charles Severance
ddcfda87d6 MDL-20534
I ran the software through the certification and caught a few nits:

The error return is 'failure' not 'error'
The spec says that it needs to return 'failure' for out of range or non-numeric grades
The result score needs a language tag, hard-coded as 'en'
Setting a grade multiplied by 100 but reading the grade did not divide by 100
All those are now fixed with this patch as well as this bit of cruft:

I removed the "extension service url" as it is not implemented in service.php

Feel free to review and adjust - probably the one place you might want to refactor
is that I put code to catch out-of-range-and non-numeric in
lti_parse_grade_replace_message and threw an exception on error and then caught
it in service.php and sent back the 'failure' message. Feel free to refactor a
bit if you see this done in a cleaner manner.
2011-11-17 10:34:23 -05:00
Chris Scribner
0297a3d4b7 MDL-20534 lti: Updating the tool consumer information strings to match newest spec version. 2011-11-17 10:34:07 -05:00
Chris Scribner
776e5cfa0f MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect SSL requests. 2011-11-17 09:35:56 -05:00
Chris Scribner
b07878ec7d MDL-20534 lti: B14 - Implementing "show description on course page" 2011-11-17 09:28:40 -05:00
Eloy Lafuente (stronk7)
6a7998f9a1 MDL-20534 lti: bump version and requires to current before integration, yay! 2011-11-14 12:35:52 +01:00
Chris Scribner
42a2c7f16e MDL-20534 lti: A8. Removing locallib.php require from lib.php 2011-11-11 13:54:54 -05:00
Chris Scribner
2575332b86 MDL-20534 lti: Updating call to lti_add_instance with 2nd argument. 2011-11-11 13:47:53 -05:00
Chris Scribner
d00d058d55 MDL-20534 lti: Fixing some language in lti's index.php 2011-11-11 13:40:59 -05:00
Chris Scribner
78d52bf87c MDL-20534 lti: Getting rid of references to "Basic" LTI in language file 2011-11-11 13:34:24 -05:00
Chris Scribner
89b7bbe9ee MDL-20534 lti: A9. Fixing issues with the course tool popup not disappearing. 2011-11-11 13:31:09 -05:00
Darko Miletic
4febc0a013 Added Moodle 1.9 -> Moodle 2 converter 2011-11-11 08:31:34 -05:00
Eloy Lafuente (stronk7)
8f76418516 MDL-20534 lti: added missing MOODLE_INTERNAL checks 2011-11-08 12:09:49 +01:00
Eloy Lafuente (stronk7)
419c4f54c5 MDL-20534 lti: comments cleanup 2011-11-08 03:36:26 +01:00
Eloy Lafuente (stronk7)
64ce589b39 MDL-20534 lti: various fixes 2011-11-08 03:31:44 +01:00
Eloy Lafuente (stronk7)
b9fbe554ef MDL-20534 lti: fix settings page, needs more work (B12) 2011-11-08 02:29:24 +01:00
Eloy Lafuente (stronk7)
5f1362550f MDL-20534 lti: reformat queries and fix some errors 2011-11-08 02:12:39 +01:00
Eloy Lafuente (stronk7)
c69bd1af4f MDL-20534 lti: various fixes to add/update_instance() 2011-11-08 02:11:53 +01:00
Eloy Lafuente (stronk7)
7fdee5b643 MDL-20534 lti: add component and set lti module as core one 2011-11-08 00:55:59 +01:00
Eloy Lafuente (stronk7)
3bc4f6336b MDL-20534 lti: fix last whitespace issues + borked lang file 2011-11-08 00:36:00 +01:00
Eloy Lafuente (stronk7)
b5d68e50a6 MDL-20534 lti: A7, delete some unused/empty files 2011-11-08 00:01:01 +01:00
Eloy Lafuente (stronk7)
b1e9a121c9 MDL-20534 lti: fix some errors introduced by myself in the cleanup 2011-11-07 23:41:05 +01:00
Eloy Lafuente (stronk7)
6c64e8ac17 MDL-20534 lti: B3, A6, apply new external icons support to lti (MDL-30175) 2011-11-07 23:40:52 +01:00
Chris Scribner
5de15b83cc MDL-20534 lti: Replacing <<< strings with normal multi-line strings. 2011-11-07 01:05:42 -05:00
Eloy Lafuente (stronk7)
a55c361955 MDL-20534 lti: various fixes 2011-11-06 22:05:35 -05:00
Eloy Lafuente (stronk7)
fabd4fcf53 MDL-20534 lti: A4, add some todos towards unified Oauth 2011-11-06 22:05:11 -05:00
Eloy Lafuente (stronk7)
fccacaa785 MDL-20534 lti: A2, cleanup upgrade and moodle1 conversion 2011-11-06 22:03:55 -05:00
Eloy Lafuente (stronk7)
ea04a9f989 MDL-20534 lti: A3, coding style + some scope, constructors 2011-11-06 22:02:26 -05:00
Chris Scribner
e27cb316aa MDL-20534 lti: A3, whitespace fixes (Changes by stronk7) 2011-11-06 22:00:40 -05:00