Changes 0 to 10 on this branch are displayed below, sorted in descending chronological order.
| Author: |
marty.vance@gmail.com |
| Changelog: |
propagate from branch 'com.xaraya.core' (head 77b57be4d31335926da79e6a50a94115f697f8d4)
to branch 'com.xaraya.core.aruba.ajax' (head 4797560e8ee1a7f12195a4ff68c4bb200bea732f)
|
| Date: |
Fri, 09 Oct 2009 02:43:15 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Add param to base/xarjavascriptapi/appendframeworkevent.php: 'once'. When set
to 1 or 'true', prevents the same piece of code from being included in the
event queue multiple times. Useful for having initialization code in a DD
property template, if the JS is written so that it is generic to all instances
of the property.
Rewrite OrderSelect property with jQuery. Now shows a plain text input (with
help text) when JS disabled.
Convert blocks/xartemplates/admin-modify_group.xd to use same JS as the
OrderSelect property.
Use OrderSelect property in base-admin-modifyconfig for authentication modules.
The file orderitem.js is abandoned, but not deleted.
Feed the form preview in dd-admin-modifyprop into a jQuery dialog.
Remove the refresh form in dd-admin-form in AJAX context, it's rather useless.
In dd-admin-form, do not use the print theme for display of the preview.
Remove forgotten checkInput code from mail-admin-modifyconfig.xd.
Pass various QA tests.
|
| Date: |
Thu, 08 Oct 2009 05:03:17 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Replace dirty JS hack used for putting the confirm messages back into the
dialog in dynamicdata/xartemplates/includes/proplist-list.xd.
Place 'Close' buttons on info dialogs in modules/xartemplates/admin-list.xd
and themes/xartemplates/admin-list.xd.
Remove inline event handlers:
- base/xartemplates/properties/showinput-checkbox.xd
- base/xartemplates/properties/showinput-countrylist.xd
- base/xartemplates/properties/showinput-dropdown.xd
- base/xartemplates/properties/showinput-fileupload.xd
- base/xartemplates/properties/showinput-textbox.xd
- dynamicdata/xartemplates/admin-form.xd
- roles/xartemplates/properties/showinput-userlist.xd
Replace JS-driven cancel buttons with links:
- blocks/xartemplates/admin-delete_group.xd
- blocks/xartemplates/admin-delete_instance.xd
- modules/xartemplates/admin-deactivate.xd
- modules/xartemplates/admin-remove.xd
- privileges/xartemplates/admin-deleteprivilege.xd
- privileges/xartemplates/admin-deleterealm.xd
- privileges/xartemplates/admin-removerole.xd
- roles/xartemplates/admin-asknotification.xd
- roles/xartemplates/admin-deleterole.xd
- roles/xartemplates/admin-removeprivilege.xd
- themes/xartemplates/admin-modifytpltag.xd
Only 11 inline event handlers remain:
onload: 1 (dead file)
onunload: 0
onchange: 0
onsubmit: 0
onreset: 0
onselect: 0
onblur: 0
onfocus: 0
onkeyup: 0
onkeydown: 0
onkeypress: 0
onclick: 10 (3 in dead files; 1 has no easy replacement; 6 related to OrderSelect)
ondblclick: 0
onmousedown: 0
onmousemove: 0
onmouseout: 0
onmouseover: 0
onmouseup: 0
|
| Date: |
Mon, 05 Oct 2009 04:56:14 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Add API function xarresponseIsAJAX in includes/xarServer.php.
This function will detect either this HTTP header:
X-Requested-With: XMLHttpRequest
or this URL param:
xhr=[not empty]
and return true if either is present, or false if neither. Most JS
frameworks (including jQuery) send this header, but for the few that don't,
xhr is a workaround.
Removed inline event handlers from dynamicdata/xartemplates/admin-privileges.xd
and reformatted the form with standard div structure.
More use of dd/admin/modifyprop as a model for jQuery stuff:
- modifyprop template now loads the form plugin.
- When a form is loaded into a dialog via "Edit property" and "Edit
Validation" links, it is submitted via AJAX with the form plugin.
- The form's response is also loaded into the dialog, resulting in a complete
asynchronous round trip.
- dd/admin/modify and dd/admin/showpropval templates exclude elements (ie,
tabs) if xarRequestIsAJAX().
- dd/admin/update and dd/admin/updateprop return confirmation template output if
xarRequestIsAJAX(), rather than performing a redirect.
Added base/xartemplates/message-confirm.xd to show users a confirmation message
(used in the last item above).
Added base/xarimages/confirm.png large icon for use in message-confirm
template.
|
| Date: |
Sun, 04 Oct 2009 09:53:40 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Make blocks_user_display more robust: now accepts $bid or $name, with optional
$template in "outer;inner" format.
Create blocks_user_group, which accepts args $gid or $name, and optional
$template (outer).
|
| Date: |
Fri, 02 Oct 2009 20:41:07 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
replace formcheck.js with more robust jquery.validate usage
|
| Date: |
Fri, 02 Oct 2009 05:21:55 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Remove one last reference to xarTree.js in Privileges.
Implement Treeview plugin in roles/admin-viewroles.xd, although I can't see
where that function is ever called.
Use UI.dialog to display item indfo in modules/admin-list and
themes/admin-list.
Removed 105 hardcoded event handlers and replaced with jQuery.ready code.
Put CDATA tags in jQuery ready() event template.
|
| Date: |
Sat, 26 Sep 2009 18:14:18 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
Update to latest metadata plugin, with .min and .pack files.
Add form plugin.
Add validate plugin.
Add treeview plugin.
Replace tree CSS/JS in Privileges with treeview plugin.
Replace tree CSS/JS in Roles with treeview plugin.
The trees in roles and privileges now both output a plain nested <ul>
structure; the treeview plugin puts the decorations in place.
Add folder, folder-open, and text-x-generic icons from Tango for
potential use in Treeview (filetree class), and map Treeview's css
accordingly.
|
| Date: |
Thu, 24 Sep 2009 17:09:15 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
When preparing jQuery code, always call base-js-framework with attribute
valies specific to jQuery.
Convert delete confirmations in blocks/view_instances and
blocks/view_groups to use jQuery ui.dialof rather than a simple confirm();.
Implement blue styles for jquery.ui plugin.
|
| Date: |
Tue, 22 Sep 2009 22:15:56 GMT |
| Author: |
marty.vance@gmail.com |
| Changelog: |
When preparing jQuery code, always call base-js-framework with attribute
valies specific to jQuery.
Convert delete confirmations in blocks/view_instances and
blocks/view_groups to use jQuery ui.dialof rather than a simple confirm();.
|
| Date: |
Tue, 22 Sep 2009 16:32:08 GMT |