Commit graph

112 commits

Author SHA1 Message Date
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
e0b5f79d6d Temporary fix for the Calendar for now. 2010-04-08 17:29:13 -07:00
Colin Kuskie
f56bac9948 SUPER handling for most of Wobject/*.pm. There's a problem with Calendar, though. 2010-04-08 17:00:05 -07:00
Colin Kuskie
c835344813 Fixing require loops. Moose overrides for canEdit using packages. 2010-04-08 15:13:13 -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
524a2608a8 be compatible with newer DateTime::Locale 2010-03-19 15:48:31 -05:00
Graham Knop
913fa9ad03 clean up Tie::IxHash imports 2010-03-10 12:59:51 -06: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
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06: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
76ce6f74ca Some fixes for the Calendar. 2010-02-03 17:54:17 -08:00
Colin Kuskie
6e0da1d035 Convert Calendar to Moose and exceptions. 2010-01-29 18:26:34 -08:00
Colin Kuskie
f59b74a0bd Remove empty whitespace. 2010-01-29 18:11:00 -08:00
Colin Kuskie
6a1f338307 1st cut conversion to W::D::A 2010-01-29 18:10:32 -08:00
Colin Kuskie
38e6bfad3e Convert many search forms from POST to GET. Fixes bug ##11372 2010-01-25 15:53:49 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
Colin Kuskie
9b94516377 Remove debug code from Calendar. 2009-11-02 10:55:04 -08:00
Colin Kuskie
5510710b53 Adjust window in listView for Calendar. Fixes ug #11183 2009-10-29 18:14:21 -07:00
Colin Kuskie
4c4fbff712 Remove debug code from Calendar. 2009-10-22 09:51:24 -07:00
Colin Kuskie
2159ab1fbc getEventsIn window is inclusive. Fixes bug #11158 2009-10-20 11:25:08 -07:00
Colin Kuskie
7d60f7523e Events in the calendar, with and without starting times, behave similarly. Fixes bug #11033 2009-09-24 16:00:54 -07:00
Colin Kuskie
96dba300f7 Consider time zone when creating start/end dates for calendar view methods. Fixes bug #10924 2009-09-16 11:23:47 -07:00
Colin Kuskie
694d54928e autoGenerate and noFormPost are required for JSON fields. Fixes bug #10991. 2009-09-15 14:21:19 -07:00
Colin Kuskie
22d462166f Move Calendar feeds into the Calendar Asset table as JSON collateral.
Update tests and workflows to follow.
2009-08-26 22:14:04 +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
c30614bdf6 Forward porting fixes for iCal escaping and unescaping, and line wrapping. 2009-07-01 22:18:57 +00:00
Colin Kuskie
109178ac6a remove debug 2009-06-30 15:50:07 +00:00
Colin Kuskie
755d7909a5 Fix iCal processing in the Calendar module and workflow. Errors with
generation and processing.
2009-06-30 15:43:40 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
d0dd5920a4 Fix the calendar list view to use the correct template variables. 2009-05-27 17:47:18 +00:00
Colin Kuskie
11368a7cbb Fix a bug where the calendar will list all events, regardless of permissions. 2009-04-25 00:19:20 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
9d1fdfd1c6 remove needless import 2009-01-28 16:39:07 +00:00
Doug Bell
96662a5f59 fixed #4137: Calendar Search page has extra head tags in body 2009-01-15 20:12:36 +00:00
Colin Kuskie
f833ad1ea5 Calendar i18n 2009-01-02 21:36:25 +00:00
Colin Kuskie
415221fb4d Forward port Calendar location field fix in ical. 2008-12-09 04:29:22 +00:00
Colin Kuskie
a71e494d34 Fix Calendar copy behavior. By default, duplicate will only copy
the Calendar.  duplicateBranch must be called to copy it _and_ its
children.
2008-12-03 00:02:01 +00:00
Colin Kuskie
13eb87ffe5 forward porting fix for non-unique separator strings, ~~~, #8543 2008-11-21 23:07:05 +00:00
Graham Knop
d487d4edd6 fixed: not allowed to add calendar events if in can edit group but not can add event group 2008-11-04 22:47:18 +00:00
Doug Bell
18585200a7 fixed 8899 and 8891: Calendar feeds cause edit screen to fail and Calendar still pull feeds from the trash 2008-10-28 17:10:06 +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
Frank Dillon
58f231c87b Better info for Assets that require commit before adding children. Add link is always availiable now, an error message is displayed if you try to post a child to an uncommitted parent. Additionally a new method was added to AssetVersionion.pm to determine whether or not an asset has been committed. 2008-09-16 20:08:15 +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
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
9ed284beec use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00