railspress-engine 1.2.0 → 1.3.0
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 +1 -1
- data/app/assets/javascripts/railspress/admin.js +54 -0
- data/app/assets/stylesheets/railspress/admin/buttons.css +12 -0
- data/app/assets/stylesheets/railspress/admin/cards.css +8 -0
- data/app/assets/stylesheets/railspress/admin/forms.css +21 -0
- data/app/assets/stylesheets/railspress/admin/layout.css +88 -0
- data/app/assets/stylesheets/railspress/admin/responsive.css +15 -0
- data/app/controllers/railspress/admin/agent_bootstrap_keys_controller.rb +109 -0
- data/app/controllers/railspress/admin/api_keys_controller.rb +165 -0
- data/app/controllers/railspress/admin/base_controller.rb +61 -1
- data/app/controllers/railspress/api/v1/agent_key_exchanges_controller.rb +50 -0
- data/app/controllers/railspress/api/v1/base_controller.rb +52 -0
- data/app/controllers/railspress/api/v1/categories_controller.rb +89 -0
- data/app/controllers/railspress/api/v1/concerns/post_serialization.rb +130 -0
- data/app/controllers/railspress/api/v1/post_header_image_contexts_controller.rb +158 -0
- data/app/controllers/railspress/api/v1/post_header_image_focal_points_controller.rb +74 -0
- data/app/controllers/railspress/api/v1/post_header_images_controller.rb +58 -0
- data/app/controllers/railspress/api/v1/post_imports_controller.rb +118 -0
- data/app/controllers/railspress/api/v1/posts_controller.rb +127 -0
- data/app/controllers/railspress/api/v1/prime_controller.rb +78 -0
- data/app/controllers/railspress/api/v1/tags_controller.rb +85 -0
- data/app/helpers/railspress/admin_helper.rb +19 -0
- data/app/models/railspress/agent_bootstrap_key.rb +163 -0
- data/app/models/railspress/api_key.rb +157 -0
- data/app/models/railspress/post_export_processor.rb +16 -2
- data/app/views/railspress/admin/agent_bootstrap_keys/_form.html.erb +25 -0
- data/app/views/railspress/admin/agent_bootstrap_keys/new.html.erb +7 -0
- data/app/views/railspress/admin/agent_bootstrap_keys/reveal.html.erb +38 -0
- data/app/views/railspress/admin/api_keys/_form.html.erb +25 -0
- data/app/views/railspress/admin/api_keys/index.html.erb +142 -0
- data/app/views/railspress/admin/api_keys/new.html.erb +7 -0
- data/app/views/railspress/admin/api_keys/reveal.html.erb +40 -0
- data/app/views/railspress/admin/posts/_form.html.erb +1 -1
- data/app/views/railspress/admin/posts/_post_row.html.erb +1 -1
- data/app/views/railspress/admin/posts/show.html.erb +1 -1
- data/app/views/railspress/admin/shared/_copyable_textarea.html.erb +17 -0
- data/app/views/railspress/admin/shared/_sidebar.html.erb +46 -0
- data/config/routes.rb +33 -0
- data/db/migrate/20260415000001_create_railspress_api_keys.rb +40 -0
- data/db/migrate/20260415000002_create_railspress_agent_bootstrap_keys.rb +37 -0
- data/lib/generators/railspress/install/templates/initializer.rb +11 -0
- data/lib/railspress/version.rb +1 -1
- data/lib/railspress.rb +49 -1
- metadata +26 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railspress-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Avi Flombaum
|
|
@@ -157,6 +157,8 @@ files:
|
|
|
157
157
|
- app/assets/stylesheets/railspress/admin/utilities.css
|
|
158
158
|
- app/assets/stylesheets/railspress/admin/variables.css
|
|
159
159
|
- app/assets/stylesheets/railspress/application.css
|
|
160
|
+
- app/controllers/railspress/admin/agent_bootstrap_keys_controller.rb
|
|
161
|
+
- app/controllers/railspress/admin/api_keys_controller.rb
|
|
160
162
|
- app/controllers/railspress/admin/base_controller.rb
|
|
161
163
|
- app/controllers/railspress/admin/categories_controller.rb
|
|
162
164
|
- app/controllers/railspress/admin/cms_transfers_controller.rb
|
|
@@ -171,6 +173,17 @@ files:
|
|
|
171
173
|
- app/controllers/railspress/admin/posts_controller.rb
|
|
172
174
|
- app/controllers/railspress/admin/prototypes_controller.rb
|
|
173
175
|
- app/controllers/railspress/admin/tags_controller.rb
|
|
176
|
+
- app/controllers/railspress/api/v1/agent_key_exchanges_controller.rb
|
|
177
|
+
- app/controllers/railspress/api/v1/base_controller.rb
|
|
178
|
+
- app/controllers/railspress/api/v1/categories_controller.rb
|
|
179
|
+
- app/controllers/railspress/api/v1/concerns/post_serialization.rb
|
|
180
|
+
- app/controllers/railspress/api/v1/post_header_image_contexts_controller.rb
|
|
181
|
+
- app/controllers/railspress/api/v1/post_header_image_focal_points_controller.rb
|
|
182
|
+
- app/controllers/railspress/api/v1/post_header_images_controller.rb
|
|
183
|
+
- app/controllers/railspress/api/v1/post_imports_controller.rb
|
|
184
|
+
- app/controllers/railspress/api/v1/posts_controller.rb
|
|
185
|
+
- app/controllers/railspress/api/v1/prime_controller.rb
|
|
186
|
+
- app/controllers/railspress/api/v1/tags_controller.rb
|
|
174
187
|
- app/controllers/railspress/application_controller.rb
|
|
175
188
|
- app/helpers/railspress/admin_helper.rb
|
|
176
189
|
- app/helpers/railspress/application_helper.rb
|
|
@@ -190,6 +203,8 @@ files:
|
|
|
190
203
|
- app/models/concerns/railspress/has_focal_point.rb
|
|
191
204
|
- app/models/concerns/railspress/soft_deletable.rb
|
|
192
205
|
- app/models/concerns/railspress/taggable.rb
|
|
206
|
+
- app/models/railspress/agent_bootstrap_key.rb
|
|
207
|
+
- app/models/railspress/api_key.rb
|
|
193
208
|
- app/models/railspress/application_record.rb
|
|
194
209
|
- app/models/railspress/category.rb
|
|
195
210
|
- app/models/railspress/content_element.rb
|
|
@@ -210,6 +225,13 @@ files:
|
|
|
210
225
|
- app/views/layouts/action_text/contents/_content.html.erb
|
|
211
226
|
- app/views/layouts/railspress/admin.html.erb
|
|
212
227
|
- app/views/layouts/railspress/application.html.erb
|
|
228
|
+
- app/views/railspress/admin/agent_bootstrap_keys/_form.html.erb
|
|
229
|
+
- app/views/railspress/admin/agent_bootstrap_keys/new.html.erb
|
|
230
|
+
- app/views/railspress/admin/agent_bootstrap_keys/reveal.html.erb
|
|
231
|
+
- app/views/railspress/admin/api_keys/_form.html.erb
|
|
232
|
+
- app/views/railspress/admin/api_keys/index.html.erb
|
|
233
|
+
- app/views/railspress/admin/api_keys/new.html.erb
|
|
234
|
+
- app/views/railspress/admin/api_keys/reveal.html.erb
|
|
213
235
|
- app/views/railspress/admin/categories/_form.html.erb
|
|
214
236
|
- app/views/railspress/admin/categories/edit.html.erb
|
|
215
237
|
- app/views/railspress/admin/categories/index.html.erb
|
|
@@ -244,6 +266,7 @@ files:
|
|
|
244
266
|
- app/views/railspress/admin/posts/new.html.erb
|
|
245
267
|
- app/views/railspress/admin/posts/show.html.erb
|
|
246
268
|
- app/views/railspress/admin/prototypes/image_section.html.erb
|
|
269
|
+
- app/views/railspress/admin/shared/_copyable_textarea.html.erb
|
|
247
270
|
- app/views/railspress/admin/shared/_dropzone.html.erb
|
|
248
271
|
- app/views/railspress/admin/shared/_flash.html.erb
|
|
249
272
|
- app/views/railspress/admin/shared/_focal_point_editor.html.erb
|
|
@@ -275,6 +298,8 @@ files:
|
|
|
275
298
|
- db/migrate/20260207000001_add_unique_index_to_content_elements.rb
|
|
276
299
|
- db/migrate/20260211112812_add_image_hint_to_railspress_content_elements.rb
|
|
277
300
|
- db/migrate/20260211154040_add_required_to_railspress_content_elements.rb
|
|
301
|
+
- db/migrate/20260415000001_create_railspress_api_keys.rb
|
|
302
|
+
- db/migrate/20260415000002_create_railspress_agent_bootstrap_keys.rb
|
|
278
303
|
- lib/generators/railspress/entity/entity_generator.rb
|
|
279
304
|
- lib/generators/railspress/entity/templates/migration.rb.tt
|
|
280
305
|
- lib/generators/railspress/entity/templates/model.rb.tt
|