-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posts by thread #71
Posts by thread #71
Conversation
… feature for posts
…uto moderator assigns them
…gres disconnecting randomly
…requests that modify the database
…ted before tracking ip
resolves issue from fresh install board.board.meta is not filled, also check board.stats
base 64 encoding can have / in it and possibly other characters that will cause verification URL to be invalid and error base 16 only contains alphanumeric with capital letters, will not cause a bad url to be generated
Model changes: checks if user's confirmation token matches supplied confirmation token if tokens match, return true and delete confirmation token off of model in database if tokens don't match, return false Controller changes: use new model function to check token match instead of in controller (tell don't ask) use return values (boolean) to match in `with` to check for success
…, helps optimize mentions
…or creating mentions
…bject remove idea of decoded token - this is an outdated notion from the legacy project id is used as the resource initially to set the subject for token. it will be updated later with session info
…f user_id, check self moderation in thread create
…ating post, this was not in the old code
… have permission to moderate before creating thread
…_mode expired without expiration set
…e, still need to handle parsing and image processing
Mentions regex
…merging boka branch
|
||
@postgres_varchar255_max 255 | ||
@postgres_varchar1000_max 1000 | ||
@hours 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hours_per_day, minutes_per_hour, second_per_minute
render(conn, :create, %{thread_data: thread_data}) | ||
else | ||
{:error, %Ecto.Changeset{} = cs} -> | ||
ErrorHelpers.render_json_error(conn, 400, cs) | ||
|
||
{:can_read, {:ok, false}} -> | ||
ErrorHelpers.render_json_error(conn, 403, "Unauthorized, you do not have permission") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe differentiate between these 403's , they have the same message
def maybe_update_last_active(nil), do: {:ok, nil} | ||
def maybe_update_last_active(%{user_id: user_id}), do: maybe_update_last_active(%{id: user_id}) | ||
|
||
def maybe_update_last_active(%{id: user_id} = user) when is_map(user) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👍
🎉 This PR is included in version 1.19.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.