Commit graph

5316 commits

Author SHA1 Message Date
Robin Ward
fed9943d90 Minor ES6 tweaks 2015-02-18 14:23:14 -05:00
Robin Ward
2a4b30346c FIX: Category images were not using the CDN 2015-02-18 12:30:41 -05:00
Régis Hanol
e9f161e2bc make jshint happy 2015-02-18 12:37:32 +01:00
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
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
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
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
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
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
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
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
riking
7e79daf9af SECURITY: missed html escaping 2015-02-09 14:34:05 -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
Régis Hanol
b809e02c6c FIX: clicking an attachment link works only once 2015-02-09 17:49:59 +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
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
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
Robin Ward
a65e0a80ba Add support for more ES6 features 2015-02-06 13:26:33 -05: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
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
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
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
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
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
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
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
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
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
69f95df297 FEATURE: recently used emoji tab
⬆️ update lodash to V.3.0.1
2015-02-02 21:54:15 +01:00
Régis Hanol
0a252d7785 FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01: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
Jeff Atwood
737f81b3a9 remove default bgcolor from code highlight 2015-02-02 01:53:24 -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
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
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
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
b1f81c0dca Merge pull request #3080 from riking/misc
Miscellaneous fixes from PR#3000
2015-01-30 10:23:17 +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
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
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
Régis Hanol
22adb682d8 revert - FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:42:05 +01:00
Régis Hanol
14dc22f288 FIX: use CDN for user card/profile background and user avatars 2015-01-29 20:15:17 +01:00
Robin Ward
9a4e5c04d9 Fix weird indentation in CSS file 2015-01-29 12:08:42 -05:00
Régis Hanol
3a24df6956 FIX: adding a custom emoji needed an application restart to work on the server-side rendering 2015-01-29 17:35:52 +01:00
Régis Hanol
b5a6193d36 Merge pull request #3147 from awesomerobot/master
simple change that grants a bit more flexibility to the category and title in the topic list
2015-01-29 17:30:39 +01:00
Kris Aubuchon
5621b1f663 simple change that grants a bit more flexibility to the category and title in the topic list 2015-01-29 10:53:13 -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
Régis Hanol
6556e1cb10 FIX: pasting image in the composer wasn't working in Chrome 2015-01-29 16:26:40 +01:00
Jeff Atwood
f4a9ba8c9d tighten up spacing on category dropdown button 2015-01-29 03:51:07 -08:00
James Kiesel
3b2dcf12b5 Rerender actions on like/dislike 2015-01-29 23:27:05 +13:00
Sam
ffee7ba789 fix style 2015-01-29 18:37:38 +11:00
Sam
8792909ff8 less rules ... less ie problems ... 2015-01-29 18:22:29 +11:00
Sam
a591c019d4 correct tests 2015-01-29 17:57:34 +11:00
Sam
1a694c04e4 correct box styles 2015-01-29 17:49:14 +11:00
Sam
cd5564f623 more styling tweaks 2015-01-29 17:49:14 +11:00
Sam
57dd4554f1 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
6495bca540 bar style fixes 2015-01-29 17:49:14 +11:00
Sam
844467015d FEATURE: allow simple selection for category badge styles
clean up category badge styling
2015-01-29 17:49:14 +11: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
Régis Hanol
cd2c9edb46 FIX: 🐛 upload on IE9 wasn't working :'(
- FIX: make sure we set a default name to a pasted image only on Chrome (the only browser that supports it)
- FIX: use ".json" extension to uploads endpoints since IE9 doesn't pass the correct header
- FIX: pass the CSRF token in a query parameter since IE9 doesn't pass it in the headers
- FIX: display error messages comming from the server when there is one over the default error message
- FIX: HACK around IE9 security issue when clicking a file input via JavaScript (use a label and set `visibility:hidden` on the input)
- FIX: hide the "cancel" upload on IE9 since it's not supported
- FIX: return "text/plain" content-type when uploading a file for IE9 in order to prevent it from displaying the save dialog
- FIX: check the maximum file size on the server 💥
- update jQuery File Upload Plugin to v. 5.42.2
- update JQuery IFram Transport Plugin to v. 1.8.5
- update jQuery UI Widget to v. 1.11.1
2015-01-28 19:43:20 +01: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
Régis Hanol
b003c2b4f3 let's try category class again 2015-01-27 23:44:47 +01:00
Arpit Jalan
5128aa1052 Minor code optimization 2015-01-27 22:51:57 +05:30
Arpit Jalan
12c82bed59 Disable digest emails site setting 2015-01-27 22:41:36 +05:30
Sam
fbd18f3b69 Merge pull request #3132 from lidlanca/patch-4
Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar area
2015-01-27 14:40:49 +11:00
Sam
d52b0a2458 temporarily disable category class on body while debugging issue with missing docking header 2015-01-27 13:43:40 +11:00
lidlanca
0ffea11ccb Perf UX : reduce page paint on scrolling, due to fixed header element union with progress bar
Should provide some performance improvement for scrolling on chrome
The fixed header and the fixed progress bar on both ends  of the screen will invoke a complete visible page redraw.

For whatever reason this css should make things better for low performance devices. only tested on chrome superficially.
2015-01-26 20:47:43 -05:00
Régis Hanol
088260f053 BREAK: improve consistency by using 'category-<slug>' instead of 'category-<id>' as css class 2015-01-26 23:11:41 +01:00
Régis Hanol
3b3c0d7088 add category name as a css class to topic list item (props to @lagwagon) - closes #3129 2015-01-26 18:43:55 +01:00