Colin Kuskie
005b9da1ac
Move session->env->getIp into session->request->address
2010-07-01 13:11:01 -07:00
Colin Kuskie
565cf955d7
Merge commit ' 469c2b72b4' into WebGUI8. All tests passing.
2010-07-01 10:13:22 -07:00
Colin Kuskie
5e502fee53
Merge commit ' 17ce3572bf' into WebGUI8. All tests passing.
2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00
Colin Kuskie
5febc0ebbc
Merge commit ' 41575d24bb' into webgui8. Some tests still failing.
...
Conflicts:
docs/gotcha.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/File/GalleryFile/Photo.pm
lib/WebGUI/Asset/Post.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/WikiPage.pm
lib/WebGUI/Asset/Wobject/WikiMaster.pm
lib/WebGUI/Cache.pm
lib/WebGUI/Content/Setup.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Pay.pm
lib/WebGUI/Shop/PayDriver/ITransact.pm
sbin/testEnvironment.pl
t/Asset/WikiPage.t
t/Shop/PayDriver.t
t/Shop/PayDriver/ITransact.t
t/Shop/PayDriver/Ogone.t
t/Shop/TaxDriver/EU.t
t/Shop/TaxDriver/Generic.t
t/Workflow/Activity/RemoveOldCarts.t
t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
da320a0313
Add a template variable to hide the subscribe form when editing a Post when the user is subscribed to the parent CS. Updated all PostForm templates to use this new variable. Fixes bug #11626 .
2010-06-22 08:06:25 -07:00
Colin Kuskie
05610f7621
Correctly handle the case of finding new lastPost information when a Post is trashed. Fixes bug #11646 .
2010-06-21 16:02:29 -07:00
Colin Kuskie
54c56019d1
Update lastPost information in the Thread and CS when a Post is archived. Made a separate method so it can be used by other actions, and in the upgrade script. Fixes bug #11628 .
2010-06-21 14:38:46 -07:00
Doug Bell
2c75ab27e6
migrate to getLineageIterator to save memory
2010-06-01 16:23:49 -05:00
khenn
82e52fd8d5
Fixed an issue where collaboration systems with file attachments throw an error if attachment is not an image or the attachment is an image but doesn't have an associated icon. Also removed redundant calls to $storage->isImage and $storage->getUrl
2010-05-23 10:09:25 -05:00
Colin Kuskie
7608200a6b
The edit stamp should contain the name of the user who edited the post, not the original poster. Fixes bug #11578 .
2010-05-19 09:15:03 -07:00
Colin Kuskie
79fea5bb76
Refactor out synopsis code from Post to make a new AssetAspect. Have the WikiPage start using it, and assigning synopses to pages.
2010-04-21 18:24:30 -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
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