discourse/lib/tasks
David Taylor fcaa068b87
DEV: Publish and enable use of pre-built JS assets (#33973)
Building the Discourse ember app is resource-intensive process. This
commit introduces a framework for us to build these assets centrally,
and make them available for people to download.

On every commit to `main`, a new GitHub actions workflow will build
development & production versions of the core assets, and publish them
as a github release under the `discourse/discourse-assets` repository. A
separate repository is being used to avoid polluting the main
`discourse/discourse` repository with one-git-tag-per-release.

The `assemble_ember_build.rb` script is updated to fetch the relevant
asset bundle. Requests are made to `get.discourse.org`, which then
redirects to GitHub releases. This redirection service is being used so
that we have the option to switch away from GitHub releases in future
without breaking existing Discourse installations.

For now, this behavior can be enabled by setting
`DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS=1`. In the near future, we hope to
make this the default, with opt-out via
`DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS=0`.
2025-07-31 14:22:51 +01:00
..
add_topic_to_quotes.rake
admin.rake FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
annotate.rake DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
annotate_rb.rake DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
api.rake FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
assets.rake DEV: Publish and enable use of pre-built JS assets (#33973) 2025-07-31 14:22:51 +01:00
autospec.rake
avatars.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
backfill.thor
categories.rake FIX: Update category tag stats with new or deleted (#21531) 2023-05-18 12:46:44 +03:00
cdn.rake
compatibility.rake DEV: Introduce rake task to validate discourse-compatibility file (#26158) 2024-03-13 13:57:41 +00:00
db.rake DEV: Fixup db:reset (#31242) 2025-02-20 12:32:45 +00:00
destroy.rake DEV: Add rake task to bulk delete posts (#31642) 2025-03-05 09:31:23 +08:00
dev.rake
docker.rake DEV: Remove extraneous rubocop arguments (#31596) 2025-03-04 01:28:26 +01:00
documentation.rake DEV: Remove unmaintained tidy-jsdoc dependency (#25110) 2024-01-03 10:30:54 +00:00
emails.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
export.rake
groups.rake
hashtags.rake
i18n.rake DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
images.rake
import.rake DEV: Fix missing comma in import script (#33915) 2025-07-29 09:37:57 +10:00
incoming_emails.rake
javascript.rake FEATURE: Color mode preference (#33875) 2025-07-31 08:17:02 +03:00
list_email_templates_strings.rake FIX: Add new/missing email templates to the email templates editor (#28075) 2024-07-30 00:27:41 +03:00
log.rake
maxminddb.rake DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
plugin.rake DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
populate.rake DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
populate.thor
posts.rake DEV: Deprecate external_system_avatars_enabled (#33436) 2025-07-04 16:02:04 +08:00
profile.rake DEV: Fix benchmark script 2024-11-20 14:36:44 +01:00
qunit.rake DEV: Publish and enable use of pre-built JS assets (#33973) 2025-07-31 14:22:51 +01:00
redis.rake
release_note.rake DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
reviewables.rake DEV: Add reviewables:mass-handle rake task (#30658) 2025-01-10 19:22:43 +03:00
revisions.rake
rspec.rake
s3.rake DEV: Add setting to tag s3 objects enabling tag based access control policies (#32988) 2025-06-16 13:26:18 +08:00
scheduler.rake FEATURE: call hub API to update Discourse discover enrollment. (#25634) 2024-02-23 11:42:28 +05:30
search.rake
site.rake FEATURE: Add dark mode option for category backgrounds (#24003) 2023-10-20 12:48:06 +00:00
site_settings.rake DEV: Revert the addition of keywords for all site settings. (#30755) 2025-01-14 13:34:04 +11:00
smoke_test.rake DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
svg_icons.rake DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
svg_sprites.rake
tags.rake
themes.rake DEV: Run qunit tests and system specs for bundled themes (#33704) 2025-07-18 18:49:08 +02:00
topics.rake
turbo.rake
typepad.thor
uploads.rake DEV: Update uploads:sync_access_control rake task to remove ACLs (#33286) 2025-06-25 15:03:05 +08:00
users.rake DEV: update rake task to disable 2FA for a user (#29052) 2024-10-16 09:11:29 +11:00
version_bump.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00