Commit graph

16868 commits

Author SHA1 Message Date
Scott Walters
54ae754ebe Repeat ampli's fix (described below) for other occurances on the site.
``The Save buttons in the two first steps didn't work in Chrome.
    According to a hint in the YUI Button documentation about a problem in using
    "submit" as a value of the name attribute, I changed submit button name
    in the two first steps from "submit" to "send".  This solved the problem.''
2011-06-29 19:13:18 -04:00
Scott Walters
747f439725 FormField macro for throwing Form controls directly into templates;
useful for using alternative or improved Form controls without having
to change Asset source code.
2011-06-29 18:11:46 -04:00
Doug Bell
9cc5e2270a proper accredation 2011-06-29 18:09:14 -04:00
Doug Bell
4287f2e10a update changelog 2011-06-29 18:03:52 -04:00
Doug Bell
d448919e4d Merge pull request #15 from ampli/master
DataTable: random deletion of columns may happen when a schema is saved  (#12178)
2011-06-29 14:55:35 -07:00
ampli
5ea09092ad Fixed the following jslint warnings:
Lint at line 5 character 16: 'WebGUI' was used before it was defined.
var WebGUI = {};

Lint at line 53 character 86: Missing '()' invoking a constructor.
data[ columns[ i ].key ] = columns[i].formatter == "date" ? new Date : "";

Lint at line 89 character 21: 'i' is already defined.
for ( var i = 0; i < cols.length; i++ ) {

Lint at line 612 character 25: 'col' is already defined.
var col     = this.dataTable.getColumn( oldKey );

Lint at line 661 character 63: Missing '()' invoking a constructor.
allRecords[j].setData(newKey, new Date);
2011-06-29 04:55:59 +03:00
ampli
8e7beabaf0 Fix #12179.
In WebKit browsers, when a schema is saved, existing column
field types are reset to "Text". This is not a bug in WebKit, and
will happen in any browser that implements Option() as documented.

Option() is not supposed to have an immediate action if only the
default selection is updated on a newly added select object.
See: http://download.oracle.com/docs/cd/E19957-01/816-6408-10/option.htm .

Repeat-By:
1. New Content->basic->Datatable
2. data
3. Edit Schema
4. col1, Number, Add Column
5. col2, E-mail, Add Column
6. col3, URL, Add Column
7. Edit Schema (note that the field types got reset to "Text")
8  Save (now the field types incorrectly got overwritten in the DataTable)

Fixed by adding 4th arguments to actually make the new selection to be
equal to the default one.
2011-06-29 04:12:02 +03:00
Colin Kuskie
814845b7f1 Do not call group methods on an undefined value. IOW, do not assume that we got a group. 2011-06-28 17:16:09 -07:00
ampli
ed0c400440 Columns in DataTable may be "randomly" deleted. This happens in updateSchema(), because both the column update loop and the row update loop use the same variable "i". Since variable scope in JS is by function and not block, the column loop variable gets overwritten.
Repeat-by:
1. New Content->Basic->DataTable
2. data
3. Edit Schema
4. col1, add Column
5. col2, add Column
6. col3, Save
7. Edit Schema

Note that col2 is missing.

Fix:
Change the name of the variable in the row loop.
2011-06-29 03:01:15 +03:00
Colin Kuskie
3fa9d82bcd Ready for 7.10.20 development. 2011-06-27 22:07:50 -07:00
Colin Kuskie
9ab05adb8f Ready for release of 7.10.19 2011-06-27 21:53:13 -07:00
Colin Kuskie
4027b5b4d8 Perform the check BEFORE saving the Thing properties. Fixes bug #12157. 2011-06-27 21:32:57 -07:00
Colin Kuskie
ac8d95e20a Okay, I guess we really do need that. 2011-06-27 21:11:37 -07:00
Colin Kuskie
204108e178 Remove the Underground User style template, and fix the problem is tried to fix by changing the navigation. Fixes bug #12172 2011-06-27 18:06:23 -07:00
ampli
ebbbeb6609 The Save buttons in the two first steps didn't work in Chrome.
According to a hint in the YUI Button documentation about a problem in using
"submit" as a value of the name attribute, I changed submit button name
in the two first steps from "submit" to "send".  This solved the problem.
2011-06-28 03:34:24 +03:00
Colin Kuskie
720c06a50a Fix template help variables for month/year in the Calendar. Fixes bug #12167. 2011-06-27 15:10:34 -07:00
Colin Kuskie
f728b22843 Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164 2011-06-27 14:40:46 -07:00
khenn
97ec859653 Localized a global variable which interferes with other third party js packages. 2011-06-26 12:06:45 -05:00
Doug Bell
f797429b5f clarify docs 2011-06-24 15:09:25 -05:00
Doug Bell
9a90ad6d2f add forms to templates to work directly with FormBuilder objects 2011-06-24 15:08:51 -05:00
Doug Bell
199e2240a7 Revert "allow SSLPROXY header again"
This reverts commit e8d1fa0056.

SSLPROXY should be handled by using Plack::Middleware::ReverseProxy and
setting the X-Forwarded-Proto http header to "https"
2011-06-23 17:46:16 -05:00
Doug Bell
e8d1fa0056 allow SSLPROXY header again 2011-06-23 17:35:58 -05:00
Doug Bell
b1660fe76b document that tableKey is not allowed to have fieldType 2011-06-23 13:07:19 -05:00
Doug Bell
7f47927325 use a default label instead of requiring one 2011-06-23 13:02:27 -05:00
Paul Driver
3acaa46713 fixed #12169: extras uploads symlink export 2011-06-21 16:16:51 -05:00
Doug Bell
0c5acb697b Merge commit 'v7.10.18' into 8
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	docs/templates.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset/File.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/AssetExportHtml.pm
	lib/WebGUI/Content/AssetManager.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Macro/AssetProxy.pm
	lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
	lib/WebGUI/Storage.pm
	t/Asset/AssetExportHtml.t
	t/Asset/Story.t
	t/Shop/TaxDriver/Generic.t
	t/Storage.t
2011-06-21 16:03:49 -05:00
Doug Bell
4d0e87a8d9 add ticket limits to badge groups. add ticket and badge metadata to templates 2011-06-20 18:39:45 -05:00
Doug Bell
d0077bdcec allow specific expires dates for groups in userImport.pl 2011-06-20 18:26:39 -05:00
Chris Hanson
07d2c38dbc Monday morning. Typo correction to 8a6ba94..c646f01 2011-06-20 11:45:29 -05:00
Chris Hanson
c646f012ae Added template var to Thingy to reflect callerAssetId from RenderThingData. 2011-06-20 11:38:02 -05:00
Doug Bell
02c0da33e4 Merge remote-tracking branch 'upstream/WebGUI8' into 8
Conflicts:
	docs/previousVersion.sql
2011-06-17 20:15:24 -05:00
Doug Bell
795d88e7e5 Merge commit 'v7.10.17' into 8
Conflicts:
	docs/upgrades/upgrade_7.9.13-7.10.0.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset/Template/TemplateToolkit.pm
	lib/WebGUI/Asset/Wobject/AssetReport.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/Form/Captcha.pm
	lib/WebGUI/Macro/AdminBar.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/PayDriver.pm
	lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm
	lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
	lib/WebGUI/Shop/Transaction.pm
	lib/WebGUI/Workflow/Instance.pm
	lib/WebGUI/Workflow/Spectre.pm
	lib/WebGUI/i18n/English/PayDriver.pm
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Wobject/Thingy.t
2011-06-17 20:13:41 -05:00
Chris Hanson
8a6ba94191 Added POD and test for RenderThingData macro update 2011-06-16 18:07:54 -05:00
Doug Bell
1d23bcf846 Merge pull request #13 from haarg/template_proxy
Template proxy to prevent modifying properties inside templates
2011-06-16 16:06:20 -07:00
Graham Knop
b177bb5c3f convert changeIobStatus.pl to module 2011-06-16 01:56:21 -05:00
Graham Knop
841b1f60f7 remove merge remnants 2011-06-16 00:36:45 -05:00
Graham Knop
0a09ea4895 add automatic proxy system for passing objects to Template::Toolkit 2011-06-15 18:19:16 -05:00
Chris Hanson
995eb34b5a Added ability to pass caller assetId to RenderThingMacro 2011-06-14 14:11:02 -05:00
Colin Kuskie
a2425bdbc4 Ready for 7.10.19 development. 2011-06-13 20:31:05 -07:00
Colin Kuskie
daa14c594f Ready for 7.10.18 release. 2011-06-13 20:12:02 -07:00
Colin Kuskie
81ae2b4f07 Fix cleaning up LDAP links in tests. 2011-06-13 19:50:40 -07:00
Colin Kuskie
638b2a1996 Fix tests that were leaking assets. 2011-06-13 18:52:44 -07:00
Colin Kuskie
9154db5e2b Just test for falseness, not what kind of falseness. 2011-06-13 18:20:32 -07:00
Colin Kuskie
8978abc471 Restore the patch to fix creating tables unwisely in the Thingy. Fixes numerous bugs due to a bad merge. 2011-06-13 18:03:21 -07:00
Colin Kuskie
8b13c387be Add missing i18n for Thingy RFE for unique fields. 2011-06-13 16:05:02 -07:00
Doug Bell
4557e2088a handle reset problems more gracefully 2011-06-13 17:53:26 -05:00
Doug Bell
983e73a8d8 add TemplateToolkit before testing it 2011-06-13 17:53:26 -05:00
Doug Bell
3809817571 Ave trips mysql's stopwords? 2011-06-13 17:53:26 -05:00
Doug Bell
0577933006 2 letters is below the minimum word length 2011-06-13 17:53:25 -05:00
Doug Bell
f29f3e3851 XML::FeedPP::RSS returns "" and not undef 2011-06-13 17:53:25 -05:00