Commit Graph

408 Commits

Author SHA1 Message Date
Ingo Schommer 57c8e06435 #1476 Patch for ticket #128 and a few other changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-22 01:51:02 +00:00
Ingo Schommer 35fb0cd0c5 #92 MoreLessField: Switch to ToggleField and remove
FEATURE Refactored MoreLessField->ToggleField
FEATURE Refactored TogglePanel->ToggleCompositeField
FEATURE Degrading gracefully (javascript), using behaviour+classes+prototype, partially i18ned, improved markup

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 23:05:46 +00:00
Ingo Schommer ba85ce7a0b FEATURE Respects 'lang' stored in cookies
ENHANCEMENT choose_site_lang() accepts $availableLang (useful to check if a certain page has a translation, and fall back to default language)
ENHANCEMENT Added documentation
BUGFIX Rewrote Member->Lang to Member->Locale (CMS-translations are stored in locales as well), limited Locale Varchar to 6 characters, changed profile dropdown accordingly

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 19:53:57 +00:00
Ingo Schommer 3a7727d853 BUGFIX include_by_class() now detects modules with non-standard paths (e.g. /sapphire/security/Member.php)
ENHANCEMENT Added documentation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43658 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 19:31:30 +00:00
Ingo Schommer bbe86015d7 ENHANCEMENT Added proxy-functions for Translatable to provide a consistent interface for developers
ENHANCEMENT Explicit attribute-visibility
ENHANCEMENT Empty $current_locale by default, get_locale() falls back to $default_locale (avoid duplication)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43657 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 00:50:31 +00:00
Ingo Schommer c5ec4314b4 added set_default_lang()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 00:49:13 +00:00
Ingo Schommer ac8950e696 ENHANCEMENT replacing static references with "self::"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 00:39:14 +00:00
Ingo Schommer af68f3f298 FEATURE Sapphire files are now also scanned for _t calls
ENHANCEMENT Revised locale list
ENHANCEMENT Updated en_US generated files (and created for sapphire)
BUGFIX Fixed some _t() calls in the cms module

(merged from patch #1476 by bfojcapell)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-20 23:49:14 +00:00
Sean Harvey fdddb348c3 Fixed up strange code formatting. Now in line with coding conventions at doc.silverstripe.com/doku.php?id=coding-conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43645 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-20 08:36:47 +00:00
Andrew O'Neil 6d5a49e59e #105 - FormAction $extraClass usage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43606 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-19 01:42:14 +00:00
Ingo Schommer 633821efb4 FEATURE: Added merge() (merged from branches/2.0-inform)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43588 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 20:04:02 +00:00
Ingo Schommer 0da5773278 reverted "BUGFIX: overloaded FieldHolder() to avoid DefaultFieldHolder.ss usage"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43563 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:44:37 +00:00
Ingo Schommer 3bb267bd83 ENHANCEMENT: changed <p class="Actions"> to <div class="Actions">
ENHANCEMENT: Better linebreaks, markup formatting

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43560 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:07:35 +00:00
Ingo Schommer eeb79fde9c FEATURE: respect $extraClass
BUGFIX: overloaded FieldHolder() to avoid DefaultFieldHolder.ss usage

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43559 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:06:21 +00:00
Ingo Schommer 53f75e957d ENHANCEMENT: allowing empty children
ENHANCEMENT: added Fields()
ENHANCEMENT: added linebreaks for html

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43558 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:05:52 +00:00
Romain Louis 0a85936f2f FileIFrame Saving method problem fixing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43542 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 23:10:04 +00:00
Romain Louis c485a70354 Saving bug fixing with when value equals undefined
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43537 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 22:50:08 +00:00
Romain Louis cf7adf02da Saving bug fixing with when value equals undefined
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43536 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 22:48:17 +00:00
Matt Peel 81d774fcf7 Removed one more notice from SearchForm when nothing was found
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 03:26:25 +00:00
Matt Peel e4d2b1ffa2 Removed 2 notices from SearchForm
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43507 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 03:22:37 +00:00
Ingo Schommer 3cd1a621b5 preparing CTF for usage outside of CMS
BUGFIX: provide fallback for ajax-errors if not in CMS context
BUGFIX: re-added middle-alignment to greybox if not in CMS context
BUGFIX: added basic requirements to be independent of cms-inclusion
FEATURE: better transformation of save-button (replaced indicator with "saving..." label)
ENHANCEMENT: moved String-lib to prototype_improvements.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 02:29:42 +00:00
Andrew O'Neil a0563eaba4 GSOC #99
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43204 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-08 21:55:15 +00:00
Ingo Schommer 24be30314a removed forum-specific logic from "my profile"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43184 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-07 23:41:21 +00:00
Ingo Schommer 8dcdce64c2 documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-07 12:17:33 +00:00
Andrew O'Neil b723898551 #115 - browscap.ini not set
Use Browscap class (http://garetjax.info/projects/browscap/) instead of get_browser()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43155 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-05 01:58:21 +00:00
Ingo Schommer baba1b45f0 documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43119 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 22:17:44 +00:00
Andrew O'Neil 290097242d Change include path to work on more configurations
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43117 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 21:59:51 +00:00
Andrew O'Neil f4dd20b979 Fixed CustomRequiredFields (merged from 2.1.0-textme branch, r42959)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43116 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 21:58:10 +00:00
Andrew O'Neil a181f7c151 Fixed duplicate getBody()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42999 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-03 00:10:49 +00:00
Andrew O'Neil fda211156a Fixed reverting of database code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42998 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-03 00:10:03 +00:00
Andrew O'Neil 4d9e93460d mujma: BUGFIX: Switched divs to tables, added namespaces, solved ticket http://support.silverstripe.com/gsoc/ticket/110 (merged from gsoc branch, r42792)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 23:03:46 +00:00
Andrew O'Neil c7231c6935 mlanthaler: Fixed typo and updated docBlock (merged from gsoc branch, r42439)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42972 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 22:18:45 +00:00
Andrew O'Neil 588b091770 mlanthaler: default styling for open id login (merged from gsoc branch, r42438)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42968 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 22:11:59 +00:00
Andrew O'Neil cfaa390102 mlanthaler: Fixed some docBlocks and "reformatted" code (merged from gsoc branch, r42437)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42960 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 21:57:12 +00:00
Andrew O'Neil e54489c409 Fixed lighttpd flushing bug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42928 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:59:06 +00:00
Andrew O'Neil 062c319000 Ignore HTML folder, not pear folder (merged from 2.1.0 branch, r42740)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42926 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:58:26 +00:00
Andrew O'Neil 5e5f200021 Correct comment (merged from 2.1.0 branch, r42718)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42925 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:57:24 +00:00
Andrew O'Neil ba02a631c9 Added better checking for wonky databases (merged from 2.1.0 branch, r42589)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42924 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:56:43 +00:00
Andrew O'Neil 7df57c3040 DataObject merging error solving (merged from 2.1.0 branch, r42561 & 42588)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42923 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:55:55 +00:00
Andrew O'Neil 07eafb0aaf File modification for gallery (merged from 2.1.0 branch, r42517)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42922 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:53:19 +00:00
Andrew O'Neil 70db5d36a0 Hack to fix Fatal error: Call to undefined method stdClass::allMethodNames() (merged from 2.0.2 branch, r42505)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42921 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:52:31 +00:00
Andrew O'Neil bd81e2a2be Optional reporting of versions to SilverStripe (merged from 2.1.0 branch, r42422)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42920 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:51:22 +00:00
Andrew O'Neil bb2a97856f File Attribute Adding for the gallery module (merged from 2.1.0 branch, r42339)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42919 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:50:36 +00:00
Andrew O'Neil 30efb8efc7 #1444 - DataObjectDecorator? Merge Fields HUGE PROBLEM (merged from 2.1.0 branch, r42210)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42918 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:48:37 +00:00
Andrew O'Neil 5062c955e0 Replace blank strings with null - see http://www.silverstripe.com/general-discussion/flat/5050?start=8 (merged from 2.1.0 branch, r42173)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42917 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:46:33 +00:00
Andrew O'Neil 3a6556bbd0 Remove css requirements from core, in case user does not want to include these. (merged from 2.1.0 branch, r42168)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:40:08 +00:00
Andrew O'Neil b8b3bab508 Link to the documentation on default pages (merged from 2.1.0 branch, r41730)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:37:10 +00:00
Andrew O'Neil 717737ed27 Fix error when creating new redirector page (merged from 2.1.0 branch, r41675)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:36:13 +00:00
Andrew O'Neil 75f598de37 If there's a silverstripe-cache directory in the silverstripe folder, always use that instead of /tmp (merged from 2.1.0 branch, r41578)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42912 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:34:36 +00:00
Andrew O'Neil 7455457964 Fixed php notice (merged from 2.1.0 branch, r41552)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42911 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 04:33:18 +00:00