Commit Graph

6926 Commits

Author SHA1 Message Date
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
Neil Lalonde
361aca1156 merge master 2014-11-06 15:26:38 -05: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
013e3312ad SECURITY: Don't allow redirects with periods in case you don't control
other tlds on the same domain.
2014-10-30 11:32:26 -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
38e0c6645e FIX: prevent iframe in expended quote 2014-10-28 23:18:08 +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