Erick Guan
77d00ea7f9
Remove hidden settings' translation ( #5043 )
2017-08-14 12:12:40 +02:00
Robin Ward
f200d52324
Revert "Autoload lib folder to pick up more changes in development mode"
...
This reverts commit 156347ea7a
.
2017-08-13 14:31:13 -04:00
Robin Ward
156347ea7a
Autoload lib folder to pick up more changes in development mode
2017-08-13 14:17:53 -04:00
Joffrey JAFFEUX
482924b161
FEATURE: initial implementation of an ember native select
2017-08-13 14:34:50 +02:00
Régis Hanol
6b13d74868
FIX: ensure we always reload TopicView and TopicList in dev
2017-08-12 04:22:22 +02:00
Jeff Atwood
b900f1b9d5
minor improvements to setup wizard copy
2017-08-10 16:32:56 -07:00
Jeff Atwood
112133736b
soften the auto-hiding PM message a bit
2017-08-10 15:34:32 -07:00
Neil Lalonde
3c538270e4
UX: placeholder text in watched word input field
2017-08-10 11:25:17 -04:00
Neil Lalonde
197944edaa
UX: when staff change their email address, show a message saying an email has been sent to their current address, not their new one
2017-08-09 13:43:01 -04:00
Arpit Jalan
bf2c35aa99
FEATURE: add RSS feed for badge pages
2017-08-09 13:43:49 +05:30
Guo Xiang Tan
a9613163b5
FEATURE: Force user to enter reason when requesting for group membership.
2017-08-09 15:45:28 +09:00
Guo Xiang Tan
2c39743d5d
Introduce multisite tests for better coverage.
2017-08-08 12:58:22 +09:00
Robin Ward
6ecb7cdff4
UX: Support for `none` style of category badge
2017-08-07 12:49:19 -04:00
Guo Xiang Tan
3f24ed2b3e
Can't revert due to incompatibility of new site setting types.
...
Revert "Revert "FEATURE: Site settings defaults per locale""
This reverts commit 439fe8ba24
.
2017-08-07 10:43:09 +09:00
Guo Xiang Tan
439fe8ba24
Revert "FEATURE: Site settings defaults per locale"
...
This reverts commit 468a8fcd20
.
2017-08-07 10:31:50 +09:00
Leo McArdle
a7b7fe335f
FIX: allow an admin to click on blank errors ( #5027 )
...
* FIX: allow an admin to click on blank errors
* i18nlize strings
* what would a rails master do?
2017-08-04 20:04:26 +02:00
Robin Ward
a3ef814245
UX: Show proper HTML for category preview in site settings
2017-08-04 13:56:27 -04:00
Neil Lalonde
d1576298ef
add shadowed_by_global to allow_restore
2017-08-03 15:10:11 -04:00
Guo Xiang Tan
a47e297508
Merge pull request #5019 from tgxworld/more_resiliency_to_readonly_redis
...
Fix Redis command errors when trying to start app with a readonly Redis.
2017-08-03 06:34:36 +09:00
Sam
902be91a5a
FEATURE: CTRL+/ to trigger search even from composer
2017-08-02 16:26:03 -04:00
Sam
f6bc572fb8
FEATURE: option to enable inline oneboxes for all domains
...
Also, change to prefer title over open graph which is often way too sparse
2017-08-02 14:27:31 -04:00
Erick Guan
468a8fcd20
FEATURE: Site settings defaults per locale
...
This change-set allows setting different defaults for different locales.
It also:
- Adds extensive testing around site setting validation
- raises deprecation error if site setting has the default property based on env
- relocated site settings for dev and tests in the initializer
- deprecated client_setting in the site setting's loading process
- ensure it raises when a enum site setting being set
- default_locale is promoted to `required` category.
- fixes incorrect default setting and validation
- fixes ensure type check for site settings
- creates a benchmark for site setting
- sets reasonable defaults for Chinese
2017-08-02 12:24:19 -04:00
Guo Xiang Tan
9bc3038728
Fix Redis command errors when trying to start app with a readonly Redis.
2017-08-02 21:33:56 +09:00
Jeff Atwood
13bb69baca
switch from h4 to bold for invite headers
2017-08-01 16:39:59 -07:00
Robin Ward
173aa69905
Enable compression for SVG files
2017-08-01 17:25:25 -04:00
Neil Lalonde
2feec43bd7
Update translations
2017-08-01 13:11:52 -04:00
Neil Lalonde
fa3c240e8b
Merge pull request #4981 from dmacjam/fix_limited_search_results
...
FIX: limited search results
2017-07-31 20:23:57 -04:00
Régis Hanol
88ba052446
secure default for the 'find_related_post_with_key' site setting
2017-08-01 00:03:04 +02:00
Neil Lalonde
ec85b41078
UX: Move watched words to the Logs section of admin
2017-07-31 17:06:50 -04:00
Neil Lalonde
7c1d7fb423
Merge branch 'master' into fix_limited_search_results
2017-07-31 15:55:31 -04:00
Neil Lalonde
4a5907b116
Merge branch 'master' into search_posts_with_images
2017-07-31 10:44:41 -04:00
Neil Lalonde
d336d9a515
Remove mention of unhandled flags in description of the contact_email setting
2017-07-31 10:08:54 -04:00
Guo Xiang Tan
4620dfe92d
FEATURE: Add group settngs to allow users to leave a group freely.
...
https://meta.discourse.org/t/split-join-leave-freely-setting-on-groups/65565
2017-07-28 15:00:25 +09:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Robin Ward
ad04d188ae
FIX: Precompile errors for wizard tests
2017-07-27 12:08:10 -04:00
Robin Ward
6a8f5d497e
Revert "FIX: We need to precompile the wizard test helper"
...
This reverts commit 39e394de15
.
2017-07-27 11:51:04 -04:00
Robin Ward
39e394de15
FIX: We need to precompile the wizard test helper
2017-07-27 11:42:11 -04:00
Guo Xiang Tan
75374c76b3
UX: Display button to message group on group page.
...
https://meta.discourse.org/t/make-it-easier-to-send-a-message-to-groups/65065
2017-07-27 17:51:25 +09:00
Neil Lalonde
24cb950432
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
2017-07-26 11:01:09 -04:00
Neil Lalonde
ea0e90b2b0
Merge branch 'master' into search_posts_with_images
2017-07-26 10:15:55 -04:00
Guo Xiang Tan
b59dfb86f4
UX: Include group name in email when group is invited to a PM.
...
https://meta.discourse.org/t/xyz-invited-you-to-a-message-but-really-invited-a-group-im-in/65996
2017-07-26 15:51:44 +09:00
Guo Xiang Tan
96267f0845
Merge pull request #4960 from discourse/category-description-error
...
FIX: Explicit error when category description post is bad
2017-07-26 08:54:22 +09:00
Leo McArdle
e4fa6a4c92
add link to /about page in email rejection messages
2017-07-25 11:26:29 +01:00
Régis Hanol
c7c93e7159
FEATURE: new 'strip image metadata' site setting
2017-07-25 11:48:39 +02:00
Guo Xiang Tan
1b0750d7ef
Merge pull request #4983 from tgxworld/group_owners_can_invite_users_to_groups
...
Group owners can invite users to groups
2017-07-24 16:21:19 +09:00
Jeff Atwood
9e0381396f
adjust markdown for account required message
2017-07-23 12:49:39 -07:00
Joffrey JAFFEUX
e2e0221dd7
FIX: make sure there are meaningful titles on the picker
2017-07-22 17:32:12 +02:00
Robin Ward
2f8f2aa1dd
FEATURE: Whitelists for inline oneboxing
2017-07-21 15:41:47 -04:00
Jeff Atwood
4c7b725e19
remove quote marks from search term result page
2017-07-21 12:35:30 -07:00
Rafael dos Santos Silva
89ef5d36a9
FIX: Explicit error when category description post is bad
2017-07-21 16:07:29 -03:00
Leo McArdle
407a23663d
FEATURE: send rejection email for unrecognized errors
2017-07-21 18:26:52 +01:00
Guo Xiang Tan
2a17f1ccd7
FIX: Group owners should be able to invite users to their groups.
...
https://meta.discourse.org/t/group-owner-cannot-send-an-invite-to-a-group/60617/12
2017-07-21 23:48:25 +09:00
Joffrey JAFFEUX
c7f2b0fe58
tweaks to copy and styles
2017-07-21 14:19:04 +02:00
Jakub Macina
44bd8f3837
Add info about more results to full-page search frontend.
2017-07-21 09:35:04 +02:00
Sam
e9e97f5bcf
simplify emoji cache rule
2017-07-20 18:22:59 -04:00
Sam
89f34eb62b
attempt to cache all emojis
2017-07-20 17:47:16 -04:00
Robin Ward
3882722195
FEATURE: Inline (Mini) Oneboxing
...
see:
https://meta.discourse.org/t/mini-inline-onebox-support-rfc/66400?source_topic_id=66066
2017-07-20 15:38:04 -04:00
Arpit Jalan
d666b73893
Update translations.
2017-07-20 14:57:02 +05:30
Joffrey JAFFEUX
6de258d4cf
FEATURE: Introduces new emoji-picker
2017-07-19 16:48:23 +02:00
Robin Ward
cdb3706025
Track clicks on topics in search results
2017-07-17 15:42:32 -04:00
Sam Saffron
d0c5205a52
Feature: Change markdown engine to markdown it
...
This commit removes the old evilstreak markdownjs engine.
- Adds specs to WhiteLister and changes it to stop using globals
(Fixes large memory leak)
- Fixes edge cases around bbcode handling
- Removes mdtest which is no longer valid (to be replaced with
CommonMark)
- Updates MiniRacer to correct minor unmanaged memory leak
- Fixes plugin specs
2017-07-17 11:41:34 -04:00
Robin Ward
6b6ad9391b
Clean up job for search logs
2017-07-14 14:30:58 -04:00
Robin Ward
97e211f837
FEATURE: Log Search Queries
2017-07-14 14:30:58 -04:00
Neil Lalonde
3ebd8838af
FEATURE: cross-domain tracking for Google universal analytics
2017-07-13 15:21:44 -04:00
Robin Ward
7fb62bdab4
Enable logging behind ENV var for test mode
2017-07-13 11:38:17 -04:00
Robin Ward
95b9ea1222
Makes tests run slightly faster.
...
see:
https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
2017-07-13 11:35:24 -04:00
Sam
79a084dd58
Revert "remove old markdown engine work-in-progress"
...
This reverts commit ee470b5317
.
2017-07-12 18:10:51 -04:00
Sam Saffron
ee470b5317
remove old markdown engine work-in-progress
2017-07-12 17:44:40 -04:00
Arpit Jalan
76981605fa
FIX: don't raise error when inviting existing user to private topic via email
...
https://meta.discourse.org/t/inviting-existing-user-to-a-private-topic-message-via-email-shows-error-message/65994
2017-07-12 21:51:21 +05:30
Jeff Atwood
5be9bee230
safe to default to read only off during backups
2017-07-12 04:52:17 -07:00
Jeff Atwood
f585f2cca5
switch to H4 for invite body title copy
2017-07-11 15:05:07 -07:00
Jeff Atwood
9e91d137e3
switch to h4 for invite body title copy
2017-07-11 15:04:04 -07:00
Guo Xiang Tan
f529cb1674
Remove validation for invalid interpolation keys.
...
* Our codebase currently supports custom interpolations keys that are
not present in the original translation. The proper fix should
be to make `TranslateOverride` aware of such keys.
2017-07-11 11:12:11 +09:00
Sam
d29a0eeedf
allow global shadow for new markdown engine
2017-07-10 12:22:15 -04:00
Régis Hanol
c66b9dcdbd
add 'us-east-2' S3 region
2017-07-10 15:36:38 +02:00
Guo Xiang Tan
2255724637
UX: Add validator for `SiteSetting#sso_overrides_email`.
2017-07-10 10:08:55 +09:00
Robin Ward
f1a6449e4b
SECURITY: Remove disposable invite feature
2017-07-07 20:24:39 -04:00
Arpit Jalan
5b67cd1937
Merge pull request #4956 from techAPJ/pm-recipients
...
FEATURE: new site setting to limit message recipients
2017-07-06 22:57:33 +05:30
Arpit Jalan
7cffbc8ba8
FEATURE: new site setting to limit message recipients
...
New site setting `max_allowed_message_recipients` to limit message
recipients
https://meta.discourse.org/t/one-of-my-users-just-group-messaged-100-other-user-with-a-spam-offer/65612/7?u=techapj
2017-07-06 22:52:49 +05:30
Robin Ward
4f66083121
Allow version_checks to be shadowed by global
2017-07-06 10:41:53 -04:00
Joffrey JAFFEUX
6fd44b1efd
FIX: s/google_blob/google_classic
2017-07-06 09:05:15 +02:00
Arpit Jalan
25d70ec900
Update Translations
2017-07-05 11:35:35 +05:30
Joffrey JAFFEUX
a71c75367e
FEATURE: emoji generation now use emoji-db
...
- unicode 10
- emoji 5.0
- support for google_blob and facebook_messenger sets
2017-07-04 14:08:47 +02:00
Sam
845170bd6b
FEATURE: add support for group visibility level
...
There are 4 visibility levels
- public (default)
- members only
- staff
- owners
Note, admins and group owners ALWAYS have visibility to groups
Migration treated old "non public" as "members only"
2017-07-03 15:26:57 -04:00
Robin Ward
0ba39109a0
FIX: Make `omit_default_port` the global default
2017-06-30 12:43:26 -04:00
Matt Palmer
c3ca281ea7
Merge pull request #4943 from mpalmer/log-http-host
...
Include HTTP Host header in nginx logs
2017-06-30 15:16:53 +10:00
Arpit Jalan
e7b9b1312e
FEATURE: remove all invites
...
https://meta.discourse.org/t/remove-all-invitations-button-for-the-admin-panel/65207
2017-06-29 22:30:10 +05:30
Sam
fbb5600c8e
expose enable_experimental_markdown_it
...
expose the site setting that enables the CommonMark engine
2017-06-28 16:51:49 -04:00
Rafael dos Santos Silva
97b6d8664b
FIX: Move Referrer Policy header to right location
2017-06-28 14:39:54 -03:00
Rafael dos Santos Silva
095a131163
FEATURE: Add default Referrer Policy header
2017-06-28 02:25:41 -03:00
Matt Palmer
90d654c46c
Include HTTP Host header in nginx logs
...
This is crucial in multisite installations, because otherwise the nginx logs
are fairly useless, however it can also be quite handy to know what
hostnames are being sent to your site. The variable is quoted, because it
is untrusted input (it is taken directly from the HTTP request), but nginx
helpfully escapes the quoting character automagically, so we don't have to
worry about that.
For now, the log analysis plugin *recognises* the new log format
(and continues to recognise the previous format, for backwards
compatibility), but doesn't do anything with the new log entry field. This
means your multisite performance plugin data is still broken, but it's no
worse than it was before.
2017-06-28 14:41:02 +10:00
Sam
4c5109ff5b
FEATURE: site setting for Markdown typographer
...
It ships anyway with markdown.it so we might as well expose it
2017-06-27 16:50:13 -04:00
Sam
e2f57a154b
FIX: blockquote button implementation
...
Previously clicking on blockquote in the middle of sentence
would result in incorrect formatting
2017-06-27 13:32:20 -04:00
Guo Xiang Tan
117d5f1b6a
FIX: `/u.json` should return 404 instead of 500.
2017-06-27 10:11:48 +09:00
Sam
e6cc07fc43
FEATURE: twitter is the new default emoji set
2017-06-26 16:51:55 -04:00
Neil Lalonde
febfe27669
Update translations
2017-06-26 14:56:22 -04:00
Robin Ward
4f27259e27
UX: Make the edit wiki button more prominent
2017-06-26 14:34:59 -04:00
Neil Lalonde
eee00b5bb5
UX: include a link to change email preferences at the bottom of summary emails as an alternative to unsubscribing
2017-06-26 12:27:22 -04:00
Sam
234694b50f
Feature: CommonMark support
...
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it
As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.
This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
Régis Hanol
66920cfafd
Merge pull request #4938 from LeoMcA/ses-fix
...
FEATURE: setting to only use the key when finding the related post of…
2017-06-22 16:15:57 +02:00
Régis Hanol
94a0d43f31
add 'ico' and 'webp' to image extensions list in order to bypass rails
2017-06-22 12:55:27 +02:00
Guo Xiang Tan
47ca0f7f09
FIX: Foward requests to `/u/new` to our Ember router.
2017-06-21 13:06:28 +09:00
Sam
492eed70ab
correct with brackets
2017-06-20 15:53:14 -04:00
Sam
9f8388c2eb
FIX: start filesystem watcher when running under rails s
2017-06-20 15:44:01 -04:00
Leo McArdle
5e0efb3410
FEATURE: setting to only use the key when finding the related post of an email reply
...
this fixes email-in threading problems when using a SMTP server which modifies the message_id
header, like Amazon SES
2017-06-19 12:22:44 +01:00
Arpit Jalan
ee1f3a4b25
UX: make font size consistent on password reset modal
2017-06-19 16:09:29 +05:30
Arpit Jalan
e6b7458b54
remove trailing dot in help text
2017-06-19 15:49:51 +05:30
Jeff Atwood
1c688c9eae
copyedit on login help text
2017-06-19 03:08:20 -07:00
Arpit Jalan
74e6717b40
FEATURE: offer help on forgot password modal
2017-06-19 14:05:45 +05:30
Guo Xiang Tan
7ea288140d
Allow multiple host when restricting Sidekiq queues.
2017-06-19 14:45:51 +09:00
Guo Xiang Tan
a23ce56682
Update translations.
2017-06-19 12:39:30 +09:00
Arpit Jalan
77e886ec90
UX: move optional to the description text for the password field
2017-06-16 15:32:15 +05:30
Guo Xiang Tan
b5ec241716
FIX: Validate interpolation keys used in translation overrides.
...
https://meta.discourse.org/t/discobot-translation-missing-error/64429/6?u=tgxworld
2017-06-16 08:54:48 +09:00
Neil Lalonde
b98a930364
Merge pull request #4896 from dmacjam/multiple-tags-logical-and-search
...
FEATURE: Advanced search supports logical AND of multiple tags
2017-06-14 14:39:23 -04:00
Robin Ward
009f0921dc
FEATURE: Whitelist hosts for internal crawling
2017-06-13 12:59:54 -04:00
Guo Xiang Tan
a5d3abc9b6
FIX: Create group membership request on behalf of user.
2017-06-13 17:49:21 +09:00
Guo Xiang Tan
c5caa9cf71
Revert "FIX: Disable request membership button if user does not have sufficient trust level."
...
This reverts commit 5f441a2614
.
2017-06-13 17:49:21 +09:00
Régis Hanol
54e8fb0d89
FEATURE: new 'allow_staff_to_upload_any_file_in_pm' site setting
2017-06-12 22:41:29 +02:00
Arpit Jalan
4112c2b883
Update translations
2017-06-12 21:24:40 +05:30
Arpit Jalan
b9c94aa234
FEATURE: add required user fields to invite accept form
...
UX: make "accept invitation" page consistent with sign up modal
2017-06-12 20:43:07 +05:30
Arpit Jalan
70927d57ec
FIX: wrong reset password link for zh_CN locale
2017-06-12 11:39:09 +05:30
Arpit Jalan
6e37f09b19
UX: add email to '/email/unsubscribed' page
2017-06-10 09:51:12 +05:30
Jeff Atwood
5ff986129a
copyedit to unsubscribe email
2017-06-09 00:27:24 -07:00
Arpit Jalan
1c0bbcd580
UX: show user email when unsubscribing
2017-06-09 09:20:24 +05:30
Jay Pfaffman
0da8bdca73
Update development.rb
2017-06-08 13:07:51 -07:00
Régis Hanol
a88a970315
Merge pull request #4911 from jomaxro/patch-1
...
Fix pluralization for theme out-of-date notice
2017-06-08 14:00:14 +02:00
jomaxro
a813062e78
Fix typo in post merge confirmation
2017-06-08 00:19:31 -04:00
jomaxro
8c46bc140a
Fix pluralization for theme out-of-date notice
2017-06-08 00:17:47 -04:00
Robin Ward
17a3eddb9f
FIX: Invalid path for new user of the month badge with subfolders
2017-06-07 12:54:30 -04:00
Arpit Jalan
d326784ecf
Update translations
2017-06-07 20:13:54 +05:30
Guo Xiang Tan
2cad739262
FIX: Better error message when username change fails.
...
https://meta.discourse.org/t/500-error-on-username-edit/64064
2017-06-07 10:45:53 +09:00
Jakub Macina
8f7d81fde6
Add rspec test for searching posts with images.
2017-06-06 14:39:53 +02:00
Guo Xiang Tan
87e77267fa
Add ENV variable to specify path to write unicorn's pid.
2017-06-06 11:46:01 +09:00
Jakub Macina
23d67d2100
Add includes image choice to advanced search ui.
2017-06-05 18:00:15 +02:00
Barry van Oudtshoorn
6841ad9c83
Clarify category tag settings text
...
https://meta.discourse.org/t/change-to-category-tag-settings-text/63926
This change eliminates the ambiguity in the previous copy, which suggested that the setting prevented the tags from being used in other categories, rather than the actual behaviour of constraining what can be used in the edited category.
2017-06-05 09:43:22 +08:00
Guo Xiang Tan
ac6c1acbed
FIX: Groups that do not have any owners should not allow membership requests.
2017-06-05 10:02:37 +09:00
Arpit Jalan
a1ebd67237
Revert "FEATURE: new setting to prioritize open topics in search"
2017-06-03 01:54:35 +05:30
Arpit Jalan
b8a87a0996
FEATURE: new setting to prioritize open topics in search
2017-06-03 00:33:53 +05:30
Guo Xiang Tan
5f441a2614
FIX: Disable request membership button if user does not have sufficient trust level.
2017-06-02 16:06:25 +09:00
Jeff Atwood
5b0e8d3b0b
copyedit on download button
2017-06-01 19:51:30 -07:00
Jeff Atwood
9fd35e6d6a
minor copyedit on site assets topic
2017-06-01 15:57:44 -07:00
Sam
e050308f36
FIX: don't allow moderators to save category tracking settings
2017-06-01 15:26:05 -04:00
jomaxro
2711cca9d4
Fix typo in transifex instructions
2017-05-31 23:17:31 -04:00
Arpit Jalan
304090f759
Update translations
2017-05-31 22:36:20 +05:30
Sam
607998af33
FEATURE: dropdown to filter staff action logs
2017-05-30 11:25:42 -04:00
Jakub Macina
2927b45ff2
Add checkbox to contain all tags in advanced search and change separators according its state.
2017-05-29 19:12:07 +02:00
Arpit Jalan
d2c2139da8
FEATURE: require name when accepting invite if 'full name required' setting is enabled
2017-05-29 21:46:43 +05:30
Arpit Jalan
266acbcc6c
Update Translations
2017-05-29 12:23:49 +05:30
Robin Ward
81c18fc0bd
UX: Add link to the user's preferences page next to the avatar
2017-05-26 15:00:49 -04:00
Sam
076f079d17
bootsnap upgrade
...
see: https://github.com/Shopify/bootsnap/pull/43#issuecomment-304281474
2017-05-26 09:37:18 -04:00