Files
Claper/.gitignore
Raúl R Pearson 2a3a497130 Expand events tests (#175)
* 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
2025-10-26 17:00:24 +01:00

51 lines
1.1 KiB
Plaintext

# The directory Mix will write compiled artifacts to.
/_build/
# If you run "mix test --cover", coverage assets end up here.
/cover/
# The directory Mix downloads your dependencies sources to.
/deps/
# Where 3rd-party dependencies like ExDoc output generated docs.
/doc/
# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch
# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump
# Also ignore archive artifacts (built via "mix archive.build").
*.ez
# Ignore package tarball (built via "mix hex.build").
claper-*.tar
# Ignore assets that are produced by build tools.
/priv/static/assets/
/priv/static/uploads
# Ignore digested assets cache.
/priv/static/cache_manifest.json
# Env files except sample
.env*
!.env.sample
# In case you use Node.js/npm, you want to ignore these.
npm-debug.log
/assets/node_modules/
priv/static/images/.DS_Store
priv/static/.DS_Store
priv/static/fonts/.DS_Store
test/e2e/node_modules
.DS_Store
priv/static/.well-known/apple-developer-merchantid-domain-association
priv/static/loaderio-eb3b956a176cdd4f54eb8570ce8bbb06.txt
.elixir_ls
tailwind.config.js