Permalink
Switch branches/tags
Nothing to show
Commits on May 11, 2017
  1. Merge pull request #92 from rdalverny/use_wm_cache

    Use MediaWiki cache strategy and code
    LegNeato committed on GitHub May 11, 2017
  2. Update README.md

    * Add minimum MediaWiki version.
    * Fix embedded image.
    LegNeato committed on GitHub May 11, 2017
  3. Merge pull request #96 from hexmode/master

    Modifications for wikimo upgrade
    LegNeato committed on GitHub May 11, 2017
  4. ignore charts

    hexmode committed May 11, 2017
  5. Handle undefined values better

    hexmode committed May 11, 2017
  6. fix array to string error

    hexmode committed May 11, 2017
Commits on May 10, 2017
  1. merge

    hexmode committed May 10, 2017
  2. Remove dependency on HTTP::Request2 from PEAR

    Use MW's internal HTTP lib
    (also add ignores)
    hexmode committed May 10, 2017
Commits on Dec 30, 2016
  1. Use MediaWiki cache strategy and code

    This removes all BugzillaCache* classes and code that used it,
    replaces it with MediaWiki `wfGetCache($wgMainCacheType)`,
    which provides sensibly the same set of options.
    
    Doing so also simplifies a first install, by removing specific
    configuration for this extension.
    rdalverny committed Sep 27, 2016
Commits on Dec 28, 2016
  1. Merge pull request #91 from rdalverny/add_number_display

    Add number display
    LegNeato committed on GitHub Dec 28, 2016
  2. Merge pull request #88 from rdalverny/show_full_query_link

    Add a link to the Bugzilla query in the table summary
    LegNeato committed on GitHub Dec 28, 2016
Commits on Dec 27, 2016
  1. Merge pull request #87 from rdalverny/refactor_options

    Refactor consistent options
    LegNeato committed on GitHub Dec 27, 2016
  2. Merge pull request #82 from rdalverny/nicer_empty_state

    Do not show table if no bug is returned by Bugzilla API
    LegNeato committed on GitHub Dec 27, 2016
Commits on Sep 27, 2016
  1. Add test case

    rdalverny committed Sep 22, 2016
  2. Refactor _generate_id()

    rdalverny committed Sep 16, 2016
  3. Ensure a consistent, working options data structure

    Before this change, we were not so sure about the consistency of
    the BugzillaQuery $options member: there were several duplicate
    tests checking for 'include_fields' existence, type and correctness.
    
    This adds a prepare_options() method which validates configuration
    JSON string:
    - if it's not a valid JSON, it sets an error as before,
    - if it's an empty string or JSON, it sets a working default,
      so first time users get a working experience at once.
    
    This also introduces tests for this change, to document
    prepare_options() behaviour.
    rdalverny committed Sep 16, 2016
  4. Move query fetch() invocation out of the constructors

    Before this change, the invocation order was the following:
     - BugzillaRender(...),
     - Bugzilla::create(...),
     - new BugzillaOutput(...),
     - BugzillaQuery::create(...),
     - new BugzillaRESTQuery(...),
     - $this->fetch() => triggers the actual HTTP request.
    
    That's not great for testing separate entities.
    
    This change allows to build the whole chain above without
    implicitly triggering fetch().
    rdalverny committed Sep 16, 2016
  5. Fix syntax typo

    rdalverny committed with LegNeato Sep 27, 2016
  6. Add number display option

    Use it as an inlined HTML tag:
    <bugzilla type="count" display="number">{}</bugzilla>
    
    Fixes: #44
    rdalverny committed Sep 27, 2016
  7. Set a user agent when querying remote API

    A $wgBugzillaExtVersion is defined as a global,
    used by a new BugzillaRESTQuery::user_agent() method.
    
    Initial version is arbitrarily set at 1.0.0 to begin with,
    but that, and the versioning scheme to adopt, is left to discussion
    (I'd suggest http://semver.org).
    rdalverny committed with LegNeato Sep 16, 2016
  8. Add vendor to gitignore

    rdalverny committed with LegNeato Sep 26, 2016
  9. Add code style & linting rules for PHP

    This is based on Mediawiki boilerplate composer.json & phpcs.xml.
    This adds a Makefile too.
    
    To setup:
    
      $ make install-dev
      $ make lint
      $ make cs
    rdalverny committed with LegNeato Sep 26, 2016
Commits on Sep 22, 2016
Commits on Sep 8, 2016
  1. Do not show table if no bug is returned by Bugzilla API

    See: #50
    
    Division by $all=0 has been addressed by dfcec1f
    so #50 may be closed.
    
    Bugzilla uses 'Zarro Boogs found.' but even that may change:
    https://bugzilla.mozilla.org/show_bug.cgi?id=313647
    
    Replaces: #51
    rdalverny committed Sep 8, 2016
Commits on Dec 2, 2015
  1. Fix typo

    LegNeato committed Dec 2, 2015
  2. Merge pull request #74 from rhabacker/json-rpc

    Add json rpc support
    LegNeato committed Dec 2, 2015
Commits on Oct 1, 2015
  1. Merge pull request #76 from dennisroczek/master

    add license file + listing at Special:Version
    LegNeato committed Oct 1, 2015
  2. Merge pull request #73 from rhabacker/master

    postgresql fixes
    LegNeato committed Oct 1, 2015