docbrown/spec
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
..
black_box Add more variation to home feed (#4069) 2019-09-19 12:58:11 -07:00
decorators Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
factories Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
fixtures Set max file size limit for profile images (#3313) 2019-06-28 12:06:25 -04:00
helpers Replace ^ and $ with \A and \z in Ruby regexps (#4072) 2019-09-20 10:28:34 -04:00
jobs Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
labor Fix mention's inconsistent hyperlink (#4051) 2019-09-18 14:15:06 -07:00
lib Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
liquid_tags Replace ^ and $ with \A and \z in Ruby regexps (#4072) 2019-09-20 10:28:34 -04:00
mailers Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
models Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
observers Moved SlackBot.delay.ping calls to ActiveJob #3136 (#3139) 2019-06-12 09:23:37 -04:00
policies Adjust BufferUpdatesController's authorization (#4070) 2019-09-20 11:50:34 -07:00
requests Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
support Support for runnable kotlin snippets #3776 (#3801) 2019-08-29 16:06:17 -04:00
system Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
views Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
rails_helper.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00