Commit Graph

207 Commits

Author SHA1 Message Date
Adam Shaw 42599f5870 accept duration-ish inputs for incrementDate method 2014-05-30 18:24:29 -07:00
Adam Shaw 300670da43 fixed a bunch of moment/timezone issues 2014-05-29 10:15:55 -07:00
Adam Shaw edfdaf0428 automated tests to ensure passed-in options object is not modified 2014-05-27 15:17:19 -07:00
Adam Shaw 5db9a6eb97 tests for select method 2014-05-26 19:27:52 -07:00
Adam Shaw 849d8bb13d updateEvent should accept moments that have unnormalized start/end (issue 2084) 2014-05-25 22:25:33 -07:00
Adam Shaw 7dee5b50e1 fix issue 2085, problem with slotDuration/snapDuration 2014-05-25 20:50:15 -07:00
Adam Shaw 1d23d6ff8a upgrade to moment 2.6, test changes, bugfix 2014-05-25 16:33:10 -07:00
Adam Shaw 46b401c090 fix bug getting confused with momentjs formatting char LT and our T 2014-05-24 17:09:46 -07:00
Adam Shaw 0eb861c1ad behavior tweaks to formatRange 2014-05-24 16:17:15 -07:00
Adam Shaw f577a3f548 change behavior when updateEvent called when new dates cant be computed in tz 2014-05-24 02:05:17 -07:00
Adam Shaw d99b797791 make timezone option default to false instead of undefined 2014-05-22 12:27:10 -07:00
Adam Shaw dda017efe2 allow user-specified buttonText to override buttonIcons 2014-05-21 17:00:51 -07:00
Adam Shaw a1c4f11f48 MISC little stuff 2014-02-03 14:58:18 -08:00
Adam Shaw 069c2377e1 fix broken updateEvent method 2014-02-03 00:14:07 -08:00
Adam Shaw 1c28cf5a5f different behavior when end-time equals nextDayThreshold. tests 2014-02-03 00:14:07 -08:00
Adam Shaw 39dd3f08f4 misc comments 2014-02-03 00:14:01 -08:00
Adam Shaw c8219f6238 parse ISO8601 date strings without date-of-month as first-of-month 2014-02-02 21:57:06 -08:00
Adam Shaw edcd275c91 improvements and bugfixes to FullCalendar's MomentJS extensions
notably we have no side effects on the Moment prototype anymore. we subclass
2014-02-02 21:56:02 -08:00
Adam Shaw 1f5b6490a3 break apart date_utils.js 2014-02-02 13:53:41 -08:00
Adam Shaw d2b85cf80c code style improvements (for jscs) 2014-01-31 14:05:48 -08:00
Adam Shaw 758a235d19 code quality improvements (for jshint) 2014-01-31 14:05:48 -08:00
Adam Shaw 14145079d3 refactor the jQuery fullCalendar adapter. don't allow calendar to initialize twice 2014-01-28 00:22:24 -08:00
Adam Shaw 316e94412d upgrade to moment 2.5.1 and resolve cloning issue
With moment 2.5.1, when moments are cloned, not all their properties are blindly
copied over, like our ambig-time/ambig-zone properties. Force this to happen by
monkey-patching.
2014-01-28 00:22:24 -08:00
Adam Shaw 8552600c24 always set minheight on rows, even when very large aspectRatio 2014-01-28 00:22:24 -08:00
Adam Shaw 161a476980 fixed regression where weekNumberCalculation as a function wouldn't work 2014-01-28 00:22:24 -08:00
Adam Shaw bbc5fd9853 fixed regression where fullCalendar wouldn't intialize without options 2014-01-28 00:22:20 -08:00
Adam Shaw d0d0a97c64 [2.0] source file changes 2014-01-24 23:10:00 -08:00
Adam Shaw bc0883f8f0 fix agenda selection alignment when cell height is customized (issue 1035) 2013-08-31 22:04:24 -07:00
Adam Shaw 3ed1474ef9 fullcalendar can now be initialized with no options (issue 1356) 2013-08-31 21:36:39 -07:00
Adam Shaw f26e9550f2 fix bug where week number wouldnt display in agenda views (issue 1951) 2013-08-31 21:32:02 -07:00
Adam Shaw 7f8de6fe2f put view arg in loading callback (issue 1018) 2013-08-31 21:26:00 -07:00
Adam Shaw 038593d5f6 new algorithm for laying out agenda events. slotEventOverlap option 2013-08-31 17:25:11 -07:00
Adam Shaw 95c1aa9304 fix IE7 rendering bug. related to view switching refactor 2013-08-10 17:01:22 -07:00
Adam Shaw e8ac9dfdd1 call destroy callbacks when the calendar's destroy method is called. misc 2013-08-10 13:23:29 -07:00
Adam Shaw b47d8957cd fix bug with public render method. a few tweaks 2013-08-07 02:13:20 -07:00
Adam Shaw fb1dbd63cf new callback: eventDestroy 2013-08-06 23:54:44 -07:00
Adam Shaw 3b96f907bd new callbacks: viewRender, viewDestroy 2013-08-06 23:28:15 -07:00
Adam Shaw d2aa9e9f4c refactor and simplify the way view switching/rerendering works 2013-08-06 23:23:03 -07:00
Clemens 6da36c7bdf small performance-fix for minute-scaled slots 2013-08-03 16:35:55 -07:00
Adam Shaw 664ec8f730 put event z-index's into stylesheet 2013-08-03 16:17:04 -07:00
Adam Shaw d910bb8fcd eventStartEditable/startEditable AND eventDurationEditable/durationEditable 2013-08-03 15:30:58 -07:00
Adam Shaw 5923772177 fix bug with agenda event grid snapping, landing on wrong day (from PR#55) 2013-07-31 23:13:18 -07:00
Adam Shaw fec455dbfc use jQuery to detect if body/calendar-element is visible and ready for rendering 2013-07-31 20:40:03 -07:00
Adam Shaw dbcaacd67a hookWindowResize -> handleWindowResize 2013-07-31 20:23:47 -07:00
Sahab Yazdani 36c3872969 Add option to not automatically hook window.resize 2013-07-31 20:17:44 -07:00
Adam Shaw d3308c8e59 don't throw error if event's title is blank or null 2013-07-29 23:53:32 -07:00
Adam Shaw ff3e590d2f future/past classNames on day cells 2013-07-29 23:33:38 -07:00
Adam Shaw 1c802475ea cleanup data_as_a_function code 2013-07-29 23:15:03 -07:00
Paul Gallagher c93f64fc8b allow ajax data parameter to be specified as a function
(test updated by arshaw after-the-fact)
2013-07-29 23:14:37 -07:00
Stephen Harris 5b25ed39ef Fixes "backgroud" typo. 2013-07-17 23:20:05 -07:00