alchemy_cms 4.1.0.rc1 → 4.1.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/CHANGELOG.md +60 -6
- data/README.md +10 -8
- data/alchemy_cms.gemspec +1 -1
- data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +2 -4
- data/app/assets/stylesheets/alchemy/_extends.scss +1 -1
- data/app/assets/stylesheets/alchemy/_mixins.scss +8 -15
- data/app/assets/stylesheets/alchemy/_variables.scss +22 -15
- data/app/assets/stylesheets/alchemy/admin.scss +1 -0
- data/app/assets/stylesheets/alchemy/archive.scss +1 -2
- data/app/assets/stylesheets/alchemy/base.scss +12 -59
- data/app/assets/stylesheets/alchemy/buttons.scss +9 -4
- data/app/assets/stylesheets/alchemy/elements.scss +2 -1
- data/app/assets/stylesheets/alchemy/forms.scss +0 -4
- data/app/assets/stylesheets/alchemy/frame.scss +1 -10
- data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +1 -0
- data/app/assets/stylesheets/alchemy/lists.scss +10 -0
- data/app/assets/stylesheets/alchemy/menubar.scss +1 -0
- data/app/assets/stylesheets/alchemy/notices.scss +5 -7
- data/app/assets/stylesheets/alchemy/pagination.scss +12 -7
- data/app/assets/stylesheets/alchemy/resource_info.scss +0 -4
- data/app/assets/stylesheets/alchemy/search.scss +5 -2
- data/app/assets/stylesheets/alchemy/selects.scss +4 -2
- data/app/assets/stylesheets/alchemy/sitemap.scss +0 -10
- data/app/assets/stylesheets/alchemy/tables.scss +23 -0
- data/app/assets/stylesheets/alchemy/typography.scss +55 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +6 -3
- data/app/controllers/alchemy/admin/attachments_controller.rb +1 -1
- data/app/controllers/alchemy/admin/base_controller.rb +2 -1
- data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pictures_controller.rb +28 -7
- data/app/controllers/alchemy/admin/resources_controller.rb +18 -4
- data/app/controllers/alchemy/admin/styleguide_controller.rb +7 -0
- data/app/controllers/alchemy/admin/tags_controller.rb +1 -1
- data/app/views/alchemy/admin/attachments/_filter_bar.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/_tag_list.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/index.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_users.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/index.html.erb +2 -1
- data/app/views/alchemy/admin/languages/index.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_create_language_form.html.erb +2 -2
- data/app/views/alchemy/admin/pages/_external_link.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_file_link.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_form.html.erb +0 -2
- data/app/views/alchemy/admin/pages/_internal_link.html.erb +1 -1
- data/app/views/alchemy/admin/pages/configure_external.html.erb +0 -1
- data/app/views/alchemy/admin/pages/index.html.erb +5 -1
- data/app/views/alchemy/admin/pictures/_archive.html.erb +3 -2
- data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_form.html.erb +0 -1
- data/app/views/alchemy/admin/pictures/_infos.html.erb +3 -2
- data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_tag_list.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/index.html.erb +8 -6
- data/app/views/alchemy/admin/resources/_filter_bar.html.erb +1 -1
- data/app/views/alchemy/admin/resources/_per_page_select.html.erb +20 -0
- data/app/views/alchemy/admin/resources/_table_header.html.erb +5 -0
- data/app/views/alchemy/admin/resources/_tag_list.html.erb +1 -1
- data/app/views/alchemy/admin/resources/index.html.erb +1 -1
- data/app/views/alchemy/admin/sites/index.html.erb +1 -1
- data/app/views/alchemy/admin/styleguide/index.html.erb +238 -0
- data/app/views/alchemy/admin/tags/edit.html.erb +4 -4
- data/app/views/alchemy/admin/tags/index.html.erb +1 -4
- data/app/views/alchemy/elements/_editor_not_found.html.erb +1 -1
- data/app/views/alchemy/essences/_essence_picture_editor.html.erb +2 -1
- data/app/views/kaminari/alchemy/_paginator.html.erb +8 -5
- data/config/alchemy/config.yml +5 -0
- data/config/locales/alchemy.en.yml +1 -0
- data/config/routes.rb +2 -0
- data/lib/alchemy/permissions.rb +1 -1
- data/lib/alchemy/resources_helper.rb +2 -1
- data/lib/alchemy/version.rb +1 -1
- metadata +12 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbe62e8c54256149001175961c97976329047d9d74c51f1651075b4dd103ce7e
|
|
4
|
+
data.tar.gz: 34ce79ac45dd9e2d5f245ef86438a26a9c3a0d6a76863d6ccb4aebb30fcf23a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a02c9a806ad4b85e11874b5a203637ef6329a0003df928f374efb73f4ebbbd8b0bda6c207df7899459eb181e92c51b76c79d334385985d16e1fbe91a849a68c3
|
|
7
|
+
data.tar.gz: 2c42c60dcca6d7cf212478c8b445c644a5deffdbadb38c7abb3888cb1e7eaefe35e48e698e38329a4a3c5ea68e5d090b8ad3a63ee67545054cb8e401e6025674
|
data/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,92 @@
|
|
|
1
|
-
## 4.1.0 (
|
|
2
|
-
|
|
3
|
-
-
|
|
1
|
+
## 4.1.0 (2018-09-22)
|
|
2
|
+
|
|
3
|
+
- Use console.warn for Alchemy.debug [#1476](https://github.com/AlchemyCMS/alchemy_cms/pull/1476) ([tvdeyen](https://github.com/tvdeyen))
|
|
4
|
+
- Fixes picture per page in overlay [#1475](https://github.com/AlchemyCMS/alchemy_cms/pull/1475) ([tvdeyen](https://github.com/tvdeyen))
|
|
5
|
+
- Style adjustments [#1474](https://github.com/AlchemyCMS/alchemy_cms/pull/1474) ([tvdeyen](https://github.com/tvdeyen))
|
|
6
|
+
- Simplify pagination implementation [#1471](https://github.com/AlchemyCMS/alchemy_cms/pull/1471) ([mamhoff](https://github.com/mamhoff))
|
|
7
|
+
- Try .any? to prevent error in dashboard on online users [#1469](https://github.com/AlchemyCMS/alchemy_cms/pull/1469) ([askl56](https://github.com/askl56))
|
|
8
|
+
- Update changelog for 4.0.4 release [#1468](https://github.com/AlchemyCMS/alchemy_cms/pull/1468) ([tvdeyen](https://github.com/tvdeyen))
|
|
9
|
+
- Do not cache sitemap in Turbolinks [#1463](https://github.com/AlchemyCMS/alchemy_cms/pull/1463) ([tvdeyen](https://github.com/tvdeyen))
|
|
10
|
+
- Fix sorting in Resources controller [#1462](https://github.com/AlchemyCMS/alchemy_cms/pull/1462) ([mamhoff](https://github.com/mamhoff))
|
|
11
|
+
- Fix removing picture essences [#1460](https://github.com/AlchemyCMS/alchemy_cms/pull/1460) ([mamhoff](https://github.com/mamhoff))
|
|
12
|
+
- Upgrade ransack to version 2.0.0 [#1458](https://github.com/AlchemyCMS/alchemy_cms/pull/1458) ([depfu](https://github.com/marketplace/depfu))
|
|
13
|
+
- Toolbar icon vertical alignment fixes [#1450](https://github.com/AlchemyCMS/alchemy_cms/pull/1450) ([tvdeyen](https://github.com/tvdeyen))
|
|
14
|
+
- Fix tidy task [#1449](https://github.com/AlchemyCMS/alchemy_cms/pull/1449) ([mamhoff](https://github.com/mamhoff))
|
|
15
|
+
- Update changelog [#1448](https://github.com/AlchemyCMS/alchemy_cms/pull/1448) ([tvdeyen](https://github.com/tvdeyen))
|
|
16
|
+
- New thumbnail style [#1447](https://github.com/AlchemyCMS/alchemy_cms/pull/1447) ([tvdeyen](https://github.com/tvdeyen))
|
|
17
|
+
- Styling fixes [#1446](https://github.com/AlchemyCMS/alchemy_cms/pull/1446) ([tvdeyen](https://github.com/tvdeyen))
|
|
18
|
+
- Do not prevent default click handling in Element editor [#1445](https://github.com/AlchemyCMS/alchemy_cms/pull/1445) ([mamhoff](https://github.com/mamhoff))
|
|
19
|
+
- Fix content container height [#1443](https://github.com/AlchemyCMS/alchemy_cms/pull/1443) ([tvdeyen](https://github.com/tvdeyen))
|
|
20
|
+
- Use max instead of sort.last in update check [#1442](https://github.com/AlchemyCMS/alchemy_cms/pull/1442) ([tvdeyen](https://github.com/tvdeyen))
|
|
4
21
|
- Use optional: true for optional belongs_to associations [#1441](https://github.com/AlchemyCMS/alchemy_cms/pull/1441) ([tvdeyen](https://github.com/tvdeyen))
|
|
5
22
|
- Set parent element id when pasting from clipboard [#1440](https://github.com/AlchemyCMS/alchemy_cms/pull/1440) ([tvdeyen](https://github.com/tvdeyen))
|
|
6
23
|
- Add must_revalidate to cache-control header [#1439](https://github.com/AlchemyCMS/alchemy_cms/pull/1439) ([afdev82](https://github.com/afdev82))
|
|
24
|
+
- Update README.md [#1438](https://github.com/AlchemyCMS/alchemy_cms/pull/1438) ([agorneo](https://github.com/agorneo))
|
|
25
|
+
- Add a pull request template [#1436](https://github.com/AlchemyCMS/alchemy_cms/pull/1436) ([tvdeyen](https://github.com/tvdeyen))
|
|
26
|
+
- Add a feature request template [#1435](https://github.com/AlchemyCMS/alchemy_cms/pull/1435) ([tvdeyen](https://github.com/tvdeyen))
|
|
27
|
+
- Add a GitHub issue template [#1434](https://github.com/AlchemyCMS/alchemy_cms/pull/1434) ([tvdeyen](https://github.com/tvdeyen))
|
|
28
|
+
- Picture zoom UX enhancements [#1431](https://github.com/AlchemyCMS/alchemy_cms/pull/1431) ([tvdeyen](https://github.com/tvdeyen))
|
|
29
|
+
- Fix draggable trash item feature [#1428](https://github.com/AlchemyCMS/alchemy_cms/pull/1428) ([tvdeyen](https://github.com/tvdeyen))
|
|
7
30
|
- Load Jcrop selection gif via asset pipeline [#1427](https://github.com/AlchemyCMS/alchemy_cms/pull/1427) ([tvdeyen](https://github.com/tvdeyen))
|
|
31
|
+
- Color and styles adjustments [#1426](https://github.com/AlchemyCMS/alchemy_cms/pull/1426) ([tvdeyen](https://github.com/tvdeyen))
|
|
8
32
|
- Extract tags css rules into own file [#1424](https://github.com/AlchemyCMS/alchemy_cms/pull/1424) ([tvdeyen](https://github.com/tvdeyen))
|
|
9
33
|
- Adjust the welcome screen to new color theme [#1423](https://github.com/AlchemyCMS/alchemy_cms/pull/1423) ([tvdeyen](https://github.com/tvdeyen))
|
|
34
|
+
- Fixes menubar layout [#1422](https://github.com/AlchemyCMS/alchemy_cms/pull/1422) ([tvdeyen](https://github.com/tvdeyen))
|
|
10
35
|
- Update jquery-ui-rails to 6.0 [#1420](https://github.com/AlchemyCMS/alchemy_cms/pull/1420) ([tvdeyen](https://github.com/tvdeyen))
|
|
36
|
+
- Allow CanCanCan 2.x [#1418](https://github.com/AlchemyCMS/alchemy_cms/pull/1418) ([tvdeyen](https://github.com/tvdeyen))
|
|
11
37
|
- 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/
|
|
38
|
+
- Upgrade simple_form to version 4.0 [#1413](https://github.com/AlchemyCMS/alchemy_cms/pull/1413) ([depfu](https://github.com/marketplace/depfu))
|
|
39
|
+
- Do not require localeapp gem [#1412](https://github.com/AlchemyCMS/alchemy_cms/pull/1412) ([tvdeyen](https://github.com/tvdeyen))
|
|
40
|
+
- Fix all Rubocop offenses and update some config [#1411](https://github.com/AlchemyCMS/alchemy_cms/pull/1411) ([tvdeyen](https://github.com/tvdeyen))
|
|
41
|
+
- Upgrade mysql2 to version 0.5.1 [#1410](https://github.com/AlchemyCMS/alchemy_cms/pull/1410) ([depfu](https://github.com/marketplace/depfu))
|
|
13
42
|
- Capybara 3.0 support [#1409](https://github.com/AlchemyCMS/alchemy_cms/pull/1409) ([tvdeyen](https://github.com/tvdeyen))
|
|
14
43
|
- Handle zero plural resource names [#1407](https://github.com/AlchemyCMS/alchemy_cms/pull/1407) ([dbwinger](https://github.com/dbwinger))
|
|
44
|
+
- Update rubocop config [#1404](https://github.com/AlchemyCMS/alchemy_cms/pull/1404) ([tvdeyen](https://github.com/tvdeyen))
|
|
45
|
+
- Explicitly set the Rails version in dummy app [#1403](https://github.com/AlchemyCMS/alchemy_cms/pull/1403) ([tvdeyen](https://github.com/tvdeyen))
|
|
15
46
|
- Do not reload essence classes in dev mode [#1400](https://github.com/AlchemyCMS/alchemy_cms/pull/1400) ([tvdeyen](https://github.com/tvdeyen))
|
|
16
47
|
- Move all translations into `alchemy_i18n` extension [#1398](https://github.com/AlchemyCMS/alchemy_cms/pull/1398) ([tvdeyen](https://github.com/tvdeyen))
|
|
17
48
|
- Add `nested_elements` to serialized element json [#1397](https://github.com/AlchemyCMS/alchemy_cms/pull/1397) ([tvdeyen](https://github.com/tvdeyen))
|
|
49
|
+
- Fix YAML safe_load [#1395](https://github.com/AlchemyCMS/alchemy_cms/pull/1395) ([tvdeyen](https://github.com/tvdeyen))
|
|
18
50
|
- Fix passing html options to form builder submit input [#1394](https://github.com/AlchemyCMS/alchemy_cms/pull/1394) ([tvdeyen](https://github.com/tvdeyen))
|
|
51
|
+
- Darker blue dialogs [#1393](https://github.com/AlchemyCMS/alchemy_cms/pull/1393) ([tvdeyen](https://github.com/tvdeyen))
|
|
19
52
|
- New orange logo [#1392](https://github.com/AlchemyCMS/alchemy_cms/pull/1392) ([tvdeyen](https://github.com/tvdeyen))
|
|
20
53
|
- Use Open Sans for admin font [#1391](https://github.com/AlchemyCMS/alchemy_cms/pull/1391) ([tvdeyen](https://github.com/tvdeyen))
|
|
21
54
|
- Use ActiveRecord touching [#1390](https://github.com/AlchemyCMS/alchemy_cms/pull/1390) ([tvdeyen](https://github.com/tvdeyen))
|
|
55
|
+
- correct scss typo [#1388](https://github.com/AlchemyCMS/alchemy_cms/pull/1388) ([oniram88](https://github.com/oniram88))
|
|
22
56
|
- Add Rails 5.2 support [#1387](https://github.com/AlchemyCMS/alchemy_cms/pull/1387) ([tvdeyen](https://github.com/tvdeyen))
|
|
57
|
+
- Update Gutentag [#1386](https://github.com/AlchemyCMS/alchemy_cms/pull/1386) ([tvdeyen](https://github.com/tvdeyen))
|
|
58
|
+
- Fix resources search [#1384](https://github.com/AlchemyCMS/alchemy_cms/pull/1384) ([tvdeyen](https://github.com/tvdeyen))
|
|
59
|
+
- Fixate Gutentag to 2.1.0 for now [#1383](https://github.com/AlchemyCMS/alchemy_cms/pull/1383) ([tvdeyen](https://github.com/tvdeyen))
|
|
60
|
+
- Skip migrate-to-gutentag migration for fresh installs [#1381](https://github.com/AlchemyCMS/alchemy_cms/pull/1381) ([tvdeyen](https://github.com/tvdeyen))
|
|
61
|
+
- More prominent active menu color [#1380](https://github.com/AlchemyCMS/alchemy_cms/pull/1380) ([tvdeyen](https://github.com/tvdeyen))
|
|
23
62
|
- Use at least jquery-rails 4.0.4 [#1378](https://github.com/AlchemyCMS/alchemy_cms/pull/1378) ([tvdeyen](https://github.com/tvdeyen))
|
|
63
|
+
- Give capybara more time to render pictures [#1377](https://github.com/AlchemyCMS/alchemy_cms/pull/1377) ([tvdeyen](https://github.com/tvdeyen))
|
|
64
|
+
- A few admin layout refinements [#1374](https://github.com/AlchemyCMS/alchemy_cms/pull/1374) ([tvdeyen](https://github.com/tvdeyen))
|
|
24
65
|
- Upgrade cancancan to version 2.1 [#1372](https://github.com/AlchemyCMS/alchemy_cms/pull/1372) ([depfu](https://github.com/apps/depfu))
|
|
25
66
|
- 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
67
|
- Remove all old migration files [#1367](https://github.com/AlchemyCMS/alchemy_cms/pull/1367) ([tvdeyen](https://github.com/tvdeyen))
|
|
68
|
+
- Upgrade mysql2 to version 0.4.10 [#1366](https://github.com/AlchemyCMS/alchemy_cms/pull/1366) ([depfu](https://github.com/marketplace/depfu))
|
|
69
|
+
- Upgrade pg to version 1.0.0 [#1365](https://github.com/AlchemyCMS/alchemy_cms/pull/1365) ([depfu](https://github.com/marketplace/depfu))
|
|
70
|
+
- Use Gutentag for tags [#1364](https://github.com/AlchemyCMS/alchemy_cms/pull/1364) ([tvdeyen](https://github.com/tvdeyen))
|
|
71
|
+
- Update Rubocop config [#1363](https://github.com/AlchemyCMS/alchemy_cms/pull/1363) ([tvdeyen](https://github.com/tvdeyen))
|
|
28
72
|
- Compress 4.0 migrations [#1362](https://github.com/AlchemyCMS/alchemy_cms/pull/1362) ([tvdeyen](https://github.com/tvdeyen))
|
|
29
73
|
- Removes 3.x upgraders [#1361](https://github.com/AlchemyCMS/alchemy_cms/pull/1361) ([tvdeyen](https://github.com/tvdeyen))
|
|
74
|
+
- Get rid of Rails 5.2 deprecations [#1360](https://github.com/AlchemyCMS/alchemy_cms/pull/1360) ([tvdeyen](https://github.com/tvdeyen))
|
|
30
75
|
- Fix API response for users able to edit content [#1356](https://github.com/AlchemyCMS/alchemy_cms/pull/1356) ([tvdeyen](https://github.com/tvdeyen))
|
|
31
76
|
- Remove jasmine gems [#1355](https://github.com/AlchemyCMS/alchemy_cms/pull/1355) ([tvdeyen](https://github.com/tvdeyen))
|
|
32
77
|
- Remove translations provided by ActiveModel [#1354](https://github.com/AlchemyCMS/alchemy_cms/pull/1354) ([pelargir](https://github.com/pelargir))
|
|
33
78
|
- Update bundled TinyMCE to 4.7.5 [#1353](https://github.com/AlchemyCMS/alchemy_cms/pull/1353) ([tvdeyen](https://github.com/tvdeyen))
|
|
34
79
|
- New color theme [#1352](https://github.com/AlchemyCMS/alchemy_cms/pull/1352) ([tvdeyen](https://github.com/tvdeyen))
|
|
35
80
|
- Only scroll to element if focused from preview [#1351](https://github.com/AlchemyCMS/alchemy_cms/pull/1351) ([tvdeyen](https://github.com/tvdeyen))
|
|
81
|
+
- Don't prevent submit event of element save button [#1349](https://github.com/AlchemyCMS/alchemy_cms/pull/1349) ([tvdeyen](https://github.com/tvdeyen))
|
|
82
|
+
- Use FA calendar icons for EssenceDate picker [#1348](https://github.com/AlchemyCMS/alchemy_cms/pull/1348) ([tvdeyen](https://github.com/tvdeyen))
|
|
36
83
|
- Use headless chrome for feature tests [#1347](https://github.com/AlchemyCMS/alchemy_cms/pull/1347) ([tvdeyen](https://github.com/tvdeyen))
|
|
84
|
+
- Refactor the preview window JS code [#1346](https://github.com/AlchemyCMS/alchemy_cms/pull/1346) ([tvdeyen](https://github.com/tvdeyen))
|
|
37
85
|
- 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
86
|
- Remove pleaseWait overlay from links with GET requests [#1343](https://github.com/AlchemyCMS/alchemy_cms/pull/1343) by [tvdeyen](https://github.com/tvdeyen)
|
|
87
|
+
- Replaces PNG icons with FontAwesome icon font [#1342](https://github.com/AlchemyCMS/alchemy_cms/pull/1342) by [tvdeyen](https://github.com/tvdeyen)
|
|
88
|
+
- Ensure to use pg < 1.0 in tests [#1341](https://github.com/AlchemyCMS/alchemy_cms/pull/1341) ([tvdeyen](https://github.com/tvdeyen))
|
|
89
|
+
- Add must_revalidate to cache-control header [#1340](https://github.com/AlchemyCMS/alchemy_cms/pull/1340) ([afdev82](https://github.com/afdev82))
|
|
40
90
|
- Removed fixed table headers from admin resource tables [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
|
|
41
91
|
- Removed Bourbon Sass library [#1339](https://github.com/AlchemyCMS/alchemy_cms/pull/1339) by [tvdeyen](https://github.com/tvdeyen)
|
|
42
92
|
- Add possibility to add a suffix to the page title [#1331](https://github.com/AlchemyCMS/alchemy_cms/pull/1331) ([jrieger](https://github.com/jrieger))
|
|
@@ -44,6 +94,10 @@
|
|
|
44
94
|
- Check if file exists on disk before calling identify [#1327](https://github.com/AlchemyCMS/alchemy_cms/pull/1327) ([chalmagean](https://github.com/chalmagean))
|
|
45
95
|
- Skip folded deeper levels when rendering page tree [#1324](https://github.com/AlchemyCMS/alchemy_cms/pull/1324) ([pascalj](https://github.com/pascalj))
|
|
46
96
|
|
|
97
|
+
## 4.0.4 (2018-09-05)
|
|
98
|
+
|
|
99
|
+
- Allow Kaminari 1.x [#1467](https://github.com/AlchemyCMS/alchemy_cms/pull/1467) ([tvdeyen](https://github.com/tvdeyen))
|
|
100
|
+
|
|
47
101
|
## 4.0.3 (2018-05-14)
|
|
48
102
|
|
|
49
103
|
- Add must_revalidate to cache-control header [#1340](https://github.com/AlchemyCMS/alchemy_cms/pull/1340) ([afdev82](https://github.com/afdev82))
|
data/README.md
CHANGED
|
@@ -194,17 +194,19 @@ http://markevans.github.io/dragonfly/cache
|
|
|
194
194
|
|
|
195
195
|
### Localization
|
|
196
196
|
|
|
197
|
-
Alchemy ships with one default English translation for the admin interface. If you want to use the admin interface in other languages please have a look at the [`alchemy_i18n` project](https://github.com/AlchemyCMS/
|
|
197
|
+
Alchemy ships with one default English translation for the admin interface. If you want to use the admin interface in other languages please have a look at the [`alchemy_i18n` project](https://github.com/AlchemyCMS/alchemy_i18n).
|
|
198
198
|
|
|
199
199
|
## Upgrading
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
Therefore we have build
|
|
203
|
-
|
|
204
|
-
That's why after updating the Alchemy gem you should **always run the upgrader**:
|
|
201
|
+
We, the Alchemy team, take upgrades very seriously and we try to make them as smooth as possible.
|
|
202
|
+
Therefore we have build an upgrade task, that tries to automate the upgrade procedure as much as possible.
|
|
205
203
|
|
|
204
|
+
That's why after the Alchemy gem has been updated, with explicit call to:
|
|
206
205
|
```shell
|
|
207
206
|
$ bundle update alchemy_cms
|
|
207
|
+
```
|
|
208
|
+
you should **always run the upgrader**:
|
|
209
|
+
```shell
|
|
208
210
|
$ bin/rake alchemy:upgrade
|
|
209
211
|
```
|
|
210
212
|
|
|
@@ -217,7 +219,7 @@ Also, `git diff` is your friend.
|
|
|
217
219
|
|
|
218
220
|
### Customize the upgrade preparation
|
|
219
221
|
|
|
220
|
-
The Alchemy upgrader comes prepared with
|
|
222
|
+
The Alchemy upgrader comes prepared with several rake tasks in a specific order.
|
|
221
223
|
This is sometimes not what you want or could even break upgrades.
|
|
222
224
|
In order to customize the upgrade preparation process you can instead run each of the tasks on their own.
|
|
223
225
|
|
|
@@ -316,7 +318,7 @@ Alchemy specs are written **in RSpec 3**. Please **do not use deprecated RSpec 2
|
|
|
316
318
|
* Read the guidelines: http://guides.alchemy-cms.com.
|
|
317
319
|
* Read the documentation: http://rubydoc.info/github/AlchemyCMS/alchemy_cms
|
|
318
320
|
* If you found a bug please use the [issue tracker on Github](https://github.com/AlchemyCMS/alchemy_cms/issues).
|
|
319
|
-
* For questions about general usage please use [Stack Overflow](http://stackoverflow.com/questions/tagged/alchemy-cms), [the User Group](http://groups.google.com/group/alchemy-cms) or the [
|
|
321
|
+
* For questions about general usage please use [Stack Overflow](http://stackoverflow.com/questions/tagged/alchemy-cms), [the User Group](http://groups.google.com/group/alchemy-cms) or the [Slack](https://slackin.alchemy-cms.com).
|
|
320
322
|
* New features should be discussed on our [Trello Board](https://trello.com/alchemycms).
|
|
321
323
|
|
|
322
324
|
**PLEASE** don't use the Github issues for feature requests. If you want to contribute to Alchemy please [read the contribution guidelines](https://github.com/AlchemyCMS/alchemy_cms/blob/master/CONTRIBUTING.md) before doing so.
|
|
@@ -330,7 +332,7 @@ Alchemy specs are written **in RSpec 3**. Please **do not use deprecated RSpec 2
|
|
|
330
332
|
* Issue-Tracker: <https://github.com/AlchemyCMS/alchemy_cms/issues>
|
|
331
333
|
* Sourcecode: <https://github.com/AlchemyCMS/alchemy_cms>
|
|
332
334
|
* User Group: <http://groups.google.com/group/alchemy-cms>
|
|
333
|
-
*
|
|
335
|
+
* Slack: <https://slackin.alchemy-cms.com>
|
|
334
336
|
* Discussion Board: <https://trello.com/alchemycms>
|
|
335
337
|
* Twitter: <https://twitter.com/alchemy_cms>
|
|
336
338
|
|
data/alchemy_cms.gemspec
CHANGED
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
|
|
|
33
33
|
gem.add_runtime_dependency 'originator', ['~> 3.1']
|
|
34
34
|
gem.add_runtime_dependency 'non-stupid-digest-assets', ['~> 1.0.8']
|
|
35
35
|
gem.add_runtime_dependency 'rails', ['~> 5.0', '< 6.0']
|
|
36
|
-
gem.add_runtime_dependency 'ransack', ['~>
|
|
36
|
+
gem.add_runtime_dependency 'ransack', ['~> 2.0']
|
|
37
37
|
gem.add_runtime_dependency 'request_store', ['~> 1.2']
|
|
38
38
|
gem.add_runtime_dependency 'responders', ['~> 2.0']
|
|
39
39
|
gem.add_runtime_dependency 'select2-rails', ['>= 3.5.9.1', '< 4.0']
|
|
@@ -64,8 +64,7 @@ $.extend Alchemy,
|
|
|
64
64
|
$element = $form_field.closest(".element-editor")
|
|
65
65
|
if $form_field[0]
|
|
66
66
|
$form_field.val ""
|
|
67
|
-
$
|
|
68
|
-
$form_field.parent().html '<i class="icon far fa-image fa-fw"/>'
|
|
67
|
+
$element.find(".thumbnail_background").html('<i class="icon far fa-image fa-fw"/>')
|
|
69
68
|
Alchemy.setElementDirty $element
|
|
70
69
|
false
|
|
71
70
|
|
|
@@ -104,8 +103,7 @@ $.extend Alchemy,
|
|
|
104
103
|
# Logs exception to js console, if present.
|
|
105
104
|
debug: (e) ->
|
|
106
105
|
if window["console"]
|
|
107
|
-
console.
|
|
108
|
-
console.trace()
|
|
106
|
+
console.warn(e)
|
|
109
107
|
return
|
|
110
108
|
|
|
111
109
|
# Logs errors to js console, if present.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
border-color: $error_border_color;
|
|
12
12
|
color: $error_text_color;
|
|
13
13
|
background-color: lighten($error_background_color, 8%);
|
|
14
|
-
box-shadow: inset
|
|
14
|
+
box-shadow: inset 0px 0 1px rgba($error_border_color, 0.5);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
%default-input-style {
|
|
@@ -17,14 +17,15 @@
|
|
|
17
17
|
$background-color: $button-bg-color,
|
|
18
18
|
$hover-color: $button-hover-bg-color,
|
|
19
19
|
$hover-border-color: $button-hover-border-color,
|
|
20
|
-
$border-radius: $
|
|
20
|
+
$border-radius: $button-border-radius,
|
|
21
21
|
$border: $button-border-width solid $button-border-color,
|
|
22
|
+
$box-shadow: $button-box-shadow,
|
|
22
23
|
$padding: $button-padding,
|
|
23
24
|
$margin: $button-margin,
|
|
24
25
|
$color: $button-text-color,
|
|
25
26
|
$line-height: $form-field-line-height,
|
|
26
27
|
$focus-border-color: $button-focus-border-color,
|
|
27
|
-
$focus-box-shadow:
|
|
28
|
+
$focus-box-shadow: $button-focus-box-shadow) {
|
|
28
29
|
display: inline-block;
|
|
29
30
|
font-family: $default-font-family;
|
|
30
31
|
font-size: $default-font-size;
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
cursor: pointer;
|
|
35
36
|
border-radius: $border-radius;
|
|
36
37
|
background-color: $background-color;
|
|
37
|
-
box-shadow: $
|
|
38
|
+
box-shadow: $box-shadow;
|
|
38
39
|
border: $border;
|
|
39
40
|
color: $color;
|
|
40
41
|
margin: $margin;
|
|
@@ -49,7 +50,8 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
&:active, &:active:focus {
|
|
52
|
-
border-color: $
|
|
53
|
+
border-color: $hover-border-color;
|
|
54
|
+
box-shadow: none;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
&:focus {
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
&.disabled, &[disabled],
|
|
63
65
|
&.disabled:active, &[disabled]:active,
|
|
64
66
|
&.disabled:hover, &[disabled]:hover {
|
|
65
|
-
background-color: transparentize($button-bg-color, 0.
|
|
67
|
+
background-color: transparentize($button-bg-color, 0.5);
|
|
66
68
|
cursor: not-allowed;
|
|
67
69
|
box-shadow: none;
|
|
68
70
|
}
|
|
@@ -85,16 +87,6 @@
|
|
|
85
87
|
font-size: $default-font-size;
|
|
86
88
|
}
|
|
87
89
|
|
|
88
|
-
@mixin form-heading {
|
|
89
|
-
border-bottom: 1px solid #CECECE;
|
|
90
|
-
padding-right: 8px;
|
|
91
|
-
margin-top: 8px;
|
|
92
|
-
text-align: right;
|
|
93
|
-
font-weight: normal;
|
|
94
|
-
color: #585858;
|
|
95
|
-
text-transform: uppercase;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
90
|
@mixin form-value-display {
|
|
99
91
|
float: right;
|
|
100
92
|
width: $form-right-width;
|
|
@@ -176,6 +168,7 @@
|
|
|
176
168
|
$border: 1px solid $linked-border-color,
|
|
177
169
|
$hover-border-color: darken($linked-border-color, 10%),
|
|
178
170
|
$border-radius: $border-radius,
|
|
171
|
+
$box-shadow: none,
|
|
179
172
|
$padding: $padding,
|
|
180
173
|
$margin: 0
|
|
181
174
|
);
|
|
@@ -10,12 +10,14 @@ $dark-gray-blue: rgb(51, 59, 81);
|
|
|
10
10
|
$light_yellow: #fbfbd8;
|
|
11
11
|
$orange: #ffd77a;
|
|
12
12
|
$dark-orange: #eca96e;
|
|
13
|
+
$very-dark-orange: darken($dark-orange, 20%);
|
|
13
14
|
$white: #fff;
|
|
14
15
|
|
|
15
16
|
$text-color: rgba($dark-gray-blue, 0.8) !default;
|
|
16
17
|
$muted-text-color: rgba($dark-gray-blue, 0.5) !default;
|
|
17
18
|
$icon-color: rgba($dark-gray-blue, 0.75) !default;
|
|
18
19
|
$linked-color: $orange !default;
|
|
20
|
+
$anchor-color: $very-dark-orange !default;
|
|
19
21
|
|
|
20
22
|
$body-background-color: $light-gray !default;
|
|
21
23
|
|
|
@@ -27,7 +29,7 @@ $small-font-size: 0.9em !default;
|
|
|
27
29
|
$default-font-style: $default-font-size $default-font-family !default;
|
|
28
30
|
|
|
29
31
|
$dialog-header-height: 36px !default;
|
|
30
|
-
$dialog-header-color: $dark-
|
|
32
|
+
$dialog-header-color: $dark-blue !default;
|
|
31
33
|
$dialog-header-text-color: $white !default;
|
|
32
34
|
$dialog-header-font-size: $default-font-size !default;
|
|
33
35
|
$dialog-box-shadow: 0 8px 16px rgba(35, 35, 35, 0.5) !default;
|
|
@@ -61,22 +63,24 @@ $form-field-disabled-bg-color: rgba($white, 0.5) !default;
|
|
|
61
63
|
|
|
62
64
|
$focus-color: rgba($dark-orange, 0.75) !default;
|
|
63
65
|
|
|
64
|
-
$button-bg-color:
|
|
65
|
-
$button-hover-bg-color:
|
|
66
|
-
$button-border-color:
|
|
67
|
-
$button-border-width:
|
|
66
|
+
$button-bg-color: $white !default;
|
|
67
|
+
$button-hover-bg-color: transparent !default;
|
|
68
|
+
$button-border-color: $default-border-color !default;
|
|
69
|
+
$button-border-width: 1px !default;
|
|
70
|
+
$button-border-radius: $default-border-radius !default;
|
|
68
71
|
$button-text-color: $text-color !default;
|
|
69
|
-
$button-hover-border-color:
|
|
70
|
-
$button-focus-border-color: $
|
|
71
|
-
$button-font-weight:
|
|
72
|
+
$button-hover-border-color: $default-border-color !default;
|
|
73
|
+
$button-focus-border-color: $dark-orange !default;
|
|
74
|
+
$button-font-weight: 700 !default;
|
|
72
75
|
$button-text-shadow: none !default;
|
|
73
|
-
$button-box-shadow:
|
|
74
|
-
$button-
|
|
76
|
+
$button-box-shadow: 0px 1px 1px -1px #333 !default;
|
|
77
|
+
$button-focus-box-shadow: 0px 1px 1px 0px $button-focus-border-color !default;
|
|
78
|
+
$button-padding: 0.55em 2em !default;
|
|
75
79
|
$button-margin: $form-field-margin !default;
|
|
76
80
|
|
|
77
81
|
$secondary-button-bg-color: transparent !default;
|
|
78
|
-
$secondary-button-text-color: $
|
|
79
|
-
$secondary-button-border-color: $
|
|
82
|
+
$secondary-button-text-color: $text-color !default;
|
|
83
|
+
$secondary-button-border-color: $default-border-color !default;
|
|
80
84
|
|
|
81
85
|
$linked-button-color: rgba($linked-color, 0.75) !default;
|
|
82
86
|
$linked-border-color: darken($linked-color, 10%) !default;
|
|
@@ -108,9 +112,9 @@ $sitemap-highlight-color: rgba(#fffba5, 0.5) !default;
|
|
|
108
112
|
|
|
109
113
|
$main-menu-width: 150px !default;
|
|
110
114
|
$collapsed-main-menu-width: 48px !default;
|
|
111
|
-
$main-menu-bg-color: $dark-
|
|
115
|
+
$main-menu-bg-color: $dark-blue !default;
|
|
112
116
|
$main-menu-active-bg-color: $dark-orange !default;
|
|
113
|
-
$main-menu-active-text-color: $dark-
|
|
117
|
+
$main-menu-active-text-color: $dark-blue !default;
|
|
114
118
|
$main-menu-text-color: $white !default;
|
|
115
119
|
$main-menu-icon-color: $white !default;
|
|
116
120
|
$main-menu-entry-max-width: 100px !default;
|
|
@@ -123,7 +127,7 @@ $text-shadow-light: rgba($white, 0.5) 0 0 4px !default;
|
|
|
123
127
|
$transition-duration: 250ms !default;
|
|
124
128
|
$transition-easing: linear !default;
|
|
125
129
|
|
|
126
|
-
$tooltip-background-color:
|
|
130
|
+
$tooltip-background-color: $dark-blue !default;
|
|
127
131
|
|
|
128
132
|
$addon-icon-opacity: 0.85 !default;
|
|
129
133
|
|
|
@@ -149,4 +153,7 @@ $datepicker_day_bg: $light-gray !default;
|
|
|
149
153
|
$datepicker_day_border: 1px solid $medium-gray !default;
|
|
150
154
|
$datepicker_day_color: $text-color !default;
|
|
151
155
|
|
|
156
|
+
$select-hover-bg-color: $dark-blue !default;
|
|
157
|
+
$select-hover-text-color: $white !default;
|
|
158
|
+
|
|
152
159
|
$thumbnail-background-color: opacify($default-border-color, 1) !default;
|
|
@@ -163,8 +163,7 @@ div#library_sidebar {
|
|
|
163
163
|
top: 0;
|
|
164
164
|
right: 0;
|
|
165
165
|
width: 232px;
|
|
166
|
-
padding
|
|
167
|
-
padding: 84px 4*$default-padding 0 4*$default-padding;
|
|
166
|
+
padding: 86px 4*$default-padding 0 4*$default-padding;
|
|
168
167
|
height: 100%;
|
|
169
168
|
z-index: 3;
|
|
170
169
|
background-color: $light-gray;
|
|
@@ -50,47 +50,10 @@ body {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
h1 {
|
|
54
|
-
padding: 0;
|
|
55
|
-
margin: 2*$default-margin;
|
|
56
|
-
font-weight: bold;
|
|
57
|
-
font-size: $default-font-size;
|
|
58
|
-
|
|
59
|
-
&.resources-header {
|
|
60
|
-
position: fixed;
|
|
61
|
-
width: 100%;
|
|
62
|
-
top: 75px;
|
|
63
|
-
left: $main-menu-width + 9px;
|
|
64
|
-
z-index: 2;
|
|
65
|
-
margin: 0 -8px;
|
|
66
|
-
padding: 16px;
|
|
67
|
-
background-color: $light-gray;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
h2 {
|
|
72
|
-
margin: $default-margin 0;
|
|
73
|
-
padding-bottom: $default-padding;
|
|
74
|
-
clear: both;
|
|
75
|
-
font-weight: bold;
|
|
76
|
-
font-size: $default-font-size;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
h3 {
|
|
80
|
-
margin: $default-margin 0;
|
|
81
|
-
padding-bottom: $default-padding;
|
|
82
|
-
font-size: $default-font-size;
|
|
83
|
-
font-weight: bold;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
p {
|
|
87
|
-
margin: 0 0 2*$default-margin 0;
|
|
88
|
-
white-space: normal;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
53
|
a {
|
|
92
|
-
color:
|
|
54
|
+
color: inherit;
|
|
93
55
|
text-decoration: none;
|
|
56
|
+
transition: $transition-duration;
|
|
94
57
|
|
|
95
58
|
&:hover {
|
|
96
59
|
text-decoration: underline;
|
|
@@ -109,22 +72,22 @@ form {
|
|
|
109
72
|
margin-bottom: 0;
|
|
110
73
|
}
|
|
111
74
|
|
|
112
|
-
ul {
|
|
113
|
-
padding-left: 16px;
|
|
114
|
-
margin-top: 1em;
|
|
115
|
-
margin-bottom: 1em;
|
|
116
|
-
|
|
117
|
-
li {
|
|
118
|
-
margin-bottom: 0.5em;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
75
|
hr {
|
|
123
76
|
border: 0 none;
|
|
124
77
|
border-bottom: 1px solid;
|
|
125
78
|
opacity: 0.5;
|
|
126
79
|
}
|
|
127
80
|
|
|
81
|
+
.panel {
|
|
82
|
+
width: 80%;
|
|
83
|
+
max-width: 500px;
|
|
84
|
+
margin: 2em auto;
|
|
85
|
+
padding: 4*$default-padding;
|
|
86
|
+
border: $default-border;
|
|
87
|
+
background: $medium-gray;
|
|
88
|
+
border-radius: $default-border-radius;
|
|
89
|
+
}
|
|
90
|
+
|
|
128
91
|
.float_right { float: right }
|
|
129
92
|
|
|
130
93
|
.float_left { float: left }
|
|
@@ -133,16 +96,6 @@ hr {
|
|
|
133
96
|
text-align: center;
|
|
134
97
|
}
|
|
135
98
|
|
|
136
|
-
kbd {
|
|
137
|
-
font-family: Courier, monospaced;
|
|
138
|
-
background: $medium-gray;
|
|
139
|
-
border: $default-border;
|
|
140
|
-
padding: 0.25em 0.5em;
|
|
141
|
-
vertical-align: top;
|
|
142
|
-
margin-right: 1ex;
|
|
143
|
-
border-radius: $default-border-radius;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
99
|
.top-rounded-border {
|
|
147
100
|
@include border-top-radius($default-border-radius);
|
|
148
101
|
}
|