<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/311/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Itamart</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/311/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Itamart"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/Special:Contributions/Itamart"/>
	<updated>2026-05-26T16:33:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=Dataform_FAQ&amp;diff=125025</id>
		<title>Dataform FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=Dataform_FAQ&amp;diff=125025"/>
		<updated>2016-08-25T15:04:40Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dataform | innertrail =  ► See also }}&lt;br /&gt;
==How can I set up the Dataform to allow students to view only their own entries?==&lt;br /&gt;
Set [[Dataform_settings#Separate_participants|Separate participants]] in the activity settings to &#039;Yes&#039;.&lt;br /&gt;
&lt;br /&gt;
==How can I list entries content horizontally in an aligned table?==&lt;br /&gt;
Use the [[Dataformview Tabular|Tabular view type]] or the [[Dataformview Aligned|Aligned view type]].&lt;br /&gt;
&lt;br /&gt;
==Is there a Time stamp for Dataform entries?==&lt;br /&gt;
The internal [[Dataformfield entrytime|Entry time field]] allows you to display the time-created and time-modified of the entry.&lt;br /&gt;
&lt;br /&gt;
==How can I make the title of an entry into a link?==&lt;br /&gt;
To make the title of an entry in list view link to the single view, add the following code to the list template:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;quot;##moreurl##&amp;quot;&amp;gt;[[Title]]&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How can I make email addresses clickable?==&lt;br /&gt;
To make email addresses clickable, add the following code to the view template:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;quot;mailto:[[Email]]&amp;quot;&amp;gt;[[Email]]&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
where &#039;Email&#039; is the text field for entering an email addresses.&lt;br /&gt;
&lt;br /&gt;
==How can I delete a file attached to an entry?==&lt;br /&gt;
*Edit the entry.&lt;br /&gt;
*Right-click on the file in the file manager.&lt;br /&gt;
*Select &#039;delete&#039;.&lt;br /&gt;
*Save the entry.&lt;br /&gt;
&lt;br /&gt;
==How can I add a default sort order of entries?==&lt;br /&gt;
In the Filters tab&lt;br /&gt;
* Add a new filter.&lt;br /&gt;
* Add sorting criteria to the filter.&lt;br /&gt;
* Click on the &#039;default&#039; button of the filter in the filters list.&lt;br /&gt;
&lt;br /&gt;
==How can I prevent students from adding entries?==&lt;br /&gt;
In the Dataform settings, set max number of entries to 0.&lt;br /&gt;
&lt;br /&gt;
You can also prevent adding and editing entries in a particular view by disabling all submission buttons in the view&#039;s submission settings.&lt;br /&gt;
&lt;br /&gt;
==How can I add entries en masse?==&lt;br /&gt;
In the general section of the view template add the tag ##addnewentries## (as opposed to the default ##addnewentry##). This pattern displays a dropdown to select the number of entries to add.&lt;br /&gt;
&lt;br /&gt;
==How can I edit/delete entries en masse?==&lt;br /&gt;
In the view template add the selector, bulk-edit and bulk-delete patterns. In the entries list tick the checkboxes of the entries to edit/delete and click the the respective bulk action link.&lt;br /&gt;
&lt;br /&gt;
==How can I completely reset a Dataform activity?==&lt;br /&gt;
In the Dataform administration section of the Settings block, click &#039;Renew&#039;.&lt;br /&gt;
&lt;br /&gt;
==How can I display totals from number fields within an entry (line) and for a set of entries (column) in the view?==&lt;br /&gt;
You can enter in the entry template or view template (as the case may be) formula patterns in which you specify arithmetic operations on field patterns or other formula patterns. For example, an entry template in a tabular view with line and column formulas:&lt;br /&gt;
&lt;br /&gt;
[[File:df-formula-in-tabular-view3.png]]&lt;br /&gt;
&lt;br /&gt;
And the display is:&lt;br /&gt;
&lt;br /&gt;
[[File:df-formula-in-tabular-view4.png]]&lt;br /&gt;
&lt;br /&gt;
(See forum post at https://moodle.org/mod/forum/discuss.php?d=140433#p991346)&lt;br /&gt;
&lt;br /&gt;
Note the &#039;!&#039; prefix in the field pattern inside the formula. This is a flag which disables editing mode for the field pattern. Typically we don&#039;t want field patterns in formula to open for editing (as input elements) and so if the view allows editing we need to add these flags to editable field patterns in the formula.&lt;br /&gt;
&lt;br /&gt;
You can aggregate formulas with the same higher indices. So, for instance, the formula&lt;br /&gt;
&lt;br /&gt;
 %%F:=SUM(_F1_)%%&lt;br /&gt;
&lt;br /&gt;
will display the sum total of all the formulas that look like&lt;br /&gt;
&lt;br /&gt;
 %%F1:=...%%&lt;br /&gt;
&lt;br /&gt;
anywhere in the view.&lt;br /&gt;
&lt;br /&gt;
The formula&lt;br /&gt;
&lt;br /&gt;
 %%F:=SUM(_F1_,AVERAGE(_F2_))%%&lt;br /&gt;
&lt;br /&gt;
will display the sum total of all the F1 formulas + the average of all the F2 formulas.&lt;br /&gt;
&lt;br /&gt;
The rule is that the aggregated formulas must have a higher index than the aggregating formula.&lt;br /&gt;
&lt;br /&gt;
It becomes a bit tricky if you want both line totals and column totals. For line totals you would typically use the entry id as the index of the aggregated formula since it is unique per line. Something like:&lt;br /&gt;
&lt;br /&gt;
 %%F[[entryid] ]:=...%%&lt;br /&gt;
&lt;br /&gt;
But that won&#039;t work for column total. It seems that currently the only way to do that is to add another hidden formula in each cell for the column totals. So you could have something like:&lt;br /&gt;
&lt;br /&gt;
 %%F[[entryid] ]:=...%% &amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;hide&amp;quot;&amp;gt;%%F1:=...%%&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both formulas will yield the same figure in the cell but only one will be displayed. The line total will use the first and the column total will use the second.&lt;br /&gt;
&lt;br /&gt;
To reduce clutter in the view template you can use designated text fields for complex formulas. You enter the formula in the field&#039;s template and use the pattern [[T@fieldname] ]. The field template currently doesn&#039;t support html so you would have to add the html for hiding the second in the view template. This could look something like:&lt;br /&gt;
&lt;br /&gt;
 [[T@LineFormula] ] &amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;hide&amp;quot;&amp;gt;[[T@ColumnFormula] ]&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, this technique is useful mainly when you have long formulas in complex view templates.&lt;br /&gt;
&lt;br /&gt;
The Dataform uses the same moodle library that is used by the gradebook formulas and you can find a list of functions (in addition to the standard arithmetic operators) at http://docs.moodle.org/en/Grade_calculations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:df-formula-in-tabular-view4.png&amp;diff=125024</id>
		<title>File:df-formula-in-tabular-view4.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:df-formula-in-tabular-view4.png&amp;diff=125024"/>
		<updated>2016-08-25T14:58:22Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:df-formula-in-tabular-view3.png&amp;diff=125023</id>
		<title>File:df-formula-in-tabular-view3.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:df-formula-in-tabular-view3.png&amp;diff=125023"/>
		<updated>2016-08-25T14:53:00Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122987</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122987"/>
		<updated>2016-04-20T15:19:25Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Reset caches */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
The MH AAIRS block is a Moodle integration with McGraw Hill&#039;s MH Campus and other educational tools and services.&lt;br /&gt;
The block provides single sign on access point from the Moodle course to McGraw-Hill&#039;s educational applications. The block also supports grades sync from McGraw-Hill application to Moodle gradebook.&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required (e.g. on the next block rendering in any course).&lt;br /&gt;
&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed. (Note: depending on your site/course theme and the location of other blocks in your course, the &#039;Add a block&#039; dropdown may appear in a different location from the illustrated).&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-05.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
 [[File: mhaairs-user-block-usage-01.png]]&lt;br /&gt;
 &lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
To access MH Campus click on the McGraw-Hill Campus link. MH Campus will open in a new page.&lt;br /&gt;
===Accessing Admin/Instructor documentation===&lt;br /&gt;
To access the Admin/Instructor documentation click on the respective link. The documentation will open in a new page. Note: the documentation is available per role.&lt;br /&gt;
===Grade sync===&lt;br /&gt;
TBA&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122595</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122595"/>
		<updated>2016-03-22T15:12:36Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
The MH AAIRS block is a Moodle integration with McGraw Hill&#039;s MH Campus and other educational tools and services.&lt;br /&gt;
The block provides single sign on access point from the Moodle course to McGraw-Hill&#039;s educational applications. The block also supports grades sync from McGraw-Hill application to Moodle gradebook.&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed. (Note: depending on your site/course theme and the location of other blocks in your course, the &#039;Add a block&#039; dropdown may appear in a different location from the illustrated).&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-05.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
 [[File: mhaairs-user-block-usage-01.png]]&lt;br /&gt;
 &lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
To access MH Campus click on the McGraw-Hill Campus link. MH Campus will open in a new page.&lt;br /&gt;
===Accessing Admin/Instructor documentation===&lt;br /&gt;
To access the Admin/Instructor documentation click on the respective link. The documentation will open in a new page. Note: the documentation is available per role.&lt;br /&gt;
===Grade sync===&lt;br /&gt;
TBA&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-user-block-usage-01.png&amp;diff=122593</id>
		<title>File:mhaairs-user-block-usage-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-user-block-usage-01.png&amp;diff=122593"/>
		<updated>2016-03-22T12:41:14Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122592</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122592"/>
		<updated>2016-03-22T12:40:51Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed. (Note: depending on your site/course theme and the location of other blocks in your course, the &#039;Add a block&#039; dropdown may appear in a different location from the illustrated).&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-05.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
 [[File: mhaairs-user-block-usage-01.png]]&lt;br /&gt;
 &lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
To access MH Campus click on the McGraw-Hill Campus link. MH Campus will open in a new page.&lt;br /&gt;
===Accessing Admin/Instructor documentation===&lt;br /&gt;
To access the Admin/Instructor documentation click on the respective link. The documentation will open in a new page. Note: the documentation is available per role.&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122586</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122586"/>
		<updated>2016-03-21T16:57:29Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Changing the list of the displayed tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed. (Note: depending on your site/course theme and the location of other blocks in your course, the &#039;Add a block&#039; dropdown may appear in a different location from the illustrated).&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-05.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-03.png&amp;diff=122585</id>
		<title>File:mhaairs-instructor-block-config-03.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-03.png&amp;diff=122585"/>
		<updated>2016-03-21T16:57:14Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-02.png&amp;diff=122584</id>
		<title>File:mhaairs-instructor-block-config-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-02.png&amp;diff=122584"/>
		<updated>2016-03-21T16:55:32Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-01.png&amp;diff=122583</id>
		<title>File:mhaairs-instructor-block-config-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-block-config-01.png&amp;diff=122583"/>
		<updated>2016-03-21T16:53:42Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-05.png&amp;diff=122582</id>
		<title>File:mhaairs-instructor-add-block-05.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-05.png&amp;diff=122582"/>
		<updated>2016-03-21T15:49:23Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-04.png&amp;diff=122581</id>
		<title>File:mhaairs-instructor-add-block-04.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-04.png&amp;diff=122581"/>
		<updated>2016-03-21T15:49:09Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-03.png&amp;diff=122580</id>
		<title>File:mhaairs-instructor-add-block-03.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-03.png&amp;diff=122580"/>
		<updated>2016-03-21T15:38:45Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-02.png&amp;diff=122579</id>
		<title>File:mhaairs-instructor-add-block-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-02.png&amp;diff=122579"/>
		<updated>2016-03-21T15:36:34Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122578</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122578"/>
		<updated>2016-03-21T15:36:11Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed. (Note: depending on your site/course theme and the location of other blocks in your course, the &#039;Add a block&#039; dropdown may appear in a different location from the illustrated).&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-05.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122577</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122577"/>
		<updated>2016-03-21T15:29:43Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed.&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122576</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122576"/>
		<updated>2016-03-21T15:28:38Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL Only====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====Customer Number====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====Available Services====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====Help links====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====Locking type====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===WEB SERVICE TEST CLIENT===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===GRADE EXCHANGE LOGS===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===RESET CACHES===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==Course administration==&lt;br /&gt;
===Adding the mhaairs block in a course===&lt;br /&gt;
In your course press the &#039;Turn editing on&#039; button to turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed.&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===Changing the list of the displayed tools===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==Usage==&lt;br /&gt;
===Accessing MH Campus===&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-01.png&amp;diff=122575</id>
		<title>File:mhaairs-instructor-add-block-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-instructor-add-block-01.png&amp;diff=122575"/>
		<updated>2016-03-21T15:24:08Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122574</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122574"/>
		<updated>2016-03-21T15:19:52Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Site administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==COURSE ADMINISTRATION==&lt;br /&gt;
===ADDING THE MHAAIRS BLOCK IN A COURSE===&lt;br /&gt;
In your course turn editing on.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The &#039;Add a block&#039; dropdown is now displayed.&lt;br /&gt;
 &lt;br /&gt;
In the Add a block dropdown list select McGraw-Hill AAIRS.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The mhaairs block is now added to your course.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-03.png]]&lt;br /&gt;
 &lt;br /&gt;
By default the block displays the tools and documentation links which have been enabled by your administrator.&lt;br /&gt;
You can change the list of the displayed tools in the block configuration (see below).&lt;br /&gt;
If you site administrator has not enabled any tools, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-add-block-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The documentation link are displayed according to your role. If you are site admin you will see both the admin and instructor documentation links. If you are an instructor but not site admin you will see only the instructor documentation link. The documentation links are displayed only if enabled by the site administrator. You cannot currently control the display of these links via the block configuration.&lt;br /&gt;
===CHANGING THE LIST OF THE DISPLAYED TOOLS===&lt;br /&gt;
In editing mode on, click on the cog icon in the block and select &#039;Configure McGraw-Hill AAIRS block&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-01.png]]&lt;br /&gt;
 &lt;br /&gt;
The block configuration form displays the tool options your administrator enabled for the site. Tick the checkbox next to the tools you wish to make available in your course, and untick the checkbox next to those you do not need in the course. Then press &#039;Save changes&#039;.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-02.png]]&lt;br /&gt;
 &lt;br /&gt;
If you unselect all the available tools and save the configuration, the block will display a warning message. In this state the block will be visible only for instructors and administrators. It will not be visible to students.&lt;br /&gt;
 [[File: mhaairs-instructor-block-config-03.png]]&lt;br /&gt;
 &lt;br /&gt;
==USAGE==&lt;br /&gt;
===ACCESSING MH CAMPUS===&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122573</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122573"/>
		<updated>2016-03-21T12:11:12Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
&lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-reset-caches-02.png&amp;diff=122572</id>
		<title>File:mhaairs-admin-reset-caches-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-reset-caches-02.png&amp;diff=122572"/>
		<updated>2016-03-20T22:20:13Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-reset-caches-01.png&amp;diff=122571</id>
		<title>File:mhaairs-admin-reset-caches-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-reset-caches-01.png&amp;diff=122571"/>
		<updated>2016-03-20T22:20:00Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122570</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122570"/>
		<updated>2016-03-20T22:19:42Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Reset caches */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
&lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.png]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
&lt;br /&gt;
2. Click &#039;Manage AAIRS&#039; to open the AAIRS interface. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form: &lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties:&lt;br /&gt;
 server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL &lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration. 7. Click &#039;Save &amp;amp; Continue&#039;. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-grade-exchange-logs-02.png&amp;diff=122569</id>
		<title>File:mhaairs-admin-grade-exchange-logs-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-grade-exchange-logs-02.png&amp;diff=122569"/>
		<updated>2016-03-20T22:15:08Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122568</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122568"/>
		<updated>2016-03-20T22:14:52Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Grade exchange logs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.png]]&lt;br /&gt;
&lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.jpg]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
&lt;br /&gt;
2. Click &#039;Manage AAIRS&#039; to open the AAIRS interface. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form: &lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties:&lt;br /&gt;
 server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL &lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration. 7. Click &#039;Save &amp;amp; Continue&#039;. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122567</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122567"/>
		<updated>2016-03-20T22:13:23Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Grade exchange logs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.jpg]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
&lt;br /&gt;
2. Click &#039;Manage AAIRS&#039; to open the AAIRS interface. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form: &lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties:&lt;br /&gt;
 server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL &lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration. 7. Click &#039;Save &amp;amp; Continue&#039;. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-grade-exchange-logs-01.png&amp;diff=122566</id>
		<title>File:mhaairs-admin-grade-exchange-logs-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-grade-exchange-logs-01.png&amp;diff=122566"/>
		<updated>2016-03-20T22:13:00Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-07.png&amp;diff=122565</id>
		<title>File:mhaairs-admin-web-service-test-client-07.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-07.png&amp;diff=122565"/>
		<updated>2016-03-20T22:10:27Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-06.png&amp;diff=122564</id>
		<title>File:mhaairs-admin-web-service-test-client-06.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-06.png&amp;diff=122564"/>
		<updated>2016-03-20T22:09:17Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-05.png&amp;diff=122563</id>
		<title>File:mhaairs-admin-web-service-test-client-05.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-05.png&amp;diff=122563"/>
		<updated>2016-03-20T22:06:52Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-04.png&amp;diff=122550</id>
		<title>File:mhaairs-admin-web-service-test-client-04.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-04.png&amp;diff=122550"/>
		<updated>2016-03-18T21:43:39Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-03.png&amp;diff=122549</id>
		<title>File:mhaairs-admin-web-service-test-client-03.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-03.png&amp;diff=122549"/>
		<updated>2016-03-18T21:42:04Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-02.png&amp;diff=122548</id>
		<title>File:mhaairs-admin-web-service-test-client-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-02.png&amp;diff=122548"/>
		<updated>2016-03-18T21:39:43Z</updated>

		<summary type="html">&lt;p&gt;Itamart: Itamart uploaded a new version of File:mhaairs-admin-web-service-test-client-02.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-02.png&amp;diff=122547</id>
		<title>File:mhaairs-admin-web-service-test-client-02.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-02.png&amp;diff=122547"/>
		<updated>2016-03-18T21:37:49Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-01.png&amp;diff=122546</id>
		<title>File:mhaairs-admin-web-service-test-client-01.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-web-service-test-client-01.png&amp;diff=122546"/>
		<updated>2016-03-18T21:37:16Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122545</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122545"/>
		<updated>2016-03-18T21:36:33Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Web service test client */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.png]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.png]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.png]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.png]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.png]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.png]]&lt;br /&gt;
&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.jpg]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
&lt;br /&gt;
2. Click &#039;Manage AAIRS&#039; to open the AAIRS interface. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form: &lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties:&lt;br /&gt;
 server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL &lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration. 7. Click &#039;Save &amp;amp; Continue&#039;. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-site-settings.png&amp;diff=122544</id>
		<title>File:mhaairs-admin-site-settings.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-site-settings.png&amp;diff=122544"/>
		<updated>2016-03-18T17:41:51Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-administration-options.png&amp;diff=122543</id>
		<title>File:mhaairs-admin-administration-options.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=File:mhaairs-admin-administration-options.png&amp;diff=122543"/>
		<updated>2016-03-18T17:38:24Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122541</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=122541"/>
		<updated>2016-03-18T17:32:52Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git Clone===&lt;br /&gt;
* In the root of your Moodle install type the following command:&lt;br /&gt;
 git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs.&lt;br /&gt;
* Go to the blocks/mhaairs folder.&lt;br /&gt;
* Type the following command (replace XX with your Moodle major version number; e.g. 29):&lt;br /&gt;
 git checkout MOODLE_XX_STABLE&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude. &lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from one of the following locations:&lt;br /&gt;
 https://github.com/itamart/moodle-block_mhaairs/releases&lt;br /&gt;
 https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodle block on your instance.&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration options can be found in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS.&lt;br /&gt;
 [[File:mhaairs-admin-administration-options.png]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The plugin site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - Forms for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
 [[File:mhaairs-admin-site-settings.png]]&lt;br /&gt;
 &lt;br /&gt;
====SSL ONLY====&lt;br /&gt;
Require secured connection for login validation and user info requests from Connect. Either the moodle server protocol or the Connect protocol must be https.&lt;br /&gt;
====CUSTOMER NUMBER====&lt;br /&gt;
Set the &#039;Customer Number&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====SHARED SECRET====&lt;br /&gt;
Set the &#039;Customer Secret&#039; to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
====AVAILABLE SERVICES====&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Empty&lt;br /&gt;
====HELP LINKS====&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====GRADEBOOK SYNC====&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this setting is irrelevant.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; Yes&lt;br /&gt;
====LOCKING TYPE====&lt;br /&gt;
With Gradebook Sync enabled, you may need to activate a locking method to prevent race conditions when the gradebook is updated. You can choose a locking type appropriate for your server setup.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No locking&lt;br /&gt;
* &#039;&#039;&#039;Options:&#039;&#039;&#039; &lt;br /&gt;
**&#039;&#039;&#039;No locking&#039;&#039;&#039; - No locking is done.&lt;br /&gt;
**&#039;&#039;&#039;File locking&#039;&#039;&#039; - Creates a file in the Moodle data temp directory and uses the handler as the locking indicator.&lt;br /&gt;
**&#039;&#039;&#039;Redis locking&#039;&#039;&#039; - Redis (http://redis.io/) is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.&lt;br /&gt;
====GRADE EXCHANGE LOG====&lt;br /&gt;
Log grade exchange raw data for debugging purposes. Should be disabled on production sites. Log files are stored in moodledata directory [moodledata]/mhaairs. Every individual web service request generates a separate log file with the filename format &#039;mhaairs_year-month-day_hour-min-sec_randomkey.log&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_gradelog&lt;br /&gt;
* &#039;&#039;&#039;Default:&#039;&#039;&#039; No&lt;br /&gt;
===Web service test client===&lt;br /&gt;
Admins can simulate external access to the plugin web services by using the plugin&#039;s web service client forms.&lt;br /&gt;
Warning: The web service test client executes the functions for REAL. Do not use on production sites.&lt;br /&gt;
The Function… dropdown displays a list of the plugin&#039;s web service functions that can be tested via the client.&lt;br /&gt;
 [[File:mhaairs-admin-web-service-test-client-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Selecting a function will open the proper form for entering the service parameters. For example, selecting the update_grade function will open the following form:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The Web service test client section is shared by all functions and allows you to select the target protocol and response format. By default these are REST and JSON respectively. The test client currently supports only REST protocol. It supports JSON and XML response formats.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-03.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The Authentication section is also shared by all functions and allows you to enter the authentication parameters. By default the client expects a token authentication. The token must be generated for the designated user by admin at Site administration ► Plugins ► Web services ► Manage tokens. Alternatively you can switch to the Username/Password method and enter the username and password of the designated user.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-04.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The Service params section is function specific. In some functions the service params may consist of several sections for readability. You need to enter valid service params. For example:&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-05.jpg]]&lt;br /&gt;
 &lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-06.jpg]]&lt;br /&gt;
 &lt;br /&gt;
Upon pressing the Execute button the service request will be executed. The service url and the response text will be displayed at the top of the form.&lt;br /&gt;
 [[File: mhaairs-admin-web-service-test-client-07.jpg]]&lt;br /&gt;
 &lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
Displays the list of existing log files that are generated when the &#039;Grade exchange log&#039; setting in the plugin configuration is enabled.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-01.png]]&lt;br /&gt;
 &lt;br /&gt;
Currently the content of the log files cannot be viewed on from this page. Admin will have to open the file from its actual location in the designated moodledata directory [moodledata]/mhaairs.&lt;br /&gt;
You can click the &#039;Delete all&#039; link to delete all the existing log files.&lt;br /&gt;
 [[File:mhaairs-admin-grade-exchange-logs-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
===Reset caches===&lt;br /&gt;
This plugin caches store the configured tools and help urls.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-01.jpg]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Admin can click the Reset link to clear the caches.&lt;br /&gt;
 [[File: mhaairs-admin-reset-caches-02.jpg]]&lt;br /&gt;
 &lt;br /&gt;
The caches will be automatically regenerated as soon as the respective info is required.&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
&lt;br /&gt;
2. Click &#039;Manage AAIRS&#039; to open the AAIRS interface. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form: &lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties:&lt;br /&gt;
 server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL &lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration. 7. Click &#039;Save &amp;amp; Continue&#039;. &lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121757</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121757"/>
		<updated>2015-12-08T14:08:29Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Administration==&lt;br /&gt;
The mhaairs block administration is available in the Administration block under Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS. It consists of 4 sections:&lt;br /&gt;
* &#039;&#039;&#039;Settings&#039;&#039;&#039; - The block site configuration settings.&lt;br /&gt;
* &#039;&#039;&#039;Web service test client&#039;&#039;&#039; - A form for testing the block web services.&lt;br /&gt;
* &#039;&#039;&#039;Grade exchange logs&#039;&#039;&#039; - Index and management of existing grade exchange logs.&lt;br /&gt;
* &#039;&#039;&#039;Reset caches&#039;&#039;&#039; - Resets the block&#039;s local caches.&lt;br /&gt;
&lt;br /&gt;
 [[File:mhaairs-administration-nav.png]]&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
====SSL Only====&lt;br /&gt;
&lt;br /&gt;
====Customer Number====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Available Services====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
====Help links====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====Select locking type====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
&lt;br /&gt;
===Web service test client===&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
===Reset caches===&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121754</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121754"/>
		<updated>2015-12-08T13:57:57Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Administration==&lt;br /&gt;
&lt;br /&gt;
 [[File:mhaairs-administration-nav.png]]&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
====SSL Only====&lt;br /&gt;
&lt;br /&gt;
====Customer Number====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Available Services====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
====Help links====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====Select locking type====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
&lt;br /&gt;
===Web service test client===&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
===Reset caches===&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121753</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121753"/>
		<updated>2015-12-08T13:39:39Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Administration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Administration==&lt;br /&gt;
&lt;br /&gt;
 [[File:administration-nav.png]]&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
====SSL Only====&lt;br /&gt;
&lt;br /&gt;
====Customer Number====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Available Services====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
====Help links====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====Select locking type====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
&lt;br /&gt;
===Web service test client===&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
===Reset caches===&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121752</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121752"/>
		<updated>2015-12-08T13:34:41Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Administration==&lt;br /&gt;
===Settings===&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
====SSL Only====&lt;br /&gt;
&lt;br /&gt;
====Customer Number====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Shared Secret====&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
====Available Services====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
====Help links====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
====Gradebook Sync====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====Select locking type====&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
====Grade exchange log====&lt;br /&gt;
&lt;br /&gt;
===Web service test client===&lt;br /&gt;
===Grade exchange logs===&lt;br /&gt;
===Reset caches===&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121751</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121751"/>
		<updated>2015-12-08T13:31:08Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Select locking type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
===Help links===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121750</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121750"/>
		<updated>2015-12-08T13:25:55Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Site configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
===Help links===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121749</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121749"/>
		<updated>2015-12-08T13:25:40Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
===Help links===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_sync_gradebook.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Gradebook Sync provides the ability to push scores from MH Campus directly to the Moodle gradebook. Note: If only Tegrity is enabled on your site, this is irrelevant.&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_locktype.&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; No locking.&lt;br /&gt;
&lt;br /&gt;
With Gradebook Syny enabled, choose locking type appropriate for your server setup. Available options:&lt;br /&gt;
* No locking - TBA.&lt;br /&gt;
* File locking - TBA.&lt;br /&gt;
* Redis locking - TBA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121748</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121748"/>
		<updated>2015-12-08T13:20:18Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Help links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
===Help links===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_helplinks.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121747</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121747"/>
		<updated>2015-12-08T13:19:53Z</updated>

		<summary type="html">&lt;p&gt;Itamart: /* Available Services */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
&#039;&#039;&#039;Name:&#039;&#039;&#039; block_mhaairs_display_services.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039; Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
&lt;br /&gt;
===Help links===&lt;br /&gt;
Name: block_mhaairs_display_helplinks.&lt;br /&gt;
Default: Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121746</id>
		<title>MH AAIRS block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/311/en/index.php?title=MH_AAIRS_block&amp;diff=121746"/>
		<updated>2015-12-08T13:18:31Z</updated>

		<summary type="html">&lt;p&gt;Itamart: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Blocks&lt;br /&gt;
|set = N/A&lt;br /&gt;
|entry = [http://moodle.org/plugins/view.php?plugin=block_mhaairs Moodle plugins repo]&lt;br /&gt;
|tracker = [https://tracker.moodle.org/browse/CONTRIB/component/14834 Moodle tracker]&lt;br /&gt;
|discussion = TBA&lt;br /&gt;
|maintainer = [[User:Itamar Tzadok|Itamar Tzadok]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Git clone===&lt;br /&gt;
* Type the following command in the root of your Moodle install: git clone git://github.com/itamart/moodle-block_mhaairs.git blocks/mhaairs&lt;br /&gt;
* Add /blocks/mhaairs to your .git/info/exclude.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
* Download the recent release for your Moodle version from: https://github.com/itamart/moodle-block_mhaairs/releases or https://moodle.org/plugins/pluginversions.php?plugin=block_mhaairs&lt;br /&gt;
* Extract into the &#039;blocks&#039; subfolder of your Moodle install.&lt;br /&gt;
* Rename the new folder to mhaairs.&lt;br /&gt;
* Visit http://your-domain/admin to finish the installation.&lt;br /&gt;
&lt;br /&gt;
===Moodlerooms customer===&lt;br /&gt;
* Please contact Moodlerooms and ask them to install the MH-AAIRS moodleblock on your instance.&lt;br /&gt;
&lt;br /&gt;
==Site configuration==&lt;br /&gt;
The mhaairs block has a few settings which need to be configured by an administrator in Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; McGraw-Hill AAIRS &amp;gt; Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:sitesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===SSL Only===&lt;br /&gt;
&lt;br /&gt;
===Customer Number===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Number’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Shared Secret===&lt;br /&gt;
&lt;br /&gt;
Set the ‘Customer Secret’ to value provided to you by MH Campus in a welcome email.&lt;br /&gt;
&lt;br /&gt;
===Available Services===&lt;br /&gt;
Name: block_mhaairs_display_services.&lt;br /&gt;
Default: Empty.&lt;br /&gt;
&lt;br /&gt;
One or more of the web services is currently down or your client access data are not correctly configured. Please contact McGraw-Hill help for further action.&lt;br /&gt;
===Help links===&lt;br /&gt;
Name: block_mhaairs_display_helplinks.&lt;br /&gt;
Default: Yes.&lt;br /&gt;
&lt;br /&gt;
Select this option if you wish help links to appear in the block appropriate to admin and teacher roles.&lt;br /&gt;
&lt;br /&gt;
===Gradebook Sync===&lt;br /&gt;
&lt;br /&gt;
===Select locking type===&lt;br /&gt;
&lt;br /&gt;
===Grade exchange log===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AAIRS configuration==&lt;br /&gt;
1. Login to your MH Campus account as the admin.&lt;br /&gt;
2. Click ‘Manage AAIRS’ to open the AAIRS interface.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-admin-dashboard.png]]&lt;br /&gt;
&lt;br /&gt;
3. Edit the Authorization section.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization1.png]]&lt;br /&gt;
&lt;br /&gt;
4. Drag the &#039;Custom&#039; box from &#039;Manual Configuration&#039; into the &#039;Currently Used Connectors&#039; area.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization2.png]]&lt;br /&gt;
&lt;br /&gt;
5. Enter the following parameters in the custom connector form:&lt;br /&gt;
* Title: Moodle&lt;br /&gt;
* Service URL: http://mhaairs.tegrity.com/CustomIntegrationModules/MoodlelIntegrationService.svc &lt;br /&gt;
* Extended Properties: server=YOUR-MOODLE-SERVER-URL;block_name=mhaairs;secret=YOUR-MHAAIRS-SECRET;protocol=YOUR-PREFERRED-PROTOCOL&lt;br /&gt;
** Replace YOUR-MOODLE-SERVER-URL with the actual url of your moodle server.&lt;br /&gt;
** Replace YOUR-SHARED-SECRET with the shared secret provided to you by MH Campus in a welcome email.&lt;br /&gt;
** Replace YOUR-PREFERRED-PROTOCOL with the protocol you use on your moodle server, either https or http.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization3.png]]&lt;br /&gt;
&lt;br /&gt;
6. Click &#039;Save&#039; in the custom connector form to save the Moodle connector configuration.&lt;br /&gt;
7. Click ‘Save &amp;amp; Continue’.&lt;br /&gt;
&lt;br /&gt;
 [[File:aairs-config-authorization4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Itamart</name></author>
	</entry>
</feed>