avo 4.4.0 → 4.4.1
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/Gemfile.lock +1 -1
- data/app/components/avo/debug/plugins_component.html.erb +1 -1
- data/app/controllers/avo/{updates_controller.rb → status/updates_controller.rb} +4 -4
- data/app/views/avo/{updates → status/updates}/index.html.erb +3 -3
- data/config/routes.rb +4 -4
- data/lib/avo/version.rb +1 -1
- metadata +5 -5
- /data/app/views/avo/{updates → status/updates}/_progress.html.erb +0 -0
- /data/app/views/avo/{updates → status/updates}/_release.html.erb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a73813ac6780ee6f2be7897e9e43d7001547efa7551c02e596e2e0c03904db9f
|
|
4
|
+
data.tar.gz: f901904f867de73dd1a4ceecc1e30e49385be0fe68f67dfcff2a56a894d871b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 643168d1b6a9e4d8c6ea875428403a2ecfb06b7fc724ad9284e6d7ba2cfc6924f5411b9fcb3f45e9e1a031c41a1e3a49e3d696b89064ae058d76f57eec1d161c
|
|
7
|
+
data.tar.gz: 81b2974b0f4285531b469bef2bd383ab08f2045c6611b5d6c5b5ade3488864a4ee9a12945b0929878d9a83a497aeab0933da7ff1be4d9818d34f103bed134231
|
data/Gemfile.lock
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module Avo
|
|
1
|
+
module Avo::Status
|
|
2
2
|
class UpdatesController < Avo::ApplicationController
|
|
3
3
|
before_action :authenticate_developer_or_admin!
|
|
4
4
|
# Running bundler and restarting the server from a web request is only safe on a developer's machine.
|
|
@@ -15,19 +15,19 @@ module Avo
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def progress
|
|
18
|
-
render partial: "avo/updates/progress"
|
|
18
|
+
render partial: "avo/status/updates/progress"
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def run
|
|
22
22
|
Avo::Services::Updater.start
|
|
23
23
|
|
|
24
|
-
render partial: "avo/updates/progress"
|
|
24
|
+
render partial: "avo/status/updates/progress"
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def restart
|
|
28
28
|
Avo::Services::Updater.restart
|
|
29
29
|
|
|
30
|
-
render partial: "avo/updates/progress", locals: {restarting: true}
|
|
30
|
+
render partial: "avo/status/updates/progress", locals: {restarting: true}
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
private
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
<%= render ui.card(title: "Available", description: "Newer than what this app runs.") do |card| %>
|
|
19
19
|
<% card.with_body do %>
|
|
20
20
|
<div class="updates-page__actions">
|
|
21
|
-
<%= render partial: "avo/updates/progress" %>
|
|
21
|
+
<%= render partial: "avo/status/updates/progress" %>
|
|
22
22
|
</div>
|
|
23
|
-
<%= render partial: "avo/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
|
|
23
|
+
<%= render partial: "avo/status/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
|
|
24
24
|
<% end %>
|
|
25
25
|
<% end %>
|
|
26
26
|
<% end %>
|
|
27
27
|
<% if @installed_releases.any? %>
|
|
28
28
|
<%= render ui.card(title: "Installed") do |card| %>
|
|
29
29
|
<% card.with_body do %>
|
|
30
|
-
<%= render partial: "avo/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
|
|
30
|
+
<%= render partial: "avo/status/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
|
|
31
31
|
<% end %>
|
|
32
32
|
<% end %>
|
|
33
33
|
<% end %>
|
data/config/routes.rb
CHANGED
|
@@ -32,10 +32,10 @@ Avo::Engine.routes.draw do
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
get "status", to: "debug#status", as: "status"
|
|
35
|
-
get "updates", to: "updates#index", as: "updates"
|
|
36
|
-
get "updates/progress", to: "updates#progress", as: "updates_progress"
|
|
37
|
-
post "updates/run", to: "updates#run", as: "run_updates"
|
|
38
|
-
post "updates/restart", to: "updates#restart", as: "restart_after_updates"
|
|
35
|
+
get "updates", to: "status/updates#index", as: "updates"
|
|
36
|
+
get "updates/progress", to: "status/updates#progress", as: "updates_progress"
|
|
37
|
+
post "updates/run", to: "status/updates#run", as: "run_updates"
|
|
38
|
+
post "updates/restart", to: "status/updates#restart", as: "restart_after_updates"
|
|
39
39
|
# The old address is bookmarked and linked from released gems (avo-licensing), so it keeps its helper and redirects.
|
|
40
40
|
get "avo_private/status", to: redirect("status", status: 301), as: "avo_private_status"
|
|
41
41
|
|
data/lib/avo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: avo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.4.
|
|
4
|
+
version: 4.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrian Marin
|
|
@@ -775,7 +775,7 @@ files:
|
|
|
775
775
|
- app/controllers/avo/private_controller.rb
|
|
776
776
|
- app/controllers/avo/resources_controller.rb
|
|
777
777
|
- app/controllers/avo/search_controller.rb
|
|
778
|
-
- app/controllers/avo/updates_controller.rb
|
|
778
|
+
- app/controllers/avo/status/updates_controller.rb
|
|
779
779
|
- app/controllers/concerns/avo/common_controller.rb
|
|
780
780
|
- app/controllers/concerns/avo/initializes_avo.rb
|
|
781
781
|
- app/helpers/avo/application_helper.rb
|
|
@@ -946,9 +946,9 @@ files:
|
|
|
946
946
|
- app/views/avo/private/appearance.html.erb
|
|
947
947
|
- app/views/avo/private/design.html.erb
|
|
948
948
|
- app/views/avo/sidebar/_license_warning.html.erb
|
|
949
|
-
- app/views/avo/updates/_progress.html.erb
|
|
950
|
-
- app/views/avo/updates/_release.html.erb
|
|
951
|
-
- app/views/avo/updates/index.html.erb
|
|
949
|
+
- app/views/avo/status/updates/_progress.html.erb
|
|
950
|
+
- app/views/avo/status/updates/_release.html.erb
|
|
951
|
+
- app/views/avo/status/updates/index.html.erb
|
|
952
952
|
- app/views/layouts/avo/application.html.erb
|
|
953
953
|
- app/views/layouts/avo/blank.html.erb
|
|
954
954
|
- app/views/layouts/avo/modal.html.erb
|
|
File without changes
|
|
File without changes
|