Commit graph

475 commits

Author SHA1 Message Date
Tomas Bures
8237dd5d77 The "Reports" feature seems functional.
Some small refactoring (column widths) of rendering tables in Lists, Templates, and Campaigns so that it is the same as Reports.
2017-04-20 19:42:01 -04:00
Tomas Bures
e7d12f1dbc Halfway through in refactoring the report generation to a separate process running asynchronously of the Express server. 2017-04-17 18:31:01 -04:00
Tomas Bures
2056645023 Added the option to select lists in report.
Added an option to generate a CSV report.
2017-04-17 16:30:31 -04:00
Tomas Bures
6ba04d7ff4 This is a preview of the Reports functionality.
It allows defining report templates and then create reports based on the templates.
A template defines:
- parameters - to be set in the report (currently only selection of campaigns, in the future to be extended to selection of lists/segments, and selection from pre-defined options)
- data retrieval / processing code (in Javascript)
- rendering template (in Handlebars)

This main functionality is accompanied by a few minor tweaks here and there. Worth notice is the ability to use server-side ajax table s for multi-selection of campaigns. This is meant for reports that compare data across multiple campaigns. This could possibly be even used for some poor man's A/B testing.

Note that the execution of custom JavaScript in the data retrieval / processing code and definition of custom Handlebars templates is a security issue. This should however be OK in the general case once proper user management with granular permissions is in. This is because definition of a report template is anyway such an expert task that it would normally be performed only by admin. Instantiation of reports based on report templates can be then done by any user because this should no longer be any security problem.
2017-04-16 18:09:08 -04:00
Tomas Bures
2afeb74e68 Merge branch 'master' of https://github.com/Mailtrain-org/mailtrain 2017-04-16 03:28:07 -04:00
Tomas Bures
9fdf52674e Lists and Templates overviews refactored to use ajax. Before the refactoring, they behaved and looked a bit different to the other (Ajax) tables. The main difference in the behavior was in the row numbers (1st column) when sort order was switched. The non-ajax tables rearranged the numbers in the 1st column while the ajax-tables didn't.
Some small tweaks in table-helpers to allow selecting which fields are pulled from DB (and how they are renamed).
2017-04-16 03:22:32 -04:00
Andris Reinman
ec76994f69 Merge pull request #208 from larrabee/master
Bugfix: mail sender stuck on blacklisted email
2017-04-15 18:22:19 +03:00
vladimir
a277d37701 Merge remote-tracking branch 'upstream/master' 2017-04-15 17:13:50 +02:00
vladimir
684ba69d46 Bugfix: mail sender stuck 2017-04-15 17:13:36 +02:00
Tomas Bures
e5190c9b20 Code de-duplication of list and filter methods. The common functionality moved to table-helpers.js
This should make developing new table-based views easier.
2017-04-15 08:24:58 -04:00
Tomas Bures
c74232e9c5 Added option to mark a list as not being allowed to be subscribed by public users using the form.
The settings is a checkbox in list create/edit.
2017-04-14 08:57:47 -04:00
Andris Reinman
80cf2c8888 Merge pull request #204 from larrabee/master
Fix error in SQL migration: utf8mb4 was not work with varchar(255)
2017-04-13 19:53:08 +03:00
vladimir
818e764b28 Fix error in SQL migration: utf8mb4 was not work with varchar(255) 2017-04-13 18:48:54 +02:00
Andris Reinman
d143a52cfd Merge pull request #203 from larrabee/blacklist
Add blacklist function
2017-04-13 10:13:25 +03:00
vladimir
c9136f8abd Add blacklist function 2017-04-11 10:10:02 +02:00
witzig
100fd41713 Fixes widgets for custom forms, #201 2017-04-10 08:44:33 +02:00
Andris Reinman
66839f17e7 Merge pull request #199 from programster/docker-changes-2
Docker changes for using local files rather than pulling from web
2017-04-09 17:24:58 +03:00
Programster
4b54c36878 using the local files for the docker build rather than performing a git clone. This way if we build from an older release, we will be building that release rather than always the latest version of mailtrain. 2017-04-08 13:37:59 +01:00
witzig
59f19534e7 Don't enable VERP by default. #56 and #106 2017-04-08 13:21:09 +02:00
witzig
bc669c1e05 Remove pencil icon from GrapeJS image toolbar, #195 2017-04-07 23:12:01 +02:00
Andris Reinman
04e1b015b9 v1.23.2 2017-04-04 12:41:32 +03:00
Andris Reinman
4ca98dd437 v1.23.2 2017-04-04 12:40:06 +03:00
witzig
60907c0d86 Subscription Widget 2017-04-03 20:42:04 +02:00
witzig
67eae8616d Use pixel values for alerts on subscription pages 2017-04-02 22:27:08 +02:00
witzig
9c2444488f Satisfy ESLint no-unused-vars 2017-04-02 14:00:42 +02:00
witzig
52bbdb1a09 Fixed NodeList.forEach (and some refactoring) 2017-04-02 13:58:42 +02:00
Andris Reinman
f234a64df7 Merge pull request #187 from larrabee/disable_email_check
Add option to disable email cheking for imported CSV
2017-03-31 13:43:08 +03:00
Andris Reinman
8715b80990 Merge pull request #188 from larrabee/change_chart_view
Small visual change in device/country charts
2017-03-31 13:24:17 +03:00
vladimir
3b39f619b1 Small visual change in device/country charts 2017-03-31 11:51:26 +02:00
vladimir
1547e887c3 Add option to disable email cheking for imported CSV 2017-03-31 11:20:43 +02:00
Andris Reinman
2df265009c v1.23.1 2017-03-26 14:01:17 +03:00
Andris Reinman
d7c06e0a5a Do not use .stack property with error objects 2017-03-24 13:04:38 +02:00
Andris Reinman
060b6dbacc Merge branch 'master' of kreata.ee:/var/opt/mailtrain 2017-03-23 15:47:56 +02:00
Andris Reinman
47705c212d Replaced andris9 with Mailtrain-org 2017-03-23 15:47:00 +02:00
Andris Reinman
2dd21c11c0 updated README 2017-03-23 14:34:29 +02:00
Andris Reinman
6f95474155 Removed mailtrain.pot catalogue file. Generate it every time freshly when updating PO file 2017-03-23 11:15:01 +02:00
witzig
06fca3acdb Added ImageMagick to install.sh 2017-03-22 11:22:52 +01:00
witzig
2faa363196 Merge pull request #185 from witzig/translation
German Translation
2017-03-21 14:26:03 +01:00
witzig
e5655bcd0b de_DE 2017-03-21 14:24:28 +01:00
witzig
2b7e0bbc4c Updated mailtrain.pot 2017-03-21 14:24:15 +01:00
witzig
1564ca07cc Freeze MJML dependency 2017-03-21 12:00:42 +01:00
Andris Reinman
bb25c65c63 merged 2017-03-21 12:30:08 +02:00
witzig
56f621079f Updated Screenshots 2017-03-21 10:53:35 +01:00
witzig
038c8f4adb Fix closing tag 2017-03-21 10:26:26 +01:00
witzig
0e7f85f13e Add .logged-in and .user-username to body 2017-03-21 10:24:48 +01:00
Andris Reinman
89f70ba8d1 Merge pull request #179 from larrabee/master
[feature] Add Dockerfile and update readme
2017-03-21 11:08:14 +02:00
vladimir
9bfa61c92c Add ImageMagick install to Dockerfile 2017-03-21 11:07:24 +02:00
Andris Reinman
179e0d5ab3 fixed thrown errors 2017-03-21 10:39:44 +02:00
Andris Reinman
73ee6bf4a1 updated mailtrain sql 2017-03-21 10:31:56 +02:00
Andris Reinman
846e4f8cc4 Merge branch 'larrabee-clicks-by-device-type' 2017-03-21 10:31:12 +02:00