Commit graph

14437 commits

Author SHA1 Message Date
Colin Kuskie
4b663fdf0b Override new in Form plugins that set their options, so the options are always available. Fixes bug #12190. 2011-07-11 13:04:22 -07:00
Colin Kuskie
1c08796d6c Keywords fixes to prevent leaks. 2011-07-11 13:03:06 -07:00
Colin Kuskie
87d252ec26 Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186. 2011-07-10 18:29:52 -07:00
Colin Kuskie
200b4c3ec7 Specify the auth type when HTTP Basic auth fails. Fixes bug #12184. 2011-07-10 18:11:28 -07:00
Colin Kuskie
5d74b24e97 Remove debug code, replace with line accidently deleted during debug. Fixes bug #12188 2011-07-08 15:23:17 -07:00
Colin Kuskie
e3a4afe5c3 Allow reasonable default dates in ISO 9601 format. Fixes bug #12165. 2011-07-04 14:14:17 -07:00
Colin Kuskie
7e8ae8fe9a Fix spacing issues with WebGUI::DateTime->webguiDate. 2011-07-04 12:15:58 -07:00
Colin Kuskie
2bcda0c9f5 Change the generic tax driver to remove spaces around commas when adding a new row. Add tests and a convenience method for getting one line of tax information. Upgrade sub fixes any information already in the db. 2011-06-30 16:20:14 -07:00
Scott Walters
6ac46be8bd Missed upgrade script for the FormField macro. Here's it. 2011-06-30 14:41:50 -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
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
Paul Driver
3acaa46713 fixed #12169: extras uploads symlink export 2011-06-21 16:16:51 -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
Chris Hanson
8a6ba94191 Added POD and test for RenderThingData macro update 2011-06-16 18:07:54 -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
Colin Kuskie
8b3877c34e Update the default CS notification template. 2011-06-13 13:46:01 -07:00
Paul Driver
1ff1ffe423 rfe #12159: Asset Manager sort preferences 2011-06-13 13:25:01 -05:00
Colin Kuskie
328826e3f7 Create a fake item to send to PayPal for shipping, so it can be covered by shop credit. Fixes bug #12158. 2011-06-13 11:03:29 -07:00
Paul Driver
9dd8658ceb fixed #12156: Asset Manager performance 2011-06-10 14:17:04 -05:00
Colin Kuskie
21bcd70980 Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout 2011-06-06 19:53:22 -07:00
Colin Kuskie
00ea5c4df8 Add tests for checking user status via get. 2011-06-06 11:00:18 -07:00