Commit graph

6818 commits

Author SHA1 Message Date
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
Régis Hanol
7e94f9d6f9 FIX: insert different message when auto-closing a topic based on the last post 2014-10-29 21:26:32 +01: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
Robin Ward
fe8d9642a0 Merge branch 'master' of github.com:discourse/discourse 2014-10-29 10:15:06 -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
865194f409 FIX: cannot show email for pending/inactive users 2014-10-29 01:07:27 +01: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
Robin Ward
f47ab30b04 Use a site setting for maximum summary results 2014-10-28 16:03:43 -04:00
Robin Ward
3eb020c466 Max out summary filter at 100 posts. 2014-10-28 15:58:04 -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
3a11e5b52e Merge pull request #2921 from techAPJ/patch-1
FIX: email replies should not be accepted for deleted topics
2014-10-28 14:11:33 +11: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
Sam
7d6d8bd0a3 FEATURE: admin end point to sync sso /admin/users/sync_sso
Must be admin to invoke (api is fine too), uses same sso payload nonce is ignored
2014-10-28 11:25:21 +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
Arpit Jalan
b37d845dd3 FIX: email replies should not be accepted for deleted topics 2014-10-27 13:05:33 +05:30
Sam
9445000b58 Merge pull request #2920 from yomybaby/patch-1
Update list.rss.erb (unescape tag)
2014-10-27 13:58:42 +11: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
Jong Eun Lee
7679189f28 Update list.rss.erb (unescape tag) 2014-10-27 06:39:09 +09:00
Sam
388e3b01ba Merge pull request #2917 from DeanMarkTaylor/patch-1
UX: Improve username readability in search results
2014-10-27 08:22:53 +11:00
Arpit Jalan
08dc0e6ee6 FIX: email replies to closed topic should not be accepted 2014-10-25 23:47:13 +05:30
Dean Taylor
715b81ea88 UX: Improve username readability in search results
Avoid lower-case usernames in search results output to improve readability and accuracy - avoid users reading words that don't exist.
2014-10-25 16:52:04 +01:00
Dean Taylor
4ad84c4a2c UX: Improve username readability in search results
Avoid lower-case usernames in search results output to improve readability and accuracy - avoid users reading words that don't exist.
2014-10-25 16:46:47 +01: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
Arpit Jalan
8b56c16e14 include all groups in user csv export 2014-10-24 00:42:45 +05:30
Jeff Atwood
f959bf7d93 make sure categories don't wrap in email digests 2014-10-23 10:53:31 -07: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
Jude Aakjaer
46ac98d34d add post_number to PostWordpressSerializer 2014-10-23 03:02:06 +00: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
Régis Hanol
de415b804c FIX: add 'Content-Length' header for avatars 2014-10-22 15:39:51 +02: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
7659d491fd Merge pull request #2897 from techAPJ/patch-1
FEATURE: show full user name in emails
2014-10-21 15:47:31 -04:00
Arpit Jalan
8700716fcd separate site setting for showing full name in emails 2014-10-22 00:50:39 +05:30
Neil Lalonde
c330fb7639 add missing semicolon 2014-10-21 14:57:26 -04:00
Arpit Jalan
83068fab94 FEATURE: show full name in emails 2014-10-21 23:34:44 +05:30
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
832655df14 attempt to get content length through 2014-10-21 16:17:13 +11:00
Sam
4e7057efb1 Clean up content type and add Expires header when serving CDN assets 2014-10-21 15:59:34 +11: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
Jeff Atwood
736dd6c948 Revert "jQuery-ize the 404 page Google search"
This reverts commit 6b209f0d7e.
2014-10-20 00:22:24 -07:00
Jeff Atwood
6b209f0d7e jQuery-ize the 404 page Google search 2014-10-20 00:19:48 -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
Sam
8efee0d03d don't use Markdown 2014-10-18 17:17:38 +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
Sam
cb044bb219 Merge pull request #2851 from VickMellon/title_encoding_cast
FIX: force encoding for title field
2014-10-17 15:01:40 +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
Michael Verdi
1f95cfedc3 [patch] When a post is split out to be a new topic
the topic's last_post_user_id is set to the user who split out
the post.  But, this should really be the user_id of the last post
of the split out posts.
2014-10-16 12:38:26 -07: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
Robin Ward
2322586131 FIX: Saving a field as not required was actually making it required
until you edited it.
2014-10-14 17:21:34 -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
Robin Ward
366d7e892c Merge pull request #2867 from techAPJ/patch-1
FEATURE: send `set password` instructions after invite redemption
2014-10-14 11:01:07 -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
cc688155f4 Merge pull request #2868 from chancancode/dont_silence_deprecation_warnings
*Don't* silence the deprecation warnings in test
2014-10-14 18:44:36 +11:00
Sam
b4c29a9f3b FIX: regression in autocomplete 2014-10-14 18:22:44 +11:00