Commit graph

10921 commits

Author SHA1 Message Date
Robin Ward
5fcd5002c4 FIX: Saving a user field as required didn't work the first time 2016-03-09 15:34:48 -05: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
Philipp Wolfer
f2899b9437 Highlight.js: Adapt CSS to new CSS class reference
See http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
2016-03-09 08:58:53 +01:00
Jeff Atwood
a28816e9d8 UX: default h1 is just way too big 2016-03-08 16:29:05 -08:00
Neil Lalonde
091e7ef3ca FIX: when a post is edited by someone other than the original author and a mention is added, the mention notification is from the person who edited 2016-03-08 15:26:12 -05:00
Robin Ward
5771d2aee2 SECURITY: Support for confirm old as well as new email accounts 2016-03-08 14:52:22 -05:00
Robin Ward
d62689fa76 Move updating a user's email to its own controller 2016-03-08 14:52:22 -05:00
Régis Hanol
031146a821 FIX: ensure email in address insn't used it both Groups & Categories 2016-03-08 20:52:04 +01: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
Arpit Jalan
dde91a54dc SECURITY: strip HTML tags in topic title in email digest 2016-03-08 20:24:24 +05:30
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
Marcus Rückert
320d5d64e8 Use sRGB Color Profile when converting images
With the conversion done when uploading or fetching an image we also
lose any embedded color profiles. [This leads to images possibly not rendered
properly in the browsers.][1] To fix the issue we tell imagemagick to render
the image from the embedded color profile to sRGB, which is the color
space used by most browsers.

RT_sRGB.icm is taken from the [RawTherapee repository][2] and is licensed as Public Domain.

[1]: https://meta.discourse.org/t/image-embedded-color-profile/40519
[2]: https://github.com/Beep6581/RawTherapee/blob/master/rtdata/iccprofiles/output/RT_sRGB.icm
2016-03-07 23:42:33 +01:00
Régis Hanol
74e4251aff FIX: collapse 'replied', 'quoted' and 'posted' to the same notification 2016-03-07 21:56:33 +01:00
Neil Lalonde
df413737d2 FIX: render About page for web crawlers 2016-03-07 15:28:11 -05:00
Régis Hanol
d7bc340310 FIX: Emoji.clear_cached wasn't deleting the right caches 2016-03-07 19:47:40 +01: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
bc4087b9bb FIX: RSS description might be nil. 2016-03-07 17:42:17 +08:00
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
726b34ea78 Merge pull request #4058 from scossar/validate-user-locale
FIX: validate user locale for email notifications
2016-03-07 14:11:12 +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
3e018c2588 FIX: rate limit do/undo on post actions 2016-03-06 09:51:30 +11:00
Sam
332e05b73d omit likes if notify likes is set to never 2016-03-06 09:21:38 +11:00
Sam
af577a5854 FEATURE: like notification frequency of never 2016-03-06 09:12:59 +11:00
Sam Saffron
a656a672a1 FIX: Don't limit the count of badges to 96 2016-03-05 10:57:32 +11:00
Régis Hanol
05f0db0a20 FIX: don't use destroy_all when delete_all is enough 2016-03-05 00:41:22 +01:00
James Kiesel
54b4fb69db FEATURE: Add site setting for disabling mailing list mode site wide 2016-03-05 11:08:31 +13:00
scossar
2d8b10d139 validate user locale 2016-03-04 13:21:30 -08: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
Arpit Jalan
b2b7342d53 UX: Mobile specific style for Admin IP Lookup box 2016-03-04 22:33:47 +05:30
Sam Saffron
7598037080 Only pull in gem if it is being used, remove middleware 2016-03-04 23:17:14 +11: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
Régis Hanol
06ec563883 Merge pull request #4004 from scossar/email-notifications-in-preferred-locale
Feature: (WIP) Send email notifications in user's preferred language
2016-03-04 09:13:20 +01:00
Régis Hanol
1135d2094a Merge pull request #4006 from scossar/set-locale-from-header
Feature: (WIP) Set locale from Accept-Language header
2016-03-04 09:12:30 +01:00
scossar
a20a52b25f add user locale 2016-03-03 17:21:50 -08: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
Régis Hanol
f3c868e7bb run the BackupChunksMerger job in 5 seconds 2016-03-03 12:01:13 +01:00
Sam
5a6c34fb8a regression, unable to edit posts 2016-03-03 16:00:14 +11:00
Guo Xiang Tan
9d24a00f2e Merge pull request #4055 from tgxworld/fix_topic_view_not_working_in_redis_readonly
FIX: Topic view not working when Redis is readonly.
2016-03-03 08:48:31 +08:00
Guo Xiang Tan
5f8e20aa1d FIX: Topic view not working when Redis is readonly. 2016-03-03 08:26:45 +08: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
Arpit Jalan
50e65634d7 FEATURE: new setting min_admin_password_length and better default 2016-03-02 14:43:26 +05:30
Sam Saffron
c15c483931 PERF: stop rebuilding full directory item table on refresh 2016-03-02 18:23:29 +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
Arpit Jalan
8349669f8e streamline topic_invite locale 2016-03-02 00:39:17 +05:30
Robin Ward
fff119a554 FIX: Regression with categories when replying as linked topic 2016-03-01 14:08:39 -05:00
Robin Ward
618eef680e FEATURE: Disable removal of backups from S3 2016-03-01 14:02:10 -05:00
Arpit Jalan
41a0f9b7fd UX: better error message when inviting user to a topic 2016-03-02 00:30:31 +05:30
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
Régis Hanol
be5a54d67d FEATURE: new 'allow_all_attachments_for_group_messages' site setting 2016-02-29 22:39:24 +01:00
Robin Ward
d538bcbe40 FIX: Don't cloak videos once they begin playing 2016-02-29 13:56:54 -05:00
Arpit Jalan
01e1bb53f1 FEATURE: add RSS feed for top topics 2016-02-29 23:46:36 +05:30
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
Arpit Jalan
43e3182a79 add IP address in backup log 2016-02-28 08:44:27 +05:30
Arpit Jalan
8f62a0caa8 FEATURE: log backup operation 2016-02-27 23:33:18 +05:30
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
610954ecce Merge pull request #4035 from tgxworld/dont_return_500_when_plugin_is_disabled
Return 404 instead 500 when plugin is disabled.
2016-02-27 16:55:50 +11:00
Sam
e8d4935a2c Merge pull request #4039 from tgxworld/follow_redirects_when_downloading_favicon
FIX: Follow redirects when downloading favicons.
2016-02-27 16:40:00 +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
Régis Hanol
21b51090bf FIX: don't tell staged users they can visit topics in email notifications 2016-02-26 23:56:56 +01: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
scossar
0a396583ed set locale for anonymous from header
set locale on signup

update spec

add locale option
2016-02-26 13:45:00 -08: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
Jeff Atwood
0af4d7cc20 read-state dot can't overflow, shift left 2016-02-25 23:39:39 -08: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
Robin Ward
9d38685a70 Merge pull request #4040 from sammyd/embedding_username
FIX: Enable post username to be specified in embedded comments
2016-02-25 11:56:10 -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
Sam Davies
b2f4659792 Pass discourse username to TopicRetriever from embed controller
When you specify `discourse_username` param on the embed URL, it should
translate to creating the post with that username.

This commit ensures that this is now the case.
2016-02-25 13:02:25 +00:00
Jeff Atwood
a01b2a48d5 FIX: mobile lacked 404 page styles 2016-02-25 00:21:20 -08:00
Guo Xiang Tan
62011a252f FIX: Follow redirects when downloading favicons. 2016-02-25 11:50:34 +08:00
Guo Xiang Tan
e8de80de98 FIX: Default to first page when page params is an array. 2016-02-25 11:32:58 +08:00
Ubuntu
5c603bf8ec Added Instagram login method 2016-02-25 12:13:59 +10:00
Jeff Atwood
15ce3b2f49 minor banner X close position adjustment 2016-02-24 16:46:28 -08: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
Régis Hanol
0a84275800 missed a couple of newlines in the logs 2016-02-24 23:35:45 +01:00
Robin Ward
cc5ca90ac6 Cloak posts as they scroll off the screen for memory reasons 2016-02-24 17:15:25 -05:00
Sam
4c93a411f4 Merge pull request #4037 from joebuhlig/add-topic-status-event
Add topic status_update change event
2016-02-25 08:32:03 +11:00
Régis Hanol
97c7b894ce better logs when an error happens in SSO 2016-02-24 21:57:01 +01:00
Régis Hanol
f7432d8ec9 FEATURE: add support for multiple incoming emails for groups & categories 2016-02-24 19:47:58 +01: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
Joe Buhlig
770d38d025 Add topic status_update change event 2016-02-24 08:59:06 -06:00
Guo Xiang Tan
e7cfbfeabb FIX: Array#first with block will return the first element if nothing matches. 2016-02-24 22:34:40 +08:00
Jeff Atwood
f259d7a7b9 Merge pull request #4034 from techAPJ/404
show monthly top topics on 404 page
2016-02-24 01:10:50 -08:00
Guo Xiang Tan
a3fa80847e Return 404 instead 500 when plugin is disabled. 2016-02-24 17:09:30 +08:00
Régis Hanol
6e090c5bd1 Merge pull request #4033 from tgxworld/fix_job_exception
FIX: Topic and Post may be `nil`.
2016-02-24 10:08:31 +01:00
Guo Xiang Tan
f89e9024ba FIX: Topic and Post may be nil. 2016-02-24 16:27:28 +08:00
Arpit Jalan
d77511319e show monthly top topics on 404 page 2016-02-24 13:46:55 +05:30
Sam Saffron
12b5821d79 add missing class 2016-02-24 19:09:18 +11:00
Sam
833af461ab FIX: stop using regex to detect mentions 2016-02-24 17:47:55 +11: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
Sam
3c072cdfc9 Merge branch 'master' of github.com:discourse/discourse 2016-02-24 13:53:43 +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
Arpit Jalan
9de5c340b0 FIX: invite link should not auto-accept invitation if user is already logged in 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
Robin Ward
5dd81700f1 FIX: Overflow CSS was hiding selecting posts buttons 2016-02-22 22:07:23 -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