canvas-lms/gems
James Williams 3855fc4af1 filter out localhost and local ips from canvashttp
test plan:
* use the API to queue a content migration for a course
 with a parameter 'file_url' set to a local url
 (i.e. 'localhost:3000/500.html')
* it should not download the file and allow the file
 to be downloaded on the content migrations page
 for the course

* create a link to a local file
 in a piece of course content (i.e. a page)
* run the course link validator
* it should not actually check if the link exists locally
 or not, but rather always flag the link

closes #SEC-606 SEC-607

Change-Id: I671c017ec93d88446df77d716725fff8874622bc
Reviewed-on: https://gerrit.instructure.com/125118
Tested-by: Jenkins
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2017-09-12 20:29:56 +00:00
..
activesupport-suspend_callbacks rails 5.1: activesupport-suspend_callbacks 2017-06-16 13:44:08 +00:00
acts_as_list prep for Rails 5.1 2017-06-16 02:54:20 +00:00
adheres_to_policy Add a flag to completely disable caching of permissions 2017-07-18 12:41:34 +00:00
attachment_fu Skip tests that require plugin unless plugin installed 2017-07-28 19:30:52 +00:00
autoextend prep for Rails 5.1 2017-06-16 02:54:20 +00:00
bookmarked_collection drop rails 4.2 2017-06-27 15:29:51 +00:00
broadcast_policy drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
canvas_breach_mitigation da licença part 53 2017-05-01 21:06:11 +00:00
canvas_cassandra bump cassandra and thrift gems 2017-07-27 22:02:50 +00:00
canvas_color da licença part 53 2017-05-01 21:06:11 +00:00
canvas_crummy da licença part 53 2017-05-01 21:06:11 +00:00
canvas_ext prep for Rails 5.1 2017-06-16 02:54:20 +00:00
canvas_http filter out localhost and local ips from canvashttp 2017-09-12 20:29:56 +00:00
canvas_i18nliner translate notes column at render time 2017-08-21 19:53:35 +00:00
canvas_kaltura da licença part 53 2017-05-01 21:06:11 +00:00
canvas_mimetype_fu da licença part 53 2017-05-01 21:06:11 +00:00
canvas_panda_pub pin jwt for canvas_panda_pub 2017-09-05 13:49:39 +00:00
canvas_partman prep for Rails 5.1 2017-06-16 02:54:20 +00:00
canvas_quiz_statistics da licença part 53 2017-05-01 21:06:11 +00:00
canvas_sanitize master courses: descriptions with file links shouldn't break 2017-08-14 17:05:49 +00:00
canvas_slug da licença part 53 2017-05-01 21:06:11 +00:00
canvas_sort da licença part 53 2017-05-01 21:06:11 +00:00
canvas_stringex prep for Rails 5.1 2017-06-16 02:54:20 +00:00
canvas_text_helper da licença part 53 2017-05-01 21:06:11 +00:00
canvas_time prep for Rails 5.1 2017-06-16 02:54:20 +00:00
canvas_unzip handle imported zip files inside a nested directory 2017-08-23 15:53:25 +00:00
csv_diff handle empty files for diffing mode 2017-08-01 19:56:44 +00:00
diigo da licença part 53 2017-05-01 21:06:11 +00:00
dr_diff bump gergich 2017-05-30 14:58:04 +00:00
event_stream drop rails 4.2 2017-06-27 15:29:51 +00:00
google_drive prep for Rails 5.1 2017-06-16 02:54:20 +00:00
html_text_helper prep for Rails 5.1 2017-06-16 02:54:20 +00:00
i18n_extraction bump lots of minor gem versions 2017-07-27 22:02:15 +00:00
i18n_tasks i18n: add islandic 2017-07-31 20:23:09 +00:00
incoming_mail_processor add a setting to the footer of emails 2017-09-05 18:55:38 +00:00
json_token da licença part 53 2017-05-01 21:06:11 +00:00
linked_in remove all dependecy on instructure-oauth 2017-07-11 19:21:09 +00:00
live_events upgrade to aws-sdk v3 2017-05-26 15:30:08 +00:00
lti_outbound Handle multiple tool on the page when resizing 2017-08-18 16:30:28 +00:00
multipart da licença part 53 2017-05-01 21:06:11 +00:00
paginated_collection da licença part 53 2017-05-01 21:06:11 +00:00
plugins eliminate duplicate rows in provisioning reports due to pseudonyms 2017-09-08 21:40:46 +00:00
rubocop-canvas bump rubocop 2017-07-28 19:32:48 +00:00
selinimum spec: fix selinimum, protect against breakage 2017-08-30 16:31:12 +00:00
stringify_ids da licença part 53 2017-05-01 21:06:11 +00:00
tatl_tael copyright linter auto correct, refs SD-2295 2017-05-11 20:06:08 +00:00
turnitin_api da licença part 53 2017-05-01 21:06:11 +00:00
twitter drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
utf8_cleaner da licença part 53 2017-05-01 21:06:11 +00:00
workflow prep for Rails 5.1 2017-06-16 02:54:20 +00:00
README.md Add docs on how to run gem tests 2016-03-09 18:08:44 +00:00
test_all_gems.sh simplify gem test harnesses 2016-01-19 17:52:58 +00:00

README.md

Gems

Testing

To test all the gems:

cd gems
./test_all_gems.sh

To test an individual gem

Run ./test.sh inside the gem's folder. This is basically the same as:

cd gems/google_drive
bundle
rspec