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

Update to Django 1.9 and store parameters as JSON object #822

Merged
merged 118 commits into from
Feb 26, 2018

Commits on Feb 5, 2018

  1. upgrade to Django 1.9

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    945ec65 View commit details
    Browse the repository at this point in the history
  2. Update settings.py

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    69f5190 View commit details
    Browse the repository at this point in the history
  3. Get rid of unused csv django plugin

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    39e4c55 View commit details
    Browse the repository at this point in the history
  4. Update jsonfield and uuid field for 1.9

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    a1c9b89 View commit details
    Browse the repository at this point in the history
  5. temp fix to print stack trace on warnings

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    47003df View commit details
    Browse the repository at this point in the history
  6. Pull in changes from 814

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    9e7088c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8de8922 View commit details
    Browse the repository at this point in the history
  8. Use JSONField type from postgres 9.4

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    952ae99 View commit details
    Browse the repository at this point in the history
  9. Restore init migration uuid default to None and save btax result as t…

    …extfield (same as before at SQL level)
    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    82e3d63 View commit details
    Browse the repository at this point in the history
  10. Restore default to None in init and add new default as migration for …

    …tb and btax
    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    bfdd439 View commit details
    Browse the repository at this point in the history
  11. Fix to_python call

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    26f5562 View commit details
    Browse the repository at this point in the history
  12. context_processors moved from core to template

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    2f6e28b View commit details
    Browse the repository at this point in the history
  13. Update url patterns and template settings

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    6524e8c View commit details
    Browse the repository at this point in the history
  14. question on static setting

    Henry Doupe committed Feb 5, 2018
    Configuration menu
    Copy the full SHA
    365b447 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2018

  1. quick hack for taxbrain-static forms

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    d261f60 View commit details
    Browse the repository at this point in the history
  2. clean up old dubugging print statement

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    f9c0e92 View commit details
    Browse the repository at this point in the history
  3. Use request.POST for taxbrain/views.py

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    0c6ccb4 View commit details
    Browse the repository at this point in the history
  4. Use postgresql for tests

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    d647e32 View commit details
    Browse the repository at this point in the history
  5. add postgres add on for travis

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    1054035 View commit details
    Browse the repository at this point in the history
  6. Remove print statement for debugging

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    9aa97cb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fc03666 View commit details
    Browse the repository at this point in the history
  8. Use lowercase environ

    Henry Doupe committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    557626e View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Configuration menu
    Copy the full SHA
    60217e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80d715a View commit details
    Browse the repository at this point in the history
  3. Clean up travis script

    Henry Doupe committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    771e428 View commit details
    Browse the repository at this point in the history
  4. Create db before script

    Henry Doupe committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    d746aa3 View commit details
    Browse the repository at this point in the history
  5. Try adding test database name

    Henry Doupe committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    7495ba9 View commit details
    Browse the repository at this point in the history
  6. Maybe we need a username

    Henry Doupe committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    cef5796 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Refactor database initiation

    Henry Doupe committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    cdb45e8 View commit details
    Browse the repository at this point in the history
  2. Automate local dev database creation

    Henry Doupe committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    16b7524 View commit details
    Browse the repository at this point in the history
  3. Further database credential tweaking

    Henry Doupe committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    9f65b08 View commit details
    Browse the repository at this point in the history
  4. Rename forms class and remove unused code

    Henry Doupe committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    9558d11 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Remove unused taxbrain form import

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    77e5c3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cfd34f View commit details
    Browse the repository at this point in the history
  3. Add raw_fields and fields

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    b4492bc View commit details
    Browse the repository at this point in the history
  4. Change form to TaxBrainForm

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    a22b1a6 View commit details
    Browse the repository at this point in the history
  5. Use TaxBrain form in views too

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    4697e20 View commit details
    Browse the repository at this point in the history
  6. Add method stubs for parameter formatting refactoring

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    8ac6520 View commit details
    Browse the repository at this point in the history
  7. Catch case where value is boolean

    Henry Doupe committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    af07def View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eff36a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. import json package

    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    a4acfac View commit details
    Browse the repository at this point in the history
  2. Temporarily add 'raw_fields' to ignored fields to make sure gui tests…

    … pass
    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    56fc84e View commit details
    Browse the repository at this point in the history
  3. Touch-up logic around forms.add_error for < operator

    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    062e581 View commit details
    Browse the repository at this point in the history
  4. further model test refactoring

    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    d546678 View commit details
    Browse the repository at this point in the history
  5. Move GUI input processing to models.py; restores prior GUI input pars…

    …ing functionalty
    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    8ad9d0f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c1a622 View commit details
    Browse the repository at this point in the history
  7. Re-order param_formatters fns in more intuitive way

    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    3a9e70a View commit details
    Browse the repository at this point in the history
  8. Refactor switch_fixup call

    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    19b8556 View commit details
    Browse the repository at this point in the history
  9. Drop reform argument and temporarily comment out benefit switch fixup…

    … code
    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    270a061 View commit details
    Browse the repository at this point in the history
  10. Change return value of get_default_policy_param fn to named tuple wit…

    …h name and metadata
    Henry Doupe committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    bf8db97 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Configuration menu
    Copy the full SHA
    260dc45 View commit details
    Browse the repository at this point in the history
  2. Include test for negative value parameter

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    28af549 View commit details
    Browse the repository at this point in the history
  3. Clean up helpers.py

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    505d5dc View commit details
    Browse the repository at this point in the history
  4. Delete unused converter function

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    d9fa2a6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c89d782 View commit details
    Browse the repository at this point in the history
  6. Remove convert_to_floats import from btax/models.py

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    c3fae74 View commit details
    Browse the repository at this point in the history
  7. Catch case where cpi param is submitted

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    fed2af5 View commit details
    Browse the repository at this point in the history
  8. Finish refactoring taxbrain static param processing

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    1f610ed View commit details
    Browse the repository at this point in the history
  9. Add append_errors_warnings import

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    34daccc View commit details
    Browse the repository at this point in the history
  10. Remove convert_to_floats import

    Henry Doupe committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    8eeb86c View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. Add abstract form to implement 'field' and 'raw_fields' creation and …

    …validation
    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    45f68d5 View commit details
    Browse the repository at this point in the history
  2. Update fields saving logic in taxbrain/views.py

    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    32268cc View commit details
    Browse the repository at this point in the history
  3. Set fields in utils.get_taxbrain_model

    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    fb963f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    213bda7 View commit details
    Browse the repository at this point in the history
  5. Add mix-in documentation

    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    dee782d View commit details
    Browse the repository at this point in the history
  6. Dynamic behavorial forms inherits new fields generation and validatio…

    …n methods
    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    5207833 View commit details
    Browse the repository at this point in the history
  7. Add behavioral fields fixture

    Henry Doupe committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    0f6d4af View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. Get rid of quick_calc key and fix naming error

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d2489bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c000757 View commit details
    Browse the repository at this point in the history
  3. Implement get_model_specs for dyanmic-behavioral

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    bb7475b View commit details
    Browse the repository at this point in the history
  4. Adjust taxbrain/test_models.py for test refactoring required dynamic-…

    …behavioral tests
    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    b415a2e View commit details
    Browse the repository at this point in the history
  5. Update file upload to django 1.9

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    58382c7 View commit details
    Browse the repository at this point in the history
  6. Catch case where we have cpi param

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    cacb87e View commit details
    Browse the repository at this point in the history
  7. Still trying to get the cpi parsing right

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3c6a1ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f876aa View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c331cb8 View commit details
    Browse the repository at this point in the history
  10. Directly update django fields data

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    03d45bd View commit details
    Browse the repository at this point in the history
  11. Change Form mix-in name for dynamic-app import

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    ef9cb92 View commit details
    Browse the repository at this point in the history
  12. Fix syntax error in views.py

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    db7da25 View commit details
    Browse the repository at this point in the history
  13. Use correct base class in taxbrain/test_models

    Henry Doupe committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    60fa187 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. Update fields variable instead of base_fields

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    e004e59 View commit details
    Browse the repository at this point in the history
  2. Move json import out of method and into module

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    e2b3d18 View commit details
    Browse the repository at this point in the history
  3. Rename fields to input_fields to avoid inherited fields attribute con…

    …fusion
    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    f681d98 View commit details
    Browse the repository at this point in the history
  4. No need to pull in this data anymore

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    6e7685b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c8b1b0 View commit details
    Browse the repository at this point in the history
  6. Update dynamic app to new param storing and django 1.9

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    1cdf61a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aa97247 View commit details
    Browse the repository at this point in the history
  8. Remvoe traceback printing for warnings

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    a023581 View commit details
    Browse the repository at this point in the history
  9. Finish upgrading b-tax to django 1.9

    Henry Doupe committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    3a8870d View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Quick fixes from martin's comments

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    4155bf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    606140e View commit details
    Browse the repository at this point in the history
  3. Refactor casting logic to make more readable

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    cb0f556 View commit details
    Browse the repository at this point in the history
  4. Clean up parse_values comments

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    ef93471 View commit details
    Browse the repository at this point in the history
  5. Use .lower instead of .title

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    493b8ea View commit details
    Browse the repository at this point in the history
  6. Use custom exception for parameter lookup function

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    8109296 View commit details
    Browse the repository at this point in the history
  7. Add deprecated field handling to model mixin

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    0fe4d42 View commit details
    Browse the repository at this point in the history
  8. Remove return statement from debugging

    Henry Doupe committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    29dbfea View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Drop Tax-Caclualtor 0.15.0 migrations

    Henry Doupe committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    d7ae0f3 View commit details
    Browse the repository at this point in the history
  2. Add deprecated_fields field for dynamic model

    Henry Doupe committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    21d6f00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e268298 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61ca3d9 View commit details
    Browse the repository at this point in the history
  5. Check if depricated_files has been initialized first

    Henry Doupe committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    80c0b89 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    71d323f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e5ad0a0 View commit details
    Browse the repository at this point in the history
  8. Drop boolean parameters resolving ospc-org#765 and ospc-org#786

    Henry Doupe committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    90386ba View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Apply new parameter processing logic to cpi variables

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    07386ee View commit details
    Browse the repository at this point in the history
  2. Add deprecated_field for dynamic model

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    fbcc208 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    335d8bb View commit details
    Browse the repository at this point in the history
  4. Fix run-on sentence in deprecation message

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    ef1683d View commit details
    Browse the repository at this point in the history
  5. Needs a period too

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    b9aa49d View commit details
    Browse the repository at this point in the history
  6. Update to taxcalc 0.15.2

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    05f21ef View commit details
    Browse the repository at this point in the history
  7. Upgrade PB version to 1.4.0

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    f6c0180 View commit details
    Browse the repository at this point in the history
  8. Don't run tc tests on deploy

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    5f7be9a View commit details
    Browse the repository at this point in the history
  9. Only store model param fields specified by the user

    Henry Doupe committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    dabbf14 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Add parameters policy document

    Henry Doupe committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    f95a420 View commit details
    Browse the repository at this point in the history
  2. Update RELEASES.md for PolicyBrain 1.4.0

    Henry Doupe committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    1776086 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Btax results no longer stored as json but as text

    Henry Doupe committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    9af9a2a View commit details
    Browse the repository at this point in the history
  2. Add release date to RELEASES.md

    Henry Doupe committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    7d01c5d View commit details
    Browse the repository at this point in the history