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

Core-ify "Random Keywords" plugin #2367

Merged
merged 15 commits into from Oct 2, 2019
Merged

Commits on Jan 27, 2014

  1. Plugin init

    ozh committed Jan 27, 2014
    Copy the full SHA
    c22db07 View commit details
    Browse the repository at this point in the history
  2. README & LICENSE

    ozh committed Jan 27, 2014
    Copy the full SHA
    f335070 View commit details
    Browse the repository at this point in the history
  3. With an s

    LeoColomb committed Jan 27, 2014
    Copy the full SHA
    ff83532 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2016

  1. Allow character to appear more than once

    Using str_shuffle means that each character can only occur once in the generated string. This reduces the number of permutations possible. For example, using base 36, and 4 characters, there are 36^4 = 1.68M, but the current function can only generate 36*35*34*33 = 1.41M of these. This alternative will use the whole range of possible strings.
    tipichris committed Jul 22, 2016
    Copy the full SHA
    1c4a0d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2017

  1. Merge pull request YOURLS#7 from tipichris/patch-1

    Allow character to appear more than once
    ozh committed Aug 1, 2017
    Copy the full SHA
    6ec10c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Convert random-keywords to a core plugin

    * Rename plugin and its functions
    * Update README with new name
    * Update license with current year
    * Make plugin refuse to activate if the old 'Normal plugin' version
      is still active.
    dgw committed Feb 27, 2018
    Copy the full SHA
    098f60a View commit details
    Browse the repository at this point in the history
  2. Import new core plugin random-shorturls

    This was formerly an external plugin named `random-keywords`.
    
    History from the `random-keywords` repo is kept.
    dgw committed Feb 27, 2018
    Copy the full SHA
    1ed5955 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2019

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

Commits on Sep 22, 2019

  1. Fix getting random character from charset

    If strlen($possible) is for example 36, rand could also return 36.
    But substr starts with position 0. So we have to subtract 1 from
    strlen($possible).
    
    ----
    
    Yoinked from YOURLS/random-keywords#10 by @dgw
    JensSpanier authored and dgw committed Sep 22, 2019
    Copy the full SHA
    547539e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ab06462 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. Copy the full SHA
    39e88c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2019

  1. Use conditional filter registration to avoid random-keywords conflict

    The conflict preventer function was broken anyway (ineffective logic AND
    incorrect syntax)
    dgw committed Sep 29, 2019
    Copy the full SHA
    3c51ccc View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Copy the full SHA
    7c965d2 View commit details
    Browse the repository at this point in the history
  2. Fix indentation

    ozh committed Oct 2, 2019
    Copy the full SHA
    729eaa4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d9d7c15 View commit details
    Browse the repository at this point in the history