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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/glib/json/libs.rb +13 -8
  3. data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
  4. data/app/helpers/glib/app_feature_support_helper.rb +0 -0
  5. data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
  6. data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
  7. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  8. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  9. data/app/helpers/glib/json_ui/table_builders.rb +0 -0
  10. data/app/helpers/glib/json_ui/view_builder/charts.rb +3 -0
  11. data/app/models/glib/active_storage/attachment.rb +0 -0
  12. data/app/models/glib/active_storage/blob.rb +0 -0
  13. data/app/models/glib/dynamic_text_record.rb +0 -0
  14. data/app/models/glib/text.rb +0 -0
  15. data/app/validators/email_typo_validator.rb +0 -0
  16. data/app/validators/email_validator.rb +0 -0
  17. data/app/validators/url_validator.rb +0 -0
  18. data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
  19. data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
  20. data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
  21. data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
  22. data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
  23. data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
  24. data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
  25. data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
  26. data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
  27. data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
  28. data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
  29. data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
  30. data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
  31. data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
  32. data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
  33. data/app/views/json_ui/garage/pages/custom_style_class.json.jbuilder +0 -0
  34. data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
  35. data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
  36. data/app/views/json_ui/garage/pages/index.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  53. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  54. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  55. data/app/views/json_ui/garage/views/charts.json.jbuilder +4 -4
  56. data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
  57. data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
  58. data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
  59. data/app/views/layouts/json_ui/no_custom.html.erb +0 -0
  60. data/lib/generators/glib/install_generator.rb +0 -0
  61. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  62. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  63. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  64. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  65. data/lib/generators/templates/database.yml +0 -0
  66. data/lib/generators/templates/dynamic_text.rb +0 -0
  67. data/lib/glib/crypt/utils.rb +0 -0
  68. data/lib/glib/crypt.rb +0 -0
  69. data/lib/glib/dynamic_text/config.rb +0 -0
  70. data/lib/glib/dynamic_text.rb +0 -0
  71. data/lib/glib/engine.rb +0 -0
  72. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  73. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  74. data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
  75. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  76. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  77. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  78. data/lib/glib/json_crawler/coverage.rb +0 -0
  79. data/lib/glib/json_crawler.rb +0 -0
  80. data/lib/glib/mailer_tester.rb +0 -0
  81. data/lib/glib/value.rb +0 -0
  82. data/lib/glib/version.rb +0 -0
  83. data/lib/glib-web.rb +0 -0
  84. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33411954512fada9329818d4e011f5cb70f9c528a034fd87b8737318af18e07d
4
- data.tar.gz: 492020f2693abdd8ffc38334c771cbe550952044f3030f9221fe163c5c49b103
3
+ metadata.gz: 73a7b9c04e171d374cba337720592ea50ac8ef1a7d15d1af315490d7cfa1f044
4
+ data.tar.gz: c583570b3b87c94fb65202efbb31fd67a324e1139466154739e2ae0ed0afc3d3
5
5
  SHA512:
6
- metadata.gz: 97d3edb87b4e25bb71318dea8dd8243a2f98be27f74ac612e135100bfb5b12317c2b39e763f4e1301c2e3c08736fa7411f91a5a37eea96e1148b0d9d0e1e9841
7
- data.tar.gz: 032b11ef90b8b22768459248da39de1a16f6342940cd902974bc96dc7d5a7c11acd7797d599e14bf21b11979b4ed237c053f9d82855856f29a7453b4f6ae98c4
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
- glib_json_redirect_to url
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
- redirect_url = session.delete(REDIRECT_BACK_KEY) || url
135
+ session.delete(REDIRECT_BACK_KEY) || url
136
136
  end
137
137
 
138
- def glib_redirect_back_or_to(url)
139
- redirect_url = __delete_redirect_back_url(url)
140
- glib_redirect_to redirect_url
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(url, json_action)
144
- redirect_url = __delete_redirect_back_url(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 glib_json_redirect_to(url)
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
@@ -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
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
data/lib/glib/crypt.rb CHANGED
File without changes
File without changes
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
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.0
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
- rubyforge_project:
330
- rubygems_version: 2.7.6
329
+ rubygems_version: 3.4.6
331
330
  signing_key:
332
331
  specification_version: 4
333
332
  summary: ''