alchemy_cms 4.1.0.beta → 4.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/Bug_report.md +27 -0
  3. data/.github/ISSUE_TEMPLATE/Feature_request.md +17 -0
  4. data/CHANGELOG.md +228 -170
  5. data/PULL_REQUEST_TEMPLATE.md +14 -0
  6. data/README.md +10 -0
  7. data/alchemy_cms.gemspec +1 -1
  8. data/app/assets/images/alchemy/icon-white.svg +1 -0
  9. data/app/assets/javascripts/alchemy/admin.js +4 -4
  10. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +5 -1
  11. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee +2 -2
  12. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +0 -2
  13. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +3 -2
  14. data/app/assets/stylesheets/alchemy/_extends.scss +3 -18
  15. data/app/assets/stylesheets/alchemy/_mixins.scss +32 -16
  16. data/app/assets/stylesheets/alchemy/_variables.scss +19 -14
  17. data/app/assets/stylesheets/alchemy/admin.scss +1 -0
  18. data/app/assets/stylesheets/alchemy/archive.scss +49 -162
  19. data/app/assets/stylesheets/alchemy/base.scss +4 -4
  20. data/app/assets/stylesheets/alchemy/buttons.scss +14 -40
  21. data/app/assets/stylesheets/alchemy/dialogs.scss +1 -2
  22. data/app/assets/stylesheets/alchemy/elements.scss +49 -33
  23. data/app/assets/stylesheets/alchemy/form_fields.scss +11 -2
  24. data/app/assets/stylesheets/alchemy/forms.scss +1 -1
  25. data/app/assets/stylesheets/alchemy/frame.scss +3 -2
  26. data/app/assets/stylesheets/alchemy/image_library.scss +19 -13
  27. data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +10 -13
  28. data/app/assets/stylesheets/alchemy/menubar.scss +8 -6
  29. data/app/assets/stylesheets/alchemy/navigation.scss +18 -0
  30. data/app/assets/stylesheets/alchemy/preview_window.scss +1 -1
  31. data/app/assets/stylesheets/alchemy/search.scss +6 -57
  32. data/app/assets/stylesheets/alchemy/selects.scss +6 -20
  33. data/app/assets/stylesheets/alchemy/sitemap.scss +2 -2
  34. data/app/assets/stylesheets/alchemy/spinner.scss +1 -1
  35. data/app/assets/stylesheets/alchemy/tables.scss +19 -2
  36. data/app/assets/stylesheets/alchemy/tags.scss +183 -0
  37. data/app/assets/stylesheets/alchemy/toolbar.scss +0 -2
  38. data/app/assets/stylesheets/alchemy/upload.scss +1 -1
  39. data/app/assets/stylesheets/alchemy/welcome.sass +11 -11
  40. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +9 -3
  41. data/app/controllers/alchemy/admin/dashboard_controller.rb +1 -1
  42. data/app/controllers/alchemy/admin/elements_controller.rb +4 -1
  43. data/app/controllers/alchemy/admin/pictures_controller.rb +1 -1
  44. data/app/controllers/alchemy/pages_controller.rb +1 -1
  45. data/app/helpers/alchemy/admin/base_helper.rb +1 -1
  46. data/app/models/alchemy/cell.rb +1 -1
  47. data/app/models/alchemy/content.rb +2 -2
  48. data/app/models/alchemy/element.rb +3 -3
  49. data/app/models/alchemy/essence_file.rb +1 -1
  50. data/app/models/alchemy/essence_picture.rb +1 -1
  51. data/app/models/alchemy/folded_page.rb +2 -3
  52. data/app/models/alchemy/language.rb +1 -1
  53. data/app/models/alchemy/page.rb +1 -1
  54. data/app/models/alchemy/picture/transformations.rb +4 -1
  55. data/app/views/alchemy/admin/elements/index.html.erb +4 -2
  56. data/app/views/alchemy/admin/elements/new.html.erb +2 -1
  57. data/app/views/alchemy/admin/pictures/_infos.html.erb +17 -6
  58. data/app/views/alchemy/admin/uploader/_button.html.erb +2 -2
  59. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +12 -7
  60. data/app/views/alchemy/essences/shared/_linkable_essence_tools.html.erb +1 -0
  61. data/app/views/alchemy/welcome.html.erb +0 -2
  62. data/config/initializers/assets.rb +1 -0
  63. data/config/locales/alchemy.en.yml +1 -0
  64. data/lib/alchemy/tinymce.rb +1 -1
  65. data/lib/alchemy/version.rb +1 -1
  66. data/vendor/assets/stylesheets/{jquery.Jcrop.min.css → jquery.Jcrop.min.scss} +1 -1
  67. metadata +10 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '084ab3053975356290606cfd0c9d6e6097f6a46878a8f94ff1b24bfa6b2c16d1'
4
- data.tar.gz: 99bc5df70b19f79ec32274dab59005e51793b59e976e76e8555237748707174c
3
+ metadata.gz: f7c6e6c1f40e4383311b0a9957b13821fa7016452762aeb0c5f4d84d82064939
4
+ data.tar.gz: 639a56f67ce75ce52cc937acfc83e2a9d86c0047c3ee07f923f77c9ba79d3075
5
5
  SHA512:
6
- metadata.gz: 96ad91029980370ccad1db4f32c0baadded1216f05bbbf818aaa90c425512fb851aac9651b5365d9e0550050a61fae616cfcb45a3fd31f1c31110646a00b86b8
7
- data.tar.gz: 8faae7e20c891abf20dc2b184fd3643a4fc26ec5f8be39085274a69db0ec79b15bfed9cc2784d71a79cfaca0f9f7ee34e8d79a386bab7c935fa1115e2e9d4e1f
6
+ metadata.gz: b0f19bf04cab697f7cca03f324edd068ecd935124967253dbfd03581647a876b0b2f31cfdd6dc57ac8e9cbd86c366fa18b827f7114aeaea362d87f36c99b436c
7
+ data.tar.gz: 3763b1f005cd66a6da77165c9ed8c9ba28f7851c3ec798cfc0153238cd3ecbca475c6ba4e82e85d13493eb978b0c572cbcf38179ba15610fbb3b3696d8da8e28
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+
5
+ ---
6
+
7
+ ### Steps to reproduce
8
+
9
+ How can we make this happen
10
+
11
+ ### Expected behavior
12
+
13
+ Tell us what should happen
14
+
15
+ ### Actual behavior
16
+
17
+ Tell us what happens instead
18
+
19
+ ### System configuration
20
+
21
+ - Alchemy Version:
22
+ - Rails Version:
23
+ - Contents of your `Gemfile.lock`
24
+
25
+ ```ruby
26
+ # Replace with Gemfile.lock content
27
+ ```
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+
5
+ ---
6
+
7
+ **Is your feature request related to a problem? Please describe.**
8
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9
+
10
+ **Describe the solution you'd like**
11
+ A clear and concise description of what you want to happen.
12
+
13
+ **Describe alternatives you've considered**
14
+ A clear and concise description of any alternative solutions or features you've considered.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
data/CHANGELOG.md CHANGED
@@ -1,282 +1,340 @@
1
- # Change Log
2
-
3
1
  ## 4.1.0 (unreleased)
4
2
 
5
- * Replaces PNG icons with FontAwesome icon font [#1342](https://github.com/AlchemyCMS/alchemy_cms/pull/1342) by [tvdeyen](https://github.com/tvdeyen)
6
- * Remove pleaseWait overlay from links with GET requests [#1343](https://github.com/AlchemyCMS/alchemy_cms/pull/1343) by [tvdeyen](https://github.com/tvdeyen)
7
- * Removed fixed table headers from admin resource tables [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
8
- * Removed Bourbon Sass library [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
3
+ - New picture thumbnail style [#1447](https://github.com/AlchemyCMS/alchemy_cms/pull/1447) ([tvdeyen](https://github.com/tvdeyen))
4
+ - Use optional: true for optional belongs_to associations [#1441](https://github.com/AlchemyCMS/alchemy_cms/pull/1441) ([tvdeyen](https://github.com/tvdeyen))
5
+ - Set parent element id when pasting from clipboard [#1440](https://github.com/AlchemyCMS/alchemy_cms/pull/1440) ([tvdeyen](https://github.com/tvdeyen))
6
+ - Add must_revalidate to cache-control header [#1439](https://github.com/AlchemyCMS/alchemy_cms/pull/1439) ([afdev82](https://github.com/afdev82))
7
+ - Load Jcrop selection gif via asset pipeline [#1427](https://github.com/AlchemyCMS/alchemy_cms/pull/1427) ([tvdeyen](https://github.com/tvdeyen))
8
+ - Extract tags css rules into own file [#1424](https://github.com/AlchemyCMS/alchemy_cms/pull/1424) ([tvdeyen](https://github.com/tvdeyen))
9
+ - Adjust the welcome screen to new color theme [#1423](https://github.com/AlchemyCMS/alchemy_cms/pull/1423) ([tvdeyen](https://github.com/tvdeyen))
10
+ - Update jquery-ui-rails to 6.0 [#1420](https://github.com/AlchemyCMS/alchemy_cms/pull/1420) ([tvdeyen](https://github.com/tvdeyen))
11
+ - Add a Heroku Deploy button [#1416](https://github.com/AlchemyCMS/alchemy_cms/pull/1416) ([tvdeyen](https://github.com/tvdeyen))
12
+ - Upgrade simple_form to 4.0 [#1413](https://github.com/AlchemyCMS/alchemy_cms/pull/1413) ([depfu](https://github.com/apps/depfu))
13
+ - Capybara 3.0 support [#1409](https://github.com/AlchemyCMS/alchemy_cms/pull/1409) ([tvdeyen](https://github.com/tvdeyen))
14
+ - Handle zero plural resource names [#1407](https://github.com/AlchemyCMS/alchemy_cms/pull/1407) ([dbwinger](https://github.com/dbwinger))
15
+ - Do not reload essence classes in dev mode [#1400](https://github.com/AlchemyCMS/alchemy_cms/pull/1400) ([tvdeyen](https://github.com/tvdeyen))
16
+ - Move all translations into `alchemy_i18n` extension [#1398](https://github.com/AlchemyCMS/alchemy_cms/pull/1398) ([tvdeyen](https://github.com/tvdeyen))
17
+ - Add `nested_elements` to serialized element json [#1397](https://github.com/AlchemyCMS/alchemy_cms/pull/1397) ([tvdeyen](https://github.com/tvdeyen))
18
+ - Fix passing html options to form builder submit input [#1394](https://github.com/AlchemyCMS/alchemy_cms/pull/1394) ([tvdeyen](https://github.com/tvdeyen))
19
+ - New orange logo [#1392](https://github.com/AlchemyCMS/alchemy_cms/pull/1392) ([tvdeyen](https://github.com/tvdeyen))
20
+ - Use Open Sans for admin font [#1391](https://github.com/AlchemyCMS/alchemy_cms/pull/1391) ([tvdeyen](https://github.com/tvdeyen))
21
+ - Use ActiveRecord touching [#1390](https://github.com/AlchemyCMS/alchemy_cms/pull/1390) ([tvdeyen](https://github.com/tvdeyen))
22
+ - Add Rails 5.2 support [#1387](https://github.com/AlchemyCMS/alchemy_cms/pull/1387) ([tvdeyen](https://github.com/tvdeyen))
23
+ - Use at least jquery-rails 4.0.4 [#1378](https://github.com/AlchemyCMS/alchemy_cms/pull/1378) ([tvdeyen](https://github.com/tvdeyen))
24
+ - Upgrade cancancan to version 2.1 [#1372](https://github.com/AlchemyCMS/alchemy_cms/pull/1372) ([depfu](https://github.com/apps/depfu))
25
+ - Upgrade kaminari to version 1.1 [#1370](https://github.com/AlchemyCMS/alchemy_cms/pull/1370) ([depfu](https://github.com/apps/depfu))
26
+ - Use Gutentag for tags [#1364](https://github.com/AlchemyCMS/alchemy_cms/pull/1364) ([tvdeyen](https://github.com/tvdeyen))
27
+ - Remove all old migration files [#1367](https://github.com/AlchemyCMS/alchemy_cms/pull/1367) ([tvdeyen](https://github.com/tvdeyen))
28
+ - Compress 4.0 migrations [#1362](https://github.com/AlchemyCMS/alchemy_cms/pull/1362) ([tvdeyen](https://github.com/tvdeyen))
29
+ - Removes 3.x upgraders [#1361](https://github.com/AlchemyCMS/alchemy_cms/pull/1361) ([tvdeyen](https://github.com/tvdeyen))
30
+ - Fix API response for users able to edit content [#1356](https://github.com/AlchemyCMS/alchemy_cms/pull/1356) ([tvdeyen](https://github.com/tvdeyen))
31
+ - Remove jasmine gems [#1355](https://github.com/AlchemyCMS/alchemy_cms/pull/1355) ([tvdeyen](https://github.com/tvdeyen))
32
+ - Remove translations provided by ActiveModel [#1354](https://github.com/AlchemyCMS/alchemy_cms/pull/1354) ([pelargir](https://github.com/pelargir))
33
+ - Update bundled TinyMCE to 4.7.5 [#1353](https://github.com/AlchemyCMS/alchemy_cms/pull/1353) ([tvdeyen](https://github.com/tvdeyen))
34
+ - New color theme [#1352](https://github.com/AlchemyCMS/alchemy_cms/pull/1352) ([tvdeyen](https://github.com/tvdeyen))
35
+ - Only scroll to element if focused from preview [#1351](https://github.com/AlchemyCMS/alchemy_cms/pull/1351) ([tvdeyen](https://github.com/tvdeyen))
36
+ - Use headless chrome for feature tests [#1347](https://github.com/AlchemyCMS/alchemy_cms/pull/1347) ([tvdeyen](https://github.com/tvdeyen))
37
+ - New table styles [#1344](https://github.com/AlchemyCMS/alchemy_cms/pull/1344) ([tvdeyen](https://github.com/tvdeyen))
38
+ - Replaces PNG icons with FontAwesome icon font [#1342](https://github.com/AlchemyCMS/alchemy_cms/pull/1342) by [tvdeyen](https://github.com/tvdeyen)
39
+ - Remove pleaseWait overlay from links with GET requests [#1343](https://github.com/AlchemyCMS/alchemy_cms/pull/1343) by [tvdeyen](https://github.com/tvdeyen)
40
+ - Removed fixed table headers from admin resource tables [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
41
+ - Removed Bourbon Sass library [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
42
+ - Add possibility to add a suffix to the page title [#1331](https://github.com/AlchemyCMS/alchemy_cms/pull/1331) ([jrieger](https://github.com/jrieger))
43
+ - Do not add leading slash to default admin path [#1329](https://github.com/AlchemyCMS/alchemy_cms/pull/1329) ([tvdeyen](https://github.com/tvdeyen))
44
+ - Check if file exists on disk before calling identify [#1327](https://github.com/AlchemyCMS/alchemy_cms/pull/1327) ([chalmagean](https://github.com/chalmagean))
45
+ - Skip folded deeper levels when rendering page tree [#1324](https://github.com/AlchemyCMS/alchemy_cms/pull/1324) ([pascalj](https://github.com/pascalj))
46
+
47
+ ## 4.0.3 (2018-05-14)
48
+
49
+ - Add must_revalidate to cache-control header [#1340](https://github.com/AlchemyCMS/alchemy_cms/pull/1340) ([afdev82](https://github.com/afdev82))
50
+
51
+ ## 4.0.2 (2018-05-08)
52
+
53
+ - Fix draggable trash item feature [#1429](https://github.com/AlchemyCMS/alchemy_cms/pull/1429) ([tvdeyen](https://github.com/tvdeyen))
54
+ - Allow CanCanCan 2.x [#1418](https://github.com/AlchemyCMS/alchemy_cms/pull/1418) ([tvdeyen](https://github.com/tvdeyen))
55
+
56
+ ## 4.0.1 (2018-04-23)
57
+
58
+ - Add more classes to YAML.safe_load [#1414](https://github.com/AlchemyCMS/alchemy_cms/pull/1414) ([tvdeyen](https://github.com/tvdeyen))
9
59
 
10
60
  ## 4.0.0 (2017-11-06)
11
61
 
12
- * Fixes image cropping issues [#1320](https://github.com/AlchemyCMS/alchemy_cms/pull/1320) and [#1321](https://github.com/AlchemyCMS/alchemy_cms/pull/1321) by [tvdeyen](https://github.com/tvdeyen)
62
+ - Fixes image cropping issues [#1320](https://github.com/AlchemyCMS/alchemy_cms/pull/1320) and [#1321](https://github.com/AlchemyCMS/alchemy_cms/pull/1321) by [tvdeyen](https://github.com/tvdeyen)
13
63
  This includes the change that images will not be cropped anymore unless `crop: true` is explicitly given in either the contents settings or passed via options to `render_essence`. The former behavior of implicitly cropping only because crop values (`crop_from` or `crop_size`) were present on the `EssencePicture` database record was erroneous and confusing.
14
- * Allow Dragonfly 1.1 and above [#1314](https://github.com/AlchemyCMS/alchemy_cms/pull/1314) by [tvdeyen](https://github.com/tvdeyen)
15
- * Added Rails 5.1 support [#1310](https://github.com/AlchemyCMS/alchemy_cms/pull/1310) by [tvdeyen](https://github.com/tvdeyen)
16
- * Always use `border-box` box model for all CSS components in the admin [#1309](https://github.com/AlchemyCMS/alchemy_cms/pull/1309) by [tvdeyen](https://github.com/tvdeyen)
64
+ - Allow Dragonfly 1.1 and above [#1314](https://github.com/AlchemyCMS/alchemy_cms/pull/1314) by [tvdeyen](https://github.com/tvdeyen)
65
+ - Added Rails 5.1 support [#1310](https://github.com/AlchemyCMS/alchemy_cms/pull/1310) by [tvdeyen](https://github.com/tvdeyen)
66
+ - Always use `border-box` box model for all CSS components in the admin [#1309](https://github.com/AlchemyCMS/alchemy_cms/pull/1309) by [tvdeyen](https://github.com/tvdeyen)
17
67
 
18
68
  ## 4.0.0.rc2 (2017-08-18)
19
69
 
20
- * Removed deprecated `:image_size` option from `EssencePicture`
70
+ - Removed deprecated `:image_size` option from `EssencePicture`
21
71
  Use `:size` instead.
22
- * Remove deprecated `take_me_for_preview` content definition option
72
+ - Remove deprecated `take_me_for_preview` content definition option
23
73
  Use `as_element_title` instead.
24
- * Removed deprecated picture url helpers `show_alchemy_picture_path` and `show_alchemy_picture_url`
74
+ - Removed deprecated picture url helpers `show_alchemy_picture_path` and `show_alchemy_picture_url`
25
75
  Use `picture.url` instead.
26
- * Removed deprecated pages helper module.
27
- * Removed deprecated translation methods `_t` and `Alchemy::I18n.t`.
76
+ - Removed deprecated pages helper module.
77
+ - Removed deprecated translation methods `_t` and `Alchemy::I18n.t`.
28
78
  Use `Alchemy.t` instead.
29
- * Removed deprecated `redirect_index` configuration
79
+ - Removed deprecated `redirect_index` configuration
30
80
  Use `redirect_to_public_child` configuration instead.
31
81
 
32
82
  ## 4.0.0.rc1 (2017-08-17)
33
83
 
34
- * Removed `merge_params` from `Alchemy::Admin::BaseHelper`
84
+ - Removed `merge_params` from `Alchemy::Admin::BaseHelper`
35
85
  Use `ActionController::Parameters#merge` instead
36
- * Removed `merge_params_only` from `Alchemy::Admin::BaseHelper`
86
+ - Removed `merge_params_only` from `Alchemy::Admin::BaseHelper`
37
87
  Use methods from `ActionController::Parameters` instead
38
- * Removed `merge_params_without` from `Alchemy::Admin::BaseHelper`
88
+ - Removed `merge_params_without` from `Alchemy::Admin::BaseHelper`
39
89
  Use `ActionController::Parameters#delete_if` instead
40
- * Removed `tag_list_tag_active?` from `Alchemy::Admin::TagsHelper`
90
+ - Removed `tag_list_tag_active?` from `Alchemy::Admin::TagsHelper`
41
91
  Use `filtered_by_tag?` instead
42
- * Removed `add_to_tag_filter` and `remove_from_tag_filter` from `Alchemy::Admin::TagsHelper`
92
+ - Removed `add_to_tag_filter` and `remove_from_tag_filter` from `Alchemy::Admin::TagsHelper`
43
93
  Use `tags_for_filter` and pass the `current` tag instead
44
- * Removes the possibility to pass options param as JSON string. [#1291](https://github.com/AlchemyCMS/alchemy_cms/pull/1291) by [tvdeyen](https://github.com/tvdeyen)
94
+ - Removes the possibility to pass options param as JSON string. [#1291](https://github.com/AlchemyCMS/alchemy_cms/pull/1291) by [tvdeyen](https://github.com/tvdeyen)
45
95
  Pass normal params instead.
46
- * Removed `redirect_back_or_to_default` from `Alchemy::Admin::BaseController`
96
+ - Removed `redirect_back_or_to_default` from `Alchemy::Admin::BaseController`
47
97
  Use Rails' `redirect_back` with a `fallback_location` instead
48
- * Deprecated controller requests test helpers [#1284](https://github.com/AlchemyCMS/alchemy_cms/pull/1284) by [tvdeyen](https://github.com/tvdeyen)
98
+ - Deprecated controller requests test helpers [#1284](https://github.com/AlchemyCMS/alchemy_cms/pull/1284) by [tvdeyen](https://github.com/tvdeyen)
49
99
 
50
100
  ## 4.0.0.beta (2017-06-20)
51
101
 
52
- * Rails 5
102
+ - Rails 5
103
+
104
+ ## 3.6.5 (2018-05-08)
105
+
106
+ - Fix draggable trash item feature [#1430](https://github.com/AlchemyCMS/alchemy_cms/pull/1430) ([tvdeyen](https://github.com/tvdeyen))
107
+
108
+ ## 3.6.4 (2018-04-23)
109
+
110
+ - Add more classes to YAML.safe_load [#1396](https://github.com/AlchemyCMS/alchemy_cms/pull/1396) ([tvdeyen](https://github.com/tvdeyen))
53
111
 
54
112
  ## 3.6.3 (2017-10-24)
55
113
 
56
- * Remove `:display` cancan alias [#1318](https://github.com/AlchemyCMS/alchemy_cms/pull/1318) by [tvdeyen](https://github.com/tvdeyen)
114
+ - Remove `:display` cancan alias [#1318](https://github.com/AlchemyCMS/alchemy_cms/pull/1318) by [tvdeyen](https://github.com/tvdeyen)
57
115
 
58
116
  ## 3.6.2 (2017-09-01)
59
117
 
60
- * Handle custom errors in `Alchemy::Picture#url` [#1305](https://github.com/AlchemyCMS/alchemy_cms/pull/1305) by [tvdeyen](https://github.com/tvdeyen)
61
- * Do not move elements in tidy cells task [#1303](https://github.com/AlchemyCMS/alchemy_cms/pull/1303) by [tvdeyen](https://github.com/tvdeyen)
62
- * Add a store image file format rake task [#1302](https://github.com/AlchemyCMS/alchemy_cms/pull/1302) by [tvdeyen](https://github.com/tvdeyen)
118
+ - Handle custom errors in `Alchemy::Picture#url` [#1305](https://github.com/AlchemyCMS/alchemy_cms/pull/1305) by [tvdeyen](https://github.com/tvdeyen)
119
+ - Do not move elements in tidy cells task [#1303](https://github.com/AlchemyCMS/alchemy_cms/pull/1303) by [tvdeyen](https://github.com/tvdeyen)
120
+ - Add a store image file format rake task [#1302](https://github.com/AlchemyCMS/alchemy_cms/pull/1302) by [tvdeyen](https://github.com/tvdeyen)
63
121
 
64
122
  ## 3.6.1 (2017-08-16)
65
123
 
66
- * Do not ask `systempage?` everytime we load the page definition [#1239](https://github.com/AlchemyCMS/alchemy_cms/pull/1283) by [tvdeyen](https://github.com/tvdeyen)
124
+ - Do not ask `systempage?` everytime we load the page definition [#1239](https://github.com/AlchemyCMS/alchemy_cms/pull/1283) by [tvdeyen](https://github.com/tvdeyen)
67
125
  This speeds up rendering large sitemaps by about 6 times.
68
126
 
69
127
  ## 3.6.0 (2017-06-20)
70
128
 
71
129
  __Notable Changes__
72
130
 
73
- * The seeder does not generate default site and root page anymore (#1239) by tvdeyen
131
+ - The seeder does not generate default site and root page anymore (#1239) by tvdeyen
74
132
  Alchemy handles this auto-magically now. No need to run `Alchemy::Seeder.seed!` any more |o/
75
- * Security: Sanitize ActiveRecord queries in `Alchemy::Element`, `Alchemy::Page` and
133
+ - Security: Sanitize ActiveRecord queries in `Alchemy::Element`, `Alchemy::Page` and
76
134
  `Alchemy::PagesHelper` (#1257) by jessedoyle
77
- * Remove post install message reference to the `alchemy` standalone installer (#1256) by jessedoyle
78
- * Fixes tag filtering for pictures and attachments in overlay (#1266) by robinboening
79
- * Fix js error on page#update with single quote in page name (#1263) by robinboening
80
- * Change meta charset from 'utf8' to 'utf-8' (#1253) by rbjoern84
81
- * Render "text" as type for datepicker input fields (#1246) by robinboening
82
- * Remove unused Page attr_accessors (#1240) by tvdeyen
83
- * Permit search params while redirecting in library (#1236) by tvdeyen
84
- * Only allow floats and ints as fixed ratio for crop (#1234) by tvdeyen
85
- * Use at least dragonfly 1.0.7 (#1225) by tvdeyen
86
- * Add handlebars-assets gem (#1203) by tvdeyen
87
- * Add a new spinner animation (#1202) by tvdeyen
88
- * Re-color the Turbolinks progressbar (#1199) by tvdeyen
89
- * Use normal view for pages sort action (#1197) by tvdeyen
90
- * Add srcset and sizes support for EssencePicture (#1193) by tvdeyen
135
+ - Remove post install message reference to the `alchemy` standalone installer (#1256) by jessedoyle
136
+ - Fixes tag filtering for pictures and attachments in overlay (#1266) by robinboening
137
+ - Fix js error on page#update with single quote in page name (#1263) by robinboening
138
+ - Change meta charset from 'utf8' to 'utf-8' (#1253) by rbjoern84
139
+ - Render "text" as type for datepicker input fields (#1246) by robinboening
140
+ - Remove unused Page attr_accessors (#1240) by tvdeyen
141
+ - Permit search params while redirecting in library (#1236) by tvdeyen
142
+ - Only allow floats and ints as fixed ratio for crop (#1234) by tvdeyen
143
+ - Use at least dragonfly 1.0.7 (#1225) by tvdeyen
144
+ - Add handlebars-assets gem (#1203) by tvdeyen
145
+ - Add a new spinner animation (#1202) by tvdeyen
146
+ - Re-color the Turbolinks progressbar (#1199) by tvdeyen
147
+ - Use normal view for pages sort action (#1197) by tvdeyen
148
+ - Add srcset and sizes support for EssencePicture (#1193) by tvdeyen
91
149
 
92
150
  ## 3.5.0 (2016-12-22)
93
151
 
94
152
  __New Features__
95
153
 
96
- * New API endpoint for retrieving a nested page tree (#1155)
154
+ - New API endpoint for retrieving a nested page tree (#1155)
97
155
  `api/pages/nested` returns a nested JSON tree of all pages.
98
- * Add page and user seeding support (#1160)
99
- * Files of attachments are replaceable now (#1167)
100
- * Add fixed page attributes (#1168)
156
+ - Add page and user seeding support (#1160)
157
+ - Files of attachments are replaceable now (#1167)
158
+ - Add fixed page attributes (#1168)
101
159
  Page attributes can be defined as fixed_attributes to prevent changes by the user.
102
- * Allow to declare which user role can edit page content on the page layout level.
160
+ - Allow to declare which user role can edit page content on the page layout level.
103
161
 
104
162
  __Notable Changes__
105
163
 
106
- * Removed the standalone installer (#1206)
107
- * The essence date input field is now 100% width (#1191)
108
- * The essence view partials don't get cached anymore (#1099)
109
- * The essence editor partials don't get cached anymore (#1171)
110
- * Removes update_essence_select_elements (#1103)
111
- * The admin resource form now uses the datetime-picker instead of the date-picker for datetime fields.
112
- * The `preview_mode_code` helper is moved to a partial in `alchemy/preview_mode_code`. (#1110)
113
- * The `render_meta_data` helper is moved to a partial in `alchemy/pages/meta_data` and can be rendered with the same options as before but now passed in as locals. (#1110)
114
- * The view helpers `preview_mode_code`, `render_meta_data`, `render_meta_tag`, `render_page_title`, `render_title_tag` are now deprecated. (#1110)
115
- * An easy way to include several edit mode related partials is now available (#1120):
164
+ - Removed the standalone installer (#1206)
165
+ - The essence date input field is now 100% width (#1191)
166
+ - The essence view partials don't get cached anymore (#1099)
167
+ - The essence editor partials don't get cached anymore (#1171)
168
+ - Removes update_essence_select_elements (#1103)
169
+ - The admin resource form now uses the datetime-picker instead of the date-picker for datetime fields.
170
+ - The `preview_mode_code` helper is moved to a partial in `alchemy/preview_mode_code`. (#1110)
171
+ - The `render_meta_data` helper is moved to a partial in `alchemy/pages/meta_data` and can be rendered with the same options as before but now passed in as locals. (#1110)
172
+ - The view helpers `preview_mode_code`, `render_meta_data`, `render_meta_tag`, `render_page_title`, `render_title_tag` are now deprecated. (#1110)
173
+ - An easy way to include several edit mode related partials is now available (#1120):
116
174
  `render 'alchemy/edit_mode'` loads `menubar` and `preview_mode_code` at once
117
- * Add support for Turbolinks 5.0 (#1095)
118
- * Use Dragonfly middleware to render pictures and remove our custom solution (#1084)
119
- * `image_size` option is now deprecated. Please use just `size` (#1084)
120
- * `show_alchemy_picture_path` helper is now deprecated. Please use `picture.url` instead (#1084)
121
- * Display download information on the Attachment Modal Dialog (#1137)
122
- * Added foreign keys to important associations (#1149)
123
- * Also destroy trashed elements when page gets destroyed (#1149)
124
- * Upgrade tasks can now be run separately (#1152)
125
- * Update to Tinymce 4.4.3
126
- * New sitemap UI (#1172)
127
- * Removed picture cache flushing (#1185)
128
- * Removed Mountpoint class (#1186)
175
+ - Add support for Turbolinks 5.0 (#1095)
176
+ - Use Dragonfly middleware to render pictures and remove our custom solution (#1084)
177
+ - `image_size` option is now deprecated. Please use just `size` (#1084)
178
+ - `show_alchemy_picture_path` helper is now deprecated. Please use `picture.url` instead (#1084)
179
+ - Display download information on the Attachment Modal Dialog (#1137)
180
+ - Added foreign keys to important associations (#1149)
181
+ - Also destroy trashed elements when page gets destroyed (#1149)
182
+ - Upgrade tasks can now be run separately (#1152)
183
+ - Update to Tinymce 4.4.3
184
+ - New sitemap UI (#1172)
185
+ - Removed picture cache flushing (#1185)
186
+ - Removed Mountpoint class (#1186)
129
187
 
130
188
  __Fixed Bugs__
131
189
 
132
- * Fix setting of locale when `current_alchemy_user.language` doesn't return a Symbol (#1097)
133
- * Presence validation of EssenceFile is not working (#1096)
134
- * Allow to define unique nestable elements (#852)
190
+ - Fix setting of locale when `current_alchemy_user.language` doesn't return a Symbol (#1097)
191
+ - Presence validation of EssenceFile is not working (#1096)
192
+ - Allow to define unique nestable elements (#852)
135
193
 
136
194
  ## 3.4.2 (2016-12-22)
137
195
 
138
196
  __Notable Changes__
139
197
 
140
- * Allow users to manually publish changes on global pages
198
+ - Allow users to manually publish changes on global pages
141
199
 
142
200
  __Fixed Bugs__
143
201
 
144
- * The `language_links` helper now only renders languages from the current site
202
+ - The `language_links` helper now only renders languages from the current site
145
203
 
146
204
  ## 3.4.1 (2016-08-31)
147
205
 
148
206
  __Fixed Bugs__
149
207
 
150
- * Remove trailing new lines in the AddImageFileFormatToAlchemyPictures migration. (#1107)
208
+ - Remove trailing new lines in the AddImageFileFormatToAlchemyPictures migration. (#1107)
151
209
  If you migrated already, use the `alchemy:upgrade:fix_picture_format` rake task.
152
- * Don't overwrite the fallback options when rendering a picture (#1113)
153
- * Fixes the messages mailer views generator (#1118)
210
+ - Don't overwrite the fallback options when rendering a picture (#1113)
211
+ - Fixes the messages mailer views generator (#1118)
154
212
 
155
213
  ## 3.4.0 (2016-08-02)
156
214
 
157
215
  __New Features__
158
216
 
159
- * `MessagesMailer` (formerly known as `Messages`) now inherits from `ApplicationMailer`
217
+ - `MessagesMailer` (formerly known as `Messages`) now inherits from `ApplicationMailer`
160
218
  when it is defined.
161
- * Adds time based published pages: The public status of a page is now made of two time stamps:
219
+ - Adds time based published pages: The public status of a page is now made of two time stamps:
162
220
  `public_on` and `public_until`
163
- * Send page expiration cache headers
164
- * Adds an +EssencePictureView+ class responsible for rendering the `essence_picture_view` partial
165
- * Adds a file type filter to file archive
166
- * Allow setting the type of EssenceText input fields in the elements.yml via `settings[:input_type]`
167
- * Adds support for defining custom searchable attributes in resources
168
- * Automatically add tag management to admin module views, when the resource model
221
+ - Send page expiration cache headers
222
+ - Adds an +EssencePictureView+ class responsible for rendering the `essence_picture_view` partial
223
+ - Adds a file type filter to file archive
224
+ - Allow setting the type of EssenceText input fields in the elements.yml via `settings[:input_type]`
225
+ - Adds support for defining custom searchable attributes in resources
226
+ - Automatically add tag management to admin module views, when the resource model
169
227
  has been set to `acts_as_taggable`.
170
- * Automatically add scope filters to admin module views, when the resource model
228
+ - Automatically add scope filters to admin module views, when the resource model
171
229
  has the class method `alchemy_resource_filters` defined.
172
230
 
173
231
  __Notable Changes__
174
232
 
175
- * `Messages` mailer class has been renamed to `MessagesMailer`
176
- * Removed the auto-magically merge of Ability classes (#1022)
177
- * Replace jQueryUI datepicker with $.datetimepicker
178
- * Thumbnails now render in original file format, but GIFs will always be flattened
179
- * Pictures will be rendered in original file format by default
180
- * Allow SVG files to be rendered as EssencePicture
181
- * When using Alchemy content outside of Alchemy, `current_ability` is no longer
233
+ - `Messages` mailer class has been renamed to `MessagesMailer`
234
+ - Removed the auto-magically merge of Ability classes (#1022)
235
+ - Replace jQueryUI datepicker with $.datetimepicker
236
+ - Thumbnails now render in original file format, but GIFs will always be flattened
237
+ - Pictures will be rendered in original file format by default
238
+ - Allow SVG files to be rendered as EssencePicture
239
+ - When using Alchemy content outside of Alchemy, `current_ability` is no longer
182
240
  included with `Alchemy::ControllerActions` to prevent method clashes. If you
183
241
  need access to `current_ability` you also need to include `Alchemy::AbilityHelper`
184
- * Asset manifests are now installed into `vendor/assets` folder in order to provide easy customization
242
+ - Asset manifests are now installed into `vendor/assets` folder in order to provide easy customization
185
243
  Please don't use alchemy/custom files any more. Instead require your customizations in the manifests.
186
- * Removes the default_scope from Language on_site current while ensuring to load languages by code
244
+ - Removes the default_scope from Language on_site current while ensuring to load languages by code
187
245
  from current site only.
188
- * Removes the `Language.get_default` method alias for `Language.default`
189
- * Move site select into pages and languages module to avoid confusion about curent site (#1067)
190
- * List pages from all sites in currently locked pages tabs and Dashboard widget (#1067)
191
- * The locked value on page is now a timestamp (`locked_at`), so we can order locked pages by (#1070)
192
- * Persist user in dummy app
193
- * When publishing a page with the publish button, `Page#public_on` does not get
246
+ - Removes the `Language.get_default` method alias for `Language.default`
247
+ - Move site select into pages and languages module to avoid confusion about curent site (#1067)
248
+ - List pages from all sites in currently locked pages tabs and Dashboard widget (#1067)
249
+ - The locked value on page is now a timestamp (`locked_at`), so we can order locked pages by (#1070)
250
+ - Persist user in dummy app
251
+ - When publishing a page with the publish button, `Page#public_on` does not get
194
252
  reset to the current time when it is already set and in the past, and
195
253
  `Page#public_until` does not get nilled when it is in the future.
196
254
 
197
255
  __Fixed Bugs__
198
256
 
199
- * Fix table width for attachments and resources on small window sizes.
200
- * Generators don't delete directories any more (#850)
201
- * Some elements crashed the backend's JS when being saved (#1091)
257
+ - Fix table width for attachments and resources on small window sizes.
258
+ - Generators don't delete directories any more (#850)
259
+ - Some elements crashed the backend's JS when being saved (#1091)
202
260
 
203
261
  ## 3.3.3 (2016-09-11)
204
262
 
205
- * Fix bug that rendered duplicate nested elements within a cell after copying a parent element.
263
+ - Fix bug that rendered duplicate nested elements within a cell after copying a parent element.
206
264
 
207
265
  ## 3.3.2 (2016-08-02)
208
266
 
209
- * Use relative url for page preview frame in order to prevent cross origin errors (#1076)
267
+ - Use relative url for page preview frame in order to prevent cross origin errors (#1076)
210
268
 
211
269
  ## 3.3.1 (2016-06-20)
212
270
 
213
- * Fix use of Alchemy::Resource with namespaced models (#729)
214
- * Allow setting the type of EssenceText input fields in the elements.yml via `settings[:input_type]`
215
- * Admin locale switching does not switch language tree any more (#1065)
216
- * Fixes bug where old site session causes not found errors (#1047)
217
- * Fix inability to add nested elements on pages with cells (#1039)
218
- * Skip upgrader if no element definitions are found (#1060)
219
- * Fix selecting the active cell for elements with nested elements (#1041)
271
+ - Fix use of Alchemy::Resource with namespaced models (#729)
272
+ - Allow setting the type of EssenceText input fields in the elements.yml via `settings[:input_type]`
273
+ - Admin locale switching does not switch language tree any more (#1065)
274
+ - Fixes bug where old site session causes not found errors (#1047)
275
+ - Fix inability to add nested elements on pages with cells (#1039)
276
+ - Skip upgrader if no element definitions are found (#1060)
277
+ - Fix selecting the active cell for elements with nested elements (#1041)
220
278
 
221
279
  ## 3.3.0 (2016-05-18)
222
280
 
223
281
  __New Features__
224
282
 
225
- * Add support for Sprockets 3
226
- * Add support for jquery-rails 4.1
227
- * Show a welcome page, if no users or pages are present yet
228
- * Namespace spec files
229
- * Image library slideshow
230
- * Global "current locked pages" tabs
231
- * New option `linkable: false` for `EssencePicture`
232
- * Allow custom routing for admin backend
233
- * Resource forms can now have Tinymce enabled by adding `.tinymce` class
234
- * `Alchemy::EssenceFile` now has a `link_text` attribute, so the editor is able to change the linked text of the download link.
235
- * Enable to pass multiple page layout names to `on_page_layout` callbacks
236
- * Client side rendering of the pages admin
237
- * Deprecate `redirect_index` configuration
238
- * Add Nestable elements feature
239
- * Default site in seeder is now configurable
240
- * Frontpage name and page layout are now editable when creating new language trees
283
+ - Add support for Sprockets 3
284
+ - Add support for jquery-rails 4.1
285
+ - Show a welcome page, if no users or pages are present yet
286
+ - Namespace spec files
287
+ - Image library slideshow
288
+ - Global "current locked pages" tabs
289
+ - New option `linkable: false` for `EssencePicture`
290
+ - Allow custom routing for admin backend
291
+ - Resource forms can now have Tinymce enabled by adding `.tinymce` class
292
+ - `Alchemy::EssenceFile` now has a `link_text` attribute, so the editor is able to change the linked text of the download link.
293
+ - Enable to pass multiple page layout names to `on_page_layout` callbacks
294
+ - Client side rendering of the pages admin
295
+ - Deprecate `redirect_index` configuration
296
+ - Add Nestable elements feature
297
+ - Default site in seeder is now configurable
298
+ - Frontpage name and page layout are now editable when creating new language trees
241
299
 
242
300
  __Notable Changes__
243
301
 
244
- * Essence generator does not namespace the model into `Alchemy` namespace anymore
245
- * New simplified uploader that allows to drag and drop images onto the archive everywhere in your app
302
+ - Essence generator does not namespace the model into `Alchemy` namespace anymore
303
+ - New simplified uploader that allows to drag and drop images onto the archive everywhere in your app
246
304
  - Model names in uploader `allowed_filetypes` setting are now namespaced.
247
305
  Please be sure to run `rake alchemy:upgrade` to update your settings.
248
- * Allow uppercase country codes
249
- * Uses Time.current instead of Time.now for proper timezone support
250
- * Adds year to `created_at` column of attachments table
251
- * Removes "available contents" feature.
252
- * Use Ransack for Admin Resources filtering, sorting and searching
253
- * Renames Alchemy translation helpers from `_t` to `Alchemy.t`
254
- * Do not append geometry string to preprocess option
255
- * Skip the default locale in urls
256
- * Add a proper index route and do not redirect to page anymore
257
- * Updates Tinymce to 4.2.3
258
- * Moves page status info into reusable partial
259
- * Refactors factories into individual requirable files
260
- * Do not raise error if `element_ids` params is missing while ordering elements
261
- * Removes old middleware for rescueing legacy sessions
262
- * Use rails tag helpers instead of plain HTML for meta tags
263
- * Remove the duplication of `#decription` vs. `#definition`
264
- * Resource CSV export now includes ID column and does not truncate large text columns anymore
265
- * `Alchemy::Attachment#urlname` now returns always an escaped urlname w/o format suffix and does not convert the `file_name` once on create anymore
266
- * Speed up the admin interface significantly when handling a large amount of pages
306
+ - Allow uppercase country codes
307
+ - Uses Time.current instead of Time.now for proper timezone support
308
+ - Adds year to `created_at` column of attachments table
309
+ - Removes "available contents" feature.
310
+ - Use Ransack for Admin Resources filtering, sorting and searching
311
+ - Renames Alchemy translation helpers from `_t` to `Alchemy.t`
312
+ - Do not append geometry string to preprocess option
313
+ - Skip the default locale in urls
314
+ - Add a proper index route and do not redirect to page anymore
315
+ - Updates Tinymce to 4.2.3
316
+ - Moves page status info into reusable partial
317
+ - Refactors factories into individual requirable files
318
+ - Do not raise error if `element_ids` params is missing while ordering elements
319
+ - Removes old middleware for rescueing legacy sessions
320
+ - Use rails tag helpers instead of plain HTML for meta tags
321
+ - Remove the duplication of `#decription` vs. `#definition`
322
+ - Resource CSV export now includes ID column and does not truncate large text columns anymore
323
+ - `Alchemy::Attachment#urlname` now returns always an escaped urlname w/o format suffix and does not convert the `file_name` once on create anymore
324
+ - Speed up the admin interface significantly when handling a large amount of pages
267
325
 
268
326
  __Fixed Bugs__
269
327
 
270
- * Add `locale` to `Alchemy::Language` to avoid errors for languages with missing locale files #831
271
- * Fixes `Alchemy::PageLayout.get_all_by_attributes`
272
- * Fix tag list display in picture library
273
- * Animated GIFs display correctly
274
- * EssenceSelect grouped options tags
275
- * Add missing element partials for dummy app
276
- * Eliminate an SQL lookup on frontend cached element partials
277
- * Add missing german and spanish translation for element toolbar
278
- * Use the site_id parameter and the session only in the Admin area
279
- * Render 404 if accessing an unpublished index page that has "on page layout" callbacks
328
+ - Add `locale` to `Alchemy::Language` to avoid errors for languages with missing locale files #831
329
+ - Fixes `Alchemy::PageLayout.get_all_by_attributes`
330
+ - Fix tag list display in picture library
331
+ - Animated GIFs display correctly
332
+ - EssenceSelect grouped options tags
333
+ - Add missing element partials for dummy app
334
+ - Eliminate an SQL lookup on frontend cached element partials
335
+ - Add missing german and spanish translation for element toolbar
336
+ - Use the site_id parameter and the session only in the Admin area
337
+ - Render 404 if accessing an unpublished index page that has "on page layout" callbacks
280
338
 
281
339
  [Full Change Log](https://github.com/AlchemyCMS/alchemy_cms/compare/v3.2.1...v3.3.0)
282
340
 
@@ -284,12 +342,12 @@ __Fixed Bugs__
284
342
 
285
343
  __Fixed Bugs__
286
344
 
287
- * Fix constant lookup issues with registered abilites
288
- * Fix: `EssenceSelect` grouped `select_values`
289
- * Respect `:reverse` option when sorting elements
290
- * Directly updates position in database while sorting contents
291
- * Don't show trashed elements when using a fallback
292
- * Fixes wrong week number in datepicker
345
+ - Fix constant lookup issues with registered abilites
346
+ - Fix: `EssenceSelect` grouped `select_values`
347
+ - Respect `:reverse` option when sorting elements
348
+ - Directly updates position in database while sorting contents
349
+ - Don't show trashed elements when using a fallback
350
+ - Fixes wrong week number in datepicker
293
351
 
294
352
  [Full Change Log](https://github.com/AlchemyCMS/alchemy_cms/compare/v3.2.0...v3.2.1)
295
353
 
@@ -0,0 +1,14 @@
1
+ ## What is this pull request for?
2
+
3
+ Describe you pull request here...
4
+
5
+ Closes #<issue number> (Remove if not related to any issue)
6
+
7
+ ### Notable changes (remove if none)
8
+
9
+ Explain any changes (maybe breaking?) that have been made.
10
+
11
+ -
12
+ -
13
+
14
+ ### Screenshots (remove if none)
data/README.md CHANGED
@@ -31,6 +31,16 @@ Read more about Alchemy on the [website](https://alchemy-cms.com) and in the [gu
31
31
  - Flexible caching
32
32
  - Hostable on any Server that supports Ruby on Rails, a SQL Database and ImageMagick
33
33
 
34
+ ## Demo
35
+
36
+ Deploy your own free demo on Heroku
37
+
38
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/AlchemyCMS/alchemy-demo)
39
+
40
+ or visit the existing demo at https://alchemy-demo.herokuapp.com
41
+
42
+ - Login: `demo`
43
+ - Password: `demo123`
34
44
 
35
45
  ## Rails Version
36
46