Robin Ward
c423ce6333
Allow auth providers to provide custom urls
2016-04-20 13:19:59 -04:00
Robin Ward
1006b1ba94
Various Plugin Enhancements and Extension Points
2016-03-11 15:53:37 -05:00
Régis Hanol
fc27b7442f
FIX: it should have been an array of arrays...:fired:
2015-11-06 15:42:16 +01:00
Régis Hanol
86f76e5b4d
FIX: better plugin emojis API
2015-11-06 15:02:40 +01:00
Régis Hanol
13e96ffd3b
FEATURE: add support for custom emojis via plugins
2015-11-05 17:25:26 +01:00
Neil Lalonde
abeac7f681
two more places: make it possible for plugins to add methods to classes that don't follow naming conventions
2015-11-04 14:53:45 -05:00
Sam
fab51496cb
correct full screen login feature
2015-10-13 13:11:49 +11:00
Robin Ward
c4b1b848bc
More extension points for login buttons, used by OAuth2 plugin
2015-09-25 11:29:40 -04:00
Neil Lalonde
db1820f39c
make it possible for plugins to add methods to classes that don't follow naming conventions
2015-09-14 16:10:54 -04:00
Robin Ward
42e510753d
Support for Acceptance tests in plugins
2015-08-27 17:07:11 -04:00
Neil Lalonde
3faeeca5c8
FIX: plugins that use models in their initialize section might fail when bootstrapping a new database
2015-08-25 16:38:25 -04:00
Robin Ward
2b72bd3592
FIX: Missed incrementing `idx`
2015-08-21 11:39:40 -04:00
Robin Ward
37f2d8c73c
Adds more helpers for plugin authors
...
`add_class_method` can be used to add a class method that only
executes when the plugin is enabled.
`add_model_callback` can be used to attach a callback to an
ActiveRecord model such as `before_save` that will only execute
when the plugin is enabled.
2015-08-21 11:29:45 -04:00
Robin Ward
7eb32be4de
Add support for plugins to declare ES6 in the admin bundle
2015-08-17 15:03:55 -04:00
Kane York
af042ffe5e
FEATURE: Per-plugin settings buttons, "Enabled" column
...
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Neil Lalonde
f1637fc11e
FEATURE: plugins can register a custom admin quick start topic that will be seeded into new sites
2015-06-04 15:56:17 -04:00
Régis Hanol
86d7412f30
REFACTOR: rename "total_votes" poll field to the more accurate "voters"
...
FEATURE: automagically load plugin's migrations
2015-05-04 16:01:57 +02:00
Régis Hanol
724f4a1c55
FEATURE: automatically load plugin's rake tasks
2015-04-29 23:32:49 +02:00
Robin Ward
de42c627c5
Allow plugins to specify a minimum `requires version`
2015-04-27 13:07:12 -04:00
Régis Hanol
151dea4088
FIX: editing a poll/post with a poll wasn't working properly
2015-04-26 00:12:19 +02:00
Régis Hanol
8bda53a8cd
FIX: compatibility issue with akismet plugin
2015-04-23 20:02:16 +02:00
Régis Hanol
a737090442
- FEATURE: revamped poll plugin
...
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Robin Ward
7dea65122e
Support a `url` field in plugin metadata
2015-02-06 18:08:57 -05:00
Robin Ward
3d7b534564
FEATURE: New "Plugins" admin section with extensibility support
2015-02-06 17:33:24 -05:00
Robin Ward
25daca8f23
Helpers for plugins to support enabling/disabling
2015-02-04 16:23:56 -05:00
Robin Ward
530b20d339
Memoize readers for plugins to avoid nil checks
2015-02-04 16:23:55 -05:00
Robin Ward
4748b21c56
Allow us to extend serializers easily in a plugin
2015-01-12 10:53:08 -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
Régis Hanol
e6e7948617
FEATURE: support for emoji sets
...
Added following emoji sets
- Apple/International
- Emoji One (default)
- Android/Google
- Twitter
FIX: translations from plugins weren't properly merged with default translations
FEATURE: new 'site_setting_changed' event
2014-12-11 17:08:47 +01:00
Robin Ward
e76449d800
When using automatic file includes (es6, hbs) from plugins, allow the
...
asset pipeline to find new and deleted files with deleting the `tmp`
folder and restarting the server.
2014-12-09 15:23:14 -05:00
Robin Ward
663cd93c6d
Move `register_asset` into `PluginRegistry` -- the logic works better
...
there.
2014-12-09 14:20:53 -05:00
Robin Ward
cebb47134f
Automatically include all `.hbs` files from plugins
2014-12-09 12:16:47 -05:00
Robin Ward
f361adef44
Make plugin load order deterministic
2014-11-03 15:26:25 -05:00
Robin Ward
d0fb8bbcfc
Instead of `.js.handlebars` use `.hbs` for handlebars templates
2014-09-26 15:23:15 -04:00
Sam
f1a28d62a3
FEATURE: support registration of custom html by plugins
2014-06-05 11:39:33 +10:00
Neil Lalonde
3e16ac62c3
Add register_color_scheme for plugins
2014-06-03 12:37:29 -04:00
Robin Ward
3f9c4100ef
Many Plugin upgrades.
2014-06-03 10:33:47 -04:00
Vikhyat Korrapati
b9e15a240f
Allow registering ES6 modules from plugins.
2014-05-15 23:44:30 +05:30
Benjamin Kampmann
64918c35f5
Improved Plugins SCSS management
...
- Moves the import of plugins for both mobile and desktop from common after discourse loading, allowing plugins to overwrite
- Make desktop-option behave like the mobile-option: SCSS/CSS marked with that option will only be loaded for desktop from now on and ignored in mobile
- Add variables-keyword, allowing plugins to ship and overwrite variables before they get imported by discourse (great for theming)
2014-04-25 18:25:45 +02:00
Sam
de9aa49b52
BUGFIX: default should register CSS for both mobile and desktop
...
If you want desktop only use :desktop option
2014-04-10 16:30:22 +10:00
Benjamin Kampmann
d22df7731d
Allow plugins to ship custom styles only for mobile
...
- adds another :mobile-flag to register_assets
- adds test for plugin registering of assets
- load plugins when on desktop and plugins_mobile when on mobile
2014-04-07 16:33:35 +02:00
Benjamin Kampmann
e63b9b362e
allow apps to give custom admin javascripts
2014-03-17 13:19:08 +01:00
Erik Ordway
34f9e17eac
Allow plugins to specify the value used for require statements. This allows using forked gems in plugins until the original gem gets updated.
2014-02-11 15:53:54 -08:00
Shiv Kumar
c281dd2c1e
sub space for underscore in 'name' when registering public folder in plugin
2014-01-17 15:35:52 -08:00
Sam
ce8bc3682f
BUGFIX: do not install dependencies from plugin, must be explicit
2014-01-17 12:33:42 +11:00
Régis Hanol
9a3ce5f54f
there is no need for that much $
2014-01-06 14:02:42 +01:00
Régis Hanol
7fd88a52c9
FEATURE: allow plugins to overwrite handlebars templates
2013-12-31 16:43:29 +01:00
Sam
95cbcc198e
FEATURE: add support for gem source in plugins
2013-12-31 09:58:58 +11:00
Sam
37267f36a6
we better rm on startup to work around jenkins messing it up, till I figure a cleaner way
2013-11-20 17:31:58 +11:00
Sam
8278fdb9dd
relocate emoji plugin, stop pre-compiling assets
2013-11-20 14:38:21 +11:00
Régis Hanol
fcd85b8a72
allow plugins to be symlinked
2013-10-21 19:59:28 +02:00
Sam
b0465c517e
(experimental) added framework for filtering all sorts of internals in discourse and consuming by plugins
2013-10-10 18:45:40 +11:00
Sam Saffron
964809f73b
if we have not automatic assets, don't try deleting them
2013-09-20 14:39:14 -07:00
Robin Ward
e3a56864dd
Changes to support Spoiler Alert plugin
2013-09-19 18:01:30 -07:00
Sam
6af1e12cc1
after_initialize callback for plugins
2013-09-17 10:24:15 +10:00
Sam
6d5e20fe4a
plugins need paths too
2013-09-12 11:29:45 +10:00
Régis Hanol
1a38f66c7e
removed warning about already existing constants
2013-08-30 17:28:18 +02:00
Sam
afd1a3ac7b
yeah ... we should be installing the gem :)
2013-08-26 13:52:15 +10:00
Sam
818bf1355d
PluginStore for plugin specific bits of storage
...
Amended plugin interfaces so they work with the vk sample
2013-08-26 12:59:17 +10:00
Sam
213ce33af2
Fixed all broken specs
...
Moved middleware config into authenticators
2013-08-26 12:59:17 +10:00
Sam
075002a6d5
refactoring the plugin interfaces to allow for better extensible
2013-08-26 12:59:17 +10:00