Commit graph

17 commits

Author SHA1 Message Date
Colin Kuskie
7c3d572146 Add tests for attachment_loop handling in the Post. 2010-08-16 10:09:10 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05: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
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
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05:00
Colin Kuskie
b89486d5f3 Work around bugs in HTML::Entities, which doesn't output strict utf8, and
DBD::mysql, which doesn't encode high characters correctly.  This shows up
in the Post synopsis, HTML::splitTag and Post->getSynopsisAndContent.
2009-07-07 22:24:00 +00:00
Colin Kuskie
558fba2f6a Cleanup in Post tests. Set skipNotification to prevent emails from being queued during the tests. 2009-05-20 03:29:17 +00:00
Graham Knop
1c1f1c295a don't clean up default groups 2009-05-07 15:57:11 +00:00
Colin Kuskie
39607fc208 Another batch of clean-ups for users and groups. 2009-05-01 02:48:18 +00:00
Graham Knop
f10da67dae fix Post test cleaning up core groups 2009-04-23 16:46:01 +00:00
Colin Kuskie
ddd06c2ede Provide a way for WebGUI::Test to register groups to clean up at
the end of a test.
Convert several tests to use that, including Post.t, which leaked Groups.
2009-04-13 02:45:03 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
058a6353a1 AssetTrash bugfix exposes bad test code. There's no need to
purge when you can roll back a commit container asset like the CS.
2008-01-03 21:37:36 +00:00
Chris Nehren
e20e6061f2 Don't delete the groups used in the Post test, they're needed. May want to make
mock groups in the future. Also clean up some commented out things from
Collaboration.t.
2007-11-06 23:06:09 +00:00
Chris Nehren
0d689afa4c Add the groupToEditPost field to the Collaboration system. This allows users
to specify a group of users that will always be able to do edits on posts,
regardless of whether they own those posts and independent of the editTimeout
field.
2007-11-06 22:58:22 +00:00