aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-27 00:11:39 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-27 00:11:39 +0100
commit46b02e3c2fa23c2a820539fe59dc7f90e1e3eedf (patch)
tree46d8be9e00aaaf49539a9c4165b2f85da226087e
parentRemoved now useless link to the list of articles of a feed. (diff)
downloadnewspipe-46b02e3c2fa23c2a820539fe59dc7f90e1e3eedf.tar.gz
newspipe-46b02e3c2fa23c2a820539fe59dc7f90e1e3eedf.tar.bz2
newspipe-46b02e3c2fa23c2a820539fe59dc7f90e1e3eedf.zip
bumped release number.
-rw-r--r--CHANGELOG.md8
-rw-r--r--newspipe/conf/conf.cfg-sample2
-rw-r--r--newspipe/crawler/default_crawler.py2
-rw-r--r--newspipe/lib/data.py4
-rwxr-xr-xnewspipe/lib/misc_utils.py4
-rw-r--r--newspipe/notifications/emails.py4
-rw-r--r--newspipe/notifications/notifications.py4
-rwxr-xr-xnewspipe/runserver.py4
-rw-r--r--newspipe/web/__init__.py4
-rw-r--r--newspipe/web/forms.py2
-rw-r--r--newspipe/web/models/__init__.py4
-rw-r--r--newspipe/web/models/article.py4
-rw-r--r--newspipe/web/models/bookmark.py4
-rw-r--r--newspipe/web/models/feed.py4
-rw-r--r--newspipe/web/models/role.py4
-rw-r--r--newspipe/web/models/user.py4
-rw-r--r--newspipe/web/templates/about.html2
-rw-r--r--newspipe/web/translations/fr/LC_MESSAGES/messages.po6
-rw-r--r--newspipe/web/translations/messages.pot4
-rw-r--r--newspipe/web/views/api/v3/article.py2
-rw-r--r--newspipe/web/views/api/v3/common.py2
-rw-r--r--newspipe/web/views/api/v3/feed.py2
-rw-r--r--newspipe/web/views/bookmark.py2
-rw-r--r--pyproject.toml2
24 files changed, 44 insertions, 40 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a3d3a3f1..a6f29ca3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,13 +1,17 @@
Newspipe Changelog
==================
-## 9.0 (not yet released)
+## 9.0 (2020-02-27)
New:
* email address of users are no longer stored in the database. Only a
nickname and a password are required to create an account;
* deployment is now done with poetry;
- * removed a lot of bad JavaScript code.
+ * removed a lot bad JavaScript code.
+ Improvements:
+ * feeds are now retrieved with requests. feedparser is only used for the
+ parsing;
+ * improvements to the crawler.
## 8.0 (2017-05-24)
diff --git a/newspipe/conf/conf.cfg-sample b/newspipe/conf/conf.cfg-sample
index ed14a4d9..41035fc7 100644
--- a/newspipe/conf/conf.cfg-sample
+++ b/newspipe/conf/conf.cfg-sample
@@ -17,7 +17,7 @@ database_url = sqlite:///newspipe.db
[crawler]
crawling_method = default
default_max_error = 6
-user_agent = Newspipe (https://gitlab.com/newspipe/newspipe)
+user_agent = Newspipe (https://git.sr.ht/~cedric/newspipe)
timeout = 30
resolv = false
feed_refresh_interval = 120
diff --git a/newspipe/crawler/default_crawler.py b/newspipe/crawler/default_crawler.py
index 0ad9f4fc..96a8e30e 100644
--- a/newspipe/crawler/default_crawler.py
+++ b/newspipe/crawler/default_crawler.py
@@ -4,7 +4,7 @@
# newspipe - A Web based news aggregator.
# Copyright (C) 2010-2019 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/lib/data.py b/newspipe/lib/data.py
index 13843746..571aaf63 100644
--- a/newspipe/lib/data.py
+++ b/newspipe/lib/data.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py
index 6fd590ac..e79bab49 100755
--- a/newspipe/lib/misc_utils.py
+++ b/newspipe/lib/misc_utils.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/notifications/emails.py b/newspipe/notifications/emails.py
index 1d156bd8..6c32ecec 100644
--- a/newspipe/notifications/emails.py
+++ b/newspipe/notifications/emails.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/notifications/notifications.py b/newspipe/notifications/notifications.py
index 2bc24810..2358cdc5 100644
--- a/newspipe/notifications/notifications.py
+++ b/newspipe/notifications/notifications.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/runserver.py b/newspipe/runserver.py
index 2b016f1c..963ea681 100755
--- a/newspipe/runserver.py
+++ b/newspipe/runserver.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/__init__.py b/newspipe/web/__init__.py
index ca5ddbe1..810d55ce 100644
--- a/newspipe/web/__init__.py
+++ b/newspipe/web/__init__.py
@@ -1,7 +1,7 @@
__author__ = "Cedric Bonhomme"
-__version__ = "$Revision: 8.0 $"
+__version__ = "$Revision: 9.0 $"
__date__ = "$Date: 2016/11/14 $"
-__revision__ = "$Date: 2017/05/24 $"
+__revision__ = "$Date: 2020/02/27 $"
__copyright__ = "Copyright (c) Cedric Bonhomme"
__license__ = "GPLv3"
diff --git a/newspipe/web/forms.py b/newspipe/web/forms.py
index 046ce1ec..9f632c7d 100644
--- a/newspipe/web/forms.py
+++ b/newspipe/web/forms.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : http://gitlab.com/newspipe/newspipe
#
diff --git a/newspipe/web/models/__init__.py b/newspipe/web/models/__init__.py
index 09249368..23c9d831 100644
--- a/newspipe/web/models/__init__.py
+++ b/newspipe/web/models/__init__.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/models/article.py b/newspipe/web/models/article.py
index 1256852e..8764948c 100644
--- a/newspipe/web/models/article.py
+++ b/newspipe/web/models/article.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/models/bookmark.py b/newspipe/web/models/bookmark.py
index c557225e..558049fc 100644
--- a/newspipe/web/models/bookmark.py
+++ b/newspipe/web/models/bookmark.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/models/feed.py b/newspipe/web/models/feed.py
index f440a39c..afebe934 100644
--- a/newspipe/web/models/feed.py
+++ b/newspipe/web/models/feed.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/models/role.py b/newspipe/web/models/role.py
index 15a08b73..d456f4bc 100644
--- a/newspipe/web/models/role.py
+++ b/newspipe/web/models/role.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/models/user.py b/newspipe/web/models/user.py
index a088c74e..288e7ea9 100644
--- a/newspipe/web/models/user.py
+++ b/newspipe/web/models/user.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/newspipe/web/templates/about.html b/newspipe/web/templates/about.html
index 4cfafb79..d1dcf6fc 100644
--- a/newspipe/web/templates/about.html
+++ b/newspipe/web/templates/about.html
@@ -7,7 +7,7 @@
{{ _('Newspipe is a news aggregator platform.') }}
{{ _('You can easily <a href="https://newspipe.readthedocs.io/en/latest/deployment.html">install Newspipe on your server</a>.') }}
<p>{{ _('This software is under AGPLv3 license. You are welcome to copy, modify or
- redistribute the <a href="https://git.sr.ht/~cedric/Newspipe">source code</a>
+ redistribute the <a href="https://git.sr.ht/~cedric/newspipe">source code</a>
according to the <a href="https://www.gnu.org/licenses/agpl-3.0.html">Affero GPL</a> license.') }}</p>
<p>{{ _('Found a bug? Report it <a href="https://todo.sr.ht/~cedric/newspipe">here</a>.') }}</p>
<p><a href="{{ url_for('about_more') }}">{{ _('More information') }}</a> {{ _('about this instance.') }}</p>
diff --git a/newspipe/web/translations/fr/LC_MESSAGES/messages.po b/newspipe/web/translations/fr/LC_MESSAGES/messages.po
index be948d2e..b9b9323b 100644
--- a/newspipe/web/translations/fr/LC_MESSAGES/messages.po
+++ b/newspipe/web/translations/fr/LC_MESSAGES/messages.po
@@ -200,19 +200,19 @@ msgstr ""
#: ../templates/about.html:11
msgid ""
"This software is under AGPLv3 license. You are welcome to copy, modify or\n"
-" redistribute the <a href=\"https://gitlab.com/newspipe/newspipe"
+" redistribute the <a href=\"https://git.sr.ht/~cedric/newspipe"
"\">source code</a>\n"
" according to the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html"
"\">Affero GPL</a> license."
msgstr ""
"Ce logiciel est sous licence AGPLv3. Vous êtes invité à copier, modifier ou "
-"redistribuer le <a href=\"https://gitlab.com/newspipe/newspipe\">code "
+"redistribuer le <a href=\"https://git.sr.ht/~cedric/newspipe\">code "
"source</a> selon la licence <a href=\"https://www.gnu.org/licenses/agpl-3.0."
"html\">Affero GPL</a>."
#: ../templates/about.html:14
msgid ""
-"Found a bug? Report it <a href=\"https://gitlab.com/newspipe/newspipe/issues"
+"Found a bug? Report it <a href=\"https://git.sr.ht/~cedric/newspipe/issues"
"\">here</a>."
msgstr ""
"Vous avez trouvé un bug? Signalez-le <a href=\"https://gitlab.com/newspipe/"
diff --git a/newspipe/web/translations/messages.pot b/newspipe/web/translations/messages.pot
index 871417c8..e8ded391 100644
--- a/newspipe/web/translations/messages.pot
+++ b/newspipe/web/translations/messages.pot
@@ -193,7 +193,7 @@ msgid ""
"This software is under AGPLv3 license. You are welcome to copy, modify or"
"\n"
" redistribute the <a "
-"href=\"https://gitlab.com/newspipe/newspipe\">source code</a>\n"
+"href=\"https://git.sr.ht/~cedric/newspipe\">source code</a>\n"
" according to the <a "
"href=\"https://www.gnu.org/licenses/agpl-3.0.html\">Affero GPL</a> "
"license."
@@ -202,7 +202,7 @@ msgstr ""
#: ../templates/about.html:14
msgid ""
"Found a bug? Report it <a "
-"href=\"https://gitlab.com/newspipe/newspipe/issues\">here</a>."
+"href=\"https://git.sr.ht/~cedric/newspipe/issues\">here</a>."
msgstr ""
#: ../templates/about.html:15
diff --git a/newspipe/web/views/api/v3/article.py b/newspipe/web/views/api/v3/article.py
index 04d19552..55ba3326 100644
--- a/newspipe/web/views/api/v3/article.py
+++ b/newspipe/web/views/api/v3/article.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : http://gitlab.com/newspipe/newspipe
#
diff --git a/newspipe/web/views/api/v3/common.py b/newspipe/web/views/api/v3/common.py
index 5467ee30..bf49bff5 100644
--- a/newspipe/web/views/api/v3/common.py
+++ b/newspipe/web/views/api/v3/common.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : http://gitlab.com/newspipe/newspipe
#
diff --git a/newspipe/web/views/api/v3/feed.py b/newspipe/web/views/api/v3/feed.py
index 9d2c9180..fffbf40d 100644
--- a/newspipe/web/views/api/v3/feed.py
+++ b/newspipe/web/views/api/v3/feed.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# Newspipe - A Web based news aggregator.
-# Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2020 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : http://gitlab.com/newspipe/newspipe
#
diff --git a/newspipe/web/views/bookmark.py b/newspipe/web/views/bookmark.py
index bceda631..c46409e4 100644
--- a/newspipe/web/views/bookmark.py
+++ b/newspipe/web/views/bookmark.py
@@ -4,7 +4,7 @@
# Newspipe - A Web based news aggregator.
# Copyright (C) 2010-2017 Cédric Bonhomme - https://www.cedricbonhomme.org
#
-# For more information : https://gitlab.com/newspipe/newspipe
+# For more information : https://git.sr.ht/~cedric/newspipe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
diff --git a/pyproject.toml b/pyproject.toml
index a21daf6b..29c7fc5c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "newspipe"
-version = "8.0.0"
+version = "9.0.0"
description = "Newspipe is a web-based news aggregator and reader."
authors = ["Cédric Bonhomme <cedric@cedricbonhomme.org>"]
license = "AGPL-3.0-or-later"
bgstack15