discourse/app/controllers
Penar Musaraj 03deda2147
Upgrade to FontAwesome 5 (take two) (#6673)
* Add missing icons to set

* Revert FA5 revert

 This reverts commit 42572ff

* use new SVG syntax in locales

* Noscript page changes (remove login button, center "powered by" footer text)

* Cast wider net for SVG icons in settings

- include any _icon setting for SVG registry (offers better support for plugin settings)

- let themes store multiple pipe-delimited icons in a setting

- also replaces broken onebox image icon with SVG reference in cooked post processor

* interpolate icons in locales

* Fix composer whisper icon alignment

* Add support for stacked icons

* SECURITY: enforce hostname to match discourse hostname

This ensures that the hostname rails uses for various helpers always matches
the Discourse hostname

* load SVG sprite with pre-initializers

* FIX: enable caching on SVG sprites

* PERF: use JSONP for SVG sprites so they are served from CDN

This avoids needing to deal with CORS for loading of the SVG

Note, added the svg- prefix to the filename so we can quickly tell in
dev tools what the file is

* Add missing SVG sprite JSONP script to CSP

* Upgrade to FA 5.5.0

* Add support for all FA4.7 icons

- adds complete frontend and backend for renamed FA4.7 icons

- improves performance of SvgSprite.bundle and SvgSprite.all_icons

* Fix group avatar flair preview

- adds an endpoint at /svg-sprites/search/:keyword

- adds frontend ajax call that pulls icon in avatar flair preview even when it is not in subset

* Remove FA 4.7 font files
2018-11-26 16:49:57 -05:00
..
admin FIX: validate topic deletion when acting on a flag 2018-11-25 23:24:03 +05:30
users FIX: Flash authentication data not rendered in latest iOS safari browser 2018-10-30 04:00:36 +05:30
about_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
application_controller.rb FIX: ensure we never cache login redirects by mistake 2018-11-09 11:14:35 +11:00
badges_controller.rb PERF: N+1 queries on badges page. 2018-03-19 14:36:09 +08:00
categories_controller.rb Revert "FIX: We shouldn't include topics when mobile view is enabled" 2018-11-02 10:29:44 -04:00
category_hashtags_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
clicks_controller.rb Make rubocop happy again. 2018-06-07 13:28:18 +08: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
csp_reports_controller.rb allow CSP reports to be sent when header isn't set by Discourse (#6594) 2018-11-14 16:23:29 -05:00
directory_items_controller.rb make 🤖 rubocop happy 2018-05-16 16:35:04 +02:00
draft_controller.rb FIX: only check for conflict on edit drafts 2018-11-15 13:14:07 +11:00
drafts_controller.rb raise error early in drafts controller 2018-09-13 08:40:57 -04:00
email_controller.rb FIX: stop adding email to unsubscribe url 2018-05-22 09:07:03 +10:00
embed_controller.rb FIX: store the topic links using the cooked upload url 2018-08-14 12:23:32 +02:00
exceptions_controller.rb UX: Replace Google search with Discourse search on not found page 2018-08-15 11:53:04 +10:00
export_csv_controller.rb FEATURE: Log entity export in staff logs 2018-09-19 03:16:45 +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 FEATURE: Make initial admins TL1 2018-08-22 15:45:24 +10:00
forums_controller.rb PERF: add frozen strings 2018-01-15 12:44:54 +11:00
groups_controller.rb FEATURE: show added date when looking at group members 2018-11-01 15:33:28 +11:00
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 Use hijack in inline onebox controller 2018-11-13 02:39:20 +05:30
invites_controller.rb FIX: do not use scheduler for uploading csv file for invite 2018-07-04 13:28:11 +05:30
list_controller.rb FIX: wrong category links on subfolder install in rss feed for a category topic list 2018-09-07 10:03:30 -04:00
metadata_controller.rb FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
notifications_controller.rb Make rubocop happy again. 2018-06-07 13:28:18 +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: if we have not target available do not redirect 2018-08-20 13:10:59 +10:00
post_action_users_controller.rb UX: cap likes 2 (#5237) 2017-11-15 11:28:54 +11:00
post_actions_controller.rb FIX: Properly display error when post action fails to create. 2018-06-20 21:20:23 +08:00
posts_controller.rb FEATURE: Allow expanded posts to return user custom fields 2018-11-13 12:44:54 -05:00
push_notification_controller.rb Feature: Push notifications for Android (#5792) 2018-05-04 15:31:48 -07:00
queued_posts_controller.rb FIX: allow staff to remove tags from queued topics 2018-06-26 17:08:40 +05:30
qunit_controller.rb DEV: Don't require login for QUit test path. 2018-11-23 13:50:19 +08:00
robots_txt_controller.rb FIX: simplify so we ban all auth paths 2018-08-16 19:16:47 +10:00
safe_mode_controller.rb Allow staff members to enable safe mode, even if disabled 2018-04-25 11:49:57 -04: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 the protection I placed was in the wrong path moved to /session/sso 2018-11-09 17:18:01 +11: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: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
static_controller.rb FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
steps_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00
stylesheets_controller.rb FEATURE: backend support for user-selectable components 2018-08-08 14:46:34 +10:00
svg_sprite_controller.rb Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
tag_groups_controller.rb FIX: tag groups page should only be visible to staff 2018-09-17 11:41:18 -04:00
tags_controller.rb FEATURE: Add button to delete unused tags (#6587) 2018-11-12 16:24:34 +00:00
theme_javascripts_controller.rb rename route `/javascripts` to `/theme-javascripts` (#6495) 2018-10-15 11:32:52 -04:00
themes_controller.rb fix theme previewing (#6245) 2018-08-08 10:58:45 +03:00
topics_controller.rb FIX: raise `Discourse::NotFound` unless the user is present 2018-11-21 10:57:42 +05:30
uploads_controller.rb FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
user_actions_controller.rb FEATURE: Option to disable user presence and profile 2018-10-10 17:34:33 -04:00
user_api_keys_controller.rb UX: bumps the user-api-key version to 3 (#6526) 2018-10-25 09:46:34 +00:00
user_avatars_controller.rb FIX: correct svg handling for images 2018-11-07 15:29:26 +11:00
user_badges_controller.rb FIX: store the topic links using the cooked upload url 2018-08-14 12:23:32 +02:00
users_controller.rb FIX: remove unneeded keys from failed response 2018-11-22 14:59:50 +05:30
users_email_controller.rb FEATURE: Second factor backup 2018-06-28 10:12:32 +02:00
webhooks_controller.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
wizard_controller.rb Refactor requires login logic, reduce duplicate code 2018-02-01 15:17:59 +11:00