docbrown/app/views/admin
Suzanne Aitchison 5e8fae9ddc
Member index: Filter by status (#17980)
* show the statuses in the modal

* filter the results

* add some todo around good standing

* Enable Rails framework 7.0's isolation_level, partial_inserts, & raise_on_open_redirects (#17970)

* Member index: Show applied org filters (#17977)

* show applied org filters

* correct casing

* API V1 transition (#17835)

* API Articles v0-v1 restructure

* Remove unused helper

* Bulk move API controllers into concerns + add V1 controllers

* Extract API routes + some fixes

* Fix v1 api_controller authenticate! + add more article_controller specs

* Completed spec/requests/api/v1/articles_spec.rb

* specs up to listings

* All v1 specs except for 9 skips

* mime_types cleanup + authenticate! relocation

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>

* Fix email confirmation logic when registering via Omniauth (#17878)

* Move .skip_confirmation! call to .find_or_create_user! method

* Add regression tests to avoid email confirmation delivery

* Keep the original place where we had user.skip_confirmation! too

* Update logic to require email confirmation from omniauth

* test confirmation is required with SMTP

* Keep :notice instead of :global_notice

* Forem Account bypass email confirmation reorg

* inline comment reorder + clarification

* Apply suggestions from code review

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Member Index View Actions: "Adjust Credit Balance" (#17974)

* Adds the Adjust credit balance modal to index view

* Adds e2e tests for adjusting credit balances via modal

* Adds the ability to update credits to #user_status

* Adjusts the e2e to address failures

* Introducing a quick and dirty fix for abtests/admin (#17982)

This is a "quick and dirty" hack.  Do I like it?  No.  Do I want to delve
into further debugging/refactoring of [a 72 line method][1]?  Not at the
moment.  There are a few pathways forward, but for now, this is the
pathway to hopefully give us insight into the

**Why will this likely address the issue?**

Prior to this commit, for an experiment we would render each of the
goals (anywhere from 8 to 11); each of which would require 2 expensive
queries; which means about 16 expensive queries.

After this commit, the experiment page has none of those expensive
queries; instead each goal now runs the 2 expensive queries.

The hope is that this will help us show the results (albeit on multiple
pages) while coming in under the response time out handlers we have in
place.

**Why no tests?**

Ugh; I know right?!?  I'm beginning to ask that myself.  But for now,
because this is only visible to tech_admins, the consequences of
breaking are limited.  In otherwords, this is not a customer facing
feature, so it can be a bit less robust in it's testing.  At least
that's the rationalization I'm establishing.

Further, local tests would not reveal the production environment
complications of large data sets.  The aforementioned expensive queries
are blisteringly fast on my local machine...in part because I don't much
field_test experiment data.

Closes forem/forem#17981

Related to:

- forem/forem#17895
- forem/forem#17869

[1]:ab2d7d29d0/lib/field_test/experiment.rb (L98-L160)

* Adding test for redundant roles

* Adding filter for roles

* forget about good standing status

* remove good standing specs

* Update app/helpers/admin/users_helper.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* appease rubocop

* simplify

* add e2e tests

* add the applied filter pills for status

* make sure clear all button shows

* add a comment to explain good standing

* tweak

* set the registered dates of test users

Co-authored-by: Mac Siri <mac@forem.com>
Co-authored-by: Fernando Valverde <fernando@fdo.cr>
Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Jeremy Friesen <jeremy.n.friesen@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-14 17:32:31 +01:00
..
articles Unpin article should behave more like Pin article (#17798) 2022-06-07 14:18:43 +02:00
badge_achievements Applying Crayons to Content Manager pages (#16375) 2022-02-04 09:31:59 +01:00
badges Applying Crayons to Content Manager pages (#16375) 2022-02-04 09:31:59 +01:00
broadcasts
comments Applying Crayons to Content Manager pages (#16375) 2022-02-04 09:31:59 +01:00
consumer_apps
creator_settings Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
data_update_scripts
display_ads Applying Crayons to some Customization pages (#16383) 2022-02-02 21:33:12 +01:00
email_messages
extensions Introduce "extensions" (#16840) 2022-03-18 11:22:17 +02:00
feedback_messages Remove admin_member_view Feature Flag-Related Conditionals (#16764) 2022-03-10 08:29:05 -07:00
gdpr_delete_requests Searchable GDPR Delete Requests Table (#17633) 2022-05-31 16:22:25 -06:00
html_variants Applying Crayons to some Customization pages (#16383) 2022-02-02 21:33:12 +01:00
invitations "Empty State" for Invited Members (#17571) 2022-05-05 13:24:06 -06:00
listing_categories Implement new color picker in listings category form, cleanup old code (#16770) 2022-03-08 12:43:18 +00:00
listings Remove admin_member_view Feature Flag-Related Conditionals (#16764) 2022-03-10 08:29:05 -07:00
moderator_actions
mods
navigation_links Fix duplicate IDs on homepage (#17092) 2022-04-14 10:48:55 +01:00
organizations Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
overview Display analytics up to yesterday instead of today (#17064) 2022-04-04 15:17:32 -04:00
pages Spec fix (#16431) 2022-02-14 13:17:14 +01:00
permissions
podcasts Applying Crayons to Content Manager pages (#16375) 2022-02-04 09:31:59 +01:00
privileged_reactions Change UI instances of "vomit" to "flag" (#16397) 2022-02-03 12:22:32 +00:00
profile_fields Update profile admin instructions (#17062) 2022-03-30 15:32:56 -05:00
response_templates Trusted users can view & use moderator response templates (#17867) 2022-06-16 14:05:49 +02:00
secrets
settings I18nize Constants::Settings (#17086) 2022-05-11 09:58:37 +01:00
shared Update the Sidebar to include the Member Manager (#17538) 2022-05-05 12:46:47 +02:00
spaces Removing link to learn more about spaces (#17594) 2022-05-09 09:21:48 -04:00
sponsorships Admin layout update (#16345) 2022-01-31 11:53:46 +01:00
tags Fixes sort_link specs warning (#17845) 2022-06-08 12:18:43 +03:00
tools
users Member index: Filter by status (#17980) 2022-07-14 17:32:31 +01:00
webhook_endpoints
welcome