profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/aaronrenner/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Aaron Renner aaronrenner @Boulevard Bayfield, CO https://aaronrenner.io/ Elixir engineer

aaronrenner/crowdfundr 36

Example crowdfunding app for ElixirConf

aaronrenner/constantizer 8

Helpers to evaluate elixir functions at compile time instead of runtime

aaronrenner/chef-cookbooks 1

Chef cookbook repo

aaronrenner/counter_culture 1

Turbo-charged counter caches for your Rails app.

aaronrenner/actions 0

Automate your GitHub workflows using Azure Actions

aaronrenner/active_model_serializers 0

ActiveModel::Serializer implementation and Rails hooks

aaronrenner/active_node 0

ActiveRecord style Object Graph Mapping for neo4j

aaronrenner/active_record_immutable 0

Make ActiveRecord objects immutable.

aaronrenner/acts_as_tenant 0

Easy multi-tenancy for Rails in a shared database setup

aaronrenner/angular-bugsnag 0

Angular wrapper for Bugsnag

issue closedelixir-wallaby/wallaby

Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.

Issue

Wallaby.Element.attr("innerHTML") doesn't work anymore with 91.0.4472.19 (after updating from 90.x.x.x). I always get nil, although the element is present. The same for outerHTML.

Is there anything known that the Chromedriver in the latest version has changed in this respect? (BTW. I also did a test with Hound, there it is exactly the same problem, so I kind of assume that the Chromedriver is the problem, but of course I could be completely wrong).

Details

Elixir: 1.12.0 Erlang: 24.0.1 OS: Ubuntu 18.04 Webdriver (selenium, chromedriver, geckodriver, etc): Chromedriver 91.0.4472.19 Browser (Chrome, Firefox, Safari, etc): Chrome Local or CI:

I'm using Wallaby 0.28.0.

Test Code & HTML

closed time in 7 hours

WernerBuchert

issue commentelixir-wallaby/wallaby

Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.

Thanks for the update @WernerBuchert :)

WernerBuchert

comment created time in 7 hours

release nerves-project/nerves_heart

v0.3.1

released time in 8 hours

startedgjedeer/tuntox

started time in 11 hours

startedgfngfn/game_tianjiupai

started time in 15 hours

issue commentelixir-wallaby/wallaby

Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.

Finally there is a new Chromedriver Version: 91.0.4472.101 And it work's again.

WernerBuchert

comment created time in a day

release orbitjs/orbit

v0.17.0-beta.17

released time in 2 days

created repositoryfhunleth/dashboard_test

Simple ANSI rendering experiment

created time in 3 days

startedSergioBenitez/Rocket

started time in 4 days

fork josevalim/jason

A blazing fast JSON parser and generator in pure Elixir.

fork in 4 days

issue commentaaronrenner/phx_gen_auth

Provide support for Ueberauth

its happening https://iacobson.medium.com/phx-gen-auth-and-oauth-for-a-phoenix-liveview-app-a19a27e6befa

lucperkins

comment created time in 4 days

startedgfngfn/sesterl_cowboy

started time in 5 days

startedgfngfn/sesterl_testing

started time in 5 days

startedgfngfn/sesterl_stdlib

started time in 5 days

issue commentaaronrenner/phx_gen_auth

dialyzer show some warnings in user_settings_controller

I'm also having this warning

alaadahmed

comment created time in 5 days

startedcontentful-userland/awesome-contentful

started time in 6 days

MemberEvent

issue commentaaronrenner/phx_gen_auth

use of HTTP DELETE verb for log out causing issues

Hi @josevalim your tip about Phoenix.HTML JavaScript helped a lot. The line import "phoenix_html" was missing from app.js and putting it in there made the DELETE HTTP verb sign-out links function correctly. Thank you for your quick reply and for creating such an exciting language in the first place!

rayrrr

comment created time in 6 days

startedaaronrenner/phx_gen_auth

started time in 6 days

fork keathley/mint

Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2.

fork in 6 days

release nerves-project/nerves_ssh

v0.2.2

released time in 6 days

issue commentaaronrenner/phx_gen_auth

User is logged in right away after registration

Perfect - after thinking about it a bit longer, I totally agree about the user experience aspect. I keep your approach and will provide the functionalities by checking if the user has already confirmed or is in certain user-group. Thank you @josevalim 👍 - Elixir changed my live!

marschro

comment created time in 6 days

issue closedaaronrenner/phx_gen_auth

User is logged in right away after registration

Hi @aaronrenner,

I was wondering about the strategy to log in a user right away after the registration. In my case, the login should only be possible if the user confirmed the mail address.

https://github.com/aaronrenner/phx_gen_auth/blob/a9e92df94afb8eef8dae0a41a9c1654863607874/priv/templates/phx.gen.auth/registration_controller.ex#L24

I know, all requirements are somehow special and that's why you created this project. Thank you for that - I learned a lot about it!

I just was wondering if there are any special considerations about logging in right away after registration.

Kind regards and thank you for this template! Martin

closed time in 6 days

marschro

issue commentaaronrenner/phx_gen_auth

User is logged in right away after registration

You can remove the login call if you prefer and then add a check where the user cannot login until he confirms his e-mail. Or alternatively, allow him to access only part of the application until he confirms.

The reason why we login after registration without confirmation is because that may be a better experience in many cases. If you ask users to wait for an e-mail to arrive... they may lose interest and go elsewhere.

marschro

comment created time in 6 days

issue openedaaronrenner/phx_gen_auth

User is logged in right away after registration

Hi @aaronrenner,

I was wondering about the strategy to log in a user right away after the registration. In my case, the login should only be possible if the user confirmed the mail address.

https://github.com/aaronrenner/phx_gen_auth/blob/a9e92df94afb8eef8dae0a41a9c1654863607874/priv/templates/phx.gen.auth/registration_controller.ex#L24

I know, all requirements are somehow special and that's why you created this project. Thank you for that - I learned a lot about it!

I just was wondering if there are any special considerations about logging in right away after registration.

Kind regards and thank you for this template! Martin

created time in 6 days

issue commentelixir-wallaby/wallaby

Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.

There is a bug with the attribute selector in chromedriver v 91 - see https://bugs.chromium.org/p/chromium/issues/detail?id=1205107
hopefully they will fix it soon

In the meantime I came up with an ugly workaround to get an elements value (aside from downgrading chromedriver)

  defp get_value_attribute(session, css_string) do
    session
    |> execute_script("val = document.querySelector('#{css_string}').value; document.cookie = 'automation_val=' + val")
    |> cookies()
    |> Enum.find(fn x -> x["name"] == "automation_val" end)
    |> Map.get("value")
  end

I'm wondering if somebody else came up with something better

WernerBuchert

comment created time in 7 days

startedphoenixframework/phoenix_view

started time in 7 days

startedsupabase/realtime

started time in 7 days