Commit graph

996 commits

Author SHA1 Message Date
Kailash Nadh
b44d0a653a Refresh newly added i18n langauge strings. 2022-07-13 22:24:54 +05:30
Kailash Nadh
df31426566 Add button to insert HTML snippets into WYSIWYG editor. 2022-07-13 22:24:27 +05:30
Kailash Nadh
77bc8a7745 Send full media object in upload API response. Closes #770. 2022-07-13 19:48:09 +05:30
Kailash Nadh
c84837f8cb Fix '&amp' encoding in tracked URLs before saving in the DB. Closes #844. 2022-07-11 23:18:08 +05:30
Kailash Nadh
9107edf867 Add SMTP config shortcuts for popular providers in the settings UI. 2022-07-11 21:17:23 +05:30
Kailash Nadh
278d5bf74e Merge branch 'test-smtp' 2022-07-11 19:46:03 +05:30
Kailash Nadh
ee448170ef Add support for testing SMTP connections in the settings UI. 2022-07-11 19:44:44 +05:30
Kailash Nadh
e99c8ed86b Disable template type updation after creation to prevent breaking of campaign relations. 2022-07-09 10:36:12 +05:30
Kailash Nadh
4de5d53fe4 Refactor upgrade schema to remove column default. 2022-07-09 10:36:12 +05:30
Kailash Nadh
5a5caca256 Refactor campaign/template preview functions and component. 2022-07-09 10:36:12 +05:30
Kailash Nadh
2dcac57cba Fix tx template delete query. 2022-07-09 10:36:12 +05:30
Kailash Nadh
f26f7c60af Refactor template tests. 2022-07-09 10:36:12 +05:30
Kailash Nadh
bc07a459ea Fix clone tx template on the templates UI. 2022-07-09 10:36:12 +05:30
Kailash Nadh
d3774d606a Make tx DB upgrade schema consistent with install schema. 2022-07-09 10:36:12 +05:30
Kailash Nadh
0574a1b820 Fix template compilation check on CRUD. 2022-07-09 10:36:12 +05:30
Kailash Nadh
3f5a50fc0d Fix header processing in tx send. 2022-07-09 10:36:12 +05:30
Kailash Nadh
68da86aadc Fix redundant echo/http error wrapping. 2022-07-09 10:36:12 +05:30
Kailash Nadh
4a6e041ca8 Don't break boot on tx template compilation errors. 2022-07-09 10:36:12 +05:30
Kailash Nadh
463e92d1e1 Add transactional (tx) messaging capability.
This commit adds a new API `POST /api/tx` that sends an ad-hoc message
to a subscriber based on a pre-defined transactional template. This is
a large commit that adds the following:

- New campaign / tx template types on the UI. tx templates have an
  additional subject field.
- New fields `type` and `subject` to the templates table.
- Refactor template CRUD operations and models.
- Refactor template func assignment in manager.
- Add pre-compiled template caching to manager runtime.
- Pre-compile all tx templates into memory on program boot to avoid
  expensive template compilation on ad-hoc tx messages.
2022-07-09 10:36:12 +05:30
Kailash Nadh
83a0e1057e Add 'test' button to SMTP UI to test connections. 2022-07-09 10:33:50 +05:30
Kailash Nadh
13603b7141
Merge pull request #860 from p1slave/patch-1
Create zh-CN.json
2022-07-04 13:23:06 +05:30
p1slave
6dfe4a0c08
Create zh-CN.json 2022-07-02 14:36:11 -05:00
Kailash Nadh
dc7b44a7cc
Merge pull request #858 from pucilpet/fi-translation
Added Finnish translation (partial, public fields)
2022-06-29 12:50:51 +05:30
Petteri Pucilowski
c7c331ee84
Added Finnish translation (partial, public fields) 2022-06-28 15:56:09 +03:00
Kailash Nadh
c7eb491d3e
Merge pull request #847 from knadh/dependabot/npm_and_yarn/frontend/shell-quote-1.7.3
Bump shell-quote from 1.7.2 to 1.7.3 in /frontend
2022-06-27 16:24:08 +05:30
Kailash Nadh
a2d01b20da
Merge pull request #854 from joeirimpan/postback
feat(postback): Add attachment, from email to postback body
2022-06-27 16:19:47 +05:30
Joe Paul
175770d8b8 fix: Use list append instead of indexing 2022-06-27 16:14:46 +05:30
Joe Paul
a1df02b41c feat(postback): Add attachment, from email to postback body 2022-06-27 15:47:38 +05:30
dependabot[bot]
66499acbf7
Bump shell-quote from 1.7.2 to 1.7.3 in /frontend
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 04:10:01 +00:00
Kailash Nadh
0834ab7756
Merge pull request #824 from knadh/dependabot/npm_and_yarn/frontend/eventsource-1.1.1
Bump eventsource from 1.0.7 to 1.1.1 in /frontend
2022-06-16 20:12:58 +05:30
dependabot[bot]
ffffdcf028
Bump eventsource from 1.0.7 to 1.1.1 in /frontend
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 18:33:35 +00:00
Kailash Nadh
97f8c35009
Merge pull request #811 from rslonik/master
Fix pt-BR subscription form header
2022-05-12 10:06:18 +05:30
Kailash Nadh
d133cf2028
Merge pull request #808 from sjoerdvanderhoorn/patch-1
Update nl.json
2022-05-12 10:05:30 +05:30
Rafael Slonik
b2fc35a3df
Fix pt-BR subscription form header 2022-05-11 17:20:38 -03:00
Sjoerd van der Hoorn
92d49fdcc7
Update nl.json 2022-05-11 19:10:58 +02:00
Kailash Nadh
e0b01a89ef Fix UI elements not getting locked on finished campaigns. Closes #771 2022-05-11 21:53:34 +05:30
Kailash Nadh
59c9441b3b Fix subscriber create query to not ignore duplicate e-mail error.
Trying to insert a pre-existing e-mail on POST /api/subscribers
now return a 409 Conflict error.

Closes #718
2022-05-11 21:40:31 +05:30
Kailash Nadh
fe5466dfda Remove test files committed accidentaly. 2022-05-10 11:00:45 +05:30
Kailash Nadh
a3fd4616e3 Merge big refactor with the 'core' branch. 2022-05-08 19:23:57 +05:30
Kailash Nadh
b4f0c7ef31 Fix ambiguous route name in frontend route definitions. 2022-05-08 19:23:43 +05:30
Kailash Nadh
fee2ef3cc9 Upgrade axios lib.
The dependabot axios upgrade introduced an unknown bug that broke
axios calls. Upgrading to the latest version seems to fix that.
2022-05-08 19:21:32 +05:30
Kailash Nadh
959541f8ee Rename unsub query to match the core method name. 2022-05-08 14:45:45 +05:30
Kailash Nadh
9aef4f2741 Enable browser spell check in the campaign editor UI. Closes #786. 2022-05-08 14:41:54 +05:30
Kailash Nadh
19c1e51c60 Fix unsub status not showing for non-optin lists on the subscribers UI. 2022-05-08 14:39:08 +05:30
Kailash Nadh
b94da621d7 Fix broken public link redirect. 2022-05-05 18:05:13 +05:30
Kailash Nadh
d39816e5eb
Merge pull request #795 from knadh/dependabot/npm_and_yarn/frontend/axios-0.21.2
Bump axios from 0.21.1 to 0.21.2 in /frontend
2022-05-03 10:52:19 +05:30
Kailash Nadh
5fd4d7b44b Refactor paginated bounce query function to return DB total. 2022-05-03 10:50:33 +05:30
Kailash Nadh
d2ef23d3fa Refactor paginated campaign query function to return DB total. 2022-05-03 10:50:33 +05:30
Kailash Nadh
e303850584 Refactor paginated list query function to return DB total. 2022-05-03 10:50:33 +05:30
Kailash Nadh
aa19771307 Refactor bounces package to remove db/queries dependency.
Instead of passing a DB/SQL statement references, instead pass a
callback that inserts a bounce into the DB via the `core` package.
2022-05-03 10:50:33 +05:30