aa-rss-to-discord 1.5.0__tar.gz → 1.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. aa_rss_to_discord-1.6.0/.gitignore +15 -0
  2. {aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info → aa_rss_to_discord-1.6.0}/PKG-INFO +13 -10
  3. aa_rss_to_discord-1.6.0/aa_rss_to_discord/__init__.py +11 -0
  4. aa_rss_to_discord-1.6.0/aa_rss_to_discord/locale/django.pot +34 -0
  5. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/ru/LC_MESSAGES/django.po +2 -3
  6. aa_rss_to_discord-1.6.0/aa_rss_to_discord/locale/uk/LC_MESSAGES/django.po +36 -0
  7. aa_rss_to_discord-1.6.0/pyproject.toml +54 -0
  8. aa_rss_to_discord-1.5.0/CHANGELOG.md +0 -193
  9. aa_rss_to_discord-1.5.0/MANIFEST.in +0 -8
  10. aa_rss_to_discord-1.5.0/PKG-INFO +0 -155
  11. aa_rss_to_discord-1.5.0/aa_rss_to_discord/__init__.py +0 -6
  12. aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info/SOURCES.txt +0 -35
  13. aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info/dependency_links.txt +0 -1
  14. aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info/not-zip-safe +0 -1
  15. aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info/requires.txt +0 -4
  16. aa_rss_to_discord-1.5.0/aa_rss_to_discord.egg-info/top_level.txt +0 -1
  17. aa_rss_to_discord-1.5.0/pyproject.toml +0 -6
  18. aa_rss_to_discord-1.5.0/setup.cfg +0 -55
  19. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/LICENSE +0 -0
  20. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/README.md +0 -0
  21. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/admin.py +0 -0
  22. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/apps.py +0 -0
  23. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/auth_hooks.py +0 -0
  24. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/constants.py +0 -0
  25. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/discordbot/cogs/__init__.py +0 -0
  26. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/discordbot/cogs/rss.py +0 -0
  27. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/de/LC_MESSAGES/django.mo +0 -0
  28. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/de/LC_MESSAGES/django.po +0 -0
  29. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/es/LC_MESSAGES/django.po +0 -0
  30. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.po +0 -0
  31. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.po +0 -0
  32. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/ja/LC_MESSAGES/django.po +0 -0
  33. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.po +0 -0
  34. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/ru/LC_MESSAGES/django.mo +0 -0
  35. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.po +0 -0
  36. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/managers.py +0 -0
  37. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/migrations/0001_initial.py +0 -0
  38. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/migrations/0002_enable_disable_rss_feeds.py +0 -0
  39. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/migrations/__init__.py +0 -0
  40. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/models.py +0 -0
  41. {aa_rss_to_discord-1.5.0 → aa_rss_to_discord-1.6.0}/aa_rss_to_discord/tasks.py +0 -0
@@ -0,0 +1,15 @@
1
+ /build/
2
+ /dist/
3
+ /*.egg-info/
4
+ .idea/
5
+
6
+ *.log
7
+ *.tmp
8
+ *.bak
9
+ *.old
10
+ __pycache__
11
+
12
+ /.coverage
13
+ /htmlcov/
14
+ /.tox/
15
+ /coverage.xml
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aa-rss-to-discord
3
- Version: 1.5.0
3
+ Version: 1.6.0
4
4
  Summary: Alliance Auth module to post news from RSS feeds to your Discord
5
- Home-page: https://github.com/ppfeufer/aa-rss-to-discord
6
- Author: Peter Pfeufer
7
- Author-email: develop@ppfeufer.de
8
- Maintainer: Peter Pfeufer
9
- Maintainer-email: develop@ppfeufer.de
10
- License: GPL-3.0
11
- Project-URL: Issue / Bug Reports, https://github.com/ppfeufer/aa-rss-to-discord/issues
5
+ Project-URL: Homepage, https://github.com/ppfeufer/aa-rss-to-discord
6
+ Project-URL: Documentation, https://github.com/ppfeufer/aa-rss-to-discord/blob/master/README.md
7
+ Project-URL: Source, https://github.com/ppfeufer/aa-rss-to-discord.git
12
8
  Project-URL: Changelog, https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CHANGELOG.md
13
- Keywords: allianceauth,eveonline,discord,rss
9
+ Project-URL: Tracker, https://github.com/ppfeufer/aa-rss-to-discord/issues
10
+ Author-email: Peter Pfeufer <develop@ppfeufer.de>
11
+ License-Expression: GPL-3.0
12
+ License-File: LICENSE
13
+ Keywords: allianceauth,discord,eveonline,rss
14
14
  Classifier: Environment :: Web Environment
15
15
  Classifier: Framework :: Django
16
16
  Classifier: Framework :: Django :: 4.0
@@ -26,8 +26,11 @@ Classifier: Programming Language :: Python :: 3.11
26
26
  Classifier: Topic :: Internet :: WWW/HTTP
27
27
  Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
28
28
  Requires-Python: ~=3.8
29
+ Requires-Dist: allianceauth-app-utils>=1.14.2
30
+ Requires-Dist: allianceauth-discordbot>=3.0.5
31
+ Requires-Dist: allianceauth>=3.0.0
32
+ Requires-Dist: feedparser
29
33
  Description-Content-Type: text/markdown
30
- License-File: LICENSE
31
34
 
32
35
  # Alliance Auth RSS to Discord
33
36
 
@@ -0,0 +1,11 @@
1
+ """
2
+ App init
3
+ """
4
+
5
+ # Standard Library
6
+ from importlib import metadata
7
+
8
+ __version__ = metadata.version("aa-rss-to-discord")
9
+ __title__ = "RSS to Discord"
10
+
11
+ del metadata
@@ -0,0 +1,34 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2023-04-19 01:27+0200\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: models.py:41
21
+ msgid "RSS Feed"
22
+ msgstr ""
23
+
24
+ #: models.py:42
25
+ msgid "RSS Feeds"
26
+ msgstr ""
27
+
28
+ #: models.py:69
29
+ msgid "Last Item"
30
+ msgstr ""
31
+
32
+ #: models.py:70
33
+ msgid "Last Items"
34
+ msgstr ""
@@ -15,9 +15,8 @@ msgstr ""
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19
- "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || ("
20
- "n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Plural-Forms: nplurals=4; plural= n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19
+ "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
20
  "X-Generator: Weblate 4.16.4\n"
22
21
 
23
22
  #: models.py:41
@@ -0,0 +1,36 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2023-04-19 01:27+0200\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=4; plural= n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20
+ "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
+
22
+ #: models.py:41
23
+ msgid "RSS Feed"
24
+ msgstr ""
25
+
26
+ #: models.py:42
27
+ msgid "RSS Feeds"
28
+ msgstr ""
29
+
30
+ #: models.py:69
31
+ msgid "Last Item"
32
+ msgstr ""
33
+
34
+ #: models.py:70
35
+ msgid "Last Items"
36
+ msgstr ""
@@ -0,0 +1,54 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "aa-rss-to-discord"
7
+ version = "1.6.0"
8
+ description = "Alliance Auth module to post news from RSS feeds to your Discord"
9
+ readme = "README.md"
10
+ license = "GPL-3.0"
11
+ requires-python = "~=3.8"
12
+ authors = [
13
+ { name = "Peter Pfeufer", email = "develop@ppfeufer.de" },
14
+ ]
15
+ keywords = [
16
+ "allianceauth",
17
+ "discord",
18
+ "eveonline",
19
+ "rss",
20
+ ]
21
+ classifiers = [
22
+ "Environment :: Web Environment",
23
+ "Framework :: Django",
24
+ "Framework :: Django :: 4.0",
25
+ "Intended Audience :: Developers",
26
+ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
27
+ "Operating System :: OS Independent",
28
+ "Programming Language :: Python",
29
+ "Programming Language :: Python :: 3",
30
+ "Programming Language :: Python :: 3.8",
31
+ "Programming Language :: Python :: 3.9",
32
+ "Programming Language :: Python :: 3.10",
33
+ "Programming Language :: Python :: 3.11",
34
+ "Topic :: Internet :: WWW/HTTP",
35
+ "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
36
+ ]
37
+ dependencies = [
38
+ "allianceauth-app-utils>=1.14.2",
39
+ "allianceauth-discordbot>=3.0.5",
40
+ "allianceauth>=3.0.0",
41
+ "feedparser",
42
+ ]
43
+
44
+ [project.urls]
45
+ Homepage = "https://github.com/ppfeufer/aa-rss-to-discord"
46
+ Documentation = "https://github.com/ppfeufer/aa-rss-to-discord/blob/master/README.md"
47
+ Source = "https://github.com/ppfeufer/aa-rss-to-discord.git"
48
+ Changelog = "https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CHANGELOG.md"
49
+ Tracker = "https://github.com/ppfeufer/aa-rss-to-discord/issues"
50
+
51
+ [tool.hatch.build]
52
+ include = [
53
+ "/aa_rss_to_discord",
54
+ ]
@@ -1,193 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
- and this project adheres to [Semantic Versioning](http://semver.org/)
7
-
8
-
9
- ## [In Development] - Unreleased
10
-
11
-
12
- ## [1.5.0] - 2023-04-16
13
-
14
- ### Added
15
-
16
- - Russian translation
17
-
18
-
19
- ## [1.4.2] - 2023-04-13
20
-
21
- ### Added
22
-
23
- - German translation
24
-
25
-
26
- ## [1.4.1] - 2023-01-15
27
-
28
- ### Added
29
-
30
- - More Debug logging for the task to figure out what's going on for issue #23
31
-
32
- ### Changed
33
-
34
- - Requirements:
35
- - Alliance Auth >= 3.0.0
36
- - Switched to Allianceauth App Utils for better logging
37
-
38
-
39
- ## [1.4.0] - 2022-05-09
40
-
41
- ### Added
42
-
43
- - Test suite for AA 3.x and Django 4
44
-
45
- ## Changed
46
-
47
- - Switched to `setup.cfg` as config file, since `setup.py` is deprecated now
48
- - Requirements:
49
- - Alliance Auth >= 2.11.0
50
- - Allianceauth Discordbot >= 3.0.5
51
-
52
- ### Removed
53
-
54
- - Deprecated settings
55
- - Support for Python 3.7, since `allianceauth-discordbot` needs at least Python 3.8
56
-
57
-
58
- ## [1.3.1] - 2022-02-04
59
-
60
- ### Added
61
-
62
- - Tests for Python 3.11
63
-
64
- ### Changed
65
-
66
- - Requirements:
67
- - Alliance Auth >= 2.9.4
68
- - Allianceauth Discordbot < 3.0.0 (Until this bug is fixed » https://github.com/pvyParts/allianceauth-discordbot/issues/56)
69
-
70
-
71
- ## [1.3.0] - 2021-11-30
72
-
73
- ### Changed
74
-
75
- - Minimum requirements
76
- - Python 3.7
77
- - Alliance Auth v2.9.3
78
-
79
-
80
- ## [1.2.1] - 2021-11-17
81
-
82
- ### Fixed
83
-
84
- - Min python version is 3.7
85
-
86
-
87
- ## [1.2.0] - 2021-11-16
88
-
89
- ### Added
90
-
91
- - Basic test suite
92
-
93
- ### Changed
94
-
95
- - Minimum requirements
96
-
97
-
98
- ## [1.1.2] - 2021-10-19
99
-
100
- ### Changed
101
-
102
- - Task improved so it doesn't throw a confusing log message
103
-
104
-
105
- ## [1.1.1] - 2021-09-03
106
-
107
- ### Changed
108
-
109
- - Added some sanity checks to the task
110
-
111
-
112
- ## [1.1.0] - 2021-09-03
113
-
114
- ### Added
115
-
116
- - Commands for the Discord bot to manage RSS/Atom feeds. The following commands have
117
- been added:
118
-
119
- | Command | Options | What it does |
120
- |:----------------------------------|:-----------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------|
121
- | `!rss_add <rss_url> <rss_name>` | - `rss_url` - The URL of the RSS/Atom <br/><br/><br/><br/><br/><br/><br/>feed<br>- `rss_name` - A Name for the RSS/Atom Feed | Adding a RSS/Atom feed to the current channel |
122
- | `!rss_delete <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to remove | Remove a RSS/Atom feed from the current Discord channel |
123
- | `!rss_disable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to disable | Disable an enabled RSS/Atom feed for the current Discord channel |
124
- | `!rss_enable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to enable | Enable a disabled RSS/Atom feed for the current Discord channel |
125
- | `!rss_list` | None | List all RSS/Atom feeds for the <br/>current Discord channel |
126
-
127
-
128
- ## [1.0.0] - 2021-09-03
129
-
130
- ### Changed
131
-
132
- - Moved from Beta to Stable
133
-
134
-
135
- ## [0.1.0-beta.7] - 2021-07-08
136
-
137
- ### Added
138
-
139
- - Tested for compatibility with Python 3.9 and Django 3.2
140
-
141
-
142
- ## [0.1.0-beta.6] - 2021-05-27
143
-
144
- ### Changed
145
-
146
- - Update the last item instead of removing and adding it again
147
-
148
-
149
- ## [0.1.0-beta.5] - 2021-05-25
150
-
151
- ### Added
152
-
153
- - Switch to enable/disable RSS feeds in admin interface
154
-
155
- ### Changed
156
-
157
- - Cleaned up the filter in admin interface
158
-
159
-
160
- ## [0.1.0-beta.4] - 2021-05-05
161
-
162
- ### Fixed
163
-
164
- - Using Django application registry instead of directly accessing `INSTALLED_APPS`
165
-
166
-
167
- ## [0.1.0-beta.3] - 2021-04-30
168
-
169
- ### Fixed
170
-
171
- - SQL error when there are emojis in the RSS title
172
-
173
-
174
- ## [0.1.0-beta.2] - 2021-04-30
175
-
176
- ### Changed
177
-
178
- - Last item check via db instead of redis cache
179
-
180
- ### ⚠️ Important ⚠️
181
-
182
- Migrations have been reset. Run **before** updating via pip:
183
-
184
- ```shell
185
- python myauth/manage.py migrate aa_rss_to_discord zero
186
- ```
187
-
188
- Run migrations after updating as usual.
189
-
190
-
191
- ## [0.1.0-beta.1] - 2021-04-29
192
-
193
- - First public beta release
@@ -1,8 +0,0 @@
1
- include LICENSE
2
- include README.md
3
- include CHANGELOG.md
4
- include MANIFEST.in
5
- graft aa_rss_to_discord
6
-
7
- global-exclude __pycache__
8
- global-exclude *.py[co]
@@ -1,155 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: aa_rss_to_discord
3
- Version: 1.5.0
4
- Summary: Alliance Auth module to post news from RSS feeds to your Discord
5
- Home-page: https://github.com/ppfeufer/aa-rss-to-discord
6
- Author: Peter Pfeufer
7
- Author-email: develop@ppfeufer.de
8
- Maintainer: Peter Pfeufer
9
- Maintainer-email: develop@ppfeufer.de
10
- License: GPL-3.0
11
- Project-URL: Issue / Bug Reports, https://github.com/ppfeufer/aa-rss-to-discord/issues
12
- Project-URL: Changelog, https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CHANGELOG.md
13
- Keywords: allianceauth,eveonline,discord,rss
14
- Classifier: Environment :: Web Environment
15
- Classifier: Framework :: Django
16
- Classifier: Framework :: Django :: 4.0
17
- Classifier: Intended Audience :: Developers
18
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
19
- Classifier: Operating System :: OS Independent
20
- Classifier: Programming Language :: Python
21
- Classifier: Programming Language :: Python :: 3
22
- Classifier: Programming Language :: Python :: 3.8
23
- Classifier: Programming Language :: Python :: 3.9
24
- Classifier: Programming Language :: Python :: 3.10
25
- Classifier: Programming Language :: Python :: 3.11
26
- Classifier: Topic :: Internet :: WWW/HTTP
27
- Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
28
- Requires-Python: ~=3.8
29
- Description-Content-Type: text/markdown
30
- License-File: LICENSE
31
-
32
- # Alliance Auth RSS to Discord
33
-
34
- [![Version](https://img.shields.io/pypi/v/aa-rss-to-discord?label=release)](https://pypi.org/project/aa-rss-to-discord/)
35
- [![License](https://img.shields.io/github/license/ppfeufer/aa-rss-to-discord)](https://github.com/ppfeufer/aa-rss-to-discord/blob/master/LICENSE)
36
- [![Python](https://img.shields.io/pypi/pyversions/aa-rss-to-discord)](https://pypi.org/project/aa-rss-to-discord/)
37
- [![Django](https://img.shields.io/pypi/djversions/aa-rss-to-discord?label=django)](https://pypi.org/project/aa-rss-to-discord/)
38
- ![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)
39
- [![Code Style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](http://black.readthedocs.io/en/latest/)
40
- [![Discord](https://img.shields.io/discord/790364535294132234?label=discord)](https://discord.gg/zmh52wnfvM)
41
- [![Checks](https://github.com/ppfeufer/aa-rss-to-discord/actions/workflows/automated-checks.yml/badge.svg)](https://github.com/ppfeufer/aa-rss-to-discord/actions/workflows/automated-checks.yml)
42
- [![codecov](https://codecov.io/gh/ppfeufer/aa-rss-to-discord/branch/master/graph/badge.svg?token=LVEQ6W55ZB)](https://codecov.io/gh/ppfeufer/aa-rss-to-discord)
43
- [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CODE_OF_CONDUCT.md)
44
-
45
- [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/N4N8CL1BY)
46
-
47
- A simple app to post selected RSS feeds to your Discord.
48
-
49
- ---
50
-
51
- <!-- TOC -->
52
- * [Alliance Auth RSS to Discord](#alliance-auth-rss-to-discord)
53
- * [Installation](#installation)
54
- * [Step 0.5: Install AA-Discordbot](#step-05-install-aa-discordbot)
55
- * [Step 1: Install the Package](#step-1-install-the-package)
56
- * [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
57
- * [Step 3: Finalizing the Installation](#step-3-finalizing-the-installation)
58
- * [Step 4: Configure your RSS Feeds](#step-4-configure-your-rss-feeds)
59
- * [Discord Bot Commands](#discord-bot-commands)
60
- * [Updating](#updating)
61
- <!-- TOC -->
62
-
63
- ---
64
-
65
- ## Installation
66
-
67
- **Important**: Please make sure you meet all preconditions before you proceed:
68
-
69
- - Alliance Auth RSS to Discord is a plugin for Alliance Auth. If you don't have Alliance Auth running
70
- already, please install it first before proceeding. (see the official
71
- [AA installation guide](https://allianceauth.readthedocs.io/en/latest/installation/allianceauth.html) for details)
72
- - Alliance Auth RSS to Discord needs [AA-Discordbot](https://github.com/pvyParts/allianceauth-discordbot)
73
- to interact with your Discord server. Make sure it is installed and configured
74
- **before** installing this app.
75
-
76
-
77
- ### Step 0.5: Install AA-Discordbot
78
-
79
- In order for this app to work, you need to install and configure
80
- [AA-Discordbot](https://github.com/pvyParts/allianceauth-discordbot) first. Read the
81
- instructions how to do so in the README of AA-Discordbot.
82
-
83
-
84
- ### Step 1: Install the Package
85
-
86
- Make sure you're in the virtual environment (venv) of your Alliance Auth
87
- installation Then install the latest release directly from PyPi.
88
-
89
- ```shell
90
- pip install aa-rss-to-discord
91
- ```
92
-
93
-
94
- ### Step 2: Configure Alliance Auth
95
-
96
- This is fairly simple, just add the following to the `INSTALLED_APPS` of your `local.py`
97
-
98
- Configure your AA settings (`local.py`) as follows:
99
-
100
- - Add `"aa_rss_to_discord",` to `INSTALLED_APPS`
101
- - Add the scheduled task
102
- ```python
103
- CELERYBEAT_SCHEDULE["aa_rss_to_discord_fetch_rss"] = {
104
- "task": "aa_rss_to_discord.tasks.fetch_rss",
105
- "schedule": crontab(minute="*/5"),
106
- }
107
- ```
108
-
109
-
110
- ### Step 3: Finalizing the Installation
111
-
112
- Run migrations to finalize the installation
113
-
114
- ```shell
115
- python manage.py migrate
116
- ```
117
-
118
- Finally, restart your supervisor services for AA.
119
-
120
-
121
- ### Step 4: Configure your RSS Feeds
122
-
123
- First, you need to set up the Discord Server and Channels. For this, you go in your
124
- admin backend to the Discordbot settings and enter the needed information there.
125
-
126
- When done, you can set up your RSS feeds. This can be done in the setting of this
127
- app, still in your admin backend. Create a new RSS Feed entry, enter the name, url
128
- and select the Discord channel it should be posted to. Once done, save it.
129
-
130
-
131
- ## Discord Bot Commands
132
-
133
- The following commands are available for the Discord bot to manage RSS/Atom feeds:
134
-
135
- | Command | Options | What it does |
136
- |:--------------------------------|:------------------------------------------------------------------------------------------|:-----------------------------------------------------------------|
137
- | `!rss_add <rss_url> <rss_name>` | - `rss_url` - The URL of the RSS/Atom feed<br>- `rss_name` - A Name for the RSS/Atom Feed | Adding a RSS/Atom feed to the current channel |
138
- | `!rss_delete <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to remove | Remove a RSS/Atom feed from the current Discord channel |
139
- | `!rss_disable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to disable | Disable an enabled RSS/Atom feed for the current Discord channel |
140
- | `!rss_enable <rss_feed_id>` | `rss_feed_id` - The ID of the RSS/Atom feed you want to enable | Enable a disabled RSS/Atom feed for the current Discord channel |
141
- | `!rss_list` | None | List all RSS/Atom feeds for the current Discord channel |
142
-
143
-
144
- ## Updating
145
-
146
- To update your existing installation of Alliance Auth RSS to Discord, first enable your
147
- virtual environment (venv) of your Alliance Auth installation.
148
-
149
- ```bash
150
- pip install -U aa-rss-to-discord
151
-
152
- python manage.py migrate
153
- ```
154
-
155
- Finally, restart your supervisor services for AA.
@@ -1,6 +0,0 @@
1
- """
2
- a couple of variables to use throughout the app
3
- """
4
-
5
- __version__ = "1.5.0"
6
- __title__ = "RSS to Discord"
@@ -1,35 +0,0 @@
1
- CHANGELOG.md
2
- LICENSE
3
- MANIFEST.in
4
- README.md
5
- pyproject.toml
6
- setup.cfg
7
- aa_rss_to_discord/__init__.py
8
- aa_rss_to_discord/admin.py
9
- aa_rss_to_discord/apps.py
10
- aa_rss_to_discord/auth_hooks.py
11
- aa_rss_to_discord/constants.py
12
- aa_rss_to_discord/managers.py
13
- aa_rss_to_discord/models.py
14
- aa_rss_to_discord/tasks.py
15
- aa_rss_to_discord.egg-info/PKG-INFO
16
- aa_rss_to_discord.egg-info/SOURCES.txt
17
- aa_rss_to_discord.egg-info/dependency_links.txt
18
- aa_rss_to_discord.egg-info/not-zip-safe
19
- aa_rss_to_discord.egg-info/requires.txt
20
- aa_rss_to_discord.egg-info/top_level.txt
21
- aa_rss_to_discord/discordbot/cogs/__init__.py
22
- aa_rss_to_discord/discordbot/cogs/rss.py
23
- aa_rss_to_discord/locale/de/LC_MESSAGES/django.mo
24
- aa_rss_to_discord/locale/de/LC_MESSAGES/django.po
25
- aa_rss_to_discord/locale/es/LC_MESSAGES/django.po
26
- aa_rss_to_discord/locale/fr_FR/LC_MESSAGES/django.po
27
- aa_rss_to_discord/locale/it_IT/LC_MESSAGES/django.po
28
- aa_rss_to_discord/locale/ja/LC_MESSAGES/django.po
29
- aa_rss_to_discord/locale/ko_KR/LC_MESSAGES/django.po
30
- aa_rss_to_discord/locale/ru/LC_MESSAGES/django.mo
31
- aa_rss_to_discord/locale/ru/LC_MESSAGES/django.po
32
- aa_rss_to_discord/locale/zh_Hans/LC_MESSAGES/django.po
33
- aa_rss_to_discord/migrations/0001_initial.py
34
- aa_rss_to_discord/migrations/0002_enable_disable_rss_feeds.py
35
- aa_rss_to_discord/migrations/__init__.py
@@ -1,4 +0,0 @@
1
- allianceauth>=3.0.0
2
- allianceauth-app-utils>=1.14.2
3
- allianceauth-discordbot>=3.0.5
4
- feedparser
@@ -1 +0,0 @@
1
- aa_rss_to_discord
@@ -1,6 +0,0 @@
1
- [build-system]
2
- requires = [
3
- "setuptools>=42",
4
- "wheel"
5
- ]
6
- build-backend = "setuptools.build_meta"
@@ -1,55 +0,0 @@
1
- [metadata]
2
- name = aa_rss_to_discord
3
- version = attr: aa_rss_to_discord.__version__
4
- description = Alliance Auth module to post news from RSS feeds to your Discord
5
- long_description = file: README.md
6
- long_description_content_type = text/markdown
7
- author = Peter Pfeufer
8
- author_email = develop@ppfeufer.de
9
- maintainer = Peter Pfeufer
10
- maintainer_email = develop@ppfeufer.de
11
- license = GPL-3.0
12
- license_file = LICENSE
13
- classifiers =
14
- Environment :: Web Environment
15
- Framework :: Django
16
- Framework :: Django :: 4.0
17
- Intended Audience :: Developers
18
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
19
- Operating System :: OS Independent
20
- Programming Language :: Python
21
- Programming Language :: Python :: 3
22
- Programming Language :: Python :: 3.8
23
- Programming Language :: Python :: 3.9
24
- Programming Language :: Python :: 3.10
25
- Programming Language :: Python :: 3.11
26
- Topic :: Internet :: WWW/HTTP
27
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
28
- home_page = https://github.com/ppfeufer/aa-rss-to-discord
29
- keywords =
30
- allianceauth
31
- eveonline
32
- discord
33
- rss
34
- project_urls =
35
- Issue / Bug Reports = https://github.com/ppfeufer/aa-rss-to-discord/issues
36
- Changelog = https://github.com/ppfeufer/aa-rss-to-discord/blob/master/CHANGELOG.md
37
-
38
- [options]
39
- packages = find:
40
- install_requires =
41
- allianceauth>=3.0.0
42
- allianceauth-app-utils>=1.14.2
43
- allianceauth-discordbot>=3.0.5
44
- feedparser
45
- python_requires = ~=3.8
46
- include_package_data = True
47
- zip_safe = False
48
-
49
- [options.packages.find]
50
- include = aa_rss_to_discord
51
-
52
- [egg_info]
53
- tag_build =
54
- tag_date = 0
55
-