neofiles 2.1.1 → 2.2.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/app/assets/javascripts/neofiles/index.webpack.js +3 -0
- data/app/assets/stylesheets/neofiles/neofiles.css.scss +3 -3
- data/app/controllers/neofiles/admin_controller.rb +2 -2
- data/app/views/neofiles/admin/_file_compact.html.haml +3 -3
- data/lib/neofiles/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ab288e217fa6882d8226f13f3f5e10481772b93fbf9314cf7e59718271122af
|
|
4
|
+
data.tar.gz: 3834ee498eced248399a7e9c6444b47d3a294b704792f5a124f447a81063d8e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2017c6bba1d3c1e9bd6a80c7dcf698e20f52297f711ac569ecb09fe0633882ff92693bafeb5ba8a43e8b169aa0cef75eefdab4bd5ebda5549983507bd46ba7d4
|
|
7
|
+
data.tar.gz: a872a44c593107a629f540e67b4075581b90356d707d11656f400a76581f290c3b1848a777a432cfdc9f8a755ba924b7ba1374b065ab1b5208f8685be50cc49f
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
opacity: 1;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.fas {
|
|
44
44
|
top: 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
box-shadow: 0px 2px 2px rgba(90, 50, 50, .5);
|
|
70
70
|
opacity: .2;
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.fas {
|
|
73
73
|
top: 1px;
|
|
74
74
|
font-size: 12px;
|
|
75
75
|
line-height: 12px;
|
|
@@ -146,4 +146,4 @@ INPUT.neofiles-image-compact-file {
|
|
|
146
146
|
&.neofiles-image-compact-with-description {
|
|
147
147
|
margin-bottom: 50px;
|
|
148
148
|
}
|
|
149
|
-
}
|
|
149
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
class Neofiles::AdminController < ApplicationController
|
|
10
10
|
|
|
11
11
|
# TODO: remove this! it should be controlled on application side
|
|
12
|
-
skip_before_action :verify_authenticity_token
|
|
12
|
+
skip_before_action :verify_authenticity_token, raise: false
|
|
13
13
|
|
|
14
14
|
# Build AJAX edit/upload form for a single file in compact way: small file thumbnail + misc buttons, like "delete",
|
|
15
15
|
# "change options" etc.
|
|
@@ -229,4 +229,4 @@ class Neofiles::AdminController < ApplicationController
|
|
|
229
229
|
def prepare_owner_type(type)
|
|
230
230
|
type.to_s.gsub(':', '/')
|
|
231
231
|
end
|
|
232
|
-
end
|
|
232
|
+
end
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.neofiles-image-compact-view= file.admin_compact_view self
|
|
21
21
|
|
|
22
22
|
%a(href=neofiles_file_remove_path class="neofiles-image-compact-remove")
|
|
23
|
-
%i.icon-remove.
|
|
23
|
+
%i.icon-remove.fas.fa-times
|
|
24
24
|
|
|
25
25
|
- if Neofiles.is_admin? self
|
|
26
26
|
- options_form = capture do
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
= t 'neofiles.views.no_wm'
|
|
47
47
|
|
|
48
48
|
%a(href="#" tabindex="0" class="neofiles-image-compact-options" data-toggle="popover" data-trigger="click" data-placement="top" data-html="true" data-animation="false" data-title="#{file.filename}" data-content="#{options_form}")
|
|
49
|
-
%i.icon-wrench.
|
|
49
|
+
%i.icon-wrench.fas.fa-wrench
|
|
50
50
|
|
|
51
51
|
- if with_desc
|
|
52
52
|
- description_form = capture do
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
%a.neofiles-image-compact-description-handle(href="#" data-empty=empty_desc data-toggle="popover" data-trigger="click" data-placement="bottom" data-html="true" data-animation="false" data-title="#{t 'neofiles.views.description'}" data-content="#{description_form}" data-template="#{popover_template}" data-container="##{widget_id}"){class: ('neofiles-image-compact-description-empty' unless desc)}= desc || empty_desc
|
|
66
66
|
|
|
67
67
|
%span.neofiles-image-compact-upload-icon
|
|
68
|
-
%i.icon-upload.
|
|
68
|
+
%i.icon-upload.fas.fa-arrow-circle-up
|
|
69
69
|
|
|
70
70
|
- common_options = {id: nil, disabled: disabled}
|
|
71
71
|
= hidden_field_tag input_name, file.try(:id), common_options.merge(class: 'neofiles-image-transfer-input')
|
data/lib/neofiles/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neofiles
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konanykhin Ilya
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -123,6 +123,7 @@ files:
|
|
|
123
123
|
- app/assets/images/neofiles/swf-thumb-100x100.png
|
|
124
124
|
- app/assets/images/neofiles/watermark.png
|
|
125
125
|
- app/assets/javascripts/neofiles/index.js.coffee
|
|
126
|
+
- app/assets/javascripts/neofiles/index.webpack.js
|
|
126
127
|
- app/assets/javascripts/neofiles/jquery.fileupload.js
|
|
127
128
|
- app/assets/javascripts/neofiles/jquery.iframe-transport.js
|
|
128
129
|
- app/assets/javascripts/neofiles/jquery.neofiles.js.coffee
|
|
@@ -170,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
170
171
|
- !ruby/object:Gem::Version
|
|
171
172
|
version: '0'
|
|
172
173
|
requirements: []
|
|
173
|
-
rubygems_version: 3.
|
|
174
|
+
rubygems_version: 3.4.19
|
|
174
175
|
signing_key:
|
|
175
176
|
specification_version: 4
|
|
176
177
|
summary: Serves and manages files & images.
|