Permalink
Commits on Feb 7, 2017
  1. Merge pull request #94 from sugar-framework/remove-router-test-warnings

    slogsdon committed Feb 7, 2017
    remove warnings when testing router
Commits on Feb 5, 2017
  1. Add warning re: removal of Ecto dependency

    YellowApple committed Feb 5, 2017
    I reckon that'd be smart to mention in case Ecto users are wondering why their apps broke.
  2. Merge pull request #93 from djKooks/shell-guide

    YellowApple committed Feb 5, 2017
    Add port number to terminal output
  3. Tidy up the default port stuff

    YellowApple committed Feb 5, 2017
    if/else is *so* 2016
  4. Merge remote-tracking branch 'upstream/master' into shell-guide

    djKooks committed Feb 5, 2017
    # Conflicts:
    #	lib/mix/tasks/server.ex
Commits on Feb 4, 2017
  1. Merge pull request #89 from rrrene/patch-1

    YellowApple committed Feb 4, 2017
    Add deps badge to README
  2. Merge pull request #92 from djKooks/test-warn

    YellowApple committed Feb 4, 2017
    Remove warnings in test
  3. Fix mix.exs warnings and bump minimum Elixir version

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 4, 2017
    We're now relying on a 1.2-specific feature (namely,
    `Macro.camelize/1` and `Macro.underscore/1`), so this marks the formal
    loss of support for Elixir 1.1 and older.  If support is requested for
    some reason, we can probably put the use of `Macro` v. `Mix.Utils`
    behind some kind of conditional, but otherwise, pre-1.2 users are
    probably better off sticking to Sugar 0.4.x.
  4. Fix various warnings.

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 4, 2017
    TODO: do the same in the template and router apps
  5. Remove warnings in test

    djKooks committed Feb 4, 2017
  6. Merge pull request #91 from djKooks/patch-deps

    YellowApple committed Feb 4, 2017
    Update deps version
  7. Bump minor version to reflect potentially-breaking changes

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 4, 2017
  8. Adjust config test to actually merge keyword lists

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 4, 2017
  9. Only merge keyword lists on Sugar.Config.get

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 4, 2017
    Should fix failing tests on Elixir 1.4.  Hopefully Travis agrees with
    that.
    
    TODO: consider tightening this further to only auto-merge defaults
    with the top-level Sugar config
Commits on Feb 3, 2017
  1. Remove obsolete model generation tests

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 3, 2017
  2. Eradicate model generation tasks

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 3, 2017
    TODO: consider reimplementing in a non-Ecto-specific way (whether as
    part of Sugar itself or in a separate project specifically for model
    management)
  3. Remove Ecto and Postgrex dependencies

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 3, 2017
    Sugar doesn't really do anything with models in general besides maybe
    providing some templating for them.  This removal will make it more
    obvious that Sugar supports non-Ecto-based datastores (CouchDB, Riak,
    Mnesia, etc.).
  4. Update Travis Elixir/Erlang versions

    Ryan S. Northrup Ryan S. Northrup
    Ryan S. Northrup authored and Ryan S. Northrup committed Feb 3, 2017
    1.1 is now deprecated and will not be tested.
Commits on Jan 25, 2017
Commits on Jun 3, 2016
  1. Add deps badge to README

    rrrene committed Jun 3, 2016
    [ci skip]
Commits on May 13, 2016
  1. Merge pull request #88 from sugar-framework/http-to-https

    YellowApple committed May 13, 2016
    Implement a HTTP→HTTPS redirect option for `:https_only`
  2. Bump version

    YellowApple committed May 13, 2016
  3. Add Sugar.Request.HttpToHttps

    YellowApple committed May 13, 2016
    This is just a wrapper around Plug.SSL that sets the HTTPS port and
    disables HSTS (since that supposedly conflicts with setting an HTTPS
    port).
  4. Add support for :https_only_handler config option

    YellowApple committed May 13, 2016
    Still defaults to `Sugar.Request.HttpsOnly`, but allows other plugs /
    request handlers to be used (like `Plug.SSL`, for example).
Commits on Feb 18, 2016
  1. Merge pull request #84 from sugar-framework/mix-updates

    YellowApple committed Feb 18, 2016
    Update mix deps
Commits on Feb 17, 2016
  1. Fix broken Sugar.ConfigTest

    YellowApple committed Feb 17, 2016
    Looks like the ordering of the results of get(:config_test) change depending on the Elixir version.  For
    now, I've simply stuck the rhs in an if/then to use the new (as of 1.2.2) ordering.  I hope this is the
    correct approach here.  I've yet to run into any actual issue with Sugar on Elixir 1.2.x, so I'm assuming
    that this is just a testing issue.
    
    It looks like this changed in elixir-lang/elixir/0c2f3a4 ("Document and remove Keyword dependency from
    Dict"), in which the definition of Keyword.merge/2 swapped the left and right side (i.e. `keywords2 ++
    :lists.filter(fun, keywords1)` became `:lists.filter(fun, keywords1) ++ keywords2`).
Commits on Feb 13, 2016
  1. Update Travis elixir/erlang versions

    YellowApple committed Feb 13, 2016
    We've had Elixir 1.1 and Erlang/OTP 18 around for quite some time; we should use them.  Probably affecting our testing.
  2. Bump down postgrex by a smidge

    YellowApple committed Feb 13, 2016
    Not sure why mix/hex is trying to resolve for Ecto 1.1.2 when 1.1.3 is available, but whatever.  Should at least fix those particular errors.
  3. Bump version

    YellowApple committed Feb 13, 2016
  4. Bump poison

    YellowApple committed Feb 13, 2016
  5. Re-add Postgrex

    YellowApple committed Feb 13, 2016
    I guess it *is* necessary for whatever reason (note to self: find out why).  Updating it to the version recommended by latest Ecto.