Commit Graph

7076 Commits

Author SHA1 Message Date
Régis Hanol 988835a9a3 FEATURE: users can see the raw email source of their own posts 2014-11-10 22:00:17 +01:00
Régis Hanol ec76be964e UX: better footer handling 2014-11-10 21:51:55 +01:00
Robin Ward f414020be8 FIX: New topics were not showing in suggested 2014-11-10 15:20:01 -05:00
Robin Ward a6b1be81b1 Upgrade to Ember 1.7.1 + group patch 2014-11-10 14:49:02 -05:00
Robin Ward c32df362d4 Add loading template for routes that return promises 2014-11-10 13:07:49 -05:00
Robin Ward e1d26736b2 FIX: Missing tab delegation 2014-11-10 12:04:16 -05:00
Robin Ward 9f127d8183 UX: Focus on the user card when it's rendered 2014-11-10 11:31:28 -05:00
Robin Ward bfa5835025 Merge pull request #2957 from techAPJ/patch-1
add user title in exported csv
2014-11-10 10:11:24 -05:00
Sam 6a42588007 remove X from search in ie 2014-11-10 21:31:15 +11:00
Sam d77f218122 Don't try to publish messages on broken posts 2014-11-10 21:24:54 +11:00
Godfrey Chan 5d7aca3cc6 Use *_url instead of *_path to avoid a deprecation warning 2014-11-10 01:05:47 -08:00
Godfrey Chan 7351917ee4 Boolean -> String quoting has changed on Rails master
CustomField.create(name: 'zomg', value: true).reload.value # => 't' on Rails 4.1, '1' on 4.2

rails/rails@42be84ba
2014-11-10 01:05:46 -08:00
Jeff Atwood a90176550c let's try no table border on email digests 2014-11-10 00:54:59 -08:00
Kris Aubuchon 00bb72f52d fixing very bizaare Safari 8.0 bug on title input 2014-11-09 19:26:22 -05:00
Arpit Jalan 0ea1ad4785 add user title in exported csv 2014-11-08 20:07:22 +05:30
Robin Ward 0777efe74d FIX: 1000 was a crazy threshold for showing categories at the bottom of
digests
2014-11-07 17:16:52 -05:00
Robin Ward bfe2021859 UX: In digest email lists of topics, show striped version of category
badge
2014-11-07 17:00:09 -05:00
Robin Ward 8199c3b440 Don't add the `g` flag 2014-11-07 12:09:45 -05:00
Robin Ward 0044a99000 Don't raise an error for global regexps; warn the plugin author instead. 2014-11-07 12:04:44 -05:00
Robin Ward 564e7a988c Merge pull request #2848 from riking/whitelist-api
Improve Markdown.whiteListTag, code dialect
2014-11-07 11:33:37 -05:00
Robin Ward d6ff1630a8 Merge pull request #2898 from kellec/remove_focus_link_href
Remove href attribute from tab link to prevent duplicate event on enter.
2014-11-07 11:01:06 -05:00
Robin Ward 6f7cf8599f Merge pull request #2949 from fantasticfears/master
css tweak - expanding some room for zh_CN
2014-11-07 10:55:55 -05:00
riking d7a4e39e1d FEATURE: ?include_raw parameter for /t/id/posts.json
include_raw is not added for the wordpress view because it uses the
BasicPostSerializer, and is not a one-line change.

This is the only use of the TopicViewPostsSerializer class, and the
previous change covered the only use of the TopicViewSerializer class.
No other locations include the PostStreamSerializerMixin. Therefore,
this feature is most likely complete.
2014-11-07 07:28:07 -08:00
Jeff Atwood 9f6a0cb126 minor style tweaks to file upload modal 2014-11-06 14:17:52 -08:00
Régis Hanol 684eb4045b Merge pull request #2950 from awesomerobot/master
some cleanup for new usercards on dark themes
2014-11-06 18:10:26 +01:00
Kris Aubuchon 5c84c74a69 some cleanup for new usercards on dark themes 2014-11-06 11:33:30 -05:00
Robin Ward 3b699daec3 UX: Fix some weird margins/padding when zoomed in on user profiles 2014-11-06 11:31:06 -05:00
Erick Guan 951b6e6bb8 css tweak - expanding some room for zh_CN 2014-11-06 22:06:21 +08:00
Jeff Atwood 9ae7c3c595 address odd user card issue with buttons 2014-11-06 03:29:24 -08:00
Jeff Atwood 8e38c129c5 minor login copy tweaks 2014-11-06 02:27:27 -08:00
Régis Hanol bb2d538194 FEATURE: log impersonations 2014-11-06 10:58:47 +01:00
Sam 246f77c98d tweak positioning when it has no room to right 2014-11-06 16:25:40 +11:00
Sam e3bfc2e447 correct positioning of user card on sites with custom headers
fix regression (can not click on links in card)
2014-11-06 13:00:21 +11:00
Jeff Atwood 30ce67f689 Merge pull request #2947 from awesomerobot/master
updated loading spinner
2014-11-05 17:24:07 -08:00
Kris Aubuchon a0e5605869 updated loading spinner 2014-11-05 20:13:51 -05:00
Sam 9c81f2c6af remove duplicate code
fix issue where clicking on
the same user in 2 locations on the page would not work correctly

centralize logic
2014-11-06 12:13:46 +11:00
Sam 7b484937d0 minor debouncing fixes for user card 2014-11-06 10:30:38 +11:00
Régis Hanol 3d94808c00 UX: add the word it's before standard spam names to form a complete sentence 2014-11-05 22:46:07 +01:00
Régis Hanol d104b72aee UX: remove 'ago' from user streams 2014-11-05 21:53:16 +01:00
Robin Ward b328d47628 FIX: fa- check was incorrect on user card 2014-11-05 15:19:08 -05:00
Robin Ward a0e92ef57a FIX: PageTracker was not sending the proper page title through at all
times.
2014-11-05 15:15:58 -05:00
Robin Ward 2d9187cd9d Admin controls to select a date range for reports 2014-11-05 14:46:44 -05:00
Régis Hanol a5616146eb FIX: remove meta data from lightbox in both excerpt (html & text) 2014-11-05 20:37:00 +01:00
Robin Ward e79c1c23d9 Show CSV groups on user profile 2014-11-05 14:05:16 -05:00
Robin Ward 068d22e9b3 Add API support for querying admin reports by date range 2014-11-05 13:11:37 -05:00
Robin Ward fde5e739c9 Work in progress (up till about?) 2014-11-05 12:39:25 -05:00
Robin Ward acfd99ebf2 FIX: Use proper HTML for spinner rather than handlebars 2014-11-05 12:04:35 -05:00
Robin Ward ea0c6df839 FIX: Only look for `fa-` at the beginning of the field. Allows urls with
that combination in it. Thanks @riking
2014-11-05 11:52:22 -05:00
Régis Hanol d22b668393 Merge pull request #2946 from awesomerobot/master
trying out a new css-only loading spinner
2014-11-05 17:44:33 +01:00
Kris Aubuchon 59e0c1b9cd trying out a new css-only loading spinner 2014-11-05 10:08:20 -05:00
Régis Hanol 568033f623 FIX: escape topic status' title 2014-11-05 12:09:22 +01:00
Jeff Atwood 73a1d168e3 remove profile button from user card 2014-11-04 15:04:08 -08:00
Robin Ward 6a424cf469 UX: Make the user card badge image larger. If present, make text have a
smaller width to accomodate the larger image.
2014-11-04 16:30:46 -05:00
Robin Ward a78048f3fb FIX: Filter user button shouldn't appear on card when there is already a filter
active.
2014-11-04 16:12:42 -05:00
Robin Ward c9eb809dad FIX: The text to users who signed up when approval was required was
misleading.
2014-11-04 15:48:03 -05:00
Sam cc9b040502 Revert "FEATURE: display github profile links on user card and profile"
This reverts commit 95c518329a.
2014-11-05 07:45:35 +11:00
Robin Ward e8a750e27a FIX: Missing dates on user card 2014-11-04 15:22:55 -05:00
Robin Ward 74e2b8f674 FIX: User card @mentions looked pretty bad 2014-11-04 14:25:35 -05:00
Robin Ward 9161b8529f Broken tests, let's try popping in/out now to see how that works. 2014-11-04 13:46:35 -05:00
Robin Ward d4d282e919 UX: Let's try a fade in when the user card is shown 2014-11-04 13:26:33 -05:00
Robin Ward e96630c6f4 FIX: Malformed user card HTML 2014-11-04 13:13:45 -05:00
Robin Ward ac25a24b40 Missing i18n key 2014-11-04 13:08:32 -05:00
Robin Ward 9196642221 UX: Add title to user card image, shrink to avoid bleeding into text. 2014-11-04 13:01:41 -05:00
Robin Ward 7a8811882e UX: Remove icons, add black/white colors to attributes in user card 2014-11-04 12:53:02 -05:00
Kris Aubuchon 03c3221ea8 quick fix on collapsed user profile controls 2014-11-04 10:57:30 -05:00
Sam 8432acf0af Merge pull request #2938 from riking/include_raw
Add ?include_raw parameter to topic views
2014-11-04 14:26:35 +11:00
Sam 95c518329a FEATURE: display github profile links on user card and profile
Can be disabled by unchecking "public_github_screen_name"
2014-11-04 13:33:58 +11:00
Sam e14e2b8158 remove custom groups, they are not needed 2014-11-04 13:33:26 +11:00
Régis Hanol 862c8a19a3 FEATURE: use img's title attribute in overlay information when provided 2014-11-03 22:03:06 +01:00
Régis Hanol 2c7b47fc40 fix the build 2014-11-03 20:42:13 +01:00
Régis Hanol bdb78ce76a FEATURE: consider SVG as an image when authorized 2014-11-03 19:54:10 +01:00
Robin Ward bab4f48eeb FIX: Trim the profile text in the user card even if it has multiple lines. 2014-11-03 11:59:56 -05:00
Régis Hanol fd5677808c SPEC: make sure digest doesn't pick any topics in categories that are muted 2014-11-03 16:57:50 +01:00
Régis Hanol a7fa1b33e5 Merge pull request #2936 from vairix-dfernandez/master
Feature: Extended user stats in user export csv
2014-11-03 16:47:40 +01:00
Kris Aubuchon 6ab7bfee14 fixing ban display on usercard and IE11 issue with user page controls 2014-11-03 10:16:10 -05:00
Daniel Fernández 61ff64d011 Resfactor: improve syntax extended user stats in user export csv 2014-11-03 13:04:51 -02:00
Régis Hanol b09ad87098 FIX: add 'show emails' button from moderators in user admin section 2014-11-03 12:46:08 +01:00
Sam 4d82a571fb FIX: restrict the size of small tags (when nested) 2014-11-03 11:23:18 +11:00
Jeff Atwood 4e3a8b87e3 mobile user profile page tweak 2014-11-01 21:44:56 -07:00
Jeff Atwood 6f391052dc mobile user profile page tweak 2014-11-01 21:30:37 -07:00
Jeff Atwood a54e33cd6b FIX: mobile date was pushed offscreen, w/ h-scroll 2014-11-01 21:21:21 -07:00
Kris Aubuchon 1f4e2d0fd6 adding last post/joined to usercard 2014-11-01 23:03:52 -04:00
riking 6a946712b3 Add ?include_raw parameter to topic views 2014-11-01 14:32:18 -07:00
Sam 9d43e0ae0c FIX: regression, ESC is not captured correctly 2014-11-01 18:31:16 +11:00
Robin Ward 811b8f3281 FIX: On mobile you couldn't click on a post avatar 2014-10-31 17:34:45 -04:00
Jeff Atwood 0408960b74 tweak time field on user page stream 2014-10-31 12:26:46 -07:00
Jeff Atwood 28bd46d816 clean up user page mobile styles 2014-10-31 12:21:55 -07:00
Jeff Atwood e822108d85 tighten up mobile search spacing 2014-10-31 12:12:25 -07:00
Jeff Atwood f179c8a6fb make search help fit on mobile 2014-10-31 12:07:09 -07:00
Jeff Atwood b732e9b1bb tighten up expansion left gutter 2014-10-31 11:46:31 -07:00
Daniel Fernández 757cea05a4 Feature: Extended user stats in user export csv 2014-10-31 15:21:43 -02:00
Sam 11eff54ead Merge pull request #2934 from awesomerobot/master
some small usercard fixes, more to come!
2014-10-31 16:29:10 +11:00
vagrant cbaa8893ce few small usercard fixes, more to come! 2014-10-31 00:46:27 -04:00
Sam c3767dff6a FEATURE: stop watching for new suggested topics 2014-10-31 15:19:40 +11:00
Sam bd78fca121 Merge pull request #2908 from cpradio/pr-dismiss-posts-topics-on-category
FEATURE: Show dismiss posts/topics buttons on category filtered lists
2014-10-31 11:34:53 +11:00
Sam 2251877332 FIX: "Dismiss Posts" corrupting read state
REFACTOR: seen_post_count was a bad name, renamed to highest_seen_post_number
2014-10-31 09:40:35 +11:00
Robin Ward b5e9e9d6bd FIX: Enable word wrap for `pre` tags in embedded discourse on iOS 2014-10-30 16:14:40 -04:00
Robin Ward e66c53a4a7 Add /badges to robots.txt for now, we don't have a crawlable view so
it's better to exclude it.
2014-10-30 14:32:42 -04:00
Robin Ward 572842721d FIX: Better page titles for SEO 2014-10-30 14:26:56 -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
Robin Ward 316f1bea04 SECURITY: Don't allow redirects with periods in case you don't control
other tlds on the same domain.
2014-10-30 11:31:44 -04:00
cpradio 50f7fbc361 Apply comment from @sam to consolidate logic 2014-10-30 10:19:49 -04:00
Sam 59cc2476a1 Merge pull request #2933 from techAPJ/patch-1
trivial update to allow api endpoint for sync_sso
2014-10-30 21:39:54 +11:00
Arpit Jalan fb750af659 trivial update to allow api endpoint for sync_sso 2014-10-30 15:30:44 +05:30
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
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
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 2c989f3eb3 FIX: ActiveRecord error when calling `find` for the topic list key. 2014-10-15 15:29:45 -04:00
Régis Hanol bb59798066 FEATURE: ensure consistency of post revisions 2014-10-15 21:09:08 +02:00
Robin Ward a967d4dfba FIX: Support popState on static 404 page 2014-10-15 14:42:18 -04: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
Neil Lalonde 4762b4ac24 FIX: on completion of external auth, window.close may fail because of iOS Safari bug. Prompt user to manually close the window. 2014-10-15 11:00:34 -04: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
Jeff Atwood 053e3fca20 improve 'try again' mobile network error page 2014-10-11 23:36:37 -07:00
Jeff Atwood a23884fd53 FIX: mobile, multi-line first post actions blocked topic map 2014-10-11 23:25:38 -07:00
Jeff Atwood 68b456a57d remove unnecessary spinner styles for mobile 2014-10-11 23:19:04 -07:00
Jeff Atwood 67b543754a edit preview got unhidden on mobile, hide it again 2014-10-11 23:04:55 -07:00
Jeff Atwood c8ab29fa31 get rid of bad editor media queries in mobile.scss 2014-10-11 15:38:32 -07:00
Godfrey Chan 7ddf1df3e0 FIX: honor `email_token_grace_period_hours` setting correctly
The documentation said that the unit for this setting is in *hours*, but the
code is treating it as *seconds*. Also, `Numeric#ago` has been deprecated since
Rails 4.1 (precisely to help prevent these kind of bugs) and will go away in
Rails 4.2.
2014-10-11 15:02:15 -07:00
Martin Meyerhoff 97b60e6422 Fix buggy autocomplete behaviour for non-US keyboards
This change moves the code for actually entering data from the keydown handler to the
keypress handler, which can reliably catch the character entered (rather than
the key pressed).

This is my second attempt at
https://meta.discourse.org/t/typing-shows-on-non-us-keyboard-layouts/20449
without doing dangerous refactoring.

This does not fix the issue reported in
https://meta.discourse.org/t/overly-aggresive-emoji-autocomplete/20691/7
as that is a different bug.
2014-10-11 17:55:48 +02:00
Jeff Atwood b736fb7016 hacky override of inline select2 width in editor 2014-10-11 05:49:18 -07:00
Jeff Atwood 98c8c48f6c add better mobile inline title edit styles 2014-10-11 05:41:10 -07:00
Jeff Atwood 8156518aa6 oops 2014-10-11 05:32:40 -07:00
Jeff Atwood ab83fbff89 few more mobile editor tweaks 2014-10-11 05:29:50 -07:00
Jeff Atwood bf5ef3aec3 minor mobile editor tweaks 2014-10-11 05:08:25 -07:00
Jeff Atwood 5dbf707cb3 min-width of 1280px for editor on mobile??
OH HELLllll TO THE NO
2014-10-11 04:37:30 -07:00