Commit Graph

4708 Commits

Author SHA1 Message Date
Robin Ward
b5e9e9d6bd FIX: Enable word wrap for pre tags in embedded discourse on iOS 2014-10-30 16:14:40 -04:00
Jeff Atwood
212b593960 long embed content urls overflow in safari? 2014-10-30 10:15:44 -07:00
Robin Ward
78f5237ae9 UX: Add title to user card, if exists 2014-10-30 12:11:33 -04:00
Sam
75ffb0a425 Merge pull request #2912 from cpradio/pr-make-create-topic-global
FIX: Make shortcut 'c' global for creating a topic
2014-10-30 17:23:12 +11:00
Sam
cd0ff7b0f2 Merge pull request #2932 from awesomerobot/master
new usercard style
2014-10-30 11:01:05 +11:00
Kris Aubuchon
faece5a504 new usercard style 2014-10-29 19:48:20 -04:00
Régis Hanol
6e053942a4 FIX: moderators should be able to search users by email 2014-10-29 22:08:41 +01:00
Jeff Atwood
250bee6a91 move create new dialog autofocus to email field 2014-10-29 13:47:21 -07:00
Neil Lalonde
62fa3775f2 name field: remove failure for blank name, and don't say your name looks good when you haven't entered anything 2014-10-29 16:10:21 -04:00
Jeff Atwood
62a6b3ce19 FEATURE: full name no longer required at signup 2014-10-29 12:54:44 -07:00
Robin Ward
40684ff7e6 FIX: queryParams and Em.set for later Ember versions (1.7+) 2014-10-29 13:58:05 -04:00
Robin Ward
7990d6ba2f Revert "FIX: Workaround for modal CSS bugs in IOS 8. Don't use a table to"
This reverts commit edea7180f4.
2014-10-29 12:43:19 -04:00
Régis Hanol
6aa9ae3c6a UX: add loading indicator when uploading image/attachment 2014-10-29 17:11:50 +01:00
Robin Ward
44ff357e1c Remove unused view, use preferred dash format for filenames, add
warnings when templates are missing
2014-10-29 10:39:06 -04:00
Robin Ward
daf7239d87 Lookup templates using the container 2014-10-29 10:32:57 -04:00
Régis Hanol
a6972fe543 UX: fix position of the topic entrance box 2014-10-29 08:36:52 +01:00
Sam
7327dbc7cc PERF: don't render the category list if we are not showing it. 2014-10-29 17:17:32 +11:00
Sam
0621e87bcd PERF: don't render dropdowns till we need them 2014-10-29 16:54:11 +11:00
Sam
d7c4987ecb PERF: reduce one view, cleaner pattern for component visibility 2014-10-29 16:28:56 +11:00
Sam
eab12cc6b8 PERF: move excerpt to raw, expose i18n to handlebars 2014-10-29 16:08:35 +11:00
Sam
403271d2db one more spot where code can be reused 2014-10-29 15:31:11 +11:00
Sam
5729e7df6f PERF: use raw rendering for topic list
rename my handlebars helper to "raw",
create ember compat handlebars to handle rendering
patch ember rails to use the correct precompiler
2014-10-29 15:24:51 +11:00
Sam
e3b88d3688 Revert "REVERT commits for raw handlebars rendering. We need to create a"
This reverts commit a4363e033d.
2014-10-29 13:05:19 +11:00
Sam
189ae2e6e3 comment to explain a bug 2014-10-29 13:01:01 +11:00
Régis Hanol
3dcccb5dee Merge pull request #2926 from mcwumbly/hide-revision-button
UX: show the hide revision button on mobile
2014-10-29 01:02:01 +01:00
David McClure
827a13a08b UX: show the hide revision button on mobile 2014-10-28 16:58:35 -07:00
Régis Hanol
7525a896df UX: make the blue notification float over the column headers on desktop 2014-10-29 00:46:05 +01:00
Régis Hanol
9b29a23ece FIX: prevent iframe in expended quote 2014-10-28 22:58:22 +01:00
Robin Ward
39bbab89cc Merge pull request #2928 from awesomerobot/master
fixing the broken groups page
2014-10-28 16:07:47 -04:00
Kris Aubuchon
f353df97e3 fixing the broken groups page 2014-10-28 16:04:18 -04:00
Kris Aubuchon
ff4dcb8520 fixing the broken groups page 2014-10-28 15:48:03 -04:00
Robin Ward
edea7180f4 FIX: Workaround for modal CSS bugs in IOS 8. Don't use a table to
vertically centre, use a margin offset.
2014-10-28 12:03:36 -04:00
Robin Ward
a4363e033d REVERT commits for raw handlebars rendering. We need to create a
separate branch and discuss issues of this approach.
2014-10-28 10:56:04 -04:00
Sam
ad46a490cc correct coldmaps 2014-10-28 17:54:00 +11:00
Sam
f5379cee89 PERF: move activity-column to handlebars 2014-10-28 17:20:56 +11:00
Jeff Atwood
93af6107e7 Merge pull request #2924 from awesomerobot/master
new user profile page
2014-10-27 22:24:42 -07:00
Sam
220568a2a3 PERF: remove a binding we do not need 2014-10-28 15:01:13 +11:00
Sam
09f6011bbd PERF: split out category column rendering 2014-10-28 14:56:27 +11:00
Sam
e11f73889a move column to better location 2014-10-28 14:56:27 +11:00
Kris Aubuchon
f605a7ef61 new user profile page 2014-10-27 23:35:16 -04:00
Sam
adb870a909 PERF: use handlebars rendering for user list
this shave topic list rendering on local down from 140ms to 100ms
2014-10-28 13:31:25 +11:00
Régis Hanol
a438f35478 fix the build 2014-10-27 22:18:10 +01:00
Régis Hanol
e7f251c105 LOTS of changes to properly handle post/topic revisions
FIX: history revision can now properly be hidden
FIX: PostRevision serializer is now entirely dynamic to properly handle
hidden revisions
FIX: default history modal to "side by side" view on mobile
FIX: properly hiden which revision has been hidden
UX: inline category/user/wiki/post_type changes with the revision
details
FEATURE: new '/posts/:post_id/revisions/latest' endpoint to retrieve
latest revision
UX: do not show the hide/show revision button on mobile (no room for
them)
UX: remove CSS transitions on the buttons in the history modal
FIX: PostRevisor now handles all the changes that might create new
revisions
FIX: PostRevision.ensure_consistency! was wrong due to off by 1
mistake...
refactored topic's callbacks for better readability
extracted 'PostRevisionGuardian'
2014-10-27 22:06:43 +01:00
Robin Ward
caf31dde1e Revert "GroupedEach helper fix for ember 1.8"
This reverts commit 3075ebf77c.
2014-10-27 15:58:04 -04:00
Robin Ward
3075ebf77c GroupedEach helper fix for ember 1.8 2014-10-27 15:31:35 -04:00
Sam
1cc37e32b9 FEATURE: add max_reply_history to limit number of replies
that can be expanded, when clicking "in-reply-to"
2014-10-27 09:44:42 +11:00
Sam
6d3d425611 apply same fix to mobile 2014-10-27 09:16:51 +11:00
Sam
5b02bc03a8 FIX: search was rendering incorrectly in safari mac 2014-10-27 09:09:05 +11:00
cpradio
00816269fc Call open directly to avoid deprecation warning 2014-10-24 17:08:10 -04:00
cpradio
c6e54741bb Apply comments from eviltrout, using this.get('category.id'), and use snake case for category_id 2014-10-24 17:01:28 -04:00
Robin Ward
2a70c381f7 FIX: Moderators/Admins cannot delete other user's bookmarks 2014-10-24 16:08:52 -04:00
Arpit Jalan
433d218681 user proper naming conversation 2014-10-24 21:23:11 +05:30
Arpit Jalan
6f8c6282fa use ember textarea 2014-10-24 21:09:17 +05:30
cpradio
e013694734 FIX: Make shortcut 'c' global for creating a topic
https://meta.discourse.org/t/keyboard-shortcut-c-create-a-new-topic-does-not-work-globally/18975
2014-10-24 11:23:03 -04:00
Sam
aa9b3bb35a FEATURE: allow long polling to go to a different url
Added the site setting long_polling_base_url , this allows you
to farm long polling to a different server.

This setting is very important if a CDN is serving dynamic content.
2014-10-24 13:38:38 +11:00
cpradio
439f393d89 Show dismiss posts/topics buttons on category filtered lists 2014-10-23 17:41:39 -04:00
Robin Ward
2b2837fa12 FEATURE: Include category / subcategory name in document title when
viewing a topic.
2014-10-23 13:17:44 -04:00
Robin Ward
e2d40c033a FIX: Broken "read more" link on categories view for mobile pinned topics 2014-10-23 12:18:33 -04:00
Robin Ward
d734bdabb6 FIX: When uncategorized badge is not suppressed, the header formatting
was a bit messed up
2014-10-23 12:07:56 -04:00
Robin Ward
5de43930e9 FIX: The whole page was a drag-n-drop target even when there were
multiple file upload components.
2014-10-22 14:37:35 -04:00
Sam
6c58cb982a unbound if is not a perf gain 2014-10-22 18:07:29 +11:00
Jeff Atwood
de05012c76 tighten up draft display on mobile 2014-10-21 23:37:34 -07:00
Kelle Connolly
0d461f16a7 Remove href attribute from tab link to prevent duplicate event on enter.
Because Discourse doesn't preventDefault on links with an href of "#"
this tab-able link was firing a click event when enter was pressed. This
had the unfortunate side effect of breaking the history, making routing
and navigation unreliable.
2014-10-22 17:29:57 +11:00
Jeff Atwood
5161d0f23d increase click area on editor toggle, mobile 2014-10-21 23:27:06 -07:00
Jeff Atwood
ea681d92a2 increase click area on editor toggle 2014-10-21 23:17:58 -07:00
Sam
c104fbc915 remove unused code 2014-10-22 16:40:21 +11:00
Sam
30a814b105 PERF: unbind some stuff to speed up topic list 2014-10-22 16:37:13 +11:00
Sam
e20e6b4524 PERF: stop using jQuery to sanitize strings 2014-10-22 15:48:18 +11:00
Sam
73486b8ddd FIX: respect anon_polling_interval
FIX: only poll background message bus pages once a minute
FEATURE: background_polling_interval
FEATURE: long polling pushed back to 25 seconds
FEATURE: force a poll when a bg page returns to foreground

also improve copy of message bus settings a bit
2014-10-22 12:49:10 +11:00
Neil Lalonde
c330fb7639 add missing semicolon 2014-10-21 14:57:26 -04:00
Jeff Atwood
d501f003ca fix up /about on mobile 2014-10-21 01:09:54 -07:00
Jeff Atwood
7cda43e502 fix expanded avatar 1 row css suppress mobile 2014-10-21 00:50:17 -07:00
Jeff Atwood
e88fc65de4 fix expanded avatar 1 row css suppression 2014-10-21 00:34:57 -07:00
Sam
d4f3f894f4 FEATURE: focus input on modals is optional 2014-10-21 08:12:29 +11:00
Robin Ward
71f211f0b3 FEATURE: Allow users to select a badge with an image to appear on their
user card
2014-10-20 16:35:38 -04:00
Robin Ward
1cf4a0d604 Rename "User Expansion" to the much clearer "User Card" 2014-10-20 12:11:59 -04:00
Régis Hanol
10094a0bcd FIX: resolve flags as good when deleting a spam user 2014-10-20 16:59:06 +02:00
Régis Hanol
29b2788ca6 Merge pull request #2896 from awesomerobot/master
sticking transitions into a sass mixin
2014-10-20 16:26:53 +02:00
Kris Aubuchon
b97a4f5bd0 sticking transitions into a sass mixin 2014-10-20 09:54:36 -04:00
Arpit Jalan
42714d7d25 Hide google search when the instance is private 2014-10-20 16:50:42 +05:30
Arpit Jalan
e6171c31fb FIX: browser password manager was saving name instead of username 2014-10-20 01:16:07 +05:30
Arpit Jalan
7b81e79b12 Show raw email in text box 2014-10-20 00:51:22 +05:30
Kris Aubuchon
d132b35426 a handful of minor style updates/fixes 2014-10-18 23:07:55 -04:00
Régis Hanol
c59e56ec63 Merge pull request #2882 from techAPJ/patch-1
FEATURE: show raw email for replies/topics created via email
2014-10-18 21:16:17 +02:00
Jeff Atwood
b77f7ce567 overflow:hidden on blockquote caused IE freakout 2014-10-18 02:48:25 -07:00
Sam
147e4bf056 add some padding 2014-10-18 18:12:48 +11:00
Sam
bfbfc16cca Correct hard coded URL, implement missing features 2014-10-18 18:09:45 +11:00
Sam
bf7ee92d56 Move search help to a more intuative spot 2014-10-18 18:00:54 +11:00
Jeff Atwood
92b615b503 reorganize site settings a bit 2014-10-19 23:14:50 -07:00
Jeff Atwood
ba9e4b42fe mobile "new/updated topics" alert was too small 2014-10-19 23:01:19 -07:00
Jeff Atwood
2517496bf4 multiple lines of post-actions smushed on mobile 2014-10-19 22:47:34 -07:00
Sam
742c5e29c9 FEATURE: advanced search help 2014-10-18 14:27:33 +11:00
Arpit Jalan
72873b8368 further optimize raw email feature 2014-10-18 00:50:02 +05:30
Arpit Jalan
3854c0a29e only staff can view raw email 2014-10-17 23:21:18 +05:30
Arpit Jalan
2131a37811 FEATURE: show raw email for replies/topics created via email 2014-10-17 22:22:19 +05:30
Régis Hanol
ab9a0235b4 UX: make sure onebox avatar's dimensions arent overriden in order to prevent 'bumps' when the image loads 2014-10-17 18:32:24 +02:00
Robin Ward
569874c2b6 UX: Added help text below profile images 2014-10-17 11:26:30 -04:00
Régis Hanol
35c30368f0 UX: fix embedded posts background for good 2014-10-17 17:04:08 +02:00
Jeff Atwood
3825b04751 move user-dropdown unread PM badge to right 2014-10-17 16:28:10 -07:00
Robin Ward
0cbdf6f5bb FIX: Many bugs with admin badges interface
* Editing a badge's title would show it as changed in the side even if
  you didn't hit save

* Clicking a badge would not scroll to the top

* If there was an error saving a badge there was a missing i18n key

* URLs were using queryParams instead of paths

* User `label` tags for checkboxes for larger click targets

* Saved! text would persist when viewing another badge

* After creating a new badge it would show nothing

* Validation errors were not being properly released to the client

* Query errors were surrounded by an extra array
2014-10-17 16:14:49 -04:00
Sam
10db8f21d7 FEATURE: experimental reply-to expansion which hides intermediate posts
experimental_reply_expansion
2014-10-15 18:13:13 +11:00
Jeff Atwood
9e9bfe03c0 add overflow:hidden to blockquote (for images) 2014-10-16 22:45:45 -07:00
Sam
8b508e704b Merge pull request #2881 from DeanMarkTaylor/patch-1
FIX: Censored word match fail if earlier partial match
2014-10-17 15:03:19 +11:00
Dean Taylor
0a5acba77e FIX: Censored word match fail if earlier partial match 2014-10-17 02:43:28 +01:00
Sam
c2c4e03e0f FIX: when opening links in new window link only worked once 2014-10-15 14:50:20 +11:00
Sam
4f697f234d FIX: Password managers picking name as opposed to username 2014-10-15 11:40:19 +11:00
Robin Ward
08233fc86e FIX: Show images in the admin section list for badges. Add help text to
indicate icons can be images too.
2014-10-16 16:43:34 -04:00
Robin Ward
f3a67a48a3 Merge pull request #2874 from cpradio/clear-notifications
FEATURE: Mark All as Read button for Notifications page
2014-10-16 15:57:19 -04:00
Robin Ward
d439bd274e Merge pull request #2878 from daemonsy/daemonsy_focus_topic_input
UX Improvement: Autofocus the topic field on edit
2014-10-16 15:56:35 -04:00
Robin Ward
4d465362b5 FEATURE: Allow a user to upload an image for their expansion background. 2014-10-16 15:05:36 -04:00
Robin Ward
bde0820cd4 FIX: Category group picker was broken with category path rename 2014-10-16 14:30:58 -04:00
Robin Ward
fe1b561228 UX: Only the title of a quote should have a pointer cursor 2014-10-16 13:05:45 -04:00
Robin Ward
d2ac5a9ac6 Rename /category/xyz paths to /c/xyz -- @SamSaffron did most of the
work even though I'm merging the patch!
2014-10-16 12:15:31 -04:00
Régis Hanol
8bb20f2260 UX: dim hidden revisions 2014-10-16 16:32:02 +02:00
Régis Hanol
5b004f8cce UX: add 'no-text' class to button that only use an icon 2014-10-16 16:25:51 +02:00
Régis Hanol
de47acf548 UX: wiki/moderator/deleted background applied excessively to unrolled replies 2014-10-16 16:19:01 +02:00
Damon Aw
a5e576adca UX Improvement: Autofocus the topic field on edit
- After clicking on the pencil icon to edit a topic, the focus is not set on the input.
- This leads to cases where using keyboard shorcuts (e.g. cmd + left) leads to navigation instead.
- Searching around online, it seems the cleanest way to add a text-field that autofocuses is to create a component.
- I followed the [cookbook](http://emberjs.com/guides/cookbook/user_interface_and_interaction/focusing_a_textfield_after_its_been_inserted/) and did the most naive implementation.
- This focuses the text-field but at the start of the input. Setting selectionStart and selectionEnd solves this problem, but does not work on IE 8 and below.
2014-10-14 23:31:01 -04:00
Robin Ward
cd8b896272 Revert "UX: On mobile add a max width for really long forum names"
This reverts commit ba245ca098.
2014-10-14 17:27:58 -04:00
Jeff Atwood
3dbd1c195a FIX: wide mobile topic title overflowed in editor 2014-10-14 14:12:52 -07:00
Robin Ward
ba245ca098 UX: On mobile add a max width for really long forum names 2014-10-14 17:01:16 -04:00
cpradio
ac708b4068 Don't use __container__ instead use needs: ['user-notifications'], (thanks eviltrout!) 2014-10-14 16:23:20 -04:00
Robin Ward
216f718607 Support /group/xyz paths as well as /groups/xyz 2014-10-14 15:11:22 -04:00
Régis Hanol
1f42e85e0d Merge pull request #2873 from mcwumbly/hide-post-revisions
FEATURE: ability to hide/show specific post revisions
2014-10-14 16:45:17 +02:00
David McClure
19d5362c6b FEATURE: ability to hide or show specific post revisions 2014-10-14 07:19:45 -07:00
Sam
b4c29a9f3b FIX: regression in autocomplete 2014-10-14 18:22:44 +11:00
Sam
737be5e151 Merge pull request #2871 from mamhoff/autocomplete-again
Fix buggy autocomplete behaviour for non-US keyboards
2014-10-16 17:35:48 +11:00
Martin Meyerhoff
f3337ab551 reduce number of times caretPosition() is called 2014-10-15 08:50:47 +02:00
Jeff Atwood
6c95ddf90c remove another lightbox 100% width hack 2014-10-15 22:38:18 -07:00
Jeff Atwood
fc1176acae FIX: use overflow:hidden on reply expansions 2014-10-15 22:34:56 -07:00
Jeff Atwood
08d1f1ef7c JavaScript does love its commas 2014-10-13 21:27:32 -07:00
Jeff Atwood
825bd0d053 UX: add reply glyph back to topic level reply button 2014-10-13 21:16:44 -07:00
Robin Ward
022ca25fea Remove acccidental console.log 2014-10-15 14:37:14 -04:00
Robin Ward
224f503e6f FIX: refreshTitle error when navigating to a 404 page 2014-10-15 14:33:22 -04:00
Régis Hanol
31e9cafe0e FEATURE: use original filename when clicking the download link in the lightbox 2014-10-15 19:20:04 +02:00
Régis Hanol
5569c45d3b FIX: revision history modal wasn't properly handling large revision on mobile 2014-10-14 00:02:09 +02:00
Régis Hanol
65dd05cb41 UX: fix revision history modal on mobile 2014-10-13 23:26:49 +02:00
Régis Hanol
d70bb0e58b UX: fix post admin menu positioning & closing on mobile 2014-10-13 22:38:22 +02:00
Régis Hanol
199896a607 UX: add new wiki color as a site-level color variable 2014-10-13 19:43:24 +02:00
Régis Hanol
0555b84e4d UX: different auto-close message when 'based on last post' is checked 2014-10-13 18:58:56 +02:00
cpradio
8f390c979b FEATURE: Mark All as Read button for Notifications page
Added a Mark All as Read button to the top/bottom of the notifications user page
https://meta.discourse.org/t/possibility-to-selectively-or-completely-mark-notifications-as-read/20227

Remove notifications property (no longer used)
2014-10-13 06:31:27 -04:00
Jeff Atwood
3a571997a0 remove right padding from topic list titles 2014-10-13 02:49:22 -07:00
Jeff Atwood
ad4994ff0b move "easier to tap" topic list paddings to base 2014-10-13 00:26:13 -07:00
Jeff Atwood
dd870e8cdc top/bottom pad title in topic lists: easier click 2014-10-12 23:48:04 -07:00
Jeff Atwood
0a678fbf36 slight mobile improvement for editing topic title 2014-10-12 23:28:33 -07:00
Jeff Atwood
1f8e1f8f17 Remove old IE support from WMD, part III 2014-10-12 01:01:40 -07:00
Jeff Atwood
43bcde2060 Remove old IE support froM WMD, part II
native methods that IE8 didn't support but IE9 does
2014-10-12 00:46:08 -07:00
Jeff Atwood
28b9176bbc oh JavaScript, you so crazy 2014-10-12 00:33:13 -07:00
Jeff Atwood
aa29fc3b4a remove old IE support from WMD, part I: uaSniffed 2014-10-12 00:22:14 -07:00
Jeff Atwood
08bdf26e70 Revert "remove old IE support crap from WMD Editor"
This reverts commit 7bbf7d02e3.
2014-10-12 00:14:22 -07:00
Jeff Atwood
7bbf7d02e3 remove old IE support crap from WMD Editor
we barely support IE9 this does not matter at all
2014-10-12 00:05:18 -07:00