Commit graph

237 commits

Author SHA1 Message Date
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
Graham Knop
1149fd54ed merging 7.4 changes 2008-01-23 23:48:35 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Doug Bell
8975ef5ef2 added url.raw for Post assets to get a URL without the #id stuff at the end 2007-11-30 19:34:38 +00:00
Colin Kuskie
1b3d7f0c2b Refactor out the copied code to resize images based on the max file
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +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
JT Smith
ee85bc1e02 fix: Last Reply and Replies columns not updating 2007-10-05 20:20:42 +00:00
Graham Knop
4949d10da2 CS says it always has new content for cache time 2007-10-04 19:58:08 +00:00
Graham Knop
fb82d28ee9 whoops 2007-09-11 23:59:03 +00:00
Graham Knop
438d13b1b9 better behavior for subscribe option on CS form 2007-09-11 23:55:11 +00:00
JT Smith
18b5da96d3 - Fixed a bug where crons wouldn't load into spectre's queue at startup.
- Fixed a bug in the Collaboration System where posts from the Safari browser
   would be submitted without changes.
2007-07-30 14:35:59 +00:00
Frank Dillon
6c54cbc161 Changes to include captcha image on post to verify humanity 2007-07-20 20:19:01 +00:00
James Tolley
de4da68884 put the unsubscribe link in the CS notification template 2007-07-10 21:39:11 +00:00
Doug Bell
65235990a3 fix: Collaboration System can now be subclassed and still work with existing Thread and Post assets 2007-07-02 22:25:41 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
0c45e5286e Forward port of isHidden work from 7.3 for Post, Event and WikiPage.
isHidden is not allowed to be 0 for those Assets.  I had to reinstantiate
the update method for the Event Asset, but I only put in the code to
force isHidden to be forced to 1.
2007-06-26 04:33:07 +00:00
Colin Kuskie
2af436a0ad Add the ability for posts to have metadata. The option is turned off by default,
but can be enabled in the CS.  If the option is turned on, and metadata is
enabled on the site, then sets of template variables will be made available
to the Post Form template, the Thread view template, and the CS view template.
2007-06-05 03:32:00 +00:00