Commit graph

1041 commits

Author SHA1 Message Date
colin
a117901df5 Clone the tinyMCE config to prevent referenced data from changing during init. Fixes #12461 2015-12-08 10:39:38 -08:00
Colin Kuskie
59ce3b3fd6 Upgrade YUI to 2.9.0 2012-10-24 10:40:52 -07:00
Colin Kuskie
3cfc42d38f Update TinyMCE to 3.5.6 2012-08-30 16:00:42 -07:00
Colin Kuskie
9ba3022b5b Preparing for 7.10.24 release. 2012-01-16 20:56:42 -08:00
Colin Kuskie
fabf59fa54 Remove YUI tests (with and without PHP) from git repo. Fixes RFE #12315. 2012-01-12 15:40:25 -08:00
Colin Kuskie
63c31404c2 Allow a redirect to be sent to the user that cannot be calculated when creating the Fork object. This is useful for Forks that build files to be downloaded. 2011-10-15 13:53:33 -07:00
Colin Kuskie
b6f3778cff Preparing for 7.10.22 release (stable) 2011-08-16 18:04:25 -07:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07: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
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
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
khenn
97ec859653 Localized a global variable which interferes with other third party js packages. 2011-06-26 12:06:45 -05:00
Paul Driver
1ff1ffe423 rfe #12159: Asset Manager sort preferences 2011-06-13 13:25:01 -05:00
Paul Driver
9dd8658ceb fixed #12156: Asset Manager performance 2011-06-10 14:17:04 -05:00
Chris Hanson
75c86a68f5 Map: moved point at which hideLoading occurs to avoid potential bug. 2011-05-17 17:06:54 -05:00
Colin Kuskie
61534779d5 Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. 2011-05-02 13:49:18 -07:00
Colin Kuskie
ef08d0d481 i18n the controls for the JsonTable form plugin. Fixes bug #12116 2011-04-21 19:54:18 -07:00
Colin Kuskie
38de00f931 Upgrade TinyMCE to 3.4.2, fixes bugs 11955, 11992 2011-04-11 15:05:42 -07:00
Colin Kuskie
faddfc5d8a Cleanup loose file leftover from the TimeField form plugin rewrite. 2011-04-11 13:15:56 -07:00
Chris Hanson
bc00c4b6e0 fixed #12056: Adding a Thing always creates a table 2011-04-07 14:07:58 -05:00
Colin Kuskie
e3ec56c3c1 Allow users to enter in mixed text and macros in URLs inside TinyMCE. Fixes bug #12094. 2011-04-05 13:14:18 -07:00
Colin Kuskie
606c1d2e47 Ready for 7.10.13 release. 2011-04-04 20:29:35 -07:00
Colin Kuskie
a7b1c5778d Revert "Fix for UTF8 URLs in static JS files. Next, all templated/snippet based JS has to be reviewed. Partial fix for bug#12065"
This reverts commit 25fe87db19.
2011-03-30 11:28:45 -07:00
Colin Kuskie
25fe87db19 Fix for UTF8 URLs in static JS files. Next, all templated/snippet based JS has to be reviewed. Partial fix for bug#12065 2011-03-28 12:39:31 -07:00
Chris Hanson
73ff2b839d Corrected minor javascript bug in template preview: "k is not a function" 2011-03-22 18:08:57 -05:00
Doug Bell
5f090fe69c fix 12077 Carousel update not possible
We have to make sure the TinyMCE updates the underlying
textarea before we grab the text from it
2011-03-21 19:26:36 -05:00
Colin Kuskie
d927f279cb Code cleanup for groupManager JS 2011-03-14 16:29:34 -07:00
Colin Kuskie
038001fb41 Remove dead code that used to be for the CodeArea. 2011-03-14 15:37:14 -07:00
Colin Kuskie
88797c1d6c Add Asset Dashlets to Dashboard. Add required and static properties to Dashboard Assets. Add caching to StockData and WeatherData assets. Add LastModifiedBy macro. Add GroupManager to the Group form control. 2011-03-09 21:33:44 -08:00
root
d72d36986b Removed the ugly time setting pop-up and replaced it with clean JS. Fixes bug #12061 2011-03-03 15:50:58 -06:00
Colin Kuskie
cf72a9fc94 Preparing for 7.10.9 release. 2011-02-07 20:45:01 -08:00
Colin Kuskie
889b2bc2fd Refix the Friend Manager pagination. Fixes bug #11965 2011-01-17 11:59:54 -08:00
Paul Driver
28f4b1b4d2 rfe #10521: Use monospaced font in template edit textarea 2011-01-10 12:31:15 -06:00
Paul Driver
b3a1e6cfa3 IE fixes for preview, modal dialog instead of popup window 2011-01-05 16:32:33 -06:00
Paul Driver
cdda6235d7 jslinting the preview js 2011-01-05 12:47:38 -06:00
Paul Driver
9f9cac02fe whoops, forgot the js 2011-01-05 12:43:41 -06:00
Colin Kuskie
b49c500701 Bad copy/paste on ajax error message. 2010-12-13 09:03:32 -08:00
Doug Bell
0a32122643 Merge branch 'carousel'
Conflicts:
	lib/WebGUI/Asset/RichEdit.pm
2010-12-07 17:23:10 -06:00
Paul Driver
b219324fc1 fixed #11978: Pasting links into TinyMCE 2010-11-29 15:54:07 -05:00
Colin Kuskie
19b901f2ad Preparing for 7.10.5 release 2010-11-16 20:27:56 -08:00
Paul Driver
7219e21f86 Merge branch 'fork' 2010-11-01 08:20:38 -05:00
Colin Kuskie
3a9d87cfa2 Remove duplicate error checking code. 2010-10-28 13:42:55 -07:00
Colin Kuskie
8c8d1694df Install patched SWF files for chart, uploader and swfstore. 2010-10-26 17:56:47 -07:00
Paul Driver
2a598ce18b Whoops, forgot to commit these. 2010-10-07 09:02:58 -07:00
Colin Kuskie
f883d8b35f Remove the YUI based code editor from WebGUI, and replace it with a textarea. Fixes bug #1618, and others. 2010-10-05 14:44:53 -07:00
Arjan Widlak
b10be67044 added links to the source of the ukplayer in extras/ukplayer/readme.txt as well 2010-09-24 18:51:57 +02:00
Arjan Widlak
8aea44334b Recommitted the ukplayer. Licence information in extras/ukplayer/licence.txt 2010-09-24 15:52:13 +02:00