Commit Graph
100 Commits
Author SHA1 Message Date
Neil Lalonde fb469e7e2f FIX: use feedback_category placeholder in i18n string (#25514)
https://review.discourse.org/t/71308/4
2024-01-31 19:40:30 -05:00
Neil Lalonde ba68ee4da7 FIX: missing translation of guidelines_topic.body (#25505)
Broken in https://github.com/discourse/discourse/pull/25253
2024-01-31 15:33:09 -05:00
Neil Lalonde 27144f188c UX: if no login options are configured, show a message (#24777)
Admins will be instructed to login via /u/admin-login to change their
site settings.
2023-12-08 10:49:54 -05:00
Neil Lalonde e34521f4b5 DEV: add PluginOutlet around the Customize > Themes tab (#24280) 2023-11-07 16:48:30 -05:00
Neil Lalonde 5dae0fdfb6 DEV: add a plugin modifier to change hidden site settings (#24160)
Plugins can use a new modifier to change which site settings are hidden using the :hidden_site_settings modifier. For example:

```
register_modifier(:hidden_site_settings) do |hidden|
  (hidden + [:invite_only, :login_required]).uniq
end
```
2023-10-31 10:09:51 -04:00
Neil Lalonde bd7cea7dd7 Revert "DEV: add a plugin modifier to change hidden site settings (#24104)" (#24117)
This reverts commit ddcee84e45.
2023-10-26 15:56:08 -04:00
Neil Lalonde ddcee84e45 DEV: add a plugin modifier to change hidden site settings (#24104)
Plugins can use a new modifier to change which site settings are
hidden using the :hidden_site_settings modifier. For example:

register_modifier(:hidden_site_settings) do |hidden|
  (hidden + [:invite_only, :login_required]).uniq
end
2023-10-26 15:28:39 -04:00
Neil Lalonde 8eda55e639 DEV: add a remove_step method to Wizard (#24063)
Using Wizard.exclude_steps applies to all sites in a multisite cluster.
In order to exclude steps for individual sites at run-time, a new
instance method `remove_step` is being added.
2023-10-24 13:22:55 -04:00
Neil Lalonde d6a82f1034 DEV: Don't print plugin changes in details blocks (#22328) 2023-06-28 11:28:08 -04:00
Neil Lalonde 9bbddd2cb3 Version bump to v2.9.0.beta3 (#16256) 2022-03-22 14:46:23 -04:00
Neil Lalonde 2fc8e923b6 Version bump to v2.9.0.beta1 (#15732) 2022-01-27 10:53:21 -05:00
Neil Lalonde aa54645753 Version bump to v2.8.0.beta11 (#15567) 2022-01-13 10:35:59 -05:00
Neil Lalonde 07c010422b Version bump to v2.8.0.beta10 (#15382) 2021-12-21 13:23:49 -05:00
Neil Lalonde c4d3b6556d Version bump to v2.8.0.beta9 (#15152) 2021-12-01 11:40:49 -05:00
Neil Lalonde cbfe48b990 Version bump to v2.8.0.beta8 (#14948) 2021-11-15 11:13:34 -05:00
Neil Lalonde 3254d35078 FIX: rake categories:move_topics shouldn't move category description topic (#14797) 2021-11-03 11:27:51 +08:00
Neil Lalonde ae91818c19 Version bump to v2.8.0.beta7 (#14667) 2021-10-20 17:29:41 -04:00
Neil Lalonde f0d2b0f2f0 Version bump to v2.8.0.beta6 (#14228)
v2.8.0.beta5 can cause segfaults due to the oj gem v3.13.3.
2021-09-02 14:25:33 -04:00
Neil Lalonde c6f1818b85 Version bump to v2.8.0.beta5 (#14210) 2021-09-01 13:29:36 -04:00
Neil Lalonde cb858af8c7 Version bump to v2.8.0.beta4 (#13824) 2021-07-22 12:23:50 -04:00
Neil LalondeandAlan Guo Xiang Tan b0f06b8ed0 FIX: don't allow category and tag tracking settings on staged users (#13688)
Configuring staged users to watch categories and tags is a way to sign
them up to get many emails. These emails may be unwanted and get marked
as spam, hurting the site's email deliverability.
Users can opt-in to email notifications by logging on to their
account and configuring their own preferences.

If staff need to be able to configure these preferences on behalf of
staged users, the "allow changing staged user tracking" site setting
can be enabled. Default is to not allow it.

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2021-07-16 14:50:40 -04:00
Neil Lalonde 5f8fa976d4 Version bump to v2.8.0.beta3 (#13703) 2021-07-15 14:54:02 -04:00
Neil Lalonde 1034e5fa65 FIX: increase max favorite badges to 6 (#13507)
Limit was 5 with the assumption that trust level badge
will be the 6th badge. With trust level badges disabled,
it should be possible to increase this to 6, or even more imo.
2021-06-23 14:53:09 -04:00
Neil Lalonde a5df693697 FIX: can't bootstrap with ember-cli when login_required is enabled (#13350) 2021-06-10 09:36:41 -04:00
Neil Lalonde c2c647b990 FIX: errors loading secure uploads when secure uploads is disabled (#13047) 2021-06-08 13:25:51 -04:00
Neil Lalonde 41038d6cdb Version bump to v2.8.0.beta2 (#13329) 2021-06-08 11:27:50 -04:00
Neil Lalonde 05c1d3c9cd Version bump to v2.8.0.beta1 (#13092) 2021-05-18 16:38:17 -04:00
Neil Lalonde 02f0acc41b Version bump to v2.7.0.beta9 (#13006) 2021-05-10 11:29:47 -04:00
Neil Lalonde a7261a1f68 Version bump to v2.7.0.beta8 (#12894) 2021-04-29 13:37:14 -04:00
Neil Lalonde f186ff99c8 FIX: blank avatar on user card if flair url is undefined (#12791)
If creating a group avatar flair with no icon or image, the user card
was showing a blank circle.
2021-04-21 15:43:50 -04:00
Neil Lalonde 07ca35670a Version bump to v2.7.0.beta7 (#12696) 2021-04-14 10:54:08 -04:00
Neil Lalonde 3d4e2595d3 Version bump to v2.7.0.beta6 (#12636) 2021-04-07 15:10:07 -04:00
Neil Lalonde e8a9917db1 FEATURE: Allow setting avatar flair for automatic groups (#12586) 2021-04-06 11:13:06 -04:00
Neil Lalonde eb25d3a954 FIX: add all the keys that should be allowed in user_notifications (#12526) 2021-03-25 14:00:05 -04:00
Neil Lalonde ca4bc9b8c7 FIX: error overriding user notification string with valid keys (#12510)
When overriding the translation for i18n keys used in user notifications
like user_notifications.reply_by_email, errors were returned for
valid interpolation keys. Keys like topic_title_url_encoded are
supported, so no error should be raised.

https://meta.discourse.org/t/-/50305/7
2021-03-24 15:58:24 -04:00
Neil Lalonde b42ee6e296 DEV: add classes to invite modal fields so they can be targeted (#12366) 2021-03-11 15:56:02 -05:00
Neil Lalonde 3cd26cc9d7 UX: pasting a twitter link into composer title will not set the title (#12332)
The title of Twitter oneboxes is always the name of the Twitter user,
which is not a descriptive topic title. Leave the title field blank so
that users must enter their own title.
2021-03-10 15:49:56 -05:00
Neil Lalonde 5b8941c568 Version bump to v2.7.0.beta5 (#12287) 2021-03-10 13:45:19 -05:00
Neil Lalonde 7c45ff6659 DEV: new plugin API to change default new category colors (#12200)
api.setNewCategoryDefaultColors(
  'FFFFFF', // background color
  '000000'  // text color
)
2021-02-24 16:00:50 -05:00
Neil Lalonde 9a72876863 DEV: add plugin outlets above and below discovery-categories (#12176) 2021-02-22 17:17:03 -05:00
Neil Lalonde da8b0818ef DEV: add classes to sections in category settings (#12150)
Some had them, most didn't.
2021-02-19 15:28:19 -05:00
Neil Lalonde 180249112f Version bump to v2.7.0.beta4 2021-02-18 14:21:37 -05:00
Neil Lalonde cc0d2b623f UX: show plugin descriptions on admin plugins page 2021-02-12 11:38:50 -05:00
Neil Lalonde c4dc610498 Version bump to v2.7.0.beta3 2021-01-28 12:53:10 -05:00
Neil Lalonde c232b5a291 Version bump to v2.7.0.beta2 2021-01-21 14:52:01 -05:00
Neil Lalonde 9057379aac FIX: url:refresh triggered when query params change
Going from /latest?f=tracked to /latest will result in three
different topic list requests because the query params are not
considered when determining if the route is staying the same.
2021-01-15 11:58:48 -05:00
Neil Lalonde 19cbda15e9 FIX: hidden tags returned in extras of tags index json 2021-01-11 10:21:54 -05: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
Neil Lalonde bd3b1cb9ac Version bump to v2.6.0.beta6 (#11288) 2020-11-19 13:56:05 -05:00
Neil Lalonde 7c95b7ceb5 Version bump to v2.6.0.beta5 (#11084) 2020-10-30 12:20:12 -04:00
Neil Lalonde c5eba3f9ee FIX: support new Google Analytics id format (#11067)
They start with UA- or G- now.
2020-10-29 12:06:20 -04:00
Neil Lalonde d77e30a011 DEV: generated release notes shouldn't include squashed commits (#10936)
Limit git log output to the first line of the commit message
when generating the list of commits in a release. Some commit messages
are including the names of all commits that were squashed, resulting
in duplicate and confusing lines in the release notes.
2020-10-15 16:20:32 -04:00
Neil Lalonde bb165ac8b1 Version bump to v2.6.0.beta4 (#10933) 2020-10-15 12:59:38 -04:00
Neil Lalonde 2a268bd89b Version bump to v2.6.0.beta3 2020-09-24 16:05:52 -04:00
Neil Lalonde f1743ff69c FIX: error "unknown attribute verified" in uploads rake tasks
The new column is verification_status.
verified: nil is now verification_status: unchecked
2020-09-21 10:47:52 -04:00
Neil Lalonde b207842720 FIX: group tag notifications included for all users
Regression from my last commit
2020-09-16 16:02:28 -04:00
Neil Lalonde 04be39ed46 FIX: don't show Tags tab in group management if tags are disabled 2020-09-16 15:43:11 -04:00
Neil Lalonde 8333872e88 FIX: N+1 for admins viewing groups page
Groups page was loading fields that are only used on the group show
page, so move those fields to the GroupShowSerializer.
Also only fetch the default category and tag notifications once.
2020-09-16 14:58:52 -04:00
Neil Lalonde 53ffbc8d6e DEV: add plugin outlet below the categories-only component 2020-09-10 10:39:04 -04:00
Neil Lalonde ed30f49315 FIX: duplicate categories and tags allowed in inputs where they shouldn't be allowed
blocklist was renamed to blockedCategories/Tags
2020-08-24 17:37:04 -04:00
Neil Lalonde 52217099ed FIX: group categories inputs not filled sometimes
If you land on the group > manage > categories page or reload it,
the fields will all be blank when there should be categories.
2020-08-24 17:15:37 -04:00
Neil Lalonde 713e6f1bb6 Version bump to v2.6.0.beta2 2020-08-20 16:36:25 -04:00
Neil Lalonde 298ed5d021 FIX: delete unused tags shouldn't delete tags belonging to tag groups 2020-08-19 12:17:49 -04:00
Neil Lalonde 96511e4548 UX: better wording when there are no unused tags to delete 2020-08-19 12:17:48 -04:00
Neil Lalonde 530058918e DEV: Support env var for prometheus port in cache_critical_dns 2020-08-17 15:48:14 -04:00
Neil Lalonde d65a839577 FEATURE: allow group membership to unmute categories and tags
For sites that are configured to mute some or all categories and tags
for users by default, groups can now be configured to set members'
notification level to normal from the group manage UI.
2020-08-13 17:20:53 -04:00
Neil Lalonde 1ca81fbb95 FEATURE: set notification levels when added to a group (#10378)
* FEATURE: set notification levels when added to a group

This feature allows admins and group owners to define default
category and tag tracking levels that will be applied to user
preferences automatically at the time when users are added to the
group. Users are free to change those preferences afterwards.
When removed from a group, the user's notification preferences aren't
changed.
2020-08-06 12:27:27 -04:00
Neil Lalonde 1bef008a1e FIX: current value of flair icon missing in group manage UI 2020-08-04 12:41:14 -04:00
Neil Lalonde 8c9cc5b772 DEV: add class to body of no_ember layout so it can targeted in CSS 2020-06-25 16:17:19 -04:00
Neil Lalonde b9174c8e8a Version bump to v2.6.0.beta1 2020-06-24 14:00:19 -04:00
Neil Lalonde 8e07ee7e36 Update translations
Carefully because permalink.external_url is untranslated in many
locales due to a recent change in client.en.yml in 516a03be09.
2020-06-24 10:47:45 -04:00
Neil Lalonde 713298c622 FIX: advanced tutorial errors when all categories are secured (#10111)
The category hashtag step will fail with an error when all
categories aren't public. Choose a category that the user can see.
2020-06-24 15:45:50 +10:00
Neil Lalonde 81a265cecd Version bump to v2.5.0.beta7 2020-06-10 13:38:18 -04:00
Neil Lalonde 65dd8e2fa2 Update translations 2020-06-10 12:01:02 -04:00
Neil Lalonde 09dc5eb5ea Version bump to v2.5.0.beta6 2020-06-01 14:13:48 -04:00
Neil Lalonde 72c09ab4ae Update translations 2020-06-01 13:58:51 -04:00
Neil Lalonde 2c880b9bf9 FIX: wizard fails to start when default_theme_id is -1 2020-05-26 16:08:35 -04:00
Neil Lalonde 788b8becde Version bump to v2.5.0.beta5 2020-05-26 11:13:05 -04:00
Neil Lalonde 3d20a1143b Update translations 2020-05-26 10:06:07 -04:00
Neil Lalonde 5a71c51ddd FIX: tag input says tags are optional when they're required 2020-05-21 12:40:33 -04:00
Neil Lalonde 1b7f23a1bc FIX: don't compute draft for bots on categories index route 2020-05-14 16:35:32 -04:00
Neil Lalonde c6b31464db Version bump to v2.5.0.beta4 2020-05-04 11:44:42 -04:00
Neil Lalonde 3cce608379 Update translations 2020-05-04 10:39:01 -04:00
Neil Lalonde 9d781d4959 FIX: error customizing text for badges from plugins 2020-04-28 14:34:41 -04:00
Neil Lalonde 58bdc04aac Version bump to v2.5.0.beta3 2020-04-22 10:51:19 -04:00
Neil Lalonde 074509fd95 FIX: don't demote users to TL2 when default trust level is 3
Within 24 hours of signing up, new users were losing their
default trust level of 3. With this fix, demotions from
trust level 3 won't happen when the "default trust level"
setting is 3 or 4.
2020-04-16 12:28:16 -04:00
Neil Lalonde c45574c9e7 FIX: exclude private messages from TL3 requirements
It wasn't intended that people should be able to earn trust level
3 without participating in public topics. When counting topic
views and likes given/received, don't count private topics.
2020-04-07 17:36:07 -04:00
Neil LalondeandRobin Ward e8fad7a69e DEV: changes so plugins can customize invites UI (#9365)
* DEV: changes so plugins can customize invites UI

Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2020-04-07 11:58:49 -04:00
Neil Lalonde 90fcede832 FIX: replace default welcome topic post with new value from wizard
Previously the text entered in the wizard would be prepended onto the
default first paragraph.
2020-04-01 15:42:45 -04:00
Neil Lalonde 29e733832d FIX: error when changing a topic's category and creating a tag 2020-03-30 16:43:01 -04:00
Neil Lalonde 7c27f9bba9 FIX: remove parent tag from tag group
Having a tag be a member of a tag group and the group's parent tag at
the same time causes some unexpected behavior. When a tag is assigned
as the parent, remove it from the group.
2020-03-13 12:25:58 -04:00
Neil Lalonde 3e21d40bc4 Version bump to v2.5.0.beta2 2020-03-05 16:10:28 -05:00
Neil Lalonde 4b70719a48 Update translations 2020-03-05 12:45:42 -05:00
Neil Lalonde 9f528f0ec2 Version bump to v2.5.0.beta1 2020-02-26 16:56:11 -05:00
Neil Lalonde b0675075f7 Update translations 2020-02-25 10:29:14 -05:00
Neil Lalonde f73ed45de9 FIX: blank popular posts in summary emails due to lightbox images
When looking for the first paragraph with content in a post,
it was matching the lightboxed image paragraph as "<p></p>".
Fix that and other potential empty paragraphs with the
p:not(:empty) selector.
Add a new selector to find the image links in lightboxed
images as valid content for emails.
2020-02-21 16:18:38 -05:00
Neil Lalonde c31039d51f FIX: tag topic counts wrong after adding synonyms
After adding a tag as a synonym of another tag,
both tags will have the wrong topic counts. It's
corrected within 12 hours by the EnsureDbConsistency
job. This fix ensures the topic counts are updated
much sooner.
2020-02-14 12:15:29 -05:00
Neil Lalonde 2136d4b5d5 Version bump to v2.4.0.beta11 2020-02-13 16:56:46 -05:00
Neil Lalonde 637535fc6b Update translations 2020-02-13 15:00:16 -05:00