discourse/app/assets/javascripts
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 Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
discourse Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
discourse-common Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
locales FEATURE: Add Lithuanian locale 2018-09-27 05:26:38 +02:00
pretty-text PERF: Move processing of inline onebox out of V8 context. (#6658) 2018-11-26 09:21:38 +08:00
select-kit Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
wizard FIX: s/save/finish for wizard exit early button (#6614) 2018-11-15 21:26:26 +01:00
activate-account.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js Replace deprecated dropdown-button with DropdownSelectBoxComponent (#6451) 2018-10-05 09:48:17 -04:00
authentication-complete.js.no-module.es6 Extract discourse_javascript.html.erb to a scrip include 2018-10-09 16:50:45 +11:00
auto-redirect.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
deprecated.js REFACTOR: Remove requirejs calls 2017-07-05 17:24:27 -04:00
discourse-loader.js DEV: enable no-alert & no-console eslint rules 2018-11-14 23:17:56 +01:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js.es6 FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
embed-application.js.no-module.es6 Extract inline JS on embedded comments (#6645) 2018-11-22 10:02:58 -05:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
ember_jquery.js Use the same jQuery in prod and dev, avoid minimizing twice 2017-03-22 15:48:37 -04:00
ember-shim.js Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
env.js Reapply Ember 2.10 for good this time! 2016-12-19 11:19:10 -05:00
google-tag-manager.js.no-module.es6 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
google-universal-analytics.js.no-module.es6 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
markdown-it-bundle.js UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
omniauth-complete.js.no-module.es6 FIX: stricter window.opener checks (#6578) 2018-11-13 09:56:31 +11:00
onpopstate-handler.js.no-module.es6 extract inline onpopstate handler on 404 page (#6613) 2018-11-15 13:35:38 -05:00
plugin-third-party.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
plugin.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
polyfills.js DEV: removes _.find from codebase 2018-11-19 11:46:26 +01:00
preload-application-data.js.no-module.es6 Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
preload-store.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
pretty-text-bundle.js FEATURE: image uploads now have short urls 2017-08-22 16:40:08 -04:00
print-page.js CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb FEATURE: special offline support restricted to Android only 2018-10-29 16:29:19 +11:00
template_include.js.erb PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js remove probes.js, highlight.pack.js 2018-10-04 13:50:54 -04:00
wizard-application.js FIX: Wizard didn't load translations correctly 2018-09-05 15:14:09 +02:00
wizard-start.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00