Commit Graph

10 Commits

Author SHA1 Message Date
Nuwan 1ca3f5f245 improvements to sending weekly emails
- optimize user filtering sql
- dealing with default values
- eliminate null value errors in mailer templates
2023-11-02 08:41:35 +05:30
Nuwan fad3b73d67 wip new user recommendation email 2023-11-02 08:33:48 +05:30
Nuwan 46202a2373 sip on user match mailer 2023-11-02 08:33:48 +05:30
Seth Call dbe1cc9644 update to N/A 2021-08-30 16:00:25 -05:00
Seth Call a1ab88f641 Add session video beta button 2021-08-24 08:54:16 -05:00
Nuwan Chaturanga fc624115b5 Merged in VRFS-5222-asset_upload_api (pull request #29)
VRFS-5222 asset upload api

* migration file

* asset upload api wip

* /api/user_assets

this api endpoint is used to upload and query user_assets.
for uploads send following parameters..
- asset_type
- filename
- recording_id (optional)
- session_id (optional)
- ext_id (optional)
the api provides json response with signed url to aws s3

the same api endpoint is used to query uploaded user assets.
Following query parameters are supported.
- id
- ext_id
- recording_id + asset_type
- session_id + asset_type

* delete unused asset_uploader

* for user_asset uploads use aws_bucket

* db migration to add index on user_id of user_assets table

Approved-by: Seth Call
2021-06-17 02:20:55 +00:00
Nuwan Chaturanga c2fe4ffb98 Merged in VRFS-5128_report_for_ad_campaigns (pull request #14)
VRFS-5128 report for ad campaigns

* Ad campaign report

add new admin report for monitor and analyze the results
from a variety of paid campaigns

* reload report after updating values using best_in_place

* add users first_subscribed_plan_code

use this new column in ad campaigns report to filter by
subscription plan

* set first_subscribed_plan_code in recurly subscription creation

* set correct value for first_subscribed_plan_code
2021-04-21 21:27:55 +00:00
Nuwan b574b5e0c6 Support optional video server 2021-04-11 11:42:01 -05:00
Seth Call cf47777115 Update Affliate Code and Reports to 2021 spec
Add support to account for subscriptions
Change rate to 30%.  JamTracks 25cents
Reports updated for end users and admin
2021-03-11 19:36:14 -06:00
Nuwan 48dfb68f89 change database migrations to be natural rails db migrations. 2021-02-13 20:17:18 -06:00