Skip to content

Releases: Serhioromano/bootstrap-calendar

Version 0.2.5

01 May 11:07
Compare
Choose a tag to compare

New version of bootstrap calendar is available. Here are only some changes that I was able to track. In fact there are a lot more improvements and fixes.

  • add - getX functions for Year, Month and Day #591 @lukem512
  • fix - trailing commas and a missing semicolon #599 @ustaerk
  • add - option to define a tooltip container #606 @SC-Networks
  • changed - package.json to work with npm #607 @Phylu
  • improve - calculate utc offset from start and end dates instead the actual date #613 @malkomich
  • add - img folder to the component managed files. #614 @Gremlyn
  • add week number ISO 8601 setting #583 @CyBot
  • add 2016 indonesian holidays and fix typo #584 @suhindra
  • add week number ISO 8601 setting
  • add ability to cache events #582 @SteveDesmond-ca
  • updated - bower dependency #529 @kimyu92
  • improve - Use current context instead of global context #523 @ppworks
  • add - extra section to move special files for composer #525 @maikgreubel
  • add - 2 new parameters to show/hide week box and week number close #470, #424
  • add - utc_offset parameter when fetching data #490 @abeverley
  • improve - use css class ".modal-title" instead of "h3" tag #489 @bufferUnderrun
  • fix - key for calendar_languages for no-NO locale #493 @theodorton
  • remove - root version property from bower.json #508 @kkirsche
  • add - allow 12/24 hour formatting #507 @enfold
  • update - Allow using moment 2.10 and bootstrap 3.3.4 with bower #482 @fazo96
  • fix - issue with bad week number when using multiple calendars on same pag... #475 @najlepsiwebdesigner
  • fix - bug that time_split in day view doesn't work #469 @vinceve
  • fix - tmpl file permissions mess #443 @davidromani
  • fix - the modal event triggered multiple times && Improve the zh-CN.js #388 @Lancezh
  • improve - Change the data.months, that contents the days name, to a days_name, for better context #378 @eleazan
  • fix - some z-index issues #369 @eleazan
  • improve - LESS folder should be included when installing via bower #357 @austenc
  • add - Another PHP example #348 @andreybleme
  • fix - correct the modal_title tag #362 @numbbbbb
  • fix - the issue #364 that not hihglight correctly when toggle the eventList
  • fix - correctly show minutes in day view #336 @joshmsharpe
  • fix - warning messages in browser console for week view #349 @sameertotey
  • update - docs to reflect html markup for modal use with bootstrap 3 #345 @leedavidr

Translations

Version 0.2.4

02 Jul 02:37
Compare
Choose a tag to compare

Here is the new version of calendar.js.

This version basically includes new translations and fixes and only few but cool enhansements.

Changelog

  • add - recognize time_start minutes by @geskill
  • enhance - more compact _hour function
  • fix - for very short events
  • add - recognize time_start minutes
  • updated - day to display start time properly
  • fix - bootstrap 3 #304
  • fix - events in the feed without end parameter.
  • enhance - Days as links in day view.
  • add - Make it possible to set options.tmpl_path to a function returning a path based on the name of a template or a string containing the root path to html templates. By @bilus
  • improved - week display
  • fix - #271 Times not displaying in day view by @codelandcz
  • fix - Quick Setup, it throws an error "Calendar: Event URL is not set " is thrown if the events_source is not provided.
  • add - OnAfterModalShown and OnAfterModalHidden, so you can update your modal with javascript, useful to show correctly Google maps V3.
  • add - Allow to add custom classes to specific days, thus, now it's possible to give different colors to specific days as needed.

Translations

Version 0.2.3

11 Feb 03:49
Compare
Choose a tag to compare

Few critical fixes.

  • fix - bette skip disabled views.
  • add - Norwegian translation by @famthegeek
  • add - Czechs translation by @RadekUldrych
  • fix - CSS issues
  • add - date to event hours if even starts or ends out of current day.

close #234, #235

Version 0.2.2

30 Jan 15:07
Compare
Choose a tag to compare

Welcome new version 0.2.2 folks.

Demo

Day view

Finally we have day vew. In parameter you may now set

{
    "time_start": "06:00",
    "time_end": "22:00",
    "time_split": "30"
}

All events that ends before timeline range and events that starts after will be listed above and below.

2014-01-30_20-42-52

This feature was developed with help of @steliosph.

Other changes

  • fix - drop down arrow in year view
  • fix - bootstrap 3 btn-default missed by @hariharasudhankm
  • enhanced - Better modal support by @andreiavram. Added support for modal contents grab by ajax, template and an additional optional function to set the modal title. See README file.
  • fix calculation of events in month view
  • fix modal header and footer click collapse list of events. Close #169
  • fix typos in README by @RickyLin
  • add - allow using arrays in events_source
  • enhance - Handle events without a start and/or stop date (e.g. permanent events) by @davidfischer-ch
  • add composer.json by @Poyeyo
  • A lot of other small fixes and improvements.

Translations

Version 0.2.0-RC Release

11 Oct 13:27
Compare
Choose a tag to compare

Here is new version of calendar.js folks!

This version incorporate some very cool new features.

Load events

Most important that the way we load events has been changed.

Parameter events_url is now depreciated although still supported. New parameter events_source should be used instead.

And now this parameter may be a function and you can control from where and how you get your events.

Bootstrap 3

Support for Twitter Bootstrap 3 has ben added. But it is still compatible with Bootstrap 2 as well. Now calendar supports both Bootstrap versions 2 and 3 seamlessly.

On the demo you will find Use bootstrap 3 button to check it out.

Modal Window

Now you can open events in modal window. This is really helpful because user stay on the same page and calendar view and date stays untouched.

To enable modal window all you have to do is to add standard Bootstrap modal window HTML and pass its id to calendar.

<div class="modal hide fade" id="events-modal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3>Event</h3>
    </div>
    <div class="modal-body" style="height: 400px">
    </div>
    <div class="modal-footer">
        <a href="#" data-dismiss="modal" class="btn">Close</a>
    </div>
</div> 

and

$('#calendar').calendar({
    modal: '#events-modal'
});

On the demo you will see checkbox which will allow you to see how it works.

Timezone

Now calendar may detect and send browser timezone as a browser_timezone parameter to event feed URL. This may be sometimes very useful if you want to adjust events time on the server.

To use this feature you will have to include jsTimezoneDetect javascript. You do not need to set any parameter. Just include this script and it will start passing TZ to your events server.

This script is supplied in components folder #119.

Holidays

Holidays is a unique feature of calendar.js to display events repeated every year. This is where it shines. We had added some additional changed that make it even more advanced.

  • Added - #143 Allow definition of multi-day holidays. Like holidays from 1 Jan to 5 Jan.
  • Add Country-dependent holidays. Now set of holidays is bonded to language file. And when you change language, holidays will be also changed. Although there is a way to explicitly pass holidays that will be shown with any language file.
  • Improved - Holiday calculation code was significantly simplified and improved.
  • Added - Russian holidays to ru-RU.js Source: http://ppt.ru/kodeks.phtml?kodeks=17&paper=112

Other Fixes and Improvments

Along with listed bellow, there was many code optimizations and improvements.

  • Fixed - days highlights on event mouse over
  • Added - sort events when returned from local function - @mlocati
  • Improve - Hide overflowing header texts on calendar resize smaller - @mlocati
  • Improve - Use utf-8 chars instead of html entities - #136
  • Added - Show "No events in this day" in day view when no events
  • Improve - translations of es-ES.js, el-GR.js, fr-FR.js - @stevoo82
  • Improve - Use javascript:void(0) instead of # for empty event urls. So that if clicked the browser does not browse to '#', that would scroll the page to the top.
  • Fixed - Avoid error if event url is null or not specified - #124
  • Improve - Always have calendar JavaScript object in any template.
  • Fixed - #112 default position dates shared across instances on pages with more than one calendar.
  • Improved - README.md was checked and updated #104 @stevoo82
  • Fixed - #102 week when base date is Sunday and we have Monday as first day
  • Fixed - year view rows

Version 0.1.1-RC Release

12 Sep 15:05
Compare
Choose a tag to compare

Welcome new calendar.js release.

I am happy to say that this is very big release with tons of fixes, localisations, additions and improvements. What I like most is that now it is a truly public project. You can see a lot of people contribute and that is good news.

Translations

Additions and improvemnts

  • Some options moved to locale files + other fixes
    • first_day and enable_easter_holidays now may be specified also in language files
    • added all the currently available languages to the example page (and sorted them alphabetically)
    • added default first_day/enable_easter_holidays to language files
    • added two missing translations in French (Easter/Easter Monday)
    • added comments to the language template
  • Added - option to cache loaded templates or not. Basically for disabling cache during development.
  • Added - Path calendar object to week-days event #55
  • Change - Let 'this' be the calendar in the events - #49 from @mlocati
  • Added - language switcher to demo
  • Change - Intent with tab, normalize commands - #73 from @mlocati
  • Improve - added comments in language template for translators better understand string formats
  • Improve - month-day template so links are optional - #66 from @chrisjohnson00

Fixes

  • Fix - IE 8 compatibility #76
  • Fix - Use standard country code for Greece is GR not EL - #74 from @mlocati
  • Fix - calculation of time intervals - #71 from @mlocati
  • Fix - spelling Domingo it was Domino - #72 from @asantosdl
  • Fix - Let's state that end is exclusive. Consider "end" as exclusive: it's the very beginning of the next period
  • Fix - tooltip issue #62
  • Fix - calendar.js to use "proper" english as the default text - #60 from @chrisjohnson00
  • Fix - Incorrect computation of starting day. if first day of week was set to monday, events starting at sunday displayed incorrectly in week view - #59 from @izar-cz
  • Fix - Исправления в русском языковом файле - #61 from @m05quit0

And many other fives and improvements.

Roadmap

Here is small roadmap.

  1. Add hours view for week and day.
  2. Create small view templates. For example if you want to show calendat in a web site module or widget.

Version 0.1.0-beta Release

11 Aug 14:52
Compare
Choose a tag to compare

This release includes number of changes.

One important is - disable views.

For example you want calendar only month view. One thing you can avoid to create switch view buttons but you can click on the date in the month view and it renders day view.

This additional calendar initialization options prevent this behavior. If day view is disabled, it will not render it when you click on the date when in month view.

Other

  • Use GET instead of POST when request list of events #35
  • No holidays are there by default. Only those you explicitly pass to calendar. #32
  • Rename some grid classes from cal-span# to ca-cell# because in bootstrap they use class*="span" with affect calendar greed which is custom 7 columns grid unlike 12 columb bootstrap grid.
  • fix - script failed if null received as list of events.