1
0
Fork 0
forked from OpenNeo/impress
impress/app/helpers
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
..
alt_styles_helper.rb Add Styling Studio page to show the styles we already have modeled 2024-01-24 06:53:37 -08:00
application_helper.rb Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
closet_hangers_helper.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
closet_lists_helper.rb move closet-hanger-destroy form to JS 2013-06-22 15:45:59 -07:00
closet_pages_helper.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
contribution_helper.rb Add Styling Studio page to show the styles we already have modeled 2024-01-24 06:53:37 -08:00
donations_helper.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
item_trades_helper.rb Sort trades in vaguely-recent order 2024-01-21 03:59:06 -08:00
items_helper.rb Remove references to species/color translations at call sites 2024-01-23 05:23:57 -08:00
neopets_page_import_tasks_helper.rb refactor importing 2015-07-27 13:25:24 -04:00
outfits_helper.rb Delete more unused helpers 2023-11-11 15:55:38 -08:00
static_helper.rb for large donations, show a banner instead of their placeholder outfits 2014-09-13 20:54:39 -05:00