imagine_cms 5.2.3 → 5.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: ccebbb2a50cfd351fdb4f1732d9a1962064dc6a1036308612db3b8c7c53b23cd
4
- data.tar.gz: b03bd71743e5fd6b7a659d820f98a0ffbd4a9249160356a9504213d9abf697c7
2
+ SHA1:
3
+ metadata.gz: 672368e7c94e96e2469039b0db26f52b18e96124
4
+ data.tar.gz: b8c4834bfdb9cf87c13f621d125cda575d9b606e
5
5
  SHA512:
6
- metadata.gz: dfb6e1131fe106b647f50025c6513b61422da2502acbc5f2d6623200f392f8f01a178b5bb6a918f8230b4daec3000334776c9738bda36173cb3805e1c38e0640
7
- data.tar.gz: 4e2982264ebc4bccb7c169542fc5e8ae33001b6ffccf88f66d65ce413821e1e9410a754799f2a40265afa5a5e155b636ffa5f2c71c6a528f22898b7098316032
6
+ metadata.gz: 9a30892f3a9cb461c93dfdb709e33b91fc35816ce6af17f9afc1a96ef119a60581912baf33a5f43b5c8677a0afbf1b852c49596239cdc047f18d2a8260141c72
7
+ data.tar.gz: d724d7bf923d7ffeb5896def1e9f7bf9d71c64ebd19f4b3e2b371a00b2076b38f9ca97f0aaafc2d54f530114461006f6068de844fce9df133edb4ed5b9c170c7
data/README.md CHANGED
@@ -7,15 +7,19 @@
7
7
  Imagine CMS is a web content management system developed by [Bigger Bird Creative, Inc.](https://biggerbird.com) in 2006 for its clients.
8
8
  Other CMSes came with a learning curve: not a problem for daily users, but clients who only used it once a month or so would forget everything by the next time they logged in.
9
9
  Simpler systems didn't have enough functionality to allow us to do what we wanted to do as designers and developers.
10
- Thus, we created a CMS that is easy for clients to use, stays out of our way, and provides useful automation (publishing and unpublishing on a schedule, navigation links, RSS feeds, etc.).
10
+ Thus, we created a CMS that is easy for clients to use, stays out of our way, and provides useful automation (lists, publishing and unpublishing on a schedule, navigation links, RSS feeds, etc.).
11
11
 
12
12
  ## Current Status
13
13
 
14
- Imagine 5.2 is ready for production use (v5.2-stable branch). Imagine 4 is also available for apps tied to Rails 4.2, respectively (v4.2-stable branch).
14
+ Imagine 5 is ready for production use (v5.2-stable branch), but is being wound down in favor of Imagine 6 and 7.
15
15
 
16
- However, unless you are already familiar with Imagine, this project is not suitable for wider use. Why? Well, the purpose of the Imagine gem at this point is strictly to upgrade legacy sites to modern versions of Rails as simply as possible, and to make sure that if something happens to Bigger Bird, our clients will not be left high and dry. This version was never intended to be used by the general public.
16
+ Imagine 4 (v4.2-stable branch) is available for apps tied to Rails 4.2, but is no longer actively maintained.
17
17
 
18
- Imagine 7 will be a clean break and a great time to try Imagine CMS. Depending on how smoothly development goes, it could be released before Imagine 6 (awkward...).
18
+ Imagine 3 (v3.0-stable branch) is available for apps tied to Rails 3.x, but is no longer actively maintained.
19
+
20
+ Unless you are already familiar with Imagine, this project is not suitable for wider use. Why? Well, the reason this version of Imagine is published on Github is to ensure that if something happens to Bigger Bird, our clients will not be left high and dry. However, this version was never intended to be used by the general public.
21
+
22
+ Imagine 7 will be a clean break and a great time to try Imagine CMS.
19
23
 
20
24
  ## History and Roadmap
21
25
 
@@ -31,15 +35,15 @@ All that is now firmly in the past. By extracting Imagine functionality into a R
31
35
  * Imagine 4.2 (Rails 4.2, Ruby 2.2): [DONE, v4.2-stable] Compatibility with Rails 4.2, many minor fixes and UI improvements
32
36
  * Imagine 5.0 (Rails 5.0, Ruby 2.2): [SKIPPED] Compatibility with Rails 5.0
33
37
  * Imagine 5.1 (Rails 5.1, Ruby 2.4): [SKIPPED] Compatibility with Rails 5.1
34
- * **Imagine 5.2 (Rails 5.2, Ruby 2.5): [CURRENT RELEASE] Compatibility with Rails 5.2**
35
- * Imagine 6 (Rails 6): [FUTURE] Compatibility with Rails 6
36
- * Imagine 7 (Crystal): [IN PROGRESS] Rewrite in [Crystal](https://crystal-lang.org/) with [Apache CouchDB](http://couchdb.apache.org/) backend
38
+ * **Imagine 5.2 (Rails 5.2, Ruby 2.5/2.6): [CURRENT RELEASE] Compatibility with Rails 5.2**
39
+ * Imagine 6 (Elixir/Phoenix + MySQL): Closed source internal release, stepping stone between Imagine 5 and 7
40
+ * Imagine 7 (Elixir/Phoenix + CouchDB): [IN PROGRESS] Community-driven open source project
37
41
 
38
- Imagine 6 will continue to be Rails-based, but Imagine 7 is a complete, ground-up rewrite in Crystal. Development will begin in a new repository under an Imagine CMS organization, as a proper community-driven open source project (finally!). The core concepts will continue on, but not a single line of code will carry over.
42
+ Imagine 6 is a complete, ground-up rewrite in Elixir, and Imagine 7 builds on that, while also replacing the original MySQL/MariaDB store with CouchDB for improved scaling, redundancy, and replication. Imagine 7 development will also be done in the open, in a new repository under the Imagine CMS organization, as a proper community-driven open source project (finally!). The core concepts will continue on, but not a single line of code will be preserved.
39
43
 
40
44
  ## Hosting
41
45
 
42
- Imagine 3.x-6.x can run on typical Rails hosting platforms (anything that uses Passenger, Unicorn, Puma, etc.). On hosts that don't allow writing to the local filesystem (e.g. Heroku) you won't be able to use photo galleries or page caching, but other features should work (note: this mode of operation has not been fully tested).
46
+ Imagine 3.x-5.x can run on typical Rails hosting platforms (anything that uses Passenger, Unicorn, Puma, etc.). On hosts that don't allow writing to the local filesystem (e.g. Heroku) you won't be able to use photo galleries or page caching, but other features should work (note: this mode of operation has not been fully tested).
43
47
 
44
48
  ## Getting Help
45
49
 
@@ -47,7 +51,7 @@ Get paid support and hosting for Imagine CMS straight from the people who made i
47
51
 
48
52
  ## Contributing
49
53
 
50
- Imagine 7 (Crystal) will be a true open source project, but this project (Ruby-based Imagine) will remain more or less closed for the foreseeable future. If companies or individuals are willing to sponsor or co-develop new features, we can work something out.
54
+ Imagine 7 (Elixir rewrite) will be a true open source project with full community involvement, but this project (Ruby-based Imagine 3.x - 5.x) will remain mostly closed for the foreseeable future (source will continue to be made available on Github, but development will be driven by Bigger Bird only). If companies or individuals are willing to sponsor or co-develop new features, we can work something out.
51
55
 
52
56
  ## Building Docker Image
53
57
 
@@ -55,7 +59,7 @@ Imagine 7 (Crystal) will be a true open source project, but this project (Ruby-b
55
59
 
56
60
  ```bash
57
61
  docker build -t anamba/imagine5-dev:latest .
58
- docker tag anamba/imagine5-dev:latest anamba/imagine5-dev:5.2.1
62
+ docker tag anamba/imagine5-dev:latest anamba/imagine5-dev:5.2.3
59
63
  docker tag anamba/imagine5-dev:latest anamba/imagine5-dev:5.2
60
64
  docker push anamba/imagine5-dev
61
65
  ```
@@ -1,3 +1,9 @@
1
+ // fix for a Firefox 69 issue
2
+ .dojoFloatingPane {
3
+ top: 50%; left: 50%;
4
+ transform: translate(-50%, -50%);
5
+ }
6
+
1
7
  .search-result {
2
8
  margin-bottom: 20px;
3
9
  .search-result-title { font-size: 1.1em; }
@@ -37,7 +43,7 @@ a.imagine_cms-paginator-link-selected {
37
43
 
38
44
  /* an extra classname is applied for Opera < 9.0 to fix it's lack of opacity support */
39
45
  .imgCrop_wrap.opera8 .imgCrop_overlay,
40
- .imgCrop_wrap.opera8 .imgCrop_clickArea {
46
+ .imgCrop_wrap.opera8 .imgCrop_clickArea {
41
47
  background-color: transparent;
42
48
  }
43
49
 
@@ -58,7 +64,7 @@ a.imagine_cms-paginator-link-selected {
58
64
 
59
65
  .imgCrop_selArea {
60
66
  position: absolute;
61
- /* @done_in_js
67
+ /* @done_in_js
62
68
  top: 20px;
63
69
  left: 20px;
64
70
  width: 200px;
@@ -94,16 +100,16 @@ a.imagine_cms-paginator-link-selected {
94
100
  z-index: 3;
95
101
  }
96
102
 
97
- /*
103
+ /*
98
104
  * FIX MARCHING ANTS IN IE
99
- * As IE <6 tries to load background images we can uncomment the follwoing hack
105
+ * As IE <6 tries to load background images we can uncomment the follwoing hack
100
106
  * to remove that issue, not as pretty - but is anything in IE?
101
107
  * And yes I do know that 'filter' is evil, but it will make it look semi decent in IE
102
108
  *
103
109
  * html .imgCrop_marqueeHoriz,
104
110
  * html .imgCrop_marqueeVert {
105
111
  background: transparent;
106
- filter: Invert;
112
+ filter: Invert;
107
113
  }
108
114
  * html .imgCrop_marqueeNorth { border-top: 1px dashed #000; }
109
115
  * html .imgCrop_marqueeEast { border-right: 1px dashed #000; }
@@ -143,7 +149,7 @@ a.imagine_cms-paginator-link-selected {
143
149
  cursor: n-resize;
144
150
  }
145
151
 
146
- .imgCrop_handleNE {
152
+ .imgCrop_handleNE {
147
153
  top: -3px;
148
154
  right: -3px;
149
155
  cursor: ne-resize;
@@ -189,7 +195,7 @@ a.imagine_cms-paginator-link-selected {
189
195
  }
190
196
 
191
197
  /**
192
- * Create an area to click & drag around on as the default browser behaviour is to let you drag the image
198
+ * Create an area to click & drag around on as the default browser behaviour is to let you drag the image
193
199
  */
194
200
  .imgCrop_dragArea {
195
201
  width: 100%;
@@ -1,4 +1,4 @@
1
- <div class="ccs-toolbar EditorToolbarDomNode EditorToolbarSmallBg" style="height: 25px;">
1
+ <div class="ccs-toolbar EditorToolbarDomNode EditorToolbarSmallBg" style="height: 25px; min-width: 900px;">
2
2
  <table cellpadding="1" cellspacing="0" border="0">
3
3
  <tbody>
4
4
  <tr valign="top" align="left">
@@ -233,29 +233,30 @@ module ActionControllerExtensions
233
233
  content << '</div>'
234
234
  content << <<-EOT
235
235
  <script type="text/javascript">
236
- jQuery('##{key}').css({ opacity: '1', cursor: 'default' });
237
- jQuery('.imagine_cms-paginator-link').not('.imagine_cms-paginator-link-selected').mouseover(function () {
238
- jQuery(this).addClass('imagine_cms-paginator-link-selected');
239
- }).mouseout(function () {
240
- jQuery(this).removeClass('imagine_cms-paginator-link-selected');
241
- });
242
-
236
+ setTimeout(() => {
237
+ jQuery('##{key}').css({ opacity: '1', cursor: 'default' });
238
+ jQuery('.imagine_cms-paginator-link').not('.imagine_cms-paginator-link-selected').mouseover(function () {
239
+ jQuery(this).addClass('imagine_cms-paginator-link-selected');
240
+ }).mouseout(function () {
241
+ jQuery(this).removeClass('imagine_cms-paginator-link-selected');
242
+ });
243
243
  EOT
244
244
  num_segments.times do |seg|
245
245
  start = seg * limit
246
246
  content << <<-EOT
247
- jQuery('##{key}-segment-#{seg}').click(function () {
248
- jQuery('##{key}').css({ cursor: 'wait', opacity: '0.5' });
249
- jQuery('html,body').animate({ scrollTop: jQuery('##{key}').position().top }, 200);
250
- jQuery.get('#{url_for(:content_path => @pg.path.split('/').concat([ 'segment', start.to_s, name ]), :only_path => true)}', function (data) {
251
- jQuery('##{key}').html(data);
252
- jQuery('##{key}').css({ cursor: 'default', opacity: '1' });
253
- });
254
- return false;
255
- })
247
+ jQuery('##{key}-segment-#{seg}').click(function () {
248
+ jQuery('##{key}').css({ cursor: 'wait', opacity: '0.5' });
249
+ jQuery('html,body').animate({ scrollTop: jQuery('##{key}').position().top }, 200);
250
+ jQuery.get('#{url_for(:content_path => @pg.path.split('/').concat([ 'segment', start.to_s, name ]), :only_path => true)}', function (data) {
251
+ jQuery('##{key}').html(data);
252
+ jQuery('##{key}').css({ cursor: 'default', opacity: '1' });
253
+ });
254
+ return false;
255
+ })
256
256
  EOT
257
257
  end
258
258
  content << <<-EOT
259
+ });
259
260
  </script>
260
261
  EOT
261
262
  end
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "5.2.3"
2
+ VERSION = "5.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.3
4
+ version: 5.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Namba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-11 00:00:00.000000000 Z
11
+ date: 2019-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -611,7 +611,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
611
611
  version: 1.8.11
612
612
  requirements: []
613
613
  rubyforge_project:
614
- rubygems_version: 2.7.7
614
+ rubygems_version: 2.5.2.3
615
615
  signing_key:
616
616
  specification_version: 4
617
617
  summary: Imagine Content Management System for Rails