docbrown/app/assets/javascripts/initializers
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
..
initializeAdditionalContentBoxes.js Fix JS Lints (#3815) 2019-08-26 18:01:12 -04:00
initializeAllChatButtons.js Fix JS Lints (#3815) 2019-08-26 18:01:12 -04:00
initializeAllFollowButts.js Feature/refactored onboarding (#3333) 2019-07-26 15:53:32 -04:00
initializeAllTagEditButtons.js Add new mod links and tooling (#4009) 2019-09-12 00:11:01 -04:00
initializeArchivedPostFilter.js Add JS guard (#2819) 2019-05-13 16:33:58 -04:00
initializeArticleDate.js Show localized date/time on hover for articles/comments (#2722) 2019-05-09 11:05:17 -04:00
initializeArticleReactions.js Redesign series style (#3768) 2019-08-19 15:26:21 -04:00
initializeBaseTracking.js.erb Ensure anonymization of IP in GA (#3734) 2019-08-16 14:06:02 -04:00
initializeBaseUserData.js Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
initializeBodyData.js Remove unused timeString statements (#2568) [ci skip] 2019-04-26 12:42:49 -04:00
initializeCommentDate.js Show localized date/time on hover for articles/comments (#2722) 2019-05-09 11:05:17 -04:00
initializeCommentDropdown.js Fix js-breaking webcomponent (#3087) 2019-06-10 11:23:42 -04:00
initializeCommentPreview.js JS: Refactor & Fix Lint (#3082) 2019-07-01 14:04:25 -04:00
initializeCommentsPage.js.erb Fix for multi-image upload to handle single imgs for comments (#3771) 2019-08-19 18:15:35 -04:00
initializeCreditsPage.js Credits ledger (#3395) 2019-07-09 10:11:18 -04:00
initializeDashboardSort.js be able to sort dashboard articles (#1837) (#2337) 2019-04-15 08:30:09 -04:00
initializeDrawerSliders.js Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
initializeEllipsisMenu.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeFetchFollowedArticles.js.erb Add more variation to home feed (#4069) 2019-09-19 12:58:11 -07:00
initializeFooterMod.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeLocalStorageRender.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializePodcastPlayback.js Open a page in a new tab w/o warning when playing a podcast #2958 (#3499) 2019-07-18 09:51:08 -04:00
initializePWAFunctionality.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeReadingListIcons.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeSettings.js Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
initializeSponsorshipVisibility.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeStylesheetAppend.js.erb Initial commit 2018-02-28 16:11:08 -05:00
initializeSwipeGestures.js Initial commit 2018-02-28 16:11:08 -05:00
initializeTimeFixer.js Fix timezone issues and small adjustment to connect features (#548) 2018-07-05 16:39:04 -04:00
initializeTouchDevice.js Feature/refactored onboarding (#3333) 2019-07-26 15:53:32 -04:00
initializeUserProfilePage.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initNotifications.js Notifications: increase efficiency and fix pagination offset issue (#3986) 2019-09-10 09:43:45 -04:00
initScrolling.js.erb Fix video image on scroll (#2551) 2019-04-25 10:17:44 -04:00