Commit Graph

3775 Commits

Author SHA1 Message Date
Régis Hanol a1f56183ca FIX: don't put the footer inside a container (allow for full width footers) 2014-11-11 11:37:59 +01:00
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 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
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
Robin Ward e79c1c23d9 Show CSV groups on user profile 2014-11-05 14:05:16 -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
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
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 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 b09ad87098 FIX: add 'show emails' button from moderators in user admin section 2014-11-03 12:46:08 +01:00
Kris Aubuchon 1f4e2d0fd6 adding last post/joined to usercard 2014-11-01 23:03:52 -04:00
Sam 9d43e0ae0c FIX: regression, ESC is not captured correctly 2014-11-01 18:31:16 +11: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
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
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 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
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
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
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
Jeff Atwood d501f003ca fix up /about on mobile 2014-10-21 01:09:54 -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
Arpit Jalan 42714d7d25 Hide google search when the instance is private 2014-10-20 16:50:42 +05:30
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
Sam 742c5e29c9 FEATURE: advanced search help 2014-10-18 14:27:33 +11:00
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
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
Robin Ward 569874c2b6 UX: Added help text below profile images 2014-10-17 11:26:30 -04: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
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
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
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