Commit Graph

9237 Commits

Author SHA1 Message Date
Ingo Schommer
402297ee1f Removed outdated docs for SQLQuery and data model techniques
Some of the SQLQuery recipes are now handled better by DataList,
others should be contrasted with their respective DataList implementation,
pointing out the limitations
2012-06-28 14:51:04 +02:00
Ingo Schommer
19e087d226 Fixed references to deprecated APIs in docs 2012-06-28 14:49:55 +02:00
Ingo Schommer
0236a3c03a NEW Docs for form validation (incl. HTML5 types) and model validatoin 2012-06-28 11:43:30 +02:00
Ingo Schommer
3ef394c448 Proof reading tutorials 1 and 2 2012-06-28 11:42:50 +02:00
Ingo Schommer
aa8dfd127c FileField->getUpload() and setUpload() 2012-06-28 11:42:27 +02:00
Ingo Schommer
ee71356fca Removed 'subversion' docs
No longer required since we've successfully switched to git
2012-06-28 09:00:13 +02:00
Ingo Schommer
63afdba7a5 Merge pull request #584 from silverstripe-droptables/ssexpress
BUG: notify PaginatedList the full-text results are already limited.
2012-06-27 23:59:01 -07:00
Sam Minnée
7d16e4caf0 Merge pull request #585 from adrexia/Documentation
Update Tutorials (part 1 and 2)
2012-06-27 21:29:33 -07:00
Naomi Guyer
14753e9b5f MINOR: Documentation, tutorial (part2) 2012-06-28 15:25:31 +12:00
Naomi Guyer
2c024e444c MINOR: Documentation, tutorial (part1) 2012-06-28 15:24:59 +12:00
Mateusz Uzdowski
3141e713b7 BUG: notify PaginatedList the full-text results are already limited.
PaginatedList needs to be notified about this, otherwise it will
errorneously try to further limit the already limited set, making the
subsequent pages empty.
2012-06-28 13:19:13 +12:00
Sean Harvey
fc98c682f8 Merge pull request #583 from sminnee/version-latest-fix
BUGFIX: Allow Versioned::get_latest_version() and Version::get_version()to return results if the classname has changed.
2012-06-27 18:03:45 -07:00
Sam Minnee
b654b95472 BUGFIX: Allow Versioned::get_latest_version() and Version::get_version() to return results if the classname has changed.
Without this bugfix, if you had a Page that used to be a SiteTree, and you tried to use Versiond::get_version() or Versioned::get_latest_version() to return the older SiteTree version, nothing would be returned, because the results were being filtered by ClassName.  This caused bugs in the history panel for certain combinbations of page classname alteration.
2012-06-28 13:00:40 +12:00
Ingo Schommer
0b31234810 Consolidated template and page-type docs
- Removed duplicated content from page-type-templates (was more or less a variation of the content in templates.md)
- Removed built-in page-controls, which was a bit of a dumping ground for unconnected topics.
  Moved the majority to page-type-templates
- Removed all recipes from "sitetree" docs, since they were outdated or hacky (like grouping of records, or implementing custom *children() method on subclasses)
- Added pagination, escaping, base_tag, CurrentMember to template docs
- Removed default_parent docs from SiteTree, as this setting doesn't have any effect looking at core
2012-06-27 16:09:32 +02:00
Ingo Schommer
34a2ce23d8 NEW Documentation for Versioned 2012-06-27 16:09:31 +02:00
Ingo Schommer
45b2cbfddd Using new template controls in docs 2012-06-27 16:09:31 +02:00
Ingo Schommer
868d3697fd Fixed usage of DataList etc in docs (fixes #7518) 2012-06-27 16:09:31 +02:00
Ingo Schommer
cb145a0094 "dmyplaceholders" setting for DateFields 2012-06-27 10:12:42 +02:00
ARNHOE
81c085f777 Fixed width of DateField with dmyfields=true 2012-06-27 10:11:39 +02:00
Sam Minnée
993fc90ef8 Merge pull request #579 from silverstripe-rebelalliance/open/7523
Open/7523
2012-06-26 21:07:22 -07:00
Sam Minnee
05861437bd Added RC3 changelog 2012-06-27 14:42:23 +12:00
Kirk Mayo
2a976066eb MINOR: open/7523 added a note relating to versions and added a missing quote to the changelog for 3.0 2012-06-27 10:50:17 +12:00
Ingo Schommer
0dfc82342a Merge pull request #574 from mightycoco/master
Improving oEmbed insertion of direct image urls
2012-06-26 15:43:41 -07:00
Kirk Mayo
fc2cbcce52 MINOR: Updating the configuration module with the default database option and corrected a out of date link 2012-06-27 10:21:16 +12:00
Ingo Schommer
2b31f4aa15 API New commit tagging rules in contrib guidelines 2012-06-27 00:07:47 +02:00
Ingo Schommer
bfa436bb2a MINOR Updated translations 2012-06-26 23:45:29 +02:00
Sam Minnee
2598f6596d NEW: Enable display_errors = on in the installer to assist with diagnosis.
Installation problems often come down to a 'white screen of death' either during installation or after it.  The WSOD is generally caused by a PHP error that isn't picked up by SilverStripe's error handler.  This change fixes the first of those.

As a bigger fix, I'd like to see us allow the installation of sites in dev mode, the enabling of display_errors=on in dev mode, and perhaps even the ability to easily perform an initial installation in dev mode before switching to live mode.  However, that's a bigger change for another time.
2012-06-27 09:44:44 +12:00
Ingo Schommer
218037b8cf Add .dropdown class to CountryDropdownField to make it use chosen.js 2012-06-26 17:56:07 +02:00
Ingo Schommer
a9fa281723 Form field docs update (fixes #7521) 2012-06-26 15:03:11 +02:00
Ingo Schommer
56a3777c42 MINOR Improved upgrading docs (fixes #7508) 2012-06-26 13:49:06 +02:00
Naomi Guyer
d935a74e31 ENHANCEMENT: Modify GridFieldLevelup to be more reusable 2012-06-26 13:34:49 +02:00
Sam Minnee
6ef4f9ad3f BUG: Fix increase_memory_limit_to() to reduce installation errors.
increase_memory_limit_to() was broken a while ago, and this causes a lot of problems for people trying to install on environments where the memory limit is 32M.
2012-06-26 12:39:50 +12:00
Sam Minnée
c3877075b9 Merge pull request #541 from ajshort/custompagination
ENHANCEMENT: Add method to disable automatic limiting on PaginagedLists.
2012-06-25 15:15:52 -07:00
mightycoco
84d97b6d2a BUGFIX updated oembedUrl app_category check 2012-06-25 17:23:26 +02:00
mightycoco
e582935582 BUGFIX insertion of images (trac #7438)
Allow insertion of images via oEmbed dialog using a direct url
2012-06-25 17:19:15 +02:00
mightycoco
e2d7352c81 ENHANCEMENT File::get_app_category()
Adding File::get_app_category to be in line with
File::get_file_extension
2012-06-25 17:13:18 +02:00
Ingo Schommer
6dc108ac3e Merge pull request #570 from adrexia/7528-insert-link
BUGFIX: Insert link styling inconsistent with Insert media (fixes #7528)
2012-06-25 06:24:30 -07:00
Ingo Schommer
3a54d4a209 Merge pull request #571 from adrexia/7541-dialog
BUGFIX: Min-width on html dialog box (fixes #7541)
2012-06-25 06:15:08 -07:00
Ingo Schommer
340a161e90 MINOR Updated translations 2012-06-25 09:23:32 +02:00
Naomi Guyer
5c6ec68389 BUGFIX: Min-width on html dialog box (fixes #7541) 2012-06-25 17:35:05 +12:00
Naomi Guyer
e51bf760e9 BUGFIX: Insert link styling broken, and inconsistent with Insert media (fixes #7528) 2012-06-25 15:31:39 +12:00
Sam Minnée
609eaba0ca Merge pull request #568 from simonwelsh/applyRelation-fixor
FIX DataQuery::applyRelation was returning the base class.
2012-06-24 16:57:34 -07:00
Simon Welsh
070ba56104 FIX DataQuery::applyRelation was returning the base class.
If the applyRelation() was passed a relation that went to a class with a parent
class with a database table, applyRelation would return the name of the parent
class, rather than the class the relation was actually too.
2012-06-25 11:34:02 +12:00
Ingo Schommer
8c5c9228cf MINOR Changelog 2012-06-25 01:12:37 +02:00
Ingo Schommer
2a3d3878e1 MINOR Updated translations 2012-06-25 00:50:54 +02:00
Ingo Schommer
86a2ff501a MINOR Updated translations master 2012-06-25 00:50:40 +02:00
Sam Minnee
fd881d6a4c MINOR: Add test using a namespaced class for DataList::filter() and DataList::exclude() 2012-06-25 10:43:37 +12:00
Ingo Schommer
5d39c4d7b0 MINOR Updated translations 2012-06-25 00:23:50 +02:00
Andrew Short
119da09549 BUG Fixed DataList filtering and excluding by ID.
If a filter or exclude by ID was applied across more than one table it
would throw an ambiguous column error as the table name was not specified.
2012-06-25 10:16:18 +12:00
Ingo Schommer
9b22eb06fc Merge branch 'master' into translation-staging 2012-06-25 00:08:00 +02:00