Patrick Donelan
2dd18be4be
Fixes #11485 - RedirectAfterLoginUrl Setting should not override returnUrl and redirectAfterLogin scratch
...
The redirectAfterLogin Setting works better if it is checked after
$self->session->form->get('returnUrl')
and
$self->session->scratch->get("redirectAfterLogin")
in WebGUI::Auth::login.
This is so that the redirectAfterLogin scratch variable and returnUrl form param get a chance to redirect
Visitors to the appropriate page after being shown an intermediate login form.
2010-03-22 16:02:06 -04:00
Colin Kuskie
1c949b1922
Fix bad hoverHelp for "can edit posts" group.
2010-03-22 11:51:34 -07:00
Colin Kuskie
d6f61c07d1
Make the Deactivate account template user selectable for both LDAP and WebGUI. Fixes bug #11482
2010-03-22 10:43:29 -07:00
Colin Kuskie
c0206e61f5
Fix more thread search pagination issues.
2010-03-20 21:48:09 -07:00
Graham Knop
261c8b30da
fix wikipage permissions test, eliminating session cloning
2010-03-19 18:22:08 -05:00
Graham Knop
e0f55e7e5e
change encode check for newer URI::Escape versions
2010-03-19 18:22:08 -05:00
Graham Knop
9abeae359a
skip ideogram tests if mysql is configured badly
2010-03-19 18:22:08 -05:00
Colin Kuskie
81ffc16f63
remove unneeded testing module
2010-03-19 15:43:48 -07:00
Colin Kuskie
a874b0201e
Add a test to make sure every property has a table defined in it. If you need an attribute without a table, use has.
2010-03-19 14:48:55 -07:00
Colin Kuskie
e2033afbac
Fix a typo in Subscribable Role.
2010-03-19 14:42:16 -07:00
Colin Kuskie
b04651ecc8
No comments table in the WikiMaster.
2010-03-19 14:33:51 -07:00
Colin Kuskie
88ec09d279
rework how validParent works, and where it is checked. Add an explicit check for it in addChild, and remove a bunch of overridden addChild methods.
2010-03-19 14:31:49 -07:00
Graham Knop
d1690ccd25
only show debug in verbose testing
2010-03-19 15:48:32 -05:00
Graham Knop
9edfda6491
remove debug code
2010-03-19 15:48:32 -05:00
Graham Knop
524a2608a8
be compatible with newer DateTime::Locale
2010-03-19 15:48:31 -05:00
Colin Kuskie
a8496c4d15
Convert Comments role to use Types. Build a test for it.
2010-03-18 15:06:17 -07:00
Colin Kuskie
1363a8627a
Serialize _to_ json in write.
2010-03-18 15:05:19 -07:00
Colin Kuskie
d3f139d43c
Test WebGUI::Types
2010-03-18 14:46:32 -07:00
Colin Kuskie
b41338cef5
Pull types into its own file.
2010-03-18 14:46:13 -07:00
Colin Kuskie
a92a50046e
Add a file to hold WebGUI types for Moose. Note, reads from the db come back as undef, so it has to be explicitly coerced.
2010-03-18 14:44:52 -07:00
Colin Kuskie
bc466ab74f
Add a validParent check to Post.
2010-03-18 12:40:47 -07:00
Colin Kuskie
a3f58bd841
Remove override of addChild in Post, since the same check is done via www_add/canAdd/validParent.
2010-03-18 12:38:31 -07:00
Colin Kuskie
b0cad3b155
Remove get and update overrides in Asset::Role::Comments
2010-03-18 09:10:45 -07:00
Colin Kuskie
e076ecbfe2
Add tests for traits and coercion for JSON in the db.
2010-03-18 09:00:21 -07:00
Colin Kuskie
e77b2b9722
Swap out Net::Subnets for Net::CIDR::Lite in PerformanceProfiler.
2010-03-17 13:25:27 -07:00
Colin Kuskie
570cdfd9f5
Always skip the autocommit. Did this in response to an unrepeatable test failure.
2010-03-16 18:53:40 -07:00
Colin Kuskie
a7b4fbc0ed
Fix thread search URLs when threads are archived, or trashed. Location in the pagination is now found by interrupted linear search.
2010-03-16 18:29:09 -07:00
Colin Kuskie
90cd1ac257
change connect to connection in the edit survey template.
2010-03-16 13:37:40 -07:00
Colin Kuskie
f8dba07d52
Remove debug code from FilePump.
2010-03-16 12:26:39 -07:00
Colin Kuskie
9810b57f40
Fix double slash removal in FilePump macro. Fixes bug #11478 .
2010-03-16 12:07:25 -07:00
Graham Knop
1919973f2b
fixed: Unable to add threads with permission to edit CS but not in post group
2010-03-16 13:20:41 -05:00
Colin Kuskie
fb14f13a4b
Add labels to the Layout templates so they show up in Shortcut overrides. Fixes bug #11476 .
2010-03-16 11:04:44 -07:00
Colin Kuskie
16a2e4e398
Fix some more surve JS i18n.
2010-03-15 14:20:52 -07:00
Colin Kuskie
0a005834b8
Force inheritPermissionsFromParent to work in all import scenarios. Also, fix handling of clearPackageFlag and setDefaultTemplate.
2010-03-15 11:22:08 -07:00
Colin Kuskie
5869cfe903
Proper bug annotation.
2010-03-15 10:25:53 -07:00
Colin Kuskie
4fa04a2636
Fix CSS and HTML errors in the Event Edit template. Fixes bug #11471 .
2010-03-15 10:24:35 -07:00
Colin Kuskie
c4b3e1e758
Add the calendar month template variables. Fixes bug #11472 .
2010-03-15 09:43:28 -07:00
Colin Kuskie
ce08b3d4f8
Fix a syntax error in the wobject i18n file.
2010-03-15 09:20:57 -07:00
Colin Kuskie
ae315972ea
Forgot the custom test subclass.
2010-03-14 09:04:05 -07:00
Colin Kuskie
3a2f94f1b3
Test for some Sku's.
2010-03-13 20:27:20 -08:00
Colin Kuskie
d4eae41ba8
Add a test for Photo
2010-03-13 20:23:12 -08:00
Colin Kuskie
41fffbaf37
Remove FindBin from test class sub-modules.
2010-03-13 20:06:15 -08:00
Colin Kuskie
790ccbe046
Fix script to work and load the utility test module.
2010-03-13 20:05:57 -08:00
Colin Kuskie
20507ee883
Calculate class to load. Remove class method from each test file. Fix typos.
2010-03-13 19:17:13 -08:00
Colin Kuskie
f7589e6237
Refactoring to remove putting className into each test class. WIP.
2010-03-12 10:30:29 -08:00
Colin Kuskie
85121c586c
Move Test::Asset* to Test::WebGUI::Asset*
2010-03-12 09:00:20 -08:00
Colin Kuskie
f56523cf33
add lastUpdated stamp for mobile style labels.
2010-03-12 08:56:02 -08:00
Colin Kuskie
2997471b5f
fix assetName calls for Asset and Wobject.
2010-03-12 08:55:07 -08:00
Colin Kuskie
8209de7978
Add tests for most other wobjects. Block broken code in Role/Asset/Comments. Refactor run_asset.t
2010-03-12 08:41:04 -08:00
Colin Kuskie
e0e71a5925
Add Navigation, Poll, ProjectManager to run script.
2010-03-12 08:16:42 -08:00