Commit graph

170 commits

Author SHA1 Message Date
Colin Kuskie
11ac13c349 Prune out a method call from db->dbh->quote_identifier. 2010-08-14 17:51:25 -07:00
Doug Bell
3c17dafeb4 processPropertiesFromFormPost to processEditForm 2010-07-15 11:52:04 -05:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -07:00
Doug Bell
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Colin Kuskie
9e50f5e8c2 Exception and class handling for getLastPost in the Thread. Update a test accordingly. 2010-05-20 15:45:28 -07: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
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Graham Knop
a1d8dbd67a more object destruction cleanups 2010-04-19 18:57:01 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
b9d102fc31 SUPER fixing for Thread. 2010-04-08 17:32:43 -07:00
Colin Kuskie
616d5cc866 Moose overrides for purge, purgeRevision, and purgeCache. 2010-04-07 16:43:16 -07:00
Colin Kuskie
794b26d325 Moose override commit in Thread and CS. 2010-04-06 19:30:35 -07:00
Colin Kuskie
dee5bbe5d0 Proper Moose setup for addRevision... 2010-04-06 16:13:02 -07:00
Colin Kuskie
c0206e61f5 Fix more thread search pagination issues. 2010-03-20 21:48:09 -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
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
Graham Knop
2af4c4de63 clean up WebGUI::Utility imports 2010-03-10 12:59:51 -06: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
814c2af249 Change calls to new to newById across Asset/ 2010-03-03 16:27:45 -08:00
Colin Kuskie
3d52c45655 Changes to Post and Collaboration, for new Asset instanciators. 2010-03-03 15:45:47 -08:00
Colin Kuskie
117c7897bb Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes. 2010-02-26 12:01:25 -08:00
Colin Kuskie
3a054b4895 Fix Search results for Threads when useContainers=1 2010-02-25 08:59:33 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
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
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
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