Commit graph

690 commits

Author SHA1 Message Date
Kailash Nadh
1df827c58a Fix automatic field camel casing for subscriber attribs 2021-09-19 12:39:00 +05:30
Kailash Nadh
4e5e466b03 Add a ?minimal mode to GET /lists API.
Passing `?minimal=true` to the /lists API returns all lists without
additional metadata (subscriber count) which is orders of magnitude
faster than counting subscribers per list in large DBs.

The frontend intitialization always calls the GET /lists API on load
to keep it available in multiple contexts like the new campaign page.
However, this "boot up" call does not need additional metdata. This
initialization GET /lists call now calls /lists?minimal=true.
2021-09-18 20:15:24 +05:30
Kailash Nadh
f86a64787d Add Intl formatting to large numbers on the UI. 2021-09-18 19:24:25 +05:30
Kailash Nadh
56629ccb1c Fix lists pagination breaking on the UI. 2021-09-18 19:14:58 +05:30
Kailash Nadh
f1fbcd473e Fix automatic camel casing of subscriber attribs on the UI. 2021-09-18 17:26:09 +05:30
Kailash Nadh
8733b205a0 Refactor SQL schema and queries for performance improvements.
- Add indexes.
- Refactor dashboard charts and view/click count queries.
  (~10x speed bump on a setup of 7mn subscribers and 80mn views)
- Refactor get subscriber queries.
  (~10x speed bump on 7mn subscribers)
- Make subscriber UI issue an equality query for email seach strings.
2021-09-18 17:25:08 +05:30
Kailash Nadh
6eb589444a Fix 'Analytics' menu item not getting highlighted. 2021-09-17 22:20:56 +05:30
Kailash Nadh
1bb630cf83 Fix Buefy taginput padding 2021-09-17 22:19:18 +05:30
Kailash Nadh
54f1b55006 Merge branch 'analytics-migration' into campaign-analytics 2021-09-17 21:43:59 +05:30
Kailash Nadh
61e88681ed Add campaign analytics APIs and UI 2021-09-17 21:41:25 +05:30
Kailash Nadh
fd8f5a96c9 Add missing bounce_type to v2 migration. 2021-09-17 20:18:53 +05:30
Kailash Nadh
9302dfbd56 Add missing id (pkey) to analytics tables for faster queries 2021-09-17 20:11:45 +05:30
Kailash Nadh
3d0031b207 Add campaign analytics APIs and UI 2021-09-17 18:45:35 +05:30
Kailash Nadh
3135bfc12a Upgrade and refactor global theme.
- Change public and admin frontend primary colours.
- Change images.
- Refactor and fix styling on public pages.
- Remove CSS grid lib from public pages.
- Update Buefy and fix broken component styles (modal, toast).
2021-09-16 17:46:39 +05:30
Kailash Nadh
1f4f4263a3 Fix incorrect [list_id] param in bulk subscriber deletion UI 2021-09-07 17:15:48 +05:30
Kailash Nadh
68369a8f13 Update issue templates 2021-09-02 17:42:31 +05:30
Kailash Nadh
85c88062e6
Merge pull request #450 from ChrisTG742/patch-1
german translation fixes
2021-09-01 14:40:42 +05:30
ChrisTG742
647bea3a45
translation fixes
fixed a few upper case and other minor grammatical glitches
2021-09-01 10:44:43 +02:00
Karan Sharma
6cf0b46711
Merge pull request #445 from tusharsadhwani/fix-whitespace
Fix whitespace inconsistency in install scripts
2021-08-30 10:58:15 +05:30
Tushar Sadhwani
2edd3ec800 Fix whitespace inconsistency in install scripts 2021-08-28 19:13:51 +05:30
Kailash Nadh
7691fbd90f Refactor the large settings UI view to multiple files. 2021-08-28 16:44:26 +05:30
Kailash Nadh
abedb266d4 Add Czech i18 translation contributed by @srchlm
Closes #444
2021-08-28 16:32:28 +05:30
Kailash Nadh
00275df910 Fix i18n language code validation to include - 2021-08-28 16:31:35 +05:30
Kailash Nadh
3847c67087 Add --idempotent to make --install idempotent 2021-08-22 20:09:39 +05:30
Kailash Nadh
edac5a1910 Add bounce tests (Cypress) 2021-08-22 15:48:36 +05:30
Kailash Nadh
81d183b808 Fix incorrect date in bounce insert 2021-08-22 15:46:37 +05:30
Kailash Nadh
27e1e83d0b Validate type in bounce webhook API. 2021-08-22 15:43:35 +05:30
Kailash Nadh
158ea9fad2 Fix bounce action only triggering on n+1st bounce. 2021-08-22 15:42:54 +05:30
Kailash Nadh
b6d60d9c95 Merge branch 'master' of github.com:knadh/listmonk 2021-08-22 12:57:30 +05:30
Kailash Nadh
ab0b5dd804 Remove obsolete 'embed' import 2021-08-22 12:57:09 +05:30
Kailash Nadh
f149c63b5b
Replace the Heroku button with a functional one. 2021-08-21 18:01:31 +05:30
Kailash Nadh
d6d1883587 Add custom S3 backend support (eg: Minio) to media uploads
- Introduce a new S3 backend URL on the settings UI
- Add DB migration to populate S3 URL for existing S3 settings
- Refactor and fix URL formatting

Closes #139
2021-08-15 16:09:00 +05:30
Kailash Nadh
923b882f05 Add migration to remove obsolete subscribers.campaigns field 2021-08-14 17:23:05 +05:30
Kailash Nadh
1be8c7d387 Merge branch 'bounce' 2021-08-14 17:13:59 +05:30
Kailash Nadh
d41b697bfb Fix race in settings UI and settings API fetch 2021-08-14 17:13:22 +05:30
Kailash Nadh
cce5cff539 Fix bounce upgrade schema 2021-08-14 17:00:11 +05:30
Kailash Nadh
185d5111d7
Merge pull request #434 from knadh/dependabot/npm_and_yarn/frontend/url-parse-1.5.3
Bump url-parse from 1.5.1 to 1.5.3 in /frontend
2021-08-14 16:00:33 +05:30
Kailash Nadh
59c897645d Normalize i18n files with new bounce keys.
- Rename some 'settings.smtp' keys to `settings.mailserver` so that
  they can be reused across SMTP and bounce settings UIs.
2021-08-14 15:56:43 +05:30
Kailash Nadh
1ae98699e7 Add support for bounce processing.
- Blocklist or unsubscribe subscribers based on a bounce threshold
- Add /bounces UI for viewing bounces and in the subscriber view
- Add settings UI for managing bounce settings
- Add support for scanning POP3 bounce mailboxes
- Add a generic webhook for posting custom bounces at /webhooks/bounce
- Add SES bounce webhook support at /webhooks/services/ses
- Add Sendgrid bounce webhook support at /webhooks/services/sendgrid
2021-08-14 15:35:29 +05:30
dependabot[bot]
c7a962bfd0
Bump url-parse from 1.5.1 to 1.5.3 in /frontend
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 09:50:02 +00:00
Kailash Nadh
e23b4fdd34
Merge pull request #431 from knadh/dependabot/npm_and_yarn/frontend/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7 in /frontend
2021-08-14 15:19:25 +05:30
Kailash Nadh
ccee852e33 Remove incorrect RootURL link from e-mail template. Closes #432 2021-08-14 13:51:41 +05:30
Kailash Nadh
26c099a50a Merge branch 'version-file' 2021-08-14 13:42:15 +05:30
Kailash Nadh
d27e16e9ca Add a VERSION file for git-archive export
- Use git to get tag and commit hash or fall back to extracting
  the values from the VERSION file if it is (from git archive)
2021-08-14 13:41:19 +05:30
Kailash Nadh
b19013daf4 Merge branch 'master' of github.com:knadh/listmonk 2021-08-14 12:42:51 +05:30
David Regla
137e9dd0e0 Refine Spanish (es) i18n translations 2021-08-14 12:42:28 +05:30
Kailash Nadh
7f5e975a30
Merge pull request #433 from dreglad/i18n-es-refine
Refine Spanish (es) i18n translations
2021-08-14 12:34:40 +05:30
David Regla
9e64dcb49d Refine Spanish (es) i18n translations 2021-08-13 21:56:00 -05:00
dependabot[bot]
4405550cab
Bump path-parse from 1.0.6 to 1.0.7 in /frontend
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 16:57:51 +00:00
Kailash Nadh
e6566189ed Add preconfirm_subscriptions to subscriber update. Closes #426. 2021-08-02 19:23:46 +05:30