Permalink
Commits on Jul 11, 2017
  1. Do not push element to initialized set if autocompleteLightInitialize…

    … listener is not yet set (#864)
    
    * Fixed JS autocomplete initializer (#819)
    
    Call initialize() manually once 'autocompleteLightInitialize' event
    listener is set on select2.js.
    
    This allows the initializer to be called even when the DOM is ready
    before select2.js was loaded.
    
    Also replaced 'element = $(this).get(0)' by 'element = this' which
    should be equivalent in this scope.
    
    * Fixed missing ;
    
    * Reset $(this).get(0) instead of this
    
    * jQuery.each(fun) passes and index as first argument to fun, not undefined
    
    * Simplified '$(this).get(0)' into 'this'
    
    * Avoid pushing input to the set of initialized elements if the autocompleteLightListener is not yet set.
    apinsard committed with jpic Jul 11, 2017
Commits on Jun 29, 2017
  1. Localization #871 (#872)

    * Add localization for dal_select2
    
    * Add .mo files
    dima-kov committed with jpic Jun 29, 2017
Commits on Jun 26, 2017
  1. Add missing classifiers in setup.py (#870)

    ad-m committed with jpic Jun 26, 2017
  2. Fix selector used to allow clearing non-required fields. (#868)

    zsiciarz committed with jpic Jun 26, 2017
Commits on Jun 7, 2017
  1. dal: prefer pristine jQuery to the django one (#861)

    First of all i can't see how select2 may work without a jQuery
    as a global $. Said that now when i have another copy of jQuery
    on top of the django one, select2 will register to $ but dal
    will set yl.jQuery to the django one instead.
    If we prefer using $ instead they'll both use the same jQuery
    instance and magically work.
    If there's not jQuery loaded as $ the code will behave as before.
    This makes dal working reliably in the admin for me.
    xrmx committed with jpic Jun 7, 2017
Commits on Jun 5, 2017
  1. Release 3.2.9 [ci skip]

    Signed-off-by: jpic <jpic@yourlabs.org>
    jpic committed Jun 5, 2017
Commits on May 22, 2017
  1. Fixed JS autocomplete initializer (#819) (#820)

    * Fixed JS autocomplete initializer (#819)
    
    Call initialize() manually once 'autocompleteLightInitialize' event
    listener is set on select2.js.
    
    This allows the initializer to be called even when the DOM is ready
    before select2.js was loaded.
    
    Also replaced 'element = $(this).get(0)' by 'element = this' which
    should be equivalent in this scope.
    
    * Fixed missing ;
    
    * Reset $(this).get(0) instead of this
    
    * jQuery.each(fun) passes and index as first argument to fun, not undefined
    
    * Simplified '$(this).get(0)' into 'this'
    apinsard committed with jpic May 22, 2017
Commits on May 4, 2017
  1. Release 3.2.8

    jpic committed May 4, 2017
Commits on May 2, 2017
  1. Small bug fixed in abstract Forward class.

    This probably hasn't affected anyone
    gagarski committed May 2, 2017
  2. Fix docstring typo

    gagarski committed May 2, 2017
Commits on Apr 28, 2017
  1. Optgroup list (#823)

    * Select2GroupListView
    
    Add a view that return grouped results for select2 optgroup-style widget
    
    Rebased, added some tests and handling some problably never happening
    cases
    
    * add doc for Select2GroupListView
    
    * fix python 2 compat
    jsurloppe committed with jpic Apr 28, 2017
  2. Allow boolean "data-html" attribute for widget on python side. (#841)

    * Allow boolean "data-html" attribute for widget on python side.
    
    * Update documentation for data-html attribute
    gagarski committed on GitHub Apr 28, 2017
  3. Support for forwarding radio buttons properly

    gagarski committed with jpic Apr 25, 2017
Commits on Apr 26, 2017
  1. rename_forward tests (#833)

    * Add functional tests for rename_forward app.
    Now they reuse scenarios from linked_data app.
    
    * checkqa fixes
    gagarski committed on GitHub Apr 26, 2017
  2. Release 3.2.7

    jpic committed Apr 26, 2017
Commits on Apr 25, 2017
Commits on Apr 24, 2017
Commits on Apr 14, 2017
  1. Release 3.2.4

    jpic committed Apr 14, 2017
  2. Merge pull request #813 from EvaSDK/json-error-return-400

    Return 400 on invalid input
    jpic committed on GitHub Apr 14, 2017
  3. Allow passing positional argument to py.test through tox

    e.g.: tox -- -x
    Gilles Dartiguelongue committed Apr 13, 2017
  4. Return 400 on invalid input

    Make sure invalid input data triggers a client error code rather than a
    server error code.
    
    Also return a 405 if method is not supported.
    Gilles Dartiguelongue committed Mar 17, 2017
  5. Release 3.2.3

    jpic committed Apr 14, 2017
Commits on Apr 13, 2017
  1. Merge pull request #799 from blag/master

    Support serializing UUIDs and add tests for models with UUIDs as PKs
    jpic committed on GitHub Apr 13, 2017
  2. Merge pull request #826 from beruic/patch-1

    Prevent rendering of empty option on multi select
    jpic committed on GitHub Apr 13, 2017
Commits on Apr 12, 2017
  1. Prevent rendering of empty option on multi select

    beruic committed with Jimmy Merrild Krag Apr 3, 2017
Commits on Apr 8, 2017
  1. Support serializing UUIDs

    blag committed Feb 6, 2017
Commits on Apr 7, 2017
  1. Release 3.2.2

    jpic committed Apr 7, 2017
Commits on Apr 6, 2017
  1. Merge pull request #827 from yourlabs/fix_tests

    Fix tests, most of the time :D
    jpic committed on GitHub Apr 6, 2017
  2. Make py.test verbose

    jpic committed Apr 6, 2017
  3. Decoupled select2 label cleaning

    jpic committed Apr 6, 2017
  4. Also recognize py.test

    jpic committed Apr 6, 2017
  5. Use more tenacity

    jpic committed Apr 6, 2017