1
0
Fork 0
forked from OpenNeo/impress
impress/app/javascript/wardrobe-2020/WardrobePage
Emi Matchu 4fff8d88f2 Add support_staff flag to user record; they can use Support tools
A little architecture trick here! DTI 2020 authorizes support staff
requests by means of a secret token, instead of user account stuff. And
our support tools still all call DTI 2020 APIs.

So here, we bridge the gap: we copy DTI 2020's support secret to this
app's environment variables (I needed to update
`deploy/files/production.env` and run `bin/deploy:setup` for this!),
then users with the new `support_secret` flag have it added to their
HTML documents in the meta tags. Then, the JS reads the meta tag.

I also fixed an issue in the `deploy/setup.yml` playbook, where I had
temporarily commented some stuff out to skip steps one time, and forgot
to uncomment them after oops lol!
2024-01-29 04:21:19 -08:00
..
support Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
index.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
Item.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemsAndSearchPanels.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
ItemsPanel.js Use the main app for outfit deletion, too 2023-11-02 17:39:26 -07:00
LayersInfoModal.js Add outfit layers info modal to download PNGs etc 2023-10-23 19:05:10 -07:00
OutfitControls.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
OutfitKnownGlitchesBadge.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
PosePicker.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
SearchFooter.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
SearchPanel.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
SearchToolbar.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
useOutfitSaving.js Fix outfit saving infinite loop in error case 2023-11-06 12:54:23 -08:00
useOutfitState.js Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00
useSearchResults.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
WardrobePageLayout.js Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
WardrobePreviewAndControls.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00