Commit Graph

5160 Commits

Author SHA1 Message Date
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
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
Jeff Atwood 8ef2a111a0 fix left margin on tablet portrait w/topic + list 2015-01-25 23:45:36 -08:00
Jeff Atwood bab5167566 tighten up suggested topic table layout 2015-01-25 00:33:52 -08:00
Jeff Atwood e572ad35ad new topic/post alert div regressed a bit on mobile 2015-01-23 23:39:44 -08:00
Jeff Atwood 4904eeaa67 more pastel (desaturated) progress bar 2015-01-23 14:03:27 -08:00
Jeff Atwood 545d5b4906 turn down lightness scale of progress bar a bit 2015-01-23 12:39:07 -08:00
Régis Hanol f7f5e39f75 FIX: Minor Admin bug with a setting when creating a new group 2015-01-23 20:31:48 +01:00
Régis Hanol e6f849f873 FIX: make sure pasting an image in the composer is considered as an image instead of an attachment 2015-01-23 19:17:33 +01:00
Régis Hanol 256519dddf FEATURE: automatic group membership based on email address 2015-01-23 18:25:43 +01: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 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
Arpit Jalan 62c1291548 FIX: user name and title were not showing on post creation 2015-01-22 02:28:04 +05:30
Régis Hanol 141f697482 remove unused route 2015-01-21 20:54:07 +01:00
Régis Hanol e300945879 FEATURE: split group admin in 2 tabs (custom & automatic)
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Robin Ward 03eb4752d1 Add `categories-list` css class to body for customization purposes 2015-01-21 14:34:01 -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
Jeff Atwood 1ed34be1b9 make topic list pin color consistent with lock 2015-01-21 03:15:56 -08:00
Jeff Atwood e5cad726fd further tweaks to get post selection OK on mobile 2015-01-20 22:51:15 -08:00
Jeff Atwood c4ddc5b983 quick mobile css fix for post selection buttons 2015-01-20 17:28:06 -08:00
Jeff Atwood aa423212a0 make topic list bookmark color consistent with lock 2015-01-20 16:39:11 -08:00
Robin Ward 614ad4daa7 UX: Formatting on search categories looked weird 2015-01-20 17:51:12 -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 350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Neil Lalonde 7412ff4da7 FIX: suspended users are logged out when they are suspended. Show a reason for suspension when they try to log in. 2015-01-19 12:37:02 -05:00
Jeff Atwood 90ff92e008 don't show self-bookmark avatar in user stream 2015-01-19 01:08:39 -08:00
Jeff Atwood 3f7fa46af7 remove unnecessary site header title height 2015-01-19 00:44:23 -08:00
Jeff Atwood 3d0e59942c IE9 doesn't support console.log 2015-01-19 00:33:51 -08:00
Robin Ward 37d73ec488 Support customizing the composer below the textarea 2015-01-16 12:52:40 -05:00
Jeff Atwood 24b282e5e9 clicking expanded post date also jumps to post 2015-01-16 03:06:19 -08:00
Jeff Atwood 2b877e4fc4 post expansion arrow CSS cleanup 2015-01-16 02:24:49 -08:00
Jeff Atwood d890248963 normalize post expansion arrow on right 2015-01-16 01:56:36 -08:00
Jeff Atwood 992ad7991b UX: change private category to lock glyph 2015-01-15 14:07:21 -08: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 9c977a08cd FIX: 🐛 supress the category badge even when refreshing 2015-01-15 14:59:51 -05:00
Régis Hanol 20d2908c50 FEATURE: add a global notice whenever emails are disabled (disable_emails site setting) 2015-01-15 19:32:19 +01: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
Régis Hanol b4e5937850 FIX: 🐛 ensure emoji are case insensitive 2015-01-15 19:00:55 +01:00
Régis Hanol beea92a74b FIX: 🐛 show email button wasn't working on user's profile page 2015-01-15 17:58:50 +01: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
Kane York 31c8b5763f Set Turkish pluralization rules
Turkish does not have different forms for singulars next to numerals
https://meta.discourse.org/t/turkish-translation-missing-many-singular-strings/23334/
2015-01-14 10:39:31 -08:00
Régis Hanol 6734a51b6a move SiteText.{head,top,bottom} to SiteCustomization 2015-01-14 12:15:53 +01: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
Jeff Atwood 935df99acf fix minor mobile topic styling issue 2015-01-12 17:26:04 -08:00
Robin Ward f3b72f5d96 Revert "move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top"
This reverts commit 6ee2849df6.
2015-01-12 20:21:22 -05:00
Robin Ward 1e6dea46dd FIX: Jump to post was not respecting gaps 2015-01-12 18:10:30 -05:00
Arpit Jalan bbb23bb736 FIX: users tab in admin panel doesn’t stay highlighted 2015-01-13 02:04:59 +05:30