Commit Graph
100 Commits
Author SHA1 Message Date
Robin Ward 8ec4d07bf2 Minor refactoring to help with Tags RSS 2015-02-12 11:53:21 -05:00
Robin Ward e207ca36ee Easier helper for filtering secured categories 2015-02-12 11:52:59 -05:00
Robin Ward 38fbdf65ef FIX: Sometimes postChangedRoute could be triggered when torn down 2015-02-11 12:57:22 -05:00
Robin Ward 282476fdf9 FIX: Hide "error logs" logs from staff. Refactor admin menu HTML. 2015-02-11 11:53:06 -05:00
Robin Ward cf3582bedb FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
Robin Ward c0856daf13 Merge pull request #3192 from riking/patch-xss
SECURITY: missed html escaping
2015-02-10 15:24:09 -05:00
Robin Ward 9b12e53d9c Merge pull request #3195 from techAPJ/patch-1
FIX: set base_url for usage_tips
2015-02-10 12:53:33 -05:00
Robin Ward d8c616a68a Add a store so we can start using ES6 modules for models, finally. 2015-02-10 12:35:53 -05:00
Robin Ward 8d46de4819 Add a spec for the new plugins controller 2015-02-10 12:35:53 -05:00
Robin Ward 0da022a1ba FIX: Make sure to observe shadowed settings when refreshing 2015-02-09 17:28:55 -05:00
Robin Ward 5d6f6c4887 Revert "FIX: refresh should work with shadowed globals"
This reverts commit 226f4b5bd9.
2015-02-09 17:08:52 -05:00
Robin Ward 226f4b5bd9 FIX: refresh should work with shadowed globals 2015-02-09 16:52:21 -05:00
Robin Ward 62b1969c4b Merge pull request #3185 from techAPJ/patch-1
FIX: uncategorized is showing up in title tag on topics
2015-02-09 14:30:19 -05:00
Robin Ward f445d025f6 Merge pull request #3189 from riking/patch-1
FEATURE: Make default locale settable during bootstrap
2015-02-09 14:17:27 -05:00
Robin Ward b7f45f6667 Merge pull request #3188 from techAPJ/patch-2
Remove group names warning
2015-02-09 14:01:52 -05:00
Robin Ward 6e7f884dab Merge pull request #3182 from riking/fix-readonly
FIX: Ember regression in read-only banner
2015-02-08 15:45:51 -05:00
Robin Ward 3cfa37b1e6 FIX: Support adminPlugins resource even if no plugins use it 2015-02-06 19:26:45 -05: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 9584990477 Whitelist specific ES6 features we want for now. 2015-02-06 13:44:17 -05:00
Robin Ward a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05:00
Robin Ward 853e6d6cb7 Merge pull request #3176 from fantasticfears/discuz
add Discuz! X importer
2015-02-06 10:15:34 -05:00
Robin Ward 3a25516557 Merge pull request #3177 from techAPJ/patch-1
Add rails error translation strings
2015-02-06 10:11:22 -05:00
Robin Ward a852f6c56f Add Discourse-Track-View header to XHR when transitioning 2015-02-05 16:07:51 -05:00
Robin Ward 4e64d16a47 FEATURE: Allow plugins to log staff actions 2015-02-05 15:26:34 -05:00
Robin Ward 68c2eb9a5b Remove deprecated Discourse.ajax methods. 2015-02-05 11:07:15 -05:00
Robin Ward c3874b6ec9 Remove deprecated error callback to Discourse.ajax 2015-02-05 10:44:33 -05:00
Robin Ward 3b68214210 FIX: Clean up after adding events. Fixes random test failures. 2015-02-04 17:33:18 -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 f9695882b1 Add plugins category to settings so plugins can use them 2015-02-04 16:23:55 -05:00
Robin Ward aacf2e6f20 Can add shadowed_by_global to a site setting to override
If a site setting has `shadowed_by_global: true` then, if
a `GlobalSetting` exists with the same name then that value
will be used instead.  Additionally, the setting will be hidden.

This is useful in a multisite environment for private settings
such as API keys. You want to set it globally, yet not display
the key to customers.
2015-02-03 16:49:22 -05:00
Robin Ward 4c6c021b5c Merge pull request #3168 from techAPJ/patch-2
add class for container div on 404 page
2015-02-03 15:12:58 -05:00
Robin Ward 14a8b3e29c FIX: In case a topic is deleted, allow us to serialize their posts 2015-02-03 14:51:50 -05:00
Robin Ward 9a07945a16 FIX: Don't add constants for ES6 modules in plugins
If you're using ES6 in a plugin, you shouldn't be depending on the
backwards compatibility layer. That's for proper Discourse only.
2015-02-03 13:14:05 -05:00
Robin Ward d0630b7f26 Update to latest onebox gem 2015-02-03 12:55:41 -05:00
Robin Ward d9c6acafc0 Merge pull request #3164 from techAPJ/patch-2
FIX: URL encoding was not working for %23 in links
2015-02-03 11:39:40 -05:00
Robin Ward 06279b5c6a Add a new event for when a post is confirmed as spam 2015-02-02 15:52:21 -05:00
Robin Ward f15b0d205f FIX: The "too similar" check happened when trying to make a post a wiki 2015-02-02 12:44:56 -05:00
Robin Ward 8ba72b3a84 Merge pull request #3161 from techAPJ/patch-2
FIX: uncategorized category was not loading updates in edit mode
2015-02-02 11:29:28 -05:00
Robin Ward d7b7ec9e0a FIX: Wiki editing was broken due to extra topic update 2015-01-30 18:02:11 -05:00
Robin Ward f923d7e205 Support appending routes within the admin section by plugins 2015-01-30 18:02:11 -05:00
Robin Ward d1ec1e2681 Allow code to save custom fields without saving the attached object 2015-01-29 17:17:52 -05:00
Robin Ward 108170cd90 Merge pull request #3150 from techAPJ/patch-2
FIX: strip whitespaces from user email
2015-01-29 15:24:33 -05:00
Robin Ward e42e9bd010 Merge pull request #3149 from techAPJ/patch-2
FIX: allow developer emails to bypass email blacklist/whitelist restrict...
2015-01-29 13:42:59 -05:00
Robin Ward f028b51620 Add post parameters so plugins like akismet can use it for spam
prevention.
2015-01-29 13:09:35 -05:00
Robin Ward 1f40807001 Add extensibility point for whenever a post is created 2015-01-29 12:46:29 -05:00
Robin Ward 9a4e5c04d9 Fix weird indentation in CSS file 2015-01-29 12:08:42 -05:00
Robin Ward 6e862e0e59 FIX: Should flush rate limit keys before testing it 2015-01-29 11:45:12 -05:00
Robin Ward 52d04935be Merge pull request #3145 from gdpelican/bugfix/like-toggle
Rerender actions on like/dislike
2015-01-29 10:32:11 -05:00
Robin Ward d491d817a6 UX: Alwasy skip headers on topic lists on mobile.
Fixes topic lists filtered by tag on mobile.
2015-01-28 15:20:26 -05:00
Robin Ward d6fa248093 UX: Update 404 page category badge to use centralized helper and style 2015-01-28 14:56:38 -05:00
Robin Ward 053d3120f7 Updated incorrect comment 2015-01-28 13:38:40 -05:00
Robin Ward 8fc477ab07 More refactoring to support extensibility of history 2015-01-28 13:37:06 -05:00
Robin Ward 4a46d4ee35 Refactor and enable extensibility in PostRevisionSerializer 2015-01-28 13:37:06 -05:00
Robin Ward d43944b3ed Extensibility for tracking changes to a topic 2015-01-28 13:37:06 -05:00
Robin Ward c7fa4a029d Merge pull request #3138 from techAPJ/patch-1
Minor code optimization
2015-01-27 13:25:13 -05:00
Robin Ward 8f070c2008 Merge pull request #3133 from techAPJ/patch-1
Disable digest emails site setting
2015-01-27 12:13:25 -05:00
Robin Ward 848632131e Merge pull request #3137 from rahulj51/patch-1
Fixed typo on line 49
2015-01-27 10:42:17 -05:00
Robin Ward 51827b06ac Merge pull request #3130 from techAPJ/master
FEATURE: suppress digest emails for users not seen on the site for more ...
2015-01-26 13:12:47 -05:00
Robin Ward ab4eb353af Merge pull request #3127 from riking/self-delete-locale
FIX: 🈂️ Use site-wide locale for deletion stubs
2015-01-26 11:04:04 -05:00
Robin Ward 30cd341b0d UX: Max width of .gifv videos 2015-01-26 11:00:18 -05:00
Robin Ward b3a9f91bd3 UX: You should be able to tab to the "This is a warning" checkbox 2015-01-26 10:52:17 -05:00
Robin Ward d06d050eb7 UX: When oneboxing a topic, use the stripe category badge 2015-01-23 15:12:42 -05:00
Robin Ward 2ea4c1c9de FIX: Groups post page was broken.
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00
Robin Ward 848d60d459 FIX: Posts weren't highlighting on initial load 2015-01-23 10:46:44 -05:00
Robin Ward 87cfbfa117 Another imgur onebox fix 2015-01-22 14:53:11 -05:00
Robin Ward 08cc9bc6ef Update onebox gem for more Imgur support 2015-01-22 14:10:46 -05:00
Robin Ward b3a2c0c45b SECURITY: The SSO return_path was an open redirect
This security fix needs SSO to be configured, and the user has to go
through the entire auth process before being redirected to the wrong host so
it is probably lower priority for most installs.
2015-01-22 12:20:17 -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 9e82c41576 Merge pull request #3119 from techAPJ/patch-3
FIX: user name and title were not showing on post creation
2015-01-21 16:04:00 -05:00
Robin Ward 03eb4752d1 Add categories-list css class to body for customization purposes 2015-01-21 14:34:01 -05:00
Robin Ward 514a45b0c1 SECURITY: Don't whitelist codepen as it is a potential vector for abuse 2015-01-21 13:57:28 -05:00
Robin Ward 48c7e20d80 DRY up the displaying of topic categories. Should not be duplicated. 2015-01-21 12:20:39 -05:00
Robin Ward df8880a71a FIX: (for IE9) if console.log doesn't exist, make it an noop. 2015-01-21 11:53:41 -05:00
Robin Ward 614ad4daa7 UX: Formatting on search categories looked weird 2015-01-20 17:51:12 -05:00
Robin Ward 7cc96bdac5 FIX: v8 issue with regexp 2015-01-20 17:29:59 -05:00
Robin Ward 649dfd8d23 Revert "Convert html.js to ES6 module format"
This reverts commit 60523d8e02.
2015-01-20 16:13:42 -05:00
Robin Ward 60523d8e02 Convert html.js to ES6 module format 2015-01-20 16:07:29 -05:00
Robin Ward 2a6657bf53 Merge pull request #3090 from ojab/master
`bundle update rbtrace` for mri-2.2.0 compatibility
2015-01-20 15:21:56 -05:00
Robin Ward e3b4d12e46 Merge pull request #3110 from riking/notification_lanaguage
FIX: Respect user locale for reply notifications
2015-01-20 15:17:18 -05:00
Robin Ward 350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Robin Ward f3c9310e12 Merge pull request #3117 from techAPJ/patch-1
FEATURE: rate limit invites for non-staff users
2015-01-20 10:45:00 -05:00
Robin Ward 37d73ec488 Support customizing the composer below the textarea 2015-01-16 12:52:40 -05:00
Robin Ward 987504c6ab Rename no_js layout to no_ember
While *sometimes* `no_js` was used for visitors without js (for example
disabling it on your browser) it was also used for some pages that were
disabled to JS capable browsers, including the 404 page.

Even worse, sometimes it was used on pages that *had* Javascript, such
as our `/activate-account` route. It has been renamed to `no_ember` to
indicate what it really is, a layout for the site that doesn't load our
Ember.js application.
2015-01-15 15:56:53 -05:00
Robin Ward e4e239c159 Add some safety when rendering a dropdown button to make sure it has
content.
2015-01-15 15:43:37 -05:00
Robin Ward dc801bb442 Merge pull request #3102 from techAPJ/patch-2
Add username and date-time in exported file name
2015-01-15 15:35:06 -05:00
Robin Ward 505fa9f1cf FIX: 🐛 Saving the same custom field array twice would raise an error 2015-01-15 15:31:50 -05:00
Robin Ward 9c977a08cd FIX: 🐛 supress the category badge even when refreshing 2015-01-15 14:59:51 -05:00
Robin Ward 6c4c542ae3 FIX: Triggering a refresh while subcategory lists was broken.
It would then list all categories isntead of the subcategory you were
viewing at that time.
2015-01-15 13:01:35 -05:00
Robin Ward a28784c8f7 Add a {{plugin-outlet}} for the admin-menu 2015-01-14 16:05:29 -05:00
Robin Ward f8d3764d5e Convert many buttons to d-button 2015-01-14 15:50:20 -05:00
Robin Ward e7443247dd Adds plugin-outlet for topic menu buttons. Also a d-button component. 2015-01-14 15:50:20 -05:00
Robin Ward 28f702a5b6 Refactor app events to more efficiently handle post highlighting 2015-01-14 15:50:19 -05:00
Robin Ward 78d5d22776 FIX: Posts weren't highlighting when jumping using the progress widget 2015-01-14 15:50:19 -05:00
Robin Ward c4ca6b9934 FIX: Activate account page JS error with I18n 2015-01-14 14:00:47 -05:00
Robin Ward fcba826202 Merge pull request #3099 from techAPJ/patch-1
FIX: old csv's were not getting deleted
2015-01-14 13:44:31 -05:00
Robin Ward 0492564cce Merge pull request #3098 from techAPJ/update-translations
Update Translations
2015-01-14 11:13:14 -05:00
Robin Ward 8b87d8ac2d Refactor sharing dialog for extensibility 2015-01-13 17:26:05 -05:00
Robin Ward 0de6226a20 FIX: Remove Bookmark was broken on bookmarks page
This was particularaly bad now that we removed stars :)
2015-01-13 13:14:58 -05:00