glib-web 3.14.0 → 3.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/glib/json/libs.rb +13 -8
- data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
- data/app/helpers/glib/app_feature_support_helper.rb +0 -0
- data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
- data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
- data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
- data/app/helpers/glib/json_ui/table_builders.rb +0 -0
- data/app/helpers/glib/json_ui/view_builder/charts.rb +3 -0
- data/app/models/glib/active_storage/attachment.rb +0 -0
- data/app/models/glib/active_storage/blob.rb +0 -0
- data/app/models/glib/dynamic_text_record.rb +0 -0
- data/app/models/glib/text.rb +0 -0
- data/app/validators/email_typo_validator.rb +0 -0
- data/app/validators/email_validator.rb +0 -0
- data/app/validators/url_validator.rb +0 -0
- data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
- data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/custom_style_class.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/charts.json.jbuilder +4 -4
- data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
- data/app/views/layouts/json_ui/no_custom.html.erb +0 -0
- data/lib/generators/glib/install_generator.rb +0 -0
- data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
- data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
- data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
- data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
- data/lib/generators/templates/database.yml +0 -0
- data/lib/generators/templates/dynamic_text.rb +0 -0
- data/lib/glib/crypt/utils.rb +0 -0
- data/lib/glib/crypt.rb +0 -0
- data/lib/glib/dynamic_text/config.rb +0 -0
- data/lib/glib/dynamic_text.rb +0 -0
- data/lib/glib/engine.rb +0 -0
- data/lib/glib/json_crawler/action_crawler.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
- data/lib/glib/json_crawler/coverage.rb +0 -0
- data/lib/glib/json_crawler.rb +0 -0
- data/lib/glib/mailer_tester.rb +0 -0
- data/lib/glib/value.rb +0 -0
- data/lib/glib/version.rb +0 -0
- data/lib/glib-web.rb +0 -0
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73a7b9c04e171d374cba337720592ea50ac8ef1a7d15d1af315490d7cfa1f044
|
4
|
+
data.tar.gz: c583570b3b87c94fb65202efbb31fd67a324e1139466154739e2ae0ed0afc3d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d117002112d56a0a729cdebf8aca501154597d048df97dfe8de90a4fc11cebe35343fb9a904d9930fbe90bb52b882467f33d4b1207949c1935b1ba0164acae8c
|
7
|
+
data.tar.gz: 31efc5d359c71fd256e0597ce3396bf5123fe9d70c7f0e3f26f092154fb9ac71b77e18e106d5bcce44bb4f783f7a9640d01ae35af6920b261ce3a0e9cecd36db
|
@@ -66,7 +66,7 @@ module Glib::Json::Libs
|
|
66
66
|
redirect_to url
|
67
67
|
end
|
68
68
|
format.json do
|
69
|
-
|
69
|
+
json_ui_redirect_to url
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
@@ -132,16 +132,21 @@ module Glib::Json::Libs
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def __delete_redirect_back_url(url)
|
135
|
-
|
135
|
+
session.delete(REDIRECT_BACK_KEY) || url
|
136
136
|
end
|
137
137
|
|
138
|
-
def glib_redirect_back_or_to(
|
139
|
-
|
140
|
-
|
138
|
+
# def glib_redirect_back_or_to(default_url)
|
139
|
+
# redirect_url = __delete_redirect_back_url(default_url)
|
140
|
+
# glib_redirect_to redirect_url
|
141
|
+
# end
|
142
|
+
|
143
|
+
def html_ui_redirect_back_or_to(default_url)
|
144
|
+
redirect_url = __delete_redirect_back_url(default_url)
|
145
|
+
redirect_to redirect_url
|
141
146
|
end
|
142
147
|
|
143
|
-
def json_ui_redirect_back_or_to(
|
144
|
-
redirect_url = __delete_redirect_back_url(
|
148
|
+
def json_ui_redirect_back_or_to(default_url, json_action)
|
149
|
+
redirect_url = __delete_redirect_back_url(default_url)
|
145
150
|
json_action.windows_closeAll onClose: ->(subaction) do
|
146
151
|
subaction.windows_open url: redirect_url
|
147
152
|
end
|
@@ -182,7 +187,7 @@ module Glib::Json::Libs
|
|
182
187
|
end
|
183
188
|
end
|
184
189
|
|
185
|
-
def
|
190
|
+
def json_ui_redirect_to(url)
|
186
191
|
render json: {
|
187
192
|
onResponse: { action: 'dialogs/close', onClose: { action: 'windows/open', url: url } }
|
188
193
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -41,6 +41,7 @@ class Glib::JsonUi::ViewBuilder
|
|
41
41
|
string :suffix
|
42
42
|
int :min
|
43
43
|
int :max
|
44
|
+
string :legend
|
44
45
|
# idea for the future
|
45
46
|
# hash :nextPage
|
46
47
|
end
|
@@ -54,6 +55,7 @@ class Glib::JsonUi::ViewBuilder
|
|
54
55
|
string :suffix
|
55
56
|
int :min
|
56
57
|
int :max
|
58
|
+
string :legend
|
57
59
|
end
|
58
60
|
|
59
61
|
class Pie < View
|
@@ -63,6 +65,7 @@ class Glib::JsonUi::ViewBuilder
|
|
63
65
|
string :suffix
|
64
66
|
int :min
|
65
67
|
int :max
|
68
|
+
string :legend
|
66
69
|
|
67
70
|
end
|
68
71
|
|
File without changes
|
File without changes
|
File without changes
|
data/app/models/glib/text.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -43,7 +43,7 @@ else
|
|
43
43
|
json.points points.map { |k, v| { x: k, y: v } }
|
44
44
|
end
|
45
45
|
],
|
46
|
-
colors: ['#79AC78', '#3085C3']
|
46
|
+
colors: ['#79AC78', '#3085C3'], legend: 'bottom'
|
47
47
|
|
48
48
|
# scroll.spacer height: 20
|
49
49
|
# scroll.h1 text: 'Line chart using remote data'
|
@@ -79,7 +79,7 @@ else
|
|
79
79
|
json.points points
|
80
80
|
end
|
81
81
|
],
|
82
|
-
colors: ['#b00', '#666', '#E55604']
|
82
|
+
colors: ['#b00', '#666', '#E55604'], legend: 'left'
|
83
83
|
|
84
84
|
scroll.h2 text: 'Column chart (Stacked)'
|
85
85
|
scroll.charts_column stacked: true, dataGroups: [
|
@@ -110,7 +110,7 @@ else
|
|
110
110
|
}
|
111
111
|
json.points points
|
112
112
|
end
|
113
|
-
]
|
113
|
+
], legend: 'bottom'
|
114
114
|
|
115
115
|
scroll.h2 text: 'Pie chart'
|
116
116
|
scroll.charts_pie dataSeries: [
|
@@ -122,7 +122,7 @@ else
|
|
122
122
|
json.title 'Banana'
|
123
123
|
json.value 25
|
124
124
|
end
|
125
|
-
]
|
125
|
+
], legend: 'bottom'
|
126
126
|
|
127
127
|
scroll.h2 text: 'Area chart'
|
128
128
|
scroll.charts_area dataSeries: [
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/glib/crypt/utils.rb
CHANGED
File without changes
|
data/lib/glib/crypt.rb
CHANGED
File without changes
|
File without changes
|
data/lib/glib/dynamic_text.rb
CHANGED
File without changes
|
data/lib/glib/engine.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/glib/json_crawler.rb
CHANGED
File without changes
|
data/lib/glib/mailer_tester.rb
CHANGED
File without changes
|
data/lib/glib/value.rb
CHANGED
File without changes
|
data/lib/glib/version.rb
CHANGED
File without changes
|
data/lib/glib-web.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.14.
|
4
|
+
version: 3.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -326,8 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
- !ruby/object:Gem::Version
|
327
327
|
version: '0'
|
328
328
|
requirements: []
|
329
|
-
|
330
|
-
rubygems_version: 2.7.6
|
329
|
+
rubygems_version: 3.4.6
|
331
330
|
signing_key:
|
332
331
|
specification_version: 4
|
333
332
|
summary: ''
|