docbrown/spec/factories
rhymes c8abbe9d60 Pro: memberships (#3461)
* Add ProMembership model

* Implement ProMembershipsController#create

* Implement basic ProMembershipsController#show

* Add ProMembership to ledger

* Populate user history after pro subscription is created

* Add fields for expiration notifications

* Add ProMemberships::ExpirationNotifier to notify users of expiring memberships

* Add tasks for recurring jobs to notify users of expiration

* Add auto_recharge column to ProMembership

* Add ProMemberships::Biller (incomplete)

* Fix specs

* Add ProMembership to Administrate

* Fix spec

* Add has_enough_credits? to User and Organization

* Add Payments::Customer class

* Finish ProMembership::Biller functionality

* Fix ProMemberships::Creator check for credits

* Disable destroy actions for ProMembershipsController

* Correctly authenticate ProMembershipsController actions

* Make sure only pro user's history can be indexed

* Add ProMembershipsController#update action for auto recharge

* Use regular AR to save new credits and add touch to the purchaser

* Clarify Pro membership create policy

* Display information about an existing pro membership

* Add UI to show page

* Add system test for Pro membership creation

* Implement edit membership

* Make sure users with pro memberships can access history and dashboard pro

* Fix padding issue

* Show a different text for a user that has credits but not enough for Pro

* Move Pro Membership functionality inside settings

* Update Pro Membership link in email notifications

* Bust all relevant caches

* Add the Pro checkmark around the website

* Use Users::ResaveArticlesJob instead of delay

* Add/remove user from pro-members chat channel

* Use the appropriate Pro checkmark

* Remove unfinished pro elements

* Remove checkmark JS
2019-09-24 10:38:54 -07:00
..
api_secrets.rb Listings creation and update API (#4014) 2019-09-24 07:03:52 -07:00
articles.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
badge_achievements.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
badges.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
blocks.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
broadcasts.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
chat_channel_memberships.rb Add initial invitation framework for chat channels (#528) 2018-07-02 16:31:20 -04:00
chat_channels.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
classified_listings.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
collections.rb Collection: remove optional user and add tests (#3383) 2019-08-02 10:15:04 -04:00
comments.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
credits.rb Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
display_ad_events.rb Track success of DEV Shop ads (#3589) 2019-07-31 13:44:47 -04:00
display_ads.rb Add areas for DEV Shop displays on left sidebar (#2162) 2019-03-22 09:57:37 -04:00
doorkeeper_access_tokens.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
doorkeeper_applications.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
events.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
feedback_messages.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
follow.rb Fix delayed job errors related to follows #1621 (#1835) 2019-02-23 18:16:20 -08:00
github_repos.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
html_variants.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
identities.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
mentions.rb Fix mention validation when validating an empty instance (#3188) 2019-06-18 21:36:01 -04:00
messages.rb Implement chatroom (#308) 2018-05-14 12:50:32 -04:00
notification_subscriptions.rb New Feature: Subscribe to posts! (#3149) 2019-06-14 12:03:43 -04:00
notifications.rb Notifications part 2 (#1156) 2018-11-19 18:14:24 -05:00
organization_memberships.rb Add OrganizationMembership model (#2471) 2019-04-22 14:08:02 -04:00
organizations.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
page_views.rb Pro: add referrers to dashboard and single article stats (#3295) 2019-06-25 13:58:09 -04:00
pages.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
podcast_episode_rss_items.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
podcast_episodes.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
podcasts.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
poll_options.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
poll_skips.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
poll_votes.rb Beta polls feature (admin use only for now) (#3176) 2019-06-15 17:33:30 -04:00
polls.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
pro_memberships.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
profile_pins.rb Add pinned articles box to profiles (#3269) 2019-06-24 15:18:29 -04:00
rating_votes.rb Add experience level averaging to articles (#1922) 2019-02-28 08:17:29 -08:00
reactions.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
search_keywords.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
sponsorships.rb Sponsorship: add model (step 1) (#3438) 2019-07-10 15:58:37 -04:00
tag_adjustments.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
tags.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
users.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
webhook_endpoints.rb Webhooks: API fixes and docs (#3901) 2019-09-03 10:41:23 -04:00