docbrown/app/controllers/admin
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
..
application_controller.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
articles_controller.rb Dispatch events to the webhook endpoints #3715 (#3872) 2019-09-07 13:17:45 -04:00
badge_achievements_controller.rb Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
badges_controller.rb Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
collections_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
comments_controller.rb Fix URL Validations and Update Admin Dashboard (#1392) 2018-12-26 18:00:02 -05:00
display_ads_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
email_messages_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
feedback_messages_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
follows_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
html_variants_controller.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
organizations_controller.rb Remove switch organizations tab from settings and clear Rails cache for PUT /admin/organizations (#3045) 2019-06-05 19:01:34 -04:00
podcast_episodes_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
podcasts_controller.rb Introduced published field to podcasts (#3593) 2019-08-01 09:29:13 -04:00
pro_memberships_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
reactions_controller.rb Initial commit 2018-02-28 16:11:08 -05:00
sponsorships_controller.rb Sponsorship: add model (step 1) (#3438) 2019-07-10 15:58:37 -04:00
tags_controller.rb Sponsorship: remove old columns (step 3) (#3446) 2019-07-11 15:35:24 -04:00
users_controller.rb Add Instagram URL to profile links (#3307) 2019-06-26 08:56:07 -04:00