Commit Graph
100 Commits
Author SHA1 Message Date
Santhosh Thottingal 5444e17727 Avoid 'recalculate style' by conditionally change classes while scrolling
Change-Id: I71b42f9f974a1367700283ad55013e9e6a036827
2013-11-01 11:08:15 +05:30
Santhosh Thottingal a985d33d4b Use attr and prop consistently
Change-Id: If650d07686cafb6fceba60186843b5599404846c
2013-11-01 10:47:16 +05:30
Santhosh Thottingal 9ae403b671 Remove unnecessary object instance
Change-Id: I078a3a107d154bbcba7e1d49cbd6470b026ff869
2013-11-01 10:45:46 +05:30
Santhosh Thottingal 522b14fb23 Use text() instead of html() to set language names
Change-Id: I1374ac3ed9273302ea268596918a72c6b7a48579
2013-11-01 10:33:36 +05:30
Santhosh Thottingal 61f7bce6b3 Update Autonym font
Change-Id: I90f8791c4d05cf6a70fafc4dee62e50c5efd4b39
2013-10-23 20:19:56 +05:30
Santhosh Thottingal c5b11eabc9 Merge pull request #106 from siebrand/3
Update code formatting
2013-10-23 06:38:37 -07:00
Santhosh Thottingal a22781ff89 Merge branch 'kk-arab-autonym' of github.com:amire80/jquery.uls into amire80-kk-arab-autonym
Conflicts:
	src/jquery.uls.data.js

Change-Id: I56e485c5fc3a8d4eef9d44196d9fa4aa450e4b29
2013-10-23 19:06:46 +05:30
Santhosh Thottingal a48123ef1e Update Autonym font
Change-Id: I709ac5c90e50f4dab34b04a6befc4331ae9ebb24
2013-10-20 11:27:40 +05:30
Santhosh Thottingal e83494cab1 Formatting fixes
Change-Id: I75173f09527f84419d1b807e9e33ff673e0f5d1c
2013-10-17 14:50:09 +05:30
Santhosh Thottingal 1b5520432f Merge branch 'bug-39925' of github.com:MatmaRex/jquery.uls into MatmaRex-bug-39925 2013-10-11 20:45:36 +05:30
Santhosh Thottingal 9dddc411e9 Updated Autonym font
Change-Id: I6f18b97682b88c90d2362ebf954d614ea695ce78
2013-10-11 12:00:05 +05:30
Santhosh Thottingal b1d01d913e Updated Autonym font
Change-Id: I8a2f58283f0063693181c8e13f56cc7758a80c47
2013-10-07 17:02:37 +05:30
Santhosh Thottingal e54d85a124 Use Autonym font for autonyms
Change-Id: I5224cd020a6c6ba4f52f2be3a318216111b39394
2013-09-15 14:48:36 -07:00
Santhosh Thottingal 33ec9285e3 Use events instead of callbacks for success or no results
Allows extension users to bind for this event, also reduces callbacks

Change-Id: I14cc6d51ad23432956e3ea3275c72db26d71a8c8
2013-08-15 12:16:12 +05:30
Santhosh Thottingal d40c160cf6 Merge pull request #107 from kartikm/master
Fix spelling mistakes
2013-08-04 23:41:36 -07:00
Santhosh Thottingal ab9b01444f Update to latest grunt
Change-Id: I69701a230426af9fa22d3cd312cb24bdc6cf5072
2013-08-01 15:13:00 +05:30
Santhosh Thottingal 6d92fa3a36 Update README.md 2013-08-01 10:38:45 +05:30
Santhosh Thottingal 31888278ca Merge pull request #103 from siebrand/jquery-1.10.1
Update to use jQuery 1.10.1
2013-07-08 02:16:56 -07:00
Santhosh Thottingal 8ea5e8d2a3 Merge pull request #102 from amire80/semicolon
Add missing semicolon
2013-07-08 00:56:10 -07:00
Santhosh Thottingal 7c47112ae6 Fix: IE 8 not displaying the section titles for language lists
Changed the way those elements were constructed using jQuery

Change-Id: Ib2b7f454dd0cc1ff38342cf7cc2c6c73a4796c6c
2013-06-12 10:55:32 +05:30
Santhosh Thottingal fa667f0c14 Improve the scroll to view port logic
Do minimal scroll when top of the window is out of view

Change-Id: I8a2eb01451961655b651d53763356bd7e0aa5abf
2013-06-12 09:02:09 +05:30
Santhosh Thottingal 5f2b646c42 Do not propagate enter event to parent page elements from ULS search box
Change-Id: I18b8b746ed8bff2b0e06a8b05a2c6e69c7899293
2013-06-10 14:34:08 +05:30
Santhosh Thottingal 05e34d5dfa Fix two js error possibilities
Change-Id: I92ed487e7b5c70ef7851575eec676276e1ea905b
2013-06-10 14:33:17 +05:30
Santhosh Thottingal 5541608278 Smooth scrolling for ULS window to viewport
provide a jquery plugin function $.fn.scrollIntoView

Change-Id: Id0e5d3b385a13ab38089f8ae82e886c29a35e27a
2013-06-05 17:54:41 +05:30
Santhosh Thottingal db87f74096 Scroll the window to view
Change-Id: I13afd396007f951c105156373ea0c961ec4e712d
2013-05-31 14:38:08 +05:30
Santhosh Thottingal 2507438b29 Merge pull request #96 from pauginer/adjust-height
Adjusted language list height
2013-05-30 23:33:33 -07:00
Santhosh Thottingal 9a98249d2e Merge branch 'master' of github.com:wikimedia/jquery.uls 2013-05-24 17:16:40 +05:30
Santhosh Thottingal dceb664b04 Clear the search once a search and selection is done
See https://bugzilla.wikimedia.org/show_bug.cgi?id=48151

Change-Id: I7b354835c7ff438bb665ca6f9b62da6ff5059e1c
2013-05-24 17:12:54 +05:30
Santhosh Thottingal bc23e213b2 Merge pull request #83 from amire80/bug_42383
Don't ignore backspace in the search box
2013-04-11 03:39:34 -07:00
Santhosh Thottingal fc110f324e Merge branch 'master' of github.com:wikimedia/jquery.uls 2013-03-26 09:30:10 +05:30
Santhosh Thottingal b804a6dee7 Merge pull request #81 from pauginer/compact-version-styling
Small CSS adjustments for compact mode
2013-03-25 21:00:50 -07:00
Santhosh Thottingal 61256a4dbc Load jQuery 1.8.2 from CDN
Change-Id: I5c648c799678c488f105b9132dd94d64d4b82dce
2013-03-26 09:28:19 +05:30
Santhosh Thottingal bdcff98935 Merge branch 'master' of github.com:siebrand/jquery.uls into siebrand-master
Change-Id: I3795440ca3306fd5c1c16ffc3c247b0cf2a528d8
2013-03-26 09:28:06 +05:30
Santhosh Thottingal 0340e609a0 Expose compact mode as an option
* some minor space cleanup
* Also close the ULS window when clicked outside

Change-Id: I06b465926196f79e47990e80e3b23f5a16474ba3
2013-03-15 14:57:19 +05:30
Santhosh Thottingal 8c070327b3 Merge pull request #77 from pauginer/css-fixes
CSS fixes to avoid rules to be overriden
2013-02-26 01:56:48 -08:00
Santhosh Thottingal fc8e7f9a7c Merge pull request #76 from pauginer/svg-icons
Adding SVG version of icons and map for ULS
2013-02-07 04:44:43 -08:00
Santhosh Thottingal 6c785a64f4 Merge pull request #75 from pauginer/settings-at-bottom
Settings at the bottom of the ULS
2013-02-06 02:30:08 -08:00
Santhosh Thottingal ca18edd0dd Merge pull request #63 from amire80/bug_43568
Render every region only once
2013-01-07 06:44:04 -08:00
Santhosh Thottingal 0e61876af5 Merge branch 'extra_languages' of git://github.com/amire80/jquery.uls into amire80-extra_languages
Conflicts:
	src/jquery.uls.data.js
	src/jquery.uls.data.utils.js

Change-Id: I9c321891707b0d68328f4e4c8be1bd451794072d
2013-01-07 15:45:48 +05:30
Santhosh Thottingal 680e14196d Merge pull request #59 from amire80/arrange_aliases
Aliases for all the languages that need them
2013-01-02 02:33:22 -08:00
Santhosh Thottingal 33eda41b6f Merge pull request #57 from siebrand/master
Update docs
2012-12-28 20:23:06 -08:00
Santhosh Thottingal 8c54381e58 Change double quotes to single quotes
Change-Id: I4684a4bc4ac26fffba7310891106d254e893dd63
2012-12-24 16:29:14 +05:30
Santhosh Thottingal 38d5826b72 Remove all deprecated methods
Change-Id: I8f6507f264ace851483d317af38733be46c51091
2012-12-24 16:18:26 +05:30
Santhosh Thottingal c5d2d19e1e Merge pull request #55 from amire80/langdb_aliases_cleanup
Add basic support for redirects
2012-12-24 02:32:32 -08:00
Santhosh Thottingal b34cbbe9d2 Limit the grid to 'grid' class
Change-Id: I60dd826ddee0861c05bc6b0cadc8bdc1eb3a6488
2012-11-28 14:59:56 +05:30
Santhosh Thottingal d0ef38c1e2 Donot close when clicked outside
Change-Id: Ib94423e8c26f69cdba460e21e9bcaee1a436e187
2012-11-21 17:33:16 +05:30
Santhosh Thottingal 9938c9685e minor whitespace fix 2012-11-21 17:17:16 +05:30
Santhosh Thottingal cbc8d3b2c0 Merge branch 'master' of github.com:wikimedia/jquery.uls 2012-11-21 17:13:32 +05:30
Santhosh Thottingal b3a3f48c3b On show hide any other ULS menus visible 2012-11-21 17:09:12 +05:30
Santhosh Thottingal 8f15d97ab4 Merge pull request #46 from pauginer/region-cursor
Cursor adjustment for regions in the 'no found' view
2012-11-20 03:40:39 -08:00
Santhosh Thottingal ee26fe514c Merge pull request #41 from siebrand/master
Update to jQuery 1.8.3.
2012-11-19 01:37:06 -08:00
Santhosh Thottingal 04edfa90c8 Ignore control characters in typeahead
Fix https://bugzilla.wikimedia.org/show_bug.cgi?id=40171
2012-11-19 12:12:25 +05:30
Santhosh Thottingal 5626a4cf92 Some minor changes for code readability 2012-11-19 11:15:44 +05:30
Santhosh Thottingal b7bc685d80 Merge pull request #38 from amire80/cleanup/2012/11/16
Cleanup/2012/11/16
2012-11-16 04:24:04 -08:00
Santhosh Thottingal 641218f624 Remove href attributes
People like to middle click -
https://bugzilla.wikimedia.org/show_bug.cgi?id=41988
2012-11-14 20:11:24 +05:30
Santhosh Thottingal 8c3b61b1a1 Fix issue #32 - Clicking a region on map sets focus in search bar; onscreen keyboard covers list
Change-Id: I15703614b5fdb2201f7dcbfd47a5095e033032f3
2012-11-13 14:22:10 +05:30
Santhosh Thottingal 38b870dfe4 Address review comments by Niklas in MW gerrit
https://gerrit.wikimedia.org/r/#/c/32865/

Change-Id: I7e9e25c3f62bc577b1483f5035e88327a12837c0
2012-11-11 12:48:45 +05:30
Santhosh Thottingal cff31e7abb Fix issue #31 - Add onCancel callback
Change-Id: I207b60846a899912dcc5f79f92e9b1ad75e525a3
2012-11-10 17:52:44 +05:30
Santhosh Thottingal 642dd3c8cc Remove deprecated $.browser
Fixes issue #33

Change-Id: Idda5d77293baedf8d93b70a146a545ff6986aaa5
2012-11-10 17:09:57 +05:30
Santhosh Thottingal 0be1e38d14 Fix issue #24 - Search results replaced with full list when scrolling
Change-Id: Iba3a798c9b4980943aded1ed145081fecc0367e3
2012-11-08 15:43:36 +05:30
Santhosh Thottingal 06384a02e4 Remove unused variable
Change-Id: I41154e6c79b215945ccefe729d2a50b38d67f5c2
2012-11-08 15:04:06 +05:30
Santhosh Thottingal 2c9a2b6517 Add an example for limiting the number of languages to be searched/displayed
Change-Id: I29450e9669a41b7ee6f5e3a38ab682650a60e745
2012-11-08 13:08:11 +05:30
Santhosh Thottingal 5e66a8a163 Fixed issue #27 - Clicking on language links goes to "#"
Change-Id: I8f675a00dc697540df4e011cdb58e1b423b9f191
2012-11-08 12:14:57 +05:30
Santhosh Thottingal 0717a797da Merge pull request #30 from brion/espanol-fix
issue 25: fix bogus char in 'español de America Latina'
2012-11-07 22:35:58 -08:00
Santhosh Thottingal 60f07e618c Merge pull request #28 from brion/typo-fix
typo fix in comment
2012-11-06 09:13:28 -08:00
Santhosh Thottingal c905fe133f Update README.md 2012-10-28 15:28:51 +05:30
Santhosh Thottingal 642668d0ae Introduce lazyload option with default value true.
This can be set false when language list is very small.

Change-Id: I024f01a2a62f0d0def553e2d6f7a3fdcce1a7968
2012-10-26 10:53:13 +05:30
Santhosh Thottingal 5c6d244c97 Merge branch 'master' of github.com:wikimedia/jquery.uls 2012-10-26 10:37:32 +05:30
Santhosh Thottingal 27b8babfa9 Use lazy loading of regions only where language list is big 2012-10-26 10:29:21 +05:30
Santhosh Thottingal 1907200f10 Merge pull request #18 from siebrand/master
Fix for issue 17
2012-10-24 05:56:12 -07:00
Santhosh Thottingal c883c3a774 Avoid jumping to WW while scrolling up.
Correct the precision of scroll top by taking padding into account.
Fixes https://bugzilla.wikimedia.org/show_bug.cgi?id=39224

Change-Id: I988e9a09018bf2d5c27f11d21947e036c79f56b9
2012-10-24 18:18:18 +05:30
Santhosh Thottingal 761c845ad2 Fix ULS: Pointer style target should match click target
Reported at https://bugzilla.wikimedia.org/show_bug.cgi?id=41314
Also removed unwanted a tag

Change-Id: Id3eeabf76a12a8ec2c0d38b27b868216a2f785e0
2012-10-24 12:01:07 +05:30
Santhosh Thottingal 934cc6136b Merge pull request #15 from pauginer/master
Small CSS adjustments to emphasize search bar and connection to the list.
2012-10-17 04:49:30 -07:00
Santhosh Thottingal 6c6794ae0c Merge branch 'master' of github.com:wikimedia/jquery.uls 2012-10-17 14:21:21 +05:30
Santhosh Thottingal 568c626abe Update grunt.js to use grunt-contrib-copy instead of grunt-cp 2012-10-17 14:21:06 +05:30
Santhosh Thottingal 27a522cbfc Update grunt.js to use grunt-contrib-copy instead of grunt-cp 2012-10-17 14:15:41 +05:30
Santhosh Thottingal 8fdb94d1f0 Merge pull request #14 from amire80/2012/remove_deprecated_languagesInScripts
Replaced the deprecated languagesInScripts function
2012-10-15 08:45:52 -07:00
Santhosh Thottingal 983cd129cf Do not fail when jquery.i18n is not present
Change-Id: Ieed87c23cac842e8d9f6de54b1d2d4af9586ce4f
2012-10-15 19:09:39 +05:30
Santhosh Thottingal 04c5cc1e23 Merge branch 'master' of github.com:wikimedia/jquery.uls
Conflicts:
	examples/index-i18n.html
2012-10-09 19:44:01 +05:30
Santhosh Thottingal 76094b8e03 i18n the placeholder text in language selector and correct the onready
callback
2012-10-09 19:41:32 +05:30
Santhosh Thottingal e5880573a6 Merge pull request #12 from amire80/2012/bug_39224/stabilize_scrolling
Refactoring scrolling code
2012-10-08 08:48:52 -07:00
Santhosh Thottingal dfe6fcbb13 Merge pull request #8 from amire80/2012/bug_39932/no_cyclical_region_click
Do nothing if the clicked region is already selected
2012-10-08 02:35:30 -07:00
Santhosh Thottingal ff969c09fb Merge pull request #11 from amire80/2012/10/08/css_lint
Fix a few trivial CSS lint issues
2012-10-08 02:08:53 -07:00
Santhosh Thottingal 96a4303202 Merge pull request #9 from amire80/2012/bug_39963/cleanup_function_names
Rename functions in uls.data.utils
2012-10-08 02:06:28 -07:00
Santhosh Thottingal f35d20128f Merge pull request #10 from amire80/santhosh-tests
More QUnit tests
2012-10-07 22:59:59 -07:00
Santhosh ThottingalandAmir E. Aharoni fc28cfeb3b Add qunit tests
Importing the tests from MediaWiki gerrit

Change-Id: I2aec075b5ea04f927e2ee0a0e747334ba9efb4a0
2012-10-08 07:43:41 +02:00
Santhosh Thottingal 145dec9beb Merge pull request #6 from pauginer/master
Making the world map lighter
2012-10-02 05:55:21 -07:00
Santhosh Thottingal be118f1358 Add qunit tests
Importing the tests from MediaWiki gerrit

Change-Id: I2aec075b5ea04f927e2ee0a0e747334ba9efb4a0
2012-10-02 14:23:01 +05:30
Santhosh Thottingal ca7ba74e5e Merge pull request #5 from amire80/cldr_handling_updates
CLDR handling updates
2012-09-24 17:46:48 -07:00
Santhosh Thottingal 61649c567b Merge pull request #4 from amire80/master
Starting RTL support (copied from Gerrit, except the tests)
2012-09-24 16:57:17 -07:00
Santhosh Thottingal 5f12a3d444 License and README 2012-09-23 21:46:30 -07:00
Santhosh Thottingal 9d988dbafe Scroll improvements
* Load the next region when scroll reached half of the current
  region
* Fix the scroll sync with region highlight in both up and down
  scrolls
* Address Bug 39923 - Make scroll to next region more fluent
2012-09-23 21:35:37 -07:00
Santhosh Thottingal 9beee9697a Localization updates and documentation 2012-09-23 13:09:51 -07:00
Santhosh Thottingal 2bdc515930 Correct the jquery object for i18n
Change-Id: Ic6fc68f27f9944d869206076951e3b7cdaac6f07
2012-09-22 10:05:01 -07:00
Santhosh Thottingal 2ce2718315 Build system updates
Handle i18n and images properly

Change-Id: Idbdf141601cb1dbd5110431982022e0481156645
2012-09-22 10:03:55 -07:00
Santhosh Thottingal 0781f022dd Internationalize ULS
* internationalize ULS when jquery.i18n is present. Otherwise use the
fallback English interface
* Example with and without i18n
* Message files for few languages
2012-09-21 22:24:06 -07:00
Santhosh Thottingal 2ce74db801 Grunt updates and travis build integration
Change-Id: Ia479b903908f01e82750e9e35dff6c6aef6c36ae
2012-09-18 21:04:37 -07:00
Santhosh Thottingal 2deeb98f6c Updated README
Change-Id: I527516ea52ffe3a1d28f3e4d386c50ed8b6acad1
2012-09-18 21:00:53 -07:00
Santhosh ThottingalandNiklas Laxström 0747e74365 User region names instead of region codes
* Till i18n is in place, use a workaround to show region names in
  English

Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal f3967d9b11 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30