Commit graph

6211 commits

Author SHA1 Message Date
Drake
f28d7e8b2d Fix bug with Matrix listing additions committing the current
working tag.  This creates a separate tag for the assets under each
added listing, modeled somewhat after how CS posts work.
2006-10-04 23:20:39 +00:00
Drake
46665266f1 Fix transposition of mysql and mysqldump in upgrade.pl help. 2006-10-04 22:45:43 +00:00
Colin Kuskie
b62247735f tests for Style/setLink and generateAdditionalHeadTags 2006-10-04 22:09:01 +00:00
Roy Johnson
76cbdc4f51 Finished up the 7.0.9 release. Ready for 7.0.10 dev. 2006-10-04 20:51:25 +00:00
Roy Johnson
50cf277cbd Preparing for 7.0.9 release 2006-10-04 19:22:08 +00:00
Roy Johnson
518c76c6f1 A new test. It's currently failing but I'm not really sure why. It could be a bug but I think I'm testing this wrong. 2006-10-04 19:04:28 +00:00
Drake
b99833a9cd Make behavior of SyncProfilesToLdap somewhat saner: iterate
over the users sorted by connection and then by userId, so
that we don't connect once to the LDAP server for each user(!),
and also use the LDAP link properly rather than rolling our own
anonymous bind.
2006-10-04 18:01:28 +00:00
Colin Kuskie
cd6caa0a8c fix project management template var and removed english text prepended to id 2006-10-04 16:43:37 +00:00
Roy Johnson
030b9043ff This is actually a better fix 2006-10-04 15:16:04 +00:00
Roy Johnson
dba346de69 fix - Shortcut causes endless loop 2006-10-04 15:10:40 +00:00
Colin Kuskie
ff2344cdad Added comments to the POD in Var.pm that creating a Var object overwrites
the Session Id.  This is by design.

Added a check to Style.pm so that if no params are passed to setLink that
it won't die by trying to deref undef into a hashref.

First set of tests for Session/Style added.
2006-10-03 23:27:08 +00:00
Drake
fd44b5d96e Tweak condition, possibly fixing a bug with resource display
in the Project Management asset.
2006-10-03 22:21:04 +00:00
Drake
2a7de10ab3 Fix onchange into onclick for radio buttons in task editor, and fix
erroneous doubled variable selected in query that was probably what
was causing times to show up as well as dates on some systems.
2006-10-03 21:55:58 +00:00
Drake
b8f173fefe Add progressive tasks to the Task Manager; these are distinct from the
existing timed tasks and milestones in that they have a duration that
increases based on the amount of time tracked for them, and no set
completion time.  Nearby minor fixes.
2006-10-02 22:33:00 +00:00
JT Smith
51280b0b38 Rearranged the autotag name creation to be easier to read. 2006-10-02 17:29:00 +00:00
Colin Kuskie
f5aaa2e996 Additional tests to cover WebGUI::Session::Scratch.
Found and fixed a but in Session/Scratch/deleteNameByValue.  It would
not delete any value that was false (0, '' or undef).  Added a defined-ness
check to make sure it will delete 0 or '', but undef is still not handled.
Added POD to say that this was the case.
2006-10-01 21:49:05 +00:00
Colin Kuskie
fc11dd64b2 add tests that check the return value of several methods. Also added tests to increase test coverage 2006-09-30 23:52:58 +00:00
JT Smith
e22c679421 - Removed the need for DateTime::Cron::Simple, which also added the ability
to use ! < and > in schedules.
2006-09-30 19:29:47 +00:00
Colin Kuskie
d995ff09fe Fixed a bug with WebGUI::Session::Url::page where, if preventProxyCache
was enabled a noCache param was always added to the URL.  In some
cases it would add 2 noCache params.

To fix this, I added a skipPreventProxyCache param to the gateway method,
and page just passes $pairs and $skipPreventProxyCache to gateway.

Added tests to Url.t to test gateway, page, makeAbsolute and urlize
to bring its coverage up to 100%.

Added tests to Stow.t to bring it's coverage up to 100% as well.
2006-09-30 17:23:44 +00:00
Colin Kuskie
b1a5c46fcb add 6 more tests for page and clean up the POD 2006-09-29 22:51:18 +00:00
Drake
066dbab461 Make Project Management asset task editor default start date of task
to start date of project.
2006-09-29 17:54:05 +00:00
Colin Kuskie
053a0b4cfe fix errors in pod for www_setScratch 2006-09-29 17:44:40 +00:00
Martin Kamerbeek
9096e6f9fe Fixed some bugs and refactored some parts of the SQLForm. 2006-09-29 13:16:11 +00:00
Colin Kuskie
2d2b780ed6 More comments and POD for Session/Url.pm.
Tests for escape, unescape, extras methods.  Test code is big enough 
that I've added section delimiting comments.  This has helped make
the code a lot more readable.
2006-09-29 03:32:24 +00:00
Colin Kuskie
8174f9d2b4 More tests for WebGUI::Session::Url::getSiteUrl, which now has 100% test coverage.
Refactored getSiteUrl so it is very obvious as to how it works, replacing
code that was hard to cover.
2006-09-29 02:30:54 +00:00
Drake
c71a1ac5ee Refactor getEditForm override back into definition clauses for Collaboration
asset.  Should still do this for the remaining assets that no longer need
getEditForm overrides with the existence of autoGenerateForms in definition.
2006-09-29 01:50:58 +00:00
Drake
da1a49f183 Improve robustness of Stock Data asset on erroneous or absent
data, and add a timeout.  Associated refactoring.
2006-09-29 00:18:43 +00:00
Colin Kuskie
71b7032545 more Session::Url tests 2006-09-28 23:41:26 +00:00
Drake
7c31a532c9 Remove extraneous discussion template vars from Default Article template. 2006-09-28 02:08:04 +00:00
Drake
e8fd02ca9e Fix HTTP Proxy asset file uploads. 2006-09-28 01:49:12 +00:00
Drake
bb360794c1 Partially fix sending of invalid Message-ID headers from post notifications.
Associated refactoring.  The actual determination of the Message-ID still
needs some work, though.
2006-09-27 23:59:00 +00:00
JT Smith
a58d109b01 fixed a problem with multistage upgrades and the search bug 2006-09-27 22:54:11 +00:00
JT Smith
68d63c7e0a preparing for 7.0.8 release 2006-09-27 21:28:55 +00:00
JT Smith
f8d22359d5 Images now create revisions as you resize them, so you can roll back to a
previous size.
adjusted roy's test because it's not accurate
2006-09-27 21:19:19 +00:00
Drake
057d743dfb Fix problem with attachment section of post form miscalculating
the number of new attachments uploadable.
2006-09-27 02:00:49 +00:00
Drake
d428c0a0bc Clean up and refactor Default Thread template, per bug
"typo + obsolete approve section in flat part of CS Default Thread template".
2006-09-27 00:06:16 +00:00
JT Smith
58b3128a3a Fixed the search function that broke in 7.0.7.
also fixed a user profile problemm
2006-09-26 20:34:59 +00:00
Roy Johnson
41bd19736c New test for Article Wobject 2006-09-26 18:38:31 +00:00
Roy Johnson
e05962ff09 forgot changelog entry 2006-09-26 17:05:36 +00:00
Roy Johnson
efebe33ecf fix - File upload (document HTTP filesize upload restrictions) 2006-09-26 17:04:08 +00:00
Drake
dbc34c6270 Apply slightly modified versions of DBell's patches for:
- admin bar causing pages to extend forever
  - changing asset URL returning to old URL rather than new
  - performance indicators interfering with non-HTML data
2006-09-26 04:59:15 +00:00
Drake
4f7a3bf490 Fix bad interaction between WebGUI::Asset->new() and caching mechanism. 2006-09-26 04:08:16 +00:00
Drake
1dd24dd6b7 Refactor duplicated asset export code. Fix asset context error
in the process, which should in turn fix a few related bugs
with static export.
2006-09-25 21:36:56 +00:00
Drake
8ffc2f57c2 Fix erroneous instances of printf into sprintf in AssetExportHtml.pm.
Remove extraneous error text from some internationalization files.
2006-09-25 19:11:05 +00:00
Colin Kuskie
86a5cb9128 Fix the same problem with form params in getRequestedUrl as in
getRefererUrl and add tests to detect it.
2006-09-25 04:47:05 +00:00
Colin Kuskie
eea7b941c9 A few more tests to kick coverage up to 100 on WebGUI::Session::Setting
Convert it to use placeholders as well.
More WebGUI::Session::Url tests, and some bug fixes:
	getRefererUrl returned parameters and accepted weird methods that
	looked like http but weren't.
2006-09-25 03:49:25 +00:00
Colin Kuskie
00e37ae971 finalized Var test with 100% coverage 2006-09-23 02:49:37 +00:00
Drake
b196473eaf Make WeatherData use basename for alt text of icons, rather than full URL.
Also change the if/if/if linear-search lookup that it was using to a hash.
2006-09-23 02:33:57 +00:00
Drake
3bf49188e9 Have 7.0.8 upgrade script fix the MIME type of the robots.txt snippet. 2006-09-23 01:43:51 +00:00
Drake
c438d55310 Normalized signature of Asset::duplicate. This involved going through
existing overrides and callers for that method and making sure they followed
the correct signature.  Various related cleanups.

This should fix those bugs with collaboration systems refusing to be copied
or deployed as packages.
2006-09-23 01:33:46 +00:00