Commit Graph

744 Commits

Author SHA1 Message Date
Sean Harvey
9515ef3fc1 BUGFIX Javascript error in ComplexTableField_popup.js - missing a comma in an object literal which broke ajax updates in the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60213 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 05:02:29 +00:00
Ingo Schommer
016cff2093 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60209 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 04:38:44 +00:00
Ingo Schommer
b5776e0438 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60207 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 03:54:55 +00:00
Ingo Schommer
6bd5da7e6e (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60206 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 03:29:30 +00:00
Sam Minnee
a9cba1106c Merged revisions 52399 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r52399 | ischommer | 2008-04-09 19:21:07 +1200 (Wed, 09 Apr 2008) | 1 line
  
  BUGFIX re-initializing tabstrip javascript after ajax-reload in AssetTableField popup (#2309 AssetTableField popup fails after saving)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53515 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:51:30 +00:00
Sam Minnee
0f58f9d232 Merged revisions 52795 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52795 | sminnee | 2008-04-15 22:19:09 +1200 (Tue, 15 Apr 2008) | 1 line
  
  Allow FormResponse loading into CTF pop-up
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:35:27 +00:00
Matt Peel
7d13ba7fb8 Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
bf3c09bec6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Ingo Schommer
d28faae514 updating form in ctf-popup after saving (including validation-errors and fields that have may changed on the serverside, e.g. ImageField)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48867 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 22:57:23 +00:00
Normann Lou
0672ce2d0a not all cms panel has sitetree, so better check if($('sitetree')) exsit, otherwise IE broken with all genericDataAdmin panel.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48862 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 22:29:24 +00:00
Ingo Schommer
c89d0dc981 fixed "object not found" error in ie6 (somehow Observable is not applied to sitetree at window-load)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 05:29:14 +00:00
Sam Minnee
68f7be24ed Merged revisions 48178 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz

........
  r48178 | aoneil | 2008-01-18 09:04:53 +1300 (Fri, 18 Jan 2008) | 2 lines
  
  Fix incorrect text boxes being set on an ajax request
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48540 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:13:05 +00:00
Andrew O'Neil
3a0fd261ad Fix sorting in complextablefield
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48250 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-18 05:01:35 +00:00
Andrew O'Neil
c1e0533efc styling for HasManyFileField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47371 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 23:07:42 +00:00
Ingo Schommer
ce5becdcfd Merged revisions 47323 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r47323 | ischommer | 2007-12-19 14:33:29 +1300 (Wed, 19 Dec 2007) | 1 line
  
  documentation, added show-on-click functionality, fixed validation for canBeEmpty
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47322 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-19 01:45:22 +00:00
Andrew O'Neil
7c0e6add9b Added HasManyFileField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:05:31 +00:00
Andrew O'Neil
f44171bf41 #1849 - Adding a page sadly now always comes up with an alarming, needless, confirmation (merged from branches/2.2.0@45907, r45444)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46100 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:29:47 +00:00
Normann Lou
26b8f7dffe switch externals to trunk.
Inform-merge: from the changeset:
r32477: Merge 2.0-inform from trunk previously
r32478: Merge 2.0-inform from trunk previously
r32481: merge 2.0infom with lastes chunk 
r32483: merge 2.0infom with lastes chunk 
r33526: Final styling of all forms and combined communication form add/alter javascript for height adjustment of First / Second block 
r33580: styling for combined form communication in myinfom pages 
r33706: styling of combined form (communication) in Email 
r33881: made compatible to $extraClass 
r33885: added defaultVal
r33887: fixed typo 
r34728: modified SmallFieldHolder?()
r34729: added "validationError"-class 
r34914: WIP3866: Factfinder: Hide "self emplyed" block 
r34964: Change current plan upto TraumaInsurance? 
r35038: disabled friggin field focus 
r35230: #1032 Fixed hash-link insertion 
r35887: conditionally setting parameters in sourceID() - to avoid empty overrides
r35892: Saving value in SQL-compatible format (YYYY-MM-DD instead of DD/MM/YYYY), with fallback for non-sql values (just passed through without conversion) 
r35928: Removed "create a" from PageType?-dropdown, sorting alphabetically, falling back to $singular_name
r35990: branched off for membertablefield
r35994: fix for membertablefield
r36024: added array-condition needed for DMYDateField 
r36083: fix bug for compositeField -> dropDatalessField
r36394: removed debug code 
r36826: change wrong indent format 
r36828: WIP 4262: Logging out of My Inform goes to blank page
r36858: Fixed error caused in r12472 while merging to Session-class
r37132: Merged partial changesets from branches/2.0-nzct, only adding childID to detailform when not in add-mode 
r40815: add an unsubscribe record when a member subscribe a newslettertype 
r41113: fix the bug described in http://support.silverstripe.com/info/ticket/31: CRM not showing search results
r43226: fixed search (partial merge from trunk) 
r43268: merged createNewPassword() from trunk, was referencing a non-existinent global function randomString()


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-23 01:10:19 +00:00
Sam Minnee
cc97834409 parents-merge 41566 - Updated required validator to not allow a sequence of whitespace as a value
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45062 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-19 02:05:56 +00:00
Ingo Schommer
80f6224d38 #1658 Create a new language, then refresh the CMS gives toggle() error in js (sits on loading page)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44566 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-10 05:15:28 +00:00
Andrew O'Neil
e915307052 Added Security token
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44501 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-08 02:23:26 +00:00
Romain Louis
1b9a6f4144 Added Security Token
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44311 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 01:20:58 +00:00
Andrew O'Neil
14b91fe77a Ensure behaviour is applied correctly when a field is added to a UserDefinedForm (merged from 2.1.1 branch, r43604)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44198 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:32:09 +00:00
Romain Louis
8315756720 DropdownTimeField javascript adding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44178 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:38:39 +00:00
Andrew O'Neil
80e2291464 #1577 - Error 256 when adding fields to a user defined form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:26:05 +00:00
Andrew O'Neil
c186b13172 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43881 467b73ca-7a2a-4603-9d3b-597d59a354a9 2007-10-26 03:04:45 +00:00
Ingo Schommer
ea4c77c366 #1485 Changing the name of a group results in javascript error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43880 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-26 03:00:21 +00:00
Andrew O'Neil
dc1775169d #941 - Security flaw: SS prone to CSRF attack
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43876 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-26 02:23:55 +00:00
Ingo Schommer
393caf4287 FEATURE made sapphire i18n-capable
FEATURE a little bit of german translation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-25 02:47:45 +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
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
Ingo Schommer
6f0d5a8155 additional check for existence of #sitetree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:48:28 +00:00
Ingo Schommer
576cc94a81 mlanthaler: Bugfix: Variable declaration hided parameter.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42143 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 16:54:20 +00:00
Ingo Schommer
4ce7cf9403 elofgren: Fix Trac Ticket: 'Page name and Navigation label improvements' http://support.silverstripe.com/gsoc/ticket/35 by making it so that 'If you type in Page name, the Navigation Label and Meta Title
should automatically update the first time' 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42035 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:01:34 +00:00
Ingo Schommer
7256d2dfdc elofgren: USABILITY: Add + and - toggle icons to TogglePanel? and use 'cursor: pointer;' to make it obvious that it is clickable. Move toggle images to sapphire/images/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41935 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:03:01 +00:00
Ingo Schommer
91f1b3b39d elofgren: USABILITY: Prevent onclick in td.markingcheckbox from doing anything to prevent the edit file window from coming up if the checkbox is missed and the table cell is accidentally clicked instead.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:17:11 +00:00
Ingo Schommer
fcf8302bba mujma: All ImageEditor? files will be placed in cms part rather than in sapphire. (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41715 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 01:48:04 +00:00
Ingo Schommer
c5ba47f783 mujma: initial commit (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 01:47:23 +00:00
Sean Harvey
285e6aa8f9 this was checking if labels was an object, which failed when findParentLabel(el.parentNode) was called, it just returned 'this' instead on validation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41639 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-13 03:17:35 +00:00
Romain Louis
49375c45c4 Relation HasOne, HasMany and ManyMany ComplexTableField Adding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 03:30:59 +00:00
Normann Lou
3bc0eaafbb implement validation to tablefield,
fixed bug on validation of datefield, emailfield, numericefield.
make CMS validation enabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-23 05:47:54 +00:00
Sam Minnee
44b68061d4 Fixed svn:eol-style settings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-18 02:33:28 +00:00
Andrew O'Neil
2beda6645a Widgets can now be deleted
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-26 22:43:47 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00