Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exactly match upstream dropbox library's functionality and algorithms #32

Merged
merged 115 commits into from
Jan 27, 2020

Commits on Mar 26, 2018

  1. Configuration menu
    Copy the full SHA
    f62f3e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2018

  1. Configuration menu
    Copy the full SHA
    166b17a View commit details
    Browse the repository at this point in the history
  2. Add unmodified data scripts from upstream

    The other files in upstream's data-scripts dir are used to generate
    data/*.txt, which we should just copy when they update them.
    These files are used (in upstream) to build src/adjacency_graphs.coffee
    and src/frequency_lists.coffee, and will be modified in the PHP port to
    instead build src/Matchers/frequency_lists.json and
    src/Matchers/adjacency_graphs.json
    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    b9e8bb7 View commit details
    Browse the repository at this point in the history
  3. Update the python scripts to generate json instead of coffee script

    adjacency_graphs.json is unmodified. Frequency_lists.json now contains
    additional datasets
    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    0d67738 View commit details
    Browse the repository at this point in the history
  4. Update notes re data files

    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    0e5a62c View commit details
    Browse the repository at this point in the history
  5. Fill in TimeEstimator::displayTime(), based directly on upstream's co…

    …ffeescript implementation
    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    44dbbde View commit details
    Browse the repository at this point in the history
  6. Update todo in notes

    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    3590c08 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7a532e3 View commit details
    Browse the repository at this point in the history
  8. Fix bad variable reference

    mkopinsky committed Mar 30, 2018
    Configuration menu
    Copy the full SHA
    74ac8e6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5284fd2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5736b87 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2018

  1. Configuration menu
    Copy the full SHA
    f123ffb View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2018

  1. Configuration menu
    Copy the full SHA
    6e36b73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77fa053 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b09c1c View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Configuration menu
    Copy the full SHA
    a9f230e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1898086 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f23bed7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab804fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ae780d View commit details
    Browse the repository at this point in the history
  6. Add remaining L33t tests

    mkopinsky committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    237847a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b761b0f View commit details
    Browse the repository at this point in the history
  8. Pin the version of phpunit

    mkopinsky committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    133b954 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c67d579 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    72bd4e4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    baf244c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cfa3c6b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9e565d0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cc509d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2018

  1. Configuration menu
    Copy the full SHA
    96be2fc View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2018

  1. Configuration menu
    Copy the full SHA
    858568e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    192f069 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13d2d66 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f6aa6e View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Reimplemented DateMatch to match upstream

    All date tests now pass
    clamburger committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    d2b8593 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1f465f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82c1037 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5fabb7 View commit details
    Browse the repository at this point in the history
  5. Ported sequence tests

    clamburger committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    f136dfb View commit details
    Browse the repository at this point in the history
  6. Ported repeat match

    clamburger committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    dcc2095 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ed0d379 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3f8fcb3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1fb3c31 View commit details
    Browse the repository at this point in the history
  10. Ported sequence test logic

    clamburger committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    959857e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    420a4f4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3f98082 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    578017d View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Configuration menu
    Copy the full SHA
    a54beb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    799c259 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b857bf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f0f680 View commit details
    Browse the repository at this point in the history
  5. Attempt to fix CI mark 2

    clamburger committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    5012159 View commit details
    Browse the repository at this point in the history
  6. Added a multiple pattern test for the matcher

    This matches with the omnimatch test upstream
    clamburger committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    4873a8e View commit details
    Browse the repository at this point in the history
  7. Ignore the .idea directory

    clamburger committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    278a594 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dd3947f View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2018

  1. Configuration menu
    Copy the full SHA
    e09540c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f4568c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a459084 View commit details
    Browse the repository at this point in the history
  4. Updated match-upstream.md

    clamburger committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    a474013 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. Added getGuesses to each matcher (except for Bruteforce)

    This includes tests
    clamburger committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    3fe5ea6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87e77e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72996f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. Configuration menu
    Copy the full SHA
    7d4a448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b00d852 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9915e8a View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. Merge pull request #1 from clamburger/match-upstream

    Ported matchers from upstream
    mkopinsky authored Jun 21, 2018
    Configuration menu
    Copy the full SHA
    74b589a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8b204f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdb1011 View commit details
    Browse the repository at this point in the history
  4. Add phpcs to travis build

    mkopinsky committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    da1f85d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a34c59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2d11485 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1343c69 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b5311f6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a7d3726 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. Configuration menu
    Copy the full SHA
    b55d75a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5d61c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f53e6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6952fb View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2 from mkopinsky/psr2

    Make the codebase PSR-12 compliant, plus time estimator stuff from @clamburger
    mkopinsky authored Jul 12, 2018
    Configuration menu
    Copy the full SHA
    50a4280 View commit details
    Browse the repository at this point in the history
  6. Added tests for feedback

    clamburger committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    40ddfac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    33bd583 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2841b89 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    502c4b2 View commit details
    Browse the repository at this point in the history
  10. Allow failures on PHP 5.5

    mkopinsky committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    d375bc9 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    1b87a2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    519883c View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2018

  1. Configuration menu
    Copy the full SHA
    99ef5f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6fca73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    695bd0c View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2018

  1. Configuration menu
    Copy the full SHA
    80d4a5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39ce02b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9674387 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f44499a View commit details
    Browse the repository at this point in the history
  5. Ported some additional logic for the L33tMatch from upstream

    We had a much simpler algorithm for detecting character substitutions,
    however it failed when dealing with certain characters. As such, this
    change just ports upstream's logic, with only minor changes.
    clamburger committed Jul 15, 2018
    Configuration menu
    Copy the full SHA
    5d03dc7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    933c8c7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5574fa View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2018

  1. Configuration menu
    Copy the full SHA
    ff6f480 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8d8368 View commit details
    Browse the repository at this point in the history
  3. Fixed SpatialMatch sometimes having an incorrect shiftedCount

    This affected passwords where there was a SpatialMatch that did
    encompass the first character, and the first character in the
    password was a shifted character
    clamburger committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    5ab1ab6 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2018

  1. Use a sorting algorithm that's as close to upstream as possible

    It's impossible for us to match all browsers exactly (since the way that
    elements that compare as equal as sorted is implementation-defined in
    JavaScript), but this gets us pretty close.
    clamburger committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    f2f540b View commit details
    Browse the repository at this point in the history
  2. Don't use array_fill with a length of zero

    This works around a PHP 5.5 issue
    clamburger committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    259025d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af11603 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2018

  1. Configuration menu
    Copy the full SHA
    a8a0113 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63c2aa4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e34690f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3d2272 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2018

  1. Configuration menu
    Copy the full SHA
    7f7c701 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. Configuration menu
    Copy the full SHA
    ee56150 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aea25a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09033ca View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3 from mkopinsky/match-upstream

    Match upstream
    mkopinsky authored Aug 1, 2018
    Configuration menu
    Copy the full SHA
    3d11c27 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' of https://github.com/bjeavons/zxcvbn-php

    # Conflicts:
    #	.travis.yml
    #	composer.json
    #	composer.lock
    #	src/Matcher.php
    #	src/Matchers/Bruteforce.php
    #	src/Matchers/DateMatch.php
    #	src/Matchers/DictionaryMatch.php
    #	src/Matchers/DigitMatch.php
    #	src/Matchers/L33tMatch.php
    #	src/Matchers/Match.php
    #	src/Matchers/MatchInterface.php
    #	src/Matchers/RepeatMatch.php
    #	src/Matchers/SequenceMatch.php
    #	src/Matchers/SpatialMatch.php
    #	src/Matchers/YearMatch.php
    #	src/Scorer.php
    #	src/ScorerInterface.php
    #	src/Searcher.php
    #	src/Zxcvbn.php
    #	test/MatcherTest.php
    #	test/Matchers/BruteforceTest.php
    #	test/Matchers/DateTest.php
    #	test/Matchers/DictionaryTest.php
    #	test/Matchers/DigitTest.php
    #	test/Matchers/L33tTest.php
    #	test/Matchers/RepeatTest.php
    #	test/Matchers/SequenceTest.php
    #	test/Matchers/SpatialTest.php
    #	test/Matchers/YearTest.php
    #	test/ScorerTest.php
    #	test/SearcherTest.php
    #	test/ZxcvbnTest.php
    mkopinsky committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    2ad3416 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. Update composer.json and README to use my own package name in prepara…

    …tion for public release
    mkopinsky committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    226fe12 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #6 from mkopinsky/prep-for-release

    Use my own package name in preparation for public release
    mkopinsky authored Sep 14, 2018
    Configuration menu
    Copy the full SHA
    30be803 View commit details
    Browse the repository at this point in the history
  3. Fix badges on readme

    mkopinsky authored Sep 14, 2018
    Configuration menu
    Copy the full SHA
    d5ebb26 View commit details
    Browse the repository at this point in the history