docbrown/app/javascript
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
..
.storybook Optimise images (#2966) 2019-05-30 17:37:10 -04:00
analytics Pro: add referrers to dashboard and single article stats (#3295) 2019-06-25 13:58:09 -04:00
article-form Refactor tags components (#3895) [ci skip] 2019-09-20 10:18:44 -04:00
chat Fix chat.jsx lints (#3889) 2019-09-12 09:30:59 -04:00
githubRepos Improve Onboarding's spec & Update snapshots (#1111) [ci skip] 2018-11-14 16:18:02 -05:00
history History and reading list refactoring (#3338) 2019-07-02 09:22:21 -04:00
listings Refactor tags components (#3895) [ci skip] 2019-09-20 10:18:44 -04:00
onboarding Refactor intro slide component (#3933) 2019-09-23 14:08:58 -04:00
packs Switch to CDN for iframe resizer (#4053) 2019-09-17 16:42:46 -07:00
readingList History and reading list refactoring (#3338) 2019-07-02 09:22:21 -04:00
searchableItemList Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
shared/components Refactor tags components (#3895) [ci skip] 2019-09-20 10:18:44 -04:00
sidebar-widget REF: React eslint (#2432) 2019-04-16 17:28:19 -04:00
src Reading list: set default reading time to 1 minute (#3927) 2019-09-03 15:50:40 -04:00
.eslintrc.js Feature/refactored onboarding (#3333) 2019-07-26 15:53:32 -04:00