Commit graph

520 commits

Author SHA1 Message Date
witzig
2160a10338 Satisfy eslint linebreak-style 2017-05-27 13:28:40 +02:00
Roger Witzig
5649c6b842 Merge pull request #227 from bures/master
Extended subscription/unsubscription (selectable unsubscription process)
2017-05-27 12:31:56 +02:00
vladimir
5c0aab1c3e Merge remote-tracking branch 'upstream/master' 2017-05-27 10:45:27 +02:00
Tomas Bures
c11d1a1cbf Added processing of the "auto" option in unsubscription.
If auto=yes is specified, the two-step unsubscription works as one-step. No unsubscription form is presented.
2017-05-27 00:43:56 +02:00
Tomas Bures
e78c64ed13 Merge branch 'master' of github.com:Mailtrain-org/mailtrain 2017-05-27 00:07:18 +02:00
Tomas Bures
6c02db3331 Added better support for preconditions in use-cases. 2017-05-27 00:06:34 +02:00
Tomas Bures
bb2b3da9dd Added waitUntilVisibleAfterRefresh and textsToWaitFor - both discussed with @witzig.
Page objects refactored to exploit textsToWaitFor if relevant.

Login tests refactored for the newer API.

Some additional tests in subscription. The rest at least included as "pending".
2017-05-26 00:13:40 +02:00
witzig
fdb6075788 Fixed mailparser dependency (#237) 2017-05-25 10:56:32 +02:00
Tomas Bures
ccd37ac792 Polishing e2e test API. Added option to parse links and extract parameters from them. Added option to construct parameterizedlinks in "navigate". 2017-05-23 19:34:01 +02:00
Tomas Bures
328034bae0 Half way in improving e2e test infrastructure and refactoring tests to the enhanced (un)subscription process 2017-05-23 04:15:32 +02:00
Tomas Bures
62cc881fd4 Merge remote-tracking branch 'upstream/master' 2017-05-18 22:46:53 +02:00
witzig
89fd2ed922 Update README 2017-05-18 10:32:16 +02:00
witzig
ff4505139c Updated install scripts. Now uses Node v7.x 2017-05-18 09:56:23 +02:00
Tomas Bures
4c4a0da0ce Merge branch 'master' of github.com:Mailtrain-org/mailtrain 2017-05-17 09:20:46 -04:00
Tomas Bures
c2ee0f1e7b Merge pull request #231 from witzig/e2e
e2e tests
2017-05-17 15:19:59 +02:00
Tomas Bures
d70cd398b5 Merge branch 'master' of github.com:Mailtrain-org/mailtrain 2017-05-17 08:53:09 -04:00
Andris Reinman
94eccb34a1 Updated README, added note about Mailtrain versions 2017-05-16 16:39:17 +03:00
witzig
20e6e62c3c Fixed typo 2017-05-16 09:05:12 +02:00
witzig
43e1cab315 Updated readme and added install script 2017-05-16 02:47:35 +02:00
witzig
c3e9781dc4 Using object composition instead of class inheritance for page objects 2017-05-10 16:22:37 +02:00
witzig
f106cd2850 Some fixes for e2e tests 2017-05-10 12:44:48 +02:00
witzig
6c35046ab2 e2e tests (draft) 2017-05-10 01:40:02 +02:00
Tomas Bures
432e6ffaeb Upgraded the DB schema number. 2017-05-06 06:41:15 -04:00
Tomas Bures
6b92e39112 Some fixes in lists and apis to reflect the changes in subscriptions.
Confirmation URLs split per action type. This allows more specific error reporting.
2017-05-06 06:35:32 -04:00
Tomas Bures
11990d62b2 Merge branch 'master' of github.com:Mailtrain-org/mailtrain
Conflicts:
	languages/de_DE.po
2017-05-04 17:58:55 -04:00
Tomas Bures
a6d25e668b Release candidate of the selectable unsubscription
Implemented the resubscription process - i.e. pre-filling in the form when the subscription link is clicked in the unsubscription notice.
2017-05-04 17:42:46 -04:00
witzig
ecc7779312 Updated de_DE translation 2017-05-04 00:47:08 +02:00
witzig
408db13fd4 Updated RSS merge tag reference 2017-05-03 23:13:05 +02:00
Tomas Bures
bd4961366f More or less all the functionality for selectable unsubscription process. Not tested yet!
Sending emails moved completely to controller. It felt strange to have some emails sent from the controller and some of them from the model.
Confirmations refactored to an independent model that can be potentially used also for other actions that need an email confirmation.
2017-05-03 15:53:34 -04:00
Andris Reinman
d555ca44ac Merge pull request #224 from afanjul/master
RSS Improvements to allow more template tags
2017-05-03 09:29:32 +03:00
witzig
85cefc14e8 Added option to disable the sender header when using VERP 2017-05-02 23:51:55 +02:00
Alejandro Fanjul
92bffd78de RSS Improvements to allow more template Tags like ([RSS_ENTRY_TITLE], [RSS_ENTRY_DATE], [RSS_ENTRY_LINK], [RSS_ENTRY_CONTENT], [RSS_ENTRY_SUMMARY], [RSS_ENTRY_IMAGE_URL]) 2017-05-02 18:38:54 +02:00
Andris Reinman
c4b80fff93 Merge pull request #207 from bures/master
Protected lists
2017-05-02 10:31:31 +03:00
Tomas Bures
32e2e61789 Unsubscription is identified by subscriber cid. This effectivelly allows only the recipient of the email to unsubscribe. This addresses issue #221.
I also scraped the "auto" parameter which automatically submits the unsubscription form when the link is clicked in a campaign email. Instead, I introduced the
unsubscription options ONE_STEP, ONE_STEP_WITH_FORM, TWO_STEP, TWO_STEP_WITH_FORM. The options without "_WITH_FORM" shall behave like when called with "auto".
This functionality is to come. Currently it behaves as ONE_STEP_WITH_FORM.
2017-04-30 13:01:22 -04:00
Tomas Bures
3783d7c2ce Halfway through extending subscriptions by selectable unsubscription process. Also contains changes towards better handling of scenarios when address is already subscribed. 2017-04-30 10:51:47 -04:00
Tomas Bures
b0d51c7dad Updated .gitignore to ignore custom configs in worker/reports 2017-04-27 19:31:39 -04:00
Tomas Bures
20028303f8 Additions to the install scripts 2017-04-27 19:30:11 -04:00
Tomas Bures
540c9044ae Updated setup scripts 2017-04-27 18:41:03 -04:00
Tomas Bures
92df915a7e config.user/group used if config.rouser/rogroup is not set 2017-04-27 18:25:05 -04:00
Tomas Bures
7a08ffa596 Fix - reports crashed if the user could not be switched (because mailtrain was not run under root). Now an error is reported. 2017-04-27 18:14:15 -04:00
root
2ac89f3365 Report processor worker refactored to run under another user (nobody) and have its own mysql credentials. 2017-04-27 16:35:53 -04:00
Tomas Bures
c3edf42ada Fixes in install script on CentOS 7 2017-04-26 05:20:29 -04:00
Tomas Bures
418dba7b9f Work in progress on securing reports. 2017-04-25 22:49:31 +00:00
Tomas Bures
3072632d8d Fixed eslint errors 2017-04-23 15:24:31 -04:00
Tomas Bures
bb4eb3832f Some bugfixes to the previous commit. 2017-04-20 19:57:55 -04:00
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