discourse/app/assets/javascripts/admin/addon
Martin Brennan 97e2b353f6
FEATURE: Allow for multiple GitHub onebox tokens (#27887)
Followup 560e8aff75

GitHub auth tokens cannot be made with permissions to
access multiple organisations. This is quite limiting.
This commit changes the site setting to be a "secret list"
type, which allows for a key/value mapping where the value
is treated like a password in the UI.

Now when a GitHub URL is requested for oneboxing, the
org name from the URL is used to determine which token
to use for the request.

Just in case anyone used the old site setting already,
there is a migration to create a `default` entry
with that token in the new list setting, and for
a period of time we will consider that token valid to
use for all GitHub oneboxes as well.
2024-07-15 13:07:36 +10:00
..
adapters FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
components FEATURE: Allow for multiple GitHub onebox tokens (#27887) 2024-07-15 13:07:36 +10:00
controllers FEATURE: add Untranslated filter to admin text customization (#27555) 2024-06-24 06:24:06 -03:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins FEATURE: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
models UX: plugins may have underscore in the name (#27749) 2024-07-07 21:43:11 +05:30
routes DEV: Use async/await in admin route model fns (#27745) 2024-07-05 22:25:42 +02:00
services FIX: More header dropdown admin sidebar fixes (#27241) 2024-05-30 12:55:25 +10:00
templates DEV: Simplify breadcrumbs by using path arg (#27744) 2024-07-08 17:55:03 +02:00