Commit graph

148 commits

Author SHA1 Message Date
Doug Bell
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Colin Kuskie
f1ea8105d4 Allow users to unsubscribe via email address, without logging in. Fixes bug #11559. 2010-05-18 15:58:24 -07:00
Colin Kuskie
c0206e61f5 Fix more thread search pagination issues. 2010-03-20 21:48:09 -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
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
21e321012c Fix direct linking to posts and threads when their pagination is set to 0. Fixes bug #11464. 2010-03-10 09:45:37 -08:00
Colin Kuskie
3a054b4895 Fix Search results for Threads when useContainers=1 2010-02-25 08:59:33 -08:00
Colin Kuskie
924cc0de3a Swap lastPostId and lastPostDate arguments when archiving a thread. Fixes bug #11398 2010-02-09 14:48:06 -08:00
Colin Kuskie
6e0983a67b Update the number of threads in the CS when a thread is archived. Fixes bug #11341. 2010-01-11 11:54:59 -08:00
Colin Kuskie
b5f5f8f6e8 Threads should not show pagination query params in their URLs. 2010-01-07 08:34:27 -08:00
Colin Kuskie
5fc2a1f248 Fixed bug #11096. Deleting a thread causes a WebGUI error.
Checked to make sure that anything is returned from getLineage
before calculating the rating.  When the thread is in the trash
or clipboard, then getLineage will not return anything.
2009-10-07 10:05:43 -07: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