ucb_rails_user 8.0.5 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -19
  3. data/app/assets/javascripts/ucb_rails_user/datatables.js +16891 -0
  4. data/app/assets/javascripts/ucb_rails_user/esm/bloodhound.js +953 -0
  5. data/app/assets/javascripts/ucb_rails_user/esm/datatables.js +28437 -0
  6. data/app/assets/javascripts/ucb_rails_user/esm/typeahead.js +1538 -0
  7. data/app/assets/javascripts/ucb_rails_user/typeahead.bundle.js +2451 -0
  8. data/app/assets/javascripts/ucb_rails_user/ucb_rails_user.js +56 -0
  9. data/app/assets/stylesheets/ucb_rails_user/components/impersonations.css +0 -26
  10. data/app/assets/stylesheets/ucb_rails_user/components/users_table.css +3 -52
  11. data/app/assets/stylesheets/ucb_rails_user/pagy_tailwind.css +21 -0
  12. data/app/controllers/concerns/ucb_rails_user/sessions_controller_concerns.rb +3 -3
  13. data/app/controllers/concerns/ucb_rails_user/users_controller_concerns.rb +5 -24
  14. data/app/views/ucb_rails_user/impersonations/index.html.erb +5 -17
  15. data/app/views/ucb_rails_user/sessions/new.html.erb +21 -0
  16. data/app/views/ucb_rails_user/users/_user.html.erb +3 -1
  17. data/app/views/ucb_rails_user/users/edit.html.erb +2 -4
  18. data/app/views/ucb_rails_user/users/index.html.erb +30 -115
  19. data/app/views/ucb_rails_user/users/new.html.erb +17 -15
  20. data/config/routes.rb +2 -2
  21. data/lib/ucb_rails_user/configuration/cas.rb +9 -0
  22. data/lib/ucb_rails_user/spec_helpers.rb +1 -0
  23. data/lib/ucb_rails_user/version.rb +1 -1
  24. metadata +19 -15
  25. data/app/views/ucb_rails_user/users/impersonate_search.html.erb +0 -25
  26. data/app/views/ucb_rails_user/users/search.html.erb +0 -15
  27. data/config/importmap.rb +0 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33c1423ac635977abc651ba960a571fb70f398d436475d701f8932b06f54b361
4
- data.tar.gz: 15d1eadd248c5a83ef7bc45511e7920721c344f24594eb9083856fb5343a545c
3
+ metadata.gz: '09287b7395b9051f836da163e113b19e79b97f2ca1a4244ac647fb01de4ef398'
4
+ data.tar.gz: 91ed2a6b9f2d2aa7a1a8d41c16bca50d179e17eeaec497fce684d606eef3d9ce
5
5
  SHA512:
6
- metadata.gz: 23e75ecaf5356a46eb33bda871f6fdb6f0416b3d8b27bbaf5c3fba830ec5cb00958d23997cf6139ff3918c7d33907dfb8df64197bcbcadcc6ae9ddd9c17d95a2
7
- data.tar.gz: 35eb226797cc645fdb3a7f2798bb0dc88315e9c62e5ff5e0eb8e317c59fb3581032417139c794e7c5833c3dbd724b1704c575a718297a6414cae7317dc0b8c71
6
+ metadata.gz: 14686fd6c41309f33ae5d16d427c7d6270f6a0f1601d2f2ded8d22562c4cfd124e92f2ca3e3d59a5079309cc1413514c1448c1ce6583b3c51e005c02d5799cb7
7
+ data.tar.gz: 5273939befe8db63989e4e4f6940ec23e93f9cecaf1a7aeb20c7acbcad60cd415154b0e4b87b25391bb7dc3a05f3e80c04759d64e7fcc5ce335d6e17a0bc9ff1
data/README.md CHANGED
@@ -89,23 +89,7 @@ And in `application.js` add this line:
89
89
  //= require ucb_rails_user/scripts
90
90
  ```
91
91
 
92
- 9. Enable Turbo (required for admin user search functionality)
93
-
94
- The admin user search uses Turbo Frames for seamless searching without page reloads. Add this to your application layout (typically `app/views/layouts/application.html.erb`):
95
-
96
- ```erb
97
- <%= turbo_include_tags %>
98
- ```
99
-
100
- Also update any `data-turbolinks-track` attributes to use `data-turbo-track` instead:
101
-
102
- ```erb
103
- <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
104
- ```
105
-
106
- If your app doesn't already include Turbo, make sure the `turbo-rails` gem is in your Gemfile (it's included as a dependency of this gem).
107
-
108
- 10. Restart your host app as usual
92
+ 9. Restart your host app as usual
109
93
 
110
94
  You should be able to access the following routes:
111
95
 
@@ -306,5 +290,3 @@ There is a new session timeout gem that can be used as well. It has a nice Javas
306
290
  ## Version 8+
307
291
 
308
292
  This version removes both the emailing setup functionality as well as the error reporting functionality. Those are both in the [UcbRailsDefaults] (https://gitlab.com/ucb-bit/cad/aa/ucb_rails_defaults) gem. This gem's dependencies have been slimmed down so that only the basics to run the gem are required. This makes it easier to upgrade the including apps.
309
-
310
- Versions 8.0.x use the new standard of Turbo, importmaps, and propshaft. The 8.0.x versions do not have the latest CAS upgrades in them and are used for Rails 8 apps that are in maintenance mode.