Peter Christiansen
fd3346586e
- added #9668 extension template variable to attachment loops for the following assets:
...
Article,Post,Event,File,Form::Attachments,Folder
2011-07-21 21:42:17 +02:00
Colin Kuskie
9113408408
When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183
2011-07-11 15:04:54 -07:00
Colin Kuskie
052b3dfd45
Fix duplicating storages in Posts and subscription groups in threads. Fixes bug #12024 .
2011-01-24 19:08:51 -08:00
Colin Kuskie
f333dbbb59
All HTMLAreas in the post are controlled by the parent CS settings. Fixes bug #11827 .
2010-09-07 14:04:41 -07:00
Colin Kuskie
797606639d
Lookup file icon for all attachments, and thumbnail for all images. Fixes bug #11782 .
2010-08-16 09:12:29 -07:00
Doug Bell
abd2e09a6d
fix 11772 Metadata in post doesn't set default
2010-08-10 14:28:02 -05:00
Colin Kuskie
ffe4b8fa2c
Better handling of an empty spamStopWords entry in the config file, for WikiPage and Post.
2010-07-23 17:09:18 -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
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
f5fd970c94
Allow users who re-edit posts to skip notifications. Fixes bug #11466
2010-03-22 15:27:05 -07: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
3a054b4895
Fix Search results for Threads when useContainers=1
2010-02-25 08:59:33 -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
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