Colin Kuskie
5febc0ebbc
Merge commit ' 41575d24bb' into webgui8. Some tests still failing.
...
Conflicts:
docs/gotcha.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/File/GalleryFile/Photo.pm
lib/WebGUI/Asset/Post.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/WikiPage.pm
lib/WebGUI/Asset/Wobject/WikiMaster.pm
lib/WebGUI/Cache.pm
lib/WebGUI/Content/Setup.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Pay.pm
lib/WebGUI/Shop/PayDriver/ITransact.pm
sbin/testEnvironment.pl
t/Asset/WikiPage.t
t/Shop/PayDriver.t
t/Shop/PayDriver/ITransact.t
t/Shop/PayDriver/Ogone.t
t/Shop/TaxDriver/EU.t
t/Shop/TaxDriver/Generic.t
t/Workflow/Activity/RemoveOldCarts.t
t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
7f23c286da
Change newByDynamicClass to newById.
2010-05-13 13:50:04 -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
5ee5c910d8
More keyword page clean-up
2010-04-21 17:11:26 -07:00
Colin Kuskie
d085d7d04a
Revoke the previous page-level hierarchial keywords work, in favor of forthcoming work on wiki level keywords work
2010-04-21 16:55:16 -07:00
Graham Knop
0efa62a73c
asset immutability
2010-04-19 18:57:01 -05:00
Graham Knop
e4e27d6e96
Merge branch 'master' into WebGUI8
2010-04-16 20:45:22 -05:00
Colin Kuskie
7fe81165ed
Bug fixes, changes to default wikipage template for keyword pages, and template var clarifications.
2010-04-13 11:28:31 -07:00
Colin Kuskie
1395fcc411
Add RFE #10944 , keyword pages.
...
Keyword pages are any page where the title is exactly the same as any keyword
for any page in the wiki. Keyword pages work the same as any wiki page, but
also may display a list of pages that are tagged with the keyword.
2010-04-13 11:05:29 -07:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
c786395eb4
Moose overriding for indexContent.
2010-04-07 15:07:20 -07:00
Colin Kuskie
4c3a26b023
WikiPage uses an role to force hiddenness now. No need to subclass addRevision.
2010-03-23 11:52:18 -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
Graham Knop
2af4c4de63
clean up WebGUI::Utility imports
2010-03-10 12:59:51 -06:00
Colin Kuskie
b5e03dd90f
Remove dead method with the same name as a property.
2010-03-05 14:42:08 -08:00
Colin Kuskie
bf1cb7b721
Aspect to Role renaming
2010-03-03 21:10:35 -08:00
Colin Kuskie
9b4a9beba2
Remove usage of Class:C3 in favor of roles.
2010-03-03 17:58:55 -08:00
Colin Kuskie
65a5053563
Fix a missing label in the WikiPage
2010-03-03 16:41:22 -08:00
Colin Kuskie
8f6c20d2f1
Fix lots of syntax errors and bad definition configuration.
2010-03-03 16:32:57 -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
Colin Kuskie
7caa3e3738
Move AssetRole to Role::Asset, and update all client modules.
2010-02-16 11:00:47 -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
9c7bbc849b
Remove override of update and use Moose method modifiers instead.
2010-02-15 15:11:12 -08:00
Colin Kuskie
6b0d8f7769
Fix an i18n typo.
2010-02-12 16:18:47 -08:00
Colin Kuskie
24e4d8d2b9
Convert WikiPage over to Moose. Still needs roles.
2010-02-12 16:17:19 -08:00
Colin Kuskie
acc6447841
Only users who canAdminister the parent wiki are allowed to purge revisions of a wiki page. Fixes bug #11377
2010-02-01 14:50:40 -08:00
Colin Kuskie
49bd7f5032
newByDynamicClass changed to newById
2009-12-27 19:08:15 -08:00
Colin Kuskie
4b8ab2a039
WikiPage attachments need groupToEdit to be the same as the ancestor wiki groupToEditPage, otherwise users's cannot edit their own attachments. Fixes bug #11057
...
Also, update the test to use addToCleanup.
2009-10-12 20:23:34 -07:00
Colin Kuskie
79b849262c
WikiPage displays a locked label when locked. fixes bug #10998
2009-09-16 16:07:59 -07:00
Doug Bell
6da85b89a7
add #455 : Featured page in wiki
2009-09-10 15:57:59 -05:00
Doug Bell
0697673846
added Subscribable AssetAspect to Wiki
2009-09-09 17:24:00 -05:00
Colin Kuskie
7ced29424d
Fix a POD whitespace issue in the WikiPage.
2009-07-05 03:37:29 +00:00
Colin Kuskie
5295326def
Add POD missing from the WikiPage. 12/441 files left
2009-07-05 00:54:12 +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
Graham Knop
dc129dac36
switch wiki pages to use keywords form control
2009-03-31 00:07:36 +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
99d6796675
Prevent Event, WikiPage and Thread from being pasted places where they don't
...
belong. This allows chained method calls to "getMyParent", getParent, getWiki, getCalendar, etc.
to work.
Adds the new canPaste and validParent method to Asset and AssetClipboard.
2009-02-03 04:43:11 +00:00
Colin Kuskie
1091616705
Prevent WikiPages from being manually added to places where they shouldn't.
2009-02-03 00:11:52 +00:00
Colin Kuskie
101e95fd63
Prevent Wiki Pages from being pasted to anywhere but a Wiki Master.
...
Add provisions for other assets to behave similarly.
2009-01-30 23:49:19 +00:00
Colin Kuskie
241dcf7e8b
do not show edit tab in the wiki page unless you can edit it
2008-11-24 04:56:32 +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
JT Smith
e7c6fe6cae
- Added Comments asset aspect, which allows comments to be added to any asset
...
easily.
- Added comments aspect to wiki.
2008-10-11 20:33:38 +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
Graham Knop
4a326b2b40
fixed: Wiki page history shows username instead of alias
2008-03-19 18:11:29 +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