canvas-lms/app/controllers
Marc Phillips ecb80eb71f Move Creat Tool from Tool Config
Several of the checks done when creating tool were not
actually completed in the location for creating a tool
from a tool config. This move allows for tool creation
checks to occur while also invalidating placements
cache.

closes PLAT-3803

Test Plan:
 - Should still be able to create a tool from the same endpoint
   and dev key
 - Creating a tool invalidates the nav cache like a 1.1 tool does
   on creation.

Change-Id: I658e9b341da018964a77fabbafa87ba8073e0396
Reviewed-on: https://gerrit.instructure.com/167257
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Marc Phillips <mphillips@instructure.com>
2018-10-05 20:32:02 +00:00
..
bookmarks Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
filters stop logging quiz submission api 404 to sentry 2018-03-12 21:04:07 +00:00
live_assessments Use default ratings and points 2018-07-05 21:04:54 +00:00
login CAS debugging 2018-09-29 05:28:43 +00:00
lti Move Creat Tool from Tool Config 2018-10-05 20:32:02 +00:00
master_courses blueprint courses: add subscriptions_index 2018-08-13 21:37:55 +00:00
polling api: polling is not really beta 2018-03-14 15:01:03 +00:00
quizzes fix essay speedgrader button 2018-10-02 01:44:33 +00:00
submissions make anonymous grading checks consider muted status 2018-07-10 16:24:26 +00:00
support_helpers Audit submission due date changes 2018-10-01 16:34:37 +00:00
account_notifications_controller.rb fix account notifications API documentation 2018-02-12 13:32:33 +00:00
account_reports_controller.rb add timestamps to account report api 2018-03-02 16:19:19 +00:00
accounts_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
admins_controller.rb look for explicit role relative to domain shard 2018-03-15 03:00:31 +00:00
alerts_controller.rb da licença part 1 2017-04-27 21:07:30 +00:00
announcements_api_controller.rb rails 5.2: Arel.sql 2018-08-08 16:34:08 +00:00
announcements_controller.rb Replace flash with arc html5 media recorder 2018-10-02 02:58:15 +00:00
anonymous_provisional_grades_controller.rb add anonymous provisional grades controller 2018-05-30 17:40:14 +00:00
anonymous_submissions_controller.rb add anonymous submission scoring in speed grader 2018-06-06 20:12:13 +00:00
app_center_controller.rb use calling context app center token if set 2018-07-23 16:33:04 +00:00
application_controller.rb fix some re-used i18n keys 2018-10-02 12:46:26 +00:00
appointment_groups_controller.rb fix deleting appointment group with appointments error 2018-01-23 01:05:36 +00:00
assessment_questions_controller.rb da licença part 1 2017-04-27 21:07:30 +00:00
assignment_groups_api_controller.rb da licença part 1 2017-04-27 21:07:30 +00:00
assignment_groups_controller.rb update blueprint change tracker when reordering assignments 2018-09-14 01:33:23 +00:00
assignment_overrides_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
assignments_api_controller.rb rails 5.2: Arel.sql 2018-08-08 16:34:08 +00:00
assignments_controller.rb Replace flash with arc html5 media recorder 2018-10-02 02:58:15 +00:00
auditor_api_controller.rb da licença part 1 2017-04-27 21:07:30 +00:00
authentication_audit_api_controller.rb api: document storage time of authentication logs 2017-10-02 20:59:35 +00:00
authentication_providers_controller.rb refactor saml debugging 2018-09-29 04:27:17 +00:00
brand_configs_api_controller.rb Fix link & brand-primary color HC & ie11 2017-11-02 17:36:22 +00:00
brand_configs_controller.rb Remove theme editor refactor feature flag 2018-03-20 20:07:26 +00:00
calendar_events_api_controller.rb Don't allow calendar events to be created for deleted courses 2018-09-12 21:05:51 +00:00
calendar_events_controller.rb da licença part 2 2017-04-27 21:09:03 +00:00
calendars_controller.rb edit todo items in calendar 2018-08-24 15:26:40 +00:00
canvadoc_sessions_controller.rb fix docviewer for historical submissions 2018-09-18 22:18:22 +00:00
collaborations_controller.rb Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
comm_messages_api_controller.rb api: comm messages is not really beta 2018-02-28 19:38:34 +00:00
communication_channels_controller.rb removes integration for yo 2018-04-10 20:15:41 +00:00
conferences_controller.rb BBB feature recording multiple formats 2018-04-26 19:58:36 +00:00
content_exports_api_controller.rb add API doc for 'select' param in content_exports 2018-05-01 16:58:04 +00:00
content_exports_controller.rb rails 5.1: all the rest of the specs 2017-07-31 19:48:51 +00:00
content_imports_controller.rb da licença part 2 2017-04-27 21:09:03 +00:00
content_migrations_controller.rb allow non-siteadmins to fetch audit_info for a content_migration 2018-07-11 22:44:34 +00:00
context_controller.rb Add ability for admin to generate a pairing code 2018-06-18 16:40:34 +00:00
context_module_items_api_controller.rb activate slave around uses of Course#module_items_visible_to 2018-08-15 17:07:43 +00:00
context_modules_api_controller.rb doc: fix issues with modules API documentation 2018-03-26 22:11:01 +00:00
context_modules_controller.rb activate slave around uses of Course#module_items_visible_to 2018-08-15 17:07:43 +00:00
conversations_controller.rb Update documentation for conversations 2018-09-19 13:21:37 +00:00
course_audit_api_controller.rb da licença part 2 2017-04-27 21:09:03 +00:00
course_nicknames_controller.rb exclude license from api documentation 2018-05-21 19:20:30 +00:00
courses_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
crocodoc_sessions_controller.rb fix for moderated grading in DocViewer 2017-07-18 22:13:39 +00:00
custom_data_controller.rb api: user customer data is not really beta 2018-03-14 15:02:34 +00:00
custom_gradebook_column_data_api_controller.rb Add API for bulk uploading custom columns 2018-08-09 22:04:07 +00:00
custom_gradebook_columns_api_controller.rb add read_only to custom_gradebook_columns 2018-02-26 19:59:46 +00:00
developer_key_account_bindings_controller.rb Fix 404 error when enable/disable devkeys from self index 2018-06-12 22:35:09 +00:00
developer_keys_controller.rb Set placements in JS ENV 2018-10-02 20:32:58 +00:00
disable_post_to_sis_api_controller.rb allow batch-disable post-to-SIS when new-sis-integrations disabled 2018-03-15 18:58:51 +00:00
discussion_entries_controller.rb fix offline course export rendering error 2017-09-26 19:14:05 +00:00
discussion_topics_api_controller.rb fix save now destroying description 2018-09-10 22:33:38 +00:00
discussion_topics_controller.rb Replace flash with arc html5 media recorder 2018-10-02 02:58:15 +00:00
docviewer_audit_events_controller.rb save context and annotation id on docviewer events 2018-09-24 19:26:33 +00:00
enrollments_api_controller.rb return results from multiple shards in enrollments API 2018-10-01 20:42:49 +00:00
eportfolio_categories_controller.rb only find active eportfolios 2018-07-23 20:40:55 +00:00
eportfolio_entries_controller.rb only find active eportfolios 2018-07-23 20:40:55 +00:00
eportfolios_controller.rb only find active eportfolios 2018-07-23 20:40:55 +00:00
epub_exports_controller.rb api: epub / web exports are not really beta 2018-02-22 22:35:22 +00:00
equation_images_controller.rb better uri handling on equation image redirection 2017-08-24 22:47:55 +00:00
errors_controller.rb fix n+1 query in error reports 2018-09-14 23:37:04 +00:00
external_content_controller.rb rails 5.1: bunch of other specs 2017-07-27 12:35:30 +00:00
external_feeds_controller.rb Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
external_tools_controller.rb Move Creat Tool from Tool Config 2018-10-05 20:32:02 +00:00
favorites_controller.rb fix favoriting for cross-shard logins 2018-09-20 19:29:12 +00:00
feature_flags_controller.rb Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
file_previews_controller.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
files_controller.rb remove new_file_tree feature flag 2018-09-26 21:38:35 +00:00
folders_controller.rb drop unused last_[un]lock_at columns 2018-08-14 22:42:49 +00:00
grade_change_audit_api_controller.rb prevent gradebook history from leaking anonymity 2018-10-02 19:36:52 +00:00
gradebook_csvs_controller.rb add slash to chars to sanitize in gradebook export filename 2018-04-17 22:28:22 +00:00
gradebook_history_api_controller.rb api: gradebook history is not really beta 2018-02-28 19:38:16 +00:00
gradebook_settings_controller.rb reject any malevolent CSS when saving custom gradebook colors 2017-12-15 17:40:57 +00:00
gradebook_uploads_controller.rb Add custom columns to gradebook imports 2018-08-24 21:15:03 +00:00
gradebooks_controller.rb Unify rules for submission comment visibility 2018-10-03 23:01:10 +00:00
grading_period_sets_controller.rb order grading period sets before pagination 2018-05-03 14:29:36 +00:00
grading_periods_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
grading_standards_api_controller.rb Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
grading_standards_controller.rb da licença part 3 2017-04-27 21:07:41 +00:00
graphql_controller.rb record basic metrics on all graphql queries 2018-08-03 21:18:29 +00:00
group_categories_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
group_memberships_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
groups_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
info_controller.rb Add Observers and Unenrolled options for help link availability 2017-11-06 22:05:31 +00:00
jobs_controller.rb da licença part 4 2017-04-27 21:07:54 +00:00
jwts_controller.rb api: jwts is not really beta 2018-02-22 22:39:02 +00:00
late_policy_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
legal_information_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
login_controller.rb rename AccountAuthorizationConfig* to AuthenticationProvider* 2018-04-26 16:03:47 +00:00
lti_api_controller.rb Handle turnitin polling more gracefully 2018-01-22 23:47:48 +00:00
media_objects_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
media_tracks_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
messages_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
migration_issues_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
moderation_set_controller.rb remove moderate_grades permission checks 2018-07-31 15:04:22 +00:00
notification_preferences_controller.rb api: doc fixes for swagger compat 2017-11-22 15:48:04 +00:00
oauth2_provider_controller.rb forward oauth2 state to redirect_uri on deny 2018-09-19 19:16:55 +00:00
oauth_proxy_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
observer_alert_thresholds_api_controller.rb Add missing observer alert json fields 2018-06-25 20:59:15 +00:00
observer_alerts_api_controller.rb Order the alerts from newest to oldest 2018-06-05 20:30:33 +00:00
observer_pairing_codes_api_controller.rb Allow sub account admins to generate pairing codes 2018-08-09 21:33:57 +00:00
one_time_passwords_controller.rb MFA backup code support 2017-05-02 16:08:53 +00:00
outcome_groups_api_controller.rb make outcome group import asynchronous 2018-06-26 16:42:16 +00:00
outcome_groups_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
outcome_imports_api_controller.rb Display spinner if outcome import in progress 2018-03-12 21:52:23 +00:00
outcome_proficiency_api_controller.rb Document outcome proficiency ratings 2018-06-19 16:28:27 +00:00
outcome_results_controller.rb Add pagination to LMGB 2018-08-24 16:40:21 +00:00
outcomes_api_controller.rb add quiz alignments to student LMGB 2018-09-26 16:19:09 +00:00
outcomes_controller.rb dots and new lines 2018-01-17 16:56:26 +00:00
outcomes_import_api_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
page_comments_controller.rb only find active eportfolios 2018-07-23 20:40:55 +00:00
page_views_controller.rb filter page views by accessible accounts 2017-11-08 18:22:38 +00:00
peer_reviews_api_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
planner_controller.rb show feedback when old feedback pill is present 2018-09-24 16:22:06 +00:00
planner_notes_controller.rb remove ability to view other user's planner notes 2018-07-12 20:11:47 +00:00
planner_overrides_controller.rb fix dismissing opportunities in list view 2018-09-06 21:35:32 +00:00
plugins_controller.rb remove dynamic_form (and fix plugin setting error messages) 2018-02-28 22:37:05 +00:00
profile_controller.rb Remove feature flag 2018-07-20 19:40:52 +00:00
progress_controller.rb include progress results in progress_json 2018-03-09 23:12:53 +00:00
provisional_grades_base_controller.rb anonymize status endpoint 2018-08-27 17:46:21 +00:00
provisional_grades_controller.rb run GradeCalculator only once on posting grades 2018-09-14 23:30:41 +00:00
pseudonym_sessions_controller.rb da licença part 5 2017-04-27 21:30:43 +00:00
pseudonyms_controller.rb Send forgotten password redirect to canvas_login 2018-10-04 20:54:52 +00:00
question_banks_controller.rb da licença part 6 2017-04-27 21:30:39 +00:00
role_overrides_controller.rb remove permissions feature flag 2018-09-14 13:30:47 +00:00
rubric_assessments_controller.rb Show provisional grader rubrics to moderator 2018-08-24 21:55:45 +00:00
rubric_associations_controller.rb Record audit events when rubric set 2018-09-11 22:12:53 +00:00
rubrics_api_controller.rb api: rubrics is not really beta 2018-02-23 16:04:49 +00:00
rubrics_controller.rb Record audit events when rubric set 2018-09-11 22:12:53 +00:00
scopes_api_controller.rb Relax permission check in scopes index endpoint 2018-06-27 14:44:37 +00:00
search_controller.rb remove unused blank_avatar_fallback param 2018-09-14 20:24:19 +00:00
sections_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
self_enrollments_controller.rb da licença part 6 2017-04-27 21:30:39 +00:00
services_api_controller.rb da licença part 6 2017-04-27 21:30:39 +00:00
shared_brand_configs_controller.rb api: brand configs is not really beta 2018-02-22 22:35:31 +00:00
sis_api_controller.rb api: sis assignments is not really beta 2018-02-22 22:36:35 +00:00
sis_import_errors_api_controller.rb store sis_batch_errors in the db 2018-01-26 22:08:25 +00:00
sis_imports_api_controller.rb don't do the count on sis imports 2018-09-06 04:18:54 +00:00
sub_accounts_controller.rb Add an endpoint for account help links 2018-08-07 19:20:58 +00:00
submission_comments_api_controller.rb don’t check storage quota on submission comments 2018-09-20 15:50:22 +00:00
submission_comments_controller.rb [ci no-cached-dist] Record audit events for submission comments 2018-08-31 17:07:49 +00:00
submissions_api_controller.rb fix typo breaking gradeable_students 2018-08-29 21:02:58 +00:00
submissions_base_controller.rb Unify rules for submission comment visibility 2018-10-03 23:01:10 +00:00
submissions_controller.rb add endpoint for assignment audit events 2018-09-25 15:17:03 +00:00
tabs_controller.rb don't save course on tabs api update if unchanged 2018-09-19 12:19:28 +00:00
terms_api_controller.rb allow sub-account admins to view root account terms api 2018-03-05 17:20:45 +00:00
terms_controller.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
tokens_controller.rb da licença part 6 2017-04-27 21:30:39 +00:00
usage_rights_controller.rb Add the word 'paginated' to relevant API documentation. 2017-09-27 17:27:41 +00:00
user_lists_controller.rb da licença part 7 2017-04-27 21:31:05 +00:00
user_notes_controller.rb remove dynamic_form (and fix plugin setting error messages) 2018-02-28 22:37:05 +00:00
user_observees_controller.rb Remove feature flag 2018-07-20 19:40:52 +00:00
users_controller.rb remove confusing 'coming up' section for students 2018-10-03 20:20:51 +00:00
web_zip_exports_controller.rb api: epub / web exports are not really beta 2018-02-22 22:35:22 +00:00
wiki_pages_api_controller.rb rails 5.2: Arel.sql 2018-08-08 16:34:08 +00:00
wiki_pages_controller.rb Add To-Do Date to Wiki Page list/show 2018-07-06 17:43:21 +00:00