Robin Ward
a319cfe77a
Final set of backwards compatible fixes for Ember 1.13
2016-10-28 15:51:39 -04:00
Robin Ward
1e4a56fe14
Backwards compatible support for inline helpers
2016-10-28 12:48:56 -04:00
Robin Ward
bd352385a5
Framework for supporting Ember 1.12/1.13 helpers simulataneously
2016-10-24 15:13:32 -04:00
Robin Ward
be1d74d207
Split out common functions into discourse-common module
2016-09-22 09:52:19 -04:00
Régis Hanol
fe080f5c57
FIX: allows plugin-outlets to use to block syntax
2016-07-20 15:59:25 +02:00
acshi
deda9a6908
Prevent creation of empty entry in _connectorCache for raw templates. ( #4296 )
2016-06-29 10:59:48 -04:00
Robin Ward
7c0fb41ec0
Deprecation: Use Ember.Helper for later versions of Ember
2016-05-11 14:26:09 -04:00
Robin Ward
400c061046
Ember.keys is deprected in favor of Object.keys
2016-04-28 16:37:20 -04:00
Robin Ward
2cd6649ba0
FIX: Was leaking tagName across plugin outlets
2016-03-11 16:32:28 -05:00
Robin Ward
1006b1ba94
Various Plugin Enhancements and Extension Points
2016-03-11 15:53:37 -05:00
Robin Ward
f85d848649
Remove a bunch of old deprecated code
2015-11-10 13:09:05 -05:00
Robin Ward
5881f68556
Support for rewiring plugin outlets so we can move Akismet up
2015-09-04 16:09:02 -04:00
Robin Ward
ce0a50eae1
FIX: user_custom_preferences did not match other outlet names
2015-08-31 11:06:23 -04:00
Sam
cc9f6e53f2
FEATURE: add support for plugin-outlet in raw templates
2015-08-06 15:49:11 +10:00
Robin Ward
4f103f7cc5
Minor typo
2015-07-13 15:04:54 -04:00
Robin Ward
874b2a628d
FIX: plugin-outlet should do view injections
2015-06-17 11:11:16 -04:00
Robin Ward
d34334ecbe
Use HTMLBars API for inserting partials and views
2015-05-11 11:20:45 -04:00
Robin Ward
82a4066993
HTMLBars support for plugin-outlet
2015-05-11 11:18:38 -04:00
Robin Ward
b3b4fd21ed
Broken WIP
2015-05-11 11:18:37 -04:00
Robin Ward
7c9fb5d3fc
Refactored SiteMap/Header to support more dynamic flag counts
...
Also fixes deprecation in `plugin-outlet`
2015-03-11 16:12:53 -04:00
Robin Ward
25daca8f23
Helpers for plugins to support enabling/disabling
2015-02-04 16:23:56 -05:00
Robin Ward
7741e4dc02
Change the admin-menu outlet to use a tagName of li
2015-01-21 16:21:27 -05:00
Robin Ward
0e0d8e79df
For plugin outlets, automatically assign the unique name as a class to
...
the connector.
2014-12-30 17:08:39 -05:00
Robin Ward
57b89a2c7f
Plugin stuff:
...
* Allow plugins to work with only autoloaded assets.
* Give a plugin outlet a class name based on its name if no view class
* Give the `topic-title` outlet a default class of `clear: both`
2014-12-30 16:29:28 -05:00
Robin Ward
008a19f997
More 1.9.0 fixes
2014-12-17 09:31:41 -05:00
Robin Ward
d0fb8bbcfc
Instead of .js.handlebars use .hbs for handlebars templates
2014-09-26 15:23:15 -04:00
Benjamin Kampmann
b942dbfb43
remove block from views so Ember doesn't complain
2014-06-27 10:49:25 +02:00
Robin Ward
61fb0f736b
Micro optimizations to {{plugin-outlet}}.
...
* Don't create a `ContainerView` if there is only one connection.
* Don't create a virtual view if there are no connectors and the
block form of the plugin isn't used.
2014-06-18 16:00:53 -04:00
Benjamin Kampmann
22d93bc43a
Let Plugin-Outlet Render inner template data
...
- allows passing of template data to the plugin-outlet to be rendered if no plugin is using that slot
- acts as a fallback when no plugin is found
- allows wrapping of existing features inside a plugin-outlet that then plugins can overwrite with their own behaviour
- backwards compatible
- uses invisible emberviews (as Ember.Component does)
- the template has full-access to the controller and view, should be totally transparent
2014-06-16 15:10:10 +02:00
Robin Ward
6ae7d48fd1
FIX: Make sure the context of plugin outlets is correct
2014-06-05 15:20:55 -04:00
Robin Ward
3f9c4100ef
Many Plugin upgrades.
2014-06-03 10:33:47 -04:00