Commit Graph

27 Commits

Author SHA1 Message Date
Brian Whitmer c54670da94 update cached turnitin data when redirecting to originality report
Turnitin has no way to register callbacks when a submission's
originality score changes.  However, teachers are able to
modify originality scores for submissions by marking certain
sources as being ignored when checking for originality.  If a
teacher does this then the data we've cached will get out of
date.

We don't really want to have to regularly poll for updated
info, so this will just schedule a background job to check
for updates whenever someone goes to view the full
originality report.  There will still be plenty of time
when the data it out of sync, but it at least gives a
way in the UI to update the data.

Change-Id: Ia8cc814a2e9cf5ec140d3fd22acedfbb00da1b8a
Reviewed-on: https://gerrit.instructure.com/2163
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-02-08 12:42:51 -07:00
Ryan Shaw a5eeb2b784 add flash (swf) mime-type
Change-Id: Ie643288ebd54961193b1b721f8c8ce7f4d7ff63e
Reviewed-on: https://gerrit.instructure.com/2189
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-08 09:29:23 -07:00
Bracken Mosbacker 11f5e44e49 allow migrations to work across job servers
migrations were previously limited to being on the same
job server, now the exported data is uploaded back to
canvas and downloaded again for the importing step

closes #3519

Change-Id: I24deaf4bc1811c4b66b1a2cf79f311ffc1fa9906
Reviewed-on: https://gerrit.instructure.com/2178
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-02-07 15:07:49 -07:00
Brian Whitmer 00124e9566 publish multiple quizzes at the same time
When we import quizzes from another system we leave
them all unpublished so the teacher can review
the import results before publishing.  This adds
a "Publish Multiple Quizzes" button that will,
well, publish multiple quizzes -- at the same time.

fixes #3636

Change-Id: I9b762da0e938a0b2e1986e3bdb9a216dd5bc7142
Reviewed-on: https://gerrit.instructure.com/2175
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-02-07 15:00:36 -07:00
Bracken Mosbacker c917bc8c1b fixed copying replies for discussion topics
closes #3733

Change-Id: I1e6a5082c5edbbbb90a01ea8ff56f36e774bd58f
Reviewed-on: https://gerrit.instructure.com/2181
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-02-07 14:47:58 -07:00
Bracken Mosbacker a44c9acb27 external migration data will be deleted once imported
refs #3519

Change-Id: I2ecd672365f696f3467414d429a15151b181fc50
Reviewed-on: https://gerrit.instructure.com/2177
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-02-07 14:42:50 -07:00
Bracken Mosbacker 157750bf3f fixed a couple course dropdown encoding problems
Change-Id: I159320adaeaa2a0fce7192191905e4100ca3b636
Reviewed-on: https://gerrit.instructure.com/2180
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-02-07 14:25:22 -07:00
Brian Palmer d8e0e10a13 retain the grade if another submission API PUT is made without one
fixes #3718

Change-Id: I04868f68defcccf11cc51a40ca65047a2e38d935
Reviewed-on: https://gerrit.instructure.com/2169
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-04 15:54:18 -07:00
Brian Palmer 663ed5bf86 don't return deleted assignments in the assignment group API
fixes #3709

Change-Id: Ie684cc868454215941363959e0bfac9be4d90860
Reviewed-on: https://gerrit.instructure.com/2161
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-04 13:56:13 -07:00
Brian Whitmer d3092fd878 turnitin fixes
- javascript syntax error
- fix turnitin link on grade_summary page
- added url for student turnitin report view
- ruby syntax error in submission partial

Change-Id: I9d47159bbe68b003b546040c686f02c56e0dafd2
Reviewed-on: https://gerrit.instructure.com/2156
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-04 09:45:58 -07:00
Brian Whitmer 50975465af turnitin tweaks
- use real emails for students in turnitin when available
  (requested by iParadigms)
- add note to assignment details page to say it's a
  turnitin assignment
- add turnitin score icons to student grades page
- better logging if any errors happen during API calls

Change-Id: I0e1096583f600439245d975a178c7638d6c40fa3
Reviewed-on: https://gerrit.instructure.com/2137
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-03 15:42:39 -07:00
Brian Palmer 99a6260b09 change zip generation priority and fix repeated requests
The zip filename was wrong, so we weren't finding the previous entry,
and the javascript was asking for a compile each time.

Change-Id: Idd6bae2add07ec67c6f1f62cfe103dd036e57e8a
Reviewed-on: https://gerrit.instructure.com/2149
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-03 14:13:02 -07:00
Brian Whitmer 426e08fe12 add equella settings to the account UI
It was configurable on the console before, but this adds it
to the account settings page as well.  Sub-accounts are
able to set their own equella settings.

Change-Id: I76d909dcf9d581760c815a369793d86264148a1c
Reviewed-on: https://gerrit.instructure.com/2132
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-03 13:56:39 -07:00
Brian Palmer 4f38867a4b only infer the due at on assignment/quiz creation, fixes #3698
Change-Id: Id0336ba184dc80dca7c3a41aef62ffb0d66cdc75
Reviewed-on: https://gerrit.instructure.com/2143
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-03 13:15:15 -07:00
Ryan Shaw 8a57e6891b only require name and email for new teacher reg
more can be handled in a plugin.

Change-Id: Ie8525625f8846c2312d15fab352850a6901744b6
Reviewed-on: https://gerrit.instructure.com/2142
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-03 13:11:03 -07:00
Zach Wily af5511b953 remove unused accessors
Change-Id: Id69b4e47453a11f227ae116427d7bc89edb6628c
Reviewed-on: https://gerrit.instructure.com/2115
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-03 10:40:07 -07:00
Zach Wily 9356c9dd0e always trigger the new_teacher notifications for plugins
Previously we were only sending it if registration approval was required. Now
we send it no matter what.

Change-Id: I64aed1b7132555ffa73fd94194a1c4afe9dd63c9
Reviewed-on: https://gerrit.instructure.com/2103
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-02-03 10:38:58 -07:00
Ryan Shaw c0a4463176 More simple footer links
Change-Id: I33908099d5b532e7932b63cfb375ff9f3ce75804
Reviewed-on: https://gerrit.instructure.com/2141
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-02-03 10:24:15 -07:00
Brian Whitmer a044d4d9b2 don't hide course setup checklist
We used to hide it by default in any setting where we knew the
wizard would pop up.  But because we're storing a setting in
localStorage now we can't be sure it shouldn't be there.

Change-Id: I8bba90001a300e76d467c99f25747cf246fe3933
Reviewed-on: https://gerrit.instructure.com/2136
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-03 08:42:22 -07:00
Brian Whitmer 77702d6327 start logging asset accesses again
This was accidentally removed.

fixes #3691

Change-Id: I3c10e9de5555a4d93e851d757e6f39fb95b8dbf1
Reviewed-on: https://gerrit.instructure.com/2133
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-02-02 15:22:26 -07:00
Zach Wily 4d2f128779 update link to getting started youtube video
Next we will be extracting all this Instructure-specific stuff into a plugin
so this page is generic for Canvas CV.

Change-Id: I46200fb27a9c434d3b1983674043f6413b23a041
Reviewed-on: https://gerrit.instructure.com/2128
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-02-02 11:19:23 -07:00
Bracken Mosbacker 2c715be51f Fixed the account authorization config disappearing
This was cause by the new default escaping behaviour

Change-Id: I5a6dc181dee5b8eaa2d94545f15c3f2a9903f059
Reviewed-on: https://gerrit.instructure.com/2126
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Bracken Mosbacker <bracken@instructure.com>
2011-02-02 10:59:30 -07:00
Brian Whitmer 496cc7306b eportfolio content being accessed with strings instead of hashes
When we sanitize eportfolio content we set the keys to be
symbols instead of strings.  Since we just recently started
sanitizing we're actually going to have some symbol
keys and some string keys, so I've added a
.with_indifferent_access call.

fixes #3198

Change-Id: I928a5ea575158aa871e13733637bb1cc98108c75
Reviewed-on: https://gerrit.instructure.com/2118
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Zach Wily <zach@instructure.com>
2011-02-01 22:31:50 -07:00
JT Olds f0b9d21cfd fixing broadcast mailboxes and corresponding tests
Change-Id: Ic0c064379198b6eeb985c6771d03c8fdbebcf746
Reviewed-on: https://gerrit.instructure.com/2117
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Tested-by: JT Olds <jt@instructure.com>
2011-02-01 17:36:33 -07:00
Brian Whitmer b2c595575e this link wasn't accessible
Change-Id: Ic9f65387458effa80dbcdaf42becf8ed8c015cca
Reviewed-on: https://gerrit.instructure.com/2092
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Brian Whitmer <brian@instructure.com>
2011-02-01 15:41:05 -07:00
JT Olds e04faaf1c9 get phone home call info for quick starts
Change-Id: I4aff73355b6ef35ee7be15930b04bd85805987b0
Reviewed-on: https://gerrit.instructure.com/2110
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
Tested-by: JT Olds <jt@instructure.com>
2011-02-01 14:44:27 -07:00
Brian Whitmer 8b8173dcc9 Initial commit.
closes #6988138
2011-01-31 18:57:29 -07:00