Commit graph

18 commits

Author SHA1 Message Date
libraryupgrader fe03c7611b build: Updating npm dependencies
* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I5c3814b05eb051244fdd1e6d927b598099cb89da
2020-01-08 17:35:22 +00:00
Dejan Savuljesku ea984e5c2b Refactor the extension to support multiple auth modules
Please note, this patch requires a schema change before merging

Change-Id: I71286534d21d95083436d64d79811943c1a1d032
ERM: #14484
Bug: T218210
2019-06-18 10:45:21 +00:00
James D. Forrester a65f8d4439 jquery.qrcode: Set the border to unitless zero, per coding standards
Change-Id: If29cfb98c99f598a9138d59e0dfa6494138afcd9
2019-04-06 17:15:07 -07:00
James D. Forrester 4314ecdfd7 build: Fix max-len rule
Change-Id: Icf881651c5aa2928b1c686a9318f10416eaee431
2019-04-06 17:15:07 -07:00
James D. Forrester d584d7caa4 build: Fix no-undef rule
Change-Id: Ia473353d487c59f7c6ea7f07c9cfcbfc16d082a1
2019-04-06 17:15:07 -07:00
James D. Forrester 7aabb5450d build: Fix vars-on-top and one-var rules
Change-Id: I70612df6e936229f95bce96b3abff508c74a8a03
2019-04-06 17:15:07 -07:00
James D. Forrester f3c558e148 build: Scrap default IIFE with default globals
Change-Id: I423325dcab6af1aa3e0a76d78928686571145dac
2019-04-06 17:15:07 -07:00
James D. Forrester a4257261af build: Enable quotes rule and make pass
Change-Id: If987ce711b83b7e88b9ed279786b5320af17341e
2019-04-06 17:06:22 -07:00
James D. Forrester b4269c1037 build: Enable whitespace rules and make pass
Change-Id: I67f46bf01ccd42e9d3473e7238cc6cf6494e1505
2019-04-06 17:05:17 -07:00
Derk-Jan Hartman 968d9473c1 Prevent pagebreaking in the middle of the form
Bug: T150587
Change-Id: Ic3dc5fe2c7512ee9d72e15dc95dac3cb3f028774
2017-05-19 16:40:15 +02:00
Umherirrender dcb5bfe905 Add stylelint for css files
Fixed the following rule:
indentation

Change-Id: Ied3cff2da73568fb91c4190d0c346f165486431b
2017-04-17 21:45:43 +00:00
Derk-Jan Hartman 333d7fe532 Improve legibility of secret and tokens
- add space char seperators and create groups of 4 chars
- use monospace font
- increase the size of the codes slightly

Bug: T150907
Change-Id: Idb99f48b2d9eae6acacca80be61203ca6404782c
2016-11-23 20:39:41 +01:00
Kunal Mehta a6810b041d Hide empty square for QR code with CSS for no-JS users
Change-Id: Id557bce14a623d894e0b23123c8ef037ddd3cc53
2016-11-14 18:23:53 -08:00
Reedy 9cceee17cc Clean up code style and docblocks
* array() -> []
* spacing fixes
* dirname( __FILE__ ) -> __DIR__
* Add phpcs style checks using latest mediawiki-codesniffer to keep
  things clean.

Co-Authored-By: Bryan Davis <bd808@wikimedia.org>
Change-Id: I95735f928d3e5d6ac9d2a10d92b40ed01cf2737c
2016-09-30 14:40:06 -06:00
Brian Wolff 185bce5859 Fixup qrcode-generating js, to stop race condition.
Previously there was a race condition where the qrcode would
not show if the startup module finished loading prior to the
div that should contain the qrcode being loaded. This quite
commonly happened on wikipedia during a hit where js is cached
(But does not happen locally, my theory is that that is due to
how packets get split over the network but not from localhost).

Change it to use a normal RL module, as that seems best practise.
Also do not load the qrcode js on special pages that do not use it.
Finially, remove position:top as its not needed.

Bug: T136988
Change-Id: I5139f222207203d834bdc979b21c1fc94f242ac2
2016-06-20 03:42:28 -04:00
Paladox 41b9f5d2e7 Add grunt-contrib-jshint to npm
Change-Id: I6bcf5c2b98e918f675181c2fe283416f07cce982
2016-03-24 16:47:31 +00:00
Antoine Musso 71eb378707 Pass jshint
Ignore third party file modules/qrcode.js

Fix the few other errors:

modules/jquery.qrcode.js: line 47, col 10, Missing semicolon.
modules/jquery.qrcode.js: line 63, col 2, Mixed spaces and tabs.
modules/jquery.qrcode.js: line 81, col 10, Missing semicolon.

And clean trailing whitespaces while at it.

Bug: 61617
Change-Id: Ic462b567f1795c1fd5c4db7f7ed89b9b2d4c619e
2014-07-21 14:33:33 +02:00
Ryan Lane ac7f7b5a78 Initial check-in of OATHAuth
OATHAuth is an HMAC HOTP two factor authentication plugin.

Change-Id: Icc75edda755f0a86402524a1a2aa8899351adcc4
2012-05-09 10:16:41 -07:00