Commit graph

271 commits

Author SHA1 Message Date
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
93e9f71a6c Set the correct valid parent classes for Post. 2010-03-23 14:14:11 -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
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
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
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
Colin Kuskie
991ac55a01 Thread sticky and locked handling. Form vars are now exposed
in all post forms.  Editing a thread does not clear the isSticky and isLocked
flags.
2009-02-11 23:20:20 +00:00
Colin Kuskie
097de28bd0 Fix a perl syntax error, and use if/elsif/else instead
of cascaded if, since the 2nd if would always win.
2009-01-29 23:38:14 +00:00
David Delikat
e3e24b37b0 fixed #9596: Articles now use a semi-unique pagination variable based on asset id
also restored the 'synopsis = first page' feature in Asset::Post::getSynopsisAndContent
2009-01-29 17:45:52 +00:00
Colin Kuskie
3467dd4a18 Expand macros in the notify subscription template so i18n will be handled. 2009-01-26 15:53:59 +00:00
David Delikat
16ce54bf4f added a new function to WebGUI::HTML to parse html text and extract a list of elements based on a tag
spec. used to extract paragraphs for the synopsis; convert FeedPP properties to scalar context so that
blank fields are rendered properly.
2009-01-23 03:41:49 +00:00
JT Smith
80fdb029b5 skip notify of spam 2008-12-16 23:01:47 +00:00
JT Smith
88499e36a0 undocumented spam prevention measure until i can build the real one 2008-12-16 19:41:55 +00:00
Colin Kuskie
9890ede43d Forward porting removal of deleteFileUrl from Posts in the CS, re bug 9260. 2008-12-15 02:39:11 +00:00
Martin Kamerbeek
1dde85aad0 Merging fixed #8775: Miscount in number of replies in CS Thread. 2008-12-03 15:39:33 +00:00
Colin Kuskie
f9d9de3cc6 Make Posts respect the email privacy setting. Fixed in 7.6 branch only. 2008-12-01 22:50:38 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
11d18075fa Account release candidate - final changes before merge 2008-11-15 02:39:23 +00:00