Open norbajunior opened 5 years ago
Any chances to get it merged?
It's slightly puzzling why there is no action here? 1.4 has been out almost a month now... Maintainer went on honeymoon ;-) ? Maybe some other contributor could pick it up? @manuel-rubio @klacointe
Hey, any chances to merge this? Guys please take a look.
Will this be merged?
I guess... but keep in mind not all of us changed all of our projects to Phoenix 1.4 and Ecto 3.0. I think it should be released as the master branch with a change in the high number of version and keep a branch for the previous version to let us maintain for a while the old branch just in case some issues appear.
This would be great
@smpallen99 please merge this.
I found that some of the generated template files do not have Routes.
in front of the _path functions. Phoenix 1.4 seems to want this to be the case, so should that be updated in the places that generate these files before this is merged?
I ended up fixing each of these files one-by-one after running mix compile
:
modified: lib/sample_web/templates/coherence/invitation/edit.html.eex
modified: lib/sample_web/templates/coherence/invitation/new.html.eex
modified: lib/sample_web/templates/coherence/password/edit.html.eex
modified: lib/sample_web/templates/coherence/password/new.html.eex
modified: lib/sample_web/templates/coherence/registration/edit.html.eex
modified: lib/sample_web/templates/coherence/registration/new.html.eex
modified: lib/sample_web/templates/coherence/registration/show.html.eex
modified: lib/sample_web/templates/coherence/session/new.html.eex
modified: lib/sample_web/templates/coherence/unlock/new.html.eex
@kevinkjt2000 These files should be fixed. I'll fix them. Thanks to spot that.
Hi guys,
The routes in templates are fixed now. I also created a demo project https://github.com/norbajunior/coherence_demo using the branch of this PR and it's working fine.
@smpallen99 feel free to check out this demo to help you to validate the PR.
Cheers.
I am wondering if smpallen99 is still around...? There have been no commits or comments for 3 months???
@JesperWe I just sent an email to @smpallen99 about the PR. I hope the email reaches him.
@norbajunior Looks like this one was missed
@OscarBarrett thanks for the help. Done in this commit https://github.com/smpallen99/coherence/pull/400/commits/10bb848f885217097ac5be76b202d9bf213b7e20
FWIW, this PR is mandatory for my adoption of coherence on a new project. I did a {:coherence, github: "appprova/coherence", ref: "10bb848f885217097ac5be76b202d9bf213b7e20"}
to get up and running which works fine, but I would love to see this released as a major version ASAP.
Anyone heard if maintainer(s) plans on merging this PR?
Is it necessary to use ecto_sql as a dependency? I can't stay on ecto 2.x temporarily while updating phoenix to 1.4 now.
@narrowtux I don't think that we will ever have an update... @smpallen99 is inactive for over 3 months now..
As it seems @smpallen99 is inactive I merged this PR into my repo master branch.
So you guys can install it getting from https://github.com/norbajunior/coherence for now:
def deps do
[{:coherence, github: "appprova/coherence"}]
end
Hi guys ! If you are interested about this project and want to take part of maintaining it, @smpallen99 is looking for people to create a core team: https://elixirforum.com/t/looking-to-create-exadmin-coherence-core-teams/10641 . It would be great to have people who continue improving this library.
Upgrade Phoenix to ~> 1.4
Upgraded elixir to 1.7 since it's is a requirement for phoenix 1.4
Replaced Poison lib in favor of Jason one
A Routes alias has been added to coherence_web.ex for view and controller blocks in favor over the previously imported AppWeb.Router.Helpers. In reason of that all routes around the lib was updated to
Routes.path_name_path
Upgrade ecto to ~> 3.0
Ecto.Changeset.cast/3 deprecated usage of binary keys, so a refactoring was applied to solve this.
warning: non-atom keys in cast/3 is deprecated. All keys must be atoms, got:
"reset_password_token"Removed timex_ecto lib since ecto 3.0 does not support it
Passing :adapter via config is deprecated in favor of passing it on use Ecto.Repo
Use Ecto.Migrator.migrations_path/1 in favor of Ecto.migrations_path/1 that was removed
postgrex lib ~> 0.14.0