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
Doug Bell
b767824711
cache: s/delete/remove/
2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389
remove eval{} from caching code
2010-04-19 18:41:13 -05:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
c35f3b9ffb
Moose subclassing for Asset/*.pm.
2010-04-09 10:30:54 -07:00
Colin Kuskie
0c003083a0
Moose overrides in Event, File, Post
2010-04-09 10:17:26 -07:00
Colin Kuskie
d69ed84fd4
Fix the POST purge override call to super.
2010-04-07 18:31:10 -07:00
Colin Kuskie
616d5cc866
Moose overrides for purge, purgeRevision, and purgeCache.
2010-04-07 16:43:16 -07:00
Colin Kuskie
7ba89245fa
Moose override for paste (Post only)
2010-04-07 15:25:21 -07:00
Colin Kuskie
ee725b0b84
Moose override for cut (Post only)
2010-04-07 15:24:25 -07:00
Colin Kuskie
c786395eb4
Moose overriding for indexContent.
2010-04-07 15:07:20 -07:00
Colin Kuskie
dee5bbe5d0
Proper Moose setup for addRevision...
2010-04-06 16:13:02 -07:00
Colin Kuskie
9b36e44390
Added JS-type cancel button to edit view of WebGUI::Asset::Post (Bug #11514 )
2010-04-05 15:18:19 -07:00
Colin Kuskie
93e9f71a6c
Set the correct valid parent classes for Post.
2010-03-23 14:14:11 -07:00
Colin Kuskie
f5fd970c94
Allow users who re-edit posts to skip notifications. Fixes bug #11466
2010-03-22 15:27:05 -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
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
Graham Knop
2af4c4de63
clean up WebGUI::Utility imports
2010-03-10 12:59:51 -06:00
Graham Knop
a22162b895
clean up Tie::CPHash 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
ffb7945c34
Remove leftover definition sub stubs.
2010-03-09 13:51:07 -08:00
Colin Kuskie
814c2af249
Change calls to new to newById across Asset/
2010-03-03 16:27:45 -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
7caa3e3738
Move AssetRole to Role::Asset, and update all client modules.
2010-02-16 11:00:47 -08:00
Colin Kuskie
90facc46a9
Refactor code for updating storage location file permissions into a Role.
2010-02-16 08:56:34 -08:00
Colin Kuskie
abaeab36e0
Refactor code to force assets to always be hidden into a role and use it.
2010-02-16 08:50:00 -08:00
Colin Kuskie
72d0361f7d
Update Post for Moose.
2010-02-15 16:18:14 -08:00
Colin Kuskie
173bec1574
Handle linking to posts not on the first page on a thread view. Fixes bug #11318 .
2010-01-05 20:52: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
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Colin Kuskie
247166baf2
In the CS, do not show a profile link unless the user is not a visitor. Fixes bug #11084
...
If the post is owned by Visitor, do not show the link because no one
is allowed to see Visitor's profile. If the current user is Visitor,
do not show the link because Visitor is not allowed to view anyone's
profile.
2009-10-02 12:49:26 -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
3d1ed2f83f
Make threads recalculate rating on delete/restore. Fixes #10788 .
2009-08-19 20:11:16 +00:00
Colin Kuskie
0511af269d
Make Threads recalculate the number of replies when restoring a Post from the Trash.
...
Fixes bug #10758 .
2009-08-17 22:25:24 +00:00
Colin Kuskie
e53d921397
Fix broken Post i18n.
2009-08-08 02:28:28 +00:00
Colin Kuskie
1a74cb056d
Fix the separator macro. Adds a method to WebGUI::HTML that splits
...
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
Colin Kuskie
f428970c39
Remove use of the deprecated viewProfile url param to get a user's profile.
2009-07-09 01:23:23 +00:00
Colin Kuskie
209597fa6b
Add missing POD to the Post.
2009-07-05 03:38:29 +00:00
Colin Kuskie
7901e1d398
Fix the Post handling Metadata possibleValues differently from other Assets.
2009-06-26 22:42:15 +00:00
Eric Kennedy
2fb41ce8e8
Implemented RFE 9204 - Add Reply Filter Code and Reply Rich Editor Option to Collaboration System - Provides ability to specify different Rich Editors and FilterCodes for posts (start of thread) and replies
2009-05-14 03:02:26 +00:00
JT Smith
da8a68efca
fixed a problem in the spam system for Post
...
and added spam prevention in Wiki
2009-04-14 16:47:33 +00:00
Colin Kuskie
9a544df683
Remove old debugging code.
2009-03-24 19:33:07 +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