Repository navigation
Bug 2085398 - Read flag changes from flag_activity and stop writing them to bugs_activity #2796
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 all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
498ab61
Bug 2085398 - Add backfill script to populate flag_activity from bugs…
Xzzz 67005a9
Bug 2085398 - Stop writing flag changes to bugs_activity
Xzzz d48a83d
Bug 2085398 - GetBugActivity reads flag changes from flag_activity
Xzzz 689debf
Bug 2085398 - BugMail reads flag changes from flag_activity
Xzzz 471b376
Bug 2085398 - ActivityStream uses flag_activity flag_id for lookup
Xzzz 8d5afe3
Bug 2085398 - Add tests for the flag_activity backfill script
Xzzz 347c44a
Bug 2085398 - Search, ReleaseTracking and UserActivity read flag chan…
Xzzz 9a84beb
Bug 2085398 - Record the acting user in flag_activity.who
Xzzz ecd87d9
Bug 2085398 - Read pre-flag_activity flag changes from bugs_activity,…
Xzzz ba54af1
Bug 2085398 - Pick the previous flag_activity row by id and show one …
Xzzz a9435b0
Merge branch 'master' into bug-2085398
dklawren a140f70
Bug 2085398 - Count flag changes in the non-bot last change time and …
Xzzz 3b3f4ba
Bug 2085398 - Index flag_activity on who and flag_when
Xzzz 3cf9f6d
Bug 2085398 - Link flags with no flag_activity row to their bugs_acti…
Xzzz 32f997d
Bug 2085398 - Count flag_activity rows in the user deletion check
Xzzz ebde8bb
Bug 2085398 - Keep the flag setter in flag_activity when a deleted re…
Xzzz b33c1df
Merge branch 'master' into bug-2085398
Xzzz 34ee87d
Bug 2085398 - Fill flag_activity.who in the bugmail flag events test
Xzzz e18e3fa
Bug 2085398 - Keep flag_activity.who in the public data dump
Xzzz 717eb53
Bug 2085398 - Refuse to delete a flag type that has flag_activity rows
Xzzz 59fe15b
Bug 2085398 - Count flag changes in owner idle time, changes to any f…
Xzzz c560c65
Bug 2085398 - Add a starting flag_activity row for flags that have none
Xzzz aca6a3b
Bug 2085398 - Skip flag changes that change nothing in bugmail
Xzzz f6a636a
Bug 2085398 - Match flag changes in changed from and changed to searc…
Xzzz 98f9ae8
Bug 2085398 - Check owner idle time with EXISTS instead of joins
Xzzz 873f583
Bug 2085398 - Date start rows at creation for flags without a modific…
Xzzz ef867b0
Bug 2085398 - Index bugs_activity for the last flag change of a bug
Xzzz ae19b88
Bug 2085398 - Add the flag_activity start rows only once
Xzzz 4071ba9
Bug 2085398 - Skip empty flag changes in the user activity report
Xzzz 66203f8
Bug 2085398 - Refuse to delete a user who is a requestee in flag_acti…
Xzzz c5f3d23
Bug 2085398 - Leave flags set at creation out of the new bug mail, wi…
Xzzz f290a46
Bug 2085398 - Finish an interrupted flag_activity.who migration, with…
Xzzz 2635ec3
Bug 2085398 - Match one net change per request in the flag changedfro…
Xzzz 62a6b1b
Bug 2085398 - Skip flag_activity rows with a guessed who in changedby…
Xzzz 1b51765
Bug 2085398 - Rename a variable Perl::Critic rejects in the flag search
Xzzz 0059875
Bug 2085398 - Count one net flag change per request in the activity b…
Xzzz 97fa12e
Bug 2085398 - Remove the literal question marks from the user activit…
Xzzz 3c3fd85
Merge branch 'master' into bug-2085398
Xzzz 6bf4021
Merge remote-tracking branch 'origin/master' into bug-2085398
Xzzz 91b8a07
Bug 2085398 - List the flags set at creation in the new bug mail again
Xzzz ca4030c
Merge remote-tracking branch 'origin/master' into bug-2085398
Xzzz 5c3d058
Bug 2085398 - Drop the foreign key on flag_activity.who before making…
Xzzz 3c0d478
Bug 2085398 - Read the flag changes up to a stored cutoff from bugs_a…
Xzzz cc875d3
Bug 2085398 - Use sql_string_concat for the flag names in GetBugActivity
Xzzz 715c65f
Bug 2085398 - Use sql_string_concat for the flag names in BugMail _ge…
Xzzz dc04011
Bug 2085398 - Use sql_string_concat for the flag names in the user ac…
Xzzz c1c4690
Bug 2085398 - Run perltidy on the files this PR changes
Xzzz af5884e
Bug 2085398 - Move the _flag_state_match comment back above its sub
Xzzz ed6ab6e
Bug 2085398 - Use loops instead of multi-statement map blocks
Xzzz ba2af71
Merge remote-tracking branch 'origin/master' into bug-2085398
Xzzz ff7a278
Bug 2085398 - Skip flag_activity rows up to the cutoff in the owner i…
Xzzz 7ba522f
Bug 2085398 - Count only the net change of a request in the release t…
Xzzz 259baba
Bug 2085398 - Use sql_limit in find_activity_id_for_flag
Xzzz 262c8aa
Bug 2085398 - Update the comments about where flag changes are stored
Xzzz ca55922
Bug 2085398 - Remove perltidy-only changes to code this PR doesn't touch
Xzzz 7f1ecfc
Bug 2085398 - Load the last flag_activity row of all the bug's flags …
Xzzz 6d52a1d
Merge remote-tracking branch 'origin/master' into bug-2085398
Xzzz 58948f1
Merge branch 'master' into bug-2085398
dklawren 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
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
Oops, something went wrong.
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.