A common response in collection endpoint with REST APIs is to return an empty result set when the requested params end up in an empty result. The reason for this is that the resource itself exists (the collection always exists), it just is empty.
See https://github.com/thepracticaldev/dev.to/pull/5192
* Update specs for doorkeeper test
* Add bang
* Create #authenticate
* Create /api/articles/ endpoint
* Update specs
* Update me.json.jbuilder
* Fix typo and spacing
* Support pagination for #me
* Update #authenticate! to support cookies
* Make per_page a param
* Disable method-complexity check
* Enable refresh_token
* Create /api/users/me endpoint
* Improve a few idioms with their faster counterparts
* Remove unused routes and some dead code
* Add the option to use bullet in testing mode and move rack host redirect
* Go back to the classic fetch to make mocking work
* Reorder gems and fix code climate issue
* Use timezone aware datetime methods
* Use timezone aware date parse for GitHub issue tag
* Introduce a bit of chaos programming using Zonebie
Zonebie uses a random timezone to run tests, it's a really good way to see if the code is timezone dependent or not.
* Convert GitHub issue date as UTC
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
* MVP of follow sidebar
* Prettier linted stuff
* More prettier lint
* Load only one widget
* fix github issue comment liquid tag (#242)
* Adjust Flatiron school copy/link (#241)
Per Flatiron School request, updating the homepage copy and link
* Add sticky sidebar to article show page (#243)
* Add sidebar sticky elements
* Add sticky sidebar to article show page
* Add saved changes check to user
* Fix missing CSS variable in sticky nav file
* Add date joined as default summary
* Remove accidentally-included file
* Add check for published on article sidebar
* Fix styling issues on side nav (#244)
* Add sidebar sticky elements
* Add sticky sidebar to article show page
* Add saved changes check to user
* Fix missing CSS variable in sticky nav file
* Add date joined as default summary
* Remove accidentally-included file
* Add check for published on article sidebar
* Fix styling issues on side nav
* Ben/article show redesign (#245)
* Add sidebar sticky elements
* Add sticky sidebar to article show page
* Add saved changes check to user
* Fix missing CSS variable in sticky nav file
* Add date joined as default summary
* Remove accidentally-included file
* Add check for published on article sidebar
* Fix styling issues on side nav
* Modify article order
* Fix issue in side bar
* Fix issue in side bar
* Ben/article show redesign (#246)
* Add sidebar sticky elements
* Add sticky sidebar to article show page
* Add saved changes check to user
* Fix missing CSS variable in sticky nav file
* Add date joined as default summary
* Remove accidentally-included file
* Add check for published on article sidebar
* Fix styling issues on side nav
* Modify article order
* Fix issue in side bar
* Fix issue in side bar
* Not show author image as other images
* Remove current article id from potential queried articles (#247)
* Add optimistic rendering for follow buttons
* Remove redundant line
* Fix inline stylesheet issue (#248)
* Remove current article id from potential queried articles
* Fix inline stylesheet issue
* Modify sticky_articles source to be more similar to post
* Move assign sticky nav around
* Modify sticky articles
* Attempt to fix sticky
* Fix article show to call 404
* Fix
* Conditional
* Add tag_line to org admin and add conditional on hiring post (#250)
* Modify sticky_article criteria (#251)
* Add tag_line to org admin and add conditional on hiring post
* Modify sticky_article criteria
* Move suggestions to single route
* Exclude self and already followed from suggestions
* Update readme with new API key instructions (#252)
* Modify query to be more performant and correct
* Add br instead of hr for last element
* Remove code for development woops
* Add user articles to sidebar (#253)
* Add user articles to sidebar
* Add organization save-all functionality
* Adjust articles that show up in side sticky bar (#254)
* Add user articles to sidebar
* Add organization save-all functionality
* Adjust articles that show up in side sticky bar
* Add conditional for @user_stickies to show up
* Misc change to styles (#255)
* Add user articles to sidebar
* Add organization save-all functionality
* Adjust articles that show up in side sticky bar
* Add conditional for @user_stickies to show up
* Misc change to styles
* Slight change
* Modified footer center show stuff
* Remove current article author from sticky sidebar (#256)
* Fix article preview issue (#257)
* Update blackbox's API endpoint (#259)
* Modify user tag follow suggestions
* Show empty array of users for potential spammers
* Use user columns for better accuracy and perf
* Use user instead of identity for flagging
* Fix boolean
* Add page skipping logic for young accounts
* Fix test and show team to follow for spammers
* Fix broken link
* Remove page skip logic for back button
* Add a missing bounty hunter
* Add a msg about updating social usernames
* Add mailto: link for yo@dev in terms
* Use render partial for help tag
* Lint a file
* Add first draft of onboarding follow users
* WIP onboarding
* Change users api controller
* Create FollowSuggester to return suggested follows for user
* Create initial follow users flow in onboarding
* Move follow user logic to top lvl
* Add follow api end point for onboarding
* Add profile img and update follow action
* Remove checkbox and use a tag instead
* Lint and update tests
* Remove incomplete test for now
* Final adjustments to signup modal
* Update jest snapshot
* Add more jest tests and fix typo