Commit Graph

11164 Commits

Author SHA1 Message Date
Guo Xiang Tan 4e7e4cee7d PERF: Rendering crawler's template is expensive. 2016-04-07 16:28:31 +02:00
Guo Xiang Tan 5734c7f3f3 FIX: Don't send rejection mailer to bounced emails. 2016-04-07 22:21:17 +08:00
Sam d6ed9848a9 FIX: clicking on post count not showing date range widget 2016-04-07 16:18:32 +10:00
Guo Xiang Tan fe54ece35e Merge pull request #4114 from tgxworld/better_logging_for_backfilling_badges
FIX: Better logging when badges fail to backfill.
2016-04-07 13:31:50 +08:00
Sam a130cb8305 FEATURE: move more urgent emails notifications to critical queue
Move signup, admin login and password change email notifications
to critical queue
2016-04-07 14:39:01 +10:00
Sam 8ec7fd84fd FEATURE: prioritize sidekiq jobs
This commit introduces 3 queues for sidekiq

"critical" for urgent jobs (weighted at 4x weight)
"default" for standard jobs(weighted at 2x weight)
"low" for less important jobs


"critical jobs"

Reset Password emails has been seperated to its own job
Heartbeat which is required to keep sidekiq running
Test email which needs to return real quick


"low priority jobs"

Notify mailing list
Pull hotlinked images
Update gravatar

"default"

All the rest

Note: for people running sidekiq from command line use

bin/sidekiq -q critical,4 -q default,2 -q low
2016-04-07 12:56:43 +10:00
Régis Hanol a5d8dfb07e FIX: don't hardcode maximum file size 2016-04-06 22:51:28 +02:00
Erick Guan e09634dbae Add plugin outlets for user stream item and topic list item 2016-04-06 15:03:49 -04:00
Steven Slade 0deea4f7d4 add ability to have post-menu in second position 2016-04-06 14:05:52 -04:00
Robin Ward 5866f0df18 Remove UserFirst for mention since it can be retrieved elsewhere 2016-04-06 14:01:37 -04:00
Steven Slade b1d04412db altering topic-map widget's like count to show total topic like count
* altering topic-map widget's like count to display total topic like count rather than the first post's like count

* changing likeCount to topicLikeCount for virtual dom element to show total likes of thread
2016-04-06 12:49:27 -04:00
Régis Hanol 2b9e8e5a7d Merge pull request #4147 from cpradio/default_top_timeframe
FIX: Use default top setting when user is return or enough data exists for Top Page Results
2016-04-06 18:33:56 +02:00
Sam 4f10b5e940 avoid exception for general case 2016-04-06 13:18:11 +10:00
Robin Ward c30d327b77 FEATURE: Two new badges - First Emoji and First Mention 2016-04-05 15:17:41 -04:00
Neil Lalonde 56e47c8d7e FEATURE: report on admin dashboard when favicon is failing to load 2016-04-05 14:42:32 -04:00
cpradio c5bb1d1cfe Return default top setting as part of best_periods_for to see if it can be used 2016-04-05 14:27:18 -04:00
Régis Hanol d402a45781 FIX: hitting '/t/:id/posts.json' should return the first page of posts 2016-04-05 19:12:14 +02:00
Guo Xiang Tan a1add415e5 UX: Quote button covered by youtube info header on mobile. 2016-04-05 16:18:07 +08:00
Arpit Jalan d9371ae631 UX: 'login to reply' button should match 'reply to topic' button 2016-04-05 12:56:27 +05:30
Jeff Atwood 0463187772 darken the gold a bit 2016-04-05 00:05:38 -07:00
Régis Hanol f382897952 FIX: don't extract link with 'mailto' scheme 2016-04-05 00:43:11 +02:00
Régis Hanol b00ea5dc92 fix Group.ensure_consistency! 2016-04-04 23:41:49 +02:00
Neil Lalonde 7899c2d86e Merge pull request #4138 from NickIvanter/internal-links-issue
FIX: internal links in subfolder installs
2016-04-04 15:14:47 -04:00
Régis Hanol 841f36b058 FIX: automatically unstage user when signing in using OAuth 2016-04-04 19:04:10 +02:00
Régis Hanol 79639e2dec FIX: ensure group's users counters are kept in sync 2016-04-04 17:03:18 +02:00
Guo Xiang Tan d677f852c4 UX: Group notification level dropdown not positioned properly. 2016-04-04 22:54:21 +08:00
Régis Hanol e4e74c5fbb UX: use 'number' helper when displaying the number of replies in a topic 2016-04-04 11:42:38 +02:00
Régis Hanol 4ab61dfdad UX: hide new button in automatic group since we can't create automatic group 2016-04-04 11:26:58 +02:00
Régis Hanol d3ee48a316 UX: use clearfix on top-section of the user's sumarry (props to @DeanMarkTaylor) 2016-04-04 11:18:15 +02:00
Arpit Jalan 74e7fc8f7e FIX: edit category button on mobile was showing up for moderators even when allow_moderators_to_create_categories was disabled 2016-04-04 14:05:06 +05:30
Arpit Jalan 0e02d24428 FIX: check for confirm value before removing user from PM 2016-04-04 11:56:07 +05:30
cpradio 95fa340601 Added spec tests 2016-04-03 19:44:14 -04:00
cpradio b4f4cf794b Add warning input to flag dialog
Added isWarning property
pass is_warning along to post_action
Added is_warning to possible arguments to receive from post_actions route
Only show warning checkbox for staff
Only permit the is_warning argument if the user is staff
2016-04-03 18:48:39 -04:00
Nick Ivanter 9ca9fe729a FIX: internal links in subfolder installs
https://meta.discourse.org/t/links-arent-showing-in-the-sidebar-or-topic-summaries-on-subfolder-installs/41787/15
2016-04-04 01:40:44 +03:00
Oskar Rough 9e769e5357 Optically and vertically align the "13 days later" element 2016-04-03 13:30:22 +02:00
Dean Taylor 5cfc83a1a3 FIX: Digest broken anchor tag for blank/SVG logo
Highlighted here:
https://meta.discourse.org/t/svg-image-as-digest-logo-has-limited-support/39935/11?u=deanmarktaylor
2016-04-02 17:45:34 +01:00
Arpit Jalan f9d1a2554d FIX: do not allow SVG image as digest logo 2016-04-02 17:27:06 +05:30
Arpit Jalan 05164d4cae FEATURE: add Google Analytics code to more user pages 2016-04-02 01:29:08 +05:30
Régis Hanol 514d6ede0e FIX: addPosterIcon wasn't working on initial load 2016-04-01 18:25:13 +02:00
Sam bd1ca35f8b FIX: pinned picker in IE11 2016-04-01 05:54:36 +11:00
Arpit Jalan 13fa0f8cf8 FIX: only show regular posts in RSS feed 2016-03-31 21:34:53 +05:30
Arpit Jalan 41208b99a1 FEATURE: RSS feed for user posts and topics 2016-03-31 20:24:05 +05:30
Sam a344b1ed37 Merge pull request #4126 from iamntz/patch-4
Romanian Plurals
2016-03-31 08:17:00 +11:00
Régis Hanol 59d89d5333 UX: words in the stats button should be dark grey 2016-03-30 23:16:22 +02:00
Régis Hanol 0bf001ccd7 FIX: badge grant count wasn't filtered to the current user in the user summary 2016-03-30 23:11:00 +02:00
Régis Hanol 61d61cd410 fix custom badge images on FF 2016-03-30 22:06:17 +02:00
Ionut Staicu 07fb0c4106 Updated ro.js.erb to match romanian plurals 2016-03-30 22:24:33 +03:00
Arpit Jalan 6f0137dec9 FEATURE: disable post editing when the post has active flag 2016-03-30 23:28:49 +05:30
Régis Hanol 2ac38e9d05 show all headers in rejected email details modal 2016-03-30 19:05:42 +02:00
Régis Hanol bf579174c1 UX: improved user summary page 2016-03-30 18:05:16 +02:00
Arpit Jalan edbc7c4db8 UX: add text-overflow to imgur album description 2016-03-30 13:12:28 +05:30
Sam d5b63730bc don't bother with register emoji if dialect is missing 2016-03-30 18:10:14 +11:00
Jeff Atwood 5d13fa1b94 push tracking below topic controls on large mobile 2016-03-30 00:03:54 -07:00
Jeff Atwood 73a0f109e8 correct weird editor borders on mobile 2016-03-29 23:57:44 -07:00
Jeff Atwood d0bf465989 make drop-down icon glyphs grey 2016-03-29 23:44:19 -07:00
Sam 4d71356e52 FIX: quoting a section inside expanded reply misattributed
1. expand "in reply to"
2. select text
3. quote reply

Was incorrectly attributed to parent post
2016-03-30 17:38:28 +11:00
Jeff Atwood 4d5074994c correct mobile badge display 2016-03-29 23:36:54 -07:00
Jeff Atwood cdf6aa4cb4 adjust time gap alignment on mobile 2016-03-29 23:28:20 -07:00
Sam dbd1370ddb FIX: only hide overflow on cooked content
otherwise topic admin menu clips
and you no longer can position stuff absolutely based off .topic-body
2016-03-30 17:01:26 +11:00
Arpit Jalan c13d8176b5 UX: Imgur album width should be dependent on album description 2016-03-30 08:00:22 +05:30
Sam 594dc86c40 oops 2016-03-30 11:44:17 +11:00
Sam fbdd9c0034 FIX: unread and new count not removing deleted topics on the fly
FIX: unread PMs interfering with unread count
2016-03-30 11:18:07 +11:00
Jeff Atwood b7171154da remove ancient font formats from FontAwesome src 2016-03-29 17:02:25 -07:00
Neil Lalonde 3e5f2bd1cf FIX: replace reference to Google_oauth2 with Google during signup 2016-03-29 18:08:55 -04:00
Neil Lalonde 54f8bdd13b FIX: only validate username when changing it 2016-03-29 11:53:21 -04:00
Régis Hanol aec88dc443 FIX: like badges should respect bronze/silver/gold colors 2016-03-29 15:48:46 +02:00
Sam aae835a42f FIX: all badges got revoked due to ensure consistency query 2016-03-29 23:54:18 +11:00
Sam f907b42f0a oops 2016-03-29 19:02:59 +11:00
Sam 95076050f4 FEATURE: warn about mailing list mode if it is checked 2016-03-29 18:50:17 +11:00
Sam ed750cac39 FIX: if badges are disabled badge pages should 404 2016-03-29 17:21:32 +11:00
Sam adbc22530c FIX: don't show badges in summary page if badges disabled 2016-03-29 17:12:15 +11:00
Sam 7ab153dac3 FIX: double XHR request when loading more badges 2016-03-29 16:56:29 +11:00
Sam 418bc4a844 FIX: when ensuring consistency also delete orphan badges 2016-03-29 16:41:03 +11:00
Sam 6bb97dcabb FIX: external hyperlinks broken in badge cards
also, we were allowing nesting of A tags which is not really allowed
2016-03-29 16:21:52 +11:00
Sam 7cd56e616b FIX: strip out links from badge titles 2016-03-29 16:21:52 +11:00
Kane York f2ddd44712 FEATURE: Add /search discovery
The opensearch.xml results in a "site search engine" being added to
Chrome, while the sitelinks search tag results in "Search this website"
being added to Google Search.
2016-03-28 15:07:59 -07:00
Sam c650c2a16f FIX: regression in badge grant admin page 2016-03-29 07:58:45 +11:00
Sam e364eb2aad correct coloring for user nav 2016-03-29 07:53:03 +11:00
Robin Ward b2f402dc04 FIX: Incorrect badge counts when restricted to a username 2016-03-28 15:17:24 -04:00
Sam 68fd1d790b Merge pull request #4119 from techAPJ/badge-fix
FIX: badge display name should be translated from server.en.yml file
2016-03-29 05:43:15 +11:00
Jeff Atwood c53ef51c91 some badge image layout fixes 2016-03-28 11:40:04 -07:00
Arpit Jalan bae836c7c5 FIX: badge display name should be translated from server.en.yml file 2016-03-28 23:59:53 +05:30
Arpit Jalan e29806b9d3 UX: center align exceptions page button on mobile 2016-03-28 22:42:51 +05:30
Sam fe51f84aa7 FEATURE: allow admins to enter badge long descriptions
FIX: fallback to description if badge long description is missing

Also moves all badge localization into server.en, this slims the client down

serializers pass down localized names/descriptions/long descriptions
2016-03-28 18:38:57 +11:00
Jeff Atwood 94f831f7e7 more mobile badge tweaks 2016-03-27 23:39:56 -07:00
Jeff Atwood f9f84620d1 prevent cancel button wrapping on mobile, try 2 2016-03-27 23:21:26 -07:00
Sam 236d8193bd annotate models 2016-03-28 15:21:45 +11:00
Sam 4da9a434fd Merge branch 'master' of github.com:discourse/discourse 2016-03-28 15:16:51 +11:00
Guo Xiang Tan 6d64b6d39f FIX: Query for category hashtag should be case sensitive. 2016-03-28 11:15:10 +08:00
Jeff Atwood c417697091 remove unnecessary mobile onebox border 2016-03-27 09:47:31 -07:00
Jeff Atwood b3a028acc0 remove built-in support for bbcode size 2016-03-27 09:29:27 -07:00
Jeff Atwood 0a05c9ee8d remove unnecessary mobile user page padding 2016-03-26 02:11:22 -07:00
Jeff Atwood 1b4b361841 normalize topic map button color on mobile 2016-03-26 01:51:31 -07:00
Jeff Atwood 04f68f6277 make badges work better on mobile 2016-03-26 01:30:20 -07:00
Jeff Atwood b83861325e tighten submit button spacing on mobile too 2016-03-26 01:18:16 -07:00
Jeff Atwood 4f061ee444 no width on submit-panel helps small phones 2016-03-26 01:16:57 -07:00
Guo Xiang Tan 9a5ded48cf FIX: Return a proper error message when sync sso fails. 2016-03-26 13:30:15 +08:00
Arpit Jalan 4648c0ee19 FIX: description for custom badges were not showing up 2016-03-26 09:47:05 +05:30
Guo Xiang Tan ef6536453b UX: Logs notice close button not positioned properly. 2016-03-26 11:51:11 +08:00
Guo Xiang Tan 8a8d931688 UX: Buttons not positioned within form. 2016-03-26 10:25:33 +08:00
Robin Ward 96b765d1e6 FIX: Broken link 2016-03-25 17:34:09 -04:00
Jeff Atwood b4d3973aa1 add success color to check on badges 2016-03-25 14:03:00 -07:00
Robin Ward d493702a90 FIX: For real this time :'( 2016-03-25 16:29:29 -04:00
Robin Ward 4cca4f2f5b FIX: Typo 2016-03-25 16:20:59 -04:00
Robin Ward 83b79a4e1e UX: Show a user's badges as cards 2016-03-25 16:10:38 -04:00
Arpit Jalan 64feffbb60 FEATURE: site setting for suppressing categories from digest email 2016-03-26 01:06:03 +05:30
Robin Ward 27c793a990 UX: Show badges as cards on the badges index and show page 2016-03-25 15:33:06 -04:00
Arpit Jalan fc9519af52 Merge pull request #4117 from techAPJ/invite-email
UX: user invite email style should be consistent with other user notifications
2016-03-25 23:15:52 +05:30
Robin Ward 207bf1b339 FIX: Broken Javscript test 2016-03-25 12:54:33 -04:00
Robin Ward ba10327cc8 FIX: Minor badge page issues 2016-03-25 12:11:39 -04:00
Robin Ward d7b568f98e REFACTOR: Remove view from badges-show 2016-03-25 12:11:39 -04:00
Robin Ward d129c61a4a FIX: Badge loading more was stuck 2016-03-25 12:11:39 -04:00
Régis Hanol 9e9c81c30b improve error log when timing out while connecting to mail server 2016-03-25 16:44:08 +01:00
Arpit Jalan 17afdc34cc UX: user invite email style should be consistent with other user notifications 2016-03-25 19:28:55 +05:30
Jeff Atwood 92551df979 de-emphasize user page nav a bit from pure black 2016-03-25 00:46:36 -07:00
Jeff Atwood f0c022351d de-line the badge page a bit 2016-03-24 15:47:00 -07:00
Robin Ward d1e1a91cb6 FIX: Large widths, weird button floating on badge view 2016-03-24 17:20:49 -04:00
Jeff Atwood 2c2a043525 unify badge count info 2016-03-24 13:00:10 -07:00
Robin Ward db15772ab1 UX: Make user info rendering more consistent 2016-03-24 13:49:35 -04:00
Arpit Jalan da2f1fda15 FIX: increase read_timeout when downloading avatar 2016-03-24 17:40:03 +05:30
Sam f82b5dbc82 FIX: rare concurrency error when updating timings 2016-03-24 16:02:23 +11:00
Guo Xiang Tan 6f16896a2c FIX: Better logging when badges fail to backfill. 2016-03-24 10:10:53 +08:00
Guo Xiang Tan 621372eb7b FIX: Pluralize logs notice message. 2016-03-24 09:14:20 +08:00
Neil Lalonde fd853e0776 FIX: error when sending a private message to a group in some cases 2016-03-23 16:20:31 -04:00
Arpit Jalan df565da3b3 UX: move wiki button in post wrench 2016-03-24 01:40:54 +05:30
Robin Ward e0347b18da UX: Improve icon positioning on mobile 2016-03-23 14:44:34 -04:00
Robin Ward f0552af5f1 FIX: Don't log validation errors for sso 2016-03-23 14:44:34 -04:00
Régis Hanol 39863953cd new 'enable_staged_users' site setting 2016-03-23 18:56:03 +01:00
Robin Ward 4180e207c3 FIX: Crazy large ids should not raise exceptions 2016-03-23 12:13:47 -04:00
Arpit Jalan bba0393c87 Merge pull request #4105 from manelvf/galician_language
Galician language
2016-03-23 21:19:20 +05:30
Neil Lalonde f36ff3d93b Log as debug instead of warning: Blank post detected 2016-03-23 11:44:55 -04:00
Guo Xiang Tan fa56082f94 FIX: Overlapping quote reply button on Android. 2016-03-23 17:49:34 +08:00
Jeff Atwood 3ae1df63d5 more minor badge page tweaks 2016-03-23 02:32:44 -07:00
Jeff Atwood 96119981ac simplify badge page layout a bit 2016-03-23 02:27:34 -07:00
Sam 1b8010ed71 display long description for badges 2016-03-23 17:34:53 +11:00
Guo Xiang Tan 6dd6bbd509 FIX: Incorrect scope. 2016-03-23 14:30:46 +08:00
Guo Xiang Tan 2862c4e5a3 FIX: Quote reply button was covered by iOS menu. 2016-03-23 13:59:17 +08:00
Sam c095304d6d FEATURE: limit daily emails per user to 100 per day via site setting
- controlled via max_emails_per_day_per_user, 0 to disable
- when limit is reached user is warned
2016-03-23 15:08:48 +11:00
Robin Ward 86d2773d3a FIX: Don't process infinite scrolling while safari hacks are active 2016-03-22 16:36:20 -04:00
Jeff Atwood e8e9ce3a0b Merge pull request #4107 from gdpelican/fix/long-emoji-styles
Fix for long emoji names in autocomplete
2016-03-22 12:53:45 -07:00
James Kiesel 9acaecac4a Fix for long emoji names in autocomplete 2016-03-23 08:10:15 +13:00
Manel Villar ec004fc66a Support for Galician language js bundle added 2016-03-22 16:48:00 +01:00
Robin Ward 717b54d64b Adjust badges to match descriptions cc @coding-horror 2016-03-22 10:51:42 -04:00
Sam a202ec2028 don't run mailing list if mailing list mode is disabled 2016-03-22 14:50:35 +11:00
Sam f9e5c49350 FIX: blue notification instead of green for replies/mentions in PMs 2016-03-22 14:28:14 +11:00
Sam 6bdd5107a6 UX: center align community title text in mobile 2016-03-22 12:44:55 +11:00
Robin Ward b8929b906c FIX: Broken link 2016-03-21 15:16:07 -04:00
Robin Ward d1b9a9370a PERF: Render logo significantly faster 2016-03-21 15:14:31 -04:00
Neil Lalonde 7dd89be741 FIX: text title in header should use header primary colour instead of blue 2016-03-21 14:32:00 -04:00
Robin Ward a9daa33953 Add tests to `home-logo` component 2016-03-21 14:16:33 -04:00