-
Notifications
You must be signed in to change notification settings - Fork 645
Add recent downloads #892
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
carols10cents
merged 37 commits into
rust-lang:master
from
natboehm:add-recent-downloads
Jul 26, 2017
Merged
Add recent downloads #892
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
bc182a5
query for recent_downloads
natboehm 36fe81c
correctly displays top recently downloaded crates
natboehm 5017507
Added recent_downloads to encodable_crate
natboehm 776ed77
addition of dropdown selection for ability to sort by recent downloads
natboehm 642a095
all-time and in past 90 days downloads displayed in list, currently b…
natboehm c105307
increased size of stats div
natboehm 1f9c68a
Remove unused code for showing only either recent downloads or all ti…
natboehm 13491f1
Misplaced paren, fixes weird searching bug
natboehm 3ba4e41
Add recent download sort to user page
natboehm 62a2110
Added sort by recent downloads to team page
natboehm 908ad06
Fixes bug on team page where dropdown selection was not changing sort…
natboehm 420b97a
fix broken test for list of crates returned by search
natboehm 2d87b06
null error when trying to get count
natboehm 6036807
Fixes error in tests where crates with zero downloads could not be gr…
natboehm 121fdbf
tests for adding crates when sort = recent-downloads
natboehm 7d66ac0
Change default sort from alpha to recent-downloads overall, alpha to …
natboehm 8946d2a
Add test for checking that the keyword index page and category index …
natboehm 549683f
Add test to check that when searching exact match is first and the li…
natboehm 15975d1
delete debug statement, clean up join function
natboehm 6609e04
add comments for tests written
natboehm 0fb2e18
Add recent download option to category index page, change default sor…
natboehm e11724a
Add recent download option to keyword index page, change default sort…
natboehm 34a30d5
add recent_downloads to fixture data
natboehm d3f1e16
fix double quote linting error
natboehm b1a9aa5
frontend tests for displaying and sorting by recent downloads
natboehm 625f04c
change 'All Time' to 'All-Time' for consistency
natboehm 9970d6d
remove unused variable
natboehm e9cdc76
cargo fmt
natboehm b086a6d
fixes bug where null downloads would be listed first when sorting by …
natboehm d5455cc
put back deny warnings
natboehm fb719cc
Add Debug to CrateDownload struct
natboehm b13c432
add recent_downloads to crate serializer, update test to match
natboehm 1c3f3c6
delete duplicate code & whitespace
natboehm 20f42d9
allow too many arguments on krate::encodable
natboehm 1acfbef
cargo fmt
natboehm dfb21b8
really allow too many arguments on krate::encodable
natboehm 8c58451
actually allow too many arguments on krate::encodable (change feature…
natboehm 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
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
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.
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.
I have no idea how you figured out this was needed; I don't think I could have!!! I'm super impressed!!! 😻