discourse/config/initializers
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
..
000-mini_sql.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
000-post_migration.rb DEV: Support post deployment migrations for plugins. 2018-10-09 13:11:45 +08:00
001-redis.rb Remove unused lines. 2018-06-11 08:44:41 +08:00
002-freedom_patches.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
003-sql_builder.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
004-message_bus.rb SECURITY: extra CORS headers should be set on correct host 2018-07-11 09:29:02 +10:00
005-site_settings.rb Partially revert 4e89d3f778. 2017-10-12 15:15:24 +08:00
006-ensure_login_hint.rb Update link 2018-06-27 11:38:01 +02:00
006-mini_profiler.rb Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
008-rack-cors.rb Add Cache-Control header to CORS (#6490) 2018-10-16 10:46:55 +11:00
009-omniauth.rb PERF: bypass omniauth unless in an auth path 2018-01-15 12:44:54 +11:00
010-discourse_iife.rb Update sprockets. (#4167) 2016-04-18 10:47:52 +08:00
011-rack-protection.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
012-web_hook_events.rb FIX: Generate webhook payloads before destroy events (#6325) 2018-10-05 16:53:59 +08:00
013-excon_defaults.rb FIX: Make omit_default_port the global default 2017-06-30 12:43:26 -04:00
014-rails_multisite.rb Update rails_multisite to 2.0.1. 2018-01-19 10:19:16 +08:00
050-force_https.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
099-anon-cache.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
099-defer.rb PERF: stop running background work between requests 2017-11-23 15:48:47 +11:00
099-drain_pool.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
100-i18n.rb FIX: Server didn't use default_locale as fallback locale 2018-01-25 14:57:41 +01:00
100-logster.rb Logster::Logger#chained is now readable in new version of logster. 2018-08-14 09:57:09 +08:00
100-oj.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
100-onebox_options.rb FIX: allow upto three url redirects in onebox (#5457) 2017-12-27 10:30:06 +11:00
100-push-notifications.rb PERF: Don't bloat the Sidekiq queue with Jobs::SendPushNotification. 2018-05-24 10:04:09 +08:00
100-quiet_logger.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
100-secret_token.rb FEATURE: per client user tokens 2017-02-07 09:22:16 -05:00
100-session_store.rb DEV: add warning if force_https in dev 2016-11-25 11:35:29 +11:00
100-sidekiq.rb move patch cause it was causing a side effect 2018-08-07 17:25:28 +10:00
100-silence_logger.rb FIX: silence and quiet logger not thread safe 2017-01-31 15:44:46 -05:00
100-strong_parameters.rb Revert "Revert message bus upgrade" 2015-12-09 11:48:41 +11:00
100-verify_config.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
100-watch_for_restart.rb Move discourse dev data out of tmp 2017-05-18 11:36:24 -04:00
100-wrap_parameters.rb FIX: Store custom emojis as uploads. 2017-03-14 13:07:18 +08:00
101-lograge.rb Enable Lint/ShadowingOuterLocalVariable for Rubocop. 2018-09-04 10:16:42 +08:00
200-message_bus_request_tracker.rb WORKAROUND: Can't reinsert a deleted middleware. 2017-09-25 13:48:59 +08:00