Skip to content

Commit

Permalink
Update to release v1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Sep 4, 2017
1 parent 2f63e7a commit b793655
Show file tree
Hide file tree
Showing 42 changed files with 1,124 additions and 492 deletions.
128 changes: 128 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
Contributing to yii2-widget-datepicker
======================================
Looking to contribute something to yii2-widget-datepicker? **Here's how you can help.**

Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.

Using the issue tracker
-----------------------
When [reporting bugs][reporting-bugs] or
[requesting features][requesting-features], the
[issue tracker on GitHub][issue-tracker] is the recommended channel to use.

The issue tracker **is not** a place for support requests. Refer the
[widget documentation and demos](http://demos.krajee.com/widget-details/datepicker) and/or refer to the
[webtips Q & A forum](http://webtips.krajee.com/questions) which are the better places to get help.

Reporting bugs with yii2-widget-datepicker
------------------------------------------
We really appreciate clear bug reports that _consistently_ show an issue
_within yii2-widget-datepicker_.

The ideal bug report follows these guidelines:

1. **Use the [GitHub issue search][issue-search]** — Check if the issue
has already been reported.
2. **Check if the issue has been fixed** — Try to reproduce the problem
using the code in the `master` branch.
3. **Isolate the problem** — Try to create an
[isolated js fiddle][isolated-case] that consistently reproduces the problem
in case of javascript/client level code issues.

Please try to be as detailed as possible in your bug report, especially if an
isolated test case cannot be made. Some useful questions to include the answer
to are:

- What steps can be used to reproduce the issue?
- What is the bug and what is the expected outcome?
- What browser(s) and Operating System have you tested with?
- Does the bug happen consistently across all tested browsers?
- What version of jQuery are you using? And what version of yii2-widget-datepicker?
- Are you using yii2-widget-datepicker with other plugins?

All of these questions will help others fix and identify any potential bugs.

Requesting features in yii2-widget-datepicker
--------------------------------------------
Before starting work on a major feature for yii2-widget-datepicker, **read the
[documentation](http://demos.krajee.com/widget-details/datepicker) first** or you may risk spending a considerable amount of
time on something which the project developers are not interested in bringing into the project.

### Submitting a pull request

We use GitHub's pull request system for submitting patches. Here are some
guidelines to follow when creating the pull request for your fix.

1. Make sure to create a ticket for your pull request. This will serve as the
bug ticket, and any discussion about the bug will take place there. Your pull
request will be focused on the specific changes that fix the bug.
2. Make sure to reference the ticket you are fixing within your pull request.
This will allow us to close off the ticket once we merge the pull request, or
follow up on the ticket if there are any related blocking issues.
3. Explain why the specific change was made. Not everyone who is reviewing your
pull request will be familiar with the problem it is fixing.
4. Run your tests first. If your tests aren't passing, the pull request won't
be able to be merged. If you're breaking existing tests, make sure that you
aren't causing any breaking changes.
5. Only include source changes. While it's not required, only including changes
from the `src` directory will prevent merge conflicts from occuring. Making
this happen can be as a simple as not committing changes from the `dist`
directory.

By following these steps, you will make it easier for your pull request to be
reviewed and eventually merged.

Triaging issues and pull requests
---------------------------------
Anyone can help the project maintainers triage issues and review pull requests.

### Handling new issues

yii2-widget-datepicker regularly receives new issues which need to be tested and organized.

When a new issue that comes in that is similar to another existing issue, it
should be checked to make sure it is not a duplicate. Duplicates issues should
be marked by replying to the issue with "Duplicate of #[issue number]" where
`[issue number]` is the url or issue number for the existing issue. This will
allow the project maintainers to quickly close off additional issues and keep
the discussion focused within a single issue.

If you can test issues that are reported to yii2-widget-datepicker that contain test cases and
confirm under what conditions bugs happen, that will allow others to identify
what causes a bug quicker.

### Reviewing pull requests

It is very common for pull requests to be opened for issues that contain a clear
solution to the problem. These pull requests should be rigorously reviewed by
the community before being accepted. If you are not sure about a piece of
submitted code, or know of a better way to do something, do not hesitate to make
a comment on the pull request.

### Reviving old tickets

If you come across tickets which have not been updated for a while, you are
encouraged to revive them. While this can be as simple as saying `:+1:`, it is
best if you can include more information on the issue. Common bugs and feature
requests are more likely to be fixed, whether it is by the community or the
developers, so keeping tickets up to date is encouraged.

Licensing
---------

It should also be made clear that **all code contributed to yii2-widget-datepicker** must be
licensable under the [BSD-3 license][licensing]. Code that cannot be released
under this license **cannot be accepted** into the project.

[isolated-case]: https://jsfiddle.net/
[issue-search]: https://github.com/kartik-v/yii2-widget-datepicker/search?q=&type=Issues
[issue-tracker]: https://github.com/kartik-v/yii2-widget-datepicker/issues
[licensing]: https://github.com/kartik-v/yii2-widget-datepicker/blob/master/LICENSE.md
[reporting-bugs]: #reporting-bugs-with-yii2-widget-datepicker
[requesting-features]: #requesting-features-in-yii2-widget-datepicker
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## Prerequisites

- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- [ ] The issue still exists against the latest `master` branch of yii2-widget-datepicker.
- [ ] This is not an usage question. I confirm having read the [widget documentation and demos](http://demos.krajee.com/widget-details/datepicker).
- [ ] This is not a general programming / coding question. (Those should be directed to the [webtips Q & A forum](http://webtips.krajee.com/questions)).
- [ ] This is not a source plugin (datepicker) issue. (Those should be directed to the [plugin issues repo](https://github.com/datepicker/datepicker/search?q=&type=Issues)).
- [ ] I have attempted to find the simplest possible steps to reproduce the issue.
- [ ] I have included a failing test as a pull request (Optional).

## Steps to reproduce the issue

1.
2.
3.

## Expected behavior and actual behavior

When I follow those steps, I see...

I was expecting...

## Environment

Browsers

- [ ] Google Chrome
- [ ] Mozilla Firefox
- [ ] Internet Explorer
- [ ] Safari

Operating System

- [ ] Windows
- [ ] Mac OS X
- [ ] Linux
- [ ] Mobile

Libraries

- jQuery version:
- yii2-widget-datepicker version:

## Isolating the problem

- [ ] This bug happens [on the widget demos page](http://demos.krajee.com/widget-details/datepicker)
- [ ] The bug happens consistently across all tested browsers
- [ ] This bug happens when using yii2-widget-datepicker without other plugins
- [ ] I can reproduce this bug in [a jsbin](https://jsbin.com/)
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Scope
This pull request includes a

- [ ] Bug fix
- [ ] New feature
- [ ] Translation

## Changes
The following changes were made

-
-
-

## Related Issues
If this is related to an existing ticket, include a link to it as well.
99 changes: 56 additions & 43 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
Change Log: `yii2-widget-datepicker`
====================================

## version 1.4.3

**Date:** 04-Sep-2017

- Add github contribution and issue/PR logging templates.
- (enh #131): Added Romanian translations.
- (enh #128): Update bootstrap-datepicker to 1.7.1.
- (enh #127): Allow overriding the `form-control` input CSS class.
- (enh #120): Added Estonian translations.
- (enh #117): Added Dutch (NL) translations.
- (enh #116): Add Gujarati and Hindi language translations.
- (enh #115): Add Indonesian translations.

## version 1.4.2

**Date:** 02-Sep-2016

- (enh #107): Add Italian translations.
- (enh #108): Correct bootstrap datepicker CSS for source map url.
- Enhance PHP Documentation for all classes in the extension
- (enh #108): Correct bootstrap datepicker CSS for source map url.
- (enh #107): Add Italian translations.

## version 1.4.1

**Date:** 17-Aug-2016

- (enh #96): Update locale files for plugin.
- (enh #98): Add Japanese translations.
- (enh #102): Add Lithuanian translations.
- (enh #98): Add Japanese translations.
- (enh #96): Update locale files for plugin.

## version 1.4.0

**Date:** 28-Jun-2016

- (enh #86): Add Thai translations.
- (enh #95): Update to latest release v1.7 of bootstrap datepicker plugin.
- (enh #86): Add Thai translations.

## version 1.3.9

Expand All @@ -34,17 +47,17 @@ Change Log: `yii2-widget-datepicker`

**Date:** 25-Mar-2016

- (bug #75): Enhance clear button method to trigger input change correctly.
- Add branch alias for dev-master latest release.
- (enh #78): Add Slovak translations.
- (enh #84): Update to latest version 1.6.x of `bootstrap-datepicker` plugin.
- (enh #78): Add Slovak translations.
- Add branch alias for dev-master latest release.
- (bug #75): Enhance clear button method to trigger input change correctly.

## version 1.3.7

**Date:** 10-Jan-2016

- (enh #68): Add Czech translations
- Update year.
- (enh #68): Add Czech translations

## version 1.3.6

Expand All @@ -56,90 +69,90 @@ Change Log: `yii2-widget-datepicker`

**Date:** 28-Dec-2015

- (bug #63): Fix extra brace bug in plugin JS code.
- (enh #64): Enhance and improve language & locale validation.
- (bug #63): Fix extra brace bug in plugin JS code.

## version 1.3.4

**Date:** 27-Dec-2015

- (enh #45): Add Greek translations.
- (enh #46): Add Polish translations.
- Refactor code and code formatting improvements.
- Update to latest stable release (v1.5.0) of bootstrap-datepicker plugin.
- (enh #62): Add Turkish Translations.
- (enh #61): Add Swedish Translations.
- (enh #59): Clean up Greek translations
- (enh #56): Enhance widget to focus the input on opening datepicker via addon icon.
- (enh #55): Enhance plugin to validate `enableOnReadonly` correctly for all layout types.
- (enh #52): Fixed class name in DatePicker.
- (enh #50): Add French Translations.
- (enh #47): Enhancement for managing layout - **BC Breaking**.
- New property `layout` to control rendering of picker and remove buttons and add your own input group addons if necessary.
- The `addon` property will be removed as the `layout` property will allow better control for adding custom bootstrap input group addons.
- Will be applicable for `TYPE_COMPONENT_PREPEND`, `TYPE_COMPONENT_APPEND`, and `TYPE_RANGE`.
- (enh #50): Add French Translations.
- (enh #52): Fixed class name in DatePicker.
- (enh #55): Enhance plugin to validate `enableOnReadonly` correctly for all layout types.
- (enh #56): Enhance widget to focus the input on opening datepicker via addon icon.
- (enh #59): Clean up Greek translations
- (enh #61): Add Swedish Translations.
- (enh #62): Add Turkish Translations.
- Update to latest stable release (v1.5.0) of bootstrap-datepicker plugin.
- Refactor code and code formatting improvements.
- (enh #46): Add Polish translations.
- (enh #45): Add Greek translations.

## version 1.3.3

**Date:** 19-Jul-2015

- (enh #27): Enhance plugin to use no conflict approach.
- (enh #28): Update to latest ## version of bootstrap-datepicker.
- (enh #29): Fix locale js files to use the new noconflict `kvDatepicker` function.
- (enh #30): Add Ukranian translations.
- (bug #35): Parse `title` correctly for calendar/remove button addon.
- (enh #44): Fix markup for `DatePicker::TYPE_INLINE`.
- (enh #43): Correct triggering of `changeDate` event for `DatePicker::TYPE_INLINE`.
- (enh #41): Add Chinese translations.
- (enh #40): Add Latvian translations.
- (enh #36): Configure addon for prepend, append, and range.
- (bug #35): Parse `title` correctly for calendar/remove button addon.
- (enh #39): Add Spanish translations.
- (enh #40): Add Latvian translations.
- (enh #41): Add Chinese translations.
- (enh #43): Correct triggering of `changeDate` event for `DatePicker::TYPE_INLINE`.
- (enh #44): Fix markup for `DatePicker::TYPE_INLINE`.
- (enh #30): Add Ukranian translations.
- (enh #29): Fix locale js files to use the new noconflict `kvDatepicker` function.
- (enh #28): Update to latest ## version of bootstrap-datepicker.
- (enh #27): Enhance plugin to use no conflict approach.

## version 1.3.2

**Date:** 25-Feb-2015

- (enh #21): Add new remove button to clear dates. Applicable only for following `DatePicker` types:
- (enh #25): Improve validation to retrieve the right translation messages folder.
- (bug #24): Removes BOM charecters from the messages/ru/kvdate.php.
- (enh #22): Ability to configure picker button options. Applicable only for following `DatePicker` types:
- `DatePicker::TYPE_COMPONENT_PREPEND` and
- `DatePicker::TYPE_COMPONENT_APPEND`
- (enh #22): Ability to configure picker button options. Applicable only for following `DatePicker` types:
- (enh #21): Add new remove button to clear dates. Applicable only for following `DatePicker` types:
- `DatePicker::TYPE_COMPONENT_PREPEND` and
- `DatePicker::TYPE_COMPONENT_APPEND`
- (bug #24): Removes BOM charecters from the messages/ru/kvdate.php.
- (enh #25): Improve validation to retrieve the right translation messages folder.

## version 1.3.1

**Date:** 13-Feb-2015

- (enh #19): Store date picker widget type as data attribute
- Update datepicker plugin to the latest release.
- Use minified js files for locales.
- Set copyright year to current.
- Use minified js files for locales.
- Update datepicker plugin to the latest release.
- (enh #19): Store date picker widget type as data attribute

## version 1.3.0

**Date:** 25-Jan-2015

- Update to latest release of datepicker plugin.
- (enh #8): Create Tajikistan translations.
- (bug #16): Fix directory separator for assets path in setLanguage.
- (enh #8): Create Tajikistan translations.
- Update to latest release of datepicker plugin.

## version 1.2.0

**Date:** 04-Dec-2014

- (enh #1): Add a new markup TYPE_BUTTON with hidden input.
- (bug #3): Fix setLanguage asset locales registration.
- (enh #4): Auto validate disability using new `disabled` and `readonly` properties in InputWidget
- (enh #5): Include styling of markup rightly based on type for `disabled` and `readonly`
- (enh #4): Auto validate disability using new `disabled` and `readonly` properties in InputWidget
- (bug #3): Fix setLanguage asset locales registration.
- (enh #1): Add a new markup TYPE_BUTTON with hidden input.

## version 1.1.0

**Date:** 29-Nov-2014

- (enh #2): Enhance language locale file parsing and registering
- Set release to stable
- (enh #2): Enhance language locale file parsing and registering

## version 1.0.0

Expand Down
Loading

0 comments on commit b793655

Please sign in to comment.