Nik Rolls
5c5a506878
BUG removed use of deprecated method
2012-08-10 18:32:55 +12:00
Naomi Guyer
ae52be54f0
FIX: Missing last login time (fixes 7666)
...
Add in missing user login time
2012-08-10 18:08:53 +12:00
Damian Mooyman
c55b018feb
FIXED: Issue where versioned would join _versions tables on ID,Version instead of RecordID,Version
2012-08-10 13:54:29 +12:00
Damian Mooyman
22c5f3129c
FIXED: Issue where viewing an archived version of a page caused invalid SQL to be generated. This would only occur with subclasses of Page.
2012-08-10 12:45:37 +12:00
Ingo Schommer
023721aaca
GridFieldPaginator localization
2012-08-10 00:30:49 +02:00
Ingo Schommer
c7fd9a6605
CMS Localization
2012-08-10 00:17:34 +02:00
Ingo Schommer
ca1d38dffd
BUG Localize DataObject->summaryFields()
2012-08-10 00:14:02 +02:00
Ingo Schommer
77d939f0b2
CMS Localization
2012-08-09 23:55:30 +02:00
martimiz
deb3780a45
BUG #7768 - add-button and breadcrumb translation in Security, ModelAdmin
...
The classnames on the add-new button and breadcrumbs were not
translated due to the use of singular_name() instead of
i18n-singular_name() in GridFieldAddNewButton and GridFieldDetailForm.
2012-08-09 23:46:40 +02:00
Will Rossiter
61ea58d030
Merge pull request #712 from Martimiz/3.0-CMSBreadcrumbs
...
FIX: display correct icon in the GridFieldDetailForm's breadcrumbs
2012-08-09 04:19:28 -07:00
Ingo Schommer
ec17d368be
BUG Fix PHPUnit autoloading problems in text collector
2012-08-09 12:47:12 +02:00
Will Rossiter
1f4b5db2db
Merge pull request #714 from tractorcow/3.0-gridfield-fixes
...
FIX: Uninitialised variable in GridFieldAddExistingAutocompleter
2012-08-09 03:24:33 -07:00
Ingo Schommer
68855a209a
Guard against double inclusion of phpunit
...
While a hack, it fixes problems with our build infrastructure,
specifically i18nTextCollectorTask complaining about
double class definition.
2012-08-09 11:51:17 +02:00
Ingo Schommer
186d95c84b
Argument optional in collectFromEntityProviders()
2012-08-09 10:59:15 +02:00
Damian Mooyman
d172e160a8
FIXED: Bug in GridFieldAddExistingAutocompleter.php where an uninitialised variable would occasionally crash searches
...
REMOVED: Unused variable
2012-08-09 15:04:02 +12:00
Damian Mooyman
a80daef2c6
FIXED: Issue where urls with querystring arguments would not be properly concatenated with additional query parameters during ajax requests. The behaviour would not normally be noted except when using a module (such as Translatable) that adds parameters to data-url fields in forms.
2012-08-09 10:18:33 +12:00
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
Will Rossiter
f6c69d5241
Update widget documentation ( fixes #706 )
2012-08-08 21:21:58 +12: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
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
Naomi Guyer
5b88ffca46
BUG: IE7 vertical text fix
...
Re-add vertical text fix, as it's been overwritten somewhere along the
way
2012-08-07 13:29:33 +12:00
jean
34812971cc
FIX 7742 Decode the URI encoded attribute before displaying it as the value for the tree dropdown
2012-08-07 09:20:13 +12:00
Ingo Schommer
9b15bac8f3
Parameter omission in i18nTextCollector
2012-08-06 14:17:43 +02: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
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
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