Ingo Schommer
d1ee7612f5
Merge remote-tracking branch 'origin/3.0'
2012-10-08 16:48:52 +02:00
Normann Lou
9aaa6b1a7b
ENHANCEMENT: change those harded-coded 'sapphire' to 'framework' either in javascript code or inline document, or a <a> href propty.
2012-10-05 17:00:39 +13:00
Normann Lou
1fca4911e1
BUGFIX: replace 'sapphire' with 'framework' in those legacy fields: TableField, TableListField and ComplexTableField.
2012-10-05 16:54:14 +13:00
Ingo Schommer
56f7ce1dcf
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
control/Cookie.php
control/Director.php
control/HTTPResponse.php
model/Database.php
model/MySQLDatabase.php
model/SQLQuery.php
view/Requirements.php
view/SSViewer.php
2012-10-03 16:16:19 +02:00
Ingo Schommer
b22a7afc03
BUG TreeDropdownField panel positioning
...
See https://github.com/silverstripe/sapphire/pull/809 , thanks martinduparc
2012-10-02 12:02:42 +02:00
Sam Minnee
1f7fc1f76a
FIX Remove instances of lines longer than 120c
...
The entire framework repo (with the exception of system-generated files) has been amended to respect the 120c line-length limit. This is in preparation for the enforcement of this rule with PHP_CodeSniffer.
2012-09-30 17:18:13 +13:00
Jeremy Bridson
07bc75c281
ENHANCEMENT: open/7881 - removed disabled checkboxes and replaced them with green ticks. Added help text above the list of permissions. Removed action buttons by fade out when user goes to users permissions tab.
2012-09-28 16:37:35 +02:00
Simon Welsh
1e629f4585
Merge branch '3.0'
...
Conflicts:
control/Cookie.php
control/Director.php
dev/Profiler.php
view/Requirements.php
2012-09-21 14:56:56 +12:00
jean
d1a3c80a9d
FIX 7862 Strict equality check on previously selected item in the TreeDropdownField
2012-09-13 09:27:09 +12:00
Ingo Schommer
1088d044c5
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
.travis.yml
2012-09-07 17:21:41 +02:00
Andrew O'Neil
ce68c4a870
FEATURE: Send javascript events on show and hide of treedropdown
2012-09-05 14:18:36 +12:00
Zauberfisch
d24ea5ec97
BUG jQueryUI configs broken because keys were all lowercase
2012-09-02 12:51:25 +02:00
Will Rossiter
10d0296721
FIX: ensure date input has a date picker to trigger open ( #7504 )
2012-08-30 22:39:06 +12:00
Ingo Schommer
a8f335360b
Merge remote-tracking branch 'origin/3.0'
2012-08-27 09:25:59 +02:00
Ingo Schommer
3b592122fd
i18n for "select an anchor" string (see #7798 )
2012-08-26 23:58:31 +02:00
Ingo Schommer
4cc82e906b
Merge remote-tracking branch 'origin/3.0'
2012-08-20 10:13:55 +02:00
Sam Minnée
9adf0a4155
Merge pull request #703 from patbolo/fix/7742_2
...
FIX 7742
2012-08-16 18:05:10 -07:00
Ingo Schommer
fb7008627c
Merge remote-tracking branch 'origin/3.0'
2012-08-09 10:47:44 +02: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
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
b135218789
BUG Detect JS lang by <body>, and force init
2012-08-06 10:59:18 +02: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
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
dd1079
fa671062f8
Update javascript/lang/de_DE.js
...
Adding German language strings
2012-08-01 19:17:04 +03:00
Hamish Friedlander
3efdb5c981
Merge in changes from 3.0.1 final
2012-07-31 16:51:10 +12:00
Naomi Guyer
55ec92d40e
ENHANCEMENT: Maori language javascript
2012-07-26 17:18:44 +12:00
Hamish Friedlander
95d0be636c
Merge remote-tracking branch 'origin/3.0'
2012-07-25 11:44:53 +12:00
Hamish Friedlander
dc18c51f32
Add javascript japanese translation - thanks Yuki Awano
2012-07-25 09:38:36 +12:00
unclecheese
b57f2bd022
BUGFIX: UploadField does not work on DataObjects
2012-07-19 22:11:38 -03:00
Ingo Schommer
3ae8b0b665
Merge remote-tracking branch 'origin/3.0'
2012-07-18 15:00:06 +02:00
Ingo Schommer
1a91431d39
Query param searches for GridFieldAddExistingAutocompleter
...
Fixes issues with query construction in JS when the search URL
already contains GET paramters (e.g. when using the 'translatable'
module).
2012-07-17 13:26:33 +02:00
Ingo Schommer
a033ddf773
More init checks in HtmlEditorField.js
2012-07-16 23:33:22 +02:00
Ingo Schommer
b4ecc308a1
BUG Enforce startClosed prop on ToggleCompositeField
2012-07-15 20:53:44 +02:00
Mateusz Uzdowski
c785f3c492
BUG Adjust the tree construction and triggers to work with IE.
...
After Hamish's suggestion. Entwine onchange would not get executed in
IE8 at all, which would have the effect of the displyed dropdown
selection not being set.
Change to onadd also mandates the changes to onadd on other parts of the
tree component - otherwise the change event can trigger before the
tree elements are added to the DOM.
2012-07-12 16:44:21 +12:00
Mateusz Uzdowski
7c41ff22ab
BUG Change all shortcodes into the new, comma separated, format.
...
Space delimiter is often confused by browsers, and encoded as %20 which
breaks the shortcode system. Change to comma delimitation has already
been implemented, this is a followup cleanup.
Ref http://open.silverstripe.org/ticket/7337
2012-07-12 16:44:21 +12:00
Mateusz Uzdowski
29a039929b
Refactor the linking functionality for the TinyMCE popup.
...
Functionality that affects the values in the form better fits in
updateFromEditor function, where we expect the form to be modified.
Redraw should only affect visibility parameters.
Also added a more robust reset code, so we can always expect to get at
least a clean form, and re-added missing "target" checkbox.
2012-07-12 16:44:15 +12:00
Mateusz Uzdowski
eef67b6f87
API Clean up the return values for getCurrentLink
...
Returning a link type "internal" in the situation when no link has been
detected is confusing and makes it hard to know downstream if the link
was detected or not. Switched that to null.
Also added target option to file downloads, as we don't currently have a
mechanism to default this field to "yes" for files.
2012-07-12 09:13:32 +12:00
Jeremy Shipman
606d86a926
BUGFIX: DateField javascript fails when it is included in a GroupField
2012-06-25 20:32:53 +12:00
Sam Minnee
7685a0b59d
Merge branch '3.0'
2012-06-25 10:01:34 +12:00
Ingo Schommer
682a6a0d1b
BUGFIX "Insert media" loading indicator ( fixes #7542 )
...
No "working" indicator in insert media from web button.
Returning the $.ajax object to allow for deferred callbacks
on events other than 'success'
2012-06-22 10:25:15 +02:00
Sam Minnee
4aa4cd2c28
Merge branch '3.0'
...
Conflicts:
admin/scss/ie7.scss
2012-06-22 17:20:07 +12:00
Naomi Guyer
1197a2fa14
BUGFIX: Media styles in IE9 ( fixes #4 of #7497 )
...
Changed media conditional as was evaluating as false in IE9
2012-06-21 16:50:14 +12:00
Hamish Friedlander
65030906ad
BUGFIX: Add validation to fix open.silverstripe.org ticket #7494
...
When adding media via the HtmlEditorField dialog, the value of the URL field wasnt being validated. Youd get different errors depending on if the field was empty
or if it had text, but it didnt look like an absolute URL to HtmlEditorField#viewfile.
This adds some javascript validation to make the text field look like a URL field
2012-06-21 14:19:41 +12:00
Hamish Friedlander
ef11a0dc78
BUGFIX: Fix trac ticket 7081
...
IE contentEditable carets and selection boxes show on top of any elements, interfering with HtmlEditorFields dialogs.
This fixes that by storing the selection prior to opening the dialog, then unselecting everything. On dialog close the
selection is restored
2012-06-20 15:27:56 +12:00
Hamish Friedlander
8ae4597a85
BUGFIX: TreeDropdownField wasnt closing, because the closePanel method is in an entwine namespace
2012-06-15 01:19:30 +02:00
Ingo Schommer
40cef4d584
MINOR Fixed event naming
2012-06-15 01:19:21 +02:00
Hamish Friedlander
1085fd29be
BUGFIX: TinyMCE isnt unbinding formatselect or styleselect which leaks memory. We should really fix TinyMCE, but lets just brute-force it for now.
2012-06-15 01:19:19 +02:00
Hamish Friedlander
e58929d52c
ENHANCEMENT: Make ToggleCompositeField use new entwine features
2012-06-15 01:19:18 +02:00
Hamish Friedlander
b86a787521
BUGFIX: Use new jQuery.Entwine event capturing, onadd and onremove features to plug some memory leaks
2012-06-15 01:19:15 +02:00
Ingo Schommer
6c1f7997a4
ENHANCEMENT HTML titles in TreeDropdownField
...
HTML in tree nodes is already used to render page icons via SiteTree->TreeTitle.
In order to select the initial value correctly via HTML5 data attributes,
we need to encode any HTML values.
2012-06-13 16:04:14 +02:00