Commit Graph

7716 Commits

Author SHA1 Message Date
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
Régis Hanol
2fcd199f48 FIX: send a PM to moderators when a post has been flagged as sockpuppet 2015-02-05 19:58:49 +01:00
Régis Hanol
d0b83c6fb2 Merge pull request #3172 from techAPJ/patch-1
FIX: check for full name in invite email subject
2015-02-05 18:32:17 +01:00
Arpit Jalan
c90251ea25 FIX: check for full name in invite email subject 2015-02-05 22:35:25 +05:30
Régis Hanol
521d3de10d revert: ⬆️ update font-awesome 2015-02-05 17:26:18 +01: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
Régis Hanol
ef6868d870 forgot the *actual* font (SO :fired:) 2015-02-05 14:32:04 +01:00
Régis Hanol
4ac82f45bf FIX: force font-awesome update 2015-02-05 14:25:27 +01:00
Régis Hanol
0774bd28b8 remove unused font-awesome file 2015-02-05 14:20:01 +01:00
Régis Hanol
f1403206ca Merge pull request #3169 from riking/patch-3
SECURITY: Don't leak topic title in the redirect
2015-02-05 12:47:58 +01:00
Régis Hanol
48de485f72 Merge pull request #3170 from riking/show_mentions
FEATURE: Mentions stream on user profile
2015-02-05 12:47:22 +01:00
Régis Hanol
ea50d22302 ⬆️ update font-awesome 2015-02-05 12:47:02 +01:00
Arpit Jalan
026df5185e FIX: subcategory url was incorrect in rss 2015-02-05 13:22:28 +05:30
riking
2154f5478a FEATURE: Mentions stream on user profile 2015-02-04 22:03:44 -08:00
Sam
08b790b3c2 improve metrics gathered using in our traffic section
this also pulls out the middleware into its own home and inserts in front
2015-02-05 16:08:52 +11:00
Sam
c9adfa65a0 FEATURE: dashboard stats for application traffic 2015-02-05 11:18:21 +11:00
Robin Ward
25daca8f23 Helpers for plugins to support enabling/disabling 2015-02-04 16:23:56 -05:00
Neil Lalonde
27557b8402 ApplicationRequest can return a report 2015-02-04 15:05:22 -05:00
riking
4c8850108a SECURITY: Don't leak topic title in the redirect 2015-02-04 11:55:39 -08:00
Jeff Atwood
3948a960cd minor tweak for new topic alignment 2015-02-04 11:29:56 -08:00
Régis Hanol
8a5a229c3f FIX: category backgrounds were broken 2015-02-04 16:38:42 +01:00
Sam
3fc930526c fix typo 2015-02-04 18:25:37 +11:00
Sam
67eccee990 FEATURE: basic disk space usage stats 2015-02-04 18:05:17 +11:00
Sam
21402d9d9e annotations 2015-02-04 16:34:25 +11:00
Sam
e105f0965c infrustructure for tracking application web requests 2015-02-04 16:15:16 +11:00
Sam
06edfb85a9 annotations 2015-02-04 16:15:16 +11:00
Jeff Atwood
dc96d6bafe move admin topic wrench down a bit 2015-02-03 15:01:23 -08:00
Neil Lalonde
8689c85b54 add error handling when granting admin and moderator privileges 2015-02-03 17:42:08 -05:00
Arpit Jalan
68377ba4ab add class for container div on 404 page 2015-02-04 00:40:21 +05:30
Régis Hanol
0e5c9b2590 small upload code refactor 2015-02-03 18:44:18 +01:00
Arpit Jalan
a092944582 FIX: URL encoding was not working for %23 in links 2015-02-03 22:06:49 +05:30
Jeff Atwood
c1ddda3e8f try removing "loading topic..." vs spinner 2015-02-02 23:10:07 -08:00
Sam
7e259375e9 PERF: properly pass topic_id to post action cache to avoid excessive query
in the past auto closing was forcing a consistency check on topic, which in
turn was triggering a full post action cache rebuild
2015-02-03 15:59:26 +11:00
Sam
85d9b2d227 regression, missing local storage would cause script to break 2015-02-03 13:17:03 +11:00
Sam
78b879d666 remove superflous rules break firefox 2015-02-03 11:56:57 +11:00
Sam
5ddec2e76d revert lodash upgrade, it is causing severe breakages elsewhere 2015-02-03 11:51:34 +11:00
Jeff Atwood
80d8b133d9 slight emoji dialog tweak 2015-02-02 15:41:53 -08:00
Jeff Atwood
2dbe747918 emoji dialog UX tweaks
https://meta.discourse.org/t/idea-design-window-emoticons/24654
2015-02-02 14:43:10 -08:00
Régis Hanol
03f7a12b52 UX: use 🌟 icon for recently used emoji tab 2015-02-02 22:28:58 +01:00
Régis Hanol
20308ecfd9 fix typo (stupid 🇫🇷) 2015-02-02 21:55:44 +01:00
Régis Hanol
69f95df297 FEATURE: recently used emoji tab
⬆️ update lodash to V.3.0.1
2015-02-02 21:54:15 +01:00
Robin Ward
06279b5c6a Add a new event for when a post is confirmed as spam 2015-02-02 15:52:21 -05:00
Régis Hanol
0a252d7785 FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01: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
Neil Lalonde
b56999e984 show last 30 days on about page 2015-02-02 12:27:49 -05:00
Arpit Jalan
88306cc112 FIX: uncategorized category was not loading updates in edit mode 2015-02-02 21:50:29 +05:30
Régis Hanol
b9ff4a5e81 UX: fix 'revision details' styling in revision history window 2015-02-02 12:13:37 +01:00
Jeff Atwood
9d4ee9553d add some breathing room to quoted categories 2015-02-02 02:08:06 -08:00
Régis Hanol
e2a65a6605 Merge pull request #3159 from riking/patch-6
FIX: Add Google Analytics code to crawler view
2015-02-02 11:07:47 +01:00
Jeff Atwood
737f81b3a9 remove default bgcolor from code highlight 2015-02-02 01:53:24 -08:00
Jeff Atwood
e45b3c15c3 Revert "FIX: auto orientation code causing grey images to appear blackish"
This reverts commit f680374820.
2015-02-02 01:27:52 -08:00
riking
c6e27399b3 FIX: Add Google Analytics code to crawler view 2015-02-02 00:49:58 -08:00
Sam
8304c306a4 Merge pull request #3158 from techAPJ/patch-2
FIX: Not allow TL4 user to set staff color
2015-02-02 16:27:39 +11:00
Arpit Jalan
a29970275a FIX: Not allow TL4 user to set staff color 2015-02-02 10:38:42 +05:30
Sam
05a56b25a9 FIX: setting custom avatar would not work a lot of the time
Due to internal structure we were often caching "redirect" images.
2015-01-31 23:42:50 +11:00
Sam
f680374820 FIX: auto orientation code causing grey images to appear blackish 2015-01-31 18:05:50 +11:00
Sam
f4609fd6ae selection refactor caused wrench to show up in topic list for non-admins 2015-01-31 17:16:08 +11:00
Sam
8b95511816 correct bad styling in user->pref->categories 2015-01-31 17:04:53 +11:00
Arpit Jalan
3e7cc18276 FIX: Toggling staff color on a post doesn’t get applied 2015-02-02 01:11:35 +05:30
Jeff Atwood
cabd519f14 add a little breathing room for topic title tags 2015-01-30 15:45:04 -08: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
Neil Lalonde
750b27f973 FEATURE: show number of active users in the last 7 days on about page 2015-01-30 17:23:52 -05:00
Régis Hanol
79a7c7ce41 Merge pull request #3151 from lidlanca/patch-7
Fix: Resize event does not get cleared/unbind properly due to wrong usage of jQuery api.
2015-01-30 15:48:08 +01:00
Dan Singerman
64c4bd5dbf Fix force_avatar_update.to_i error as force_avatar_update is a boolean
If force_avatar_update is passed in sso attributes it errors on
force_avatar_update.to_i. The SingleSignOn class forces avatar_force_update
to a boolean, so it should be treated as such.
2015-01-30 09:51:38 +00:00
Sam
d9ae4e791e woops should be a bit more specific 2015-01-30 19:17:26 +11:00
Sam
833b7b8f0b fix header primary missing color 2015-01-30 17:57:46 +11:00
lidlanca
b4f1ffd4ea Fix: Resize event handler does not get cleared from window object,by wrong usage of jQuery api.
An handler get added each time a topic is loaded to the window object

jQuery resize api only pass data to the handler when triggered.
```.resize( [eventData ], handler ) ```

The unbind followed in willDestroyElement had no affect. 

.on(...) or bind(..) support the event.namespace

fix was not tested.
2015-01-30 01:57:44 -05:00
Sam
52bc03b5e6 FIX: summary mode was broken and missing a bunch of posts 2015-01-30 17:19:42 +11:00
Sam
784697bf12 added todo 2015-01-30 15:11:46 +11:00
Sam
1b1ea8e718 FEATURE: 'b' as a keyboard shortcut for bookmarking a topic 2015-01-30 15:11:24 +11:00
Sam
8b7afd644f regression, too many "new" badges on the "new" tab 2015-01-30 12:47:45 +11:00
Sam
e77eaf9c95 adjust styling for tagged topics 2015-01-30 12:33:27 +11:00
Sam
561278eb38 correct broken mobile styling 2015-01-30 12:09:42 +11:00
Sam
8264dbd971 Merge pull request #3140 from fullfatthings/fix_missing_sso_avatar_bug
Fix bug when sso_overrides_avatar is true but no avatar_url is passed
2015-01-30 10:45:25 +11:00
Sam
b1f81c0dca Merge pull request #3080 from riking/misc
Miscellaneous fixes from PR#3000
2015-01-30 10:23:17 +11:00
Sam
ea7af7a83b Merge pull request #3135 from longhotsummer/fix-no-user-params
FIX: creating a user shouldn't error when optional fields aren't given
2015-01-30 10:12:57 +11:00
Neil Lalonde
67b262b93e Merge branch 'master' of github.com:discourse/discourse 2015-01-29 17:39:52 -05:00
Neil Lalonde
644c7a4675 FEATURE: Add an option to show custom user fields on profiles. Default is to not show them. 2015-01-29 17:38:39 -05:00
Robin Ward
d1ec1e2681 Allow code to save custom fields without saving the attached object 2015-01-29 17:17:52 -05:00
riking
85a7b925c7 Miscellaneous fixes from PR#3000
FIX: Don't require login to view post raw
FIX: Don't submit read-guidelines for anonymous users (causes
unnecessary 403 errors from ensure_logged_in)
FIX: Don't pass nil to an array serializer
2015-01-29 13:56:32 -08:00
Sam
a6ce188f35 Merge pull request #3126 from riking/latest-posts
Latest posts endpoint at /posts.json
2015-01-30 08:55:45 +11:00
Régis Hanol
6a68e8c272 FIX: use CDN for user card/profile background and user avatars (for real this time) 2015-01-29 22:53:48 +01:00
Arpit Jalan
6c410ed093 FIX: strip whitespaces from user email 2015-01-30 01:44:24 +05:30
Régis Hanol
22adb682d8 revert - FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:42:05 +01:00