Mario Visic
9077390db7
Using a File as a highlighted field will now print the filename as the value. Fixes #289 .
2012-03-05 21:15:43 +08:00
Andrea Campi
98a6740a7d
Make sure the ETag changes when either the page model or the actual rendered content changes. Fixes #313
2012-03-05 11:02:00 +08:00
Paul Sponagl
487e92214e
with_scope order_by: "fieldname [asc|desc]"
2012-03-03 22:52:35 +08:00
Didier Lafforgue
a8f422ba42
merge pull request #300
2012-03-03 15:06:50 +01:00
Didier Lafforgue
e1d75ddac3
Merge pull request #302 from giorgian/fix_asset_urls_importing_contents
...
Fix asset urls importing contents
2012-03-03 05:46:28 -08:00
Didier Lafforgue
31669d5253
Merge pull request #303 from giorgian/export_contents_order
...
Export contents order
2012-03-03 05:35:01 -08:00
Enrique García Cota
db171eba22
use memberships correctly
2012-03-02 23:59:58 +01:00
Enrique García Cota
ae18098c6d
kinda-sorta working?
2012-03-02 14:02:33 +01:00
Enrique García Cota
b359152757
semi working
2012-03-01 17:07:09 +01:00
Enrique García Cota
f407bc7a8f
initial version
2012-02-28 19:29:54 +01:00
Pietro Giorgianni
de3d1b0a12
Ensure that fixtured content types always define order_by.
2012-02-16 12:38:27 +01:00
Pietro Giorgianni
881f74bb32
Spec: exporting a manually ordered content type.
2012-02-16 12:37:09 +01:00
Pietro Giorgianni
a8b00b247b
Spec: assets URLs in contents text fields should be correctly mapped.
2012-02-15 17:20:00 +01:00
Mario Visic
07ff99e135
Ensure uniqueness and format of an accounts email address.
2012-01-21 15:51:38 +11:00
Mario Visic
a0d02b2fce
Add a failing tests for ContentInstance#set_visibility returning false.
2012-01-14 22:06:42 +10:30
Paul Sponagl
27dd3b2001
Fit issue 240 by using slug to find content-type
...
export.rb exports targets with
field_attributes['target'] = target_klass._parent.slug
but import imports it with:
target_content_type = site.content_types.where(:name => association.target).first
this fails if one uses capitalized names for Models.
i changed the default.zip to contain a site yaml with capitalized
Model-Names too.
2012-01-09 15:01:51 +01:00
did
a1e692a34d
fix tests suite with ruby 1.9.2
2012-01-07 02:49:23 +01:00
Mario Visic
4efa43e342
Content instances will now generate a unique slug (if existing is taken). Fixes #210 .
2011-12-18 01:11:39 +08:00
Mario Visic
4ae6fe7977
False values for custom fields are now correctly exported. Fixes #250 .
2011-12-15 22:11:54 +08:00
Robsteranium
82a61b1d2d
spec added to confirm content_type Date problem & patch. Also 1.8.7 compatibility with syck init.
2011-12-15 03:16:11 +00:00
Mario Visic
5c6794d69c
Fixed some failing dragonfly specs.
2011-11-27 19:02:20 +11:00
Mario Visic
06ab49ecec
Replaced will_paginate with kaminari
2011-11-05 16:45:43 +11:00
Mario Visic
9f8906d840
Merge branch 'master' into 236_paginate_has_many
2011-10-29 14:36:01 +08:00
Mario Visic
4939017f8d
No Site now renders a 404 error, this will prevent indexing of pages that do not exist.
2011-10-29 14:35:23 +08:00
Mario Visic
d574939e2c
Added a failing test for paginating has many associations.
2011-10-24 20:52:43 +08:00
Rytis Lukoševičius
6b9d2317da
adding .published? and .listed? methods for the liquid Page drop class
2011-10-04 04:35:40 +03:00
did
016d773b2d
fix issue #217 (memberships not correctly removed)
2011-09-28 18:27:29 +02:00
did
718b3c67bb
improve the with_scope tag based on the work on the editor
2011-09-27 00:25:47 +02:00
did
ce24270948
fix issue #193
2011-09-22 01:38:23 +02:00
Mario Visic
03b6649742
Designers cannot set others to admins, fixes #197
2011-09-17 22:23:43 +08:00
Karl Brightman
75f4835d3e
Integrated next and previous methods for content in content types
2011-09-16 11:35:40 +08:00
did
8dfefe5094
fix issue #201
2011-09-14 11:32:14 +02:00
did
bb48552b51
Ruby MRI 1.9.3 Compatability Fixes
2011-08-25 23:28:56 +02:00
did
aa5c5f0092
tweak the spec_helper.rb file (see issue #157 )
2011-08-25 22:15:23 +02:00
Alex Sanford
88fd17a5aa
Fixed issue with tablerow tag
2011-08-19 10:10:26 -03:00
did
0e3d601ea9
fix xss vulnerability issue ( #170 )
2011-08-18 16:06:34 +02:00
did
e0b9367f10
Got Mongoid and FactoryGirl to stop preloading models ( #157 )
2011-08-16 20:58:23 +02:00
Didier Lafforgue
c3ba38216d
Merge pull request #167 from pacifists/master
...
added parent and breadcrumbs methods to page drop
2011-08-15 15:38:20 -07:00
did
2d4f3df106
has_many target is not exported correctly (issue #165 ) + fix the import function as well
2011-08-15 14:39:53 -07:00
did
408ff098ba
Set up specs to use spork for faster test runs ( #157 )
2011-08-14 12:16:59 -07:00
Rytis Lukoševičius
69e24e8fe0
added .breadcrumbs method to Page drop. It gives all the ancestors of the page and the page itself
2011-08-14 11:34:57 +03:00
Rytis Lukoševičius
025d5a7dda
added .parent method to Page drop
2011-08-14 11:34:08 +03:00
did
b23f2697e9
clean tests and make them pass in the order observed on nix systems
2011-08-13 16:24:02 -07:00
Andrea Frigido
37c50d27ff
Bugfix: import site with empty editable file.
2011-08-03 08:58:47 +02:00
Didier Lafforgue
92ec012472
Merge pull request #149 from corgibytes/content_type_names
...
Fixed issue with the way import was handling content_type name attributes
2011-07-28 06:09:23 -07:00
did
dbee233d0a
add test for the issue #146
2011-07-28 13:51:59 +02:00
did
4c8272dfa0
seo information were not imported for contents
2011-07-28 11:53:36 +02:00
M. Scott Ford
8564055fd1
Modified the existing site context so that it does not reset the site.
2011-07-28 01:20:52 -04:00
M. Scott Ford
707973be16
Wrote a failing test to demonstrate issue with the way import handles the content_type.name attribute.
2011-07-28 01:19:51 -04:00
did
8da0db2454
improve the solution for the issue #127 and write tests (pull request #139 )
2011-07-28 00:39:59 +02:00