├── .formatter.exs ├── .gitignore ├── README.md ├── assets ├── .babelrc ├── css │ ├── app.css │ └── phoenix.css ├── js │ ├── app.js │ └── socket.js ├── package-lock.json ├── package.json ├── static │ ├── favicon.ico │ ├── images │ │ └── phoenix.png │ └── robots.txt └── webpack.config.js ├── config ├── config.exs ├── dev.exs ├── prod.exs ├── prod.secret.exs └── test.exs ├── lib ├── task_app.ex ├── task_app │ ├── application.ex │ ├── repo.ex │ ├── tasks.ex │ ├── tasks │ │ └── task.ex │ ├── user_identities │ │ └── user_identity.ex │ └── users │ │ └── user.ex ├── task_app_web.ex └── task_app_web │ ├── channels │ └── user_socket.ex │ ├── controllers │ ├── page_controller.ex │ └── task_controller.ex │ ├── endpoint.ex │ ├── gettext.ex │ ├── pow_mailer.ex │ ├── router.ex │ ├── templates │ ├── layout │ │ └── app.html.eex │ ├── page │ │ └── index.html.eex │ ├── pow │ │ ├── registration │ │ │ ├── edit.html.eex │ │ │ └── new.html.eex │ │ └── session │ │ │ └── new.html.eex │ ├── pow_assent │ │ └── registration │ │ │ └── add_user_id.html.eex │ ├── pow_reset_password │ │ ├── mailer │ │ │ ├── reset_password.html.eex │ │ │ └── reset_password.text.eex │ │ └── reset_password │ │ │ ├── edit.html.eex │ │ │ └── new.html.eex │ └── task │ │ ├── edit.html.eex │ │ ├── form.html.eex │ │ ├── index.html.eex │ │ ├── new.html.eex │ │ └── show.html.eex │ └── views │ ├── error_helpers.ex │ ├── error_view.ex │ ├── layout_view.ex │ ├── page_view.ex │ ├── pow │ ├── registration_view.ex │ └── session_view.ex │ ├── pow_assent │ └── registration_view.ex │ ├── pow_reset_password │ ├── mailer_view.ex │ └── reset_password_view.ex │ └── task_view.ex ├── mix.exs ├── mix.lock ├── priv ├── gettext │ ├── en │ │ └── LC_MESSAGES │ │ │ └── errors.po │ └── errors.pot └── repo │ ├── migrations │ ├── .formatter.exs │ ├── 20200131232341_create_users.exs │ ├── 20200131235516_create_tasks.exs │ └── 20200201004037_create_user_identities.exs │ └── seeds.exs └── test ├── support ├── channel_case.ex ├── conn_case.ex └── data_case.ex ├── task_app └── tasks_test.exs ├── task_app_web ├── controllers │ ├── page_controller_test.exs │ └── task_controller_test.exs └── views │ ├── error_view_test.exs │ ├── layout_view_test.exs │ └── page_view_test.exs └── test_helper.exs /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/README.md -------------------------------------------------------------------------------- /assets/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/.babelrc -------------------------------------------------------------------------------- /assets/css/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/css/app.css -------------------------------------------------------------------------------- /assets/css/phoenix.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/css/phoenix.css -------------------------------------------------------------------------------- /assets/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/js/app.js -------------------------------------------------------------------------------- /assets/js/socket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/js/socket.js -------------------------------------------------------------------------------- /assets/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/package-lock.json -------------------------------------------------------------------------------- /assets/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/package.json -------------------------------------------------------------------------------- /assets/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/static/favicon.ico -------------------------------------------------------------------------------- /assets/static/images/phoenix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/static/images/phoenix.png -------------------------------------------------------------------------------- /assets/static/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/static/robots.txt -------------------------------------------------------------------------------- /assets/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/assets/webpack.config.js -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/config/config.exs -------------------------------------------------------------------------------- /config/dev.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/config/dev.exs -------------------------------------------------------------------------------- /config/prod.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/config/prod.exs -------------------------------------------------------------------------------- /config/prod.secret.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/config/prod.secret.exs -------------------------------------------------------------------------------- /config/test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/config/test.exs -------------------------------------------------------------------------------- /lib/task_app.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app.ex -------------------------------------------------------------------------------- /lib/task_app/application.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/application.ex -------------------------------------------------------------------------------- /lib/task_app/repo.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/repo.ex -------------------------------------------------------------------------------- /lib/task_app/tasks.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/tasks.ex -------------------------------------------------------------------------------- /lib/task_app/tasks/task.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/tasks/task.ex -------------------------------------------------------------------------------- /lib/task_app/user_identities/user_identity.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/user_identities/user_identity.ex -------------------------------------------------------------------------------- /lib/task_app/users/user.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app/users/user.ex -------------------------------------------------------------------------------- /lib/task_app_web.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web.ex -------------------------------------------------------------------------------- /lib/task_app_web/channels/user_socket.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/channels/user_socket.ex -------------------------------------------------------------------------------- /lib/task_app_web/controllers/page_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/controllers/page_controller.ex -------------------------------------------------------------------------------- /lib/task_app_web/controllers/task_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/controllers/task_controller.ex -------------------------------------------------------------------------------- /lib/task_app_web/endpoint.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/endpoint.ex -------------------------------------------------------------------------------- /lib/task_app_web/gettext.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/gettext.ex -------------------------------------------------------------------------------- /lib/task_app_web/pow_mailer.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/pow_mailer.ex -------------------------------------------------------------------------------- /lib/task_app_web/router.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/router.ex -------------------------------------------------------------------------------- /lib/task_app_web/templates/layout/app.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/layout/app.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/page/index.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/page/index.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow/registration/edit.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow/registration/edit.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow/registration/new.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow/registration/new.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow/session/new.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow/session/new.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow_assent/registration/add_user_id.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow_assent/registration/add_user_id.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow_reset_password/mailer/reset_password.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow_reset_password/mailer/reset_password.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow_reset_password/mailer/reset_password.text.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow_reset_password/mailer/reset_password.text.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow_reset_password/reset_password/edit.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow_reset_password/reset_password/edit.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/pow_reset_password/reset_password/new.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/pow_reset_password/reset_password/new.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/task/edit.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/task/edit.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/task/form.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/task/form.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/task/index.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/task/index.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/task/new.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/task/new.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/templates/task/show.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/templates/task/show.html.eex -------------------------------------------------------------------------------- /lib/task_app_web/views/error_helpers.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/error_helpers.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/error_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/error_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/layout_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/layout_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/page_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/page_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/pow/registration_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/pow/registration_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/pow/session_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/pow/session_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/pow_assent/registration_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/pow_assent/registration_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/pow_reset_password/mailer_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/pow_reset_password/mailer_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/pow_reset_password/reset_password_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/pow_reset_password/reset_password_view.ex -------------------------------------------------------------------------------- /lib/task_app_web/views/task_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/lib/task_app_web/views/task_view.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/mix.lock -------------------------------------------------------------------------------- /priv/gettext/en/LC_MESSAGES/errors.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/gettext/en/LC_MESSAGES/errors.po -------------------------------------------------------------------------------- /priv/gettext/errors.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/gettext/errors.pot -------------------------------------------------------------------------------- /priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/repo/migrations/.formatter.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20200131232341_create_users.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/repo/migrations/20200131232341_create_users.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20200131235516_create_tasks.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/repo/migrations/20200131235516_create_tasks.exs -------------------------------------------------------------------------------- /priv/repo/migrations/20200201004037_create_user_identities.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/repo/migrations/20200201004037_create_user_identities.exs -------------------------------------------------------------------------------- /priv/repo/seeds.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/priv/repo/seeds.exs -------------------------------------------------------------------------------- /test/support/channel_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/support/channel_case.ex -------------------------------------------------------------------------------- /test/support/conn_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/support/conn_case.ex -------------------------------------------------------------------------------- /test/support/data_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/support/data_case.ex -------------------------------------------------------------------------------- /test/task_app/tasks_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app/tasks_test.exs -------------------------------------------------------------------------------- /test/task_app_web/controllers/page_controller_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app_web/controllers/page_controller_test.exs -------------------------------------------------------------------------------- /test/task_app_web/controllers/task_controller_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app_web/controllers/task_controller_test.exs -------------------------------------------------------------------------------- /test/task_app_web/views/error_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app_web/views/error_view_test.exs -------------------------------------------------------------------------------- /test/task_app_web/views/layout_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app_web/views/layout_view_test.exs -------------------------------------------------------------------------------- /test/task_app_web/views/page_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/knowthen/easy-authentication-with-pow-and-pow-assent/HEAD/test/task_app_web/views/page_view_test.exs -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(TaskApp.Repo, :manual) 3 | --------------------------------------------------------------------------------