Commit Graph

11350 Commits

Author SHA1 Message Date
Robin Ward
664f1913c8
FIX: Don't include hidden posts in embedded comments 2016-05-03 15:01:20 -04:00
Robin Ward
2cc6efba8c
FIX: Featuring topics wasn't happy with concurrency. 2016-05-03 14:24:50 -04:00
Arpit Jalan
26964a72ca FIX: editing user title was deleting location 2016-05-03 22:25:43 +05:30
Régis Hanol
ad15049ef0 FIX: don't track clicks on links in quotes 2016-05-03 18:47:01 +02:00
Arpit Jalan
c069488560 FIX: moderator_action posts should be suppressed from digests 2016-05-03 16:43:21 +05:30
Arpit Jalan
706ea28ef9 FIX: prepend 'continue discussion' link to topic template 2016-05-03 15:01:02 +05:30
Régis Hanol
8e611ec7a1 FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
cpradio
b7b5caa50e FEATURE: Apply external window setting to Revision History (#4207) 2016-05-02 14:48:34 -04:00
Arpit Jalan
acfb540952 FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
Robin Ward
cf7b08d034
FIX: Middle clicking on search should open it in a new tab 2016-05-02 11:50:40 -04:00
cpradio
5c583ff5bb FEATURE: Extend clicking tracking to the user profile page. (#4203)
* Extend clicking tracking to the user profile page.
Added qunit tests
Fixed click-track-test so it uses the correct data attribute for topic_id in its fixture

* Added a second excerpt to verify test pulls from the appropriate one.
2016-05-02 11:43:58 -04:00
Régis Hanol
e2928f78d2 FIX: don't show top links from private categories in user summary 2016-05-02 15:26:23 +02:00
Sam
4141cfc716 FIX: tags show page was broken 2016-05-02 12:56:02 +10:00
Sam
a5b0445e02 FIX: never perform searches that bypass validation
we must perform another isValidSearchTerm check when we are about to
perform search cause the call is debounced
2016-05-02 11:53:47 +10:00
Sam
ad2a3ec5bc FIX: don't log user action if no user exists for topic 2016-05-02 11:14:37 +10:00
Arpit Jalan
b1d6e2307f FIX: do not track mailto links 2016-04-30 15:40:19 +05:30
Robin Ward
1a3b63e07d
createWithMixins is deprecated. 2016-04-29 16:50:52 -04:00
Robin Ward
a50edb87ec
FIX: Some notifications were not clearing properly. 2016-04-29 16:42:04 -04:00
Robin Ward
1ac6dd194d
Allow the href setting to be a function. 2016-04-29 13:27:17 -04:00
Robin Ward
2cf4107a67
FIX: Safari icon positioning 2016-04-29 11:44:11 -04:00
Arpit Jalan
a544990f81 FIX: users on ie/safari were unable to disable mailing list mode 2016-04-29 15:17:53 +05:30
Arpit Jalan
0adaa8d362 FIX: topic list scrolling was broken on mobile 2016-04-29 11:42:01 +05:30
Robin Ward
6451eb7637
.@each on leafs is deprecated in favor of .[] 2016-04-28 16:49:24 -04:00
Robin Ward
400c061046
Ember.keys is deprected in favor of Object.keys 2016-04-28 16:37:20 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations. 2016-04-28 16:17:18 -04:00
Robin Ward
04ec679d82
Fixes some deprecations:
- LoadMore as a Mixin for discovery, groups
- Removed Views for discovery, groups
2016-04-28 15:25:45 -04:00
Arpit Jalan
2a2b0d7803 FIX: do not raise error if tertiary color not found while sending digests 2016-04-28 22:03:28 +05:30
Robin Ward
d89fb6e83e
Better warning message if defaultState is used improperly 2016-04-27 15:06:55 -04:00
Robin Ward
55ba81494f
FIX: Allow 👍 and 👎 to work even though not in emoji.json 2016-04-27 14:56:23 -04:00
Robin Ward
1c90b8dd76
FIX: Search menu would sometimes forget the context 2016-04-27 13:53:51 -04:00
Robin Ward
02f771e66e
Add a widget setting for the home logo url 2016-04-27 13:16:51 -04:00
Robin Ward
43bbc425e8
FIX: Support for extra admin links in the hamburger 2016-04-27 13:02:52 -04:00
Neil Lalonde
e5918c7d00 FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
Arpit Jalan
7151c16c79 FEATURE: create permalink when category slug is changed 2016-04-27 17:34:03 +05:30
Guo Xiang Tan
8df69dba83
UX: Always show button to mark notifications as read. 2016-04-27 13:57:10 +08:00
Robin Ward
9fdea6cd46
FIX: Broken similar topics 2016-04-26 17:54:52 -04:00
Robin Ward
905068cf23
FIX: Santized HTML entities on group page 2016-04-26 14:24:36 -04:00
Robin Ward
b34f55d880
FIX: Missing alt tag on user notifications 2016-04-26 13:29:46 -04:00
Robin Ward
821103cad5
FIX: Middle clicking on user notifications 2016-04-26 13:19:22 -04:00
Robin Ward
33b192ba61
FIX: Middle clicking on the logo in Firefox 2016-04-26 13:17:09 -04:00
Arpit Jalan
74b3807f60 FEATURE: new bootstrap mode settings for brand new Discourse community (#4193)
* FEATURE: new bootstrap mode settings for brand new Discourse community

* new SiteSetting.set_and_log method
2016-04-26 13:08:19 -04:00
shaktikatare1989
6c5548c2e4 Fix: Replacing custom gif image results in old gif appearing in admin… (#4199)
* Fix: Replacing custom gif image results in old gif appearing in admin page

* refactor as per the review comment
2016-04-26 11:23:21 -04:00
Nick Ivanter
d59106cb15 FIX: duplicate subfolder prefix in links in digest (#4179)
In subfolder installs, the subfolder prefix was getting duplicated in topic and category links in the digest. E.g. http://example.com/forum/forum/t/...
2016-04-26 11:18:34 -04:00
Jeff Atwood
69f1ea027d this style didn't cascade as I expected 2016-04-25 21:36:39 -07:00
Jeff Atwood
9a08bb15d4 Merge pull request #4174 from NickIvanter/digest-log-alt-tag
Add 'alt' tag to logo img in digest email
2016-04-25 16:16:50 -07:00
Robin Ward
6fb46fe217
UX: Notification was in the wrong place. 2016-04-25 17:52:38 -04:00
Robin Ward
7ab5d44c7c
Remove unused component 2016-04-25 17:52:37 -04:00
Robin Ward
208cf41e6c
FIX: Handle null flag values 2016-04-25 17:52:37 -04:00
Régis Hanol
2194ccec6e slightly better automatic flag reason messages 2016-04-25 23:03:17 +02:00
Robin Ward
7a079f6de5
FIX: Add a vdom key to the logo to avoid weird resizing 2016-04-25 15:23:05 -04:00
Robin Ward
87efa0eddd
FIX: Support HTML entities in topic titles 2016-04-25 14:08:47 -04:00
Robin Ward
6978171f46
FIX: Missing topic status icons in header 2016-04-25 13:47:57 -04:00
Robin Ward
8bad3c0eb5
FIX: Cmd/Shift clicking links in the header was broken 2016-04-25 13:35:30 -04:00
Robin Ward
16c44971d9
FIX: Close menus when clicking on notifications 2016-04-25 12:50:55 -04:00
Robin Ward
dc014ac4aa
FIX: Topic title wasn't updating when navigating between topics 2016-04-25 12:31:39 -04:00
Régis Hanol
c7ba5a0d9d FIX: global pin should also be limited to dates in the future 2016-04-25 17:50:32 +02:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
Arpit Jalan
b473cd10a6 UX: remove top border from onebox body on mobile 2016-04-25 08:34:07 +05:30
Sam
0b6d12f95d FIX: when no notification state exists on topic, mute on unsubscribe 2016-04-25 11:24:52 +10:00
Sam
7ee11b0508 more logging, add referer 2016-04-25 10:48:36 +10:00
Jeff Atwood
bb10697c50 make clickable alert info use dark blue on blue 2016-04-24 15:24:21 -07:00
Régis Hanol
56adc01081 fix last-seen date position in digest preview 2016-04-21 21:00:28 +02:00
Régis Hanol
ded03a1aa4 ensure pikaday respects our color scheme 2016-04-21 20:56:12 +02:00
Arpit Jalan
ee7ef46b9e FEATURE: support filter options for PM report 2016-04-21 14:52:41 +05:30
Arpit Jalan
89a7a90208 UX: do not show filter controls for PM admin reports 2016-04-21 13:49:30 +05:30
Guo Xiang Tan
a556d9ad4e
FIX: Expiry should be 3 times polling interval. 2016-04-21 15:04:03 +08:00
Guo Xiang Tan
b4e0c5afe0
FIX: Fetch stats if it has not been cached. 2016-04-21 14:50:25 +08:00
Arpit Jalan
e7d1fa8120 Merge pull request #4186 from shaktikatare1989/suspention-details-in-log
Fix: Suspensions and Blocks do not give enough details in logs
2016-04-21 09:00:36 +05:30
Régis Hanol
27695c74c2 remove unused file 2016-04-20 23:43:23 +02:00
Régis Hanol
c117a48e93 add rel=nofollow in Top Links in User Summary for untrusted users 2016-04-20 23:43:13 +02:00
Régis Hanol
2016e1cda1 UX: show topics where the top links are extracted from in user summary 2016-04-20 22:58:30 +02:00
Robin Ward
850f5c3472
FIX: This DecoratorHelper didn't have a container reference 2016-04-20 16:23:53 -04:00
Régis Hanol
4960b62110 FEATURE: new 'block_auto_generated_emails' site setting 2016-04-20 21:29:27 +02:00
Neil Lalonde
0548523e8b FIX: password reset UI shares state on all profile pages and stops working after first use 2016-04-20 14:51:46 -04:00
Robin Ward
c423ce6333
Allow auth providers to provide custom urls 2016-04-20 13:19:59 -04:00
Régis Hanol
180c972b58 FIX: also apply decorators to embedded posts 2016-04-20 17:25:32 +02:00
Rafael dos Santos Silva
bbe642070e App Banner Support for Android Chrome (#4103)
* App Banner Support for Android Chrome

* Oops, forgot semicolon;
2016-04-20 10:54:01 -04:00
Robin Ward
7996ae50d8
FIX: Group topics should link to the actual post 2016-04-20 10:50:50 -04:00
shakti katare
cd4c34204d Fix: Suspensions and Blocks do not give enough details in logs 2016-04-20 10:45:19 +05:30
Régis Hanol
51b0b5f2f8 Merge pull request #4182 from NickIvanter/fix-best-post
FIX: make sure the best post is not the worst
2016-04-19 18:48:15 +02:00
Régis Hanol
7ab521758f FIX: don't show links in PM in user summary 2016-04-19 18:15:53 +02:00
Arpit Jalan
125d9b5d2e Revert "UX: bigger title font on local oneboxed topic"
This reverts commit e492ed64ec.
2016-04-19 21:40:50 +05:30
Nick Ivanter
bc6862d82d FIX: make sure the best post is not the worst
By default Postgres returns NULLs first when sorting in a descending order. As a result, best_post() would often actually return the "worst" post of the topic. And it was then included in digest emails in "popular posts".
2016-04-19 17:44:36 +03:00
Robin Ward
4cdd1e2e24
Adds a body class for static routes 2016-04-19 10:27:11 -04:00
David McClure
08298036e3 FIX: layout for location and website on user card when bio not displayed. 2016-04-18 20:59:54 -07:00
Arpit Jalan
374657d9d5 FIX: Cancelling a title change does not revert the value 2016-04-19 09:00:41 +05:30
Régis Hanol
7d9f2265b9 FIX: improve support for handling emails coming from screened email addresses 2016-04-18 23:01:54 +02:00
Régis Hanol
de9136a8f2 FIX: bypass TL0-specific validations on posts in a PM 2016-04-18 22:08:42 +02:00
Régis Hanol
163a3e195f break-word in user's summary <li>s 2016-04-18 18:07:14 +02:00
Régis Hanol
270ab5b71d FIX: 'most_liked_by_users' wasn't sorting users properly 2016-04-18 18:03:33 +02:00
James Kiesel
c0138c0277 Remove gunk from post stream serializer mixin (#4176) 2016-04-18 11:55:23 -04:00
Régis Hanol
868e70e817 FIX: ensure we only ever enqueue 1 UpdateGravatar job 2016-04-18 12:44:09 +02:00
Guo Xiang Tan
256d7a00e9 Update sprockets. (#4167)
* Update sass-rails.

* FIX: Tilt dependency has been removed from Ember::Handlebars::Template.

* Update `DiscourseIIFE` to new Sprockets API.

* `Rails.application.assets` returns `nil` in production.

* Move sprockets-rails out of the assets group.

* Pin ember-rails to 0.18.5 which works with Sprockets 3.x.

* Update sprockets to 3.6.0.

* Make `DiscourseSassCompiler` work with Sprockets 3.

* Use `Sass::Rails::SassImporterGlobbing` instead of haxxing our own.

* Moneky patch so that we don't add dependencies for our custom css.

* FIX: Missing class.

* Upgrade ember-handlebars-template.

* FIX: require path needs to share the same root as the folder's path.

* Bump discourse-qunit-rails.

* Update ember-template-compiler.js to 1.12.2.

* `prepend` is private in Ruby 2.0.0.
2016-04-18 10:47:52 +08:00
Guo Xiang Tan
c5e0b74321
UX: Increase contrast for mentions on dark theme. 2016-04-18 10:27:08 +08:00
Guo Xiang Tan
7af0e0006f
UX: Mentions are not styled on mobile. 2016-04-18 10:26:43 +08:00
Guo Xiang Tan
3af5ab8c2c
UX: Dark theme tweaks for edit history. 2016-04-18 10:01:10 +08:00
Guo Xiang Tan
9f264d2477
UX: Dark theme tweaks for Ember.Select. 2016-04-18 09:36:33 +08:00
Arpit Jalan
507c4ff777 FEATURE: show invite button on PM footer 2016-04-17 18:30:35 +05:30
Régis Hanol
3a641033cb UX: fix top links & most liked by sections on mobile 2016-04-17 13:19:06 +02:00
Régis Hanol
7ad55554dd UX: put the heart icon to the left in the user summary 2016-04-17 12:49:58 +02:00
Régis Hanol
ae4dd6e679 FIX: user summary's "most liked by" query 2016-04-17 12:21:27 +02:00
Guo Xiang Tan
2db42e970d FIX: Autocomplete retriggering when term is blank on keyup. 2016-04-16 23:53:24 +08:00
Arpit Jalan
272747f2b9 FIX: imgur album title onebox was large on mobile 2016-04-16 15:09:42 +05:30
Nick Ivanter
c0d81a298e Add 'alt' tag to logo img in digest email
The rationale for this is that the logo, as any other image, is not loaded by default by many email clients. In absence of an 'alt' tag, it shows an empty space in the email. Having the site title in there seems better.
2016-04-15 22:03:12 +03:00
Régis Hanol
fd93fff39b update pikaday.js to latest and replace date inputs with pikadays 2016-04-15 17:58:32 +02:00
Arpit Jalan
e492ed64ec UX: bigger title font on local oneboxed topic 2016-04-15 18:12:21 +05:30
Sam
9e50f36c50 Merge pull request #4137 from cpradio/add-warning-to-flag
FEATURE: Add warning input to flag dialog when notifying a user
2016-04-15 16:23:22 +10:00
Sam
0119a2f980 FIX: only ever send users 1 email per post
in the past ninja editing a post to add a mention could trigger duplicate
emails to a user (and a few other edge cases)
2016-04-15 15:59:01 +10:00
Sam
a1d65ae8f6 UX: show topic title in email logs 2016-04-15 10:38:02 +10:00
Régis Hanol
0db0f83787 FIX: remove double <hr> in email notifications 2016-04-14 20:23:52 +02:00
Robin Ward
a26bd2c549
FIX: If the user can't be found to award a badge, skip them 2016-04-14 11:52:26 -04:00
Robin Ward
976056bc41
FIX: Ignore problems cooking 2016-04-14 11:40:23 -04:00
Neil Lalonde
5422649ba7 Merge pull request #4145 from tgxworld/better_error_handling_of_email_polling
FEATURE: Add POP3 timeout error only after 3 failures in a row.
2016-04-14 11:35:07 -04:00
Dean Taylor
5cd0ce0019 FEATURE: User admin - filter groups as you type (#4171)
* FEATURE: User admin - filter groups as you type

* Fix use of undefined parameter
2016-04-14 10:40:09 -04:00
Guo Xiang Tan
4419d50780
Fix build. 2016-04-14 17:22:26 +08:00
Régis Hanol
379bfac36d Merge pull request #4010 from riking/patch-sitelinks
FEATURE: Add /search discovery
2016-04-14 10:35:13 +02:00
Sam
6360c410fe correct linting 2016-04-14 16:30:04 +10:00
Sam
4bc860652b FEATURE: add graph support to admin reports
thanks to graph js, this runs latest beta cause we needed support for
smarter X axis legend
2016-04-14 15:46:01 +10:00
Guo Xiang Tan
f95cefd09a FEATURE: Add POP3 timeout error only after 3 failures in a row. 2016-04-14 08:55:19 +08:00
Jeff Atwood
46487f095e Merge pull request #4170 from mcwumbly/user-card-link-color
Use consistent link color for website name
2016-04-13 17:30:46 -07:00
Régis Hanol
e808f7f41e User Summary improvements
Added "Top Links" list
Added "Most Liked By" list

Added "Bookmark count" stat

UX: Use fa heart icon instead of "like" text in stats

Change the order of the user stats
2016-04-13 23:02:51 +02:00
Robin Ward
95854a94c9
FIX: When viewing a summary, if a post jumps to the bottom cancel it. 2016-04-13 15:58:54 -04:00
Robin Ward
332bf311c7 FIX: Only search when the value changes, not key press 2016-04-13 15:16:37 -04:00
Robin Ward
e91379916b
FIX: Provide the ability to reduce cooked content
This allows us to strip polls from the group posts page.
2016-04-13 13:25:18 -04:00
Régis Hanol
8fcd359e2a Revert "FIX: Jobs.cancel_scheduled_job wasn't working anymore due to our move to using multiple queues"
This reverts commit b7c16991f7.
2016-04-13 18:30:25 +02:00
Régis Hanol
b7c16991f7 FIX: Jobs.cancel_scheduled_job wasn't working anymore due to our move to using multiple queues
FIX: Don't queue more than 1 'update_gravatar' job per user
2016-04-13 18:12:28 +02:00
Neil Lalonde
b782a01148 add server_plugin_outlet topic_list_header 2016-04-13 11:49:43 -04:00
Régis Hanol
4d9c81fde7 Merge pull request #4148 from tgxworld/dont_reply_to_emails_that_are_autogenerated
FIX: Don't send rejection mailer to bounced emails.
2016-04-13 15:36:14 +02:00
David McClure
2d8c8e26ea Use consistent link color for website name 2016-04-12 23:13:51 -07:00
Arpit Jalan
51d194cc21 FIX: show invited by username when inviting to topic 2016-04-13 11:38:29 +05:30
Sam
8ba57c0ffd FIX: restrict moderators from creating/editing topics in readonly categories
In the past moderators had blanket access to all categories they were allowed
to see. This tightens down the restriction.
2016-04-13 15:59:38 +10:00
Guo Xiang Tan
4ceb04517f Bump grant emoji job back to default queue. 2016-04-13 08:18:37 +08:00
Robin Ward
fa369bcc3e
Add onceoff job to backfill oneboxes 2016-04-12 15:31:22 -04:00
Robin Ward
f4672a9e05
Instead of a Distributed Mutex, use a Redis SETNX guard 2016-04-12 15:31:21 -04:00
Robin Ward
fd2b8dd12f
FIX: Edge case. Don't show "Others with this badge" when just you 2016-04-12 15:31:19 -04:00
Robin Ward
0396b14b70
FEATURE: New "First Onebox" badge 2016-04-12 15:31:14 -04:00
David McClure
c30784394f Feature: Show location and website on user card. (#4157) 2016-04-12 12:59:49 -04:00
Robin Ward
5518141ad5
Option for verbose logging when API calls to create posts fail 2016-04-12 12:10:48 -04:00
Sam
eda6084d4b FIX: don't allow concurrently queued once off jobs to do work 2016-04-12 23:08:10 +10:00
Sam
72849e65de FIX: when granting old badges that are bronze, do not notify 2016-04-12 22:08:38 +10:00
Sam
144bf07886 PERF: improve performance of emoji grants 2016-04-12 22:07:55 +10:00
Guo Xiang Tan
983d64fd56 PERF: N+1 query on badges index. 2016-04-12 17:45:02 +08:00
Guo Xiang Tan
ad1d14ecbe FIX: Bump GrantEmoji job to low priority queue and reduce batch size. 2016-04-12 17:05:47 +08:00
Arpit Jalan
2aa04611e5 UX: fix user stream topic status on mobile 2016-04-12 14:27:16 +05:30
Arpit Jalan
78e36c3669 UX: align small action post buttons on mobile 2016-04-12 14:11:03 +05:30
Sam
cb6d1632ba FIX: stop suppressing browser search for short closed topics
If a topic is closed (or closed and reopened)
browser search was unconditionally suppressed
2016-04-12 10:48:17 +10:00
Régis Hanol
e4e37fe70c Merge pull request #4163 from frictionel/keyboard-shortcuts2
FIX: position view on `j`+`k` keyboard shortcuts
2016-04-11 23:04:02 +02:00
Régis Hanol
6ee11adf58 FIX: 'Discourse.isInternal' wasn't working with protocol-less URLs 2016-04-11 22:21:39 +02:00
Régis Hanol
7783ba46fc remove /error endpoint 2016-04-11 20:43:24 +02:00
Aeden McGarry
1f57c7a510 Added plugin outlets above post in topic stream and above and below footer (#4104)
* Added new plugin outlets above and below footer

* Added plugin outlet in topic above the user

* Renamed plugin outlet to be better suited to position
2016-04-11 14:15:00 -04:00