Commit graph

138 commits

Author SHA1 Message Date
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
d1572c4257 Make sure that all builder methods that use session sare set to be lazy. 2010-02-05 15:41:01 -08:00
Colin Kuskie
0d8fd2896c Fix a typo with extending isHidden. 2010-02-03 17:53:55 -08:00
Colin Kuskie
58944a4214 Update Event to use Moose accessors. 2010-02-03 17:45:22 -08:00
Colin Kuskie
98c18bb04f Event converted to Moose. 2010-02-03 09:04:35 -08:00
Colin Kuskie
4f8ff01659 Begin copying labels over from the event edit template into the Moose definition. 2010-02-03 07:36:09 -08:00
Colin Kuskie
e4e6b84f08 Begin to convert Event to Moose. 2010-02-03 07:30:48 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
Colin Kuskie
af2d858f68 Revision Event storage locations. 2009-08-09 04:35:16 +00:00
Colin Kuskie
4ecc2c725e Forward porting Event iCal end day date math fix. 2009-08-03 22:56:10 +00:00
Colin Kuskie
ecd89d349a Forward porting calendar non-inclusive end times fix. 2009-08-03 20:05:34 +00:00
Colin Kuskie
1bcae0d3bc Add an Event method for returning a non-inclusive end DataTime object.
Have Calendar use that for determining the end of a week in viewWeek.
Fix getEventsIn to do all comparisons in UTC so that extra events are not added in.
2009-07-03 05:04:43 +00:00
Colin Kuskie
277701a2cc Internationalize some Event edit form error messages. 2009-07-02 15:28:58 +00:00
Martin Kamerbeek
bb31750e7c Fixed: Calendar: Weekly re-occurence function not working properly (#10228) 2009-06-03 14:28:11 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Colin Kuskie
142518035d Fix bad Event URL template variables. 2009-04-27 18:39:14 +00:00
Colin Kuskie
4a5d907d77 POD Coverage for Event, SQLReport, Survey, Navigation, Article, and Form/HTMLArea 2009-04-10 02:02: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
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
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
Colin Kuskie
13eb87ffe5 forward porting fix for non-unique separator strings, ~~~, #8543 2008-11-21 23:07:05 +00:00
Graham Knop
6c0688add2 clean up pod, syntax, warning problems 2008-11-12 01:17:22 +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
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
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Doug Bell
daefac7e4a fixed: Calendar now uses correct method to get user's time zone 2008-07-20 18:30:25 +00:00
Graham Knop
254387c5c5 fixed: Calendar multi-day events exported wrong in ical feed 2008-05-13 21:13:31 +00:00
Doug Bell
7668f68980 add: Calendar can now choose workflow for Events
fix: Event now saves ownerUserId correctly
add: GalleryAlbum now shows link to add a Photo
added a test skeleton for Test::WWW::Mechanize tests
2008-04-16 23:32:12 +00:00
Doug Bell
8ec2c763b4 fix: Events can no longer be edited by anyone who can add events 2008-04-15 18:10:39 +00:00
Graham Knop
55dbc180bb fixed: iCal feeds don't update properly when events are changed 2008-04-10 22:15:03 +00:00
Graham Knop
1443a2964f fixed: events get start/end time even when none specified (also can offset start/end day 2008-03-10 21:57:54 +00:00
Graham Knop
c3744f160b added i18n for calendar 2008-03-07 16:35:03 +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
Doug Bell
5292426cc5 add: Events in calendar Week view can now be ordered arbitrarily\
fix: Event Related Links are now proper collateral in their own table. The HTML area is parsed and the table populated accordingly. No more silly HTML Area.
2008-01-23 02:41:38 +00:00
Doug Bell
4c70aa4c71 re-integrated photogallery branch 2007-12-18 13:05:41 +00:00
Colin Kuskie
98863256ea no code allowed before use strict. PBP/429. This check found a bug in Asset::Wobject::HttpProxy::Parse.pm 2007-12-05 16:55:40 +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
Colin Kuskie
0a1974ba4c forward porting Event dateSpan display fix and Event.t test 2007-11-28 04:47:30 +00:00
Graham Knop
99337c3473 event end time not tz adjusted properly 2007-10-26 16:27:54 +00:00
Graham Knop
4172e78133 import recurrence from ical feeds 2007-09-27 08:10:05 +00:00
Graham Knop
17fdc440b5 add time zone to events for editing, fixes recurrance on wrong days 2007-09-27 05:28:39 +00:00
Graham Knop
5c1a8b62eb add form element template variables for event user defined fields 2007-09-26 14:33:12 +00:00
Doug Bell
f19522e529 fix: Events were missing startDateMonth and endDateMonth vars 2007-09-18 02:03:09 +00:00
Doug Bell
6ee7dfa099 fix: Event isOneDay template var now works properly when Event is not an all-day event 2007-09-12 20:45:51 +00:00
Graham Knop
93d55ea3fc fix events always getting start/end times 2007-08-24 07:46:13 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00