From 46b02e3c2fa23c2a820539fe59dc7f90e1e3eedf Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 27 Feb 2020 00:11:39 +0100 Subject: bumped release number. --- CHANGELOG.md | 8 ++++++-- newspipe/conf/conf.cfg-sample | 2 +- newspipe/crawler/default_crawler.py | 2 +- newspipe/lib/data.py | 4 ++-- newspipe/lib/misc_utils.py | 4 ++-- newspipe/notifications/emails.py | 4 ++-- newspipe/notifications/notifications.py | 4 ++-- newspipe/runserver.py | 4 ++-- newspipe/web/__init__.py | 4 ++-- newspipe/web/forms.py | 2 +- newspipe/web/models/__init__.py | 4 ++-- newspipe/web/models/article.py | 4 ++-- newspipe/web/models/bookmark.py | 4 ++-- newspipe/web/models/feed.py | 4 ++-- newspipe/web/models/role.py | 4 ++-- newspipe/web/models/user.py | 4 ++-- newspipe/web/templates/about.html | 2 +- newspipe/web/translations/fr/LC_MESSAGES/messages.po | 6 +++--- newspipe/web/translations/messages.pot | 4 ++-- newspipe/web/views/api/v3/article.py | 2 +- newspipe/web/views/api/v3/common.py | 2 +- newspipe/web/views/api/v3/feed.py | 2 +- newspipe/web/views/bookmark.py | 2 +- pyproject.toml | 2 +- 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 install Newspipe on your server.') }}

{{ _('This software is under AGPLv3 license. You are welcome to copy, modify or - redistribute the source code + redistribute the source code according to the Affero GPL license.') }}

{{ _('Found a bug? Report it here.') }}

{{ _('More information') }} {{ _('about this instance.') }}

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 source code\n" " according to the Affero GPL license." msgstr "" "Ce logiciel est sous licence AGPLv3. Vous êtes invité à copier, modifier ou " -"redistribuer le code " +"redistribuer le code " "source selon la licence Affero GPL." #: ../templates/about.html:14 msgid "" -"Found a bug? Report it here." msgstr "" "Vous avez trouvé un bug? Signalez-le source code\n" +"href=\"https://git.sr.ht/~cedric/newspipe\">source code\n" " according to the Affero GPL " "license." @@ -202,7 +202,7 @@ msgstr "" #: ../templates/about.html:14 msgid "" "Found a bug? Report it here." +"href=\"https://git.sr.ht/~cedric/newspipe/issues\">here." 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 "] license = "AGPL-3.0-or-later" -- cgit