docbrown/app/controllers/admin
Fernando Valverde fcc5c0d2a1
Add Sign in with Apple (#11934)
* Add gem omniauth-apple

* Integrate omniauth-apple

* Integrate callback

* Add fields

* Add tests, fix bugs and make it all work

* Show only enabled providers for the current user

* Add default profile image for Apple

* Remove localhost patch

* Bring over the changed Apple username if the user changes it

* More specs fixed

* Incorporate feedback from PR

* Fix specs

* Simplify code and fix spec

* Fix Broadcast generators to take into account the new provider

* Fix spec

* Generate a truly unique apple_username

* Fix user specs

* Add omniauth-apple-0.0.2 to vendor cache

* Fix merge conflict and spec

* Update VCR fastly sloan cassette

* Revert "Generate a truly unique apple_username"

This reverts commit 2462875575b0bbd6b3c1d56b25afcd3189671608.

* Fix user specs

* Fix specs

* Fix specs

* Hide Connect Apple button behind a feature flag

* Revert "Hide Connect Apple button behind a feature flag"

This reverts commit 105bde0373389a4eb9b6e948f60734c7e0e99cba.

* Fix line lengths

* Fix spec

* ES tag

* CSRF bypass for Apple callback

* custom user_nickname in Apple provider with small tweaks + omniauth-apple bump

* Fixes username specs

* Makes Apple users default image Users::ProfileImageGenerator

* Fallback to mascot_image_url in test environment to avoid breaking Travis

* Fixes Apple CSRF error + makes default nickname more readable

* Trigger Travis

* Better devise config

* Apple SiteConfig entires in /admin/config

* Fixing specs

* Adds beta_access? to Authentication::Providers::Provider

* Fixes specs

* Codeclimate double quote fix in Gemfile

* Fixes /admin/config allowed params & adds feature flag for provider beta_access?

* Remove Enfile & adds temporary docs

* Adds custom apple auth provider settings

* Fix authenticator spec

* Fix configs spec (use last instead of first to avoid apple special case)

* Remove dangling fields from /admin/config

* updates feature flag

* More test fixes

* Hide config behind feature flag too

* omniauth-apple bump

* Takes care of edge case fallback

* Reverse apple_username update

* Adds auth_time to info hash in apple omniauth mock

* Switch to next instead of nesting for feature flag

* Fixes CVE-2015-9284

* Fixes specs after auth providers initiatior refactor from GET to POST

* Spec fixes

* More spec fixes

* Fix Rails codebase reference link

Co-authored-by: rhymes <rhymesete@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-12-18 10:22:33 -06:00
..
tags Move AssignTagModerator from labor to services (#11826) 2020-12-17 09:51:26 +07:00
users Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
admin_portals_controller.rb Add admin index (#10957) 2020-10-20 11:11:28 -04:00
application_controller.rb Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
articles_controller.rb Added published date as editable in admin articles list/show (#11124) 2020-11-18 10:40:13 -06:00
badge_achievements_controller.rb Add the Ability to Remove Badge Achievements From Users (#9896) [deploy] 2020-08-25 11:14:47 -06:00
badges_controller.rb Add the Ability to Remove Badge Achievements From Users (#9896) [deploy] 2020-08-25 11:14:47 -06:00
broadcasts_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
buffer_updates_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
chat_channels_controller.rb [deploy] [Admin Tooling] Allow admins delete empty Connect Channels (#9873) 2020-08-20 14:55:48 +02:00
comments_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
configs_controller.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
display_ads_controller.rb [deploy] Extracts DisplayAds from Administrate into admin (#10153) 2020-09-02 09:28:22 -06:00
email_messages_controller.rb Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
events_controller.rb Refactor Admin Events Index (#11103) [deploy] 2020-10-29 10:11:15 -06:00
feedback_messages_controller.rb [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
html_variants_controller.rb [deploy] HTML Variant admin dashboard (#10188) 2020-09-28 09:22:13 -06:00
invitations_controller.rb Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
listing_categories_controller.rb [deploy] Manage listing categories in dashboard (#10506) 2020-10-02 11:05:09 -04:00
listings_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
moderator_actions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
mods_controller.rb Move AssignTagModerator from labor to services (#11826) 2020-12-17 09:51:26 +07:00
navigation_links_controller.rb [deploy] Bust caches when navigation links are changed (#10865) 2020-10-21 21:30:31 -04:00
organization_memberships_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
organizations_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
pages_controller.rb [deploy] Improve error messages and validation for admin pages (#11141) 2020-10-28 13:54:38 -05:00
permissions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
podcasts_controller.rb Allow admin to add users as podcast owners (MLH Fellowship) (#11728) [deploy] 2020-12-17 10:55:16 -07:00
privileged_reactions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
profile_field_groups_controller.rb Profile Admin updates (#10133) 2020-09-02 12:32:25 +02:00
profile_fields_controller.rb [deploy] Add display_area & show_in_onboarding to the profile setup ui (#10158) 2020-09-02 16:30:33 -05:00
reactions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
response_templates_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
secrets_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
sponsorships_controller.rb Adds ability to create new sponsorships from admin dashboard (#10187) 2020-09-03 10:10:37 -06:00
tags_controller.rb Adds ability for admins to create new tags via /admin/tags (#11240) 2020-12-02 08:12:57 -06:00
tools_controller.rb Update bust_article to BustArticle (#11931) 2020-12-17 12:20:44 -05:00
users_controller.rb Use helpers.tag and safe_join instead of html_safe (#11916) 2020-12-16 10:02:19 +03:00
webhook_endpoints_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
welcome_controller.rb [deploy] Add community_name to site config (#9864) 2020-08-19 14:54:40 -04:00