forked from knadh/listmonk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new public page for end users to subscribe to public lists.
In addition to generating HTML forms for selected public lists, the form page now shows a URL (/subscription/form) that can be publicly shared to solicit subscriptions. The page lists all public lists in the database. This page can be disabled on the Settings UI.
- Loading branch information
Showing
16 changed files
with
175 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,12 @@ | |
placeholder='[email protected]' /> | ||
</b-field> | ||
|
||
<b-field :label="$t('settings.general.enablePublicSubPage')" | ||
:message="$t('settings.general.enablePublicSubPageHelp')"> | ||
<b-switch v-model="form['app.enable_public_subscription_page']" | ||
name="app.enable_public_subscription_page" /> | ||
</b-field> | ||
|
||
<hr /> | ||
<b-field :label="$t('settings.general.language')" label-position="on-border"> | ||
<b-select v-model="form['app.lang']" name="app.lang"> | ||
|
@@ -149,7 +155,7 @@ | |
</b-field> | ||
|
||
<b-field :label="$t('settings.privacy.allowBlocklist')" | ||
:message="$t('settings.privacy.allowBlocklist')"> | ||
:message="$t('settings.privacy.allowBlocklistHelp')"> | ||
<b-switch v-model="form['privacy.allow_blocklist']" | ||
name="privacy.allow_blocklist" /> | ||
</b-field> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,6 +177,7 @@ INSERT INTO settings (key, value) VALUES | |
('app.message_sliding_window', 'false'), | ||
('app.message_sliding_window_duration', '"1h"'), | ||
('app.message_sliding_window_rate', '10000'), | ||
('app.enable_public_subscription_page', 'true'), | ||
('app.notify_emails', '["[email protected]", "[email protected]"]'), | ||
('app.lang', '"en"'), | ||
('privacy.individual_tracking', 'false'), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.