JT Smith
ef120fb06b
Added isVisitor, isAdmin, and isRegistered methods to User object instead
...
of hard coding checks everywhere with group ids. And updated the code base
to match.
2008-09-16 22:32:36 +00:00
JT Smith
6e04c4b705
rfe: choice of type of redirect on redirect assets
2008-09-16 17:51:15 +00:00
JT Smith
d18f081683
Made the charset metatag the highest thing in the head block.
2008-09-15 15:08:40 +00:00
Colin Kuskie
4508fcd1af
updating POD for Session/Url to talk about gateway URL
2008-09-04 20:26:57 +00:00
Graham Knop
3f4de3612f
fixed: DataForm doesn't work properly with internationalized fields
...
fixed: incoming data not properly decoded from utf8
2008-08-22 21:23:40 +00:00
Graham Knop
00fcdf40df
improved debug messages for sql queries
2008-08-19 17:36:02 +00:00
Graham Knop
90983496ca
don't remove the included js and css lists after generating headers, prevents later code from generating them again
2008-08-11 21:52:04 +00:00
Graham Knop
a01f5dce37
don't dual check for form parameters
2008-08-07 22:55:26 +00:00
Colin Kuskie
19987b53b4
Fix Stow to always return safe copies of stowed data.
...
And test it.
2008-08-02 22:47:15 +00:00
Colin Kuskie
6db3fc1005
forceSecureConnection: grab a url object and use it directly.
2008-07-26 02:09:09 +00:00
Colin Kuskie
5e4e31380f
Add a method to directly set the redirect location.
2008-07-26 02:07:31 +00:00
Colin Kuskie
59cc690859
fix a syntax error in Session/Url.pm
2008-07-25 17:39:29 +00:00
Kaleb Murphy
46562e9e8f
Session/Url forceSecureConnection regex fix.
2008-07-25 16:48:21 +00:00
Graham Knop
315e47781e
fixed: User is logged out if a fatal error occurs
...
error reporting and debug cleanups
2008-07-25 04:03:30 +00:00
Kaleb Murphy
eff953b5ed
Cart now redirects to ssl if the site is ssl enabled.
2008-07-24 19:56:54 +00:00
Colin Kuskie
026e77663e
fix Log::Log4perl line reporting
2008-07-24 16:38:28 +00:00
Colin Kuskie
fba93ebcbe
bugfix: more debug output when style cannot instance your template
2008-06-11 02:38:34 +00:00
Graham Knop
5df58ac79f
fixed: international characters corrupted in titles
2008-04-09 22:27:41 +00:00
Graham Knop
9ed284beec
use UTF8 JSON encoding and decoding universally
...
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
Colin Kuskie
39f1a3da3c
forward port slash handling fix from 7.4 branch
2008-02-14 23:51:17 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
JT Smith
34fd8c9245
updated webgui to run with Config::JSON 2.04
2008-01-25 05:10:33 +00:00
JT Smith
fa09c41598
replaced return; with return undef;
2008-01-24 21:58:15 +00:00
Graham Knop
1149fd54ed
merging 7.4 changes
2008-01-23 23:48:35 +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
Colin Kuskie
afcc90b130
Documented a regexp in Session/Url.pm
...
Add passthruUrls to the list of URLs that are changed by fixUrl.
Wrote a bunch of POD for fixUrl
Changed the regular expressions related to badUrl so they don't need to copy the data. This
will speed them up.
Fixed a bug where trailing slashes would defeat the badUrl check.
Re-indented according to WGBP.
Added tests to cover all of the changes.
2007-12-11 22:51:31 +00:00
Colin Kuskie
96178fd70c
first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
2007-12-05 00:30:43 +00:00
Colin Kuskie
72906e27fb
fixing handling of http:// calls in the Extras URL
2007-12-04 21:25:32 +00:00
Colin Kuskie
6b9272984c
Previous conditional will always cover this case. If true, then
...
$self is returned. If false, then previous conditional is ignored,
and this line is also ignored.
Removing dead code.
2007-11-26 05:26:18 +00:00
Colin Kuskie
256b52a0d7
Final state and status fixes.
...
In these three files, any check for status=archived was removed, since
in each case it is possible that the Asset may want to be viewable
when it is archived, like Files, Posts, etc.
Updated Session/Url.t to remove tests for status=archived.
2007-11-22 18:46:17 +00:00
Colin Kuskie
f3b7b1bf8e
Start adding coverage to the getBackToSiteURL method.
...
Remove the old commented out MockObject request code. It's PseudoRequest or bust.
WGBP indent some of the Session/Url methods.
2007-11-09 21:23:00 +00:00
Colin Kuskie
45eb45fa3e
fix a session bug where, when using noFuss, user session scratch was not cleaned up
2007-11-02 17:50:19 +00:00
Colin Kuskie
0fa154d84f
Add a missing use line in Session/Privilege.pm.
...
Try to completely clean up all session related stuff from each test.
2007-11-02 03:57:00 +00:00
JT Smith
0993cba3e9
Cache & If-Modified-Since
2007-09-07 17:55:34 +00:00
Graham Knop
fff821d6e5
fix monthStartEnd function
2007-09-07 14:20:55 +00:00
JT Smith
eb93e97a93
All toolbar icons now have a class called "toolbarIcon" so they can be
...
styled by external CSS.
2007-08-31 21:35:37 +00:00
JT Smith
2c1f56a009
- rfe: Admin bar doesn't resize with the browser
...
- fix: Left Admin Bar overlap problem
2007-07-26 23:05:22 +00:00
JT Smith
2082506efb
Added Site Starter to WebGUI Initial Configuration.
2007-07-23 19:44:05 +00:00
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
Colin Kuskie
21c4fcb75f
This patch adds user invitations, a way for existing users on a site
...
to send an email to their friends and invite them to create an account
on the site. The feature is enabled or disabled in the site Settings.
(Operation/Settings.pm)
It is implemented as a new operation, Invite (Operation/Invite.pm,
Help/Invite.pm, i18n/English/Invite.pm), and the option is displayed
as an option on the user's account screen. (Operation/Shared.pm).
The form is templated, and lives in the Invite namespace. Once
the invitation is submitted, if the user's email address is not
already in WebGUI, an email is sent and a record is stored in
the userInvitations table.
When the friend gets the invitation, they are taken to the account
creation screen, which conveniently has their email address already
filled in. This required changes in the Auth modules (Auth.pm, Auth/*.pm),
and ProfileField.pm. The latter was so that profile fields can have
their values manually set. The former changes handle inserting the
email address, bypassing the anonymous registration check, and
updating the record in ther userInvitations table.
I refactored some code out of the AdminConsole for finding the url
back to the site and added it to Session/Url.pm. The method is
called getBackToSiteUrl.
2007-06-10 16:38:43 +00:00
James Tolley
c09b2cae1b
EMS import/export, Form::*::getValueFromPost(alt_values), and tests
2007-05-29 23:39:24 +00:00
Colin Kuskie
89d48adad2
add missing docs for workflow activity
2007-05-23 17:27:18 +00:00
Frank Dillon
9a8207fee0
Fixed bugs in storage causing multiple storage locations to be created any time a file was created or updated. Fixed a bug which prevents files from potentially breaking on operating systems that are not case sensitive.
2007-05-04 19:19:01 +00:00
Colin Kuskie
38060cc0cb
add another privilege method for handling locked assets
2007-04-27 22:20:27 +00:00
Yung Han Khoe
4112758902
Url's in rss feed don't use http_host because http_host includes port and sitenames in conf don't.
2007-04-25 16:20:45 +00:00
Colin Kuskie
76bf1b2ad5
testing for DateTime methods for interval translation and date math. Reformatted some of Session/DateTime for WGBP
2007-04-10 04:51:48 +00:00
Colin Kuskie
4cc810faf3
Added tests for mailToEpoch.
...
Removed the default setting for mailToEpoch that would have assigned
the epoch to the mail field and automatically caused the method
to fail, returning undef.
2007-04-09 18:01:26 +00:00
Colin Kuskie
1a615f8ad8
replaced a literal loop with isIn, WGBP indented 1 line of Group.pm
2007-04-08 05:07:26 +00:00
Colin Kuskie
88a08fd228
getMimeType returns that string as a default, so the OR will never
...
be triggered.
2007-04-06 04:59:13 +00:00
Nik Ogura
6d79679194
fixed type in pod
2007-04-01 04:01:52 +00:00