Commit graph

7701 commits

Author SHA1 Message Date
Régis Hanol
206d3233c9 FEATURE: when PMing a user from the topic page, insert a link to the current post 2015-02-18 12:17:54 +01:00
Régis Hanol
3614038a5d Merge pull request #3210 from Flink/bugfix-regression-topics-controller
Fix regression on editing private messages
2015-02-18 10:29:22 +01:00
Sam
fff55e0ee3 FEATURE: allow users to specify if prepared statements are allowed
(they need to be disabled for pgpool based setups)
2015-02-18 11:16:53 +11:00
Loïc Guitaut
395654bf24 Fix regression on editing private messages
v1.2.0beta9 has introduced a regression in edit of a private topic
(first post). Previously a check for no change in TopicsController was
made but it has been changed without considering that the topic could
be private.

By simply forcing a conversion of `topic.category_id` to integer, the case
where its value is nil is handled correctly as it was previously.
2015-02-18 00:41:16 +01:00
Régis Hanol
59da28bda4 FIX: editing a PM should never change the category_id 2015-02-17 23:10:34 +01:00
Robin Ward
762e60c0a6 FIX: Back button was wonky at times 2015-02-17 16:21:30 -05:00
Robin Ward
2104c08fb7 FIX: About user count was off by 1 2015-02-17 15:32:06 -05:00
Arpit Jalan
6e5540c107 FIX: do not show name in email if name on posts are disabled 2015-02-18 01:39:41 +05:30
Régis Hanol
38cc1bf6c1 FIX: columns of uncategorized pinned topics shift when the topic gets unpinned 2015-02-17 18:20:19 +01:00
Arpit Jalan
daea3bb687 UX: add user invite link on admin interface 2015-02-17 13:47:59 +05:30
Sam
a7d08172c8 Merge pull request #3206 from edgibbs/sort_admin_user_badges_by_name
FIX: Default sort grantable badges by name
2015-02-17 12:18:15 +11:00
Sam
6c09b6739d BUG: minor, do not send access origin if not set 2015-02-17 09:58:43 +11:00
Régis Hanol
3cad4824d7 FEATURE: allow moderators to see flagged private messages 2015-02-16 13:03:04 +01:00
Régis Hanol
0b45054e2b FIX: couldn't uncategorize a topic 2015-02-16 10:31:36 +01:00
Ed Gibbs
c50205725f FIX: Default sort grantable badges by name
Currently has no default sort and was stated as a bug here:
  https://meta.discourse.org/t/badges-not-sorted-in-grant-badge-dropdown/23739
  (Post was recently deleted or made private?)
2015-02-15 17:37:11 -08:00
Jacob Chapel
8ee0cb7049 FIX: Use overage to keep usercard from going off browser 2015-02-15 17:14:32 -08:00
Arpit Jalan
64ffceb438 UX: add confirmation dialog for user archive export 2015-02-15 22:13:28 +05:30
Jeff Atwood
fc413df7e1 add link to backups from dashboard size 2015-02-13 17:21:29 -08:00
Kris Aubuchon
c8af2ec8a2 fixing cateogry alignment in docked header 2015-02-13 17:17:32 -05:00
Robin Ward
3ce2077aa8 Migrate unsubscribe keys to the database.
This should reduce a lot of the keys in redis.
2015-02-13 14:24:15 -05:00
Régis Hanol
86c7071559 remove all calls to the distributed mutex in emojis 2015-02-13 19:34:24 +01:00
Régis Hanol
324a3da723 remove distributed mutex for emojis (not working) 2015-02-13 19:26:26 +01:00
Robin Ward
96c19ed8b6 UX: Add a dash for the empty cell.
"Active Users" for "All Time" doesn't make sense.
2015-02-13 11:27:31 -05:00
Régis Hanol
2a3ceb84de FIX: category background in topic views 2015-02-13 15:52:56 +01:00
Kris Aubuchon
f6035411c9 box category alignment fix 2015-02-12 23:24:07 -05:00
Robin Ward
a519fd5bcf FIX: Highlighting was not being applied after some rendering.
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Robin Ward
96697c7957 Let's remove the Singleton usage of SiteSettings from Sharing 2015-02-12 13:51:19 -05:00
Robin Ward
1eecd7418e FIX: Return sharing sources in the same order as the site setting 2015-02-12 13:03:32 -05:00
Robin Ward
6c65162b05 FIX: Title could temporarily revert to the site name 2015-02-12 12:28:54 -05:00
Régis Hanol
7b8c7ff3ef FIX: sub-categories with the same name had the same background image 2015-02-12 18:21:07 +01:00
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
Sam
a5f46c98c1 PERF: only load locale files we are using
We used to load up all translations in all languages
2015-02-12 12:08:14 +11:00
Neil Lalonde
fcae399481 fix my totally broken ApplicationRequest.stats method 2015-02-11 17:41:35 -05:00
Régis Hanol
db53e022cc FEATURE: prevent upload of more than 10 files at a time 2015-02-11 19:34:48 +01: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
riking
3c035dce7c FIX: Don't expire ratelimits at midnight server time 2015-02-10 22:45:46 -08:00
Sam
ca915e8ad7 correct issue under 2.0.0 2015-02-11 17:41:24 +11:00
Sam
9a59caf800 add regexp to reporting 2015-02-11 17:23:54 +11:00
Sam
e427d54191 FEATURE: show large objects in admin/memory_stats 2015-02-11 17:18:47 +11:00
Sam
577f7446b4 FIX: only load S3 stuff when we need it 2015-02-11 10:55:04 +11: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
Neil Lalonde
d5712e43cf FIX: auto-close time can be a date like 2015-2-22 2015-02-10 17:10:20 -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
Régis Hanol
c4e427cf73 FEATURE: filter screened IP addresses 2015-02-10 19:38:59 +01: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
Arpit Jalan
9d5baf12ff FIX: set base_url for usage_tips 2015-02-10 23:04:00 +05:30
Sam
39e828dee4 improve formatting 2015-02-10 15:59:08 +11:00
Sam
d5405eebde Add basic snapshot comparison for tracking memory leaks 2015-02-10 15:54:16 +11:00
Sam
1d99f5c9c0 FEATURE: add process stats to memory report 2015-02-10 12:34:01 +11:00
Sam
3aea00473b FEATURE: improve memory reporting of /admin/memory_stats 2015-02-10 11:48:30 +11:00
riking
83b51875bb Use html_escape method instead of gsub 2015-02-09 15:03:17 -08:00
riking
7e79daf9af SECURITY: missed html escaping 2015-02-09 14:34:05 -08:00
riking
68ccd2d664 FEATURE: All 500 errors now show up in Logster
Added Discourse.handle_request_exception()
2015-02-09 12:48:33 -08:00
riking
5657006aca Rename handle_exception to handle_job_exception 2015-02-09 12:47:46 -08: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
Arpit Jalan
e87ff31d4c FIX: uncategorized is showing up in title tag on topics 2015-02-10 00:54:43 +05:30
riking
8d39480831 use symbols for error types (squash me) 2015-02-09 10:20:00 -08:00
Régis Hanol
1e6f886886 FIX: use distributed mutex to prevent errors when uploading emojis in batches 2015-02-09 18:54:57 +01:00
Régis Hanol
e9d5c5c0a8 Merge pull request #3187 from linc01n/fix_custom_mobile_top_footer
Fix customize HTML/CSS only show desktop code
2015-02-09 18:44:29 +01:00
Régis Hanol
b809e02c6c FIX: clicking an attachment link works only once 2015-02-09 17:49:59 +01:00
Lincoln Lee
02f3f8c1b3 Fix customize HTML/CSS only show desktop code
custom_top and custom_footer method in SiteCustomization is setting
:desktop as default argument for `target`

It output the desktop version of the custom_top, custom_footer even
user in mobile_view.

This fix is adding the missing target into method argument.
2015-02-10 00:48:42 +08:00
Régis Hanol
e0703dbbc7 FIX: broken gravatar link when using S3
Don't break the optimized image workflow when there was an issue downloading a copy of the original image
2015-02-09 17:00:58 +01:00
Régis Hanol
c9a007d5fb FIX: backup logs on Firefox
FIX: debounce backup logs in order to prevent Firefox crash
FIX: 'Invalid date' in backup logs in Firefox
2015-02-09 16:53:28 +01:00
Arpit Jalan
4c602f60c6 Add Telugu translation files 2015-02-09 20:46:31 +05:30
Sam
e8323fa534 FIX: removing a group from a user was not removing primary group 2015-02-09 16:03:09 +11:00
Sam
4a5d79ad89 Merge pull request #3184 from awesomerobot/master
fixing unread count alignment
2015-02-09 10:44:21 +11:00
Kris Aubuchon
0bc35a6360 fixing unread count alignment 2015-02-08 18:09:12 -05:00
riking
a16aa9fde8 HACK: Keep old behavior for topics#show 2015-02-08 13:56:56 -08:00
riking
8cf21f2363 FEATURE: Refactor error returns in application_controller 2015-02-08 13:40:38 -08:00
riking
8812f95839 FIX: Ember regression in read-only banner 2015-02-08 12:42:19 -08:00
Jeff Atwood
2f8e29bd04 Merge pull request #3180 from awesomerobot/master
fixing missing border on dropdown
2015-02-08 10:24:08 -08:00
Kris Aubuchon
29490209e7 fixing missing border on dropdown 2015-02-08 12:01:51 -05:00
Sam
32b40503d0 Merge pull request #3179 from awesomerobot/master
updating the composer category selector style
2015-02-08 16:46:22 +11:00
Kris Aubuchon
834378f996 updating the composer category selector style 2015-02-07 23:16:46 -05:00
Jeff Atwood
10403676d7 minor /categories CSS tweaks 2015-02-07 15:46:04 -08: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
Neil Lalonde
96b15cbba6 FIX: dashboard report date range calculations include time zone, and application request data too 2015-02-06 17:20:11 -05:00
Robin Ward
a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05:00
Régis Hanol
4db3caec7c Merge pull request #3175 from chapel/fix-autolink-regex
FIX: Remove g and m flags from autolink regex
2015-02-06 09:56:52 +01:00
Régis Hanol
8e2d84ee27 Merge pull request #3174 from riking/patch-poll
FIX: Allow closing polls in multi-locale sites
2015-02-06 09:44:44 +01:00
Jacob Chapel
e57be55979 FIX: Remove g and m flags from autolink regex 2015-02-06 00:41:38 -08:00
Sam
dea05e6041 Revert "UI: use tertiary color to generate topic progress bg"
This reverts commit 0e93bae310.
2015-02-06 18:31:10 +11:00
Sam
0e93bae310 UI: use tertiary color to generate topic progress bg 2015-02-06 17:56:45 +11:00
Sam
ab25ddcc3b we were forced to bind here 2015-02-06 16:46:28 +11:00
Sam
dd9c23eb5e we need access to badge category bg in drop down for extensibility 2015-02-06 16:20:55 +11:00
Sam
95f8b3ed4c FIX: status route should be served as text not html 2015-02-06 15:56:21 +11:00
riking
06f02ce9fc FIX: 🈂️ Allow closing polls in multi-locale sites 2015-02-05 19:55:03 -08:00
Sam
820ce8765e refactor traffic report
split traffic report in 2, page view vs raw traffic
hide raw traffic report by default
improve flushing logic for application reqs
2015-02-06 14:39:16 +11:00
Sam
1d3f4f6935 only send track view on get requests 2015-02-06 14:39:15 +11:00
Jeff Atwood
1ec46e3efd add whee fun border emoji radius
BECAUSE FUN GOD DAMN IT
2015-02-05 16:36:52 -08:00
riking
193bf62dee FIX: 'all' filter never de-highlighting 2015-02-05 15:02:11 -08:00
Sam
3a0cd0b760 make custom fields a bit more permissive input wise 2015-02-06 09:03:23 +11: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