Commit graph

141 commits

Author SHA1 Message Date
Colin Kuskie
ec5208839e Remove getValue from Assets, except for those in getEditForm which will go away later. 2010-02-16 15:51:01 -08:00
Colin Kuskie
549a6db178 Update Thread for Moose. 2010-02-16 07:41:06 -08:00
JT Smith
ebb6134c2d bug fixes 2009-09-25 22:50:59 -05:00
JT Smith
ccff9c7014 Converted all existing uses of cache. 2009-09-25 22:24:33 -05:00
Colin Kuskie
e71d09d802 Add missing POD, and fix POD typos in the Thread. 2009-07-05 16:20:40 +00:00
Colin Kuskie
29be95b180 Add POD for some methods in the Thread. 2009-07-05 03:45:53 +00:00
Colin Kuskie
1ad192fe57 Cleanup thread subscription groups during purge. 2009-05-20 03:27:48 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
179e75ef8f Fixes of defaultValue from undef to '', 0 for mysql 5.1 2009-02-20 17:28:23 +00:00
Colin Kuskie
99d6796675 Prevent Event, WikiPage and Thread from being pasted places where they don't
belong.  This allows chained method calls to "getMyParent", getParent, getWiki, getCalendar, etc.
to work.
Adds the new canPaste and validParent method to Asset and AssetClipboard.
2009-02-03 04:43:11 +00:00
Colin Kuskie
e5daa223ed forward port thread approval workflow into thread 2008-11-22 00:44:41 +00:00
Colin Kuskie
13eb87ffe5 forward porting fix for non-unique separator strings, ~~~, #8543 2008-11-21 23:07:05 +00:00
Martin Kamerbeek
74e3f42fe4 Made it possible to actually save Treads again.... 2008-10-23 12:20:22 +00:00
Graham Knop
99a9da626d rfe #640: Refactored autocommit and autocomment
Autocommit assets like CS posts or Calendar Events can now be added before the
parent is committed.  They will go into the same version tag as their parent.
2008-10-22 16:04:10 +00:00
Graham Knop
4bcf12da02 clean up next/previous code for threads 2008-09-24 22:48:35 +00:00
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
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
0f1011e315 fix posting threads 2008-06-13 04:58:01 +00:00
Doug Bell
98992b8920 - added: Inbox is now pruned after 1 year
- Added about a hundred tests for Collaboration system, Post, and Thread 
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be 
usable now.
2008-04-26 02:23:10 +00:00
Graham Knop
77b3c9573c fixed: Collaboration System threads can return other object types when asked for replies 2008-03-21 22:01:49 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Graham Knop
2dc8a3e72c fix rating archived posts 2008-01-24 07:28:27 +00:00
Graham Knop
89201092fb screwed up a merge 2008-01-24 06:47:33 +00:00
Graham Knop
1149fd54ed merging 7.4 changes 2008-01-23 23:48:35 +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
JT Smith
ee85bc1e02 fix: Last Reply and Replies columns not updating 2007-10-05 20:20:42 +00:00
Graham Knop
a62a7e0ec1 WebGUI::Group->new didn't check group validity 2007-09-26 11:46:18 +00:00
Graham Knop
55c14f5852 fix errors generated when viewing last thread in cs 2007-09-10 19:38:45 +00:00
Doug Bell
3ea18fc8d4 fix: Collab / Thread / Post ratings were being incorrectly calculated 2007-09-07 16:42:54 +00:00
Frank Dillon
6e4276bb68 Changes to include captcha image on post to verify humanity 2007-07-20 20:19:21 +00:00
James Tolley
538df1a868 Thread.pm prev/next links fix 2007-07-16 22:03:43 +00:00
James Tolley
efd1e6705b CS thread permissions edit 2007-07-09 20:54:31 +00:00
Graham Knop
749f68a0ee fix: Next/Previous links on thread not sorted same as collab 2007-07-05 11:03:23 +00:00
Doug Bell
65235990a3 fix: Collaboration System can now be subclassed and still work with existing Thread and Post assets 2007-07-02 22:25:41 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
JT Smith
3b578658d2 removed: Fix: Thread template: next.url and previous.url tmpl_vars are always defined 2007-05-22 15:50:44 +00:00
Colin Kuskie
11fd0b1ca7 fix the next/previous thread thing. It saves an asset instanciation and lets macros using the session asset work correctly 2007-05-15 20:28:32 +00:00
Yung Han Khoe
c13ee87504 Oops, next and previous url where switched in the previous revision. 2007-05-02 15:03:41 +00:00
Yung Han Khoe
39be2887e1 Thread template: next.url and previous.url tmpl_vars are always defined 2007-05-01 13:37:26 +00:00
Colin Kuskie
885a369c67 fix bad override of isLocked inside WebGUI::Asset::Post::Thread 2007-04-26 23:11:15 +00:00
JT Smith
3a8bd77cde - Made Weather Data asset more fault tollerant.
- Made CS related upgrades more fault tollerant.
 - Enhanced HTTP caching directives.
2007-03-07 19:12:37 +00:00
Colin Kuskie
063b69afbe fix of Post/Thread rating system 2007-02-01 04:28:53 +00:00
Martin Kamerbeek
3b08bbf7af Fixed a bug where isCurrentPost was not set correctly 2007-01-22 20:25:44 +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
0fbbbea782 fix: Thread layout flat not sticking Some WebGUI/Auth.pm cleanup. 2006-11-07 21:28:47 +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
JT Smith
a440cb5f41 fix: Security bug in session env 2006-07-11 20:32:46 +00:00
JT Smith
c7c40c0f7a fixed karma bug 2006-06-05 18:44:27 +00:00
JT Smith
b7957742bc - fix: Username blank when editing user Visitor
- fix: Thread Count is off in the Collaboration system
 - Fixed an indexing problem with Product assets.
 - fix: Reply count off when restoring from trash
 - fix: Karma not spent properly
 - fix: Avatar Message Board Template Not Working
2006-06-01 17:40:15 +00:00