Commit graph

25 commits

Author SHA1 Message Date
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
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
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
JT Smith
90cb569bb5 - fix: deleting workflows did not delete related instances and crons
- Added a "run" link to the scheduler and the running workflows listings to
   aid in debugging workflow errors.
 - fix: profile fields not validated by WebGUI::User
2006-09-15 06:08:30 +00:00
JT Smith
ce50d2808b - fix: Uncommitted, new Assets BREAK Navigations
- fix: I get on the chewed page
 - fix: Bug in updateMetaData function in AssetMetaData.pm
 - fix: Problems with In/Out Board
 - fix: Alternate Apache Port breaks "Commit with Approval"
 - Rearranged the "Getting Started" page in the default content to make it
   easier to follow for noobs.
2006-06-12 19:41:09 +00:00
Wouter van Oijen
e81ce2759a Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
JT Smith
a0120fa868 fixed a bug with url procesisng
added steves new images
2006-04-29 18:40:27 +00:00
JT Smith
8bace2e619 fix [ 1344318 ] utf8 support for uri_escape/URL::Escape 2006-04-28 21:11:59 +00:00
JT Smith
2f24cd3f3c [ 1475220 ] some 6.99 templates have double slashes 2006-04-28 16:59:32 +00:00
JT Smith
7fcfb11f20 made the file and image form fields better, but still have some work to do
began converting the article to have it's own attachments, but still have some work to do
2006-04-16 01:10:34 +00:00
JT Smith
29bd26a975 - Added a wiki-like feature that will automatically bring a user to the
create a page form if they are in admin mode, and click on a link to
   a page that doesn't exist yet.
2006-03-25 21:39:15 +00:00
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Matthew Wilson
3c66a9105f lots of DESTROYs 2006-01-14 22:26:48 +00:00
JT Smith
297b9f8487 more session related bug fixes 2006-01-13 22:23:24 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
9520b4ce48 migrating datetime api for session 2006-01-10 17:06:41 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
JT Smith
de50e9b49c more session mods 2006-01-01 06:44:09 +00:00
JT Smith
d4b7f2ce59 first round of changes for the new session system 2005-12-31 21:54:06 +00:00
Renamed from lib/WebGUI/URL.pm (Browse further)