Doug Bell
b3ebd8301a
change attribution for bug report
2008-01-12 07:54:37 +00:00
Doug Bell
338c494d47
fix: Mails sent from WebGUI now wrap at 78 characters to prevent a problem with SMTP servers that do not accept lines longer than 998 characters. This is per the SMTP RFCs. Added testing for this fix, still much to test for WebGUI::Mail::Send. Added API method to facilitate testing.
2008-01-12 07:46:32 +00:00
Chris Nehren
1127d9dff2
Fix Freudian slip in widget entry: s/templatize/widgetize/
2008-01-11 20:42:34 +00:00
Colin Kuskie
df6f6a6f34
fix pad POD spacing in www_widgetView
2008-01-10 16:32:36 +00:00
Colin Kuskie
ecf6e51ad4
refactor PassiveProfiling into using placeholders for speedup
2008-01-10 16:25:38 +00:00
Colin Kuskie
1a6fde9d3f
Rework the PassiveProfiling test to use newly created macros.
...
Add coverage for addPage in the tests.
2008-01-09 23:29:41 +00:00
Chris Nehren
81736fb322
Add the Widget macro. This enables assets to be widgetized (easily embedded in
...
another page). Usage as such: ^Widget(assetId, width, height, templateId);
assetId is the ID of the asset to widgetize, width and height are the size of
the iframe, templateId is the template ID of the template to use for the widget
itself. This will pop up an icon that shows you some markup to put on another
page to embed the asset in widget form. If no template given, will use the
ajaxInlineView of the asset.
2008-01-09 23:24:16 +00:00
Colin Kuskie
36b622622e
resolved bug/question about assetAddPrivilege and Turn On Admin group. Fixing test
2008-01-09 17:25:16 +00:00
Graham Knop
e76a58a504
merging 7.4 changes
2008-01-09 17:22:03 +00:00
Colin Kuskie
4f6dad9bc5
remove more bad whitespace from Gallery/Utility.pm
2008-01-09 17:18:44 +00:00
Graham Knop
15b22ab4ca
Merged revisions 5264 via svnmerge from
...
https://svn.webgui.org/plainblack/branch/WebGUI_7.4
........
r5264 | graham | 2008-01-09 10:59:46 -0600 (Wed, 09 Jan 2008) | 1 line
reverting UTF-8 change
........
2008-01-09 17:16:20 +00:00
Graham Knop
d5e81e6cf4
Merged revisions 5261 via svnmerge from
...
https://svn.webgui.org/plainblack/branch/WebGUI_7.4
........
r5261 | graham | 2008-01-09 07:55:49 -0600 (Wed, 09 Jan 2008) | 1 line
fix: Calendar Edit template refers to non-existant and other unneeded javascript files
........
2008-01-09 14:00:10 +00:00
Graham Knop
71192f3c8b
Merged revisions 5259 via svnmerge from
...
https://svn.webgui.org/plainblack/branch/WebGUI_7.4
........
r5259 | graham | 2008-01-09 06:35:57 -0600 (Wed, 09 Jan 2008) | 1 line
Use UTF8 for database connection when connecting to MySQL
........
2008-01-09 12:40:54 +00:00
Graham Knop
4b561a1a63
Merged revisions 5256 via svnmerge from
...
https://svn.webgui.org/plainblack/branch/WebGUI_7.4
........
r5256 | graham | 2008-01-09 05:43:02 -0600 (Wed, 09 Jan 2008) | 1 line
fix: Tag cloud was limited to 50 least commonly used tags
........
2008-01-09 11:45:31 +00:00
Doug Bell
6fcfa3f80d
fixes for Gallery and Gallery Utility
2008-01-09 04:23:52 +00:00
Colin Kuskie
afc2db4399
beginning to write tests for PassiveProfiling. This is so I can learn how to test Asset->logView
2008-01-09 00:25:51 +00:00
Colin Kuskie
fca9e9c633
Add a method that returns the regexp used to validate generated GUIDs. This should
...
prevent the regexp from proliferating all through tests and code.
Also, add a test for the method, which just checks that it returns a regexp.
2008-01-08 20:43:39 +00:00
Doug Bell
f56c0873d8
Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous.
2008-01-07 22:38:59 +00:00
Colin Kuskie
b6324d17a5
remove whitespace interfering with POD formatting
2008-01-05 20:01:23 +00:00
Colin Kuskie
10ef562d94
refine the one newByDynamicClass test
2008-01-05 05:36:11 +00:00
Doug Bell
a6c9c2d56c
fixed Test::Maker::HTML Level. added some comments for future generations
2008-01-05 05:10:57 +00:00
Colin Kuskie
a05e90408e
convert the commented out code into TODOs
2008-01-05 05:00:27 +00:00
Colin Kuskie
ab3ebbeaab
make Maker/Permission.pm handle TODO tests
2008-01-05 05:00:09 +00:00
Colin Kuskie
c8a8af6b4a
add prototype Test code to allow Test::Maker modules to handle TODO
2008-01-05 04:19:00 +00:00
Colin Kuskie
2eb1883345
Add a stub test for newByDynamicUrl, that really should
...
have been a stub test for update.
Add tests for getNotFound, testing what is returned for both
a page and a Snippet.
2008-01-05 04:05:37 +00:00
Colin Kuskie
fc6fe216b0
Keep the session tracking, but hide it behind an environment
...
variable to keep the line noise down. Also, add user and
group tracking.
2008-01-05 02:22:05 +00:00
Chris Nehren
43bf612cdb
Add a missing \t in the output of addIsExportable.
2008-01-05 01:11:34 +00:00
Chris Nehren
1651cbd3fb
Add a check in update() for whether isExportable exists, preventing problems
...
with users upgrading from previous versions of WebGUI. Tested in an upgrade
from 7.4.0 -> SVN head (i.e., 7.5.0).
2008-01-05 00:39:14 +00:00
Doug Bell
c6106634fe
Removed old .tmpl files from upgrades. All upgrade collateral must now be in .wgpkg packages
2008-01-04 20:53:06 +00:00
JT Smith
c6660242de
converted to use WebGUI::Pluggable
2008-01-04 20:09:36 +00:00
JT Smith
3f62be51ec
migrated forms system to use WebGUI::Pluggable
2008-01-04 19:57:54 +00:00
JT Smith
1b4022205a
converted workflow system to use WebGUI::Pluggable
2008-01-04 19:15:13 +00:00
Doug Bell
0e55ec42cd
Added migration utility for Gallery
2008-01-04 06:23:38 +00:00
JT Smith
07646144cb
converted WebGUI::Operation to use WebGUI::Pluggable
2008-01-04 01:24:42 +00:00
JT Smith
1066bb4dba
switched macro system to use WebGUI::Pluggable
2008-01-04 01:06:54 +00:00
Colin Kuskie
058a6353a1
AssetTrash bugfix exposes bad test code. There's no need to
...
purge when you can roll back a commit container asset like the CS.
2008-01-03 21:37:36 +00:00
Colin Kuskie
b309d108dc
Clean up all temporary session info in Session/Scratch.t
...
Add a preliminary run of DeleteExpiredSessions to DeleteExpiredSessions.t
to clean up any old, funky sessions which might just be lying around
and interfering with the test.
2008-01-03 18:37:34 +00:00
Colin Kuskie
047b0c5d3e
update plan and invert test for new default for isExportable
2008-01-03 00:23:16 +00:00
Colin Kuskie
a1fc60d984
reorder upgrade steps so that addIsExportable happens before we try to update the templates
2008-01-03 00:17:47 +00:00
Chris Nehren
f6f20d27d6
Maintain status quo and keep the default of exporting all assets.
2008-01-02 23:01:16 +00:00
Chris Nehren
7accc3c57f
Add fine-grained export controls. You can now specify whether you want specific
...
assets to be exportable. If any of an asset's parents aren't exportable, that
asset also won't be exportable.
2008-01-02 22:32:40 +00:00
Graham Knop
ba44d57e9f
Merged revisions 5224 via svnmerge from
...
https://svn.webgui.org/plainblack/branch/WebGUI_7.4
........
r5224 | graham | 2008-01-02 16:18:53 -0600 (Wed, 02 Jan 2008) | 1 line
fix: Assets with no committed versions may be left as orphans when parent is purged
........
2008-01-02 22:26:42 +00:00
Colin Kuskie
8b71032a98
add more diagnostics to help find the leaking session. These will be removed or hidden behind conditionals later
2008-01-02 21:08:48 +00:00
Colin Kuskie
3a33baee4e
Cover several other small utility routines. More getNotFound
...
tests need to be written.
2008-01-02 02:27:25 +00:00
Colin Kuskie
fb54ca2a1c
Coverage tests for assetExists.
2008-01-01 21:35:19 +00:00
Colin Kuskie
33c4cd833b
Add the failing test for assetAddPrivileges back in, but don't run it.
...
Add tests for assetUiLevel and getUiLevel.
2008-01-01 19:38:34 +00:00
Colin Kuskie
280cc48094
tests for getToolbarState, toggleToolbar and getUiLevel
2008-01-01 04:09:35 +00:00
Colin Kuskie
7299ba8f7e
add tests for getTitle and getMenuTitle
2008-01-01 03:07:49 +00:00
Colin Kuskie
01577051cd
re test #6 . Making the hash ref a bag causes an automatic mismatch and interferes with
...
test diagnostics.
Test fails due to a mismatch in the assetSize param in the first (and probably further)
entry of the loop. Marked as TODO.
2007-12-31 21:25:35 +00:00
Colin Kuskie
ea10fc3047
Add tests for getName. Note that the coverage tests said this
...
was already covered, even though there were no direct tests for
it. This is because it's called by other methods.
2007-12-31 05:21:00 +00:00