Commit Graph

29 Commits

Author SHA1 Message Date
Sean Harvey
c3b20fd3bd BUGFIX #5315 FileSubsites::augmentSQL() should not apply ordering when doing COUNT() selects, as this breaks some databases like SQL Server 2010-04-12 04:04:15 +00:00
Tom Rix
1b4c314304 2010-03-21 22:32:22 +00:00
Sean Harvey
47d35fcca1 BUGFIX FileSubsites::augmentSQL() sometimes tries to add an ORDER BY clause when running DELETE queries... obviously this makes no sense, and some databases will choke 2010-03-11 22:11:14 +00:00
Sean Harvey
92dd4b0c02 BUGFIX Removed backticks from FileSubsites 2010-03-09 01:12:49 +00:00
Tom Rix
ba1db5ae24 BUGFIX fixed a situation which would trigger a crash (from r88573) 2010-03-01 21:55:40 +00:00
Tom Rix
f12eee0679 MINOR FIX: column names escaped properly (from r88162) 2010-03-01 21:55:31 +00:00
Tom Rix
29dda5abdf BUGFIX: Ensure that DataObject::get_one() cache knows which subsite you're on (from r93096) 2010-03-01 21:41:01 +00:00
Tom Rix
8378f60285 MINOR Check for existing subsites in dropdown generation of FileSubsites->updateCMSFields() (from r85443) 2010-03-01 03:00:34 +00:00
Tom Rix
c945bc6054 ENHANCEMENT Files uploaded while under a subsite now inherit their SubsiteID from their parent
BUGFIX FileSUbsite::augmentSQL() had a very buggy ID-specific detection implementation (it didn't look for single or double quotes) (from r81778)
2010-03-01 02:54:29 +00:00
Geoff Munn
1b7408dfb1 API CHANGE: column names quoted properly 2009-11-02 01:59:15 +00:00
Geoff Munn
beffd4e526 BUGFIX: queries changed to use $q as a placeholder for backticks or doublequotes 2009-10-29 01:40:46 +00:00
Geoff Munn
a3beb2cf05 BUGFIX: column names now double quoted 2009-10-27 01:44:19 +00:00
Sam Minnee
3fd2cea285 BUGFIX: Updated module to support 2.4 API changes 2009-10-26 22:04:50 +00:00
Sean Harvey
df81f2a037 BUGFIX Fixed broken query if deleting a single File record - order by is not necessary and breaks MSSQL 2009-09-08 04:05:40 +00:00
Geoff Munn
9e9cf9a4c2 BUGFIX: orderby clause not necessary for simple count queries, and will break MSSQL 2009-08-11 21:09:31 +00:00
Sean Harvey
11fc7dab8b MINOR Whitespace fixes 2009-07-13 23:11:23 +00:00
Sean Harvey
acbfe35f4d BUGFIX Fixed SQL queries with backticks that don't need them, and fixed queries on decorators that require double quote escaping 2009-07-13 23:10:00 +00:00
Sean Harvey
6e1499822f BUGFIX Made GroupSubsites, FileSubsites and SiteTreeSubsites work properly if DataObjectDecorator::load_extra_statics() is defined 2009-06-22 12:03:04 +00:00
Sean Harvey
d48fed9488 MINOR Changed deprecated extraDBFields() on Subsite decorators to extraStatics() 2009-05-20 05:36:14 +00:00
Sam Minnee
7d3d498cb9 BUGFIX: Simplify permissions, getting rid of the EDIT_PERMISSIONS and SUBSITE_ASSETS_EDIT permissions, and moving the responsibility for making the folder view readonly to the Folder::getCMSFields() and AssetAdmin::getEditForm() 2009-05-13 05:25:21 +00:00
Sam Minnee
b646a104f1 Merged from branches/0.1 2009-05-04 05:03:44 +00:00
Ingo Schommer
5987f151d4 MINOR Documentation for subsites module
BUGFIX Added Subsite::allowed_domains() which selects base_domain() if no custom domains are specified. This avoids having an empty dropdown in the URL domain selection dropdown in SubsitesAdmin
2008-11-24 03:22:01 +00:00
Normann Lou
339c86ba25 2008-07-14 07:38:54 +00:00
Normann Lou
e70fa8f2e7 fix the bug when there is no subsite created yet, the assets admin is broken. 2008-04-28 06:41:22 +00:00
Sam Minnee
750edb0634 test commit (testing the build system) 2008-01-22 04:44:07 +00:00
Sam Minnee
cd611f26dd test commit (testing the build system) 2008-01-22 04:39:29 +00:00
Sam Minnee
a26e96d9ca Added a docblock comment to alernateTreeTitle 2008-01-22 04:30:20 +00:00
Sam Minnee
9038b4c661 Added * to TreeTitle of folders that are public 2008-01-22 04:17:18 +00:00
Sam Minnee
f4a9690ec5 Added subsites restriction of asset folders 2008-01-22 01:27:41 +00:00