Commit graph

4639 commits

Author SHA1 Message Date
Colin Kuskie
22839c8de3 removal of more debug 2006-11-26 05:46:52 +00:00
Colin Kuskie
53f4b076e1 remove debug code 2006-11-26 04:07:57 +00:00
Colin Kuskie
85eb6ddbeb Added setNamespace and getNamespace methods to WebGUI::International.
Added a baseline test for WebGUI::International which also tests the new methods.
Fixed codespace caching in WebGUI::Operation::Help.  Codespace caching is
done via symbol table lookups, and it saves doing an eval.
Implemented the same type of caching in WebGUI::International.  This replaced
the in-memory cache which would slowly accumulate a complete copy of the
i18n entries as they were fetched.
2006-11-26 04:07:32 +00:00
Colin Kuskie
2f1408e852 enable ISA relationships in Wobjects add/edit forms 2006-11-25 22:58:45 +00:00
Colin Kuskie
1c89741add Documented a method in Asset/Post via POD.
Began review of the Post and Collaboration template variables.
2006-11-25 03:22:01 +00:00
Colin Kuskie
9beeb854a4 Went through and validated all the template variables in all template
for the LDAP authentication module.  Common variables were referenced
from the main Auth module Help file.
2006-11-24 22:12:46 +00:00
Colin Kuskie
ee9cae98a8 Documented the heretofore undocumented Deactivate Account Template in the Auth modules.
Broke out code scanning tests into their own tests, and required the CODE_COP environment
variable be set before they were run.
Fixed two bugs in the Workflow test, wrong number of tests and inverse test logic.
More Auth template inheritance work.  Almost time to reflect it over to
the LDAP module.
2006-11-24 21:05:44 +00:00
Colin Kuskie
860a71bc5d The template managers group is deprecated, but not removed.
More template variable work in the Auth* space.
2006-11-24 18:10:19 +00:00
Colin Kuskie
be4fd74276 WebGUI::Auth provides a set of default template variables inherited
by both AuthWebGUI and AuthLDAP.  I've pulled the defaults out of
AuthWebGUI for one template (anonymous registration) into its own
namspace, Auth.  Default variables will be pulled out for all of the templates
eventually.
2006-11-24 04:01:52 +00:00
Colin Kuskie
61138b4764 forward port of removed code 2006-11-24 02:08:05 +00:00
Colin Kuskie
8f2e5ddeca forward port of Turn On Admin docs 2006-11-24 01:52:43 +00:00
Drake
526c5d3f70 Minor fix for new template vars in WebGUI::Auth::createAccount. 2006-11-23 22:21:50 +00:00
Drake
ca9d90c577 Implement RFE "Non Required Fields on User Registration". Associated upgrade.
Minor streamlining of profile field listing methods.

WebGUI::Operation::Profile::getRequiredProfileFields is now deprecated,
because it's specific enough to be not significantly more useful than
WebGUI::ProfileField::getRequiredFields, and because with this change
nothing in core uses it anymore.
2006-11-22 23:50:00 +00:00
Drake
4da7c74740 Streamlining of a few character-counting methods regarding suitability of
passphrases.
2006-11-22 21:32:28 +00:00
Drake
01764a26a2 Minor fixups of POD and code. 2006-11-22 16:05:51 +00:00
Drake
c10b5b4fec Make handling of invalid values for "possible values" for list-based profile
fields slightly more robust.  It's still not ideal---the error goes to the
WebGUI error log, but the user should be given some indication that the
profile field is broken.
2006-11-22 15:52:32 +00:00
Drake
0903b1011e Fix how Thread determines the "current" Post to be a little more logical,
and fix shortcuts to non-Thread Posts (they weren't doing prepareView on
the thread).
2006-11-22 15:38:32 +00:00
Doug Bell
3ca4bf725a Some fixes in viewPurchaseHistory operation 2006-11-22 06:38:25 +00:00
Doug Bell
96b6559250 HttpProxy now handles styles appropriately 2006-11-22 05:54:15 +00:00
Drake
eeb97d0135 Give RSSFromParent.pm the right icon filename. 2006-11-21 17:05:30 +00:00
Colin Kuskie
a0d2326f9c Found and fixed a bug in ErrorHandler, canShowPerformanceIndicators.
It didn't work with CIDR format IP addresses.  I cannabilized the
code from canShowDebug and refactored it into its own method,
canShowBasedOnIP.  Both canShowDebug and canShowPerformanceIndicators call this.
Updated the docs for the debugIp setting to note that it's used for both
showDebug and showPerformanceIndicators.
Added about 20 more tests to ErrorHandler.t.  Only the two hard methods are
left, fatal (which closes the session at the end) and showDebug, which is
validating a ton of output.
2006-11-21 03:50:15 +00:00
Colin Kuskie
96f292bb45 Correct the POD from copying a method in Asset/Redirect.
Fix a whitespace problem in AssetExportHtml.
2006-11-19 06:19:31 +00:00
Colin Kuskie
b1bbf36825 Fix exporting of a redirect. The view method in the Redirect sets
a HTTP header and returns "1", which doesn't create a redirect.

I fixed this by:

- Writing a exportHtml_view method just for Redirect.
- using the Fail Safe style template to output an empty page
  with a redirect tag in the header.
2006-11-19 05:17:15 +00:00
Roy Johnson
f749d2d260 fix - Storage::Image copy does not create thumbnails 2006-11-18 18:06:54 +00:00
Colin Kuskie
5dddf92543 fixed looping logic in HttpProxy redirect follower 2006-11-17 23:42:19 +00:00
Doug Bell
d0970a35bd Removed WebGUI::Form::Workflow "edit" button because it won't work right. 2006-11-17 22:11:32 +00:00
Colin Kuskie
5e074e0939 canShowDebug checked for a literal string, 'text/html' in order to generate
the debug output.  When the default mimetype was changed to text/html; charset=UTF-8,
the literal check always failed.

There are probably a few more of these floating around.
2006-11-17 22:00:35 +00:00
Colin Kuskie
adace63acf silly typo 2006-11-17 16:15:29 +00:00
Colin Kuskie
bea5572788 fix a typo in a label, and i18n another label in the HttpProxy parser 2006-11-17 06:49:29 +00:00
Colin Kuskie
9f679b1c03 i18n a label in Image/Graph.pm 2006-11-17 06:45:27 +00:00
Colin Kuskie
74a22d167d fix nomenclature of page in the Navigation Asset template 2006-11-16 23:44:52 +00:00
Colin Kuskie
c078caad8d remove old debug output 2006-11-16 19:27:24 +00:00
Colin Kuskie
9b8f2ab061 Clearly document that sortHash* returns a Tie::IxHash.
Update the tests to assign to a Tie::IxHash to preserve the
sorted order.
2006-11-16 17:50:57 +00:00
JT Smith
e1b583a935 some upgrade script fixes 2006-11-16 00:14:14 +00:00
JT Smith
bc4125204a - fix: Bug in "Article with Files"
- fix: SQLReport pagination retains op= parameter
 - fix: Invalid MIME type set for images
2006-11-15 22:30:50 +00:00
Drake
e3350f05ef Couple of minor code cleanups in WebGUI::Session::DateTime. 2006-11-13 23:20:55 +00:00
Colin Kuskie
8dc77dd5c2 update docs to talk about encrypt login and side effects 2006-11-13 22:31:39 +00:00
Doug Bell
c93ce14c28 Forgot to update changelog Added fatal error should parsing JSON config fail (thanks jZed__ on freenode #webgui) 2006-11-13 22:17:56 +00:00
Doug Bell
07dba1128b fix: New YUI resizable textarea not obeying width/height 2006-11-13 20:37:58 +00:00
Colin Kuskie
e0b7f93724 document that changing the profile for Visitor changes the defaults for new users 2006-11-13 05:20:18 +00:00
Drake
c14b75f606 Fix the MIME type bug that I introduced when making File assets work with
the exporter properly.
2006-11-11 00:25:57 +00:00
Colin Kuskie
9bef53dabf fixed bug in Auth.pm where an array was used to send placeholders instead of arrayref 2006-11-10 16:32:19 +00:00
Martin Kamerbeek
ce447fdbd9 Fixed a bug where the adminbar would not show up if adminModeSubnets is missing in the config file. 2006-11-10 14:39:32 +00:00
Martin Kamerbeek
d6352048c1 Fixed bugs in the SyncProfileToLdap workflow activity 2006-11-10 12:42:44 +00:00
JT Smith
282e1caacd - Made a change to version tag commits to deal with unusually long commit
times.
2006-11-09 20:57:53 +00:00
Colin Kuskie
ce617607a8 Update Style test to check for new return value.
Fix broken labels in CS Help and hover help.
2006-11-08 23:28:55 +00:00
JT Smith
0e7711c279 fixing a little problem i created yesterday 2006-11-08 18:53:51 +00:00
JT Smith
899e9754b6 - karma rfe: Limiting access to admin mode to set of ip's 2006-11-08 17:43:44 +00:00
Roy Johnson
8860176b39 Added a few comments so mere mortals like me will understand what this does in 30 years 2006-11-08 16:14:38 +00:00
Colin Kuskie
9864b4caf1 add missing template variables and help in CS 2006-11-08 05:11:01 +00:00