Commit Graph

53 Commits

Author SHA1 Message Date
Sam Minnee
f7474bf059 Added to main CMS controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49888 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:41:33 +00:00
Sam Minnee
0c2a44d15c Merged revisions 48376 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r48376 | sminnee | 2008-01-22 10:52:32 +1300 (Tue, 22 Jan 2008) | 1 line
  
  Moved CMS page-disabled logic into SiteTree::CMSTreeClasses(), so that it can be more easily customised for specific sites
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:20:22 +00:00
Sam Minnee
9b9cf01f48 #177 - Don't let people create a page name the same as a class name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-07 03:39:51 +00:00
Andrew O'Neil
88af8d89c1 Fix autocompletion in Security Admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47949 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-14 00:51:35 +00:00
Sam Minnee
d9ac1a1f85 Improved API documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 00:33:49 +00:00
Sam Minnee
bfc448fa7f Added package tags and docblock info for API documentation
Fixed whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 06:41:55 +00:00
Andrew O'Neil
1e87e05e0b Merged revisions 46433 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-privacy

........
  r46433 | aoneil | 2007-12-06 15:23:18 +1300 (Thu, 06 Dec 2007) | 2 lines
  
  Some basic styling for HasManFileField
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:03:48 +00:00
Andrew O'Neil
5c67117056 Merged revisions 46302 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-privacy

........
  r46302 | aoneil | 2007-12-04 16:16:21 +1300 (Tue, 04 Dec 2007) | 2 lines
  
  Include HasManyFileField javascript
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:02:54 +00:00
Sam Minnee
98b6ffad3d hpoley: #1931 - Change CSS background repeat of logo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 01:42:48 +00:00
Andrew O'Neil
dbe70dc381 #1809 - Fix for CMS LeftAndMain.php DropdownTimeField.js was being included by Requirements::css() instead of Requirements::javascript() (merged from branches/2.2.0, r44884)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44928 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:52:42 +00:00
Andrew O'Neil
b4b4311eb6 SWFUpload works on linux if you have beta flash plugin (merged from branches/2.2.0, r44813)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44898 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:31:22 +00:00
Andrew O'Neil
d44ef49db6 Revert r44795 (merged from branches/2.2.0, r44812)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44897 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:30:25 +00:00
Andrew O'Neil
58c39593b3 Update SWFUpload to 7.0-beta-3 (merged from branches/2.2.0, r44795)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:30:08 +00:00
Andrew O'Neil
2149c1569f #1702 - When in translation mode on meta-data tab, refreshing CMS removes site tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-13 00:14:15 +00:00
Romain Louis
852a379417 ToggleCompositeField.js added to fix first loading problem
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44668 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-12 23:00:20 +00:00
Andrew O'Neil
2088a0ffc5 #1484 - Cannot upload files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44601 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 23:01:17 +00:00
Andrew O'Neil
3d7342bc4c #1607 - Make image editor findable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44445 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-07 04:50:09 +00:00
Normann Lou
098c6cadaf redecleared i18nEntity: TREESITECONTENT
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 23:44:20 +00:00
Normann Lou
76923ab9e1 change EntityName to be right one (eg. TREESITECONTENT)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 22:52:24 +00:00
Romain Louis
b93925fe40 DropdownTimeField and PopupdateTimeField requirements adding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44337 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 03:28:34 +00:00
Andrew O'Neil
c6684fa6c6 Fix BBCodeHelp link in CMS (merged from 2.1.1 branch, r43572)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-04 21:41:50 +00:00
Will Rossiter
77be4f43f1 tidy up images and get links at least working now
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 03:10:31 +00:00
Will Rossiter
ed6904ffbd changed the menu design
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44108 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-01 21:48:16 +00:00
Andrew O'Neil
746ed73fc0 #1495 - Bold the text “Site Content” in the tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43928 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-29 01:45:36 +00:00
Ingo Schommer
5966b2c0d6 #1485 Changing the name of a group results in javascript error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43880 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-26 03:00:21 +00:00
Ingo Schommer
7912559ec8 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/cms/trunk@43659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 19:53:57 +00:00
Ingo Schommer
2befee113b 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/cms/trunk@43654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-20 23:49:14 +00:00
Andrew O'Neil
b976f99054 Reapply r42087
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-07 22:13:50 +00:00
Andrew O'Neil
f9b314d662 Fixed CMS sort sub-pages bug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42935 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 05:10:35 +00:00
Jeremy Shipman
5d425fa6ed fixed virtual page creation. yay!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-01 05:23:04 +00:00
Ingo Schommer
0fddddb87e !!BUGFIX: Refactored CSS and Requirements: Created more specific css-files to reduce side-effects and ease debugging, moved generic form-styling from cms/css/cms_*.css into sapphire/css/Form.css.
!!BUGFIX: Ordered Requirement-inclusions in CMSMain/LeftAndMain to be more coherent (avoiding duplicate Requirement-calls)
ENHANCEMENT: Removed some css-rules disabled by comments
ENHANCEMENT: coding-conventions (see r42726)
FEATURE: Added Profile-page with LeftAndMain->myprofile()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:56:55 +00:00
Ingo Schommer
d3cc97c8a0 Added _manifest_exclude to lang folder (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42577 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-25 21:58:42 +00:00
Ingo Schommer
c09e518635 elofgren: BUGFIX: Fix "Fatal error: Call to a member function Actions() on a non-object in LeftAndMain?.php on line 489" error encountered after creating a new page and clicking "Save & Publish".
This bug was caused by r40178. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42085 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 15:06:05 +00:00
Ingo Schommer
5dc37e418d elofgren: BUGFIX: Fix the following Save/Publish bugs:
"Changed icon only shows after Save button is clicked twice" http://support.silverstripe.com/gsoc/ticket/76 
"Changed icon sometimes shows after "Save & Publish" button is clicked" http://support.silverstripe.com/gsoc/ticket/31 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42080 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 15:02:57 +00:00
Ingo Schommer
d445e1d462 ENHANCEMENTS: I have added Upload object which handles most common tasks for uploading files.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42063 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:34:08 +00:00
Ingo Schommer
09ef2f0963 mujma: ENHANCEMENT: Added photo upload in TinyMCE editor.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42045 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 02:21:47 +00:00
Ingo Schommer
be4ed16a0c bfojcapell: strings replaced by calls in the Site Content area. The regenerated master string table and a spanish translation are also added. Always, if you get any kind of blank string, just regenerate en_US.php by visiting /i18n/text_collector
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41919 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 20:21:13 +00:00
Ingo Schommer
7ee0ec6158 bfojcapell: using new default locale and function name
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41908 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 02:08:42 +00:00
Ingo Schommer
15ed167583 bfojcapell: default language file
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41897 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:27:57 +00:00
Ingo Schommer
be9fff205e bfojcapell: lang folder, and some strings being translated to test i18n
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:27:29 +00:00
Ingo Schommer
15d40c5cf1 elofgren: USABILITY: Rename 'Save draft' button to 'Save' and make 'Publish' (will be renamed 'Save & Publish') button save the new draft in addition to publishing it.
Requested here: http://www.silverstripe.com/google-summer-of-code-forum/flat/1654?showPost=1730#post1730 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41863 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 01:00:03 +00:00
Ingo Schommer
e23eaf9f8d mlanthaler: Small fix to prevent E_NOTICEs.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:56:26 +00:00
Ingo Schommer
9b29b09a24 elofgren: VAR FIX: Fix typo in LeftAndMain::addTreeNodeJS() by renaming 'select' parameter to 'selected' because 'selected' is what is used in the method body.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41843 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:46:51 +00:00
Ingo Schommer
8f980e1e02 elofgren: USABILITY: Add tooltips to pages in 'Site Content' tree showing 'Page type: className' where className is the page's type.
More info: http://www.elijahlofgren.com/silverstripe/icons-missing-from-left-navigation-tree-key/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:42:24 +00:00
Ingo Schommer
8fe47c6e87 qhoxie: basic setup for statistics viewing and handling in the cms
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:33:51 +00:00
Ingo Schommer
74214051b8 mlanthaler: Changed the login messages to reflect the fact that more authentication methods are available.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:26:56 +00:00
Sam Minnee
1739d9932a Added EDIT_PERMISSIONS permission code for SecurityAdmin
Added LeftAndMain::alternateAccessCheck() / alternateMenuDisplayCheck() so that subsite could hook a new security model into the admin
Added support for Group::alternateTreeTitle() to allow subsites to put *s before global groups

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:31:49 +00:00
Sam Minnee
b747f9c42e Moved callPageMethod to leftandmain, so that I can use it in other CMS controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40907 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:06:57 +00:00
Sam Minnee
1c2f30978a Added HTTPResponse object, to encapsulate Controller responses for aid testing and other 'quirky' uses of Controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 03:09:46 +00:00
Sam Minnee
79f5bd5db4 Added ability to add extensions to LeftAndMain, and supply and augmentInit method on them
Added the ability to define getCMSTreeTitle in a LeftAndMain extension to change the main title at the top of the tree

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-16 06:25:17 +00:00