Commit graph

109 commits

Author SHA1 Message Date
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
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
Doug Bell
b519375126 add: Calendar events from 7.4-prebranch
- Attachments
 - Setting view permissions
2007-05-28 22:27:31 +00:00
James Tolley
2b84211088 Added canEdit template variable for events. 2007-05-25 20:10:47 +00:00
Graham Knop
74c752c0ef Event recurrence bug fixes. 2007-05-23 23:19:15 +00:00
Nik Ogura
ea75fd538f added <> NULL to getLineage call. Prevents recurring events from wiping out other events with null recurId's within their span 2007-05-02 16:42:21 +00:00
Graham Knop
d1ebb39b11 Make sure Event menuTitles are <= 15 characters 2007-04-23 21:23:05 +00:00
Colin Kuskie
e58f062114 Added missing croak arg to use Carp line.
Stored recurId into the object and db after it is created in setRecurrence.
2007-03-24 03:47:44 +00:00
Colin Kuskie
b9e6914f34 fixed a bug where a user could see the Calendar edit form but not save it. Event->canEdit now returns the parent canAddEvent check 2007-03-24 01:09:19 +00:00
Doug Bell
b75ecdaa5e fix: Event userDefined fields now work properly. 2007-03-20 00:09:16 +00:00
Colin Kuskie
3d5763269a Fixed a bug in the Event view where the link to the Calendar Search
was wrong.  Added a new template variable, urlSearch to the Event view
template.  I added a new method to the Calendar to handle this, getUrlSearch.
2007-02-28 20:20:37 +00:00
Colin Kuskie
1b1804fc16 fixing Calendar/Event add/edit privileges 2007-02-26 23:13:36 +00:00
Doug Bell
6c8e840fe6 fix: Events are created with no group information 2007-02-16 19:37:39 +00:00
Jukka Raimovaara
8bac5fd39a fix: Calendar Next / Previous when startTime was involved 2007-02-16 03:18:24 +00:00
Doug Bell
d3ac8526c1 fix: Those calendar bugs are finally fixed. I fix them coming in and break them going out... 2007-02-02 16:47:02 +00:00
Doug Bell
8e03386e39 fix: Event leaving mess in Apache logs 2007-02-01 22:59:43 +00:00
Doug Bell
d0c37ba736 fix: Event not reapplying all-day radio button after error 2007-02-01 22:51:35 +00:00
Doug Bell
426ffce9e3 fix - Couple Calendar bugs 2007-02-01 22:15:47 +00:00
Doug Bell
16ad4f3f16 fix: Calendar Event Details template now uses dateSpan friendly variable 2007-02-01 21:27:31 +00:00
Doug Bell
d6be45a1c0 Updated docs for AssetVersioning, WebGUI::DateTime
Added some Help/i18n for Calendar
Fixed some Asset::Event formatting issues
Step one in fixing AssetExportHtml
2007-02-01 16:36:48 +00:00
Colin Kuskie
8ee6fc71af deref the property hash inside processPropertiesFromFormPost 2007-01-26 19:54:50 +00:00
Colin Kuskie
2180b9bf91 Added a test to see if clone would duplicate the session. It does.
Subclassed DateTime's from_object method, which was secretely deleting
the internal session variable.  There is probably a more robust way to
do this, such as by "...implementing the utc_rd_values() method as the
from_object docs suggest.
Finished fixing the bug with time zone errors in editing an event.
2007-01-19 06:25:43 +00:00
Colin Kuskie
17fac4a7cb New methods in WebGUI::DateTime that clearly state how they handle timezones.
The standard is everything going into the DB is in UTC.  Timezones have to be
manually handled after being fetched.
Added a test for the new methods and for object construction.
Changed Calendar and Event Assets to use the new methods.
Interim checkin to get some debug help from Doug.
2007-01-19 05:16:57 +00:00
JT Smith
02622ea55c - fix: notifications from postings
- Refactored the autocommit system to fix the notifications bug above.
2007-01-17 21:34:49 +00:00
Doug Bell
6682be305b fix: Calendar still not using proper gateway. 2007-01-09 21:52:21 +00:00
Doug Bell
cdaef9d5e3 Multiple fixes in the code Doug wrote for 7.3 - Calendar / DateTime / Event
- fix: Calendar now reports proper product ID on iCal feed
 - fix: Calendar now tries to use the feed ID when sending uid of event on iCal
        feeds (to prevent over-propagation of events shared between calendars).
 - fix: Bug in AssetLineage->getLineage documentation.
 - rfe: Event now has a template var to toggle if an event only lasts one day
 - rfe: WebGUI::DateTime->toMysql now automatically adjusts to UTC. NOTE:
        toMysqlDate and toMysqlTime do NOT adjust for timezones. If you are 
	using them you must adjust manually.
 - fix: Bug in WebGUI::DateTime documentation
 - fix: Calendar default date of "first event" or "last event" now works.
 - fix: Calendar now handles Events that have ' in titles appropriately.
 - rfe: Added a "dateSpan" Event template variable that will show a properly
        formatted date/time span depending on how the event's start and end are.
2006-12-23 02:22:02 +00:00
Doug Bell
66f74183af Calendar and Event print templates plus other template fixes. 2006-12-13 18:55:52 +00:00
Doug Bell
d44fbcacca fix: Various Calendar template fixes. 2006-12-12 00:20:52 +00:00
Doug Bell
ca21c7d5da fix: New Calendar/Event not handling gateway properly. 2006-12-11 18:17:21 +00:00
Doug Bell
9a86e99710 Updated Event to use new autocommit interface 2006-12-06 22:38:41 +00:00