Commit graph

228 commits

Author SHA1 Message Date
joker-x
14ec6d468a Remove admin/superadmin tests 2020-09-01 14:25:35 +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
joker-x
c13d4df521 Revert to mangeEntity 2020-08-29 23:04:42 +02:00
joker-x
781f312467 Change permissions names from manageXXX to displayManageXXX, except manageSettings and manageBlacklist 2020-08-27 21:08:01 +02:00
joker-x
ead7bbf9dd Allow to hide menus with globals permissions. Fix: 940 2020-08-27 19:48:15 +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
543f05028e Fix path 2020-08-25 23:09:35 +02:00
joker-x
62f6ef4559 Use the new module and uninstall shortid 2020-08-25 23:03:35 +02:00
joker-x
8b900c94ba Reemplace shortid with nanoid in background with alphabet and length configurable #810 2020-08-25 22:53:53 +02:00
joker-x
cc794d4e52 Return cid instead of id when exists and fix documentation api 2020-08-22 06:09:18 +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
aed115a64b Merge remote-tracking branch 'origin/development' into development 2020-08-02 15:19:53 +02:00
Tomas Bures
87c6cfa656 Fixes
- Mailtrain would not start if built-in ZoneMTA had to retry the startup
- Campaign list showed "Sending" instead of "Scheduled" for scheduled campaigns
2020-08-02 15:19:24 +02:00
Gerben
a92b08ddb4
Fix plain text generation 2020-07-28 17:26:47 +02:00
Tomas Bures
ca615a86a5 Various fixes in RSS campaigns including #916 and #915. 2020-07-24 12:08:40 +02:00
Tomas Bures
564c83720b - Fix - A non-admin user would get permission denied on all pages. 2020-07-18 09:48:03 +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
129ad0c625
Merge pull request #859 from alangecker/fix-shortid-not-defined
fix for 'shortid not defined'
2020-05-27 21:00:51 +02:00
Eric Seigne
62a4b1ded1 add french language
(cherry picked from commit 7414815b06)
2020-04-30 14:32:44 +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
chandi
686972bb30 fix for missing shortid in message-sender.js
ERR! Senders Sending message to 4:1 failed with error: shortid is not defined. Dropping the message.
 verb ReferenceError: shortid is not defined
     at html.replace (/home/mailtrain2/mailtrain/server/lib/message-sender.js:236:29)
     at String.replace (<anonymous>)
     at MessageSender._getMessage (/home/mailtrain2/mailtrain/server/lib/message-sender.js:235:25)
     at MessageSender._sendMessage (/home/mailtrain2/mailtrain/server/lib/message-sender.js:345:34)
2020-03-03 04:03:56 +01:00
AndresMRM
8271d6675a Add API enpoints to create, delete and get lists. 2020-01-31 10:04:07 -03:00
Andrés Martano
ecabc962ef
typo 2020-01-25 12:54:19 +00:00
Tomas Bures
97a40033d6 Added "Sender" role to lists 2020-01-16 21:30:55 +01:00
Tomas Bures
a3eaf72203 Updated dependencies
Version updated
2020-01-12 12:55:03 +01: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
9d4506977d Fixes #824 "ReferenceError: os is not defined" 2020-01-03 14:30:44 +01:00