1
0
mirror of synced 2024-11-24 22:06:07 +03:00
Commit Graph

2429 Commits

Author SHA1 Message Date
Kevin Brown
d53958ad2b
Clean up docs (#5528)
* Remove SauceLabs credentials

SauceLabs is no longer used during builds, so we no longer need to include these encrypted credentials.

* Clean up badges

* Remove SauceLabs from the README

* Misc README fixes

* Disable Travis email notifications

Looks like we accidentally re-enabled these when removing IRC.
2019-06-04 20:46:45 -04:00
Kevin Brown
0a612f92e1
Automatically deploy to NPM (#5527)
* Added deployments to NPM on tagged releases

Previously this was being done manually after each release, which resulted in a few releases not showing up on NPM for  a significant amount of time. Now the builds should be automatically pushed, which should hopefully improve a lot of the issues we were seeing.

* Drop IRC notifications

We no longer use this IRC channel.

* Clean up .travis.yml

* Remove grunt ci

This is no longer needed now that we don't do anything special for CI builds. This also allows us to minify during CI builds, which will be useful for the tagged builds which depend on these minified files being up to date (so they can get released as well).
2019-06-04 20:26:11 -04:00
Kevin Brown
04fce55967
Merge pull request #5507 from select2/develop
Release Select2 4.0.7
2019-05-07 16:14:21 -04:00
Kevin Brown
f8193c6c82
Merge pull request #5506 from select2/release/4.0.7
[Release] 4.0.7
2019-05-07 16:08:47 -04:00
Kevin Brown
5285eef7b5 Recompile dist for 4.0.7 2019-05-07 16:05:00 -04:00
Kevin Brown
20ffd1296a Bump versions for 4.0.7 release 2019-05-07 16:02:59 -04:00
Kevin Brown
d0ddab6ceb
Merge pull request #5494 from select2/develop
Release Select2 4.0.7-rc.0
2019-04-30 23:44:31 -04:00
Kevin Brown
df3c343490
Merge pull request #5493 from select2/release/4.0.7-rc.0
[Release] 4.0.7-rc.0
2019-04-30 23:41:42 -04:00
Kevin Brown
2596f2ab9c Update changelog for 4.0.7-rc.0 release 2019-04-30 23:37:24 -04:00
Kevin Brown
647533e981 Recompile dist for 4.0.7-rc.0 release 2019-04-30 23:37:08 -04:00
Kevin Brown
48e2f56fea Bump versions for 4.0.7-rc.0 release 2019-04-30 23:33:21 -04:00
Carlos Abalde
f6c455cea9 Do not close on select if Ctrl or Meta (Cmd) keys are being held as described in #3400 (#5222)
Fixes #3400
2019-04-30 23:29:11 -04:00
Kevin Brown
2a5f46bcc4
Move almost and jquery-mousewheel to devDependencies (#5489)
These two are required at build time to generate the full builds
of Select2 (for jQuery Mousewheel) and to inject the AMD loader
(for Almond.js). They are not required for anyone who depends on
Select2, since jQuery Mousewheel is an optional dependency.

This may result in some people needing to add jQuery Mousewheel to
their projects as a required dependency, if they were expecting
it to be added by Select2 before.
2019-04-30 23:15:22 -04:00
Austin S. Hemmelgarn
39bfabd94b Revert PR #5356. (#5492)
It doesn't really do what it says it does, and it introduces other
issues (single select elements re-open after selection).

Fixes #5490
2019-04-30 23:13:50 -04:00
Takashi Kanemoto
6009970b10 docs: add link to @ttskch/select2-bootstrap4-theme to README.md (#5487) 2019-04-28 00:06:02 -04:00
Kevin Brown
5dcc1022bf
Merge pull request #5488 from select2/develop
Release Select2 4.0.6
2019-04-27 23:14:15 -04:00
Kevin Brown
3e9809d715 Update changelog for 4.0.6 release 2019-04-27 23:02:30 -04:00
Kevin Brown
a2bfa6c867 Recompile dist for 4.0.6 release 2019-04-27 22:43:33 -04:00
Kevin Brown
a8ea4cc3e3 Bump versions for 4.0.6 release 2019-04-27 22:42:34 -04:00
Kevin Brown
b4aa3529f3 Removed unused files
* select2.jquery.json - This was previously used by the jQuery Plugin
  Registry which was shut down and put into read-only mode a few
  years ago. Since nobody else appears to use this file, it doesn't
  make sense for us to keep bumping the version in it and keeping it
  up to date.
* vendor/ - This was needed back when the full version of Select2
  actually bundled its own version of jQuery. Since we never actually
  did this, we no longer need to keep the copy of jQuery around.
2019-04-24 17:25:35 -04:00
Kevin Brown
650035cf38
Restore compatibility with data-* attributes in jQuery 2.x (#5486)
* Start running tests against jQuery 2.x

We were only running tests against jQuery 1.x before and they were
all passing. This was a problem because apparently all of the data-*
attribute tests fail in jQuery 2.x.  We are now running both the
integration and unit tests against both jQuery 1.x and jQuery 2.x.

Right now this resulted in a complete duplication of the test files
because there wasn't an obvious way to run the tests against both
versions. We're going to look into removing this duplication in the
future once the current issues are fixed.

We are also going to look into testing against jQuery 3.x in the
future, since that is also a supported line of jQuery.

* Force the data-* attributes to be parsed

There was a change made that switched us from using `$.data` and
`$.fn.data` internally to using an internal data store (managed
through internal utilities). This had the unfortunate side effect
of breaking the automatic loading of data-* options in versions of
jQuery other than 1.x, which included anything that would be
considered modern jQuery. While the change was made and approved
in good faith, all of the tests passed and the docs pages appeared
to be working, the tests really failed when running on newer versions
of jQuery. This was confirmed when we started running automated tests
against both versions, which confirmed the bug that others have been
seeing for a while.

The change was made becuase calling `$.fn.data` on an element which
contains a reference to itself in the internal jQuery data cache
would cause a stack overflow. This bug was well documented at the
following GitHub ticket and was resolved by no longer using
`$.fn.data`: https://github.com/select2/select2/issues/4014

Unfortunately because `$.fn.data` was no longer being called in a
way such that all of the data attributes would be dumped out, we
needed to find a replacement. The substitute that was given in the
original bug fix worked when the data cache was fully primed, but
we never primed it anywhere so it actually failed in the general
case. That meant we needed to find a way to manually prime it,
which is exactly what this change does.

* Clean up select2/utils
2019-04-27 22:20:56 -04:00
Kevin Brown
9f8b6fff40
[WIP] Get Grunt consistently working again (#5466)
Get Grunt consistently working again
2019-03-19 23:16:01 -04:00
Anastasios Gogos
5977856d81 minor fix (greek omega used has no diacritic) (#5464)
replaced \u03C9 (GREEK SMALL LETTER OMEGA: ω)
with \u03CE (GREEK SMALL LETTER OMEGA WITH TONOS: ώ)
2019-03-18 23:19:52 -04:00
Rodrigo
a9c1b617fa Update composer to remove deprecated dependency (#5165) 2019-03-18 22:36:26 -04:00
MaximAL
9032705e2a More suitable spelling ещё instead of еще (#5401) 2019-03-12 22:13:49 -04:00
Thanh Phan
97c5304518 Update Vietnamese (vi) translation (#5387) 2019-03-12 22:10:00 -04:00
Kevin Brown
b3705b13be Enable the Stale integration
Right now we have a ton of old, stale tickets and this should allow us to get a hold of the problem and try to get ahead of it.
2019-03-12 22:07:42 -04:00
Nisha Kaushik
14a059d7ee #4530 Add tooltip (title) to the 'remove all' 'X' icon. (#5291)
* #4530 Add tooltip (title) to the 'remove all' 'X' icon.

* #4530 Add tooltip (title) to the 'remove all' 'X' icon.

* #4530 Add tooltip (title) to the 'remove all'

* Revert dist folder.

* add tk.js from pull request.
2018-09-15 16:22:54 -03:00
Pedro Felipe de Azevedo Furtado
933189b92e
Update base.js 2018-09-15 01:14:25 -03:00
Pedro Felipe de Azevedo Furtado
db30f66afc
Update focusing-tests.js 2018-09-15 00:17:56 -03:00
Stephen
aac9916894 add cdn badges (#5167) 2018-09-15 00:06:14 -03:00
Pedro Felipe de Azevedo Furtado
c2acb18509
Update focusing-tests.js 2018-09-14 23:54:19 -03:00
Pedro Felipe de Azevedo Furtado
1062187958
Update defaults.js 2018-09-14 23:40:28 -03:00
Simon Charette
1764b8420f Added the right single quotation mark to diactritics. (#4337)
It should be simplified to a typewriter apostrophe.
2018-09-11 16:43:45 -03:00
Pedro Felipe de Azevedo Furtado
8bc269d63e
Update base.js (#5357) 2018-09-11 15:32:24 -03:00
Pedro Felipe de Azevedo Furtado
2ea17181e3
PR for -> autofocus isn't supported #3696 (#5356)
* Update core.js

* Update core.js

* Update core.js
2018-09-11 15:28:59 -03:00
Eliyas Hossain
e15046e959 Add Bangla (bn) localization (#5248) 2018-09-07 10:48:32 -03:00
Bowei Han
2b049c08ab Add scrollAfterSelect as a configurable option for multiselect dropdowns to allow toggling of highlightFirstItem() behaviour (#5150)
* Add scrollOnSelect as a configurable option

* default scrollOnSelect to true to avoid modifying existing behaviour

* added tests and default option for scrollAfterSelect
2018-09-05 17:36:20 -03:00
mlpo
e67c9aa34d Add missing diacritics to diacritics.js (#4118) 2018-09-05 14:31:46 -03:00
Alfredo Barron
2c613555ec Add integration in Angularjs (#4331) 2018-09-05 14:29:52 -03:00
Michael J Erwin
7c50570624 fix typo in comment in attachBody.js (#5182) 2018-09-05 14:27:11 -03:00
Pedro Felipe de Azevedo Furtado
60ee4a1179
Revert "Fix pluralization (#5307)" (#5354)
This reverts commit 5968dccc4c.
2018-09-04 22:14:22 -03:00
Albin
5968dccc4c Fix pluralization (#5307)
The test return always 's' in translations : inputTooLong, inputTooShort, maximumSelected
2018-09-04 22:13:50 -03:00
Tim Graham
ec7c57c288 Fix typos in comments (#5336) 2018-09-04 22:11:36 -03:00
Christian Fritsch
9e613ff22e Add drupal plugin (#5349) 2018-09-04 22:09:39 -03:00
Samundra Shrestha
d1a57156f7 Add Nepali (ne) localization (#5295)
* Add Nepali (np) localization

* rename np.js to ne.js

Closes #5294
2018-05-24 23:01:22 -04:00
Avtandil Kikabidze
3fb9e4fceb Add georgian (ka) localization (#5179)
* Add georgian (ka) localization

* Fix jshint warning

* Minor fix
2018-02-11 16:36:11 -05:00
ebejko
4346273721 Add Albanian localization (#5199)
* Add Albanian localization

* Fix travis error

* Rename al.js to sq.js
2018-02-11 16:31:24 -05:00
alexweissman
c90adc102b update changelog and compile+minify for 4.0.6-rc.1 2017-11-21 23:16:57 -05:00
rodrigo.perez
34e8b695f0 Fix up arrow error when there is no options 2017-11-21 20:38:03 -05:00