Commit graph

253 commits

Author SHA1 Message Date
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
JT Smith
f951bbed37 Added a better mechanism for calculating when content was last modified for cache headers. 2008-11-06 15:48:31 +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
Yung Han Khoe
d971508853 Fixed #8890: meta_loop in post form not working 2008-10-18 20:39:34 +00:00
Graham Knop
05a01201ff clear out some compile warnings 2008-10-01 22:43:29 +00:00
Chris Nehren
c25101654f users may now customize the post received page for the CS 2008-09-29 18:21:29 +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
Kaleb Murphy
f2cacdf4ac CS Thread sort on last post reply is now working correctly. 2008-08-13 16:09:51 +00:00
Frank Dillon
ca8ad4f4c2 Fixed issue where keywords field is not available in Form post tempalte 2008-08-05 20:45:50 +00:00
Graham Knop
a8d08634c6 fixed: Synopsis doesn't update after editting posts 2008-07-01 15:25:06 +00:00
Graham Knop
8f9568c887 fixed: storage locations for some assets in packages not imported correctly 2008-06-20 08:57:20 +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
a6c72fbb2b fixed: Users without karma can transfer karma by rating posts 2008-04-09 22:48:47 +00:00
Graham Knop
8ebae91132 fixed: Unable to edit CS posts that were denied as a normal user 2008-03-31 08:22:24 +00:00
Graham Knop
53bdfda753 fixed: profile photos don't obey max image size 2008-03-28 19:55:03 +00:00
Graham Knop
308671edd0 fixed: Collaboration System attachments follow site's max size instead of CS's 2008-03-27 19:15:51 +00:00
Graham Knop
f22646625b package importing fixes 2008-02-08 00:00:13 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00