View Source Mobilizon.Web.PageController (Mobilizon v4.1.0-alpha.1)

Controller to load our webapp

Summary

Functions

@spec actor(Plug.Conn.t(), map()) :: {:error, :not_found} | Plug.Conn.t()
Link to this function

auth_device(conn, params)

View Source
@spec auth_device(Plug.Conn.t(), any()) :: Plug.Conn.t()
@spec authorize(Plug.Conn.t(), any()) :: Plug.Conn.t()
@spec comment(Plug.Conn.t(), map()) :: {:error, :not_found} | Plug.Conn.t()
@spec conversation(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
Link to this function

create_event(conn, params)

View Source
@spec create_event(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

@spec discussion(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
@spec discussions(Plug.Conn.t(), map()) :: Plug.Conn.t()
Link to this function

edit_event(conn, params)

View Source
@spec edit_event(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

@spec event(Plug.Conn.t(), map()) :: {:error, :not_found} | Plug.Conn.t()
@spec events(Plug.Conn.t(), map()) :: Plug.Conn.t()
@spec index(Plug.Conn.t(), any()) :: Plug.Conn.t()
@spec interact(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
Link to this function

list_events(conn, params)

View Source
@spec list_events(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

Link to this function

moderation_report(conn, params)

View Source
@spec moderation_report(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

@spec my_events(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

@spec my_groups(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

Link to this function

participation_email_cancellation(conn, params)

View Source
@spec participation_email_cancellation(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

Link to this function

participation_email_confirmation(conn, params)

View Source
@spec participation_email_confirmation(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.

@spec post(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
@spec posts(Plug.Conn.t(), map()) :: Plug.Conn.t()
@spec resource(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
@spec resources(Plug.Conn.t(), map()) :: Plug.Conn.t()
@spec todo(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
@spec todo_list(Plug.Conn.t(), map()) :: Plug.Conn.t() | {:error, :not_found}
@spec todos(Plug.Conn.t(), map()) :: Plug.Conn.t()
Link to this function

user_email_validation(conn, params)

View Source
@spec user_email_validation(Plug.Conn.t(), any()) :: Plug.Conn.t()

See Mobilizon.Web.PageController.index/2.