Commit graph

105 commits

Author SHA1 Message Date
joker-x
555f7a16f1 Remove admin/superadmin tests 2020-09-01 14:34:38 +02:00
joker-x
6af4c0db9e Revert 2020-08-30 17:23:24 +02:00
joker-x
136e73e28d Revert 2020-08-30 17:13:41 +02:00
joker-x
e8bad80e59 Remove enforces for getters 2020-08-30 12:16:30 +02:00
joker-x
e244163bdb Fix 2020-08-30 10:42:38 +02:00
joker-x
e2e00034be Fix 2020-08-30 10:38:50 +02:00
joker-x
c601dc9709 Fix 2020-08-30 10:34:50 +02:00
joker-x
a42f629c7e Fix 2020-08-30 08:10:35 +02:00
joker-x
27874027a9 Allow superadmin access to all entities without global permissions 2020-08-30 06:29:42 +02:00
joker-x
a5ad6f8b52 "Permission Denied" translated to es,fr,de and pt 2020-08-30 01:51:31 +02:00
joker-x
7ed5243a32 "Permission Denied" translated to es,fr,de and pt 2020-08-30 00:35:47 +02:00
joker-x
96d5fc98c0 Enforce manageCampaigns global permission in campaigns model 2020-08-30 00:04:31 +02:00
joker-x
21976bd8f7 Enforce manageUsers global permission in users model 2020-08-29 23:56:40 +02:00
joker-x
630ae7290a Enforce manageTemplates global permission in templates model 2020-08-29 23:50:38 +02:00
joker-x
7aa7b1ac41 Enforce manageLists global permission in lists model 2020-08-29 23:46:04 +02:00
joker-x
16665536c0 Enforce manageChannels global permission in channels model 2020-08-29 23:36:40 +02:00
joker-x
e0edcda3dd Enforce manageReports global permission in reports model 2020-08-29 23:30:57 +02:00
joker-x
f1b45530ed Enforce manageNamespaces global permission in namespaces model 2020-08-29 23:25:01 +02:00
Tomas Bures
613a6fb1f0
Merge pull request #935 from podemos-info/api
API Improvements (v2)
2020-08-26 11:58:48 +02:00
joker-x
62f6ef4559 Use the new module and uninstall shortid 2020-08-25 23:03:35 +02:00
joker-x
5e77e3c98a Added description and status:{SUBSCRIBED: 1, UNSUBSCRIBED: 2, BOUNCED: 3, COMPLAINED: 4} to response of the GET /lists/:email API Call (Fix #903) 2020-08-20 17:09:21 +02:00
Tomas Bures
ca615a86a5 Various fixes in RSS campaigns including #916 and #915. 2020-07-24 12:08:40 +02:00
Tomas Bures
d170548cfa - Fix for #890
- "Channels" feature
- Shoutout config param rendered on the homepage
- "Clone" feature for campaigns
2020-07-17 14:53:48 +02:00
Tomas Bures
00432e6cfe - Fix for #890
- "Channels" feature
- Shoutout config param rendered on the homepage
- "Clone" feature for campaigns
2020-07-16 20:37:16 +02:00
Tomas Bures
82251d1cb9 Some improvements imported from IVIS (https://github.com/smartarch/ivis-core/tree/devel)
Builtin Zone-MTA upgraded
Bug fix - URLs in campaign would not work if they contained non-ASCII character
2020-06-17 17:24:38 +02:00
Wieland Schopohl
ebf92ef301 correct webhook bounces, issue #716 2020-06-16 22:59:13 +02:00
Tomas Bures
dad2618739 Possible fix for #879 2020-05-28 01:05:23 +02:00
Tomas Bures
ebfbe30aa0
Merge pull request #842 from andresmrm/list-api-endpoints
Add API enpoints to create, delete and get lists.
2020-05-27 21:02:24 +02:00
Tomas Bures
665a0d0614 Initial draft of installation scripts for CentOS 8
Fixed bug in cancelling scheduled send - If campaign was scheduled to be sent, a checkbox was still shown on the campaign status page. This gave wrong impression that by unchecking the checkbox, the scheduling is cancelled. Checkbox is removed now and the "Pause" button has be renamed to "Cancel scheduling"

Added default role for campaign admin that administer multiple namespaces.
2020-04-12 16:52:19 +02:00
AndresMRM
8271d6675a Add API enpoints to create, delete and get lists. 2020-01-31 10:04:07 -03:00
Tomas Bures
7914077acb Added 'sendToTestUsers' permission to templates to control if a user can send a template to test users. (Up till now this was permitted by default.)
Campaigns list is now by default ordered by 'Created' in descending order.

Fixed display bug - two clicks on main menu item made it disappear

Campaign Status is now protected by 'view' permission. (Up till now it was 'viewStats' permission.)

Fixes in campaign status to hide send buttons and test send button if a user does not have necessary permissions.

Templates, Mosaico templates and Campaigns (edit and content) are now displayed to user even if the user does have only 'view' permission (not 'edit'). A banner is displayed that the user cannot save any changes and buttons are removed from the edit pages. This is to allow users to copy settings and content from existing campaigns which they are not supposed to edit. A better solution would be to display the edit and content form in read-only mode, but this seems to be a bit complicated.
2020-01-12 12:07:14 +01:00
Tomas Bures
57907f9260 Merge of of PR #827 2020-01-11 13:59:59 +01:00
Chris
2204bbe70c Fix missing tx refrence, https://github.com/Mailtrain-org/mailtrain/issues/811 2020-01-08 10:58:28 +13:00
Tomas Bures
d7d626cbc0 Addresses #785 "Allow segmentation by Subscription Status" 2020-01-03 14:27:47 +01:00
Gernot Pansy
e2a69ef76d Added subscription changed trigger
Is very useful if some subscription data is updated by API and you want to trigger after that because segments (filters) have changed.
2019-12-03 09:08:40 +01:00
sedrubal
082901e4e7
Add Field cid to /api/lists/:email
With this `cid` you are able to do further API calls like unsubscribing
the user from all mailing lists.
2019-11-10 00:43:41 +01:00
Tomas Bures
b6ed5e56b9 Date/time and device type in quick report.
Fix - invalid campaign when one tried to unsubscribe from a test message before campaign was sent
2019-09-05 15:51:17 +02:00
Tomas Bures
af2e988ae7
Merge pull request #687 from Charlo270398/development-LDAPfirstLogin
LDAP - Users not created on the fly upon first login fixed #683 (good one)
2019-08-21 14:43:58 +02:00
root
cc73c679e5 Statistics not tracked when the user is not a test user fixed 2019-08-21 14:18:43 +02:00
root
6beac55826 LDAP first login BUG fixed 2019-08-21 08:24:33 +02:00
Tomas Bures
ae5faadffa Fix for #665 and additional fix for #663.
If your segemnts are broken or Mailtrain complains about missing 20190726150000_shorten_field_column_names.js, run the following in `server/setup/knex/fixes`:

```NODE_ENV=production node fix-20190726150000_shorten_field_column_names.js```
2019-08-12 09:26:49 +02:00
Tomas Bures
8cb24feca1 Fix for #660
Campaign preview and campaign test send pulls the first entry in the RSS feed and substitutes its data in `[RSS_ENTRY_*]`
2019-08-11 16:28:11 +02:00
Tomas Bures
30e03adf0c Fix for #619
Merged parts of PR #651 and fixed the rest
2019-08-07 14:29:58 +02:00
root
2929048ebe Fix 2019-08-06 09:26:44 +02:00
root
b08fd07909 convertFileURLs fix 2019-08-06 09:25:22 +02:00
root
e55317ec43 Clone existing template BUG fixed 2019-08-05 13:31:56 +02:00
Tomas Bures
712a905518 Fixes of functions around viewTestSubscriptions 2019-08-01 07:46:40 +02:00
Tomas Bures
ed3ed1a202 Some small updated in UI 2019-07-31 16:50:06 +02:00
Tomas Bures
a258479621 Various fixes in the UI.
Check permissions mechanism reworked to allow specifying permission checks already in menu structure.
2019-07-29 09:24:50 +02:00
Tomas Bures
6ae9143c22 Added abstraction layer around config.
`roles` in config renamed to `defaultRoles`. These are used if no `roles` are provided in production.yaml
2019-07-26 20:35:49 +05:30