adminpanel 2.5.3 → 2.5.4
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 +17 -13
- data/adminpanel.gemspec +2 -1
- data/app/controllers/concerns/adminpanel/rest_actions.rb +17 -42
- data/app/controllers/concerns/adminpanel/sortable_actions.rb +2 -10
- data/app/helpers/adminpanel/adminpanel_form_builder.rb +23 -28
- data/app/helpers/adminpanel/shared_pages_helper.rb +14 -10
- data/app/models/adminpanel/analytic.rb +10 -2
- data/app/models/adminpanel/permission.rb +4 -3
- data/app/models/adminpanel/role.rb +5 -3
- data/app/models/adminpanel/user.rb +4 -4
- data/app/models/concerns/adminpanel/base.rb +1 -2
- data/app/models/concerns/adminpanel/friendly.rb +28 -0
- data/app/views/adminpanel/form/_checkbox.html.erb +45 -0
- data/app/views/adminpanel/form/_select.html.erb +35 -0
- data/app/views/adminpanel/shared/_create_remote_resource_button.html.erb +4 -7
- data/app/views/adminpanel/templates/{create_has_many.js.erb → checkbox.js.erb} +1 -1
- data/app/views/adminpanel/templates/{create_belongs_to.js.erb → option_for_select.js.erb} +1 -1
- data/config/locales/es.yml +1 -2
- data/config/routes.rb +1 -1
- data/lib/adminpanel.rb +1 -0
- data/lib/adminpanel/version.rb +1 -1
- data/lib/generators/adminpanel/resource/resource_generator.rb +6 -0
- data/lib/generators/adminpanel/resource/resource_generator_helper.rb +25 -24
- data/lib/tasks/adminpanel/adminpanel.rake +2 -6
- data/test/dummy/app/models/adminpanel/department.rb +9 -7
- data/test/dummy/app/models/adminpanel/item.rb +8 -6
- data/test/dummy/app/models/adminpanel/mug.rb +1 -1
- data/test/dummy/app/models/adminpanel/product.rb +14 -2
- data/test/dummy/app/models/adminpanel/salesman.rb +16 -15
- data/test/dummy/app/models/adminpanel/test_object.rb +4 -3
- data/test/dummy/db/schema.rb +1 -0
- data/test/dummy/test/fixtures/adminpanel/products.yml +3 -1
- data/test/features/shared/concerns/friendly_test.rb +21 -0
- data/test/features/shared/form/checkbox_test.rb +39 -0
- data/test/features/shared/form/enum_field_test.rb +25 -0
- data/test/features/shared/form/has_many_through_remote_test.rb +0 -1
- data/test/features/shared/form/{remote_resource_modal_test.rb → modal_contents_test.rb} +2 -2
- data/test/features/shared/form/resource_field_test.rb +33 -0
- data/test/features/shared/form/select_test.rb +42 -0
- data/test/generators/resource_generator_test.rb +9 -6
- data/test/helpers/shared_pages_helper_test.rb +40 -16
- metadata +41 -36
- checksums.yaml.gz.sig +0 -3
- data.tar.gz.sig +0 -0
- data/app/assets/fonts/.DS_Store +0 -0
- data/app/assets/fonts/.keep +0 -0
- data/app/assets/stylesheets/adminpanel/fullcalendar.print.css +0 -61
- data/app/views/adminpanel/form/_belongs_to.html.erb +0 -21
- data/app/views/adminpanel/form/_has_many.html.erb +0 -19
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- metadata.gz.sig +0 -0
@@ -14,9 +14,10 @@ module Adminpanel
|
|
14
14
|
},
|
15
15
|
{
|
16
16
|
'category_ids' => {
|
17
|
-
'type' => '
|
18
|
-
'
|
19
|
-
|
17
|
+
'type' => 'checkbox',
|
18
|
+
'options' => Proc.new { |object|
|
19
|
+
Adminpanel::Category.all.map { |o| [o.id, o.name] }
|
20
|
+
}
|
20
21
|
}
|
21
22
|
},
|
22
23
|
{
|
data/test/dummy/db/schema.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
first:
|
2
|
-
name: Product saved
|
2
|
+
name: "Product saved"
|
3
3
|
price: 123.45
|
4
4
|
description: lorem ipsum dolor sit amec
|
5
5
|
created_at: <%= Date.today %>
|
6
6
|
updated_at: <%= Date.today %>
|
7
|
+
slug: 'first-product-slug'
|
7
8
|
|
8
9
|
limit_images:
|
9
10
|
name: Product with limit
|
@@ -11,3 +12,4 @@ limit_images:
|
|
11
12
|
description: lorem ipsum dolor sit amec
|
12
13
|
created_at: <%= Date.today %>
|
13
14
|
updated_at: <%= Date.today %>
|
15
|
+
slug: 'limit-images-slug'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class FriendlyTest < ViewCase
|
4
|
+
fixtures :all
|
5
|
+
|
6
|
+
setup :sign_in
|
7
|
+
teardown :teardown
|
8
|
+
|
9
|
+
def test_match_correct_path
|
10
|
+
visit adminpanel.product_path(adminpanel_products(:first))
|
11
|
+
|
12
|
+
assert current_url.match('productos/first-product-slug')
|
13
|
+
end
|
14
|
+
|
15
|
+
protected
|
16
|
+
|
17
|
+
def sign_in
|
18
|
+
visit adminpanel.signin_path
|
19
|
+
login
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class CheckboxTest < ViewCase
|
4
|
+
fixtures :all
|
5
|
+
|
6
|
+
setup :sign_in
|
7
|
+
teardown :teardown
|
8
|
+
|
9
|
+
def test_checkboxes_with_active_record_collection
|
10
|
+
# test permission, which proc in options gives an
|
11
|
+
# activerecord array as a response.
|
12
|
+
|
13
|
+
visit adminpanel.new_role_path
|
14
|
+
|
15
|
+
checkbox_container = find('#permission-relation')
|
16
|
+
|
17
|
+
assert checkbox_container.find('label > label', text: 'Publisher: ')
|
18
|
+
assert checkbox_container.find('label > label', text: 'Creator: ')
|
19
|
+
assert checkbox_container.find('label > label', text: 'Updater: ')
|
20
|
+
assert checkbox_container.find('label > label', text: 'Reader: ')
|
21
|
+
assert checkbox_container.find('label > label', text: 'Deleter: ')
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_checkboxes_with_mapped_result
|
25
|
+
# test select, with proc in options gives an
|
26
|
+
# [['one', '1'], ['two', '2'], ...] as a repsonse (map)
|
27
|
+
# visit adminpanel.new_salesman_path
|
28
|
+
# select_field = find('#salesman_product_id')
|
29
|
+
# assert select_field
|
30
|
+
# assert select_field.find('option', text: 'SuperProduct saved')
|
31
|
+
# assert select_field.find('option', text: 'SuperProduct with limit')
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
def sign_in
|
36
|
+
visit adminpanel.signin_path
|
37
|
+
login
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class EnumFieldTest < ViewCase
|
4
|
+
fixtures :all
|
5
|
+
|
6
|
+
setup :sign_in
|
7
|
+
|
8
|
+
def test_enum_field
|
9
|
+
visit adminpanel.new_permission_path
|
10
|
+
select_selector = find('#permission_action')
|
11
|
+
|
12
|
+
assert select_selector.find('option', text: 'Ver')
|
13
|
+
assert select_selector.find('option', text: 'Publicar en Redes Sociales')
|
14
|
+
assert select_selector.find('option', text: 'Crear')
|
15
|
+
assert select_selector.find('option', text: 'Actualizar')
|
16
|
+
assert select_selector.find('option', text: 'Borrar')
|
17
|
+
assert select_selector.find('option', text: 'Administrar')
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
def sign_in
|
22
|
+
visit adminpanel.signin_path
|
23
|
+
login
|
24
|
+
end
|
25
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class ModalContentsTest < ViewCase
|
4
4
|
fixtures :all
|
5
5
|
|
6
6
|
setup :visit_adminpanel_new_user
|
@@ -26,7 +26,7 @@ class RemoteResourceModalTest < ViewCase
|
|
26
26
|
assert_no_link 'Agregar Rol'
|
27
27
|
end
|
28
28
|
|
29
|
-
def
|
29
|
+
def test_modals_exclude_add_images_button
|
30
30
|
# test file_field and non file field
|
31
31
|
visit adminpanel.new_salesman_path
|
32
32
|
trigger_modal 'Agregar Producto'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ResourceFieldTest < ViewCase
|
4
|
+
fixtures :all
|
5
|
+
|
6
|
+
setup :sign_in
|
7
|
+
|
8
|
+
def test_resource_select_with_its_display_names
|
9
|
+
visit adminpanel.new_permission_path
|
10
|
+
|
11
|
+
selector = find('#permission_resource')
|
12
|
+
|
13
|
+
assert selector.find('option', text: 'Categoria')
|
14
|
+
assert selector.find('option', text: 'Producto')
|
15
|
+
assert selector.find('option', text: 'Google Analytics')
|
16
|
+
assert selector.find('option', text: 'Usuario')
|
17
|
+
assert selector.find('option', text: 'Rol')
|
18
|
+
assert selector.find('option', text: 'Permiso')
|
19
|
+
assert selector.find('option', text: 'Sección')
|
20
|
+
assert selector.find('option', text: 'Taza')
|
21
|
+
assert selector.find('option', text: 'Departamento')
|
22
|
+
assert selector.find('option', text: 'Galeria')
|
23
|
+
assert selector.find('option', text: 'FileResource')
|
24
|
+
assert selector.find('option', text: 'Agente')
|
25
|
+
# assert false
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
def sign_in
|
30
|
+
visit adminpanel.signin_path
|
31
|
+
login
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class SelectTest < ViewCase
|
4
|
+
fixtures :all
|
5
|
+
|
6
|
+
setup :sign_in
|
7
|
+
teardown :teardown
|
8
|
+
|
9
|
+
def test_select_with_active_record_collection
|
10
|
+
# test permission, which proc in options gives an
|
11
|
+
# activerecord array as a response.
|
12
|
+
|
13
|
+
visit adminpanel.new_permission_path
|
14
|
+
|
15
|
+
select_selector = find('#permission_role_id')
|
16
|
+
|
17
|
+
assert select_selector.find('option', text: 'Admin')
|
18
|
+
assert select_selector.find('option', text: 'Superuser')
|
19
|
+
assert select_selector.find('option', text: 'Deleter')
|
20
|
+
assert select_selector.find('option', text: 'Reader')
|
21
|
+
assert select_selector.find('option', text: 'Updater')
|
22
|
+
assert select_selector.find('option', text: 'Creator')
|
23
|
+
assert select_selector.find('option', text: 'Publisher')
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_select_with_mapped_result
|
27
|
+
# test select, with proc in options gives an
|
28
|
+
# [['one', '1'], ['two', '2'], ...] as a repsonse (map)
|
29
|
+
visit adminpanel.new_salesman_path
|
30
|
+
# puts page.
|
31
|
+
select_field = find('#salesman_product_id')
|
32
|
+
assert select_field
|
33
|
+
assert select_field.find('option', text: 'SuperProduct saved')
|
34
|
+
assert select_field.find('option', text: 'SuperProduct with limit')
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
def sign_in
|
39
|
+
visit adminpanel.signin_path
|
40
|
+
login
|
41
|
+
end
|
42
|
+
end
|
@@ -130,8 +130,9 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
|
|
130
130
|
/'admin_postfiles' => {/,
|
131
131
|
/'type' => 'adminpanel_file_field',/,
|
132
132
|
/'category_ids' => {/,
|
133
|
-
/'type' => '
|
134
|
-
/'
|
133
|
+
/'type' => 'checkbox'/,
|
134
|
+
/'options' => Proc.new { |object|/,
|
135
|
+
/Adminpanel::Category.all/
|
135
136
|
)
|
136
137
|
end
|
137
138
|
|
@@ -160,10 +161,12 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
|
|
160
161
|
assert_file(
|
161
162
|
'app/models/adminpanel/blog.rb',
|
162
163
|
/'post_ids' => {/,
|
163
|
-
/'type' => '
|
164
|
-
/'
|
164
|
+
/'type' => 'checkbox'/,
|
165
|
+
/'options' => Proc.new { |object|/,
|
166
|
+
/Adminpanel::Post.all/,
|
165
167
|
/'category_ids' => {/,
|
166
|
-
/'
|
168
|
+
/'options' => Proc.new { |object|/,
|
169
|
+
/Adminpanel::Category.all/
|
167
170
|
)
|
168
171
|
end
|
169
172
|
|
@@ -182,7 +185,7 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
|
|
182
185
|
assert_file(
|
183
186
|
'app/uploaders/adminpanel/monkey_avatar_uploader.rb',
|
184
187
|
/class MonkeyAvatarUploader </
|
185
|
-
|
188
|
+
)
|
186
189
|
end
|
187
190
|
|
188
191
|
def test_that_runs_without_errors
|
@@ -73,9 +73,11 @@ class SharedPagesHelperTest < ActionView::TestCase
|
|
73
73
|
test_object = adminpanel_salesmen(:one)
|
74
74
|
attribute = 'product_id'
|
75
75
|
properties = {
|
76
|
-
'type' => '
|
77
|
-
'model' => 'Adminpanel::Product',
|
76
|
+
'type' => 'select',
|
78
77
|
'label' => 'product',
|
78
|
+
'model' => Proc.new { |object|
|
79
|
+
Adminpanel::Product.all
|
80
|
+
}
|
79
81
|
}
|
80
82
|
assert_equal(
|
81
83
|
'Product saved',
|
@@ -83,8 +85,7 @@ class SharedPagesHelperTest < ActionView::TestCase
|
|
83
85
|
properties,
|
84
86
|
attribute,
|
85
87
|
test_object
|
86
|
-
)
|
87
|
-
'didn\'t matched belongs_to :('
|
88
|
+
)
|
88
89
|
)
|
89
90
|
end
|
90
91
|
|
@@ -92,9 +93,11 @@ class SharedPagesHelperTest < ActionView::TestCase
|
|
92
93
|
test_object = adminpanel_test_objects(:first)
|
93
94
|
attribute = 'category_ids'
|
94
95
|
properties = {
|
95
|
-
'type' => '
|
96
|
-
'
|
97
|
-
'
|
96
|
+
'type' => 'checkbox',
|
97
|
+
'label' => 'checkbox label',
|
98
|
+
'options' => Proc.new { |object|
|
99
|
+
Adminpanel::Category.all
|
100
|
+
},
|
98
101
|
}
|
99
102
|
assert_equal(
|
100
103
|
content_tag(:ul, nil) do
|
@@ -114,6 +117,27 @@ class SharedPagesHelperTest < ActionView::TestCase
|
|
114
117
|
)
|
115
118
|
end
|
116
119
|
|
120
|
+
def test_enum_in_field_value
|
121
|
+
test_object = adminpanel_permissions(:publish)
|
122
|
+
attribute = 'action'
|
123
|
+
properties = {
|
124
|
+
'type' => 'enum_field',
|
125
|
+
'label' => 'hasmany',
|
126
|
+
'options' => Proc.new { |object|
|
127
|
+
Adminpanel::Category.all
|
128
|
+
},
|
129
|
+
}
|
130
|
+
assert_equal(
|
131
|
+
'Publicar en Redes Sociales',
|
132
|
+
field_value(
|
133
|
+
properties,
|
134
|
+
attribute,
|
135
|
+
test_object
|
136
|
+
),
|
137
|
+
'didn\'t matched has_many fields :('
|
138
|
+
)
|
139
|
+
end
|
140
|
+
|
117
141
|
def test_file_field_in_field_value
|
118
142
|
test_object = adminpanel_galleries(:one)
|
119
143
|
attribute = 'file'
|
@@ -140,16 +164,16 @@ class SharedPagesHelperTest < ActionView::TestCase
|
|
140
164
|
end
|
141
165
|
|
142
166
|
def test_is_customized_field?
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
167
|
+
assert is_customized_field?('adminpanel_file_field')
|
168
|
+
assert is_customized_field?('select')
|
169
|
+
assert is_customized_field?('checkbox')
|
170
|
+
assert is_customized_field?('file_field')
|
171
|
+
assert is_customized_field?('non_image_file_field')
|
148
172
|
# some example false values (not everyone)
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
173
|
+
assert_not is_customized_field?('text_field')
|
174
|
+
assert_not is_customized_field?('number_field')
|
175
|
+
assert_not is_customized_field?('text_area')
|
176
|
+
assert_not is_customized_field?('wysiwyg_field')
|
153
177
|
end
|
154
178
|
|
155
179
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adminpanel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jose Ramon Camacho
|
@@ -9,30 +9,8 @@ authors:
|
|
9
9
|
- Eduardo Albertos
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
|
-
cert_chain:
|
13
|
-
-
|
14
|
-
-----BEGIN CERTIFICATE-----
|
15
|
-
MIIDYDCCAkigAwIBAgIBATANBgkqhkiG9w0BAQUFADA7MQ8wDQYDVQQDDAZ2aWN0
|
16
|
-
b3IxFDASBgoJkiaJk/IsZAEZFgRjb2RuMRIwEAYKCZImiZPyLGQBGRYCbXgwHhcN
|
17
|
-
MTUwMzIwMTkwMTA4WhcNMTYwMzE5MTkwMTA4WjA7MQ8wDQYDVQQDDAZ2aWN0b3Ix
|
18
|
-
FDASBgoJkiaJk/IsZAEZFgRjb2RuMRIwEAYKCZImiZPyLGQBGRYCbXgwggEiMA0G
|
19
|
-
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDmdMzllrIGptczoKmPRuYk4C++SE0S
|
20
|
-
6HI44pD7EBkto4NkpECUJZnaUYf7xTpm7t68O7GwGT+0Vrljpx2W1To42/MonU60
|
21
|
-
fbFbOR8HmOvbb2WQY55axC+utQ6oqITPaBLg6thFYbRPAQwsUBN0F0NqExlPpRL5
|
22
|
-
oSih3LUKzp4qVcimzWMzCXAu127mkPmG+M+Xo4pUUtG4uz9d67ujSG2LX9oxIteQ
|
23
|
-
Ibs2TMh1WXAKttwi1wVBGgQujoHgGrOTq1bX72/a2tfFeIXrAt5H3hYhF7pToWhN
|
24
|
-
OHJRalpyDui37p0EksEz+bFJ8KsUWjlxlOjioemsxxp0YIEjEHZR6/ZNAgMBAAGj
|
25
|
-
bzBtMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBTUBDel181sCLrY
|
26
|
-
1ipjHl7bJ7vCijAZBgNVHREEEjAQgQ52aWN0b3JAY29kbi5teDAZBgNVHRIEEjAQ
|
27
|
-
gQ52aWN0b3JAY29kbi5teDANBgkqhkiG9w0BAQUFAAOCAQEABLmaFKUFaGnCO+uq
|
28
|
-
GMCQQRFBh7uJgJUndaAr8CheqaF0U+nJX2Xsggb1VCQDK6TNFVBdvIH+KSYJtu90
|
29
|
-
e6AKGdJKAqNetWKG4Wo9gycWcJdT5CzOWhXgwOi+O+8Z9p3j0pLkDMJTn0Li2+79
|
30
|
-
jb0AfMmll67rqqCq6Mmxx6rQQulE8CB1siuLzf6DfbrfrlGCe2Qy77pwFwqNoEPP
|
31
|
-
P/U4QAtdpmTbKreZ5f2TEXlF/kqXL79j2/ov8sd7B+aWNI3vEXKXiPALa+hupDWs
|
32
|
-
XdmvXYY6Fr9AHqSdbvphaVu+RqBpkBdGUQCcCZ73NjXSUwgJumx1p1A8e4NXrh1e
|
33
|
-
pYh0/Q==
|
34
|
-
-----END CERTIFICATE-----
|
35
|
-
date: 2015-03-20 00:00:00.000000000 Z
|
12
|
+
cert_chain: []
|
13
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
36
14
|
dependencies:
|
37
15
|
- !ruby/object:Gem::Dependency
|
38
16
|
name: rails
|
@@ -128,6 +106,26 @@ dependencies:
|
|
128
106
|
- - ">="
|
129
107
|
- !ruby/object:Gem::Version
|
130
108
|
version: 1.10.1
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: friendly_id
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 5.1.0
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 5.1.0
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 5.1.0
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 5.1.0
|
131
129
|
- !ruby/object:Gem::Dependency
|
132
130
|
name: google-api-client
|
133
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -437,8 +435,6 @@ files:
|
|
437
435
|
- README.md
|
438
436
|
- Rakefile
|
439
437
|
- adminpanel.gemspec
|
440
|
-
- app/assets/fonts/.DS_Store
|
441
|
-
- app/assets/fonts/.keep
|
442
438
|
- app/assets/images/adminpanel/alpha.png
|
443
439
|
- app/assets/images/adminpanel/arrows-active.png
|
444
440
|
- app/assets/images/adminpanel/arrows-normal.png
|
@@ -504,7 +500,6 @@ files:
|
|
504
500
|
- app/assets/stylesheets/adminpanel/datepicker.min.css
|
505
501
|
- app/assets/stylesheets/adminpanel/fa-hidden.css.scss
|
506
502
|
- app/assets/stylesheets/adminpanel/fullcalendar.css
|
507
|
-
- app/assets/stylesheets/adminpanel/fullcalendar.print.css
|
508
503
|
- app/assets/stylesheets/adminpanel/google_analytics_chart.css
|
509
504
|
- app/assets/stylesheets/adminpanel/select2.css
|
510
505
|
- app/assets/stylesheets/adminpanel/sortable.css.scss.erb
|
@@ -543,6 +538,7 @@ files:
|
|
543
538
|
- app/models/adminpanel/user.rb
|
544
539
|
- app/models/concerns/adminpanel/base.rb
|
545
540
|
- app/models/concerns/adminpanel/facebook.rb
|
541
|
+
- app/models/concerns/adminpanel/friendly.rb
|
546
542
|
- app/models/concerns/adminpanel/sitemap.rb
|
547
543
|
- app/models/concerns/adminpanel/sortable.rb
|
548
544
|
- app/models/concerns/adminpanel/sortable_gallery.rb
|
@@ -561,10 +557,10 @@ files:
|
|
561
557
|
- app/views/adminpanel/analytics/instagram.html.erb
|
562
558
|
- app/views/adminpanel/analytics/twitter.html.erb
|
563
559
|
- app/views/adminpanel/form/_adminpanel_file_field.html.erb
|
564
|
-
- app/views/adminpanel/form/
|
560
|
+
- app/views/adminpanel/form/_checkbox.html.erb
|
565
561
|
- app/views/adminpanel/form/_file_field.html.erb
|
566
|
-
- app/views/adminpanel/form/_has_many.html.erb
|
567
562
|
- app/views/adminpanel/form/_non_image_file_field.html.erb
|
563
|
+
- app/views/adminpanel/form/_select.html.erb
|
568
564
|
- app/views/adminpanel/icons/_delete.html.erb
|
569
565
|
- app/views/adminpanel/icons/_edit.html.erb
|
570
566
|
- app/views/adminpanel/icons/_facebook.html.erb
|
@@ -585,13 +581,13 @@ files:
|
|
585
581
|
- app/views/adminpanel/shared/_new_resource_button.html.erb
|
586
582
|
- app/views/adminpanel/shared/_remote_form_fields.html.erb
|
587
583
|
- app/views/adminpanel/shared/_twitter_publish_modal.html.erb
|
588
|
-
- app/views/adminpanel/templates/
|
589
|
-
- app/views/adminpanel/templates/create_has_many.js.erb
|
584
|
+
- app/views/adminpanel/templates/checkbox.js.erb
|
590
585
|
- app/views/adminpanel/templates/edit.html.erb
|
591
586
|
- app/views/adminpanel/templates/fb_choose_page.html.erb
|
592
587
|
- app/views/adminpanel/templates/index.html.erb
|
593
588
|
- app/views/adminpanel/templates/new.html.erb
|
594
589
|
- app/views/adminpanel/templates/new.js.erb
|
590
|
+
- app/views/adminpanel/templates/option_for_select.js.erb
|
595
591
|
- app/views/adminpanel/templates/show.html.erb
|
596
592
|
- app/views/layouts/adminpanel/_shim.html.erb
|
597
593
|
- app/views/layouts/adminpanel/_side_menu.html.erb
|
@@ -642,7 +638,6 @@ files:
|
|
642
638
|
- test/dummy/app/controllers/adminpanel/products_controller.rb
|
643
639
|
- test/dummy/app/controllers/adminpanel/salesmen_controller.rb
|
644
640
|
- test/dummy/app/controllers/application_controller.rb
|
645
|
-
- test/dummy/app/helpers/application_helper.rb
|
646
641
|
- test/dummy/app/mailers/.gitkeep
|
647
642
|
- test/dummy/app/models/adminpanel/categorization.rb
|
648
643
|
- test/dummy/app/models/adminpanel/category.rb
|
@@ -693,11 +688,16 @@ files:
|
|
693
688
|
- test/dummy/test/fixtures/adminpanel/users.yml
|
694
689
|
- test/dummy/test/fixtures/dog fries.png
|
695
690
|
- test/features/session/login_test.rb
|
691
|
+
- test/features/shared/concerns/friendly_test.rb
|
696
692
|
- test/features/shared/concerns/sortable_gallery_ui_test.rb
|
697
693
|
- test/features/shared/concerns/sortable_test.rb
|
698
694
|
- test/features/shared/form/belongs_to_remote_test.rb
|
695
|
+
- test/features/shared/form/checkbox_test.rb
|
696
|
+
- test/features/shared/form/enum_field_test.rb
|
699
697
|
- test/features/shared/form/has_many_through_remote_test.rb
|
700
|
-
- test/features/shared/form/
|
698
|
+
- test/features/shared/form/modal_contents_test.rb
|
699
|
+
- test/features/shared/form/resource_field_test.rb
|
700
|
+
- test/features/shared/form/select_test.rb
|
701
701
|
- test/features/shared/resource/edit_test.rb
|
702
702
|
- test/features/shared/resource/index_test.rb
|
703
703
|
- test/features/shared/resource/new_test.rb
|
@@ -761,7 +761,6 @@ test_files:
|
|
761
761
|
- test/dummy/app/controllers/adminpanel/products_controller.rb
|
762
762
|
- test/dummy/app/controllers/adminpanel/salesmen_controller.rb
|
763
763
|
- test/dummy/app/controllers/application_controller.rb
|
764
|
-
- test/dummy/app/helpers/application_helper.rb
|
765
764
|
- test/dummy/app/mailers/.gitkeep
|
766
765
|
- test/dummy/app/models/adminpanel/categorization.rb
|
767
766
|
- test/dummy/app/models/adminpanel/category.rb
|
@@ -812,11 +811,16 @@ test_files:
|
|
812
811
|
- test/dummy/test/fixtures/adminpanel/users.yml
|
813
812
|
- test/dummy/test/fixtures/dog fries.png
|
814
813
|
- test/features/session/login_test.rb
|
814
|
+
- test/features/shared/concerns/friendly_test.rb
|
815
815
|
- test/features/shared/concerns/sortable_gallery_ui_test.rb
|
816
816
|
- test/features/shared/concerns/sortable_test.rb
|
817
817
|
- test/features/shared/form/belongs_to_remote_test.rb
|
818
|
+
- test/features/shared/form/checkbox_test.rb
|
819
|
+
- test/features/shared/form/enum_field_test.rb
|
818
820
|
- test/features/shared/form/has_many_through_remote_test.rb
|
819
|
-
- test/features/shared/form/
|
821
|
+
- test/features/shared/form/modal_contents_test.rb
|
822
|
+
- test/features/shared/form/resource_field_test.rb
|
823
|
+
- test/features/shared/form/select_test.rb
|
820
824
|
- test/features/shared/resource/edit_test.rb
|
821
825
|
- test/features/shared/resource/index_test.rb
|
822
826
|
- test/features/shared/resource/new_test.rb
|
@@ -841,3 +845,4 @@ test_files:
|
|
841
845
|
- test/support/view_case.rb
|
842
846
|
- test/tasks/adminpanel_rake_test.rb
|
843
847
|
- test/test_helper.rb
|
848
|
+
has_rdoc:
|