docbrown/app/models
rhymes 2e5a847ab8 API: /api/articles/me defaults to published articles (#3937)
* /api/articles/me defaults to published articles

We want to make it explicit to retrieve unpublished articles, this change defaults `/api/articles/me` to only published articles, also adds `/api/articles/me/published`, `/api/articles/me/unpublished` and `/api/articles/me/all` to make requests more explicit.

* Refactor /me logic into a case switch
2019-09-04 14:02:13 -04:00
..
concerns Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
webhook Webhooks: API fixes and docs (#3901) 2019-09-03 10:41:23 -04:00
api_secret.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
application_record.rb Initial commit 2018-02-28 16:11:08 -05:00
article.rb API: /api/articles/me defaults to published articles (#3937) 2019-09-04 14:02:13 -04:00
backup_data.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
badge.rb Add badges to key tags (#3074) 2019-06-07 19:09:43 -04:00
badge_achievement.rb Implemented ActiveJob for badge_achievements#send_email_notification (#2962) 2019-05-27 09:44:38 -04:00
block.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
broadcast.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
buffer_update.rb Buffer Listings (#2956) 2019-06-14 19:33:19 -04:00
chat_channel.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
chat_channel_membership.rb Remove hardcoded image from chat channel images (#3235) 2019-06-19 10:12:58 -04:00
classified_listing.rb Listing Drafts and Deletion (#3540) 2019-09-01 13:54:54 -04:00
collection.rb Collection: remove optional user and add tests (#3383) 2019-08-02 10:15:04 -04:00
comment.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
credit.rb Credits ledger (#3395) 2019-07-09 10:11:18 -04:00
display_ad.rb Update Complexity linters (#3507) [ci skip] 2019-08-01 16:38:27 -04:00
display_ad_event.rb Update Complexity linters (#3507) [ci skip] 2019-08-01 16:38:27 -04:00
email_message.rb Fix repeated queries for reports (#835) 2018-10-09 12:42:55 -04:00
event.rb Move bust_cache methods in own jobs (#3071) 2019-06-24 13:28:25 -04:00
feedback_message.rb Add report abuse link to listings (#2684) 2019-05-04 09:06:42 -04:00
follow.rb Add backend functionality for muting users you follow (#3240) 2019-06-20 11:28:50 -04:00
github_issue.rb Fixed some Style/* rubocop violations (#2314) 2019-04-06 14:24:33 -04:00
github_repo.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
html_variant.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
html_variant_success.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
html_variant_trial.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
identity.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
job_opportunity.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
languages.rb Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
mention.rb Fix mention validation when validating an empty instance (#3188) 2019-06-18 21:36:01 -04:00
message.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
note.rb Add user status to internal/users (#1444) 2019-01-03 16:44:43 -05:00
notification.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
notification_subscription.rb Finalize UI for all types of notification settings (#3164) 2019-06-14 18:28:38 -04:00
organization.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
organization_membership.rb Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
page.rb Move bust_cache methods in own jobs (#3071) 2019-06-24 13:28:25 -04:00
page_view.rb Pro: add referrers to dashboard and single article stats (#3295) 2019-06-25 13:58:09 -04:00
podcast.rb Introduced published field to podcasts (#3593) 2019-08-01 09:29:13 -04:00
podcast_episode.rb Introduced published field to podcasts (#3593) 2019-08-01 09:29:13 -04:00
poll.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
poll_option.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
poll_skip.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
poll_vote.rb Remove double presence validator in PollVote (#3187) [ci skip] 2019-06-17 10:28:05 -04:00
profile_pin.rb Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
push_notification_subscription.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
rating_vote.rb Add page for users to "manage" their posts after publication (distribution, etc.) (#2627) 2019-05-01 09:00:09 -04:00
reaction.rb Add reading time to reading list (#2929) 2019-05-31 16:45:29 -04:00
role.rb Remove all old membership code, see 97040ab6 (#3575) 2019-07-30 12:33:50 -04:00
search_keyword.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
sponsorship.rb Sponsorship: business logic (step 2) (#3440) 2019-07-10 16:40:56 -04:00
tag.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
tag_adjustment.rb Allow admins to undo a tag adjustment (#3653) 2019-08-14 09:26:26 -04:00
tweet.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00
user.rb Rename uncommunicative variables (#3890) 2019-09-02 13:05:07 -04:00