Permalink
Commits on Sep 12, 2014
  1. Squashes migrations together

    adammulligan committed with agnessa Sep 12, 2014
    No need for multiple migrations for such simple tables
  2. Adds preset tag seeds

    adammulligan committed with agnessa Sep 11, 2014
  3. Document tags are editable

    adammulligan committed with agnessa Sep 11, 2014
  4. Lists tags in Select2 box on document edit page

    adammulligan committed with agnessa Sep 11, 2014
    Saving currently failing as the Document does not accept nested
    attributes for tags.
  5. Creates a DocumentTag model for handling document tags

    adammulligan committed with agnessa Sep 11, 2014
    The DocumentTags will be pre-seeded, and Documents will be able to have
    many tags.
Commits on Sep 10, 2014
  1. Adds number to Document model

    adammulligan committed with agnessa Sep 10, 2014
  2. Fixes my hasty fix for the document batch POST

    adammulligan committed with agnessa Sep 10, 2014
    Nested forms actually posts numerically indexed hashes, rather than
    arrays. Tests updated to reflect this. Original code was working!
  3. Fixes document attribute assignment in document batch upload

    adammulligan committed with agnessa Sep 10, 2014
    `.each` was incorrectly being used as if it was `.each_with_index`
  4. Removes datepicker init JS

    adammulligan committed with agnessa Sep 10, 2014
    No need as automatically performed on elements with datepicker class
  5. Adds datepickers to documents search filters

    adammulligan committed with agnessa Sep 10, 2014
    * Uses jquery UI since that's already here, and non-terrible.
    * Also changes the form to use bootstrap's suggested form <div>s
      because, although not semantic, they make styling a lot easier.
Commits on Sep 9, 2013
Commits on Jun 19, 2013
  1. Remove myself from travis config (somewhat ironically I will be unabl…

    adammulligan committed Jun 19, 2013
    …e to find out if this errors the build)
Commits on Mar 19, 2013
  1. Merge branch 'master' into reference_relationships

    adammulligan committed Mar 19, 2013
    * master:
      added save & reopen button to comon names popup
      replaced bootstrap-generators with bootstrap-sass
      Removed add suspension button from TC page as Suspension can be managed separately
      added laws dropdown, foreign keys and some minor form tweaks
      Added conditions apply field to eu decisions
      Add validations for end date and taxon concept, plus specs
      Moved CITES/EU options to dropdown tab
      Updated EU Decision model spec to include restriction validations
      Fixed EU forms so that they display the current objects attributes if editing
      Added specs for EU opinions and suspensions
      Minor style and display fixes for EU opinions and suspensions
      Added EU Suspension CRUD
      Added EU opinions CRUD
      EU Opinions and Suspensions
Commits on Mar 18, 2013
  1. Changed TaxonConceptReferences so that they are added without having to

    adammulligan committed Mar 18, 2013
    save the TaxonConcept
    
    Previously the Taxon Concept would have to be saved, causing costly
    validations to be run. Now, instead, we use nested attributes to save a
    reference directly to the TaxonConceptReferences controller. This comes
    with its own issues, such as resulting in a slightly more verbose
    controller to handle searching for references and adding by ID.
Commits on Mar 14, 2013
  1. Merge branch 'eu_opinions_and_decisions' of github.com:unepwcmc/SAPI …

    adammulligan committed Mar 14, 2013
    …into eu_opinions_and_decisions
    
    * 'eu_opinions_and_decisions' of github.com:unepwcmc/SAPI:
  2. Merge branch 'master' of github.com:unepwcmc/SAPI into eu_opinions_an…

    adammulligan committed Mar 14, 2013
    …d_decisions
    
    * 'master' of github.com:unepwcmc/SAPI:
      do not disable triggers when just rebuilding mviews
      small fixes (mostly old routes references)
    
    Conflicts:
    	app/views/admin/taxon_concepts/_basic_info.html.erb