Bianca Nenciu
812d047c60
FIX: Follow open in new tab site setting for bio links ( #11418 )
2020-12-08 10:56:14 +11:00
Joe
5ab6ef9765
FEATURE: Adds back button to theme editor ( #11416 )
2020-12-08 10:54:44 +11:00
dependabot[bot]
70741766cb
DEV: Bump listen from 3.3.1 to 3.3.3 ( #11379 )
...
Bumps [listen](https://github.com/guard/listen ) from 3.3.1 to 3.3.3.
- [Release notes](https://github.com/guard/listen/releases )
- [Commits](https://github.com/guard/listen/compare/v3.3.1...v3.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:53:46 +11:00
dependabot[bot]
b67c7f35d9
DEV: Bump puma from 5.0.4 to 5.1.0 ( #11380 )
...
Bumps [puma](https://github.com/puma/puma ) from 5.0.4 to 5.1.0.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v5.0.4...v5.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:53:18 +11:00
Kris
3ef60686ed
UX: When requiring user fields at signup, also mark default fields as required ( #11356 )
2020-12-07 18:26:31 -05:00
dependabot[bot]
95355eb27b
DEV: Bump mini_scheduler from 0.12.3 to 0.13.0 ( #11381 )
...
Bumps [mini_scheduler](https://github.com/discourse/mini_scheduler ) from 0.12.3 to 0.13.0.
- [Release notes](https://github.com/discourse/mini_scheduler/releases )
- [Changelog](https://github.com/discourse/mini_scheduler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/discourse/mini_scheduler/compare/v0.12.3...v0.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:11:57 +11:00
dependabot[bot]
c6e6f34d83
DEV: Bump rubocop from 1.5.1 to 1.5.2 ( #11414 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:11:31 +11:00
dependabot[bot]
ff0f2009d9
DEV: Bump excon from 0.78.0 to 0.78.1 ( #11415 )
...
Bumps [excon](https://github.com/excon/excon ) from 0.78.0 to 0.78.1.
- [Release notes](https://github.com/excon/excon/releases )
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt )
- [Commits](https://github.com/excon/excon/compare/v0.78.0...v0.78.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:10:15 +11:00
dependabot[bot]
06b2442914
Build(deps): Bump onebox from 2.1.8 to 2.1.9 ( #11423 )
...
Bumps [onebox](https://github.com/discourse/onebox ) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/discourse/onebox/releases )
- [Changelog](https://github.com/discourse/onebox/blob/master/CHANGELOG.md )
- [Commits](https://github.com/discourse/onebox/compare/v2.1.8...v2.1.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 10:09:36 +11:00
Kris
0302de058c
UX: Fix invite checkbox width issue ( #11371 )
2020-12-07 18:08:04 -05:00
Kane York
e16b3da04a
FIX: Stop category 404s from breaking the router ( #11424 )
...
The propagated promise failure from model() caused the router to reject future route transitions, even though it correctly routed to the last-resort 404 page.
Co-authored-by: Jeff Wong <awole20@gmail.com>
2020-12-07 14:22:39 -08:00
Krzysztof Kotlarek
d5ba854c91
FIX: hide user id when hide_email_address_taken ( #11417 )
...
We should always hide user_id in response when `hide_email_address_taken` setting is enabled. Currently, it can be used to determine if the email was used or not.
2020-12-08 08:25:35 +11:00
Penar Musaraj
28feb7c2ff
DEV: Add header colors to styleguide ( #11421 )
2020-12-07 14:50:45 -05:00
Penar Musaraj
dd9ec827e5
FIX: Adjust reviewable menu placement on mobile ( #11420 )
...
Shows the actions dropdown above the triggering button to avoid some
options from displaying below mobile navigation in DiscourseHub.
2020-12-07 13:39:18 -05:00
dependabot[bot]
62cf30bec1
Build(deps): Bump rails_failover from 0.6.2 to 0.6.3 ( #11419 )
...
Bumps rails_failover from 0.6.2 to 0.6.3.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 17:29:01 +00:00
Penar Musaraj
490e1cfbbb
DEV: Use tag renderer in tags filter dropdown ( #11378 )
...
A small change that would allow components to extend the tag
display in the filter dropdown, like they can in other contexts.
Was requested in the tag icons component, see
https://meta.discourse.org/t/tag-icons-component/109757/60?u=pmusaraj
The PR also standardises tag styling in select-kit dropdowns.
2020-12-07 12:10:21 -05:00
John Losito
dcd7defb14
DEV: Check github actions weekly with dependabot ( #11411 )
2020-12-07 18:56:50 +03:00
David Taylor
8b33e2f73d
FIX: Include locale in cache key for not_found_topics ( #11406 )
...
This ensures that users are only served cached content in their own language. This commit also refactors to make use of the `Discourse.cache` framework rather than direct redis access
2020-12-07 12:24:18 +00:00
Bianca Nenciu
154c8c3fef
FIX: Use CDN for custom emojis ( #11401 )
2020-12-07 13:36:08 +02:00
Bianca Nenciu
ed52577e1c
FIX: Group#flair_url must be a real URL ( #11400 )
...
It used to be a short URL, but that did not work with the lightbox
in {{image-uploader}}.
2020-12-07 13:35:41 +02:00
Bianca Nenciu
da74b3e14b
FEATURE: Add after-topic-list-body plugin-outlet ( #11410 )
2020-12-07 13:33:24 +02:00
Joffrey JAFFEUX
54519a2976
FIX: do not replace smiling_face by slight_smile ( #11412 )
2020-12-06 18:28:39 +01:00
jbrw
161e92be61
DEV: update onebox gem ( #11409 )
2020-12-04 15:07:32 -05:00
Roman Rizzi
4aeb3ef8e0
FIX: Trigger an event when a post is bookmarked. ( #11407 )
...
When we renamed BookmarkWithReminder to Bookmark in ca539fd
, the bookmark event trigger was removed with the old code, and we forgot to add it again.
2020-12-04 15:09:20 -03:00
Roman Rizzi
4d9686c494
FEATURE: Reviewed by filter. ( #11405 )
...
New reviewable filter to only display reviewables handled by a specific user.
2020-12-04 14:09:05 -03:00
David Taylor
477538bf2d
DEV: setproctitle on demon processes ( #11402 )
...
This makes it easier to identify processes in `ps` output
2020-12-04 09:41:17 +00:00
Gerhard Schlager
1960fc5333
FIX: Stop using duplicate composer button ID ( #11404 )
...
"quote" is used by the button added in `composer-editor`.
bbe5d8d5cf/app/assets/javascripts/discourse/app/components/composer-editor.js (L875-L882)
2020-12-04 00:05:43 +01:00
jbrw
da9b837da0
DEV: More robust processing of URLs ( #11361 )
...
* DEV: More robust processing of URLs
The previous `UrlHelper.encode_component(CGI.unescapeHTML(UrlHelper.unencode(uri))` method would naively process URLs, which could result in a badly formed response.
`Addressable::URI.normalized_encode(uri)` appears to deal with these edge-cases in a more robust way.
* DEV: onebox should use UrlHelper
* DEV: fix spec
* DEV: Escape output when rendering local links
2020-12-03 17:16:01 -05:00
Krzysztof Kotlarek
e4d51e5b0a
FIX: correct link in the notification about moved post ( #11399 )
...
Notification is created by a job. If the job is evaluated before changes are committed to a database, a notification will have an incorrect URL.
Therefore, the job should be lodged in enqueue_jobs method which is triggered after the transaction:
```ruby
Topic.transaction do
move_posts_to topic
end
add_allowed_users(participants) if participants.present? && @move_to_pm
enqueue_jobs(topic)
```
I improved a little bit specs to ensure that the destination topic_id is set. However, that tests are passing even without code improvements. I couldn't find an easy way to "delay" database transaction.
Meta: https://meta.discourse.org/t/bug-with-notifications-for-moved-posts/168937
2020-12-04 08:43:42 +11:00
Gerhard Schlager
bcbe2de646
DEV: Make it easier to customize omniauth login complete handler in plugins ( #11403 )
...
It also removes the unused `provider` variable and stops Discourse from redirecting to /login after a login.
2020-12-03 22:27:55 +01:00
Mark VanLandingham
acbc47ef36
FIX: Load .js files from plugins in qunit testing env ( #11304 )
2020-12-03 10:25:42 -06:00
Roman Rizzi
9fb36290e3
FEATURE: Non-staff users can use shared drafts. ( #11329 )
...
You can let non-staff users use shared drafts by modifying the `shared_drafts_min_trust_level` site setting. These users must have access to the shared draft category.
2020-12-03 11:07:57 -03:00
dependabot[bot]
e773e21f0a
Build(deps): Bump rubocop-rspec from 2.0.0 to 2.0.1 ( #11398 )
...
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v2.0.0...v2.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 03:11:09 +01:00
dependabot[bot]
d0e2a00e01
Build(deps): Bump memory_profiler from 0.9.14 to 1.0.0 ( #11397 )
...
Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler ) from 0.9.14 to 1.0.0.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases )
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.14...v1.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 03:10:11 +01:00
dependabot[bot]
889d52e2af
Build(deps): Bump rubocop from 1.5.0 to 1.5.1 ( #11396 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 03:09:37 +01:00
Krzysztof Kotlarek
9c5ee4923b
FEATURE: silently close topic ( #11392 )
...
New TopicTimer to silently close topic. It will be used by discourse-solved plugin
Meta: https://meta.discourse.org/t/allow-auto-close-for-solved-to-do-so-silently/169300
2020-12-03 10:43:19 +11:00
jbrw
1c87038255
FEATURE: Allow Category Group Moderators to edit topic titles ( #11340 )
...
* FEATURE: Allow Category Group Moderators to edit topic titles
Adds category group moderators to the topic guardian’s `can_edit` method.
The value of `can_edit` is returned by the topic view serializer, and this value determines whether the current user can edit the title/category/tags of the topic directly (which category group moderators could already do by editing the first post of a topic).
Note that the value of `can_edit` is now always returned by the topic view serializer (ie, for both true and false values) to cover the case where a topic is moved out of a category that a category group moderator has permissions on, so that when the topic is reloaded the UI picks up that `can_edit` is now false, and thus the edit icon should no longer be displayed.
* DEV: Add a comment explaining why `can_edit` is always returned
2020-12-02 17:21:59 -05:00
Jordan Vidrine
2b66a4364d
Update header_primary in shades of blue ( #11391 )
...
This commit changes header_primary to a shade of blue, fixing contrast issues with some text colors in the header.
2020-12-02 09:22:30 -06:00
Arpit Jalan
d627cc6233
Fix typo. ( #11395 )
2020-12-02 19:08:59 +05:30
Arpit Jalan
a78c64db35
FIX: on invite redemption only update pending ReviewableUser record ( #11394 )
...
When the invite was being redeemed and the ReviewableUser record status
for the invited user was not pending an error was being raised.
This commit makes sure that we are only looking for ReviewableUser
record with status pending and updates that to approved.
2020-12-02 18:38:26 +05:30
Arpit Jalan
86feaec9be
FIX: URL encode tag name ( #11393 )
...
Tags with emoji in the name were failing to redirect via permalink
handling. This commit percent encodes the emoji name which fixes
the issue.
https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757/
2020-12-02 12:36:41 +05:30
dependabot[bot]
28032eaf38
Build(deps): Bump rubocop from 1.4.2 to 1.5.0
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-01 16:52:34 -05:00
dependabot[bot]
dee2f6b36a
Build(deps): Bump rubocop-ast from 1.2.0 to 1.3.0
...
Bumps [rubocop-ast](https://github.com/rubocop-hq/rubocop-ast ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop-hq/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop-hq/rubocop-ast/compare/v1.2.0...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-01 16:51:40 -05:00
Roman Rizzi
4052f5e854
DEV: Hide 'DEV: Sort imports alphabetically ( #11382 )' from blame ( #11388 )
2020-12-01 15:40:10 -03:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically ( #11382 )
2020-12-01 15:31:26 -03:00
Régis Hanol
d1d87b6fa3
FIX: show/hide ignored users preferences ( #11386 )
...
* FIX: show/hide ignored users preferences
based on the current user trust level and the appropriate site setting.
* Allow us to await the `updateCurrentUser` call
Co-authored-by: Robin Ward <robin.ward@gmail.com>
2020-12-01 18:20:43 +01:00
Discourse Translator Bot
d7bd9aa3d0
Update translations ( #11385 )
2020-12-01 14:34:25 +01:00
Krzysztof Kotlarek
b7490e894f
FIX: don't error-index category job when missing category
...
When the category is missing we should not throw an error but just finish the job.
2020-12-01 09:30:53 +08:00
Neil Lalonde
99240476cb
Version bump to v2.7.0.beta1
2020-11-30 17:46:05 -05:00
Neil Lalonde
aa09d83453
DEV: remove PR numbers from release_note:generate output
2020-11-30 17:46:05 -05:00