Ingo Schommer
c4a47f1def
MINOR Reverted accidental disabling of ManifestBuilderTest cleanup code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63156 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-27 16:55:42 +00:00
Ingo Schommer
b8846a9ab3
MINOR Temporarily disabled RSSFeedTest as its overriding environment variables that should be handled by Director class with Director::setBaseURL() (which is currently not fully working). Added stub-tests for Director.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63155 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-27 16:04:01 +00:00
Ingo Schommer
9371f4688b
ENHANCEMENT Introduced constants for system paths like /sapphire in preparation for a more flexible directory reorganisation. Instead of hardcoding your path, please use the following constants: BASE_PATH, BASE_URL, SAPPHIRE_DIR, SAPPHIRE_PATH, CMS_DIR, CMS_PATH, THIRDPARTY_DIR, THIRDPARTY_PATH, ASSETS_DIR, ASSETS_PATH, THEMES_DIR, THEMES_PATH
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63154 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-27 16:02:38 +00:00
Ingo Schommer
12a73455ac
ENHANCEMENT Moved procedural bootstrapping code hiding away between function definitions in Core.php to main.php and cli-script.php (TEMP_FOLDER and PR_* constants)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63153 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-27 13:17:58 +00:00
Sean Harvey
ce1f2e2b3a
MINOR: Fix phpdoc parsing error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63127 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:35:29 +00:00
Sean Harvey
bd6a645857
MINOR: Fix phpdoc parsing error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63125 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:26:06 +00:00
Sean Harvey
525e5b14c6
MINOR: Fix phpdoc parsing error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63122 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:19:45 +00:00
Sean Harvey
4e5162c90c
MINOR: Fix phpdoc parsing error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63121 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:18:18 +00:00
Sam Minnee
6915ac9bc7
Turned dos line endings into unix
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 02:22:51 +00:00
Ingo Schommer
b27797598f
MINOR Removed stale version number from <meta name="generator"> tag ( #1908 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63080 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 14:23:24 +00:00
Ingo Schommer
f0feea5109
API CHANGE Removed useless File->test() method
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63077 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 12:38:36 +00:00
Sam Minnee
13d55cdfc4
ENHANCEMENT: Updated argument handling for sake
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63057 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 04:49:01 +00:00
Sam Minnee
f47d5481ee
ENHANCEMENT: Better CLI output of 'sake dev'
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63025 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 00:36:20 +00:00
Sam Minnee
92946e4ae7
ENHANCEMENT #2853 - Added dev/build as a the new name for db/build; prettied it up
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63022 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 00:23:41 +00:00
Sam Minnee
1be18b792c
EHANCEMENT #2853 - You can now use db/build instead of db/build?flush=1
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63020 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 00:03:09 +00:00
Sam Minnee
9f05546c1e
Fixed bug with ComplexTableField inappropriately referencing a relation field that doesn't exist
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62998 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-24 05:24:51 +00:00
Sam Minnee
a9ad1e79c1
ENHANCEMENT: Prevent CMS session timing out and losing content - Added Security/ping as a destination for session-preserving ajax pings
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62994 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-24 04:17:33 +00:00
Sam Minnee
b031c8ff8b
Added status notifications to cli test runs
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 03:22:13 +00:00
Sam Minnee
2a1d4376e2
BUGFIX #2390 : Not indexed pages are removed from sitemap.xml
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 03:16:23 +00:00
Sam Minnee
a47f5834a2
BUGFIX: Fixed bug introduced into AssetTableField by previous CTF change
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62909 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 03:15:49 +00:00
Sam Minnee
08643b3b4b
BUGFIX #2721 - Show decent preview on FileIFrameField
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62892 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 02:18:02 +00:00
Sam Minnee
2dcda9bd91
BUGFIX: Fixed a number of really basic problems with a number of date fields - got basic loading and saving working across them all
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62885 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 01:44:40 +00:00
Sam Minnee
ed311db3bf
ENHANCEMENT: ComplexTableFilters used to edit relations have their filter automatically set, as well as the foreign key on new records.
...
API CHANGE: TableListField::sourceFilter() can be overloaded to change the querying logic.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 01:24:03 +00:00
Sam Minnee
fcc687fff2
MINOR: Added some more api doku for DataObject::
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62877 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 00:17:58 +00:00
Sam Minnee
fd88d31d9d
BUGFIX: More robust setting of defaults; necessary due to altered ViewableData::__isset()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62875 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 00:10:41 +00:00
Sam Minnee
992674a936
BUGFIX #2697 - Removed junk slash from login message
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 22:57:37 +00:00
Sam Minnee
184352ec05
ENHANCEMENT #2417 : Replaced http://www.yoursite.com with the actual base URL
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62867 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 22:52:12 +00:00
Sam Minnee
c2b70b7bc5
Replaced alert()s in UniqueFields.js with statusMessage()s, to be less obnoxious
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62865 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 22:50:13 +00:00
Ingo Schommer
be90ef6573
ENHANCEMENT Allowing empty selection in TypeDropdown
...
ENHANCEMENT Allowing to specify dropdown title field in TypeDropdown->setTitleFieldName() - patch by nicolaas (#2689 )
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 18:59:00 +00:00
Ingo Schommer
2d8656e72b
API CHANGE Deprecated Member::isInGroup() - use Member::inGroup() instead
...
ENHANCEMENT Allowing usage of ID, Code-String or Object as $group parameter in Member::inGroup()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62847 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:07:28 +00:00
Ingo Schommer
6a7ead7183
MINOR Added documentation and TODOs for RestfulServer
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62845 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:05:16 +00:00
Ingo Schommer
764ab2b1a2
ENHANCEMENT Allowing usage of $member parameter for Member::check() as ID, Code or Object
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62844 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:04:22 +00:00
Ingo Schommer
306ea3761f
ENHANCEMENT Added Debug::send_warnings_to()
...
API CHANGE Deprecated Debug::mailBuffer()
API CHANGE Removed Debug::warning()
MINOR Documentation and formatting for Debug class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62843 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:03:19 +00:00
Ingo Schommer
3776311276
MINOR Documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:02:33 +00:00
Ingo Schommer
73dd86bd8e
ENHANCEMENT Using optional $member parameter for DataObject::can*() methods
...
MINOR Added documentation to DataObject about permission handling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:02:03 +00:00
Sam Minnee
4b2af337d8
Fixed bug publishing homepage using Director::test
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62756 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-19 05:54:07 +00:00
Ingo Schommer
28699c3550
BUGFIX Changed URL format for password sent confirmation display, to avoid issues with new request handling trying to detect the email-TLD as a pseudo-file-extension (which resulted in truncated email-addresses in display). Old: /Security/passwordsent/myemailaddress. New: Security/passwordsent/?email=myemailaddress
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 23:00:36 +00:00
Sam Minnee
b87bdee3ee
Added CountryDropdownField::defaultToVisitorCountry(false):
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62692 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 21:33:23 +00:00
Sam Minnee
ffcac733e9
Update test runner so that password validation config isn't tested by default
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 03:59:00 +00:00
Sam Minnee
c20c4ae6b0
Added Secuirty::set_default_login_dest() for developers to specify the default page to direct to after the log in
...
This results in more reliable log-in redirection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 03:53:36 +00:00
Sam Minnee
a6577d9749
Fixed bug with preivous CheckboxSetField change
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62648 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 03:16:03 +00:00
Sam Minnee
442af1a7ca
Fixed loadDataFrom for CheckboxSetFields that are used to edit a many-many relation, if loadBlanks is set to true
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62641 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 02:50:14 +00:00
Saophalkun Ponlu
6b6209019c
comment Debug.traceback that occur when the field is a tab
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62599 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-17 22:31:01 +00:00
Sean Harvey
955d500a95
BUGFIX createTag() on FormField subclasses should use getTabIndex() instead of getTabIndexHTML() as createTag() is responsible for generating the HTML, and all we need is the tabindex value
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62490 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 23:14:31 +00:00
Ingo Schommer
5524225ead
FEATURE Added GoogleSitemap::enable()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62472 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 20:38:20 +00:00
Ingo Schommer
65e9165905
BUGFIX Allowing HTTPRequest::match() to match rules with extensions (e.g. /sitemap.xml used for GoogleSitemap)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 20:37:46 +00:00
Ingo Schommer
3c02398e33
MINOR documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 20:36:30 +00:00
Ingo Schommer
0739b0520e
ENHANCEMENT In Debug::showError(), if error is displayed through ajax with CliDebugView, use plaintext output
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 18:15:26 +00:00
Ingo Schommer
c57ce5f1a4
FEATURE Formatting MySQL error messages with newlines through new SQLFormatter class (used in MySQLDatabase)
...
ENHANCEMENT Using CliDebugView to report errors on ajax requests (with plaintext output)
ENHANCEMENT Removed "ERROR:" prefix hack for ajax error responses - clientside evaluation should inspect HTTP status codes instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62467 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 18:12:07 +00:00
Ingo Schommer
ddc3bab5dc
BUGFIX Pushing current controller into stack in RootURLController->handleRequest to Session-usage in Translatable if enabled. Session::get() is dependent on controllers, and is needed to determine the current language for any Translatable queries (like RootURLController::get_homepage_urlsegment())
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 15:53:05 +00:00