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.
- checksums.yaml +4 -4
- data/README.md +1 -19
- data/app/assets/javascripts/ucb_rails_user/datatables.js +16891 -0
- data/app/assets/javascripts/ucb_rails_user/esm/bloodhound.js +953 -0
- data/app/assets/javascripts/ucb_rails_user/esm/datatables.js +28437 -0
- data/app/assets/javascripts/ucb_rails_user/esm/typeahead.js +1538 -0
- data/app/assets/javascripts/ucb_rails_user/typeahead.bundle.js +2451 -0
- data/app/assets/javascripts/ucb_rails_user/ucb_rails_user.js +56 -0
- data/app/assets/stylesheets/ucb_rails_user/components/impersonations.css +0 -26
- data/app/assets/stylesheets/ucb_rails_user/components/users_table.css +3 -52
- data/app/assets/stylesheets/ucb_rails_user/pagy_tailwind.css +21 -0
- data/app/controllers/concerns/ucb_rails_user/sessions_controller_concerns.rb +3 -3
- data/app/controllers/concerns/ucb_rails_user/users_controller_concerns.rb +5 -24
- data/app/views/ucb_rails_user/impersonations/index.html.erb +5 -17
- data/app/views/ucb_rails_user/sessions/new.html.erb +21 -0
- data/app/views/ucb_rails_user/users/_user.html.erb +3 -1
- data/app/views/ucb_rails_user/users/edit.html.erb +2 -4
- data/app/views/ucb_rails_user/users/index.html.erb +30 -115
- data/app/views/ucb_rails_user/users/new.html.erb +17 -15
- data/config/routes.rb +2 -2
- data/lib/ucb_rails_user/configuration/cas.rb +9 -0
- data/lib/ucb_rails_user/spec_helpers.rb +1 -0
- data/lib/ucb_rails_user/version.rb +1 -1
- metadata +19 -15
- data/app/views/ucb_rails_user/users/impersonate_search.html.erb +0 -25
- data/app/views/ucb_rails_user/users/search.html.erb +0 -15
- data/config/importmap.rb +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09287b7395b9051f836da163e113b19e79b97f2ca1a4244ac647fb01de4ef398'
|
|
4
|
+
data.tar.gz: 91ed2a6b9f2d2aa7a1a8d41c16bca50d179e17eeaec497fce684d606eef3d9ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|