Commit graph

4358 commits

Author SHA1 Message Date
JT Smith
dfe92a73e2 preparing for 7.0.5 release
fixed some bugs
2006-08-09 16:09:17 +00:00
Roy Johnson
8576802abe Rollback 2006-08-09 13:22:34 +00:00
Roy Johnson
b7749551f8 fix - Search does only returns recent results 2006-08-09 12:53:24 +00:00
Colin Kuskie
000b2fcce3 Reverting previous work. Asset->new must return an Asset, even if
no className is passed and the invocant's class is Asset.  This is
due to the root.  In the db, the root Asset has the className WebGUI::Asset,
and the getRoot method matches this.
Changed the failing test in Asset.t to look for a WebGUI::Asset to be returned.
Added two tests to Asset.t to validate the object returned by Asset->getRoot method.
Reverted previous work and updated the POD for Asset->new.
2006-08-08 17:43:44 +00:00
JT Smith
c956ba3969 - Added an option to override the session cookie domain.
- fix: Search results not showing synopses
 - fix: Redirects get displayed inside page layouts as '0'
 - fix: Mysterious "0" Appearing When Admin Is Off
 - fix: Deletion of Products
2006-08-08 17:27:41 +00:00
Colin Kuskie
6a88fa5ca2 fix Asset.pm so that it returns undef if no valid Asset className is passed 2006-08-08 17:20:22 +00:00
JT Smith
2ea58485c9 - Added an option to override the session cookie name. 2006-08-04 15:16:18 +00:00
Len Kranendonk
6f2e0ab265 Fixed scoring sorting bugs 2006-08-04 11:06:21 +00:00
JT Smith
61b70325f2 - Added a --skipDelete option to upgrade.pl
- rfe: Approvers don't need to approve own changes
fixed a rare bug that could occur in archiving old threads
2006-08-03 19:20:55 +00:00
JT Smith
61eb59c7f8 bug fixes and new tests 2006-08-02 15:39:23 +00:00
Colin Kuskie
f5f239e577 fix typo in docs 2006-07-31 18:05:25 +00:00
Colin Kuskie
d154726bc1 Remove the use trace line from Paginator.t. It's not used.
Yet again, fix a security hole in the Include macro.  If the path used a symlink
then it would bypass one of the three security checks.
2006-07-30 18:10:31 +00:00
Colin Kuskie
84117932af add a test for the FormParam macro, and clarify in the docs that FormParam returns only the first value from a list 2006-07-29 03:31:59 +00:00
Colin Kuskie
00de81868b Two bugs in rollback.
The check for rolling back the pbversion0000000000001 tag wouldn't log any
errors because it was after the return 0 statement.

If a set of assets that were programmatically generated were rolled
back, and the assets had a parent child relationship then there's
a race condition that could cause the parent to be purged before
child.  Since purging the parent _also_ purges the child, the system
would try to purge the child twice and this causes a fatal error.
Programmatically generating the assets causes their revisionDates
to be the same, and that causes the return order of the assets to
be uncertain.

The solution is to generate the list of assets to be rolled back
by revisionDate _AND_ lineage.  This guarantees that children are
purged first.

This bug was exposed in t/Macro/RootTitle.t  However, the bug
seems to be system dependent since the revisionDate depends on how
fast the system can create assets.
2006-07-28 23:40:06 +00:00
Colin Kuskie
b2d4c36080 add Include macro test and fix Include bug 2006-07-28 16:11:47 +00:00
Colin Kuskie
23cc777add remove debugging code 2006-07-27 17:46:47 +00:00
Colin Kuskie
0d769e2e1e remove op2 code from printable macro 2006-07-27 16:49:05 +00:00
Colin Kuskie
5757842e46 Remove unused variable from r_printable.
Modify RootTitle to return root-1 instead of root.
2006-07-27 04:01:35 +00:00
JT Smith
8818309eaa - Added a forum.lastPost.user.hasRead variable to the Message Board template. 2006-07-26 22:26:19 +00:00
JT Smith
07301c12bd few more bug fixes and preparing for 7.0.3 release 2006-07-26 20:05:43 +00:00
Colin Kuskie
b3f042de84 fixing doc bug in r_printable macro docs 2006-07-26 01:37:57 +00:00
Colin Kuskie
927d097375 Fix a parsing bug in WebGUI::Operation::Shared where it would puke if
the code it was parsing had spaces after the commas.
Formatting code in EditableToggle.t
2006-07-26 01:23:30 +00:00
Colin Kuskie
271c539974 update DataForm docs. Height is only used on *areas 2006-07-26 01:15:00 +00:00
Colin Kuskie
ee59a4bade remove debugging output 2006-07-25 23:12:46 +00:00
JT Smith
75c09e4aed fixed a field ordering problem 2006-07-25 21:51:28 +00:00
JT Smith
09af3e8785 - Added "Save and Commit" option for environments where the appearance of
workflow is unwanted.
2006-07-25 21:11:14 +00:00
Colin Kuskie
f1159269a0 Macro Tests: refactored all macro tests to remove a very evil hack
for inserting macros into the config.  The new method is much cleaner
and uses the Config API.
Updated the docs for the RootTitle macro, both POD and online help.
2006-07-25 20:54:08 +00:00
JT Smith
cc61639232 - fix: Search Feature Select Box Not Working 2006-07-25 20:45:21 +00:00
JT Smith
6766c63731 - Added the arrayRef() method to WebGUI::SQL::ResultSet, which is 12% faster
than the array() method.
 - Added more tests to the test suite.
2006-07-25 17:58:54 +00:00
JT Smith
03b4b0ed33 - fix: Head Block in styles
- fix: select assetVersionTag
 - fix: Infinite recursion
 - fix: assetUiLevel override broken
 - fix: Indexing files failes (derck)
 - fix: Unable to approve New listings on Matrix
2006-07-25 17:15:57 +00:00
JT Smith
de35e950bf phone validation javascript 2006-07-25 13:36:55 +00:00
Wouter van Oijen
03e602363b XHTML compliance 2006-07-25 12:34:08 +00:00
JT Smith
c65d9490e7 - Fixed mail bounce processing.
- fix: Asset Manager displaying incorrectly
 - fix: Cannot paste from clipboard
 - Made the search indexer mor compatible with Chinese and other non-ascii
   characters. (Thanks to Zhou Xiaopeng)
2006-07-24 22:18:39 +00:00
Wouter van Oijen
f2bb859a6a oops. tab... 2006-07-24 20:30:35 +00:00
Wouter van Oijen
4e2e5e8c78 fix: Splat_random Macro not so random 2006-07-24 20:27:29 +00:00
JT Smith
f420103b2e - fix: Shopping Cart Not Working
- fix: Editing Products Template wipes out SKU
 - fix: Email to RFE List Going to Spam
 - fix: 7.0.0-7.0.1 upgrade -- op called w/o passing session
 - fix: spectre.pl daemon error
 - Changed the Spectre tests to be a seperate option on the spectre.pl command
   line, which fixed a problem with the WRE monitor, and also enabled us to
   add more complete connectivity testing.
2006-07-24 20:00:53 +00:00
Colin Kuskie
654e5751e8 Add tests for GroupDelete and GroupAdd macros.
Fix bugs exposed by the tests.
2006-07-24 19:58:50 +00:00
JT Smith
1171d11891 - Deleted a template that was accidentally added to the core.
- Made some improvements to the mail subsystems.
2006-07-24 19:15:35 +00:00
Eric Kennedy
3ebd2ef625 Revised WebGUI::HTML::filter "all" so that text does not run together when tags are removed. Added additional tests to HTML.t. 2006-07-24 17:31:57 +00:00
JT Smith
b5d749f6d2 Fixed a cross-Matrix linking problem when you have two or more Matricies on
one site with the same category names.
2006-07-24 15:58:02 +00:00
Colin Kuskie
5dbd9b44c9 Fixed a typo in the POD for Session/Env.pm
Added more docs for find method in Group.pm
Fixed a latent bug that would probably never occur in Macro/GroupAdd.pm
If Group->find is called with the name of a group that doesn't exist,
then Group will return an object with defaults, and the guid of the
group is undef, not ''.  However, since by default autoAdd is off,
the Macro will still do the right thing.
GroupDelete has the same bug, but it shouldn't be patched until there's
a test written for it.
2006-07-24 05:08:17 +00:00
Wouter van Oijen
cfea8f573a Cleaning up FileUrl macro 2006-07-23 09:14:34 +00:00
Colin Kuskie
7033959b5e Add more docs to the Splat_random macro. Change the macro to use Perl's
scaling function of rand instead of an implicit multiply.
2006-07-23 06:17:31 +00:00
Colin Kuskie
c1246444e0 add new error message to FileUrl macro 2006-07-23 01:35:20 +00:00
Colin Kuskie
0f8aca80db update height and width documentation for DataForm fields 2006-07-23 00:03:01 +00:00
Wouter van Oijen
2e7e62fa1e fix: Data Form Text Area Box Non-Existent 2006-07-22 11:17:26 +00:00
Wouter van Oijen
f325d030e9 fixed typo in template variable project.gantt.rowspan and documentation 2006-07-22 10:39:52 +00:00
JT Smith
9f3ff77dbd webgui for windows changes 2006-07-21 20:42:50 +00:00
Colin Kuskie
db204ea1d1 fix scratch->process to form->process in Affiliate.pm 2006-07-21 18:14:22 +00:00
Colin Kuskie
2b03fdc73d Add another error message to FileUrl so that it's clear that there
are no files, rather than the wrong URL.
Update Page macro docs to show it works on _any_ asset, not just Pages.
2006-07-21 16:10:11 +00:00