From 7b1c1d4c725f5e56ab124369cdcab27de39fcdec Mon Sep 17 00:00:00 2001
From: alxlion
iex> apply_user_email(user, "valid password", %{email: ...})
+{:ok, %User{}}
-iex> apply_user_email(user, "invalid password", %{email: ...})
-{:error, %Ecto.Changeset{}}
+iex> apply_user_email(user, "invalid password", %{email: ...})
+{:error, %Ecto.Changeset{}}
iex> change_user_email(user)
+%Ecto.Changeset{data: %User{}}
iex> change_user_password(user)
+%Ecto.Changeset{data: %User{}}
iex> change_user_registration(user)
+%Ecto.Changeset{data: %User{}}
iex> deliver_magic_link(user, &Routes.user_confirmation_url(conn, :confirm_magic, &1))
-{:ok, %{to: ..., body: ...}}
+iex> deliver_magic_link(user, &Routes.user_confirmation_url(conn, :confirm_magic, &1))
+{:ok, %{to: ..., body: ...}}
iex> deliver_update_email_instructions(user, current_email, &Routes.user_update_email_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+iex> deliver_update_email_instructions(user, current_email, &Routes.user_update_email_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
iex> deliver_user_confirmation_instructions(user, &Routes.user_confirmation_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+iex> deliver_user_confirmation_instructions(user, &Routes.user_confirmation_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
-iex> deliver_user_confirmation_instructions(confirmed_user, &Routes.user_confirmation_url(conn, :edit, &1))
-{:error, :already_confirmed}
+iex> deliver_user_confirmation_instructions(confirmed_user, &Routes.user_confirmation_url(conn, :edit, &1))
+{:error, :already_confirmed}
iex> deliver_user_reset_password_instructions(user, &Routes.user_reset_password_url(conn, :edit, &1))
-{:ok, %{to: ..., body: ...}}
+iex> deliver_user_reset_password_instructions(user, &Routes.user_reset_password_url(conn, :edit, &1))
+{:ok, %{to: ..., body: ...}}
iex> get_user!(123)
-%User{}
+iex> get_user!(123)
+%User{}
-iex> get_user!(456)
+iex> get_user!(456)
** (Ecto.NoResultsError)
iex> get_user_by_email("foo@example.com")
-%User{}
+iex> get_user_by_email("foo@example.com")
+%User{}
-iex> get_user_by_email("unknown@example.com")
+iex> get_user_by_email("unknown@example.com")
nil
@@ -794,10 +794,10 @@ and the token is deleted.
Examples
-iex> get_user_by_email_and_password("foo@example.com", "correct_password")
-%User{}
+iex> get_user_by_email_and_password("foo@example.com", "correct_password")
+%User{}
-iex> get_user_by_email_and_password("foo@example.com", "invalid_password")
+iex> get_user_by_email_and_password("foo@example.com", "invalid_password")
nil
@@ -826,10 +826,10 @@ and the token is deleted.
Examples
-iex> get_user_by_reset_password_token("validtoken")
-%User{}
+iex> get_user_by_reset_password_token("validtoken")
+%User{}
-iex> get_user_by_reset_password_token("invalidtoken")
+iex> get_user_by_reset_password_token("invalidtoken")
nil
@@ -902,11 +902,11 @@ and the token is deleted.
Examples
-iex> register_user(%{field: value})
-{:ok, %User{}}
+iex> register_user(%{field: value})
+{:ok, %User{}}
-iex> register_user(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> register_user(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -934,11 +934,11 @@ and the token is deleted.
Examples
-iex> reset_user_password(user, %{password: "new long password", password_confirmation: "new long password"})
-{:ok, %User{}}
+iex> reset_user_password(user, %{password: "new long password", password_confirmation: "new long password"})
+{:ok, %User{}}
-iex> reset_user_password(user, %{password: "valid", password_confirmation: "not the same"})
-{:error, %Ecto.Changeset{}}
+iex> reset_user_password(user, %{password: "valid", password_confirmation: "not the same"})
+{:error, %Ecto.Changeset{}}
@@ -989,11 +989,11 @@ The confirmed_at date is also updated to the current time.
Examples
-iex> update_user_password(user, "valid password", %{password: ...})
-{:ok, %User{}}
+iex> update_user_password(user, "valid password", %{password: ...})
+{:ok, %User{}}
-iex> update_user_password(user, "invalid password", %{password: ...})
-{:error, %Ecto.Changeset{}}
+iex> update_user_password(user, "invalid password", %{password: ...})
+{:error, %Ecto.Changeset{}}
@@ -1021,10 +1021,10 @@ The confirmed_at date is also updated to the current time.
Examples
-iex> update_user_password(user, "valid password", %{password: ...})
-{:ok, %User{}}
-iex> update_user_password(user, "invalid password", %{password: ...})
-{:error, %Ecto.Changeset{}}
+iex> update_user_password(user, "valid password", %{password: ...})
+{:ok, %User{}}
+iex> update_user_password(user, "invalid password", %{password: ...})
+{:error, %Ecto.Changeset{}}
diff --git a/Claper.Events.ActivityLeader.html b/Claper.Events.ActivityLeader.html
index dcb6cf1..8205d66 100644
--- a/Claper.Events.ActivityLeader.html
+++ b/Claper.Events.ActivityLeader.html
@@ -5,12 +5,12 @@
-
+
- Claper.Events.ActivityLeader — Claper v1.1.1
+ Claper.Events.ActivityLeader — Claper v1.2.0
-
+
@@ -70,7 +70,7 @@
Claper
- v1.1.1
+ v1.2.0
iex> change_activity_leader(activity_leader)
-%Ecto.Changeset{data: %ActivityLeader{}}
+iex> change_activity_leader(activity_leader)
+%Ecto.Changeset{data: %ActivityLeader{}}
@@ -350,7 +350,7 @@ Functions
change_event(event, attrs \\ %{})
-
+
View Source
@@ -366,8 +366,8 @@ Functions
Examples
-iex> change_event(event)
-%Ecto.Changeset{data: %Event{}}
+iex> change_event(event)
+%Ecto.Changeset{data: %Event{}}
@@ -401,7 +401,7 @@ Functions
create_event(attrs)
-
+
View Source
@@ -417,11 +417,11 @@ Functions
Examples
-iex> create_event(%{field: value})
-{:ok, %Event{}}
+iex> create_event(%{field: value})
+{:ok, %Event{}}
-iex> create_event(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_event(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -433,7 +433,7 @@ Functions
delete_event(event)
-
+
View Source
@@ -449,11 +449,11 @@ Functions
Examples
-iex> delete_event(event)
-{:ok, %Event{}}
+iex> delete_event(event)
+{:ok, %Event{}}
-iex> delete_event(event)
-{:error, %Ecto.Changeset{}}
+iex> delete_event(event)
+{:error, %Ecto.Changeset{}}
@@ -465,7 +465,7 @@ Functions
get_activity_leader!(id)
-
+
View Source
@@ -481,10 +481,10 @@ Functions
Examples
-iex> get_activity_leader!(123)
-%ActivityLeader{}
+iex> get_activity_leader!(123)
+%ActivityLeader{}
-iex> get_activity_leader!(456)
+iex> get_activity_leader!(456)
** (Ecto.NoResultsError)
@@ -497,7 +497,7 @@ Functions
get_activity_leaders_for_event(event_id)
-
+
View Source
@@ -513,8 +513,8 @@ Functions
Examples
-iex> get_activity_leaders_for_event!(event)
-[%ActivityLeader{}, ...]
+iex> get_activity_leaders_for_event!(event)
+[%ActivityLeader{}, ...]
@@ -526,7 +526,7 @@ Functions
get_different_event_with_code(code, event_id)
-
+
View Source
@@ -542,8 +542,8 @@ Functions
Examples
-iex> get_different_event_with_code("Hello", 123)
-%Event{}
+iex> get_different_event_with_code("Hello", 123)
+%Event{}
@@ -573,10 +573,10 @@ Functions
Examples
-iex> get_event!("123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+iex> get_event!("123e4567-e89b-12d3-a456-426614174000")
+%Event{}
-iex> get_event!("123e4567-e89b-12d3-a456-4266141740111")
+iex> get_event!("123e4567-e89b-12d3-a456-4266141740111")
** (Ecto.NoResultsError)
@@ -591,7 +591,7 @@ Functions
get_event_with_code!(code, preload \\ [])
-
+
View Source
@@ -607,10 +607,10 @@ Functions
Examples
-iex> get_event_with_code!("Hello")
-%Event{}
+iex> get_event_with_code!("Hello")
+%Event{}
-iex> get_event_with_code!("Old event")
+iex> get_event_with_code!("Old event")
** (Ecto.NoResultsError)
@@ -625,7 +625,7 @@ Functions
get_event_with_code(code, preload \\ [])
-
+
View Source
@@ -665,10 +665,10 @@ Functions
Examples
-iex> get_managed_event!(user, "123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+iex> get_managed_event!(user, "123e4567-e89b-12d3-a456-426614174000")
+%Event{}
-iex> get_managed_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
+iex> get_managed_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
** (Ecto.NoResultsError)
@@ -683,7 +683,7 @@ Functions
get_user_event!(user_id, id, preload \\ [])
-
+
View Source
@@ -699,10 +699,10 @@ Functions
Examples
-iex> get_user_event!(user, "123e4567-e89b-12d3-a456-426614174000")
-%Event{}
+iex> get_user_event!(user, "123e4567-e89b-12d3-a456-426614174000")
+%Event{}
-iex> get_user_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
+iex> get_user_event!(another_user, "123e4567-e89b-12d3-a456-426614174000")
** (Ecto.NoResultsError)
@@ -715,7 +715,7 @@ Functions
is_leaded_by(email, event)
-
+
View Source
@@ -731,7 +731,7 @@ Functions
Examples
-iex> is_leaded_by("email@example.com", 123)
+iex> is_leaded_by("email@example.com", 123)
true
@@ -762,8 +762,8 @@ Functions
Examples
-iex> list_events(123)
-[%Event{}, ...]
+iex> list_events(123)
+[%Event{}, ...]
@@ -793,8 +793,8 @@ Functions
Examples
-iex> list_managed_events_by("email@example.com")
-[%Event{}, ...]
+iex> list_managed_events_by("email@example.com")
+[%Event{}, ...]
@@ -806,7 +806,7 @@ Functions
update_event(event, attrs)
-
+
View Source
@@ -822,11 +822,11 @@ Functions
Examples
-iex> update_event(event, %{field: new_value})
-{:ok, %Event{}}
+iex> update_event(event, %{field: new_value})
+{:ok, %Event{}}
-iex> update_event(event, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> update_event(event, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
diff --git a/Claper.Mailer.html b/Claper.Mailer.html
index ca71664..a35e265 100644
--- a/Claper.Mailer.html
+++ b/Claper.Mailer.html
@@ -5,12 +5,12 @@
-
+
- Claper.Mailer — Claper v1.1.1
+ Claper.Mailer — Claper v1.2.0
-
+
@@ -70,7 +70,7 @@
Claper
- v1.1.1
+ v1.2.0
iex> change_poll(poll)
-%Ecto.Changeset{data: %Poll{}}
+iex> change_poll(poll)
+%Ecto.Changeset{data: %Poll{}}
@@ -368,11 +368,11 @@ Functions
Examples
-iex> create_poll(%{field: value})
-{:ok, %Poll{}}
+iex> create_poll(%{field: value})
+{:ok, %Poll{}}
-iex> create_poll(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_poll(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -386,7 +386,7 @@ Functions
create_poll_vote(attrs \\ %{})
-
+
View Source
@@ -402,11 +402,11 @@ Functions
Examples
-iex> create_poll_vote(%{field: value})
-{:ok, %PollVote{}}
+iex> create_poll_vote(%{field: value})
+{:ok, %PollVote{}}
-iex> create_poll_vote(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_poll_vote(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -418,7 +418,7 @@ Functions
delete_poll(event_uuid, poll)
-
+
View Source
@@ -434,11 +434,11 @@ Functions
Examples
-iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
-{:ok, %Poll{}}
+iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
+{:ok, %Poll{}}
-iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
-{:error, %Ecto.Changeset{}}
+iex> delete_poll("123e4567-e89b-12d3-a456-426614174000", poll)
+{:error, %Ecto.Changeset{}}
@@ -466,10 +466,10 @@ Functions
Examples
-iex> get_poll!(123)
-%Poll{}
+iex> get_poll!(123)
+%Poll{}
-iex> get_poll!(456)
+iex> get_poll!(456)
** (Ecto.NoResultsError)
@@ -498,8 +498,8 @@ Functions
Examples
-iex> get_poll!(123, 0)
-%Poll{}
+iex> get_poll!(123, 0)
+%Poll{}
@@ -511,7 +511,7 @@ Functions
get_poll_vote(user_id, poll_id)
-
+
View Source
@@ -527,8 +527,8 @@ Functions
Examples
-iex> get_poll_vote!(321, 123)
-%PollVote{}
+iex> get_poll_vote!(321, 123)
+%PollVote{}
@@ -556,8 +556,8 @@ Functions
Examples
-iex> list_polls(123)
-[%Poll{}, ...]
+iex> list_polls(123)
+[%Poll{}, ...]
@@ -585,8 +585,8 @@ Functions
Examples
-iex> list_polls_at_position(123, 0)
-[%Poll{}, ...]
+iex> list_polls_at_position(123, 0)
+[%Poll{}, ...]
@@ -598,7 +598,7 @@ Functions
remove_poll_opt(changeset, poll_opt)
-
+
View Source
@@ -620,7 +620,7 @@ Functions
set_default(id, presentation_file_id, position)
-
+
View Source
@@ -658,8 +658,8 @@ Functions
Examples
-iex> set_percentages(poll)
-%Poll{}
+iex> set_percentages(poll)
+%Poll{}
@@ -687,11 +687,11 @@ Functions
Examples
-iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: new_value})
-{:ok, %Poll{}}
+iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: new_value})
+{:ok, %Poll{}}
-iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> update_poll("123e4567-e89b-12d3-a456-426614174000", poll, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -703,7 +703,7 @@ Functions
vote(user_id, event_uuid, poll_opt, poll_id)
-
+
View Source
diff --git a/Claper.Posts.Post.html b/Claper.Posts.Post.html
index 0f24f20..0c494ea 100644
--- a/Claper.Posts.Post.html
+++ b/Claper.Posts.Post.html
@@ -5,12 +5,12 @@
-
+
- Claper.Posts.Post — Claper v1.1.1
+ Claper.Posts.Post — Claper v1.2.0
-
+
@@ -70,7 +70,7 @@
Claper
- v1.1.1
+ v1.2.0
iex> create_post(event, %{field: value})
-{:ok, %Post{}}
+iex> create_post(event, %{field: value})
+{:ok, %Post{}}
-iex> create_post(event, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_post(event, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -295,11 +295,11 @@ Functions
Examples
-iex> create_reaction(%{field: value})
-{:ok, %Reaction{}}
+iex> create_reaction(%{field: value})
+{:ok, %Reaction{}}
-iex> create_reaction(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_reaction(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -349,11 +349,11 @@ Functions
Examples
-iex> delete_post(post)
-{:ok, %Post{}}
+iex> delete_post(post)
+{:ok, %Post{}}
-iex> delete_post(post)
-{:error, %Ecto.Changeset{}}
+iex> delete_post(post)
+{:error, %Ecto.Changeset{}}
@@ -365,7 +365,7 @@ Functions
delete_reaction(params)
-
+
View Source
@@ -381,11 +381,11 @@ Functions
Examples
-iex> delete_reaction(reaction)
-{:ok, %Reaction{}}
+iex> delete_reaction(reaction)
+{:ok, %Reaction{}}
-iex> delete_reaction(reaction)
-{:error, %Ecto.Changeset{}}
+iex> delete_reaction(reaction)
+{:error, %Ecto.Changeset{}}
@@ -415,10 +415,10 @@ Functions
Examples
-iex> get_post!("123e4567-e89b-12d3-a456-426614174000")
-%Post{}
+iex> get_post!("123e4567-e89b-12d3-a456-426614174000")
+%Post{}
-iex> get_post!("123e4567-e89b-12d3-a456-426614174123")
+iex> get_post!("123e4567-e89b-12d3-a456-426614174123")
** (Ecto.NoResultsError)
@@ -447,10 +447,10 @@ Functions
Examples
-iex> get_reaction!(123)
-%Reaction{}
+iex> get_reaction!(123)
+%Reaction{}
-iex> get_reaction!(456)
+iex> get_reaction!(456)
** (Ecto.NoResultsError)
@@ -525,11 +525,11 @@ Functions
Examples
-iex> update_post(post, %{field: new_value})
-{:ok, %Post{}}
+iex> update_post(post, %{field: new_value})
+{:ok, %Post{}}
-iex> update_post(post, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> update_post(post, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
diff --git a/Claper.Presentations.PresentationFile.html b/Claper.Presentations.PresentationFile.html
index ea64c96..d851ec2 100644
--- a/Claper.Presentations.PresentationFile.html
+++ b/Claper.Presentations.PresentationFile.html
@@ -5,12 +5,12 @@
-
+
- Claper.Presentations.PresentationFile — Claper v1.1.1
+ Claper.Presentations.PresentationFile — Claper v1.2.0
-
+
@@ -70,7 +70,7 @@
Claper
- v1.1.1
+ v1.2.0
iex> create_presentation_file(%{field: value})
-{:ok, %PresentationFile{}}
+iex> create_presentation_file(%{field: value})
+{:ok, %PresentationFile{}}
-iex> create_presentation_file(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_presentation_file(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -269,11 +269,11 @@ Functions
Examples
-iex> create_presentation_state(%{field: value})
-{:ok, %PresentationState{}}
+iex> create_presentation_state(%{field: value})
+{:ok, %PresentationState{}}
-iex> create_presentation_state(%{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> create_presentation_state(%{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -303,10 +303,10 @@ Functions
Examples
-iex> get_presentation_file!(123)
-%PresentationFile{}
+iex> get_presentation_file!(123)
+%PresentationFile{}
-iex> get_presentation_file!(456)
+iex> get_presentation_file!(456)
** (Ecto.NoResultsError)
@@ -379,11 +379,11 @@ Functions
Examples
-iex> update_presentation_file(presentation_file, %{field: new_value})
-{:ok, %PresentationFile{}}
+iex> update_presentation_file(presentation_file, %{field: new_value})
+{:ok, %PresentationFile{}}
-iex> update_presentation_file(presentation_file, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> update_presentation_file(presentation_file, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
@@ -411,11 +411,11 @@ Functions
Examples
-iex> update_presentation_state(presentation_state, %{field: new_value})
-{:ok, %PresentationState{}}
+iex> update_presentation_state(presentation_state, %{field: new_value})
+{:ok, %PresentationState{}}
-iex> update_presentation_state(presentation_state, %{field: bad_value})
-{:error, %Ecto.Changeset{}}
+iex> update_presentation_state(presentation_state, %{field: bad_value})
+{:error, %Ecto.Changeset{}}
diff --git a/Claper.Release.html b/Claper.Release.html
index dbf791b..a603ee1 100644
--- a/Claper.Release.html
+++ b/Claper.Release.html
@@ -5,12 +5,12 @@
-
+
- Claper.Release — Claper v1.1.1
+ Claper.Release — Claper v1.2.0
-
+
@@ -70,7 +70,7 @@
Claper
- v1.1.1
+ v1.2.0