Kailash Nadh
dd9612b1ed
Add user profile based permission check in auth middleware.
2024-10-13 16:59:52 +05:30
Kailash Nadh
32d5823dfe
Refactor 'super' user type to a pre-defined super admin role.
2024-10-13 16:59:52 +05:30
Kailash Nadh
d4e4c5fa99
Add granular permissions and role management to backend and admin UI.
2024-10-13 16:59:51 +05:30
Kailash Nadh
7bb14de42e
Upgrade simplesessions to v3.
2024-10-13 16:59:51 +05:30
Kailash Nadh
4997c10b97
Add user profile APIs and update UI.
2024-10-13 16:59:51 +05:30
Kailash Nadh
a6e06d92f8
Refactor migration for the latest version.
2024-10-13 16:59:51 +05:30
Kailash Nadh
906e0f57b6
Refactor handler groups and add mising auth features like logout.
2024-10-13 16:59:51 +05:30
Kailash Nadh
57ac9dca4b
Add public login page and auth middleware and handlers.
2024-10-13 16:59:51 +05:30
Kailash Nadh
1516bf216f
Add api type user.
2024-10-13 16:59:51 +05:30
Kailash Nadh
bf0b500bb0
Add API token authentication.
2024-10-13 16:59:51 +05:30
Kailash Nadh
0968e58766
Add user/password login handler.
2024-10-13 16:59:51 +05:30
Kailash Nadh
435d6d5169
Add create/add/delete user management UI and database schema.
2024-10-13 16:59:51 +05:30
Kailash Nadh
4648f9122d
Fix bug in OIDC cookie check.
2024-10-13 16:59:51 +05:30
Kailash Nadh
83e4f5def4
Add migrations for OIDC db fields.
2024-10-13 16:59:51 +05:30
Kailash Nadh
f8b3ddb5ee
Refactor the oidc package and separate out handlers.
2024-10-13 16:59:51 +05:30
Marc Bärtschi
1b7128abf2
Implement OIDC
...
This is a simple OIDC implementation. It's very basic and just logs the user in. Access control needs to be done on the IDP side.
2024-10-13 16:59:50 +05:30
Bowrna
16f4dfd3e9
Fix incorrect bulk blocklisting behaviour ( #2041 ). Fixes #1841
2024-09-19 10:56:56 +05:30
Vinoth Kumar
d7fe13c4b9
Fix typo and formatting ( #2028 )
2024-08-30 13:24:45 +05:30
Vaibhav Dixit
c812caad1a
Fix syntax error in GetBounce method ( #2007 )
2024-08-27 13:14:29 +05:30
Abhinav Raut
679457cb12
Ensure unique upload filenames by adding a suffix ( #1963 )
...
Fixes #1957 .
Co-authored-by: Abhinav Raut <abhinav.raut@zerodha.com>
2024-08-08 15:42:29 +05:30
Keshav Gupta
c334d2e6e1
fix #1950:Export of unsubscribed users exports all users ( #1965 )
...
Co-authored-by: keshav <keshav.gupta@jarvis.consulting>
2024-08-02 00:05:33 +05:30
Sergey Minkov
3babd9020e
parse cc and bcc from custom headers to add them on email envelope ( #1865 )
2024-05-18 17:49:24 +05:30
Kailash Nadh
c108486041
Fix syntax error in manager from a previous, simple looking PR merge. Huh :O
2024-05-07 11:09:29 +05:30
Jonas Sulzer
1d32d4c368
👌 IMPROVE: make RootURL available in email templates ( #1812 )
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2024-04-04 22:57:52 +05:30
Kailash Nadh
7c44eb02a4
Replace Go easyjson lib.
2024-01-27 20:59:24 +05:30
Kailash Nadh
f14df890a4
Update Go deps.
2024-01-27 20:55:50 +05:30
Kailash Nadh
5a3664aee2
Add support for caching slow queries on large databases.
...
- Add materialized views for list -> subscriber counts, dashboard chart,
and dashboard aggregate stats that slow down significantly on large
databases (with millions or tens of millions of subscribers). These
slow queries involve full table scan COUNTS().
- Add a toggle to enable caching slow results in Settings -> Performance.
- Add support for setting a cron string that crons and periodically
refreshes aggregated stats in materialized views.
Closes #1019 .
2024-01-27 15:51:12 +05:30
Kailash Nadh
0d319ad9fd
Add 'slug' (permalink) support for campaign archives. Closes #1394 .
2024-01-09 23:34:08 +05:30
Kailash Nadh
3335171960
Fix (accidentally) broken migration scripts.
2024-01-06 19:55:06 +05:30
Kailash Nadh
fa2c840ddb
Rename v2.6.0 migration to v3.0.0, the next major release.
2024-01-06 11:56:08 +05:30
Kailash Nadh
772476c0df
Add accurate sent count, last sent subscriber tracking on campaigns.
...
- Sent count is no longer the batch size fetched from the DB but is
the actual count of messages sent.
- Pausing and resuming now accurately tracks the last subscriber that
was processed and resumes from there.
- Fix multiple concurrent campaigns blocking.
Closes #1616 . Closes #905 . Closes #1496 . Closes #1250 . Closes #1010 .
2024-01-02 14:57:04 +05:30
Kailash Nadh
414c5c0c99
Refactor the core concurrent campaign manager logic.
...
This commit fully refactors the core campaign manager logic.
It applies a whole new approach to campaign state and lifecycle management.
- Create a new "pipeline" abstraction on top of campaign
for state management.
- Account for every message processed and end campaigns
based on the actual count.
- Discard in-queue messages in the pipeline of a paused
or cancelled campaign.
2024-01-02 14:57:04 +05:30
Kailash Nadh
b2a5e37ccb
Fix incorrect form messages on public re-subscription to double opt-in lists. Closes #1638 .
2023-12-30 21:29:34 +05:30
Kailash Nadh
bce675870c
Fix preconfirm option not working on bulk 'select all' subscriber list management. Closes #1646 .
2023-12-30 20:52:14 +05:30
Kailash Nadh
0d74619cac
Make providing name in subscriber creation optional and assign internally. Closes #1630 .
2023-12-30 15:51:42 +05:30
Kailash Nadh
51af75cfef
Add subscription status filter to subscriber list query and admin UI.
2023-12-23 16:43:28 +05:30
Kailash Nadh
01acd386f6
Add tag/type/optin filter options to lists and campaigns APIs. Closes #1631 .
2023-12-23 14:45:55 +05:30
Joe Paul
be62c50b3c
feat: Add from_email to postback struct for sending tx postbacks ( #1623 )
2023-12-11 21:53:30 +05:30
Kailash Nadh
b6922b0629
Suppress 'no campaign' errors on pixel view registration. Closes #1588 .
2023-12-07 23:35:34 +05:30
guangwu
4577868567
chore: remove refs to deprecated io/ioutil ( #1593 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-16 13:57:00 +05:30
Kailash Nadh
c59825f3a5
Fix broken sorting (lists -> subcount, subscribers -> status) in queries. Closes #1076 .
2023-11-12 10:29:32 +05:30
Robert R George
c911aeb20e
Fix attachments being omitted from postback ( #1557 )
2023-10-14 02:06:42 +05:30
Kailash Nadh
04e571d43a
Fix file fetch in attachments failing for signed URLs. Closes #1499 .
2023-09-19 15:20:27 +05:30
Kailash Nadh
8f2a08b8db
Fix invalid suffix 'd' in timestring string in s3 expiry config.
2023-09-19 14:45:51 +05:30
Kailash Nadh
2b95c88188
Add Postmark bounce webhook support (refactor #1385 ) ( #1485 )
...
Co-authored-by: Thomas Siebers <tom@tsiebers.de>
2023-08-31 21:27:34 +05:30
Kailash Nadh
4b05ab1920
Add check for SES 'invalid domain' transient bounces. Closes #1463 .
2023-08-20 09:48:21 +05:30
Kailash Nadh
ad80c716f9
Add new privacy option 'Record opt-in IP' to record IP address of optin confirmation.
...
- Add new 'Subscriptions' table on the subscriber list form that shows subs,
IP, and other data.
- Add new `meta` JSONB field to `subscriber_lsts` table.
Closes #1329 .
2023-07-26 23:00:32 +05:30
Kailash Nadh
5b404615fc
Stop requiring a DELETE call for fresh import after finished imports. Closes #1369 .
2023-06-24 11:29:18 +05:30
Yatish Mehta
530165f5ee
Fix typos in comments ( #1368 )
...
Co-authored-by: Yatish Mehta <yatish@example.com>
2023-06-20 23:40:34 +05:30
cui fliter
f94c1f34b6
fix function name in comment ( #1374 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-06-20 23:40:13 +05:30