docbrown/app/assets/javascripts/utilities
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
..
browserStoreCache.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
buildArticleHTML.js.erb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
buildCommentFormHTML.js.erb Improve accessibility score on homepage and article show page (#2740) [ci skip] 2019-05-07 09:56:34 -04:00
buildCommentHTML.js.erb Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
checkUserLoggedIn.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
getCsrfToken.js.erb Migrate to Travis CI (part 2) (#591) 2018-07-20 20:17:18 -04:00
getCurrentPage.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
getImageForLink.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
insertAfter.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
localDateTime.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
localStorageTest.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
preventDefaultAction.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
sendFetch.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
sendHapticMessage.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
showModal.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
slideSidebar.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
timeAgo.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
userData.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00