* Add with_env.sh as dev.sh replacement
This new script can load env vars from any path, supplied with the
optional --env option (still defaults to .env) and accepts any arbitrary
command after that: `mix phx.new`, `iex -S mix phx.server`, `mix test`.
This provides support for having multiple `.env*` files. One for dev,
one for test, for example. The previous setup wasn't picking up the
right Postgres connection string for tests and was creating problems.
* Fix assorted compilation warnings
* Make :name and :started_at required in event changesets
* Refactor get_event!/2 to take ID and UUID
* Make event ordering more consistent
* Fix spelling of leaded_by with led_by
* Refactor get_managed_event!/3
While testing I found that this did not return `Ecto.NoResultsError`
when no events were found. This new version does and it also uses a
single database query.
* Make get_different_event_with_code/2 private
* Enable youtube.com pattern for YouTube embeds
* Refactor duplicate_event/2
When duplicating an event without a presentation, an error was raised. I
attempted to fix that and ended up cleaning up the implementation a bit.
I also discovered issue #178 was raised, so I fixed the implementation
to skip copying `vote_count` for poll options.
* Add activity leader test fixture
* Make DataCase db connection check out conditional
* Expand event tests
commit 1ccd9e6be4da1b0f539e4c76b39d097de1b8798a
Author: Alex <dev@alexandrelion.com>
Date: Sun Feb 26 22:27:08 2023 +0100
Fix unit tests for forms
commit b10d66be25b31028fb76c004852059bc1e2eb13a
Author: Alex <dev@alexandrelion.com>
Date: Sun Feb 26 15:35:55 2023 +0100
Finish form integration
commit fce276497ddaba92f367ee9994b8ae11dabdb7ab
Author: Alex <dev@alexandrelion.com>
Date: Mon Feb 20 21:09:14 2023 +0100
Add form