canvas-lms/app/helpers
Mysti Lilla 1489d59c7f Add unpublishable flag to module items API
closes LF-1180
flags=none

Test plan
- Set up 2 assignments and have a student
  submit to 1 of them
- Add both assignments to a module
- Check api/v1/courses/:course_id/
  modules/:module_id/items and
  ensure the unpublishable flag is true
  for the assignment with no submissions
  and false for the assignment with submissions

Change-Id: I10a2d87334e35be87434360ce83d06a71734052f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341601
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Luis Oliveira <luis.oliveira@instructure.com>
QA-Review: Luis Oliveira <luis.oliveira@instructure.com>
Product-Review: Mysti Lilla <mysti@instructure.com>
2024-02-29 18:02:16 +00:00
..
login Add config for SMS OTP authentication 2024-01-30 14:32:08 +00:00
messages RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
account_notification_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
accounts_helper.rb Update SIS Imports UI to expire error report URL after 1 hour 2023-02-27 12:52:50 +00:00
alignments_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
application_helper.rb Provide Default Icon for editor_button placement 2024-02-22 03:37:19 +00:00
assessment_request_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
assignments_helper.rb display minus instead of en-dash 2023-10-09 16:24:10 +00:00
attachment_helper.rb Hide CC upload button for locked media 2023-06-21 16:38:33 +00:00
avatar_helper.rb remove href to avatar link in discussion#show 2024-02-28 19:42:00 +00:00
broken_link_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
calendar_conferences_helper.rb Safe guard bad params for calendar conference 2023-02-01 17:18:10 +00:00
calendar_events_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
calendars_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
canvadocs_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
canvas_outcomes_helper.rb Revert "Block outcome deletion if there are OS alignments" 2024-01-08 17:38:18 +00:00
collaborations_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
communication_channels_helper.rb confirm page links point to correct environment 2024-02-14 17:22:23 +00:00
content_export_api_helper.rb Use user datetime for zip archive datemodified 2022-02-25 18:25:53 +00:00
content_imports_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
context_external_tools_helper.rb Update Module Index Page Header 2024-02-28 17:07:50 +00:00
context_modules_helper.rb Add unpublishable flag to module items API 2024-02-29 18:02:16 +00:00
conversations_helper.rb Allow sending messages to active sections 2024-02-21 17:25:23 +00:00
courses_helper.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
custom_color_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
custom_sidebar_links_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
cyoe_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
dashboard_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
datadog_rum_helper.rb rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
default_due_time_helper.rb inheritable account/course setting for default due time 2022-03-10 20:45:01 +00:00
discussion_topics_helper.rb RuboCop: Lint/UnusedMethodArgument partial 2021-10-21 13:39:12 +00:00
eportfolios_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
files_helper.rb Look for Media Object in more shards 2024-02-29 00:57:08 +00:00
global_navigation_helper.rb Some little rails 7.0 spec fixes 2022-06-08 16:14:47 +00:00
gradebooks_helper.rb modify gradebook pages as part of ICE initiative 2023-11-22 20:54:16 +00:00
grading_periods_helper.rb RuboCop: Rails/Presence 2021-11-18 02:24:26 +00:00
groups_helper.rb RuboCop: Style grab bag 2021-11-20 03:04:04 +00:00
hmac_helper.rb RuboCop: Style/BlockDelimiters, Style/Lambda 2021-11-23 21:30:47 +00:00
kaltura_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
legal_information_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti_launch_debug_logger_helper.rb Add sessionless launch info to debug logging 2023-12-07 23:34:49 +00:00
new_quizzes_features_helper.rb add common_cartridge setting to Canvas content_exports 2024-02-19 16:25:19 +00:00
observer_enrollments_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
outcome_result_resolver_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
outcomes_features_helper.rb Integrate OSA helper with Learning Outcome Group Children 2023-04-04 15:59:07 +00:00
outcomes_request_batcher.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
outcomes_service_alignments_helper.rb Revert "Block outcome deletion if there are OS alignments" 2024-01-08 17:38:18 +00:00
outcomes_service_authoritative_results_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
quizzes_helper.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
rollup_score_aggregator_helper.rb New decaying_average calculation 2023-07-31 15:06:45 +00:00
rrule_helper.rb Update calendar series natural language to handle leap day 2023-09-06 13:31:00 +00:00
search_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
section_tab_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
self_enrollments_helper.rb RuboCop: Layout app 2021-09-22 19:35:01 +00:00
sis_import_helper.rb Update SIS Imports UI to expire error report URL after 1 hour 2023-02-27 12:52:50 +00:00
stream_items_helper.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
submission_comments_helper.rb use I18n.t() instead of t() helper 2022-03-08 14:45:16 +00:00
submittable_helper.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
syllabus_helper.rb RuboCop: Layout app 2021-09-22 19:35:01 +00:00
user_notes_helper.rb Fix loaderHtml syntax 2024-02-21 02:03:35 +00:00
web_zip_export_helper.rb add # frozen_string_literal: true for helpers 2020-10-27 15:56:57 +00:00
will_paginate_helper.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00