Commit Graph

25530 Commits

Author SHA1 Message Date
Angus McLeod c8a6e5cbb3 If there is a specific error it should be shown to the user (#5323)
e.g. post_is_deleted, or topic_must_be_open_to_vote
2017-11-17 12:12:13 +01:00
Guo Xiang Tan 3a472b507e FIX: `severity_name` was being logged incorrectly. 2017-11-17 08:55:21 +08:00
Michael Howell c7d024446e Cast the numeric keys of `USER_HOMES` to numbers (#5322)
When converting from hard-coded functions to a map,
the key `1` got converted to `"1"`.
This broke the drop-down menu.
2017-11-17 11:01:18 +11:00
Neil Lalonde 7f0bf3ff3a
Merge pull request #5321 from discourse/time-read-accounting
FEATURE: track and show time read recently
2017-11-16 17:02:33 -05:00
Robin Ward 2974faee68 FIX: Support client locales defined in plugins 2017-11-16 16:21:53 -05:00
Neil Lalonde b37e40eea9 FEATURE: show read time in last 60 days 2017-11-16 15:46:51 -05:00
Robin Ward fc346d207b Only return unique paths 2017-11-16 15:22:05 -05:00
Neil Lalonde c90c4b9703 sadly I can't remove that locale_file_walker dependency from pull_translations.rb 2017-11-16 15:05:45 -05:00
Robin Ward 966c7e7f07 FEATURE: Allow plugins to dynamically add seed fixture paths
This is useful if your plugin wants different seed data for different
locales for example.
2017-11-16 14:43:17 -05:00
Kris 3d145a588f fixing an inconsistency that was cuasing some theme issues (#5320) 2017-11-16 12:44:00 -05:00
Régis Hanol a586738f25 fix randomly failing spec 2017-11-16 18:16:16 +01:00
Robin Ward 54db283e31 Small code tidy up for user/activity menu 2017-11-16 11:49:14 -05:00
Robin Ward 8cd0026cde FIX: If there is an invalid locale in the site setting, default to en 2017-11-16 10:58:29 -05:00
Gerhard Schlager 94ceb06b02 fix user lookup by email in disqus import script 2017-11-16 16:26:18 +01:00
Régis Hanol 678e28794a FIX: properly handle too large & broken images in posts 2017-11-16 15:45:07 +01:00
Vinoth Kannan 6f2a3cb026
Remove unwanted triggers to `CookedPostProcessor` (#5319) 2017-11-16 15:20:44 +05:30
Sam 174ab2d93a minor, ensure ordering of custom fields is consistent 2017-11-16 15:14:10 +11:00
Sam 9c22c68d39 FIX: only save custom fields if they actually change 2017-11-16 15:14:10 +11:00
Guo Xiang Tan 3ab6318e5f Disable postgresql adapter tests until we figure out what is leaking
connections.
2017-11-16 07:17:22 +08:00
Robin Ward c2e70a8cc9 FIX: This class is no longer required and leaves the state as `hidden` 2017-11-15 17:35:24 -05:00
Sam f52111f787 FEATURE: allow plugins to easily detect if running in Rack
Usage: Discourse.running_in_rack? to tell if rack was booted
2017-11-16 08:39:29 +11:00
Sam 20fbf81505 FEATURE: Allow plugins to easily add defaults to GlobalSetting
usage:

GlobalSetting.add_default("plugin_setting_name", "value")
2017-11-16 08:39:29 +11:00
Neil Lalonde 0cdded8079
Merge pull request #5303 from vinothkannans/export-multiple-categories
FEATURE: Option to export multiple categories using export_category method
2017-11-15 16:07:21 -05:00
Jeff Atwood 49790cc05f
Merge pull request #5317 from awesomerobot/master
fixing some button issues on mobile posts
2017-11-15 12:02:40 -08:00
Kris fa9efb799c fixing some button issues on mobile posts 2017-11-15 14:52:33 -05:00
Gerhard Schlager 06a6ddc3ba handle plaintext and HTML emails in mbox importer 2017-11-15 20:22:11 +01:00
Gerhard Schlager 9207dee69a FEATURE: escape HTML when cooking plaintext emails 2017-11-15 20:22:11 +01:00
Robin Ward cef64e8f03 UX: Use `no_ember` styling for omniauth error page 2017-11-15 14:04:26 -05:00
Robin Ward 9e03b5c69a FIX: Don't load other locales in test mode 2017-11-15 12:50:20 -05:00
Robin Ward fc73de9578 Support for finding new locales in plugins 2017-11-15 11:20:04 -05:00
Robin Ward 44081bdf73 FIX: Moderators couldn't delete spammers via flag modal 2017-11-15 10:46:09 -05:00
Vinoth Kannan cbc0afb399 REFACTOR: Instance methods added to 'PluginStore' model for easy access (#5315) 2017-11-15 10:10:20 -05:00
Vinoth Kanan c025fcffa5 UX: Large image placeholder alignment fix 2017-11-15 18:50:16 +05:30
Vinoth Kanan 5c11104f9f FIX: Duplicate a tag if image url is same to href 2017-11-15 17:36:48 +05:30
Arpit Jalan 2e7c61681e PERF: n+1 query when fetching search_logs 2017-11-15 16:23:57 +05:30
Régis Hanol 648832a643 fix the build 2017-11-15 11:53:14 +01:00
Vinoth Kannan 7b494a65c9 NEW: large image placeholder added in cooked html (#5291) 2017-11-15 11:30:47 +01:00
Vinoth Kanan 9ed16343fc Remove email column from schema information 2017-11-15 15:45:19 +05:30
Gerhard Schlager 0d8ddaf4ab FIX: notification dropdown was not visible for group archive
was causing empty message list when navigation back from group message
2017-11-15 10:17:42 +01:00
Arpit Jalan ee1f68438e UX: sort search logs results by unique searches 2017-11-15 12:58:40 +05:30
Guo Xiang Tan db68434db1 More control over Unicorn logstash logger. 2017-11-15 12:28:36 +08:00
Guo Xiang Tan 89d9ffa884 EXPERIMENTAL: Allow logs to be shipped via different methods.
See https://github.com/dwbutler/logstash-logger#uri-configuration for
a list of available methods.
2017-11-15 09:11:33 +08:00
Guo Xiang Tan 0d8e9a88c9 FIX: Disable `rails_multisite` formatter if lograge is enabled. 2017-11-15 09:03:50 +08:00
Sam 813e21d0e8 FIX: current user serializer consistently returns {} for custom_fields
Resolves: #5210
2017-11-15 11:55:37 +11:00
OsamaSayegh 4c4410225e UX: cap likes 2 (#5237) 2017-11-15 11:28:54 +11:00
Arpit Jalan 3831663fea FEATURE: search logs page (#5313) 2017-11-15 11:13:50 +11:00
Robin Ward 7ecc15cad1 FIX: Expansion of user posts was broken 2017-11-14 17:07:12 -05:00
Robin Ward d07ebf9d4c UX: Support for custom error pages and headers in plugins 2017-11-14 16:31:44 -05:00
Robin Ward 1c56e1c063 Support for HTML builders on the no-ember view 2017-11-14 16:04:27 -05:00
Robin Ward 0e2b9d3c10 UX: Make flag dropdown actions more clear 2017-11-14 15:44:16 -05:00