Skip to content

DEV: Move more plugins to core #33749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,38 @@ discourse-calendar:
- changed-files:
- any-glob-to-any-file: plugins/discourse-calendar/**/*

discourse-policy:
- changed-files:
- any-glob-to-any-file: plugins/discourse-policy/**/*

discourse-github:
- changed-files:
- any-glob-to-any-file: plugins/discourse-github/**/*

discourse-adplugin:
- changed-files:
- any-glob-to-any-file: plugins/discourse-adplugin/**/*

discourse-affiliate:
- changed-files:
- any-glob-to-any-file: plugins/discourse-affiliate/**/*

discourse-solved:
- changed-files:
- any-glob-to-any-file: plugins/discourse-solved/**/*

discourse-topic-voting:
- changed-files:
- any-glob-to-any-file: plugins/discourse-topic-voting/**/*

discourse-templates:
- changed-files:
- any-glob-to-any-file: plugins/discourse-templates/**/*

discourse-ai:
- changed-files:
- any-glob-to-any-file: plugins/discourse-ai/**/*

footnote:
- changed-files:
- any-glob-to-any-file: plugins/footnote/**/*
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@
!/plugins/discourse-hcaptcha
!/plugins/discourse-gamification
!/plugins/discourse-calendar
!/plugins/discourse-policy
!/plugins/discourse-github
!/plugins/discourse-adplugin
!/plugins/discourse-affiliate
!/plugins/discourse-solved
!/plugins/discourse-topic-voting
!/plugins/discourse-templates
!/plugins/discourse-ai
/plugins/*/auto_generated

/spec/fixtures/plugins/my_plugin/auto_generated
Expand Down
2 changes: 2 additions & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ reviewed:
- faraday-net_http # MIT
- faraday-patron # MIT
- faraday-rack # MIT
- hashery # BSD-2-Clause
- highline # Ruby or GPL-2.0
- htmlentities # MIT
- image_size # MIT
Expand All @@ -77,5 +78,6 @@ reviewed:
- securerandom # Ruby
- sidekiq # LGPL (Sidekiq)
- tilt # MIT
- ttfunk # Ruby or GPLv2/GPLv3
- unf # BSD-2-Clause
- unicorn # Ruby or GPLv2/GPLv3
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ RSpec/InstanceVariable:
Enabled: true
Include:
- spec/models/**/*

RSpec/NamedSubject:
Exclude:
- plugins/discourse-ai/**/*
9 changes: 9 additions & 0 deletions .template-lintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ module.exports = {
"no-action": true,
"require-strict-mode": true,
},
overrides: [
...templateLint.overrides,
{
files: ["plugins/discourse-ai/**/*"],
rules: {
"require-strict-mode": false, // some AI plugin templates are not strict mode compatible
},
},
],
};
16 changes: 16 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -290,3 +290,19 @@ gem "zendesk_api", "1.38.0.rc1", require: false

# for discourse-subscriptions
gem "stripe", "11.1.0", require: false

# for discourse-github
gem "sawyer", "0.9.2", require: false
gem "octokit", "5.6.1", require: false

# for discourse-ai
gem "tokenizers", "0.5.4", require: false
gem "tiktoken_ruby", "0.0.11.1", require: false
gem "discourse_ai-tokenizers", "0.3.1", require: false
gem "ed25519", "1.2.4" # TODO: remove this as existing ssl gem should handle this
gem "Ascii85", "2.0.1", require: false
gem "ruby-rc4", "0.1.5", require: false
gem "hashery", "2.1.2", require: false
gem "ttfunk", "1.8.0", require: false
gem "afm", "0.2.2", require: false
gem "pdf-reader", "2.14.1", require: false
Loading
Loading