Commit graph

14514 commits

Author SHA1 Message Date
Colin Kuskie
3b67bd244b Preparing for 7.10.21 release. 2011-07-25 20:56:00 -07:00
Colin Kuskie
0ed4d4a122 Fix bad tests that were order dependent on the FS. Fix tests that leaked assets and/or version tags. 2011-07-25 16:58:07 -07:00
Colin Kuskie
d7112b2a3b Add POD to PDFGenerator so it passes tests. 2011-07-25 16:12:17 -07:00
Paul Driver
29f06a1062 A couple of forgotten things for the WaitForUserConfirmation workflow 2011-07-25 17:10:20 -05:00
Colin Kuskie
fef167bd0f Fix a syntax error in the Json table caused by my bad merge. 2011-07-25 15:00:11 -07:00
Paul Driver
7b1e385dd3 Added new setting - Enable Users after Anonymous Registration? 2011-07-25 14:07:01 -05:00
Paul Driver
182fc16021 added WaitForUserConfirmation activity 2011-07-25 14:07:01 -05:00
Colin Kuskie
4aeb70d323 Fix a bad script link in the JsonTable. Fixes bug #12202. 2011-07-23 14:38:31 -07:00
Colin Kuskie
50ddc03cd8 Fix the HTML in the default forum notification template. Fixes bug #12204 2011-07-22 21:31:38 -07:00
Scott Walters
da6cf052da Merge pull request #19 from zylopfa/master
RFE: 9668 template variable "extensions" added,  for various assets containing fileloops in their templates
2011-07-22 17:32:43 -07:00
Peter Christiansen
a9ac52aee3 Added tests to Article.t and Post.t for checking that the template variables
contain the new extension variable.
2011-07-23 01:58:48 +02:00
Peter Christiansen
3128741b4b Rebased changelog and added changes.
- added #9668 extension template variable to attachment loops for the following assets:
Article,Post,Event,File,Form::Attachments,Folder
2011-07-21 23:11:03 +02:00
Peter Christiansen
fd3346586e - added #9668 extension template variable to attachment loops for the following assets:
Article,Post,Event,File,Form::Attachments,Folder
2011-07-21 21:42:17 +02:00
Paul Driver
a4ee31feef Re-fixed #11379, with tests this time. 2011-07-19 16:41:51 -05:00
Colin Kuskie
2ce2d7611a Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197 2011-07-18 21:26:31 -07:00
Doug Bell
39f026f866 Merge pull request #18 from ampli/datatable
DataTable changes and additions
2011-07-15 15:30:49 -07:00
Paul Driver
5159e522f4 WebGUI::Content::PDFGenerator 2011-07-15 15:16:08 -05:00
Amir Plivatsky
5aa0835649 - Added support for textarea and HTMLarea fields + i18n additional labels
(editor Save/Cancel,  YUI Datatable Loading/Error messages, and also column sort tooltips (new in YUI 29.0).
- Added CSS files for the existing two DataTable Templates.  Each file should be added to the corresponding
  template as a CSS Attachment.
- Avoid terminating the editor on Enter.
- Arrange for TAB to save and move editor for next cell also for HTMLarea editor.
- Define classes "wg-dt-textarea" and "wg-dt-htmlarea" + styling for the corresponding cells.
- Commented out handleTableKeyEvent() (reason in the code).
- Implemented a simple workaround to restore the "editor" field (not preserved due to an unknown reason).
2011-07-12 23:34:27 +03:00
Amir Plivatsky
1fd29bf2a1 Added CSS file for Edit DataTable.
For now it only contains a style to prevent empty row collapsing.
2011-07-12 22:58:45 +03:00
Amir Plivatsky
50954c333f Fixed #12191. 2011-07-12 19:47:27 +03:00
Colin Kuskie
39165c5485 Ready for 7.10.20 development. 2011-07-11 21:03:13 -07:00
Colin Kuskie
6e273059aa Preparing for 7.10.20 release. 2011-07-11 20:47:22 -07:00
Colin Kuskie
7fda01b291 Fixup of FormField macro tests and POD. 2011-07-11 17:22:25 -07:00
Colin Kuskie
9985d24ea2 make installClass read lines from preload.custom for additional directories. Fixes bug #12189 2011-07-11 15:09:21 -07:00
Colin Kuskie
9113408408 When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183 2011-07-11 15:04:54 -07:00
Colin Kuskie
a945396163 Add a requirement to check on the common::sense module for JSON::XS. Fixes bug #12135 2011-07-11 13:15:19 -07:00
Colin Kuskie
64567f9ed5 Remove test comment. 2011-07-11 13:04:37 -07:00
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