This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/controllers
Guo Xiang Tan 142571bba0 Remove use of rescue nil.
* `rescue nil` is a really bad pattern to use in our code base.
  We should rescue errors that we expect the code to throw and
  not rescue everything because we're unsure of what errors the
  code would throw. This would reduce the amount of pain we face
  when debugging why something isn't working as expexted. I've
  been bitten countless of times by errors being swallowed as a
  result during debugging sessions.
2018-04-02 13:52:51 +08:00
..
admin Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
users Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
about_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
application_controller.rb FIX: authComplete query param should carry-forward to login page 2018-03-27 17:22:07 +05:30
badges_controller.rb PERF: N+1 queries on badges page. 2018-03-19 14:36:09 +08:00
categories_controller.rb FEATURE: Webhook for group and category events 2018-03-27 11:53:35 +05:30
category_hashtags_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
clicks_controller.rb FIX: show an error page on click tracking error 2018-03-17 00:33:11 +01:00
composer_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
composer_messages_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
directory_items_controller.rb FEATURE: user directory returns staged users during search 2017-11-19 01:17:31 +01:00
draft_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
email_controller.rb FIX: don't return 200s when login is required to paths 2018-02-01 12:26:45 +11:00
embed_controller.rb Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
exceptions_controller.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
export_csv_controller.rb FIX: exporting admin dashboard reports were broken 2017-10-02 19:30:23 +05:30
extra_locales_controller.rb simplify production switch and serve extra locales from actual site 2018-01-10 08:19:51 +11:00
finish_installation_controller.rb PERF: PG queries for the UserEmail#email column was not using the index. 2018-03-19 11:31:14 +08:00
forums_controller.rb PERF: add frozen strings 2018-01-15 12:44:54 +11:00
groups_controller.rb Merge pull request #5705 from discourse/new_webhooks 2018-04-02 10:53:21 +05:30
highlight_js_controller.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
inline_onebox_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
invites_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
list_controller.rb FIX: Shared draft performance fix + missing avatars 2018-03-28 16:11:43 -04:00
metadata_controller.rb FEATURE: custom setting for large square site icon 2017-11-03 16:19:31 +11:00
notifications_controller.rb Remove redundant comment. 2018-02-13 15:58:13 +08:00
offline_controller.rb FIX: offline controller regression 2017-10-31 15:44:50 +11:00
onebox_controller.rb FIX: include title in local onebox when linking to a different topic 2018-02-19 22:40:14 +01:00
permalinks_controller.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
post_action_users_controller.rb UX: cap likes 2 (#5237) 2017-11-15 11:28:54 +11:00
post_actions_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
posts_controller.rb FEATURE: Shared Drafts 2018-03-20 17:15:26 -04:00
queued_posts_controller.rb FIX: Error if queued post not found while updating 2017-11-27 19:25:51 +05:30
robots_txt_controller.rb FEATURE: control which web crawlers can access using a whitelist or blacklist 2018-03-22 15:41:02 -04:00
safe_mode_controller.rb UX: warn that something must be selected with safe mode 2017-11-13 15:59:51 +11:00
search_controller.rb FEATURE: support search click through tracking for user, category and tags 2017-12-01 12:04:55 +05:30
session_controller.rb Simplify log in for request specs. 2018-03-28 11:32:47 +08:00
similar_topics_controller.rb display 'similar to' earlier when composing a post 2017-09-16 01:03:29 +02:00
site_controller.rb FEATURE: custom setting for large square site icon 2017-11-03 16:19:31 +11:00
static_controller.rb FEATURE: limit assets less that non asset paths 2018-03-06 15:20:39 +11:00
steps_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
stylesheets_controller.rb Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
tag_groups_controller.rb FEATURE: option for tags in a tag group to be visible only to staff 2018-03-26 17:05:09 -04:00
tags_controller.rb FEATURE: option for tags in a tag group to be visible only to staff 2018-03-26 17:05:09 -04:00
themes_controller.rb FEATURE: Native theme support 2017-04-12 10:53:49 -04:00
topics_controller.rb Explicit param permit and assignment cleanup. 2018-03-23 09:59:31 -07:00
uploads_controller.rb Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
user_actions_controller.rb FIX: Remove mentions filters from user and groups 2017-12-07 16:29:02 -05:00
user_api_keys_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
user_avatars_controller.rb FEATURE: limit assets less that non asset paths 2018-03-06 15:20:39 +11:00
user_badges_controller.rb Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
users_controller.rb FIX: tag notification preferences were being cleared when other preferences were changed 2018-03-29 15:08:32 -04:00
users_email_controller.rb Review Changes for f4f8a293e7. 2018-02-21 14:55:49 +08:00
webhooks_controller.rb Remove use of rescue nil. 2018-04-02 13:52:51 +08:00
wizard_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00