This project is mirrored from https://:*****@gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring updated .
- 02 Feb, 2020 1 commit
-
-
Lukas Fleischer authored
Support secondary email addresses that can be used to recover an account in case access to the primary email address is lost. Reset keys for an account are always sent to both the primary and the backup email address. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 30 Jan, 2020 1 commit
-
-
Lukas Fleischer authored
Since commit eeaa1c3a (Separate text from footer in notification emails, 2020-01-04), information about unsubscribing from notifications is added in a signature block. However, the code to format the email body trimmed the RFC 3676 signature delimiter, replacing "-- " by "--". Fix this by adding a special case for signature delimiters. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 06 Jan, 2020 1 commit
-
-
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 19 Aug, 2019 1 commit
-
-
Will no longer send notifications about "a orphan request", but determine whether to use a/an based on the first character of the request type. Signed-off-by:
Lars Rustand <rustand.lars@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 08 Feb, 2019 1 commit
-
-
Eli Schwartz authored
Because filtering by matching the sender && regular expressions on the subject is awkward. Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 20 May, 2018 1 commit
-
-
Lukas Fleischer authored
Mention both the package base name and the request type in the subject of request closure notification. Implements FS#41607. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 17 May, 2018 3 commits
-
-
Lukas Fleischer authored
User modern Python format() strings with curly braces. Also, convert all placeholders to named arguments. This allows translators to reorder messages. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Add support for translating notification emails and send localized notifications, based on the user's language preferences. Also, update the translations Makefile to add strings from the notification script to the message catalog. Implements FS#31850. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Reimplement most of the notification script logic. Create a separate class for each notification type. Each class provides methods for generating the list of recipients, the message subject, the message body, the references to add at the end of the message and the message headers. Additionally, a method for sending notification emails is provided. One major benefit of the new implementation is that both the generation of recipients and message contents are much more flexible. For example, it is now easily possible to make user-specific adjustments to every single notification of a batch. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 May, 2018 1 commit
-
-
Lukas Fleischer authored
Make sure we are consistent with not adding newlines at the end of notification emails. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 13 Mar, 2018 1 commit
-
-
Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 25 Aug, 2017 1 commit
-
-
Lukas Fleischer authored
Use `/usr/bin/env python3` instead of `/usr/bin/python3` in the shebang of Python scripts. This adds support for non-standard Python interpreter paths such as the paths used in virtualenv environments. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 20 Dec, 2016 1 commit
-
-
Lukas Fleischer authored
Do not use the EXCEPT clause which is unsupported in MySQL. Instead, use a subquery which is standard-compliant and makes the query easier to read at the same time. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 13 Nov, 2016 1 commit
-
-
Lukas Fleischer authored
Currently, only package maintainers receive out-of-date notifications for their packages. Add package base co-maintainers to the list of recipients for out-of-date notifications. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 17 Oct, 2016 1 commit
-
-
Lukas Fleischer authored
Add wrappers for the maintenance scripts to the setuptools configuration. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 29 Sep, 2016 3 commits
-
-
Lukas Fleischer authored
Instead of using configparser and mysql.connector directly, change all Python scripts to use the config and db Python modules which are now accessible from a common location. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Move the main program logic of all scripts to main() methods such that they can be used as modules and easily be invoked by setuptools wrapper scripts. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Add a new script that checks for TU votes ending within the next 48 hours and sends reminder emails to all Trusted Users who did not cast their votes yet. The script is designed to be executed as a cron job, such that the check is performed periodically. Since the script does not remember users it already sent emails to, the interval should not be chosen too small to avoid spamming. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 30 Jun, 2016 1 commit
-
-
Lukas Fleischer authored
Before commit 9746a654 (Port notification routines to Python, 2015-06-27), notification emails for automatically closed requests explicitly stated that the action was taken "automatically by the Arch User Repository package request system". When porting the notification routines to Python, this feature was overlooked and emails sent by the new script always reported that the requester triggered the acceptance or rejection of a request. This patch reimplements the old behavior such that notifications no longer look as if the requester had accepted the request himself. Reported-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 21 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
Add a new option that makes it possible to subscribe to package ownership changes (adoption/disownment). Fixes FS#15412. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 19 Feb, 2016 2 commits
-
-
Lukas Fleischer authored
Reimplement get_request_recipients() such that it always returns the email addresses of the package base maintainer and the request initiator, instead of the email address of the user triggering the request status change. Fixes FS#48238. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
In commit 7b57e0e1 (Set Message-ID when sending package request emails, 2014-07-01), we changed the code responsible for sending notifications such that the value of the Message-ID header is set deterministically in the first email referring to a request. Unfortunately, this was forgotten when porting the notification routines to Python in 9746a654 (Port notification routines to Python, 2015-06-27) and later fixed by 092e00f4 (notify: Fix references in request notifications, 2015-10-10). However, when fixing another bug, the old behavior of not setting a Message-ID was restored by d87b138a (notify: Fix merging of header dicts, 2015-10-26). Revert that particular change once more and add a comment such that the line gets extra attention, should it be changed in the future. Fixes FS#48239. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 07 Feb, 2016 3 commits
-
-
Lukas Fleischer authored
Introduce a new notification option to receive notifications when a new commit is pushed to a package repository. Implements FS#30109. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Add a configuration option to the account edit page that allows for globally enabling/disabling package base comment notifications. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
As a preparatory step to adding support for package notifications on events other than comments, rename the database table accordingly. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 06 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
Fix several style issues and remove unneeded imports/assignments. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 13 Dec, 2015 2 commits
-
-
Lukas Fleischer authored
Fixes FS#46937. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Directly retrieve comments from the database instead of additionally passing them via stdin. Fixes FS#46742. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 12 Nov, 2015 1 commit
-
-
Lukas Fleischer authored
Fixes another regression introduced in c7649999 (notify: Split out email header generation, 2015-10-10). Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 17 Oct, 2015 4 commits
-
-
Lukas Fleischer authored
Implements FS#45590. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Fixes two regressions introduced in commit 6681e565 (notify: Do not wrap references, 2015-10-03). Fixes FS#46742. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
When sending notifications upon request creation, set an initial message ID instead of setting the Reply-To and References headers. This used to work but the behavior was unintentionally changed in 9746a654 (Port notification routines to Python, 2015-06-27). Fixes FS#46645. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 03 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
When sending notifications, do not wrap lines from the references section. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
When a package base is merged into another one, followers of the old package base usually want to be notified about comments the new package base as well. Fixes FS#27687. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
Implements FS#42827. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 08 Aug, 2015 2 commits
-
-
Lukas Fleischer authored
* Use numbered references for links. * Reword some messages. * Fix a typo. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Use a Python script for sending notification emails. The notification action and additional parameters are passed via command line arguments. For comment and package request notifications, the text is passed via stdin. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-