Justin Martin
31255fc8f0
BUG: Set visibility on login form methods to public.
2012-12-13 10:23:52 -08:00
Ingo Schommer
7e4629073a
NEW Date->Ago() with "less than a minute" support
2012-12-13 19:01:27 +01:00
Paul Clarke
c0a122613e
Bug fix and code clean up
...
Removed tempory button fixs not needed any more,
Removed unrelated commits,
fix for preview note
2012-12-13 17:44:06 +01:00
Naomi Guyer
6100eb957e
Remove or comment magic numbers, whitespace
2012-12-13 17:43:26 +01:00
Paul Clarke
5d93f8daec
Bug fix preview note "Website preview"
2012-12-13 17:43:25 +01:00
Mateusz Uzdowski
4d6d823cb1
API Allow ignoring persistent tab state through entwine property.
...
In this case we don't want to rely on data attributes in the DOM, as
this should be an inbuilt property associated with this class.
2012-12-13 17:43:25 +01:00
Naomi Guyer
5cef05ebea
Separate out ActionTabSet functionality into a new file & clean up.
2012-12-13 17:43:25 +01:00
Naomi Guyer
ee797e4a48
More CSS fixes for the ActionTabSets.
...
Thanks for contributing @clarkepaul.
2012-12-13 17:43:25 +01:00
Naomi Guyer
618e639526
Refactor and comment TabSet.js
2012-12-13 17:43:25 +01:00
Naomi Guyer
235e8c8138
CSS fixes for the ActionTabSet.
...
Thanks for contributing @clarkepaul!
2012-12-13 17:43:25 +01:00
Naomi Guyer
a80aa3c969
Provide new save icon for the use in the framework.
2012-12-13 17:43:25 +01:00
Mateusz Uzdowski
fe08236f21
API Add action tabsets as a interface idiom.
...
Introduces the concept of action tabsets - usage of TabSet and Tabs
in between the action buttons to allow richer set of capabilities that
can be offered to the user.
Goes along with c8d0cdec99c95dbed3b58ebcc098cc9d22c58206 that implements
a change to the CMS actions.
2012-12-13 17:43:24 +01:00
Joel Edwards
236e335a0a
Permission list styling improvements ( #8100 )
2012-12-13 16:45:32 +01:00
Ingo Schommer
006790bb26
Fixed IE7 GridField "add row" alignment issue
...
Regression from Paul's last commit
2012-12-13 10:50:08 +01:00
Ingo Schommer
7dd224d2a4
Made GridField font size settings less cryptic
...
Instead of applying it to generic alignment classes like
"left" and "right", make it clear that those are targeted
at all contents of the button row.
2012-12-13 10:34:13 +01:00
Ingo Schommer
abf1ee9b52
Suppress jQuery UI's borders around tabs in the CMS
...
Noticed this on the "Groups" tab in admin/security, but
likely a problem elsewhere as well.
2012-12-13 10:21:56 +01:00
Ingo Schommer
2369cc4f42
Moved group member listing utility buttons after field
...
Stay consistent with main member listing in admin/security,
and de-emphasize their importantce. Having the "link existing"
closer to the actual table is a much stronger UI coupling.
2012-12-13 10:15:03 +01:00
Paul Clarke
0ba51c1ebf
Fix to allow buttons to align inline ( fixes #8099 )
2012-12-13 10:09:30 +01:00
Ingo Schommer
bdc3e91e01
Fixed wrong floating on GridField certain buttons
...
Regression from 9152387c92
, alternative solution to
https://github.com/silverstripe/sapphire/pull/1028
2012-12-13 09:47:30 +01:00
Ingo Schommer
5fed5b91c9
API Moved email bounce handling to new 'emailbouncehandler' module
2012-12-12 23:36:42 +01:00
Ingo Schommer
7be8a2252f
Merge pull request #1024 from kinglozzer/8051-insert-media-duplicates
...
BUG Fix insert media form inserting images from other UploadFields (#8051 )
2012-12-12 14:25:19 -08:00
Naomi Guyer
92e4b4fc5b
Remove sub navigation for "Files" (fixes 7956)
...
Backport from master. Fixes display issues with expanded,
unselected submenus ... by removing them.
They're strictly not necessary since both "list" and "add"
modes can be reached through the default AssetAdmin UI.
2012-12-12 23:16:03 +01:00
Loz Calver
639cc0222c
BUG Fix insert media form inserting images from other UploadFields ( fixes #8051 )
...
The insert media form would pick up unwanted images from other
UploadFields. Limiting where it is looking to only the closest form
fixes this.
2012-12-12 15:55:33 +00:00
Ingo Schommer
2e9b5e9221
Merge branch 'orm-join-bug' of git://github.com/stojg/sapphire into stojg-orm-join-bug
2012-12-12 15:53:19 +01:00
Ingo Schommer
441bb5f74c
Added travis environment info output
2012-12-12 15:13:26 +01:00
Justin Martin
0f60ca7255
BUG: Confirmed Password Field now copies attributes to child fields.
2012-12-12 14:44:25 +01:00
Ingo Schommer
f03ad7b0dd
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
admin/javascript/LeftAndMain.AddForm.js
control/Director.php
control/HTTPResponse.php
dev/Profiler.php
email/Mailer.php
forms/ComplexTableField.php
forms/ManyManyComplexTableField.php
forms/SimpleImageField.php
forms/TableField.php
forms/TableListField.php
javascript/ComplexTableField.js
javascript/ImageFormAction.js
javascript/TableField.js
javascript/TableListField.js
security/Member.php
tests/behat/features/bootstrap/SilverStripe/Framework/Test/Behaviour/CmsUiContext.php
tests/forms/TableListFieldTest.php
2012-12-12 10:11:56 +01:00
Ingo Schommer
8fdea7a2ab
Merge pull request #1019 from nyeholt/injector_convert_service_params
...
BUG Fixed issue with convertServiceProperty
2012-12-12 01:07:47 -08:00
Sam Minnée
4b38571ecd
Merge pull request #1021 from simonwelsh/indent-sniff_3.1
...
Add codesniffer that ensures indentation is with tabs.
2012-12-11 20:46:58 -08:00
Sam Minnée
0b7ac904c7
Merge pull request #1022 from simonwelsh/indent-sniff_master
...
Add codesniffer that ensures indentation is with tabs.
2012-12-11 20:46:51 -08:00
Sam Minnée
b618909220
Merge pull request #1007 from simonwelsh/indent-sniff
...
Add codesniffer that ensures indentation is with tabs
2012-12-11 20:46:47 -08:00
Simon Welsh
d795b191ec
Add codesniffer that ensures indentation is with tabs.
2012-12-12 17:39:34 +13:00
Simon Welsh
b0121b541c
Add codesniffer that ensures indentation is with tabs.
2012-12-12 17:33:31 +13:00
Marcus Nyeholt
4f63f91cc8
BUG Fixed issue with convertServiceProperty
...
Fixed issue where convertServiceProperty is called when creating objects
with user-supplied constructor arguments, so that it's only called when
creating objects using injector configuration. This reduces the overhead
of unnecessary calls to convertServiceProperty.
Updated test cases to validate behaviour
2012-12-12 15:22:23 +11:00
Simon Welsh
379b561cdb
BUG RSSFeed now sets the Content-Type on the current HTTPResponse
...
RSSFeed::outputToBrowser() used to use header() directly to set the content-type.
This stopped ContentNegotiator from correctly detecting that it didn't need to
convert the response, invalidating the XML.
2012-12-12 10:38:56 +13:00
Ingo Schommer
ac317674b3
Updated composer.json
2012-12-11 18:02:58 +01:00
Ingo Schommer
ed11970ede
Updated composer.json
2012-12-11 17:59:47 +01:00
Ingo Schommer
6571c17992
Merge remote-tracking branch 'origin/3.0'
2012-12-11 17:16:19 +01:00
Ingo Schommer
e8fbfc0bd1
NEW FixtureFactory separated out from YamlFixture
...
Enables more generic use of the fixture facilities
without dependency on the YAML format, for example
when creating fixtures from Behat step definitions.
Note: The YamlFixture class needs to be created via
Injector::inst()->create('YamlFixture') now,
direct instantiation is no longer supported.
2012-12-11 17:06:27 +01:00
Ingo Schommer
142ad15a47
Merge branch 'pulls/sqlite-case-matching-new'
2012-12-11 15:20:18 +01:00
Simon Welsh
fc5dd2994c
Add codesniffer that ensures indentation is with tabs.
2012-12-12 00:12:11 +13:00
Ingo Schommer
e6e47cb35e
API DB-specific comparisators in SearchFilter and DataList
...
Too many edge cases to leave this up to datalists,
particularly now that we introduced enforced
case sensitivity/insensitivity in the ORM APIs.
2012-12-11 12:04:48 +01:00
Ingo Schommer
98034594e0
Fixed SelectionGroupTest
2012-12-11 11:38:31 +01:00
Ingo Schommer
d92258da8f
Allow calling SSViewer_Scope on empty sets
...
Specifically fixes a bug where a SelectionGroup_Item
without a "child" field causes fatal errors.
2012-12-11 11:07:00 +01:00
Ingo Schommer
548ad503ed
API Removed keyed arrays for title/value setting in SelectionGroup
...
Use SelectionGroup_Item class instead. Necessary because
of removal of array key support from ArrayList (see d12b49702
).
2012-12-11 11:06:06 +01:00
Andrew O'Neil
9d74c99e08
BUGFIX: ArrayList now discards keys of the array passed in and keeps the numerically indexed array sequential.
...
This fixes FirstLast and EvenOdd in templates, and makes ArrayList more consistent, as several methods already discarded the keys.
2012-12-11 10:12:00 +01:00
Sean Harvey
0f8b229d6b
Modify Composer install path in docs
...
Composer examples at http://getcomposer.org/doc/00-intro.md use
/usr/local/bin for installing Composer globally, so let's use that
path as well instead of /usr/bin.
2012-12-11 15:43:30 +13:00
stojg
efa9ff9b08
API: Queries added by DataList::addInnerJoin() and DataList::leftJoin() come after the base joins, not before.
...
This bug will surface when using the ORM and adding an join to DataList
where a DataObject inherits another DataObject.
If you for example want to restrict the number of pages that only have a
related Staff object:
$list = DataList::create('Page')
->InnerJoin('Staff', '"Staff"."ID" = "Page"."StaffID");
This will create a SQL query where the INNER JOIN is before the
LEFT JOIN of Page and SiteTree in the resulting SQL string. In MySQL
and PostgreSQL this will create an invalid query.
This patch solves the problem by sorting the joins.
2012-12-11 11:04:29 +13:00
Ingo Schommer
0fd6d14f94
Fixed Behat steps for preview feature
2012-12-10 18:06:49 +01:00
Ingo Schommer
d5dcecf984
Disable change tracking for preview state switch
2012-12-10 17:52:02 +01:00