Commit Graph

149 Commits

Author SHA1 Message Date
Kailash Nadh ec02921c25 Fix SVG logo (font to path) 2018-11-05 17:04:39 +05:30
Kailash Nadh 6761d1af23 Add missing placement param to all antd notification() calls 2018-11-05 17:03:25 +05:30
Kailash Nadh f2c09e716c Refactor the import process
- Add 'Subscribe' and 'Blacklist' modes to the importer
- Removed 'override status' and the support for the 'status' field in import files
2018-11-05 16:59:09 +05:30
Kailash Nadh 31e180089e WIP: Add dashboard stats queries and endpoint 2018-11-05 11:19:08 +05:30
Kailash Nadh 9aa413013a Update logo 2018-11-05 11:15:35 +05:30
Kailash Nadh a82a64adc4 Fix broken TrackLink tag correction 2018-11-03 18:55:19 +05:30
Kailash Nadh ac8c7ed93b Add custom theme overhaul
- Use 'config-overrides.js' with less loader to load ant.design's less files instead of the compiled css to override theme variables
- Change logo, favicon, and primary theme colours
- Add pageTitle() to App() to let components set page titles
- Move all notifications to bottomRight to avoid blocking action items on the UI
2018-11-03 17:53:22 +05:30
Kailash Nadh 5d099ab10c Make image inserts use full root URL 2018-11-02 23:57:44 +05:30
Kailash Nadh de4e848e6d Sanitize config paths 2018-11-02 23:57:07 +05:30
Kailash Nadh ad8787cab3 Load global configuration into the frontend as a JS dict using a <script> inclusion 2018-11-02 23:33:00 +05:30
Kailash Nadh 09b7fc8d0c Refactor and move FirstName LastName functions to the Subscriber model 2018-11-02 16:08:54 +05:30
Kailash Nadh ae2ca2cb5d Fix routes not remounting with keys 2018-11-02 16:02:48 +05:30
Kailash Nadh a9f976ad81 Add tracking tag to default template 2018-11-02 15:42:32 +05:30
Kailash Nadh 5bede7ac02 Remove binary 2018-11-02 15:39:47 +05:30
Kailash Nadh 6c5cf0da7a Add support for campaign view tracking with {{ TrackView }} pixel tag 2018-11-02 13:20:32 +05:30
Kailash Nadh c96de8d11f Refactor template previewing with better dummy data 2018-11-02 13:19:18 +05:30
Kailash Nadh 027bc02a83 Fix re-rendering of iframe by removing state dependency for spinner 2018-11-02 13:17:18 +05:30
Kailash Nadh 0fee76a88e Add loading spinner to preview modal 2018-11-02 00:14:43 +05:30
Kailash Nadh 595bdb241a Set all campaign templates to default when a used template is deleted 2018-11-02 00:07:02 +05:30
Kailash Nadh 67d65b3a8b Add new template functions and rename Track to TrackLink 2018-11-01 22:00:07 +05:30
Kailash Nadh ad96a4341c Add simple sanitsation to subscriber name 2018-11-01 21:59:38 +05:30
Kailash Nadh f9c83e6432 Add target meta tag to open links in new windows on preview iframes 2018-11-01 21:55:22 +05:30
Kailash Nadh 1473961ef0 Fix next-campaigns query to return campaign_ids with 0 counts as well when there were 0 subscribers in target_lists. This would result in started_at never being updated in the update sub query. 2018-11-01 17:51:29 +05:30
Kailash Nadh d712afff97 Fix error on campaign creation when there are 0 target in target lists 2018-11-01 17:50:03 +05:30
Kailash Nadh acee18c58c Refactor dummyUser struct for use in multiple places 2018-10-31 19:50:26 +05:30
Kailash Nadh b63e3907c5 Fix incorrect return of cached tracking link 2018-10-31 19:50:03 +05:30
Kailash Nadh b4e6ed658a Refactor and fix obsolete campaign template compilation and validation routines 2018-10-31 19:42:07 +05:30
Kailash Nadh d62bb97ee1 Fix missing mutex unlock 2018-10-31 18:46:20 +05:30
Kailash Nadh 39ba75b420 Fix merge conflict 2018-10-31 18:26:51 +05:30
Kailash Nadh 81953d68d0 - Refactor and move template compilation from runner to models.Campaign to support adhoc template funcs
- Add support for {{ Track "https://url.com" }} in templates to register and track links
2018-10-31 18:24:21 +05:30
Kailash Nadh 1ae2905bf5 Add help text 2018-10-31 18:23:57 +05:30
Kailash Nadh 0fb9c6aed1 Change unsubscribe (click instead of onload) behaviour and language 2018-10-31 18:22:54 +05:30
Kailash Nadh 12182b3bc7 Fix bad exception handling in cases of 0 CSVs in import ZIPs 2018-10-30 18:44:51 +05:30
Kailash Nadh 0163cf985f Fixed bugs in importer
- Added missing per line validation and error reporting using SubReq
- Rollback and die if there's an error in the insert statement in the importer batch loop. Without this, connections pile up.
2018-10-30 18:17:26 +05:30
Kailash Nadh 52f8217b77 Fix form state locking on save 2018-10-30 11:18:15 +05:30
Kailash Nadh f449f49107 Fix the completely broken unsubscribe query 2018-10-30 11:17:50 +05:30
Kailash Nadh d89b22e757 Add 'send campaign test' feature 2018-10-29 15:20:49 +05:30
Kailash Nadh 3a1faf0faa Refactor the Go template string placeholder into a constant 2018-10-29 15:20:11 +05:30
Kailash Nadh 16b0b0441b Fix the horrible HTML typos in the default template 2018-10-29 15:17:48 +05:30
Kailash Nadh b70ceccd02 Refactor and fix the bad URL param substitution method 2018-10-29 15:16:53 +05:30
Kailash Nadh 0a86ae761b Fixed incorrect subscriber SQL fetch check 2018-10-26 14:35:17 +05:30
Kailash Nadh 229fd7f0c1 Remove debug line ;( 2018-10-26 13:27:39 +05:30
Kailash Nadh e794aa703d Fix campaigns table actions cell width 2018-10-26 13:23:12 +05:30
Kailash Nadh 2064f06218 Fix next-campaigns to update fields irrespective of to_send 2018-10-26 13:21:45 +05:30
Kailash Nadh 9582e20cd7 Fix the preview button in the new template form 2018-10-26 12:29:46 +05:30
Kailash Nadh 0849dc491b Added the clone modal that was accidentally removed 2018-10-26 12:24:51 +05:30
Kailash Nadh a1b5a39cfb Added preview component with preview support for campaigns and templates 2018-10-26 11:18:17 +05:30
Kailash Nadh 2121c250ff Ignore yarn.lock 2018-10-25 19:23:30 +05:30
Kailash Nadh 3ab21383b1 Fresh start 2018-10-25 19:21:47 +05:30