Commit Graph

9453 Commits

Author SHA1 Message Date
martimiz
b1ee36e3aa Fix: display the correct (menu) icon in the GridFieldDetailForm's breadcrumbs.
In CMSBreadcrumbs.ss the (TopLevel)Controller is not recognized within
the Breadcrumbs loop, so the class that is used in css to style the
icon cannot be created. Moving the construction outside the loop will
remedy this. As far as I can see this works within the CMS.
2012-08-08 17:30:20 +02:00
Michał Ochman
1432a8e8a1 NEW create TestRunner setdb URL endpoint 2012-08-08 10:46:53 +02:00
Ingo Schommer
342f076f62 Revert "NEW add selectsession URL endpoint"
This reverts commit 766b03f360.
Accidentally pushed from local working copy.
2012-08-08 10:20:36 +02:00
TeamCity
84dc4df712 MINOR Updated translations 2012-08-08 20:05:17 +12:00
TeamCity
ce6c53d575 MINOR Updated translations 2012-08-08 19:05:53 +12:00
Ingo Schommer
36dd729b08 Merge pull request #657 from chillu/pull/tutorials
Documentation: Tutorials and Howto
2012-08-07 12:10:04 -07:00
Ingo Schommer
0c0bcc9aec NEW Rewritten tutorial 5 to GridField API
- Removed redundant "module" relationship, has_one is already present in Student->Project relationship
- Simplified FirstName/LastName to Name on Student and Mentor models, makes for less sample code
- Removed detail views for Student and Mentor, as they don't add much educational value
- Fixed indentation in code examples
- Using GridField relation editor, listing students on relation instead of holder
- Added optional exercises for the readers
- Added conclusion, explaining when to use Page vs. DataObject
- Updated sample data to GSOC '12 rather than '07, anonymized and randomised a bit
- Thanks to Naomi Guyer for contributing!
2012-08-07 21:09:40 +02:00
Ingo Schommer
0308cc2005 Tutorial 2/3 and some howto tweaks 2012-08-07 21:06:35 +02:00
Naomi Guyer
6d8976ec87 MINOR: Forms, navigation howto plus adjustments to tutorial one (#6367 )
* Created "How to make a simple contact form"
* Created "Create a navigation menu"
* Adjusted tutorial one from Andy's notes
2012-08-07 21:06:34 +02:00
Naomi Guyer
11c71e1a5a NEW Updated tutorial 4 2012-08-07 21:06:34 +02:00
Naomi Guyer
2d80ea5939 MINOR: Documentation, tutorial (part3, and tidy-up part 1&2 )
Fixed up Forms documentation, and replaced some images in first 2
tutorials
2012-08-07 21:06:34 +02:00
Michał Ochman
766b03f360 NEW add selectsession URL endpoint
This endpoint should be passed a testSessionKey POST parameter.
testSessionKey is an indicator for /tmp/testsessions/<testSessionKey>
file which stores temp database config.

https://github.com/michalochman/SilverStripe-Behaviour-Testing-Framework/issues/27
2012-08-07 09:14:28 +02:00
TeamCity
af13a9ca24 MINOR Updated translations 2012-08-07 03:06:27 +12:00
TeamCity
585946e6bd MINOR Updated translations 2012-08-07 02:05:49 +12:00
Ingo Schommer
9b15bac8f3 Parameter omission in i18nTextCollector 2012-08-06 14:17:43 +02:00
TeamCity
47c59d76d9 MINOR Updated translations 2012-08-07 00:04:27 +12:00
Ingo Schommer
52e05f27bb BUG Re-added singular/plural name i18n entities
Previously "hidden" by inability of i18nTextCollector
to autoload classes in order to introspect them.
2012-08-06 14:03:51 +02:00
Ingo Schommer
1db830771d BUG Class autoloading in i18nTextCollector
The collector didn't find classes marked as entity providers
unless they were already loaded as a sideeffect of the preceding
execution path. Since we want to introspect the whole codebase,
autoloading is mandatory here.
2012-08-06 14:02:47 +02:00
Ingo Schommer
d0a9811087 BUG Fully qualified namespace for _t() in templates
Was inferred by the containing file previously,
which is deprecated behaviour, because it obscures
the fact that renaming an template file or copying
template code will change the context of the translations.
While it would be nice to use shorter and more readable namespaces,
this change would remove all existing translations.
Since there is no (easy) migration of entities to a new namespace,
having verbose template code is the lesser of two evils.
2012-08-06 13:44:21 +02:00
TeamCity
d9f9d0314a MINOR Updated translations 2012-08-06 23:08:21 +12:00
TeamCity
b01db2e377 MINOR Updated translations 2012-08-06 22:04:55 +12:00
TeamCity
04570b846c MINOR Updated translations 2012-08-06 21:09:39 +12:00
Ingo Schommer
b135218789 BUG Detect JS lang by <body>, and force init 2012-08-06 10:59:18 +02:00
Ingo Schommer
8320e4e775 Updated translations 2012-08-06 10:42:50 +02:00
Ingo Schommer
0f648cf3e2 MINOR Updated translations 2012-08-06 10:33:50 +02:00
TeamCity
9020e292f3 MINOR Updated translations 2012-08-06 10:15:49 +12:00
Ingo Schommer
0abef4232e Pointer to CMS architecture docs 2012-08-05 20:39:05 +02:00
Ingo Schommer
b4e3c1338c Improved tree docs 2012-08-05 20:35:06 +02:00
Will Rossiter
bbbec359d5 Update ideal commit message to reflect new guidelines 2012-08-05 18:29:41 +12:00
Will Rossiter
7162d65258 Merge pull request #691 from dd1079/patch-1
Update javascript/lang/de_DE.js
2012-08-04 21:53:33 -07:00
Will Rossiter
9a7b5df63c Merge pull request #695 from jrast/3.0
Wrong deprecation notice in DBField::create()
2012-08-04 14:23:22 -07:00
Juerg Rast
00a2edd9bc Wrong deprecation notice in DBField::create() 2012-08-04 19:14:16 +02:00
Will Rossiter
4e4e044c1c Merge pull request #669 from mateusz/iis7-docs
Update the IIS7 folder permission configuration docs.
2012-08-03 15:59:09 -07:00
jean
90b0fe8db7 FIX Only reload data for a item edited through a GridField if the record exists. Fix 7721 2012-08-04 10:53:13 +12:00
jean
fb9e997b5e BUGFIX Use tree/xxx instead of tree?ID=xxx when fetching subtrees for TreeDropdownField. Fix #7730 2012-08-04 10:53:12 +12:00
Will Rossiter
c28c024dce Merge pull request #694 from creamarketing/javascript-treenode-updating
BUG: javascript tree node updating fails when Translatable is used
2012-08-03 14:49:52 -07:00
Will Rossiter
49c1ed4e77 Merge pull request #679 from jakr/trac_7706_doc
Documentation in topics/i18n
2012-08-03 14:45:59 -07:00
Will Rossiter
daceab2dcd Merge pull request #693 from jakr/trac7733_v2
Temporary fix to example code in docs/en/topics/datamodel.md (Ticket 7733).
2012-08-03 14:28:06 -07:00
Niklas Forsdahl
a85530991c BUG: javascript tree node updating fails when Translatable is used
Automatic tree node updating fails when for example creating a new
translation, due to the update URL containing two question marks,
due to the locale get parameter.

Fixed by using the $.path.addSearchParams utility function, which properly
checks for existing query string parameters.
2012-08-03 13:36:37 +03:00
jakr
6adc39e289 Fixed example code in docs/en/topics/datamodel.md. 2012-08-03 11:39:46 +02:00
Will Rossiter
eb82094c45 Datamodel documentation fixes
Fixes reported issues and other related typos, inconsistent language from the datamodel documentation. Thanks to Nimo.
2012-08-03 17:00:43 +12:00
Will Rossiter
d774cb50f6 Add nowrap to buttons to ensure single lines (https://skitch.com/willrossi/ekp44/silverstripe-pages). Thanks oetiker 2012-08-03 09:13:37 +12:00
Andrew Short
1900842d37 Make the list used for autocomplete search results settable.
This is useful if you want to limit the autocomplete results to a subset
of all available objects.
2012-08-02 21:25:45 +12:00
Will Rossiter
823f0f7749 Merge pull request #687 from ajshort/gridfield-search-list
Make the list used for autocomplete search results settable.
2012-08-02 02:11:40 -07:00
dd1079
fa671062f8 Update javascript/lang/de_DE.js
Adding German language strings
2012-08-01 19:17:04 +03:00
Andrew Short
f5b25d2dff Make the list used for autocomplete search results settable.
This is useful if you want to limit the autocomplete results to a subset
of all available objects.
2012-08-01 17:16:18 +10:00
Hamish Friedlander
3efdb5c981 Merge in changes from 3.0.1 final 2012-07-31 16:51:10 +12:00
Hamish Friedlander
ec25afc61e Merge in changes from 3.0.1 final 2012-07-31 16:50:22 +12:00
Hamish Friedlander
4583e83164 Add changelog for 3.0.1 2012-07-31 16:42:40 +12:00
Hamish Friedlander
c7eb4f3138 BUG BBCodeParser wasnt working due to php4 lack of statics 2012-07-31 15:43:01 +12:00