-
-
Notifications
You must be signed in to change notification settings - Fork 71
Assorted fixes for errors #1820
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0f7784c
added Post#deleted_by_owner? predicate
Oaphi c7fc046
fixed server error when rendering posts/_expanded if deleter user is …
Oaphi a078946
fixed server error when rendering reactions from hard-deleted users
Oaphi 037f560
fixed unexpected error when opening a comment thread lock modal
Oaphi 595d9d1
added missing locked_at column to comment threads
Oaphi 0dd8fa1
added Ability#post_score_percent_for(user) nil-safe method
Oaphi 94076a2
added Ability#edit_score_percent_for(user) nil-safe method
Oaphi d32ae6b
added Ability#flag_score_percent_for(user) nil-safe method
Oaphi f89cf87
consider abilities with threshold set to 0 to be automatically reached
Oaphi 4f8465b
added failure path tests for score_percent_for methods of Ability model
Oaphi 5de8faa
added auto success path tests for score_percent_for methods of Abilit…
Oaphi d12c773
added test for edit_score_percent_for actual calculation
Oaphi aed68e6
added test for flag_score_percent_for actual calculation
Oaphi 85797f1
added missing 'everyone' user ability to new user fixtures
Oaphi f67cb47
added missing 'unrestricted' user ability to new user fixtures
Oaphi 4ad6032
made User#ability_on? tests more robust
Oaphi bbd8420
added test for post_score_percent_for actual calculation
Oaphi 9968126
made ability score user fixtures clearer in intent
Oaphi ce1dcbb
moved comment thread locking into a proper lock_thread action with er…
Oaphi 92014eb
don't forget to remove testing overrides
Oaphi 5149019
split thread restrict actions into individual actions
Oaphi a191df6
split thread unrestrict actions into individual actions
Oaphi b22c736
disambiguated post_scorer_question fixture's meaning of 'positively s…
Oaphi bc6bacb
finished splitting up thread_restrict action
Oaphi 3b974bf
restored follow comment thread client-side functionality
Oaphi 027d186
fixed retrict actions on expanded thread view loading inline version …
Oaphi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.