Commit graph

6072 commits

Author SHA1 Message Date
Robin Ward
54445f21c1 FIX: .js files can't use ES6 syntax 2016-03-18 12:53:48 -04:00
Neil Lalonde
a4a01d4122 FIX: admin javascript bundle was broken 2016-03-18 12:03:14 -04:00
Robin Ward
91e2a60369 Merge pull request #4092 from gdpelican/vdom-helptext
DOCS: Add additional help for how to use 'h' helper with virtual DOM
2016-03-18 11:40:39 -04:00
Robin Ward
c975a6dc00 Merge pull request #4093 from angusmcleod/feature/move-autosize-lib
Move autosize from admin/lib to discourse/lib
2016-03-18 11:39:12 -04:00
Robin Ward
5d4ee2ca1d FEATURE: Warn a user when they have few likes remaining 2016-03-18 11:30:29 -04:00
Angus McLeod
99d93264b7 Move autosize from admin/lib to discourse/lib 2016-03-18 09:48:57 -04:00
James Kiesel
f595ba336a DOCS: Add additional help for how to use 'h' helper with virtual DOM 2016-03-18 22:11:30 +13:00
Arpit Jalan
be3a5a56cc UX: show accurate date and time on admin user page 2016-03-18 13:11:22 +05:30
Sam
37ccfbdb2a Revert "FIX: vertical centering of header, using display: table"
This reverts commit 1b4e0f3300.
2016-03-18 14:29:39 +11:00
Neil Lalonde
1b4e0f3300 FIX: vertical centering of header, using display: table 2016-03-17 17:36:20 -04:00
Neil Lalonde
213950e4cf FEATURE: add option to include topics from trust level 0 users in digest emails 2016-03-17 17:35:23 -04:00
Arpit Jalan
577f0e9e4e FEATURE: add user profile public fields plugin putlet 2016-03-17 21:59:57 +05:30
Régis Hanol
fb6bd10d4c Merge pull request #4081 from tomasibarrab/master
FIX: Length for hashtags, increased to 101 characters.
2016-03-15 19:19:18 +01:00
Robin Ward
32c5342e1d Remove commented out line 2016-03-15 12:52:07 -04:00
Robin Ward
243c5a74ce FIX: Topic entrance wasn't showing on mobile. Tidied up some stuff. 2016-03-15 12:16:02 -04:00
tomasibarrab
15429370da Fix length for hashtags, increased to 101 characters. 2016-03-15 02:35:29 -07:00
Neil Lalonde
d0b9b22648 FIX: delete spammer button was never shown in flag modal 2016-03-14 15:45:19 -04:00
Robin Ward
f46ced6fc2 FIX: missing semi colon 2016-03-14 14:52:40 -04:00
Arpit Jalan
ff12b5bf57 FIX: newly created categories were not showing up 2016-03-14 23:17:02 +05:30
Robin Ward
7e97724341 FIX: On mobile jumping to replies was not working 2016-03-14 13:26:30 -04:00
Robin Ward
4b7046efa4 Remove unused commented out code 2016-03-14 13:26:30 -04:00
Robin Ward
1ba65765e4 Merge pull request #4073 from adrapereira/ap_fixSidebarLinkCount
Fix: Link count on the topic sidebar
2016-03-14 12:32:20 -04:00
Andre Pereira
3e3aa91934 Refactor to use a single piece of logic 2016-03-14 12:27:31 +00:00
Andre Pereira
da4c96fad2 Fixes scope problem. 2016-03-13 14:37:15 +00:00
Andre Pereira
e7a4900baf Removed use of ES6 Set. 2016-03-13 14:31:03 +00:00
Andre Pereira
129cc92ec9 Fixes the link count on the sidebar by only counting unique titles. 2016-03-13 13:54:03 +00:00
Robin Ward
2cd6649ba0 FIX: Was leaking tagName across plugin outlets 2016-03-11 16:32:28 -05:00
Robin Ward
1006b1ba94 Various Plugin Enhancements and Extension Points 2016-03-11 15:53:37 -05:00
Arpit Jalan
01f2f05f2d Merge pull request #4070 from techAPJ/revert-post
FEATURE: revert post to a specific revision
2016-03-11 23:00:13 +05:30
Arpit Jalan
eb6a17f587 UX: show emoji in topic title on groups page 2016-03-11 13:36:31 +05:30
Arpit Jalan
89248580dc FEATURE: revert post to a specific revision 2016-03-11 02:46:55 +05:30
Robin Ward
d8127a1590 UX: Add icons to mobile Topic Controls drop down 2016-03-10 12:20:58 -05:00
Robin Ward
5bfc9cdf50 FIX: Top map is actually expanded when there is a summary 2016-03-10 10:59:53 -05:00
Sam Saffron
dd65e78431 only trim leading spaces for italic and bold 2016-03-10 23:54:33 +11:00
Sam Saffron
7be90a885c FIX: bolding text when selection has a leading space 2016-03-10 22:43:48 +11:00
Sam Saffron
f3efe657fa FEATURE: Automatically add http:// when adding links without them via composer 2016-03-10 18:25:02 +11:00
Sam Saffron
0f29269de8 lang-auto not being treated correctly after update 2016-03-10 16:44:24 +11:00
Sam
f590036525 zero width joiner for emojis so no space is added when converting 2016-03-10 08:58:19 +11:00
Robin Ward
360a794335 Merge pull request #4060 from JSFernandes/mandatory_user_fields
Force users to select an option in required custom user dropdown fields
2016-03-09 15:25:22 -05:00
Robin Ward
616006a9ce FIX: All unicode replacements beside words. Omit some symbols. 2016-03-09 14:59:36 -05:00
Robin Ward
566b0bbb75 FIX: Broken test 2016-03-09 13:26:06 -05:00
Robin Ward
1009dc9be1 FIX: Topic map should be expanded by default when > 50 posts 2016-03-09 12:12:43 -05:00
Robin Ward
25dc5043e3 FIX: Double reply in stream when inviting to a PM 2016-03-09 11:55:18 -05:00
Régis Hanol
cf140aaaec Merge pull request #4067 from fantasticfears/translation
FIX: Add missing translation in groups page
2016-03-08 15:58:34 +01:00
Sam Saffron
6c1d5b8cd3 FIX: spinning favicon in Firefox
Delay starting up ajax calls in MessageBus
2016-03-08 23:28:38 +11:00
Erick Guan
e9bff2e550 FIX: Add missing translation in groups page 2016-03-08 12:25:46 +01:00
Guo Xiang Tan
ee8be3d1a8 Merge pull request #4059 from gdpelican/feature/disable-mailing-list-mode
FEATURE: Add site setting for disabling mailing list mode site wide
2016-03-08 16:27:09 +08:00
Guo Xiang Tan
db781d3349 FIX: LogsNotice does not have currentUser attribute. 2016-03-08 16:19:42 +08:00
Régis Hanol
622d804d46 FEATURE: Add rejection message on rejected IncomingEmail
FIX: Better RateLimit description in rejected IncomingEmail
FEATURE: Send email when hitting a rate limit
2016-03-07 16:56:17 +01:00
Arpit Jalan
05288144b5 FIX: export user list based on trust level filter 2016-03-07 18:49:31 +05:30
Guo Xiang Tan
eb5cee3150 Make ESlint happy. 2016-03-07 17:41:00 +08:00
Sam
ccf835e342 FEATURE: on iPhone 6 or wider show mobile toolbar by default.
FEATURE: if user enables or disables mobile toolbar, remember state in local storage.
2016-03-07 15:50:10 +11:00
Sam
fe6ea48123 Merge pull request #4038 from markbiegel/instagram-login
FEATURE: Instagram OmniAuth login methods
2016-03-07 14:05:07 +11:00
joao
a225c0fbbb Force users to select an option in required custom user dropdown fields 2016-03-06 21:07:00 +00:00
Sam Saffron
ce040bfa56 FEATURE: upgrade rack-mini-profiler
new version is collapsed so screen does not fill with timings. expands on click
2016-03-06 22:22:45 +11:00
Sam
af577a5854 FEATURE: like notification frequency of never 2016-03-06 09:12:59 +11:00
James Kiesel
54b4fb69db FEATURE: Add site setting for disabling mailing list mode site wide 2016-03-05 11:08:31 +13:00
Robin Ward
0a96829508 FIX: Search aliases but don't add them to the results 2016-03-04 16:08:17 -05:00
Robin Ward
396713718b FEATURE: Adds ~200 more emoji
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Sam Saffron
8b1772ac0f FIX: if user undos like, and relikes notify
FEATURE: roll up likes for notify on all likes
2016-03-04 22:56:27 +11:00
Régis Hanol
71911a4c67 fix build 2016-03-04 10:52:23 +01:00
Arpit Jalan
7ddb7ff429 code optimization 2016-03-04 01:12:41 +05:30
Arpit Jalan
36f82aa68c FEATURE: enforce admin password validation when signing up via developer email 2016-03-04 00:28:47 +05:30
Robin Ward
04990e7c5c PERF: Use widgets to render categories in hamburger menu
Small change results in 1.3x faster on initial render, 1.7x
on subsequent renders.
2016-03-03 13:45:38 -05:00
Neil Lalonde
3b18a5d59d FIX: redirect url after anonymizing a user 2016-03-03 11:59:07 -05:00
Robin Ward
166a056497 FIX: Don't show trash can for user deleted posts 2016-03-03 10:48:04 -05:00
Neil Lalonde
c1aea91d63 FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes. 2016-03-02 15:43:47 -05:00
Robin Ward
0167f6bb57 FIX: Don't substitute emojis within code blocks 2016-03-02 14:32:00 -05:00
Arpit Jalan
bfaa4cdb37 FEATURE: compose a new pre-filled private message to a group via URL 2016-03-03 00:19:06 +05:30
Guo Xiang Tan
f32f0d6337 Merge pull request #4017 from tgxworld/add_admin_banner_for_logster
FEATURE: Admin Banner when Logster logs is getting flooded.
2016-03-02 23:44:56 +08:00
Guo Xiang Tan
fdd6920ae7 FEATURE: Admin Banner when Logster logs is getting flooded. 2016-03-02 22:03:16 +08:00
Sam Saffron
5f4075a6cf FEATURE: users can select how frequently they are notified on likes
- first time
- first time and daily (default)
- always
2016-03-02 23:16:52 +11:00
Sam
280ca372a3 FIX: logout not working 2016-03-02 11:18:32 +11:00
Jeff Atwood
83fda03495 remove modal flag hint, no longer needed 2016-03-01 14:22:36 -08:00
Robin Ward
bff965327c FIX: Use much less aggressive cloaking 2016-03-01 16:50:46 -05:00
Robin Ward
e6b95e56d7 FIX: You shouldn't be able to convert a whisper to a moderator post 2016-03-01 15:30:28 -05:00
Robin Ward
08e43588f6 FIX: Autocomplete wasn't properly updating d-editor 2016-03-01 15:17:17 -05:00
Robin Ward
fff119a554 FIX: Regression with categories when replying as linked topic 2016-03-01 14:08:39 -05:00
Robin Ward
3d5dfab54e FIX: Jump on mobile when cloaking 2016-03-01 12:48:57 -05:00
Guo Xiang Tan
bfea842d32 UX: Better error message when logging out in read only mode. 2016-03-01 17:37:50 +08:00
Guo Xiang Tan
39c3f06379 FIX: j keyboard shortcut skipping first post in topic. 2016-03-01 16:47:47 +08:00
Arpit Jalan
f0653563ee add Vietnamese locale js file 2016-03-01 10:49:50 +05:30
Robin Ward
d538bcbe40 FIX: Don't cloak videos once they begin playing 2016-02-29 13:56:54 -05:00
Robin Ward
ff31403a60 FIX: When cloaked, posts would break jumping to top/bottom 2016-02-29 11:31:30 -05:00
Guo Xiang Tan
3ce4e568f4 UX: Double show double hr when there aren't any notifications. 2016-02-29 12:33:11 +08:00
Sam Saffron
1fde5a1993 Don't return the word cloaked for cloaked post, blank works fine :) 2016-02-27 18:08:41 +11:00
Sam
1f688e966d Merge pull request #4028 from dtchau/fix/more_emoji_autocomplete_issue
FIX: Remove existing characters when a new emoji is selected.
2016-02-27 17:00:05 +11:00
Sam
55753cc3f6 Merge pull request #4043 from joebuhlig/outlet-user-activity-bottom
FEATURE: Added outlet user-activity-bottom
2016-02-27 16:35:43 +11:00
Robin Ward
936c785952 FIX: ESLint 2016-02-26 16:53:56 -05:00
Robin Ward
65d7103bdc FIX: Don't stop youtube videos from playing on cloak 2016-02-26 16:48:41 -05:00
Robin Ward
ef1ff113a3 Don't show user_deleted as red after all 2016-02-26 16:13:25 -05:00
Robin Ward
f887363e83 Keep new lines on quotes 2016-02-26 15:27:34 -05:00
Robin Ward
416e461417 FIX: Subcategories should show pills 2016-02-26 15:18:52 -05:00
Joe Buhlig
155f32fe9b FEATURE: Added outlet user-activity-bottom 2016-02-26 14:00:13 -06:00
Robin Ward
c9cb5a5b79 FIX: GA Universal tracking had a bug 2016-02-26 14:48:36 -05:00
Robin Ward
627ef54efe New PluginAPI for widget settings 2016-02-26 14:26:29 -05:00
Robin Ward
98ab64dc89 FIX: Some re-render functionality in widgets, added more coverage 2016-02-26 14:01:20 -05:00
Robin Ward
c2c4eff08b FIX: Quirky scrolling position with keyboard use 2016-02-26 11:37:37 -05:00
Robin Ward
33aad09672 FIX: Missing inbound / outbound classes 2016-02-25 16:40:53 -05:00
Robin Ward
fa9943c162 FIX: Who liked was not updating
If a like streamed in via the message bus and who liked was expanded,
it was not refreshing properly.
2016-02-25 14:03:35 -05:00
Robin Ward
954ae7a08a FIX: Can't shadow cooked in strict mode (Safari) 2016-02-25 12:05:22 -05:00
Sam Saffron
820a435af8 FEATURE: add "email in-reply-to user option"
We no longer include previous replies as "context", instead
we include and excerpt of the post being replied to at the bottom
of notifications, this information was previously missing.

Users may opt in to emailing previous replies if they wish
or opt out of "in-reply-to" which makes sense in some email clients that
are smarter about displaying a tree of replies.
2016-02-26 00:05:59 +11:00
Ubuntu
5c603bf8ec Added Instagram login method 2016-02-25 12:13:59 +10:00
Sam
802ff3b0d9 UX: hide confusing instructions when email_always is enabled 2016-02-25 11:33:13 +11:00
Robin Ward
6b46092aa2 FIX: Disable cloaking in the test environment 2016-02-24 17:44:01 -05:00
Robin Ward
cc5ca90ac6 Cloak posts as they scroll off the screen for memory reasons 2016-02-24 17:15:25 -05:00
Robin Ward
5c3d14b421 Backwards compatibility for people who use Discourse.PageTracker
Rather than importing it.
2016-02-24 11:06:49 -05:00
Robin Ward
015eb47ea0 Don't pass topic down to the widgets 2016-02-24 10:44:27 -05:00
Sam
bc61cfcad4 correct autocomplete edge case on android
@ backspace @ was not opening an autocomplete
2016-02-24 15:20:12 +11:00
Sam
ee931e9f76 FIX: link to topic when clicking on up arrow 2016-02-24 14:50:14 +11:00
Sam
8322bcf0c3 FIX: switch to desktop not working 2016-02-24 14:21:07 +11:00
Sam
358e027e31 FIX: don't link avatars in "in reply" section of post 2016-02-24 14:17:51 +11:00
Robin Ward
03068e3556 FIX: User deleted posts weren't red 2016-02-23 13:38:51 -05:00
Robin Ward
84a01599c6 Commenting was *too* good :) 2016-02-23 13:37:08 -05:00
Robin Ward
05a0308663 Finish documenting new PluginAPI 2016-02-23 12:44:52 -05:00
Robin Ward
ef079004da Ability to decorate after post cooked, and rawHtml helper 2016-02-23 12:10:25 -05:00
Sam Saffron
27052717a4 Merge branch 'master' into vdom 2016-02-23 17:23:05 +11:00
Sam Saffron
d59c9badbe correct build 2016-02-23 17:22:41 +11:00
Sam Saffron
10aa1923a4 Merge branch 'master' into vdom
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-02-23 17:07:01 +11:00
Sam Saffron
32d3dd22a0 FIX: broken autocomplete on Android
Android Chrome does not support keypress event, instead use keyup
2016-02-23 17:06:15 +11:00
Sam Saffron
d0a86f8032 Merge branch 'master' into vdom 2016-02-23 15:58:46 +11:00
Sam Saffron
6d22354ac3 FIX: cleaner error handling for multiple autocomplete matchers 2016-02-23 15:48:39 +11:00
Robin Ward
200da89355 FIX: Broken tests 2016-02-22 22:11:35 -05:00
Duong Tam Chau
cd84a05600 FIX: Remove existing characters when a new emoji is selected.
When the user choose an emoji from the "More..." option, any previously typed character should be discarded.
2016-02-22 20:24:06 -05:00
Robin Ward
8bfb5b4e7b Backported double click fix 2016-02-22 16:39:43 -05:00
Robin Ward
d4091d579d Remove profiling information for vdom 2016-02-22 16:31:49 -05:00
Robin Ward
6d06979da6 FIX: Arrow in quotes was pointing the wrong way 2016-02-22 16:19:22 -05:00
Robin Ward
acc20c87b2 FIX: Jump to embedded was not working when the post was far away 2016-02-22 15:58:08 -05:00
Robin Ward
026bba1876 Merge branch 'master' into vdom 2016-02-22 15:28:07 -05:00
Robin Ward
fdf0047f56 A helper for cooked content in a decorator 2016-02-22 15:19:56 -05:00
Neil Lalonde
cab5dd09d3 FIX: broken links on admin dashboard in Top Referrers section 2016-02-22 14:31:13 -05:00
Robin Ward
65553d7b70 Allow custom classes for any widget 2016-02-22 14:09:53 -05:00
Robin Ward
54904133a0 Ability to mount ember views into vdom
It's slow but can be used as a last resort for old plugins.
2016-02-22 12:10:34 -05:00
Sam
c404da248a Merge branch 'master' into vdom 2016-02-22 12:20:59 +11:00
Robin Ward
e848ea5a99 Depcreate PageTracker in favor of PluginAPI 2016-02-19 16:30:59 -05:00
Robin Ward
9b0b213ba2 FIX: Less safe API for icons 2016-02-19 16:03:26 -05:00
Robin Ward
8b318f76a1 Expose decoration for plugins such as signatures 2016-02-19 14:46:29 -05:00
Robin Ward
f2f49a5e96 Ability to add text to a poster name icon 2016-02-19 14:22:36 -05:00
Neil Lalonde
97130463d6 FEATURE: show a new modal when suspended users try to log in 2016-02-19 12:19:20 -05:00
Guo Xiang Tan
4858187b0e UX: Don't display span if there is no count. 2016-02-19 15:55:43 +08:00
Guo Xiang Tan
5e329898f6 UX: Don't display span if there is no count. 2016-02-19 15:33:07 +08:00
Sam
ecca7b69bb Merge branch 'master' into vdom 2016-02-19 18:28:57 +11:00
Sam
665a87a32f UX: revert full page search focus on magnifying glass click 2016-02-19 18:28:36 +11:00
Guo Xiang Tan
7a261e5e4f UX: Hide close mobile navigation on click. 2016-02-19 15:22:41 +08:00
Sam
29c2423daf Merge branch 'master' into vdom
# Conflicts:
#	app/assets/javascripts/discourse/views/post.js.es6
2016-02-19 14:09:31 +11:00
Sam
ab06f86fbe FEATURE: allow users to control how many previous replies they get
- always means we always send previous replies with every email
- never means we do not
- "unless previously sent" ... is the default, in which we only email you each reply once

The default_email_previous_replies site setting can control this toggle
2016-02-19 13:57:07 +11:00
Robin Ward
e277b24671 Support for multiple emojis at once 2016-02-18 17:10:27 -05:00
Robin Ward
4d599612a2 Support for emoji poster icons 2016-02-18 17:03:18 -05:00
Robin Ward
6935925f10 Update Polls plugin to work with new Plugin API 2016-02-18 15:23:43 -05:00
Robin Ward
f6aa1ac37a Migrate onToolbarCreate to the DiscourseAPI 2016-02-18 15:23:43 -05:00