diff --git a/copyright.txt b/copyright.txt index d5103ef8d..3b5f7896c 100644 --- a/copyright.txt +++ b/copyright.txt @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/__init__.py b/openlp/__init__.py index 32c8043b1..cb97501dd 100644 --- a/openlp/__init__.py +++ b/openlp/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/__main__.py b/openlp/__main__.py index 657af6b66..fb8d8cba3 100644 --- a/openlp/__main__.py +++ b/openlp/__main__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index ac1883eb8..9beed1a10 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/__init__.py b/openlp/core/api/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/core/api/__init__.py +++ b/openlp/core/api/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/deploy.py b/openlp/core/api/deploy.py index 6dcc43425..262b610a6 100644 --- a/openlp/core/api/deploy.py +++ b/openlp/core/api/deploy.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/__init__.py b/openlp/core/api/endpoint/__init__.py index 09df8a58e..6fb21355f 100644 --- a/openlp/core/api/endpoint/__init__.py +++ b/openlp/core/api/endpoint/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/controller.py b/openlp/core/api/endpoint/controller.py index 4e98b3134..f9200c1d7 100644 --- a/openlp/core/api/endpoint/controller.py +++ b/openlp/core/api/endpoint/controller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/core.py b/openlp/core/api/endpoint/core.py index 3e9a560d7..2177655e2 100644 --- a/openlp/core/api/endpoint/core.py +++ b/openlp/core/api/endpoint/core.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/pluginhelpers.py b/openlp/core/api/endpoint/pluginhelpers.py index a967ef04e..b02c6f20a 100644 --- a/openlp/core/api/endpoint/pluginhelpers.py +++ b/openlp/core/api/endpoint/pluginhelpers.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/remote.py b/openlp/core/api/endpoint/remote.py index 15ad6025a..dcfde5fd5 100644 --- a/openlp/core/api/endpoint/remote.py +++ b/openlp/core/api/endpoint/remote.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/endpoint/service.py b/openlp/core/api/endpoint/service.py index bfd1fc7e2..305563984 100644 --- a/openlp/core/api/endpoint/service.py +++ b/openlp/core/api/endpoint/service.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/http/__init__.py b/openlp/core/api/http/__init__.py index c1e91cb7c..16b4ede89 100644 --- a/openlp/core/api/http/__init__.py +++ b/openlp/core/api/http/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/http/endpoint.py b/openlp/core/api/http/endpoint.py index 4a83d78a8..6d69824d9 100644 --- a/openlp/core/api/http/endpoint.py +++ b/openlp/core/api/http/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/http/errors.py b/openlp/core/api/http/errors.py index ba3367734..7012689d2 100644 --- a/openlp/core/api/http/errors.py +++ b/openlp/core/api/http/errors.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/http/server.py b/openlp/core/api/http/server.py index e4dd282b6..eed1fc829 100644 --- a/openlp/core/api/http/server.py +++ b/openlp/core/api/http/server.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/http/wsgiapp.py b/openlp/core/api/http/wsgiapp.py index 295e592e8..723c22c6a 100644 --- a/openlp/core/api/http/wsgiapp.py +++ b/openlp/core/api/http/wsgiapp.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/poll.py b/openlp/core/api/poll.py index 8c17f6d19..a744cdc4d 100644 --- a/openlp/core/api/poll.py +++ b/openlp/core/api/poll.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/tab.py b/openlp/core/api/tab.py index 42d4e6cd7..3c7dfbf12 100644 --- a/openlp/core/api/tab.py +++ b/openlp/core/api/tab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/websockets.py b/openlp/core/api/websockets.py index f33993a61..e7499aef7 100644 --- a/openlp/core/api/websockets.py +++ b/openlp/core/api/websockets.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/api/zeroconf.py b/openlp/core/api/zeroconf.py index 057178680..d917d6381 100644 --- a/openlp/core/api/zeroconf.py +++ b/openlp/core/api/zeroconf.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/app.py b/openlp/core/app.py index 67017cc44..a68f9e518 100644 --- a/openlp/core/app.py +++ b/openlp/core/app.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/__init__.py b/openlp/core/common/__init__.py index 0eeb6fb4c..6f8ed2025 100644 --- a/openlp/core/common/__init__.py +++ b/openlp/core/common/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/actions.py b/openlp/core/common/actions.py index 873289fad..bf6024b4d 100644 --- a/openlp/core/common/actions.py +++ b/openlp/core/common/actions.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/applocation.py b/openlp/core/common/applocation.py index 4d9305735..a2e80ec57 100644 --- a/openlp/core/common/applocation.py +++ b/openlp/core/common/applocation.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/db.py b/openlp/core/common/db.py index 76ae2d705..43cddd261 100644 --- a/openlp/core/common/db.py +++ b/openlp/core/common/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/enum.py b/openlp/core/common/enum.py index 40fd1a391..b31842e93 100644 --- a/openlp/core/common/enum.py +++ b/openlp/core/common/enum.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/httputils.py b/openlp/core/common/httputils.py index e00dc9c5e..49d3ac21d 100644 --- a/openlp/core/common/httputils.py +++ b/openlp/core/common/httputils.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/i18n.py b/openlp/core/common/i18n.py index 042135606..e63833454 100644 --- a/openlp/core/common/i18n.py +++ b/openlp/core/common/i18n.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/json.py b/openlp/core/common/json.py index b1f735b8d..0fd834b91 100644 --- a/openlp/core/common/json.py +++ b/openlp/core/common/json.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/mixins.py b/openlp/core/common/mixins.py index dc48e09d6..cbd6650ce 100644 --- a/openlp/core/common/mixins.py +++ b/openlp/core/common/mixins.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/path.py b/openlp/core/common/path.py index 1464c02b3..e32622621 100644 --- a/openlp/core/common/path.py +++ b/openlp/core/common/path.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/registry.py b/openlp/core/common/registry.py index d3d044a23..3b2413a0d 100644 --- a/openlp/core/common/registry.py +++ b/openlp/core/common/registry.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/settings.py b/openlp/core/common/settings.py index c0378ec1f..d58f028b6 100644 --- a/openlp/core/common/settings.py +++ b/openlp/core/common/settings.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/common/utils.py b/openlp/core/common/utils.py index 5d0c0a0bc..bcc68cb3d 100644 --- a/openlp/core/common/utils.py +++ b/openlp/core/common/utils.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/display/__init__.py b/openlp/core/display/__init__.py index 0ff752d7d..ee8133a2f 100644 --- a/openlp/core/display/__init__.py +++ b/openlp/core/display/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/display/render.py b/openlp/core/display/render.py index 32ef0b467..4bfa129fd 100644 --- a/openlp/core/display/render.py +++ b/openlp/core/display/render.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/display/screens.py b/openlp/core/display/screens.py index a0712b6fc..2086144fb 100644 --- a/openlp/core/display/screens.py +++ b/openlp/core/display/screens.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/display/webengine.py b/openlp/core/display/webengine.py index f6708920c..1b4f050cd 100644 --- a/openlp/core/display/webengine.py +++ b/openlp/core/display/webengine.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/display/window.py b/openlp/core/display/window.py index 9ac6f6ea1..3f4c8bfa7 100644 --- a/openlp/core/display/window.py +++ b/openlp/core/display/window.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index af0225842..a48199671 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/db.py b/openlp/core/lib/db.py index 56acc755e..16f22d1e2 100644 --- a/openlp/core/lib/db.py +++ b/openlp/core/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/exceptions.py b/openlp/core/lib/exceptions.py index 182f46da4..4c0a4edca 100644 --- a/openlp/core/lib/exceptions.py +++ b/openlp/core/lib/exceptions.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/formattingtags.py b/openlp/core/lib/formattingtags.py index fc4c42702..a431920f6 100644 --- a/openlp/core/lib/formattingtags.py +++ b/openlp/core/lib/formattingtags.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/imagemanager.py b/openlp/core/lib/imagemanager.py index 78cd7c845..121e34788 100644 --- a/openlp/core/lib/imagemanager.py +++ b/openlp/core/lib/imagemanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/json/__init__.py b/openlp/core/lib/json/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/core/lib/json/__init__.py +++ b/openlp/core/lib/json/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/mediamanageritem.py b/openlp/core/lib/mediamanageritem.py index b13b52182..6e97e7c93 100644 --- a/openlp/core/lib/mediamanageritem.py +++ b/openlp/core/lib/mediamanageritem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/plugin.py b/openlp/core/lib/plugin.py index 33111590f..a9b41262e 100644 --- a/openlp/core/lib/plugin.py +++ b/openlp/core/lib/plugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/pluginmanager.py b/openlp/core/lib/pluginmanager.py index 33dba3c9b..53f219286 100644 --- a/openlp/core/lib/pluginmanager.py +++ b/openlp/core/lib/pluginmanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/serviceitem.py b/openlp/core/lib/serviceitem.py index a9bc61511..c4019960b 100644 --- a/openlp/core/lib/serviceitem.py +++ b/openlp/core/lib/serviceitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/settingstab.py b/openlp/core/lib/settingstab.py index d2e051648..ca3dc0989 100644 --- a/openlp/core/lib/settingstab.py +++ b/openlp/core/lib/settingstab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/theme.py b/openlp/core/lib/theme.py index 5692fea01..208ee0592 100644 --- a/openlp/core/lib/theme.py +++ b/openlp/core/lib/theme.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/lib/ui.py b/openlp/core/lib/ui.py index 3190fe76e..8ec47e9a9 100644 --- a/openlp/core/lib/ui.py +++ b/openlp/core/lib/ui.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/loader.py b/openlp/core/loader.py index c037c1c99..43538119e 100644 --- a/openlp/core/loader.py +++ b/openlp/core/loader.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/pages/__init__.py b/openlp/core/pages/__init__.py index f282672cc..14657c96f 100644 --- a/openlp/core/pages/__init__.py +++ b/openlp/core/pages/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/pages/alignment.py b/openlp/core/pages/alignment.py index ddd9b7b31..b48bbb416 100644 --- a/openlp/core/pages/alignment.py +++ b/openlp/core/pages/alignment.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/pages/areaposition.py b/openlp/core/pages/areaposition.py index 37715e6fc..c3ac023f5 100644 --- a/openlp/core/pages/areaposition.py +++ b/openlp/core/pages/areaposition.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/pages/background.py b/openlp/core/pages/background.py index 1814630af..82d528f0d 100644 --- a/openlp/core/pages/background.py +++ b/openlp/core/pages/background.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/pages/fontselect.py b/openlp/core/pages/fontselect.py index 8242acb89..fb02cfde8 100644 --- a/openlp/core/pages/fontselect.py +++ b/openlp/core/pages/fontselect.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/__init__.py b/openlp/core/projectors/__init__.py index 728da4862..cd2880ca2 100644 --- a/openlp/core/projectors/__init__.py +++ b/openlp/core/projectors/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/constants.py b/openlp/core/projectors/constants.py index 270b0ae75..91cd014d5 100644 --- a/openlp/core/projectors/constants.py +++ b/openlp/core/projectors/constants.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/db.py b/openlp/core/projectors/db.py index b2844fde6..9887b5f49 100644 --- a/openlp/core/projectors/db.py +++ b/openlp/core/projectors/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/editform.py b/openlp/core/projectors/editform.py index 9e884d7d7..1e99d6ab1 100644 --- a/openlp/core/projectors/editform.py +++ b/openlp/core/projectors/editform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/manager.py b/openlp/core/projectors/manager.py index fd2229449..d526eb64f 100644 --- a/openlp/core/projectors/manager.py +++ b/openlp/core/projectors/manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/pjlink.py b/openlp/core/projectors/pjlink.py index 27bfce225..aeeec5df4 100644 --- a/openlp/core/projectors/pjlink.py +++ b/openlp/core/projectors/pjlink.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/pjlinkcommands.py b/openlp/core/projectors/pjlinkcommands.py index 7a34900a4..a63ec6b8f 100644 --- a/openlp/core/projectors/pjlinkcommands.py +++ b/openlp/core/projectors/pjlinkcommands.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/sourceselectform.py b/openlp/core/projectors/sourceselectform.py index a86d3de7f..5ef4e0d2e 100644 --- a/openlp/core/projectors/sourceselectform.py +++ b/openlp/core/projectors/sourceselectform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/tab.py b/openlp/core/projectors/tab.py index 0001df593..f532e1a2d 100644 --- a/openlp/core/projectors/tab.py +++ b/openlp/core/projectors/tab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/projectors/upgrade.py b/openlp/core/projectors/upgrade.py index 37f857794..ed2cd735f 100644 --- a/openlp/core/projectors/upgrade.py +++ b/openlp/core/projectors/upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/resources.py b/openlp/core/resources.py index 051f3e9bb..a8f514606 100644 --- a/openlp/core/resources.py +++ b/openlp/core/resources.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/server.py b/openlp/core/server.py index f61940650..a1c45e991 100644 --- a/openlp/core/server.py +++ b/openlp/core/server.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/state.py b/openlp/core/state.py index 1e1d49d42..1ca06f166 100644 --- a/openlp/core/state.py +++ b/openlp/core/state.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/threading.py b/openlp/core/threading.py index 831c4569f..b9a9c6a8b 100644 --- a/openlp/core/threading.py +++ b/openlp/core/threading.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/__init__.py b/openlp/core/ui/__init__.py index e4bf7ffe5..1b159286c 100644 --- a/openlp/core/ui/__init__.py +++ b/openlp/core/ui/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/aboutdialog.py b/openlp/core/ui/aboutdialog.py index 30b701961..262ae6332 100644 --- a/openlp/core/ui/aboutdialog.py +++ b/openlp/core/ui/aboutdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/aboutform.py b/openlp/core/ui/aboutform.py index 4a28780d9..a6006894e 100644 --- a/openlp/core/ui/aboutform.py +++ b/openlp/core/ui/aboutform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/advancedtab.py b/openlp/core/ui/advancedtab.py index 36904568d..96b272140 100644 --- a/openlp/core/ui/advancedtab.py +++ b/openlp/core/ui/advancedtab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/exceptiondialog.py b/openlp/core/ui/exceptiondialog.py index f8acfcc7d..31215a85b 100644 --- a/openlp/core/ui/exceptiondialog.py +++ b/openlp/core/ui/exceptiondialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/exceptionform.py b/openlp/core/ui/exceptionform.py index 2317b27a0..8cababc15 100644 --- a/openlp/core/ui/exceptionform.py +++ b/openlp/core/ui/exceptionform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/filerenamedialog.py b/openlp/core/ui/filerenamedialog.py index b01248ee6..3b8ddd837 100644 --- a/openlp/core/ui/filerenamedialog.py +++ b/openlp/core/ui/filerenamedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/filerenameform.py b/openlp/core/ui/filerenameform.py index 9914d33e7..5bcfcd6bc 100644 --- a/openlp/core/ui/filerenameform.py +++ b/openlp/core/ui/filerenameform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/firsttimeform.py b/openlp/core/ui/firsttimeform.py index 9106e555a..fe8decfc4 100644 --- a/openlp/core/ui/firsttimeform.py +++ b/openlp/core/ui/firsttimeform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/firsttimelanguagedialog.py b/openlp/core/ui/firsttimelanguagedialog.py index 21f0d015f..fc7fb4e38 100644 --- a/openlp/core/ui/firsttimelanguagedialog.py +++ b/openlp/core/ui/firsttimelanguagedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/firsttimelanguageform.py b/openlp/core/ui/firsttimelanguageform.py index a99bf1f86..f8f4cb958 100644 --- a/openlp/core/ui/firsttimelanguageform.py +++ b/openlp/core/ui/firsttimelanguageform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/firsttimewizard.py b/openlp/core/ui/firsttimewizard.py index 5d88fda2f..aabe542c8 100644 --- a/openlp/core/ui/firsttimewizard.py +++ b/openlp/core/ui/firsttimewizard.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/formattingtagcontroller.py b/openlp/core/ui/formattingtagcontroller.py index 11ae7b55b..bd642a927 100644 --- a/openlp/core/ui/formattingtagcontroller.py +++ b/openlp/core/ui/formattingtagcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/formattingtagdialog.py b/openlp/core/ui/formattingtagdialog.py index a7bcd722f..a47b59d24 100644 --- a/openlp/core/ui/formattingtagdialog.py +++ b/openlp/core/ui/formattingtagdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/formattingtagform.py b/openlp/core/ui/formattingtagform.py index a5d7433de..c14f77a82 100644 --- a/openlp/core/ui/formattingtagform.py +++ b/openlp/core/ui/formattingtagform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/generaltab.py b/openlp/core/ui/generaltab.py index 9b95a6ca9..cf6ca0898 100644 --- a/openlp/core/ui/generaltab.py +++ b/openlp/core/ui/generaltab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/icons.py b/openlp/core/ui/icons.py index 09dd78a0f..57a0e590e 100644 --- a/openlp/core/ui/icons.py +++ b/openlp/core/ui/icons.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index e9cb92476..936e50a3f 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/__init__.py b/openlp/core/ui/media/__init__.py index 1524b161a..31c5dba6a 100644 --- a/openlp/core/ui/media/__init__.py +++ b/openlp/core/ui/media/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/endpoint.py b/openlp/core/ui/media/endpoint.py index f6c5836e6..334f7e6bb 100644 --- a/openlp/core/ui/media/endpoint.py +++ b/openlp/core/ui/media/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 9b237514c..4b8c5dc10 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/mediaplayer.py b/openlp/core/ui/media/mediaplayer.py index fc0bbb93b..5fb30aa82 100644 --- a/openlp/core/ui/media/mediaplayer.py +++ b/openlp/core/ui/media/mediaplayer.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/mediatab.py b/openlp/core/ui/media/mediatab.py index d90ba8737..7c6198523 100644 --- a/openlp/core/ui/media/mediatab.py +++ b/openlp/core/ui/media/mediatab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index b21e54665..40879f937 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/plugindialog.py b/openlp/core/ui/plugindialog.py index 05f092074..880bbd201 100644 --- a/openlp/core/ui/plugindialog.py +++ b/openlp/core/ui/plugindialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/pluginform.py b/openlp/core/ui/pluginform.py index b89279d81..04955c933 100644 --- a/openlp/core/ui/pluginform.py +++ b/openlp/core/ui/pluginform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/printservicedialog.py b/openlp/core/ui/printservicedialog.py index f3121d103..7f92b61a6 100644 --- a/openlp/core/ui/printservicedialog.py +++ b/openlp/core/ui/printservicedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/printserviceform.py b/openlp/core/ui/printserviceform.py index ede0906d0..5432a83e8 100644 --- a/openlp/core/ui/printserviceform.py +++ b/openlp/core/ui/printserviceform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/screenstab.py b/openlp/core/ui/screenstab.py index 8502571df..514ec6e1e 100644 --- a/openlp/core/ui/screenstab.py +++ b/openlp/core/ui/screenstab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/serviceitemeditdialog.py b/openlp/core/ui/serviceitemeditdialog.py index 41443ce90..2630e2192 100644 --- a/openlp/core/ui/serviceitemeditdialog.py +++ b/openlp/core/ui/serviceitemeditdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/serviceitemeditform.py b/openlp/core/ui/serviceitemeditform.py index cf17335fe..557b9b264 100644 --- a/openlp/core/ui/serviceitemeditform.py +++ b/openlp/core/ui/serviceitemeditform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 8a063992e..0fa6c7637 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/servicenoteform.py b/openlp/core/ui/servicenoteform.py index d4f12fef2..f4fa72f25 100644 --- a/openlp/core/ui/servicenoteform.py +++ b/openlp/core/ui/servicenoteform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/settingsdialog.py b/openlp/core/ui/settingsdialog.py index 707f650e6..21c8bfcb9 100644 --- a/openlp/core/ui/settingsdialog.py +++ b/openlp/core/ui/settingsdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/settingsform.py b/openlp/core/ui/settingsform.py index c4ee2f3f6..b695da97f 100644 --- a/openlp/core/ui/settingsform.py +++ b/openlp/core/ui/settingsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/shortcutlistdialog.py b/openlp/core/ui/shortcutlistdialog.py index d79393c81..6702b90fd 100644 --- a/openlp/core/ui/shortcutlistdialog.py +++ b/openlp/core/ui/shortcutlistdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/shortcutlistform.py b/openlp/core/ui/shortcutlistform.py index 168d135ed..43555c79a 100644 --- a/openlp/core/ui/shortcutlistform.py +++ b/openlp/core/ui/shortcutlistform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 7055e0e63..96fef9dd1 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/splashscreen.py b/openlp/core/ui/splashscreen.py index 2da24afce..dcfaf117d 100644 --- a/openlp/core/ui/splashscreen.py +++ b/openlp/core/ui/splashscreen.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/starttimedialog.py b/openlp/core/ui/starttimedialog.py index 9072ef940..c5c2b93b5 100644 --- a/openlp/core/ui/starttimedialog.py +++ b/openlp/core/ui/starttimedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/starttimeform.py b/openlp/core/ui/starttimeform.py index 998fff4e6..ec9157e94 100644 --- a/openlp/core/ui/starttimeform.py +++ b/openlp/core/ui/starttimeform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/style.py b/openlp/core/ui/style.py index 40b2eb019..947c9e665 100644 --- a/openlp/core/ui/style.py +++ b/openlp/core/ui/style.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 689b165b8..b7e4424b2 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themelayoutdialog.py b/openlp/core/ui/themelayoutdialog.py index a9d809581..58e7ea88b 100644 --- a/openlp/core/ui/themelayoutdialog.py +++ b/openlp/core/ui/themelayoutdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themelayoutform.py b/openlp/core/ui/themelayoutform.py index a104eeeb5..3ca552672 100644 --- a/openlp/core/ui/themelayoutform.py +++ b/openlp/core/ui/themelayoutform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 0d8bcae56..d56be2ec2 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themeprogressdialog.py b/openlp/core/ui/themeprogressdialog.py index 87db0cff5..deb9b471f 100644 --- a/openlp/core/ui/themeprogressdialog.py +++ b/openlp/core/ui/themeprogressdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themeprogressform.py b/openlp/core/ui/themeprogressform.py index 0ce5cbc6c..86bd5c275 100644 --- a/openlp/core/ui/themeprogressform.py +++ b/openlp/core/ui/themeprogressform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themestab.py b/openlp/core/ui/themestab.py index 35ce673a0..a68b8d693 100644 --- a/openlp/core/ui/themestab.py +++ b/openlp/core/ui/themestab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/ui/themewizard.py b/openlp/core/ui/themewizard.py index c47084fcf..f4b92df44 100644 --- a/openlp/core/ui/themewizard.py +++ b/openlp/core/ui/themewizard.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/version.py b/openlp/core/version.py index 288cd840a..8592da4c9 100644 --- a/openlp/core/version.py +++ b/openlp/core/version.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/__init__.py b/openlp/core/widgets/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/core/widgets/__init__.py +++ b/openlp/core/widgets/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/buttons.py b/openlp/core/widgets/buttons.py index 011110936..143d9c753 100644 --- a/openlp/core/widgets/buttons.py +++ b/openlp/core/widgets/buttons.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/dialogs.py b/openlp/core/widgets/dialogs.py index eab068728..68cb93533 100644 --- a/openlp/core/widgets/dialogs.py +++ b/openlp/core/widgets/dialogs.py @@ -1,109 +1,109 @@ -# -*- coding: utf-8 -*- - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## -""" Patch the QFileDialog so it accepts and returns Path objects""" -from PyQt5 import QtWidgets - -from openlp.core.common.path import path_to_str, replace_params, str_to_path - - -class FileDialog(QtWidgets.QFileDialog): - @classmethod - def getExistingDirectory(cls, *args, **kwargs): - """ - Wraps `getExistingDirectory` so that it can be called with, and return Path objects - - :type parent: QtWidgets.QWidget | None - :type caption: str - :type directory: pathlib.Path - :type options: QtWidgets.QFileDialog.Options - :rtype: pathlib.Path - """ - args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) - - return_value = super().getExistingDirectory(*args, **kwargs) - - # getExistingDirectory returns a str that represents the path. The string is empty if the user cancels the - # dialog. - return str_to_path(return_value) - - @classmethod - def getOpenFileName(cls, *args, **kwargs): - """ - Wraps `getOpenFileName` so that it can be called with, and return Path objects - - :type parent: QtWidgets.QWidget | None - :type caption: str - :type directory: pathlib.Path - :type filter: str - :type initialFilter: str - :type options: QtWidgets.QFileDialog.Options - :rtype: tuple[pathlib.Path, str] - """ - args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) - - file_name, selected_filter = super().getOpenFileName(*args, **kwargs) - - # getOpenFileName returns a tuple. The first item is a str that represents the path. The string is empty if - # the user cancels the dialog. - return str_to_path(file_name), selected_filter - - @classmethod - def getOpenFileNames(cls, *args, **kwargs): - """ - Wraps `getOpenFileNames` so that it can be called with, and return Path objects - - :type parent: QtWidgets.QWidget | None - :type caption: str - :type directory: pathlib.Path - :type filter: str - :type initialFilter: str - :type options: QtWidgets.QFileDialog.Options - :rtype: tuple[list[pathlib.Path], str] - """ - args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) - - file_names, selected_filter = super().getOpenFileNames(*args, **kwargs) - - # getSaveFileName returns a tuple. The first item is a list of str's that represents the path. The list is - # empty if the user cancels the dialog. - paths = [str_to_path(path) for path in file_names] - return paths, selected_filter - - @classmethod - def getSaveFileName(cls, *args, **kwargs): - """ - Wraps `getSaveFileName` so that it can be called with, and return Path objects - - :type parent: QtWidgets.QWidget | None - :type caption: str - :type directory: pathlib.Path - :type filter: str - :type initialFilter: str - :type options: QtWidgets.QFileDialog.Options - :rtype: tuple[pathlib.Path | None, str] - """ - args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) - - file_name, selected_filter = super().getSaveFileName(*args, **kwargs) - - # getSaveFileName returns a tuple. The first item represents the path as a str. The string is empty if the user - # cancels the dialog. - return str_to_path(file_name), selected_filter +# -*- coding: utf-8 -*- + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## +""" Patch the QFileDialog so it accepts and returns Path objects""" +from PyQt5 import QtWidgets + +from openlp.core.common.path import path_to_str, replace_params, str_to_path + + +class FileDialog(QtWidgets.QFileDialog): + @classmethod + def getExistingDirectory(cls, *args, **kwargs): + """ + Wraps `getExistingDirectory` so that it can be called with, and return Path objects + + :type parent: QtWidgets.QWidget | None + :type caption: str + :type directory: pathlib.Path + :type options: QtWidgets.QFileDialog.Options + :rtype: pathlib.Path + """ + args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) + + return_value = super().getExistingDirectory(*args, **kwargs) + + # getExistingDirectory returns a str that represents the path. The string is empty if the user cancels the + # dialog. + return str_to_path(return_value) + + @classmethod + def getOpenFileName(cls, *args, **kwargs): + """ + Wraps `getOpenFileName` so that it can be called with, and return Path objects + + :type parent: QtWidgets.QWidget | None + :type caption: str + :type directory: pathlib.Path + :type filter: str + :type initialFilter: str + :type options: QtWidgets.QFileDialog.Options + :rtype: tuple[pathlib.Path, str] + """ + args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) + + file_name, selected_filter = super().getOpenFileName(*args, **kwargs) + + # getOpenFileName returns a tuple. The first item is a str that represents the path. The string is empty if + # the user cancels the dialog. + return str_to_path(file_name), selected_filter + + @classmethod + def getOpenFileNames(cls, *args, **kwargs): + """ + Wraps `getOpenFileNames` so that it can be called with, and return Path objects + + :type parent: QtWidgets.QWidget | None + :type caption: str + :type directory: pathlib.Path + :type filter: str + :type initialFilter: str + :type options: QtWidgets.QFileDialog.Options + :rtype: tuple[list[pathlib.Path], str] + """ + args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) + + file_names, selected_filter = super().getOpenFileNames(*args, **kwargs) + + # getSaveFileName returns a tuple. The first item is a list of str's that represents the path. The list is + # empty if the user cancels the dialog. + paths = [str_to_path(path) for path in file_names] + return paths, selected_filter + + @classmethod + def getSaveFileName(cls, *args, **kwargs): + """ + Wraps `getSaveFileName` so that it can be called with, and return Path objects + + :type parent: QtWidgets.QWidget | None + :type caption: str + :type directory: pathlib.Path + :type filter: str + :type initialFilter: str + :type options: QtWidgets.QFileDialog.Options + :rtype: tuple[pathlib.Path | None, str] + """ + args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),)) + + file_name, selected_filter = super().getSaveFileName(*args, **kwargs) + + # getSaveFileName returns a tuple. The first item represents the path as a str. The string is empty if the user + # cancels the dialog. + return str_to_path(file_name), selected_filter diff --git a/openlp/core/widgets/docks.py b/openlp/core/widgets/docks.py index 36b32434a..8f0b430da 100644 --- a/openlp/core/widgets/docks.py +++ b/openlp/core/widgets/docks.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/edits.py b/openlp/core/widgets/edits.py index 022ab6d53..35f3043d9 100644 --- a/openlp/core/widgets/edits.py +++ b/openlp/core/widgets/edits.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/enums.py b/openlp/core/widgets/enums.py index 9799168d6..f3fad1e27 100644 --- a/openlp/core/widgets/enums.py +++ b/openlp/core/widgets/enums.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/labels.py b/openlp/core/widgets/labels.py index 65cfdaef6..6ded8e4d2 100644 --- a/openlp/core/widgets/labels.py +++ b/openlp/core/widgets/labels.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/layouts.py b/openlp/core/widgets/layouts.py index ed09c57c1..a36286e92 100644 --- a/openlp/core/widgets/layouts.py +++ b/openlp/core/widgets/layouts.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/toolbar.py b/openlp/core/widgets/toolbar.py index 2fa34f01e..7cce16ad2 100644 --- a/openlp/core/widgets/toolbar.py +++ b/openlp/core/widgets/toolbar.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/views.py b/openlp/core/widgets/views.py index cb3c43a4b..e8afdbe82 100644 --- a/openlp/core/widgets/views.py +++ b/openlp/core/widgets/views.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/widgets.py b/openlp/core/widgets/widgets.py index acb280aae..1b7df8286 100644 --- a/openlp/core/widgets/widgets.py +++ b/openlp/core/widgets/widgets.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/core/widgets/wizard.py b/openlp/core/widgets/wizard.py index 2a0b8de5e..245802d09 100644 --- a/openlp/core/widgets/wizard.py +++ b/openlp/core/widgets/wizard.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/__init__.py b/openlp/plugins/__init__.py index acd6c3846..7866c51db 100644 --- a/openlp/plugins/__init__.py +++ b/openlp/plugins/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/__init__.py b/openlp/plugins/alerts/__init__.py index 61680c63a..4a13ff1de 100644 --- a/openlp/plugins/alerts/__init__.py +++ b/openlp/plugins/alerts/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/alertsplugin.py b/openlp/plugins/alerts/alertsplugin.py index ab8efc564..7bbb9d295 100644 --- a/openlp/plugins/alerts/alertsplugin.py +++ b/openlp/plugins/alerts/alertsplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/endpoint.py b/openlp/plugins/alerts/endpoint.py index e8d2a71b0..c1b2a53fc 100644 --- a/openlp/plugins/alerts/endpoint.py +++ b/openlp/plugins/alerts/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/forms/__init__.py b/openlp/plugins/alerts/forms/__init__.py index 8c3eab259..d52e67104 100644 --- a/openlp/plugins/alerts/forms/__init__.py +++ b/openlp/plugins/alerts/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/forms/alertdialog.py b/openlp/plugins/alerts/forms/alertdialog.py index 9e52d0260..2b47b4f11 100644 --- a/openlp/plugins/alerts/forms/alertdialog.py +++ b/openlp/plugins/alerts/forms/alertdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/forms/alertform.py b/openlp/plugins/alerts/forms/alertform.py index 49cc7f37e..0cb93619d 100644 --- a/openlp/plugins/alerts/forms/alertform.py +++ b/openlp/plugins/alerts/forms/alertform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/lib/__init__.py b/openlp/plugins/alerts/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/alerts/lib/__init__.py +++ b/openlp/plugins/alerts/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/lib/alertsmanager.py b/openlp/plugins/alerts/lib/alertsmanager.py index 674f2a728..d9a83580c 100644 --- a/openlp/plugins/alerts/lib/alertsmanager.py +++ b/openlp/plugins/alerts/lib/alertsmanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/lib/alertstab.py b/openlp/plugins/alerts/lib/alertstab.py index 8e374bfc1..988237bd7 100644 --- a/openlp/plugins/alerts/lib/alertstab.py +++ b/openlp/plugins/alerts/lib/alertstab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/alerts/lib/db.py b/openlp/plugins/alerts/lib/db.py index 7aec2c301..927b52677 100644 --- a/openlp/plugins/alerts/lib/db.py +++ b/openlp/plugins/alerts/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/__init__.py b/openlp/plugins/bibles/__init__.py index 0c314f65d..1704ebe79 100644 --- a/openlp/plugins/bibles/__init__.py +++ b/openlp/plugins/bibles/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/bibleplugin.py b/openlp/plugins/bibles/bibleplugin.py index 501b38a96..cb9a21c8e 100644 --- a/openlp/plugins/bibles/bibleplugin.py +++ b/openlp/plugins/bibles/bibleplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/endpoint.py b/openlp/plugins/bibles/endpoint.py index e22c63c32..ed6af0d1d 100644 --- a/openlp/plugins/bibles/endpoint.py +++ b/openlp/plugins/bibles/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/__init__.py b/openlp/plugins/bibles/forms/__init__.py index 721398915..cda3e0d27 100644 --- a/openlp/plugins/bibles/forms/__init__.py +++ b/openlp/plugins/bibles/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/bibleimportform.py b/openlp/plugins/bibles/forms/bibleimportform.py index 62973c1d3..7a37e6b90 100644 --- a/openlp/plugins/bibles/forms/bibleimportform.py +++ b/openlp/plugins/bibles/forms/bibleimportform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/booknamedialog.py b/openlp/plugins/bibles/forms/booknamedialog.py index 12b84093b..3762dd676 100644 --- a/openlp/plugins/bibles/forms/booknamedialog.py +++ b/openlp/plugins/bibles/forms/booknamedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/booknameform.py b/openlp/plugins/bibles/forms/booknameform.py index 242e4894b..92341054c 100644 --- a/openlp/plugins/bibles/forms/booknameform.py +++ b/openlp/plugins/bibles/forms/booknameform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/editbibledialog.py b/openlp/plugins/bibles/forms/editbibledialog.py index 8f40da64c..aec0573d2 100644 --- a/openlp/plugins/bibles/forms/editbibledialog.py +++ b/openlp/plugins/bibles/forms/editbibledialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/editbibleform.py b/openlp/plugins/bibles/forms/editbibleform.py index ca7dfe214..c8420cb87 100644 --- a/openlp/plugins/bibles/forms/editbibleform.py +++ b/openlp/plugins/bibles/forms/editbibleform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/languagedialog.py b/openlp/plugins/bibles/forms/languagedialog.py index 650029872..f655220f9 100644 --- a/openlp/plugins/bibles/forms/languagedialog.py +++ b/openlp/plugins/bibles/forms/languagedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/forms/languageform.py b/openlp/plugins/bibles/forms/languageform.py index dd7f60a72..ebc4eb8a7 100644 --- a/openlp/plugins/bibles/forms/languageform.py +++ b/openlp/plugins/bibles/forms/languageform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/__init__.py b/openlp/plugins/bibles/lib/__init__.py index 933b19f4c..1c3c4c709 100644 --- a/openlp/plugins/bibles/lib/__init__.py +++ b/openlp/plugins/bibles/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/bibleimport.py b/openlp/plugins/bibles/lib/bibleimport.py index cc474f2ce..031bbc4f2 100644 --- a/openlp/plugins/bibles/lib/bibleimport.py +++ b/openlp/plugins/bibles/lib/bibleimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/biblestab.py b/openlp/plugins/bibles/lib/biblestab.py index 9e30632f4..044d4778c 100644 --- a/openlp/plugins/bibles/lib/biblestab.py +++ b/openlp/plugins/bibles/lib/biblestab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/db.py b/openlp/plugins/bibles/lib/db.py index d1c3336ab..56f2c9183 100644 --- a/openlp/plugins/bibles/lib/db.py +++ b/openlp/plugins/bibles/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/__init__.py b/openlp/plugins/bibles/lib/importers/__init__.py index fd457a26a..435509527 100644 --- a/openlp/plugins/bibles/lib/importers/__init__.py +++ b/openlp/plugins/bibles/lib/importers/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/csvbible.py b/openlp/plugins/bibles/lib/importers/csvbible.py index 0f9a050a5..d248e1a2f 100644 --- a/openlp/plugins/bibles/lib/importers/csvbible.py +++ b/openlp/plugins/bibles/lib/importers/csvbible.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/http.py b/openlp/plugins/bibles/lib/importers/http.py index b3dccac67..7ca6cb79c 100644 --- a/openlp/plugins/bibles/lib/importers/http.py +++ b/openlp/plugins/bibles/lib/importers/http.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/opensong.py b/openlp/plugins/bibles/lib/importers/opensong.py index e8d1e65b7..89163de33 100644 --- a/openlp/plugins/bibles/lib/importers/opensong.py +++ b/openlp/plugins/bibles/lib/importers/opensong.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/osis.py b/openlp/plugins/bibles/lib/importers/osis.py index 60b4bfa87..e5b9150fc 100644 --- a/openlp/plugins/bibles/lib/importers/osis.py +++ b/openlp/plugins/bibles/lib/importers/osis.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/sword.py b/openlp/plugins/bibles/lib/importers/sword.py index e86ff0fad..f209c0815 100644 --- a/openlp/plugins/bibles/lib/importers/sword.py +++ b/openlp/plugins/bibles/lib/importers/sword.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/wordproject.py b/openlp/plugins/bibles/lib/importers/wordproject.py index c34d6c9ad..72d7b2458 100644 --- a/openlp/plugins/bibles/lib/importers/wordproject.py +++ b/openlp/plugins/bibles/lib/importers/wordproject.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/importers/zefania.py b/openlp/plugins/bibles/lib/importers/zefania.py index 508bdace8..fd385468b 100644 --- a/openlp/plugins/bibles/lib/importers/zefania.py +++ b/openlp/plugins/bibles/lib/importers/zefania.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/manager.py b/openlp/plugins/bibles/lib/manager.py index e8901e3d1..b054b63ca 100644 --- a/openlp/plugins/bibles/lib/manager.py +++ b/openlp/plugins/bibles/lib/manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/mediaitem.py b/openlp/plugins/bibles/lib/mediaitem.py index 30709fad1..d878993d5 100755 --- a/openlp/plugins/bibles/lib/mediaitem.py +++ b/openlp/plugins/bibles/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/upgrade.py b/openlp/plugins/bibles/lib/upgrade.py index ae83d36c2..178195646 100644 --- a/openlp/plugins/bibles/lib/upgrade.py +++ b/openlp/plugins/bibles/lib/upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/bibles/lib/versereferencelist.py b/openlp/plugins/bibles/lib/versereferencelist.py index 463dfc81e..62d534d5e 100644 --- a/openlp/plugins/bibles/lib/versereferencelist.py +++ b/openlp/plugins/bibles/lib/versereferencelist.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/__init__.py b/openlp/plugins/custom/__init__.py index 0d35347fb..7698df121 100644 --- a/openlp/plugins/custom/__init__.py +++ b/openlp/plugins/custom/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/customplugin.py b/openlp/plugins/custom/customplugin.py index bd9a18824..5d04c4433 100644 --- a/openlp/plugins/custom/customplugin.py +++ b/openlp/plugins/custom/customplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -120,5 +120,9 @@ class CustomPlugin(Plugin): Time to tidy up on exit """ log.info('Custom Finalising') + # call custom manager to delete pco slides + pco_slides = self.db_manager.get_all_objects(CustomSlide, CustomSlide.credits == 'pco') + for slide in pco_slides: + self.db_manager.delete_object(CustomSlide, slide.id) self.db_manager.finalise() Plugin.finalise(self) diff --git a/openlp/plugins/custom/endpoint.py b/openlp/plugins/custom/endpoint.py index e28f5e776..f6e45ed53 100644 --- a/openlp/plugins/custom/endpoint.py +++ b/openlp/plugins/custom/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/forms/__init__.py b/openlp/plugins/custom/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/custom/forms/__init__.py +++ b/openlp/plugins/custom/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/forms/editcustomdialog.py b/openlp/plugins/custom/forms/editcustomdialog.py index 5bfd9ee75..7ace8e5d9 100644 --- a/openlp/plugins/custom/forms/editcustomdialog.py +++ b/openlp/plugins/custom/forms/editcustomdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/forms/editcustomform.py b/openlp/plugins/custom/forms/editcustomform.py index 42970be08..ccfbcd410 100644 --- a/openlp/plugins/custom/forms/editcustomform.py +++ b/openlp/plugins/custom/forms/editcustomform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/forms/editcustomslidedialog.py b/openlp/plugins/custom/forms/editcustomslidedialog.py index 2947e7f98..4e1367b08 100644 --- a/openlp/plugins/custom/forms/editcustomslidedialog.py +++ b/openlp/plugins/custom/forms/editcustomslidedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/forms/editcustomslideform.py b/openlp/plugins/custom/forms/editcustomslideform.py index 6d8990dd5..aa1aa34ac 100644 --- a/openlp/plugins/custom/forms/editcustomslideform.py +++ b/openlp/plugins/custom/forms/editcustomslideform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/lib/__init__.py b/openlp/plugins/custom/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/custom/lib/__init__.py +++ b/openlp/plugins/custom/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/lib/customtab.py b/openlp/plugins/custom/lib/customtab.py index e5cf20de9..a902f37b4 100644 --- a/openlp/plugins/custom/lib/customtab.py +++ b/openlp/plugins/custom/lib/customtab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/lib/customxmlhandler.py b/openlp/plugins/custom/lib/customxmlhandler.py index 0e275430b..f46af6212 100644 --- a/openlp/plugins/custom/lib/customxmlhandler.py +++ b/openlp/plugins/custom/lib/customxmlhandler.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/lib/db.py b/openlp/plugins/custom/lib/db.py index f76ee40d2..5076faa17 100644 --- a/openlp/plugins/custom/lib/db.py +++ b/openlp/plugins/custom/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/custom/lib/mediaitem.py b/openlp/plugins/custom/lib/mediaitem.py index b33be5609..03d9ac245 100644 --- a/openlp/plugins/custom/lib/mediaitem.py +++ b/openlp/plugins/custom/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/__init__.py b/openlp/plugins/images/__init__.py index 45d0fadda..b0f64922f 100644 --- a/openlp/plugins/images/__init__.py +++ b/openlp/plugins/images/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/endpoint.py b/openlp/plugins/images/endpoint.py index 9f2c4f7eb..bc3ab1d5d 100644 --- a/openlp/plugins/images/endpoint.py +++ b/openlp/plugins/images/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/forms/__init__.py b/openlp/plugins/images/forms/__init__.py index 8c3eab259..d52e67104 100644 --- a/openlp/plugins/images/forms/__init__.py +++ b/openlp/plugins/images/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/forms/addgroupdialog.py b/openlp/plugins/images/forms/addgroupdialog.py index c2d6f017f..5a8caf77e 100644 --- a/openlp/plugins/images/forms/addgroupdialog.py +++ b/openlp/plugins/images/forms/addgroupdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/forms/addgroupform.py b/openlp/plugins/images/forms/addgroupform.py index c8a69f107..8d2212152 100644 --- a/openlp/plugins/images/forms/addgroupform.py +++ b/openlp/plugins/images/forms/addgroupform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/forms/choosegroupdialog.py b/openlp/plugins/images/forms/choosegroupdialog.py index 7089eca88..9c83f8a27 100644 --- a/openlp/plugins/images/forms/choosegroupdialog.py +++ b/openlp/plugins/images/forms/choosegroupdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/forms/choosegroupform.py b/openlp/plugins/images/forms/choosegroupform.py index f75d1700d..cacba775b 100644 --- a/openlp/plugins/images/forms/choosegroupform.py +++ b/openlp/plugins/images/forms/choosegroupform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/imageplugin.py b/openlp/plugins/images/imageplugin.py index 8136f30d4..38d90b86c 100644 --- a/openlp/plugins/images/imageplugin.py +++ b/openlp/plugins/images/imageplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/lib/__init__.py b/openlp/plugins/images/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/images/lib/__init__.py +++ b/openlp/plugins/images/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/lib/db.py b/openlp/plugins/images/lib/db.py index 200b11c45..7215441e0 100644 --- a/openlp/plugins/images/lib/db.py +++ b/openlp/plugins/images/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/lib/imagetab.py b/openlp/plugins/images/lib/imagetab.py index 2c91be5ab..6be1c92bd 100644 --- a/openlp/plugins/images/lib/imagetab.py +++ b/openlp/plugins/images/lib/imagetab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/lib/mediaitem.py b/openlp/plugins/images/lib/mediaitem.py index 86788ef54..74d6da50b 100644 --- a/openlp/plugins/images/lib/mediaitem.py +++ b/openlp/plugins/images/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/images/lib/upgrade.py b/openlp/plugins/images/lib/upgrade.py index e03df4e06..5ce016ef6 100644 --- a/openlp/plugins/images/lib/upgrade.py +++ b/openlp/plugins/images/lib/upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/__init__.py b/openlp/plugins/media/__init__.py index f85ca7862..12715aaf3 100644 --- a/openlp/plugins/media/__init__.py +++ b/openlp/plugins/media/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/endpoint.py b/openlp/plugins/media/endpoint.py index 8eb067d9a..cd3f96f65 100644 --- a/openlp/plugins/media/endpoint.py +++ b/openlp/plugins/media/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/forms/__init__.py b/openlp/plugins/media/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/media/forms/__init__.py +++ b/openlp/plugins/media/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/forms/mediaclipselectordialog.py b/openlp/plugins/media/forms/mediaclipselectordialog.py index 784aae64b..024b4f622 100644 --- a/openlp/plugins/media/forms/mediaclipselectordialog.py +++ b/openlp/plugins/media/forms/mediaclipselectordialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/forms/mediaclipselectorform.py b/openlp/plugins/media/forms/mediaclipselectorform.py index d3b912999..ac23bf4e2 100644 --- a/openlp/plugins/media/forms/mediaclipselectorform.py +++ b/openlp/plugins/media/forms/mediaclipselectorform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/lib/__init__.py b/openlp/plugins/media/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/media/lib/__init__.py +++ b/openlp/plugins/media/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/lib/mediaitem.py b/openlp/plugins/media/lib/mediaitem.py index 8892046d7..530cf6d06 100644 --- a/openlp/plugins/media/lib/mediaitem.py +++ b/openlp/plugins/media/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/media/mediaplugin.py b/openlp/plugins/media/mediaplugin.py index 102571d59..407415723 100644 --- a/openlp/plugins/media/mediaplugin.py +++ b/openlp/plugins/media/mediaplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/planningcenter/__init__.py b/openlp/plugins/planningcenter/__init__.py index c5f2b3d5e..6d7f2afb4 100644 --- a/openlp/plugins/planningcenter/__init__.py +++ b/openlp/plugins/planningcenter/__init__.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/forms/selectplandialog.py b/openlp/plugins/planningcenter/forms/selectplandialog.py index 16059776c..fe4f227dd 100644 --- a/openlp/plugins/planningcenter/forms/selectplandialog.py +++ b/openlp/plugins/planningcenter/forms/selectplandialog.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/forms/selectplanform.py b/openlp/plugins/planningcenter/forms/selectplanform.py index 7d694398a..64a826616 100644 --- a/openlp/plugins/planningcenter/forms/selectplanform.py +++ b/openlp/plugins/planningcenter/forms/selectplanform.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/lib/customimport.py b/openlp/plugins/planningcenter/lib/customimport.py index b8ceb293c..ae74404c3 100644 --- a/openlp/plugins/planningcenter/lib/customimport.py +++ b/openlp/plugins/planningcenter/lib/customimport.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/lib/planningcenter_api.py b/openlp/plugins/planningcenter/lib/planningcenter_api.py index 3e17c0db7..2a1434f3c 100644 --- a/openlp/plugins/planningcenter/lib/planningcenter_api.py +++ b/openlp/plugins/planningcenter/lib/planningcenter_api.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/lib/planningcentertab.py b/openlp/plugins/planningcenter/lib/planningcentertab.py index 9a13b4659..dd1e07eaf 100644 --- a/openlp/plugins/planningcenter/lib/planningcentertab.py +++ b/openlp/plugins/planningcenter/lib/planningcentertab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/planningcenter/lib/songimport.py b/openlp/plugins/planningcenter/lib/songimport.py index ddcd5d1f4..44ffbb72c 100644 --- a/openlp/plugins/planningcenter/lib/songimport.py +++ b/openlp/plugins/planningcenter/lib/songimport.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/planningcenter/planningcenterplugin.py b/openlp/plugins/planningcenter/planningcenterplugin.py index f55621c84..442b00196 100644 --- a/openlp/plugins/planningcenter/planningcenterplugin.py +++ b/openlp/plugins/planningcenter/planningcenterplugin.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # @@ -31,10 +31,8 @@ from openlp.core.lib.plugin import Plugin, StringContent from openlp.core.lib.ui import create_action from openlp.core.state import State from openlp.core.ui.icons import UiIcons -from openlp.plugins.custom.lib.db import CustomSlide from openlp.plugins.planningcenter.forms.selectplanform import SelectPlanForm from openlp.plugins.planningcenter.lib.planningcentertab import PlanningCenterTab -from openlp.plugins.songs.lib.db import Song log = logging.getLogger(__name__) @@ -144,15 +142,4 @@ class PlanningCenterPlugin(Plugin): """ log.info('PlanningCenter Finalising') self.import_planning_center.setVisible(False) - self.new_service_created() - # call songs plugin manager to delete temporary songs - songs_manager = Registry().get('songs').plugin.manager - songs = songs_manager.get_all_objects(Song, Song.temporary == True) # noqa: E712 - for song in songs: - songs_manager.delete_object(Song, song.id) - # call custom manager to delete pco slides - custom_manager = Registry().get('custom').plugin.db_manager - pco_slides = custom_manager.get_all_objects(CustomSlide, CustomSlide.credits == 'pco') - for slide in pco_slides: - custom_manager.delete_object(CustomSlide, slide.id) super(PlanningCenterPlugin, self).finalise() diff --git a/openlp/plugins/presentations/__init__.py b/openlp/plugins/presentations/__init__.py index d3b4a31e6..926897b23 100644 --- a/openlp/plugins/presentations/__init__.py +++ b/openlp/plugins/presentations/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/endpoint.py b/openlp/plugins/presentations/endpoint.py index 51ba77ba2..ae1ffe0a6 100644 --- a/openlp/plugins/presentations/endpoint.py +++ b/openlp/plugins/presentations/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/__init__.py b/openlp/plugins/presentations/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/presentations/lib/__init__.py +++ b/openlp/plugins/presentations/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/impresscontroller.py b/openlp/plugins/presentations/lib/impresscontroller.py index 7e53d310a..ad13b2a17 100644 --- a/openlp/plugins/presentations/lib/impresscontroller.py +++ b/openlp/plugins/presentations/lib/impresscontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/libreofficeserver.py b/openlp/plugins/presentations/lib/libreofficeserver.py index a14a0d219..8508c356e 100644 --- a/openlp/plugins/presentations/lib/libreofficeserver.py +++ b/openlp/plugins/presentations/lib/libreofficeserver.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/maclocontroller.py b/openlp/plugins/presentations/lib/maclocontroller.py index ad0e7f901..94e7be3f2 100644 --- a/openlp/plugins/presentations/lib/maclocontroller.py +++ b/openlp/plugins/presentations/lib/maclocontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/mediaitem.py b/openlp/plugins/presentations/lib/mediaitem.py index 7d0f78d62..936354ffe 100644 --- a/openlp/plugins/presentations/lib/mediaitem.py +++ b/openlp/plugins/presentations/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/messagelistener.py b/openlp/plugins/presentations/lib/messagelistener.py index 4d1352706..dd9192e95 100644 --- a/openlp/plugins/presentations/lib/messagelistener.py +++ b/openlp/plugins/presentations/lib/messagelistener.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/pdfcontroller.py b/openlp/plugins/presentations/lib/pdfcontroller.py index 8d5db75a7..0321e9518 100644 --- a/openlp/plugins/presentations/lib/pdfcontroller.py +++ b/openlp/plugins/presentations/lib/pdfcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/powerpointcontroller.py b/openlp/plugins/presentations/lib/powerpointcontroller.py index a2e85b826..dee57abfe 100644 --- a/openlp/plugins/presentations/lib/powerpointcontroller.py +++ b/openlp/plugins/presentations/lib/powerpointcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/presentationcontroller.py b/openlp/plugins/presentations/lib/presentationcontroller.py index 331873b03..0f9fdd1cc 100644 --- a/openlp/plugins/presentations/lib/presentationcontroller.py +++ b/openlp/plugins/presentations/lib/presentationcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/presentationtab.py b/openlp/plugins/presentations/lib/presentationtab.py index 4ee6af1e1..b17bf0635 100644 --- a/openlp/plugins/presentations/lib/presentationtab.py +++ b/openlp/plugins/presentations/lib/presentationtab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/lib/serializers.py b/openlp/plugins/presentations/lib/serializers.py index d9af5cf40..0cfea28fb 100644 --- a/openlp/plugins/presentations/lib/serializers.py +++ b/openlp/plugins/presentations/lib/serializers.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/presentations/presentationplugin.py b/openlp/plugins/presentations/presentationplugin.py index 08b12198e..b406f283b 100644 --- a/openlp/plugins/presentations/presentationplugin.py +++ b/openlp/plugins/presentations/presentationplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/__init__.py b/openlp/plugins/songs/__init__.py index 1470a1ac0..b94e8b052 100644 --- a/openlp/plugins/songs/__init__.py +++ b/openlp/plugins/songs/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/endpoint.py b/openlp/plugins/songs/endpoint.py index 03fd79378..bdad94e38 100644 --- a/openlp/plugins/songs/endpoint.py +++ b/openlp/plugins/songs/endpoint.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/__init__.py b/openlp/plugins/songs/forms/__init__.py index 105789fa4..facc8e64f 100644 --- a/openlp/plugins/songs/forms/__init__.py +++ b/openlp/plugins/songs/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/authorsdialog.py b/openlp/plugins/songs/forms/authorsdialog.py index 46f6b035e..4d852ded7 100644 --- a/openlp/plugins/songs/forms/authorsdialog.py +++ b/openlp/plugins/songs/forms/authorsdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/authorsform.py b/openlp/plugins/songs/forms/authorsform.py index 35e441385..3e7cc581c 100644 --- a/openlp/plugins/songs/forms/authorsform.py +++ b/openlp/plugins/songs/forms/authorsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/duplicatesongremovalform.py b/openlp/plugins/songs/forms/duplicatesongremovalform.py index be027179c..0e3b13926 100644 --- a/openlp/plugins/songs/forms/duplicatesongremovalform.py +++ b/openlp/plugins/songs/forms/duplicatesongremovalform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/editsongdialog.py b/openlp/plugins/songs/forms/editsongdialog.py index faa52d383..6aa64fb78 100644 --- a/openlp/plugins/songs/forms/editsongdialog.py +++ b/openlp/plugins/songs/forms/editsongdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 096893773..eac3f89a2 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/editversedialog.py b/openlp/plugins/songs/forms/editversedialog.py index 8e1219761..cdd16756d 100644 --- a/openlp/plugins/songs/forms/editversedialog.py +++ b/openlp/plugins/songs/forms/editversedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/editverseform.py b/openlp/plugins/songs/forms/editverseform.py index fe9ca43a5..410591d43 100644 --- a/openlp/plugins/songs/forms/editverseform.py +++ b/openlp/plugins/songs/forms/editverseform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/mediafilesdialog.py b/openlp/plugins/songs/forms/mediafilesdialog.py index 6b1b30ee1..3c40468cd 100644 --- a/openlp/plugins/songs/forms/mediafilesdialog.py +++ b/openlp/plugins/songs/forms/mediafilesdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/mediafilesform.py b/openlp/plugins/songs/forms/mediafilesform.py index 876d003c1..486400f38 100644 --- a/openlp/plugins/songs/forms/mediafilesform.py +++ b/openlp/plugins/songs/forms/mediafilesform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songbookdialog.py b/openlp/plugins/songs/forms/songbookdialog.py index bf865ce06..8a3b67160 100644 --- a/openlp/plugins/songs/forms/songbookdialog.py +++ b/openlp/plugins/songs/forms/songbookdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songbookform.py b/openlp/plugins/songs/forms/songbookform.py index 978011bb9..390c3f9fa 100644 --- a/openlp/plugins/songs/forms/songbookform.py +++ b/openlp/plugins/songs/forms/songbookform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songexportform.py b/openlp/plugins/songs/forms/songexportform.py index 1d1ae9e14..68a411a81 100644 --- a/openlp/plugins/songs/forms/songexportform.py +++ b/openlp/plugins/songs/forms/songexportform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songimportform.py b/openlp/plugins/songs/forms/songimportform.py index 2d2e216c4..0448a858b 100644 --- a/openlp/plugins/songs/forms/songimportform.py +++ b/openlp/plugins/songs/forms/songimportform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songmaintenancedialog.py b/openlp/plugins/songs/forms/songmaintenancedialog.py index e7027c589..0bfeed75f 100644 --- a/openlp/plugins/songs/forms/songmaintenancedialog.py +++ b/openlp/plugins/songs/forms/songmaintenancedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songmaintenanceform.py b/openlp/plugins/songs/forms/songmaintenanceform.py index 820a19a0c..487e9e020 100644 --- a/openlp/plugins/songs/forms/songmaintenanceform.py +++ b/openlp/plugins/songs/forms/songmaintenanceform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songreviewwidget.py b/openlp/plugins/songs/forms/songreviewwidget.py index 138e588e1..7655eae2e 100644 --- a/openlp/plugins/songs/forms/songreviewwidget.py +++ b/openlp/plugins/songs/forms/songreviewwidget.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songselectdialog.py b/openlp/plugins/songs/forms/songselectdialog.py index be64ceb47..5a249de50 100644 --- a/openlp/plugins/songs/forms/songselectdialog.py +++ b/openlp/plugins/songs/forms/songselectdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/songselectform.py b/openlp/plugins/songs/forms/songselectform.py index 4fd6a7203..d89db2b12 100644 --- a/openlp/plugins/songs/forms/songselectform.py +++ b/openlp/plugins/songs/forms/songselectform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/topicsdialog.py b/openlp/plugins/songs/forms/topicsdialog.py index a24bac3fa..81d24aa96 100644 --- a/openlp/plugins/songs/forms/topicsdialog.py +++ b/openlp/plugins/songs/forms/topicsdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/forms/topicsform.py b/openlp/plugins/songs/forms/topicsform.py index 80327f90d..507d9af67 100644 --- a/openlp/plugins/songs/forms/topicsform.py +++ b/openlp/plugins/songs/forms/topicsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/__init__.py b/openlp/plugins/songs/lib/__init__.py index 7db34cd2e..fb400ee36 100644 --- a/openlp/plugins/songs/lib/__init__.py +++ b/openlp/plugins/songs/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/db.py b/openlp/plugins/songs/lib/db.py index 47a9cf2a6..708a770a8 100644 --- a/openlp/plugins/songs/lib/db.py +++ b/openlp/plugins/songs/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importer.py b/openlp/plugins/songs/lib/importer.py index a84127933..b347d9d89 100644 --- a/openlp/plugins/songs/lib/importer.py +++ b/openlp/plugins/songs/lib/importer.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/__init__.py b/openlp/plugins/songs/lib/importers/__init__.py index d0e69a97c..4ce630995 100644 --- a/openlp/plugins/songs/lib/importers/__init__.py +++ b/openlp/plugins/songs/lib/importers/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/cclifile.py b/openlp/plugins/songs/lib/importers/cclifile.py index cbcc5a10c..f36c58170 100644 --- a/openlp/plugins/songs/lib/importers/cclifile.py +++ b/openlp/plugins/songs/lib/importers/cclifile.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/chordpro.py b/openlp/plugins/songs/lib/importers/chordpro.py index b71d31678..2fc561f5e 100644 --- a/openlp/plugins/songs/lib/importers/chordpro.py +++ b/openlp/plugins/songs/lib/importers/chordpro.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/dreambeam.py b/openlp/plugins/songs/lib/importers/dreambeam.py index 98a76526e..80f83f579 100644 --- a/openlp/plugins/songs/lib/importers/dreambeam.py +++ b/openlp/plugins/songs/lib/importers/dreambeam.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/easyslides.py b/openlp/plugins/songs/lib/importers/easyslides.py index 2874da495..fe06b72a9 100644 --- a/openlp/plugins/songs/lib/importers/easyslides.py +++ b/openlp/plugins/songs/lib/importers/easyslides.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/easyworship.py b/openlp/plugins/songs/lib/importers/easyworship.py index 5fd7d036d..f84d172f3 100644 --- a/openlp/plugins/songs/lib/importers/easyworship.py +++ b/openlp/plugins/songs/lib/importers/easyworship.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/foilpresenter.py b/openlp/plugins/songs/lib/importers/foilpresenter.py index 59b14a6fc..27e95153d 100644 --- a/openlp/plugins/songs/lib/importers/foilpresenter.py +++ b/openlp/plugins/songs/lib/importers/foilpresenter.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/liveworship.py b/openlp/plugins/songs/lib/importers/liveworship.py index be975515a..bd0a8fe48 100644 --- a/openlp/plugins/songs/lib/importers/liveworship.py +++ b/openlp/plugins/songs/lib/importers/liveworship.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/lyrix.py b/openlp/plugins/songs/lib/importers/lyrix.py index 2f357a5d3..be52817cd 100644 --- a/openlp/plugins/songs/lib/importers/lyrix.py +++ b/openlp/plugins/songs/lib/importers/lyrix.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/mediashout.py b/openlp/plugins/songs/lib/importers/mediashout.py index 900fa44dd..08da694da 100644 --- a/openlp/plugins/songs/lib/importers/mediashout.py +++ b/openlp/plugins/songs/lib/importers/mediashout.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/openlp.py b/openlp/plugins/songs/lib/importers/openlp.py index 7800ba27a..fdf7ccb42 100644 --- a/openlp/plugins/songs/lib/importers/openlp.py +++ b/openlp/plugins/songs/lib/importers/openlp.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/openlyrics.py b/openlp/plugins/songs/lib/importers/openlyrics.py index 85031417c..28acb4a15 100644 --- a/openlp/plugins/songs/lib/importers/openlyrics.py +++ b/openlp/plugins/songs/lib/importers/openlyrics.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/openoffice.py b/openlp/plugins/songs/lib/importers/openoffice.py index 79c09a8db..1af1e24f5 100644 --- a/openlp/plugins/songs/lib/importers/openoffice.py +++ b/openlp/plugins/songs/lib/importers/openoffice.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/opensong.py b/openlp/plugins/songs/lib/importers/opensong.py index 302d0ef7c..9eac057b4 100644 --- a/openlp/plugins/songs/lib/importers/opensong.py +++ b/openlp/plugins/songs/lib/importers/opensong.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/opspro.py b/openlp/plugins/songs/lib/importers/opspro.py index df44ff2c9..a205b70a8 100644 --- a/openlp/plugins/songs/lib/importers/opspro.py +++ b/openlp/plugins/songs/lib/importers/opspro.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/powerpraise.py b/openlp/plugins/songs/lib/importers/powerpraise.py index 2a5c0e881..19185da75 100644 --- a/openlp/plugins/songs/lib/importers/powerpraise.py +++ b/openlp/plugins/songs/lib/importers/powerpraise.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/powersong.py b/openlp/plugins/songs/lib/importers/powersong.py index a7ab8fbe0..e9f88ba3a 100644 --- a/openlp/plugins/songs/lib/importers/powersong.py +++ b/openlp/plugins/songs/lib/importers/powersong.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/presentationmanager.py b/openlp/plugins/songs/lib/importers/presentationmanager.py index 14501b4c7..71354cb89 100644 --- a/openlp/plugins/songs/lib/importers/presentationmanager.py +++ b/openlp/plugins/songs/lib/importers/presentationmanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/propresenter.py b/openlp/plugins/songs/lib/importers/propresenter.py index 40f373e64..fec7d080e 100644 --- a/openlp/plugins/songs/lib/importers/propresenter.py +++ b/openlp/plugins/songs/lib/importers/propresenter.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/singingthefaith.py b/openlp/plugins/songs/lib/importers/singingthefaith.py index fe90abad5..25a8cf0c3 100644 --- a/openlp/plugins/songs/lib/importers/singingthefaith.py +++ b/openlp/plugins/songs/lib/importers/singingthefaith.py @@ -3,7 +3,7 @@ ############################################################################### # OpenLP - Open Source Lyrics Projection # # --------------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # --------------------------------------------------------------------------- # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # diff --git a/openlp/plugins/songs/lib/importers/songbeamer.py b/openlp/plugins/songs/lib/importers/songbeamer.py index 9d92afb3f..53195c729 100644 --- a/openlp/plugins/songs/lib/importers/songbeamer.py +++ b/openlp/plugins/songs/lib/importers/songbeamer.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/songimport.py b/openlp/plugins/songs/lib/importers/songimport.py index d67f795a4..a4b8a52ab 100644 --- a/openlp/plugins/songs/lib/importers/songimport.py +++ b/openlp/plugins/songs/lib/importers/songimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/songpro.py b/openlp/plugins/songs/lib/importers/songpro.py index c8c10c11f..4795f38dc 100644 --- a/openlp/plugins/songs/lib/importers/songpro.py +++ b/openlp/plugins/songs/lib/importers/songpro.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/songshowplus.py b/openlp/plugins/songs/lib/importers/songshowplus.py index c0a7473ec..291964733 100644 --- a/openlp/plugins/songs/lib/importers/songshowplus.py +++ b/openlp/plugins/songs/lib/importers/songshowplus.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/songsoffellowship.py b/openlp/plugins/songs/lib/importers/songsoffellowship.py index 86e7d8214..de32b3ab2 100644 --- a/openlp/plugins/songs/lib/importers/songsoffellowship.py +++ b/openlp/plugins/songs/lib/importers/songsoffellowship.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/sundayplus.py b/openlp/plugins/songs/lib/importers/sundayplus.py index 493589c1e..233e5bfe3 100644 --- a/openlp/plugins/songs/lib/importers/sundayplus.py +++ b/openlp/plugins/songs/lib/importers/sundayplus.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/videopsalm.py b/openlp/plugins/songs/lib/importers/videopsalm.py index 526b0a770..b1ed44fa9 100644 --- a/openlp/plugins/songs/lib/importers/videopsalm.py +++ b/openlp/plugins/songs/lib/importers/videopsalm.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/wordsofworship.py b/openlp/plugins/songs/lib/importers/wordsofworship.py index eeebbbe18..ec57a81f8 100644 --- a/openlp/plugins/songs/lib/importers/wordsofworship.py +++ b/openlp/plugins/songs/lib/importers/wordsofworship.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/worshipassistant.py b/openlp/plugins/songs/lib/importers/worshipassistant.py index e9476264f..b3411a8ee 100644 --- a/openlp/plugins/songs/lib/importers/worshipassistant.py +++ b/openlp/plugins/songs/lib/importers/worshipassistant.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/worshipcenterpro.py b/openlp/plugins/songs/lib/importers/worshipcenterpro.py index 673180429..2c4f38122 100644 --- a/openlp/plugins/songs/lib/importers/worshipcenterpro.py +++ b/openlp/plugins/songs/lib/importers/worshipcenterpro.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/importers/zionworx.py b/openlp/plugins/songs/lib/importers/zionworx.py index 301746d10..023350cd3 100644 --- a/openlp/plugins/songs/lib/importers/zionworx.py +++ b/openlp/plugins/songs/lib/importers/zionworx.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/mediaitem.py b/openlp/plugins/songs/lib/mediaitem.py index fda936789..d6eaf3798 100644 --- a/openlp/plugins/songs/lib/mediaitem.py +++ b/openlp/plugins/songs/lib/mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/openlyricsexport.py b/openlp/plugins/songs/lib/openlyricsexport.py index 8029ebf1b..066b4097e 100644 --- a/openlp/plugins/songs/lib/openlyricsexport.py +++ b/openlp/plugins/songs/lib/openlyricsexport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/openlyricsxml.py b/openlp/plugins/songs/lib/openlyricsxml.py index 65319debd..01f56c3c5 100644 --- a/openlp/plugins/songs/lib/openlyricsxml.py +++ b/openlp/plugins/songs/lib/openlyricsxml.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/songcompare.py b/openlp/plugins/songs/lib/songcompare.py index d8ac5d81e..ecf46dfdc 100644 --- a/openlp/plugins/songs/lib/songcompare.py +++ b/openlp/plugins/songs/lib/songcompare.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/songselect.py b/openlp/plugins/songs/lib/songselect.py index 2a7508b72..2f4ac5e62 100644 --- a/openlp/plugins/songs/lib/songselect.py +++ b/openlp/plugins/songs/lib/songselect.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/songstab.py b/openlp/plugins/songs/lib/songstab.py index 3e8559d70..3099ccb83 100644 --- a/openlp/plugins/songs/lib/songstab.py +++ b/openlp/plugins/songs/lib/songstab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/ui.py b/openlp/plugins/songs/lib/ui.py index 17e22fc51..6b879d384 100644 --- a/openlp/plugins/songs/lib/ui.py +++ b/openlp/plugins/songs/lib/ui.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/lib/upgrade.py b/openlp/plugins/songs/lib/upgrade.py index c1c8de2f1..f500d9c90 100644 --- a/openlp/plugins/songs/lib/upgrade.py +++ b/openlp/plugins/songs/lib/upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/reporting.py b/openlp/plugins/songs/reporting.py index 6d29c10e0..5682ce58b 100644 --- a/openlp/plugins/songs/reporting.py +++ b/openlp/plugins/songs/reporting.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songs/songsplugin.py b/openlp/plugins/songs/songsplugin.py index 90655d2f1..50fb15ecc 100644 --- a/openlp/plugins/songs/songsplugin.py +++ b/openlp/plugins/songs/songsplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/__init__.py b/openlp/plugins/songusage/__init__.py index 7021fca0c..6de086847 100644 --- a/openlp/plugins/songusage/__init__.py +++ b/openlp/plugins/songusage/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/forms/__init__.py b/openlp/plugins/songusage/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/openlp/plugins/songusage/forms/__init__.py +++ b/openlp/plugins/songusage/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/forms/songusagedeletedialog.py b/openlp/plugins/songusage/forms/songusagedeletedialog.py index 3c801bf09..4f512f977 100644 --- a/openlp/plugins/songusage/forms/songusagedeletedialog.py +++ b/openlp/plugins/songusage/forms/songusagedeletedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/forms/songusagedeleteform.py b/openlp/plugins/songusage/forms/songusagedeleteform.py index 02710657f..3664c50de 100644 --- a/openlp/plugins/songusage/forms/songusagedeleteform.py +++ b/openlp/plugins/songusage/forms/songusagedeleteform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/forms/songusagedetaildialog.py b/openlp/plugins/songusage/forms/songusagedetaildialog.py index b781a9819..3c058cdc0 100644 --- a/openlp/plugins/songusage/forms/songusagedetaildialog.py +++ b/openlp/plugins/songusage/forms/songusagedetaildialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/forms/songusagedetailform.py b/openlp/plugins/songusage/forms/songusagedetailform.py index 8718cb6ae..c05613e82 100644 --- a/openlp/plugins/songusage/forms/songusagedetailform.py +++ b/openlp/plugins/songusage/forms/songusagedetailform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/lib/__init__.py b/openlp/plugins/songusage/lib/__init__.py index 93fab810d..48b272bef 100644 --- a/openlp/plugins/songusage/lib/__init__.py +++ b/openlp/plugins/songusage/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/lib/db.py b/openlp/plugins/songusage/lib/db.py index 55154e12b..f2fb6ffed 100644 --- a/openlp/plugins/songusage/lib/db.py +++ b/openlp/plugins/songusage/lib/db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/lib/upgrade.py b/openlp/plugins/songusage/lib/upgrade.py index d86c3e5b0..6ac7e9ab0 100644 --- a/openlp/plugins/songusage/lib/upgrade.py +++ b/openlp/plugins/songusage/lib/upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/openlp/plugins/songusage/songusageplugin.py b/openlp/plugins/songusage/songusageplugin.py index 792d7f401..0cb59c932 100644 --- a/openlp/plugins/songusage/songusageplugin.py +++ b/openlp/plugins/songusage/songusageplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/run_openlp.py b/run_openlp.py index 07941b214..2a140127e 100755 --- a/run_openlp.py +++ b/run_openlp.py @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index e7456a1ef..b525114c5 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/scripts/clean_up_resources.py b/scripts/clean_up_resources.py index 696ec44ba..b445b90ee 100755 --- a/scripts/clean_up_resources.py +++ b/scripts/clean_up_resources.py @@ -1,99 +1,99 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## - -import fnmatch -import os - -from lxml import etree - - -resource_path = os.path.join('..', 'resources', 'images') -resource_file_path = os.path.join(resource_path, 'openlp-2.qrc') -src_directory = os.path.join('..', 'openlp') - -RESOURCES_TO_IGNORE = [ - 'openlp.svg', - 'OpenLP.ico', - 'openlp-2.qrc', - 'openlp-logo-16x16.png', - 'openlp-logo-32x32.png', - 'openlp-logo-48x48.png', - 'openlp-logo-64x64.png', - 'openlp-logo-128x128.png', - 'README.txt' -] - -tree = etree.parse(resource_file_path) -root = tree.getroot() - -print('Looking for unused resources listed in openlp-2.qrc') -print('----------------------------------------------------------------') -resources = root.findall('.//file') -for current_dir, dirs, files in os.walk(src_directory): - for file_name in files: - if not fnmatch.fnmatch(file_name, '*.py'): - continue - file_path = os.path.join(current_dir, file_name) - with open(file_path) as source_file: - file_contents = source_file.read() - # Create a copy of the resources list so that we don't change the list while we're iterating through it! - for resource in list(resources): - if resource.text in file_contents: - resources.remove(resource) -if resources: - print('Unused resources listed in openlp-2.qrc:') - print(*(x.text for x in resources), sep='\n') - print('----------------------------------------------------------------') - remove = None - while remove != 'yes' and remove != 'no': - remove = input('Would you like to remove these files from openlp-2.qrc? (yes/no)') - if remove == 'yes': - for resource in resources: - parent = resource.find('..') - parent.remove(resource) - tree.write(resource_file_path, encoding='utf8') -else: - print('No unused resources listed in openlp-2.qrc') -print('----------------------------------------------------------------') - -print('\nLooking for resource files which are not lited in openlp-2.qrc') -print('----------------------------------------------------------------') -resources = [x.text for x in root.findall('.//file')] -removable_resources = [] -for resource_name in os.listdir(resource_path): - if resource_name not in RESOURCES_TO_IGNORE and resource_name not in resources: - removable_resources.append(resource_name) -if removable_resources: - print('Resource files not listed in openlp-2.qrc:') - print(*removable_resources, sep='\n') - print('----------------------------------------------------------------') - remove = None - while remove != 'yes' and remove != 'no': - remove = input('Would you like to delete these files from the resource folder? (yes/no)') - print('----------------------------------------------------------------') - if remove == 'yes': - for resource in removable_resources: - resource_file = os.path.join(resource_path, resource) - print('Removing {file}'.format(file=resource_file)) - os.remove(resource_file) -else: - print('All resource files are listed!') +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## + +import fnmatch +import os + +from lxml import etree + + +resource_path = os.path.join('..', 'resources', 'images') +resource_file_path = os.path.join(resource_path, 'openlp-2.qrc') +src_directory = os.path.join('..', 'openlp') + +RESOURCES_TO_IGNORE = [ + 'openlp.svg', + 'OpenLP.ico', + 'openlp-2.qrc', + 'openlp-logo-16x16.png', + 'openlp-logo-32x32.png', + 'openlp-logo-48x48.png', + 'openlp-logo-64x64.png', + 'openlp-logo-128x128.png', + 'README.txt' +] + +tree = etree.parse(resource_file_path) +root = tree.getroot() + +print('Looking for unused resources listed in openlp-2.qrc') +print('----------------------------------------------------------------') +resources = root.findall('.//file') +for current_dir, dirs, files in os.walk(src_directory): + for file_name in files: + if not fnmatch.fnmatch(file_name, '*.py'): + continue + file_path = os.path.join(current_dir, file_name) + with open(file_path) as source_file: + file_contents = source_file.read() + # Create a copy of the resources list so that we don't change the list while we're iterating through it! + for resource in list(resources): + if resource.text in file_contents: + resources.remove(resource) +if resources: + print('Unused resources listed in openlp-2.qrc:') + print(*(x.text for x in resources), sep='\n') + print('----------------------------------------------------------------') + remove = None + while remove != 'yes' and remove != 'no': + remove = input('Would you like to remove these files from openlp-2.qrc? (yes/no)') + if remove == 'yes': + for resource in resources: + parent = resource.find('..') + parent.remove(resource) + tree.write(resource_file_path, encoding='utf8') +else: + print('No unused resources listed in openlp-2.qrc') +print('----------------------------------------------------------------') + +print('\nLooking for resource files which are not lited in openlp-2.qrc') +print('----------------------------------------------------------------') +resources = [x.text for x in root.findall('.//file')] +removable_resources = [] +for resource_name in os.listdir(resource_path): + if resource_name not in RESOURCES_TO_IGNORE and resource_name not in resources: + removable_resources.append(resource_name) +if removable_resources: + print('Resource files not listed in openlp-2.qrc:') + print(*removable_resources, sep='\n') + print('----------------------------------------------------------------') + remove = None + while remove != 'yes' and remove != 'no': + remove = input('Would you like to delete these files from the resource folder? (yes/no)') + print('----------------------------------------------------------------') + if remove == 'yes': + for resource in removable_resources: + resource_file = os.path.join(resource_path, resource) + print('Removing {file}'.format(file=resource_file)) + os.remove(resource_file) +else: + print('All resource files are listed!') diff --git a/scripts/generate_resources.sh b/scripts/generate_resources.sh index b10ef1c99..3f5fc50e0 100755 --- a/scripts/generate_resources.sh +++ b/scripts/generate_resources.sh @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/scripts/generate_translations.sh b/scripts/generate_translations.sh index 6e8210452..3f431a46a 100755 --- a/scripts/generate_translations.sh +++ b/scripts/generate_translations.sh @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -39,4 +39,4 @@ rm *.qm for file in *.ts; do echo $file lconvert-qt5 -i $file -o ${file%%ts}qm ; - done \ No newline at end of file + done diff --git a/scripts/pull_translations b/scripts/pull_translations index 31cb339b1..9bd62401e 100755 --- a/scripts/pull_translations +++ b/scripts/pull_translations @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/scripts/push_translations b/scripts/push_translations index d990f94ed..3f15cfdf9 100755 --- a/scripts/push_translations +++ b/scripts/push_translations @@ -2,7 +2,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -37,7 +37,7 @@ echo echo Generation translation control file echo rm ../resources/i18n/*.ts -python3 $pwd/translation_utils.py -p +python3 $pwd/translation_utils.py -p echo Creating base translation file cd .. diff --git a/scripts/resources.patch b/scripts/resources.patch index 23e182b60..0b091e733 100644 --- a/scripts/resources.patch +++ b/scripts/resources.patch @@ -14,7 +14,7 @@ +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # -+# Copyright (c) 2008-2019 OpenLP Developers # ++# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py index f52415ac8..219bbb8c3 100755 --- a/scripts/translation_utils.py +++ b/scripts/translation_utils.py @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/scripts/websocket_client.py b/scripts/websocket_client.py index 95105d3df..ef4f7cbc5 100755 --- a/scripts/websocket_client.py +++ b/scripts/websocket_client.py @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/setup.py b/setup.py index 16d5f495f..d373650ad 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/__init__.py b/tests/__init__.py index f1077eeab..b3eeee670 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/conftest.py b/tests/conftest.py index d8437b741..3cb661351 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/__init__.py b/tests/functional/__init__.py index 227b3027e..1b3375bc3 100644 --- a/tests/functional/__init__.py +++ b/tests/functional/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/__init__.py b/tests/functional/openlp_core/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_core/__init__.py +++ b/tests/functional/openlp_core/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/__init__.py b/tests/functional/openlp_core/api/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_core/api/__init__.py +++ b/tests/functional/openlp_core/api/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/endpoint/test_controller.py b/tests/functional/openlp_core/api/endpoint/test_controller.py index 863f07f45..09ed9ca1a 100644 --- a/tests/functional/openlp_core/api/endpoint/test_controller.py +++ b/tests/functional/openlp_core/api/endpoint/test_controller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/endpoint/test_remote.py b/tests/functional/openlp_core/api/endpoint/test_remote.py index a75e9a525..9251b5a2f 100644 --- a/tests/functional/openlp_core/api/endpoint/test_remote.py +++ b/tests/functional/openlp_core/api/endpoint/test_remote.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/http/__init__.py b/tests/functional/openlp_core/api/http/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_core/api/http/__init__.py +++ b/tests/functional/openlp_core/api/http/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/http/test_error.py b/tests/functional/openlp_core/api/http/test_error.py index fbcf9693f..0ea361441 100644 --- a/tests/functional/openlp_core/api/http/test_error.py +++ b/tests/functional/openlp_core/api/http/test_error.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/http/test_http.py b/tests/functional/openlp_core/api/http/test_http.py index da026b645..ee02cb73a 100644 --- a/tests/functional/openlp_core/api/http/test_http.py +++ b/tests/functional/openlp_core/api/http/test_http.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/http/test_init.py b/tests/functional/openlp_core/api/http/test_init.py index 166ec6ef4..b8613fe88 100644 --- a/tests/functional/openlp_core/api/http/test_init.py +++ b/tests/functional/openlp_core/api/http/test_init.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/http/test_wsgiapp.py b/tests/functional/openlp_core/api/http/test_wsgiapp.py index d35c5e911..82d54fa3c 100644 --- a/tests/functional/openlp_core/api/http/test_wsgiapp.py +++ b/tests/functional/openlp_core/api/http/test_wsgiapp.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/test_deploy.py b/tests/functional/openlp_core/api/test_deploy.py index f8c7161b5..4a37c1910 100644 --- a/tests/functional/openlp_core/api/test_deploy.py +++ b/tests/functional/openlp_core/api/test_deploy.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/test_tab.py b/tests/functional/openlp_core/api/test_tab.py index 5d949c67c..8d1efd95a 100644 --- a/tests/functional/openlp_core/api/test_tab.py +++ b/tests/functional/openlp_core/api/test_tab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/api/test_websockets.py b/tests/functional/openlp_core/api/test_websockets.py index e8018405c..299fc445b 100644 --- a/tests/functional/openlp_core/api/test_websockets.py +++ b/tests/functional/openlp_core/api/test_websockets.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/__init__.py b/tests/functional/openlp_core/common/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_core/common/__init__.py +++ b/tests/functional/openlp_core/common/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_actions.py b/tests/functional/openlp_core/common/test_actions.py index b36d8875b..11721c1ab 100644 --- a/tests/functional/openlp_core/common/test_actions.py +++ b/tests/functional/openlp_core/common/test_actions.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_applocation.py b/tests/functional/openlp_core/common/test_applocation.py index 0d8c42489..a5953b056 100644 --- a/tests/functional/openlp_core/common/test_applocation.py +++ b/tests/functional/openlp_core/common/test_applocation.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_common.py b/tests/functional/openlp_core/common/test_common.py index f957980be..11020df84 100644 --- a/tests/functional/openlp_core/common/test_common.py +++ b/tests/functional/openlp_core/common/test_common.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_db.py b/tests/functional/openlp_core/common/test_db.py index 2c21a6319..563beb369 100644 --- a/tests/functional/openlp_core/common/test_db.py +++ b/tests/functional/openlp_core/common/test_db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_httputils.py b/tests/functional/openlp_core/common/test_httputils.py index 39be57544..d3beb0586 100644 --- a/tests/functional/openlp_core/common/test_httputils.py +++ b/tests/functional/openlp_core/common/test_httputils.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_i18n.py b/tests/functional/openlp_core/common/test_i18n.py index de55533f9..470733be8 100644 --- a/tests/functional/openlp_core/common/test_i18n.py +++ b/tests/functional/openlp_core/common/test_i18n.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_init.py b/tests/functional/openlp_core/common/test_init.py index fc044c9f6..81462226f 100644 --- a/tests/functional/openlp_core/common/test_init.py +++ b/tests/functional/openlp_core/common/test_init.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_json.py b/tests/functional/openlp_core/common/test_json.py index 083c08e7b..327dcc5e6 100644 --- a/tests/functional/openlp_core/common/test_json.py +++ b/tests/functional/openlp_core/common/test_json.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_mixins.py b/tests/functional/openlp_core/common/test_mixins.py index d3a706a5d..fa235653c 100644 --- a/tests/functional/openlp_core/common/test_mixins.py +++ b/tests/functional/openlp_core/common/test_mixins.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_path.py b/tests/functional/openlp_core/common/test_path.py index e76d59f95..2c0d1c162 100644 --- a/tests/functional/openlp_core/common/test_path.py +++ b/tests/functional/openlp_core/common/test_path.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_registry.py b/tests/functional/openlp_core/common/test_registry.py index 8dba9daad..ed0833a51 100644 --- a/tests/functional/openlp_core/common/test_registry.py +++ b/tests/functional/openlp_core/common/test_registry.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/common/test_settings.py b/tests/functional/openlp_core/common/test_settings.py index 1d8f9c5d0..a2a97ca73 100644 --- a/tests/functional/openlp_core/common/test_settings.py +++ b/tests/functional/openlp_core/common/test_settings.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/display/__init__.py b/tests/functional/openlp_core/display/__init__.py index 89d427cc5..04deb7274 100644 --- a/tests/functional/openlp_core/display/__init__.py +++ b/tests/functional/openlp_core/display/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/display/test_render.py b/tests/functional/openlp_core/display/test_render.py index 7efc750de..094d2ec0d 100644 --- a/tests/functional/openlp_core/display/test_render.py +++ b/tests/functional/openlp_core/display/test_render.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/display/test_screens.py b/tests/functional/openlp_core/display/test_screens.py index 4e6128a10..1b1be1acd 100644 --- a/tests/functional/openlp_core/display/test_screens.py +++ b/tests/functional/openlp_core/display/test_screens.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/display/test_window.py b/tests/functional/openlp_core/display/test_window.py index 062576e0e..6906a0342 100644 --- a/tests/functional/openlp_core/display/test_window.py +++ b/tests/functional/openlp_core/display/test_window.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/__init__.py b/tests/functional/openlp_core/lib/__init__.py index 949126d1c..7e2be9ccf 100644 --- a/tests/functional/openlp_core/lib/__init__.py +++ b/tests/functional/openlp_core/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_db.py b/tests/functional/openlp_core/lib/test_db.py index 961920da3..584abb42e 100644 --- a/tests/functional/openlp_core/lib/test_db.py +++ b/tests/functional/openlp_core/lib/test_db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_exceptions.py b/tests/functional/openlp_core/lib/test_exceptions.py index cc9c792b2..6fc83cae2 100644 --- a/tests/functional/openlp_core/lib/test_exceptions.py +++ b/tests/functional/openlp_core/lib/test_exceptions.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_formattingtags.py b/tests/functional/openlp_core/lib/test_formattingtags.py index 903109a48..5990dd502 100644 --- a/tests/functional/openlp_core/lib/test_formattingtags.py +++ b/tests/functional/openlp_core/lib/test_formattingtags.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_image_manager.py b/tests/functional/openlp_core/lib/test_image_manager.py index c387f7eb9..79c49cddb 100644 --- a/tests/functional/openlp_core/lib/test_image_manager.py +++ b/tests/functional/openlp_core/lib/test_image_manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_lib.py b/tests/functional/openlp_core/lib/test_lib.py index 66129746f..149ed3f0d 100644 --- a/tests/functional/openlp_core/lib/test_lib.py +++ b/tests/functional/openlp_core/lib/test_lib.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_mediamanageritem.py b/tests/functional/openlp_core/lib/test_mediamanageritem.py index b75f45505..38fb9fc59 100644 --- a/tests/functional/openlp_core/lib/test_mediamanageritem.py +++ b/tests/functional/openlp_core/lib/test_mediamanageritem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_pluginmanager.py b/tests/functional/openlp_core/lib/test_pluginmanager.py index da7ac7cf1..a508bd36b 100644 --- a/tests/functional/openlp_core/lib/test_pluginmanager.py +++ b/tests/functional/openlp_core/lib/test_pluginmanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_serviceitem.py b/tests/functional/openlp_core/lib/test_serviceitem.py index 6e1b7d846..afd53c951 100644 --- a/tests/functional/openlp_core/lib/test_serviceitem.py +++ b/tests/functional/openlp_core/lib/test_serviceitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_theme.py b/tests/functional/openlp_core/lib/test_theme.py index 9d92431ed..0a18daf30 100644 --- a/tests/functional/openlp_core/lib/test_theme.py +++ b/tests/functional/openlp_core/lib/test_theme.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/lib/test_ui.py b/tests/functional/openlp_core/lib/test_ui.py index 42ff8502d..00b08e7cd 100644 --- a/tests/functional/openlp_core/lib/test_ui.py +++ b/tests/functional/openlp_core/lib/test_ui.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/test_app.py b/tests/functional/openlp_core/test_app.py index 7507b5f70..d56697e4e 100644 --- a/tests/functional/openlp_core/test_app.py +++ b/tests/functional/openlp_core/test_app.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/test_server.py b/tests/functional/openlp_core/test_server.py index 0c0700603..d2e709a0c 100644 --- a/tests/functional/openlp_core/test_server.py +++ b/tests/functional/openlp_core/test_server.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/test_state.py b/tests/functional/openlp_core/test_state.py index 3e4890f70..a20cb8e13 100644 --- a/tests/functional/openlp_core/test_state.py +++ b/tests/functional/openlp_core/test_state.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/test_threading.py b/tests/functional/openlp_core/test_threading.py index a30a7ee47..d7e5f51c7 100644 --- a/tests/functional/openlp_core/test_threading.py +++ b/tests/functional/openlp_core/test_threading.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/test_version.py b/tests/functional/openlp_core/test_version.py index 2769b5688..1465cd268 100644 --- a/tests/functional/openlp_core/test_version.py +++ b/tests/functional/openlp_core/test_version.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/__init__.py b/tests/functional/openlp_core/ui/__init__.py index 0e2793ddb..ec1253305 100644 --- a/tests/functional/openlp_core/ui/__init__.py +++ b/tests/functional/openlp_core/ui/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/media/__init__.py b/tests/functional/openlp_core/ui/media/__init__.py index 7eb71a623..d27c37388 100644 --- a/tests/functional/openlp_core/ui/media/__init__.py +++ b/tests/functional/openlp_core/ui/media/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/media/test_media.py b/tests/functional/openlp_core/ui/media/test_media.py index 1b70c3a29..a3cfbf94f 100644 --- a/tests/functional/openlp_core/ui/media/test_media.py +++ b/tests/functional/openlp_core/ui/media/test_media.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/media/test_mediacontroller.py b/tests/functional/openlp_core/ui/media/test_mediacontroller.py index fc92ae28b..946ab6851 100644 --- a/tests/functional/openlp_core/ui/media/test_mediacontroller.py +++ b/tests/functional/openlp_core/ui/media/test_mediacontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/media/test_vlcplayer.py b/tests/functional/openlp_core/ui/media/test_vlcplayer.py index 0b259bfce..e2c5e7883 100644 --- a/tests/functional/openlp_core/ui/media/test_vlcplayer.py +++ b/tests/functional/openlp_core/ui/media/test_vlcplayer.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_aboutform.py b/tests/functional/openlp_core/ui/test_aboutform.py index 91b2b3bac..7f333c188 100644 --- a/tests/functional/openlp_core/ui/test_aboutform.py +++ b/tests/functional/openlp_core/ui/test_aboutform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_advancedtab.py b/tests/functional/openlp_core/ui/test_advancedtab.py index 05545224a..e783b7e24 100644 --- a/tests/functional/openlp_core/ui/test_advancedtab.py +++ b/tests/functional/openlp_core/ui/test_advancedtab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_exceptionform.py b/tests/functional/openlp_core/ui/test_exceptionform.py index 831ac1a76..fb8e8729d 100644 --- a/tests/functional/openlp_core/ui/test_exceptionform.py +++ b/tests/functional/openlp_core/ui/test_exceptionform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_first_time.py b/tests/functional/openlp_core/ui/test_first_time.py index d9a0bbe90..07b099445 100644 --- a/tests/functional/openlp_core/ui/test_first_time.py +++ b/tests/functional/openlp_core/ui/test_first_time.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_firsttimeform.py b/tests/functional/openlp_core/ui/test_firsttimeform.py index 32c9abc0a..1b89798c6 100644 --- a/tests/functional/openlp_core/ui/test_firsttimeform.py +++ b/tests/functional/openlp_core/ui/test_firsttimeform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_formattingtagscontroller.py b/tests/functional/openlp_core/ui/test_formattingtagscontroller.py index d75a27bca..5354b9924 100644 --- a/tests/functional/openlp_core/ui/test_formattingtagscontroller.py +++ b/tests/functional/openlp_core/ui/test_formattingtagscontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_formattingtagsform.py b/tests/functional/openlp_core/ui/test_formattingtagsform.py index 753a422e7..8a32c9006 100644 --- a/tests/functional/openlp_core/ui/test_formattingtagsform.py +++ b/tests/functional/openlp_core/ui/test_formattingtagsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_icons.py b/tests/functional/openlp_core/ui/test_icons.py index a6060f0f9..22f1c98dd 100644 --- a/tests/functional/openlp_core/ui/test_icons.py +++ b/tests/functional/openlp_core/ui/test_icons.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_mainwindow.py b/tests/functional/openlp_core/ui/test_mainwindow.py index eff4af797..d48a740b2 100644 --- a/tests/functional/openlp_core/ui/test_mainwindow.py +++ b/tests/functional/openlp_core/ui/test_mainwindow.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_servicemanager.py b/tests/functional/openlp_core/ui/test_servicemanager.py index 46e3e6e75..237a7668d 100644 --- a/tests/functional/openlp_core/ui/test_servicemanager.py +++ b/tests/functional/openlp_core/ui/test_servicemanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_settingsform.py b/tests/functional/openlp_core/ui/test_settingsform.py index 74f65a0af..2f9dfcb08 100644 --- a/tests/functional/openlp_core/ui/test_settingsform.py +++ b/tests/functional/openlp_core/ui/test_settingsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_shortcutlistdialog.py b/tests/functional/openlp_core/ui/test_shortcutlistdialog.py index 29b84cde8..a745531f4 100644 --- a/tests/functional/openlp_core/ui/test_shortcutlistdialog.py +++ b/tests/functional/openlp_core/ui/test_shortcutlistdialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_slidecontroller.py b/tests/functional/openlp_core/ui/test_slidecontroller.py index 21ae2a9d1..1df07e436 100644 --- a/tests/functional/openlp_core/ui/test_slidecontroller.py +++ b/tests/functional/openlp_core/ui/test_slidecontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_splashscreen.py b/tests/functional/openlp_core/ui/test_splashscreen.py index e9d8bcca5..13a2593bb 100644 --- a/tests/functional/openlp_core/ui/test_splashscreen.py +++ b/tests/functional/openlp_core/ui/test_splashscreen.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_style.py b/tests/functional/openlp_core/ui/test_style.py index c22fcc5ff..fd346f4f7 100644 --- a/tests/functional/openlp_core/ui/test_style.py +++ b/tests/functional/openlp_core/ui/test_style.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_thememanager.py b/tests/functional/openlp_core/ui/test_thememanager.py index 028e3c7e8..449942b0d 100644 --- a/tests/functional/openlp_core/ui/test_thememanager.py +++ b/tests/functional/openlp_core/ui/test_thememanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/ui/test_themetab.py b/tests/functional/openlp_core/ui/test_themetab.py index 5af6227ab..a0cbecc28 100644 --- a/tests/functional/openlp_core/ui/test_themetab.py +++ b/tests/functional/openlp_core/ui/test_themetab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/widgets/__init__.py b/tests/functional/openlp_core/widgets/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_core/widgets/__init__.py +++ b/tests/functional/openlp_core/widgets/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/widgets/test_buttons.py b/tests/functional/openlp_core/widgets/test_buttons.py index 03e68bd79..0d12a1157 100644 --- a/tests/functional/openlp_core/widgets/test_buttons.py +++ b/tests/functional/openlp_core/widgets/test_buttons.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/widgets/test_dialogs.py b/tests/functional/openlp_core/widgets/test_dialogs.py index c9c5e265d..5e8791c26 100755 --- a/tests/functional/openlp_core/widgets/test_dialogs.py +++ b/tests/functional/openlp_core/widgets/test_dialogs.py @@ -1,208 +1,208 @@ -# -*- coding: utf-8 -*- - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## -import os -from pathlib import Path -from unittest import TestCase -from unittest.mock import patch - -from PyQt5 import QtWidgets - -from openlp.core.widgets.dialogs import FileDialog - - -class TestFileDialogPatches(TestCase): - """ - Tests for the :mod:`openlp.core.widgets.dialogs` module - """ - - def test_file_dialog(self): - """ - Test that the :class:`FileDialog` instantiates correctly - """ - # GIVEN: The FileDialog class - # WHEN: Creating an instance - instance = FileDialog() - - # THEN: The instance should be an instance of QFileDialog - assert isinstance(instance, QtWidgets.QFileDialog) - - def test_get_existing_directory_user_abort(self): - """ - Test that `getExistingDirectory` handles the case when the user cancels the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getExistingDirectory method - # WHEN: Calling FileDialog.getExistingDirectory and the user cancels the dialog returns a empty string - with patch('PyQt5.QtWidgets.QFileDialog.getExistingDirectory', return_value=''): - result = FileDialog.getExistingDirectory() - - # THEN: The result should be None - assert result is None - - def test_get_existing_directory_user_accepts(self): - """ - Test that `getExistingDirectory` handles the case when the user accepts the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getExistingDirectory method - # WHEN: Calling FileDialog.getExistingDirectory, the user chooses a file and accepts the dialog (it returns a - # string pointing to the directory) - with patch('PyQt5.QtWidgets.QFileDialog.getExistingDirectory', return_value=os.path.join('test', 'dir')): - result = FileDialog.getExistingDirectory() - - # THEN: getExistingDirectory() should return a Path object pointing to the chosen file - assert result == Path('test', 'dir') - - def test_get_existing_directory_param_order(self): - """ - Test that `getExistingDirectory` passes the parameters to `QFileDialog.getExistingDirectory` in the correct - order - """ - # GIVEN: FileDialog - with patch('openlp.core.widgets.dialogs.QtWidgets.QFileDialog.getExistingDirectory', return_value='') \ - as mocked_get_existing_directory: - - # WHEN: Calling the getExistingDirectory method with all parameters set - FileDialog.getExistingDirectory('Parent', 'Caption', Path('test', 'dir'), 'Options') - - # THEN: The `QFileDialog.getExistingDirectory` should have been called with the parameters in the correct - # order - mocked_get_existing_directory.assert_called_once_with('Parent', 'Caption', os.path.join('test', 'dir'), - 'Options') - - def test_get_open_file_name_user_abort(self): - """ - Test that `getOpenFileName` handles the case when the user cancels the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getOpenFileName method - # WHEN: Calling FileDialog.getOpenFileName and the user cancels the dialog (it returns a tuple with the first - # value set as an empty string) - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', return_value=('', '')): - result = FileDialog.getOpenFileName() - - # THEN: First value should be None - assert result[0] is None - - def test_get_open_file_name_user_accepts(self): - """ - Test that `getOpenFileName` handles the case when the user accepts the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getOpenFileName method - # WHEN: Calling FileDialog.getOpenFileName, the user chooses a file and accepts the dialog (it returns a - # tuple with the first value set as an string pointing to the file) - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', - return_value=(os.path.join('test', 'chosen.file'), '')): - result = FileDialog.getOpenFileName() - - # THEN: getOpenFileName() should return a tuple with the first value set to a Path object pointing to the - # chosen file - assert result[0] == Path('test', 'chosen.file') - - def test_get_open_file_name_selected_filter(self): - """ - Test that `getOpenFileName` does not modify the selectedFilter as returned by `QFileDialog.getOpenFileName` - """ - # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method - # WHEN: Calling FileDialog.getOpenFileName, and `QFileDialog.getOpenFileName` returns a known `selectedFilter` - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', return_value=('', 'selected filter')): - result = FileDialog.getOpenFileName() - - # THEN: getOpenFileName() should return a tuple with the second value set to a the selected filter - assert result[1] == 'selected filter' - - def test_get_open_file_names_user_abort(self): - """ - Test that `getOpenFileNames` handles the case when the user cancels the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method - # WHEN: Calling FileDialog.getOpenFileNames and the user cancels the dialog (it returns a tuple with the first - # value set as an empty list) - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', return_value=([], '')): - result = FileDialog.getOpenFileNames() - - # THEN: First value should be an empty list - assert result[0] == [] - - def test_get_open_file_names_user_accepts(self): - """ - Test that `getOpenFileNames` handles the case when the user accepts the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method - # WHEN: Calling FileDialog.getOpenFileNames, the user chooses some files and accepts the dialog (it returns a - # tuple with the first value set as a list of strings pointing to the file) - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', - return_value=([os.path.join('test', 'chosen.file1'), os.path.join('test', 'chosen.file2')], '')): - result = FileDialog.getOpenFileNames() - - # THEN: getOpenFileNames() should return a tuple with the first value set to a list of Path objects pointing - # to the chosen file - assert result[0] == [Path('test', 'chosen.file1'), Path('test', 'chosen.file2')] - - def test_get_open_file_names_selected_filter(self): - """ - Test that `getOpenFileNames` does not modify the selectedFilter as returned by `QFileDialog.getOpenFileNames` - """ - # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method - # WHEN: Calling FileDialog.getOpenFileNames, and `QFileDialog.getOpenFileNames` returns a known - # `selectedFilter` - with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', return_value=([], 'selected filter')): - result = FileDialog.getOpenFileNames() - - # THEN: getOpenFileNames() should return a tuple with the second value set to a the selected filter - assert result[1] == 'selected filter' - - def test_get_save_file_name_user_abort(self): - """ - Test that `getSaveFileName` handles the case when the user cancels the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method - # WHEN: Calling FileDialog.getSaveFileName and the user cancels the dialog (it returns a tuple with the first - # value set as an empty string) - with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', return_value=('', '')): - result = FileDialog.getSaveFileName() - - # THEN: First value should be None - assert result[0] is None - - def test_get_save_file_name_user_accepts(self): - """ - Test that `getSaveFileName` handles the case when the user accepts the dialog - """ - # GIVEN: FileDialog with a mocked QDialog.getSaveFileName method - # WHEN: Calling FileDialog.getSaveFileName, the user chooses a file and accepts the dialog (it returns a - # tuple with the first value set as an string pointing to the file) - with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', - return_value=(os.path.join('test', 'chosen.file'), '')): - result = FileDialog.getSaveFileName() - - # THEN: getSaveFileName() should return a tuple with the first value set to a Path object pointing to the - # chosen file - assert result[0] == Path('test', 'chosen.file') - - def test_get_save_file_name_selected_filter(self): - """ - Test that `getSaveFileName` does not modify the selectedFilter as returned by `QFileDialog.getSaveFileName` - """ - # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method - # WHEN: Calling FileDialog.getSaveFileName, and `QFileDialog.getSaveFileName` returns a known `selectedFilter` - with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', return_value=('', 'selected filter')): - result = FileDialog.getSaveFileName() - - # THEN: getSaveFileName() should return a tuple with the second value set to a the selected filter - assert result[1] == 'selected filter' +# -*- coding: utf-8 -*- + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## +import os +from pathlib import Path +from unittest import TestCase +from unittest.mock import patch + +from PyQt5 import QtWidgets + +from openlp.core.widgets.dialogs import FileDialog + + +class TestFileDialogPatches(TestCase): + """ + Tests for the :mod:`openlp.core.widgets.dialogs` module + """ + + def test_file_dialog(self): + """ + Test that the :class:`FileDialog` instantiates correctly + """ + # GIVEN: The FileDialog class + # WHEN: Creating an instance + instance = FileDialog() + + # THEN: The instance should be an instance of QFileDialog + assert isinstance(instance, QtWidgets.QFileDialog) + + def test_get_existing_directory_user_abort(self): + """ + Test that `getExistingDirectory` handles the case when the user cancels the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getExistingDirectory method + # WHEN: Calling FileDialog.getExistingDirectory and the user cancels the dialog returns a empty string + with patch('PyQt5.QtWidgets.QFileDialog.getExistingDirectory', return_value=''): + result = FileDialog.getExistingDirectory() + + # THEN: The result should be None + assert result is None + + def test_get_existing_directory_user_accepts(self): + """ + Test that `getExistingDirectory` handles the case when the user accepts the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getExistingDirectory method + # WHEN: Calling FileDialog.getExistingDirectory, the user chooses a file and accepts the dialog (it returns a + # string pointing to the directory) + with patch('PyQt5.QtWidgets.QFileDialog.getExistingDirectory', return_value=os.path.join('test', 'dir')): + result = FileDialog.getExistingDirectory() + + # THEN: getExistingDirectory() should return a Path object pointing to the chosen file + assert result == Path('test', 'dir') + + def test_get_existing_directory_param_order(self): + """ + Test that `getExistingDirectory` passes the parameters to `QFileDialog.getExistingDirectory` in the correct + order + """ + # GIVEN: FileDialog + with patch('openlp.core.widgets.dialogs.QtWidgets.QFileDialog.getExistingDirectory', return_value='') \ + as mocked_get_existing_directory: + + # WHEN: Calling the getExistingDirectory method with all parameters set + FileDialog.getExistingDirectory('Parent', 'Caption', Path('test', 'dir'), 'Options') + + # THEN: The `QFileDialog.getExistingDirectory` should have been called with the parameters in the correct + # order + mocked_get_existing_directory.assert_called_once_with('Parent', 'Caption', os.path.join('test', 'dir'), + 'Options') + + def test_get_open_file_name_user_abort(self): + """ + Test that `getOpenFileName` handles the case when the user cancels the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getOpenFileName method + # WHEN: Calling FileDialog.getOpenFileName and the user cancels the dialog (it returns a tuple with the first + # value set as an empty string) + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', return_value=('', '')): + result = FileDialog.getOpenFileName() + + # THEN: First value should be None + assert result[0] is None + + def test_get_open_file_name_user_accepts(self): + """ + Test that `getOpenFileName` handles the case when the user accepts the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getOpenFileName method + # WHEN: Calling FileDialog.getOpenFileName, the user chooses a file and accepts the dialog (it returns a + # tuple with the first value set as an string pointing to the file) + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', + return_value=(os.path.join('test', 'chosen.file'), '')): + result = FileDialog.getOpenFileName() + + # THEN: getOpenFileName() should return a tuple with the first value set to a Path object pointing to the + # chosen file + assert result[0] == Path('test', 'chosen.file') + + def test_get_open_file_name_selected_filter(self): + """ + Test that `getOpenFileName` does not modify the selectedFilter as returned by `QFileDialog.getOpenFileName` + """ + # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method + # WHEN: Calling FileDialog.getOpenFileName, and `QFileDialog.getOpenFileName` returns a known `selectedFilter` + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileName', return_value=('', 'selected filter')): + result = FileDialog.getOpenFileName() + + # THEN: getOpenFileName() should return a tuple with the second value set to a the selected filter + assert result[1] == 'selected filter' + + def test_get_open_file_names_user_abort(self): + """ + Test that `getOpenFileNames` handles the case when the user cancels the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method + # WHEN: Calling FileDialog.getOpenFileNames and the user cancels the dialog (it returns a tuple with the first + # value set as an empty list) + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', return_value=([], '')): + result = FileDialog.getOpenFileNames() + + # THEN: First value should be an empty list + assert result[0] == [] + + def test_get_open_file_names_user_accepts(self): + """ + Test that `getOpenFileNames` handles the case when the user accepts the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method + # WHEN: Calling FileDialog.getOpenFileNames, the user chooses some files and accepts the dialog (it returns a + # tuple with the first value set as a list of strings pointing to the file) + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', + return_value=([os.path.join('test', 'chosen.file1'), os.path.join('test', 'chosen.file2')], '')): + result = FileDialog.getOpenFileNames() + + # THEN: getOpenFileNames() should return a tuple with the first value set to a list of Path objects pointing + # to the chosen file + assert result[0] == [Path('test', 'chosen.file1'), Path('test', 'chosen.file2')] + + def test_get_open_file_names_selected_filter(self): + """ + Test that `getOpenFileNames` does not modify the selectedFilter as returned by `QFileDialog.getOpenFileNames` + """ + # GIVEN: FileDialog with a mocked QDialog.getOpenFileNames method + # WHEN: Calling FileDialog.getOpenFileNames, and `QFileDialog.getOpenFileNames` returns a known + # `selectedFilter` + with patch('PyQt5.QtWidgets.QFileDialog.getOpenFileNames', return_value=([], 'selected filter')): + result = FileDialog.getOpenFileNames() + + # THEN: getOpenFileNames() should return a tuple with the second value set to a the selected filter + assert result[1] == 'selected filter' + + def test_get_save_file_name_user_abort(self): + """ + Test that `getSaveFileName` handles the case when the user cancels the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method + # WHEN: Calling FileDialog.getSaveFileName and the user cancels the dialog (it returns a tuple with the first + # value set as an empty string) + with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', return_value=('', '')): + result = FileDialog.getSaveFileName() + + # THEN: First value should be None + assert result[0] is None + + def test_get_save_file_name_user_accepts(self): + """ + Test that `getSaveFileName` handles the case when the user accepts the dialog + """ + # GIVEN: FileDialog with a mocked QDialog.getSaveFileName method + # WHEN: Calling FileDialog.getSaveFileName, the user chooses a file and accepts the dialog (it returns a + # tuple with the first value set as an string pointing to the file) + with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', + return_value=(os.path.join('test', 'chosen.file'), '')): + result = FileDialog.getSaveFileName() + + # THEN: getSaveFileName() should return a tuple with the first value set to a Path object pointing to the + # chosen file + assert result[0] == Path('test', 'chosen.file') + + def test_get_save_file_name_selected_filter(self): + """ + Test that `getSaveFileName` does not modify the selectedFilter as returned by `QFileDialog.getSaveFileName` + """ + # GIVEN: FileDialog with a mocked QDialog.get_save_file_name method + # WHEN: Calling FileDialog.getSaveFileName, and `QFileDialog.getSaveFileName` returns a known `selectedFilter` + with patch('PyQt5.QtWidgets.QFileDialog.getSaveFileName', return_value=('', 'selected filter')): + result = FileDialog.getSaveFileName() + + # THEN: getSaveFileName() should return a tuple with the second value set to a the selected filter + assert result[1] == 'selected filter' diff --git a/tests/functional/openlp_core/widgets/test_edits.py b/tests/functional/openlp_core/widgets/test_edits.py index 731d0ae95..d3a5432ff 100755 --- a/tests/functional/openlp_core/widgets/test_edits.py +++ b/tests/functional/openlp_core/widgets/test_edits.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_core/widgets/test_views.py b/tests/functional/openlp_core/widgets/test_views.py index 2c2e5aa51..1ad6e5250 100644 --- a/tests/functional/openlp_core/widgets/test_views.py +++ b/tests/functional/openlp_core/widgets/test_views.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/__init__.py b/tests/functional/openlp_plugins/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/__init__.py +++ b/tests/functional/openlp_plugins/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/alerts/__init__.py b/tests/functional/openlp_plugins/alerts/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/alerts/__init__.py +++ b/tests/functional/openlp_plugins/alerts/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/alerts/test_manager.py b/tests/functional/openlp_plugins/alerts/test_manager.py index 933285608..1b3b3f693 100644 --- a/tests/functional/openlp_plugins/alerts/test_manager.py +++ b/tests/functional/openlp_plugins/alerts/test_manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/__init__.py b/tests/functional/openlp_plugins/bibles/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/bibles/__init__.py +++ b/tests/functional/openlp_plugins/bibles/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_bibleimport.py b/tests/functional/openlp_plugins/bibles/test_bibleimport.py index a64eec2a4..1b39fd1bd 100644 --- a/tests/functional/openlp_plugins/bibles/test_bibleimport.py +++ b/tests/functional/openlp_plugins/bibles/test_bibleimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_bibleserver.py b/tests/functional/openlp_plugins/bibles/test_bibleserver.py index e60dc2d68..0bc81ebf2 100644 --- a/tests/functional/openlp_plugins/bibles/test_bibleserver.py +++ b/tests/functional/openlp_plugins/bibles/test_bibleserver.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_csvimport.py b/tests/functional/openlp_plugins/bibles/test_csvimport.py index aa5e22826..f470d8d66 100644 --- a/tests/functional/openlp_plugins/bibles/test_csvimport.py +++ b/tests/functional/openlp_plugins/bibles/test_csvimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_db.py b/tests/functional/openlp_plugins/bibles/test_db.py index f923b17bf..fb808f195 100644 --- a/tests/functional/openlp_plugins/bibles/test_db.py +++ b/tests/functional/openlp_plugins/bibles/test_db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_lib.py b/tests/functional/openlp_plugins/bibles/test_lib.py index b19a3b852..08b0cd6b0 100644 --- a/tests/functional/openlp_plugins/bibles/test_lib.py +++ b/tests/functional/openlp_plugins/bibles/test_lib.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_manager.py b/tests/functional/openlp_plugins/bibles/test_manager.py index 03a35de47..bca149999 100644 --- a/tests/functional/openlp_plugins/bibles/test_manager.py +++ b/tests/functional/openlp_plugins/bibles/test_manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_mediaitem.py b/tests/functional/openlp_plugins/bibles/test_mediaitem.py index a81534e05..b3fc73935 100755 --- a/tests/functional/openlp_plugins/bibles/test_mediaitem.py +++ b/tests/functional/openlp_plugins/bibles/test_mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_opensongimport.py b/tests/functional/openlp_plugins/bibles/test_opensongimport.py index 22d3dd7e5..5a07d51f2 100644 --- a/tests/functional/openlp_plugins/bibles/test_opensongimport.py +++ b/tests/functional/openlp_plugins/bibles/test_opensongimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_osisimport.py b/tests/functional/openlp_plugins/bibles/test_osisimport.py index d87bd5868..584ab9af9 100644 --- a/tests/functional/openlp_plugins/bibles/test_osisimport.py +++ b/tests/functional/openlp_plugins/bibles/test_osisimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_swordimport.py b/tests/functional/openlp_plugins/bibles/test_swordimport.py index ca3914e3e..7f6200219 100644 --- a/tests/functional/openlp_plugins/bibles/test_swordimport.py +++ b/tests/functional/openlp_plugins/bibles/test_swordimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_upgrade.py b/tests/functional/openlp_plugins/bibles/test_upgrade.py index 45ac20fcf..1215c18f4 100644 --- a/tests/functional/openlp_plugins/bibles/test_upgrade.py +++ b/tests/functional/openlp_plugins/bibles/test_upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_versereferencelist.py b/tests/functional/openlp_plugins/bibles/test_versereferencelist.py index 9af0c3d33..6c9088590 100644 --- a/tests/functional/openlp_plugins/bibles/test_versereferencelist.py +++ b/tests/functional/openlp_plugins/bibles/test_versereferencelist.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_wordprojectimport.py b/tests/functional/openlp_plugins/bibles/test_wordprojectimport.py index 66fa6191a..603fa6b47 100644 --- a/tests/functional/openlp_plugins/bibles/test_wordprojectimport.py +++ b/tests/functional/openlp_plugins/bibles/test_wordprojectimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/bibles/test_zefaniaimport.py b/tests/functional/openlp_plugins/bibles/test_zefaniaimport.py index 5c381551f..51da1c8a9 100644 --- a/tests/functional/openlp_plugins/bibles/test_zefaniaimport.py +++ b/tests/functional/openlp_plugins/bibles/test_zefaniaimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/custom/__init__.py b/tests/functional/openlp_plugins/custom/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/custom/__init__.py +++ b/tests/functional/openlp_plugins/custom/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/custom/test_mediaitem.py b/tests/functional/openlp_plugins/custom/test_mediaitem.py index fda532965..8f650781a 100644 --- a/tests/functional/openlp_plugins/custom/test_mediaitem.py +++ b/tests/functional/openlp_plugins/custom/test_mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/images/__init__.py b/tests/functional/openlp_plugins/images/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/images/__init__.py +++ b/tests/functional/openlp_plugins/images/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/images/test_imagetab.py b/tests/functional/openlp_plugins/images/test_imagetab.py index 40b70454a..4eee560dd 100644 --- a/tests/functional/openlp_plugins/images/test_imagetab.py +++ b/tests/functional/openlp_plugins/images/test_imagetab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/images/test_lib.py b/tests/functional/openlp_plugins/images/test_lib.py index 8c13ae10b..2324db41d 100644 --- a/tests/functional/openlp_plugins/images/test_lib.py +++ b/tests/functional/openlp_plugins/images/test_lib.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/images/test_upgrade.py b/tests/functional/openlp_plugins/images/test_upgrade.py index 753e54b0f..2688b187d 100644 --- a/tests/functional/openlp_plugins/images/test_upgrade.py +++ b/tests/functional/openlp_plugins/images/test_upgrade.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/media/test_mediaitem.py b/tests/functional/openlp_plugins/media/test_mediaitem.py index 3e8c784eb..8c5a98d80 100644 --- a/tests/functional/openlp_plugins/media/test_mediaitem.py +++ b/tests/functional/openlp_plugins/media/test_mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/media/test_mediaplugin.py b/tests/functional/openlp_plugins/media/test_mediaplugin.py index 7ea775245..f7e90f1dc 100644 --- a/tests/functional/openlp_plugins/media/test_mediaplugin.py +++ b/tests/functional/openlp_plugins/media/test_mediaplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/__init__.py b/tests/functional/openlp_plugins/presentations/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/functional/openlp_plugins/presentations/__init__.py +++ b/tests/functional/openlp_plugins/presentations/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_impresscontroller.py b/tests/functional/openlp_plugins/presentations/test_impresscontroller.py index 32791336f..b32dfb3f3 100644 --- a/tests/functional/openlp_plugins/presentations/test_impresscontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_impresscontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_libreofficeserver.py b/tests/functional/openlp_plugins/presentations/test_libreofficeserver.py index f428e74a3..972acd48a 100644 --- a/tests/functional/openlp_plugins/presentations/test_libreofficeserver.py +++ b/tests/functional/openlp_plugins/presentations/test_libreofficeserver.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_maclocontroller.py b/tests/functional/openlp_plugins/presentations/test_maclocontroller.py index 93c615b54..d61998dc7 100644 --- a/tests/functional/openlp_plugins/presentations/test_maclocontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_maclocontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_mediaitem.py b/tests/functional/openlp_plugins/presentations/test_mediaitem.py index 5ab1061b8..cd7c3171d 100644 --- a/tests/functional/openlp_plugins/presentations/test_mediaitem.py +++ b/tests/functional/openlp_plugins/presentations/test_mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_messagelistener.py b/tests/functional/openlp_plugins/presentations/test_messagelistener.py index 9b70ab226..bd719e1e9 100644 --- a/tests/functional/openlp_plugins/presentations/test_messagelistener.py +++ b/tests/functional/openlp_plugins/presentations/test_messagelistener.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py b/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py index 7ad89f133..9da71bdb2 100644 --- a/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_pdfcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py b/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py index 2bd101867..535da7493 100644 --- a/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py.THIS b/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py.THIS index 0e853aefa..0e0995f9f 100644 --- a/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py.THIS +++ b/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py.THIS @@ -1,224 +1,224 @@ -# -*- coding: utf-8 -*- -# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## -""" -This module contains tests for the pptviewcontroller module of the Presentations plugin. -""" -import shutil -from tempfile import mkdtemp -from unittest import TestCase, skipIf -from unittest.mock import MagicMock, patch - -from openlp.core.common import is_win -from openlp.core.common.path import Path -from openlp.plugins.presentations.lib.pptviewcontroller import PptviewDocument, PptviewController -from tests.helpers.testmixin import TestMixin -from tests.utils.constants import RESOURCE_PATH - - -class TestPptviewController(TestCase, TestMixin): - """ - Test the PptviewController Class - """ - def setUp(self): - """ - Set up the patches and mocks need for all tests. - """ - self.setup_application() - self.build_settings() - self.mock_plugin = MagicMock() - self.temp_folder = mkdtemp() - self.mock_plugin.settings_section = self.temp_folder - - def tearDown(self): - """ - Stop the patches - """ - self.destroy_settings() - shutil.rmtree(self.temp_folder) - - def test_constructor(self): - """ - Test the Constructor from the PptViewController - """ - # GIVEN: No presentation controller - controller = None - - # WHEN: The presentation controller object is created - controller = PptviewController(plugin=self.mock_plugin) - - # THEN: The name of the presentation controller should be correct - assert 'Powerpoint Viewer' == controller.name, 'The name of the presentation controller should be correct' - - @skipIf(not is_win(), 'Not Windows') - @patch('openlp.plugins.presentations.lib.pptviewcontroller.cdll.LoadLibrary') - def test_check_available(self, mocked_load_library): - """ - Test check_available / check_installed - """ - # GIVEN: A mocked dll loader and a controller - mocked_process = MagicMock() - mocked_process.CheckInstalled.return_value = True - mocked_load_library.return_value = mocked_process - controller = PptviewController(plugin=self.mock_plugin) - - # WHEN: check_available is called - available = controller.check_available() - - # THEN: On windows it should return True, on other platforms False - assert available is True, 'check_available should return True on windows.' - - -class TestPptviewDocument(TestCase): - """ - Test the PptviewDocument Class - """ - def setUp(self): - """ - Set up the patches and mocks need for all tests. - """ - self.pptview_document_create_thumbnails_patcher = patch( - 'openlp.plugins.presentations.lib.pptviewcontroller.PptviewDocument.create_thumbnails') - self.pptview_document_stop_presentation_patcher = patch( - 'openlp.plugins.presentations.lib.pptviewcontroller.PptviewDocument.stop_presentation') - self.presentation_document_get_temp_folder_patcher = patch( - 'openlp.plugins.presentations.lib.pptviewcontroller.PresentationDocument.get_temp_folder') - self.presentation_document_setup_patcher = patch( - 'openlp.plugins.presentations.lib.pptviewcontroller.PresentationDocument._setup') - self.screen_list_patcher = patch('openlp.plugins.presentations.lib.pptviewcontroller.ScreenList') - self.rect_patcher = MagicMock() - self.mock_pptview_document_create_thumbnails = self.pptview_document_create_thumbnails_patcher.start() - self.mock_pptview_document_stop_presentation = self.pptview_document_stop_presentation_patcher.start() - self.mock_presentation_document_get_temp_folder = self.presentation_document_get_temp_folder_patcher.start() - self.mock_presentation_document_setup = self.presentation_document_setup_patcher.start() - self.mock_rect = self.rect_patcher.start() - self.mock_screen_list = self.screen_list_patcher.start() - self.mock_controller = MagicMock() - self.mock_presentation = MagicMock() - self.temp_folder = mkdtemp() - self.mock_presentation_document_get_temp_folder.return_value = self.temp_folder - - def tearDown(self): - """ - Stop the patches - """ - self.pptview_document_create_thumbnails_patcher.stop() - self.pptview_document_stop_presentation_patcher.stop() - self.presentation_document_get_temp_folder_patcher.stop() - self.presentation_document_setup_patcher.stop() - self.rect_patcher.stop() - self.screen_list_patcher.stop() - shutil.rmtree(self.temp_folder) - - @skipIf(not is_win(), 'Not Windows') - def test_load_presentation_succesful(self): - """ - Test the PptviewDocument.load_presentation() method when the PPT is successfully opened - """ - # GIVEN: A reset mocked_os - self.mock_controller.process.OpenPPT.return_value = 0 - instance = PptviewDocument(self.mock_controller, self.mock_presentation) - instance.file_path = 'test\path.ppt' - - # WHEN: The temporary directory exists and OpenPPT returns successfully (not -1) - result = instance.load_presentation() - - # THEN: PptviewDocument.load_presentation should return True - assert result is True - - @skipIf(not is_win(), 'Not Windows') - def test_load_presentation_un_succesful(self): - """ - Test the PptviewDocument.load_presentation() method when the temporary directory does not exist and the PPT is - not successfully opened - """ - # GIVEN: A reset mock_os_isdir - self.mock_controller.process.OpenPPT.return_value = -1 - instance = PptviewDocument(self.mock_controller, self.mock_presentation) - instance.file_path = 'test\path.ppt' - - # WHEN: The temporary directory does not exist and OpenPPT returns unsuccessfully (-1) - with patch.object(instance, 'get_temp_folder') as mocked_get_folder: - mocked_get_folder.return_value = MagicMock(spec=Path) - result = instance.load_presentation() - - # THEN: The temp folder should be created and PptviewDocument.load_presentation should return False - assert result is False - - def test_create_titles_and_notes(self): - """ - Test PowerpointController.create_titles_and_notes - """ - # GIVEN: mocked PresentationController.save_titles_and_notes and a pptx file - doc = PptviewDocument(self.mock_controller, self.mock_presentation) - doc.file_path = RESOURCE_PATH / 'presentations' / 'test.pptx' - doc.save_titles_and_notes = MagicMock() - - # WHEN reading the titles and notes - doc.create_titles_and_notes() - - # THEN save_titles_and_notes should have been called once with empty arrays - doc.save_titles_and_notes.assert_called_once_with(['Test 1\n', '\n', 'Test 2\n', 'Test 4\n', 'Test 3\n'], - ['Notes for slide 1', 'Inserted', 'Notes for slide 2', - 'Notes \nfor slide 4', 'Notes for slide 3']) - - def test_create_titles_and_notes_nonexistent_file(self): - """ - Test PowerpointController.create_titles_and_notes with nonexistent file - """ - # GIVEN: mocked PresentationController.save_titles_and_notes and an nonexistent file - with patch('builtins.open') as mocked_open, \ - patch.object(Path, 'exists') as mocked_path_exists, \ - patch('openlp.plugins.presentations.lib.presentationcontroller.create_paths') as \ - mocked_dir_exists: - mocked_path_exists.return_value = False - mocked_dir_exists.return_value = False - doc = PptviewDocument(self.mock_controller, self.mock_presentation) - doc.file_path = Path('Idontexist.pptx') - doc.save_titles_and_notes = MagicMock() - - # WHEN: Reading the titles and notes - doc.create_titles_and_notes() - - # THEN: File existens should have been checked, and not have been opened. - doc.save_titles_and_notes.assert_called_once_with(None, None) - mocked_path_exists.assert_called_with() - assert mocked_open.call_count == 0, 'There should be no calls to open a file.' - - def test_create_titles_and_notes_invalid_file(self): - """ - Test PowerpointController.create_titles_and_notes with invalid file - """ - # GIVEN: mocked PresentationController.save_titles_and_notes and an invalid file - with patch('builtins.open') as mocked_open, \ - patch('openlp.plugins.presentations.lib.pptviewcontroller.zipfile.is_zipfile') as mocked_is_zf: - mocked_is_zf.return_value = False - mocked_open.filesize = 10 - doc = PptviewDocument(self.mock_controller, self.mock_presentation) - doc.file_path = RESOURCE_PATH / 'presentations' / 'test.ppt' - doc.save_titles_and_notes = MagicMock() - - # WHEN: reading the titles and notes - doc.create_titles_and_notes() - - # THEN: - doc.save_titles_and_notes.assert_called_once_with(None, None) - assert mocked_is_zf.call_count == 1, 'is_zipfile should have been called once' +# -*- coding: utf-8 -*- +# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## +""" +This module contains tests for the pptviewcontroller module of the Presentations plugin. +""" +import shutil +from tempfile import mkdtemp +from unittest import TestCase, skipIf +from unittest.mock import MagicMock, patch + +from openlp.core.common import is_win +from openlp.core.common.path import Path +from openlp.plugins.presentations.lib.pptviewcontroller import PptviewDocument, PptviewController +from tests.helpers.testmixin import TestMixin +from tests.utils.constants import RESOURCE_PATH + + +class TestPptviewController(TestCase, TestMixin): + """ + Test the PptviewController Class + """ + def setUp(self): + """ + Set up the patches and mocks need for all tests. + """ + self.setup_application() + self.build_settings() + self.mock_plugin = MagicMock() + self.temp_folder = mkdtemp() + self.mock_plugin.settings_section = self.temp_folder + + def tearDown(self): + """ + Stop the patches + """ + self.destroy_settings() + shutil.rmtree(self.temp_folder) + + def test_constructor(self): + """ + Test the Constructor from the PptViewController + """ + # GIVEN: No presentation controller + controller = None + + # WHEN: The presentation controller object is created + controller = PptviewController(plugin=self.mock_plugin) + + # THEN: The name of the presentation controller should be correct + assert 'Powerpoint Viewer' == controller.name, 'The name of the presentation controller should be correct' + + @skipIf(not is_win(), 'Not Windows') + @patch('openlp.plugins.presentations.lib.pptviewcontroller.cdll.LoadLibrary') + def test_check_available(self, mocked_load_library): + """ + Test check_available / check_installed + """ + # GIVEN: A mocked dll loader and a controller + mocked_process = MagicMock() + mocked_process.CheckInstalled.return_value = True + mocked_load_library.return_value = mocked_process + controller = PptviewController(plugin=self.mock_plugin) + + # WHEN: check_available is called + available = controller.check_available() + + # THEN: On windows it should return True, on other platforms False + assert available is True, 'check_available should return True on windows.' + + +class TestPptviewDocument(TestCase): + """ + Test the PptviewDocument Class + """ + def setUp(self): + """ + Set up the patches and mocks need for all tests. + """ + self.pptview_document_create_thumbnails_patcher = patch( + 'openlp.plugins.presentations.lib.pptviewcontroller.PptviewDocument.create_thumbnails') + self.pptview_document_stop_presentation_patcher = patch( + 'openlp.plugins.presentations.lib.pptviewcontroller.PptviewDocument.stop_presentation') + self.presentation_document_get_temp_folder_patcher = patch( + 'openlp.plugins.presentations.lib.pptviewcontroller.PresentationDocument.get_temp_folder') + self.presentation_document_setup_patcher = patch( + 'openlp.plugins.presentations.lib.pptviewcontroller.PresentationDocument._setup') + self.screen_list_patcher = patch('openlp.plugins.presentations.lib.pptviewcontroller.ScreenList') + self.rect_patcher = MagicMock() + self.mock_pptview_document_create_thumbnails = self.pptview_document_create_thumbnails_patcher.start() + self.mock_pptview_document_stop_presentation = self.pptview_document_stop_presentation_patcher.start() + self.mock_presentation_document_get_temp_folder = self.presentation_document_get_temp_folder_patcher.start() + self.mock_presentation_document_setup = self.presentation_document_setup_patcher.start() + self.mock_rect = self.rect_patcher.start() + self.mock_screen_list = self.screen_list_patcher.start() + self.mock_controller = MagicMock() + self.mock_presentation = MagicMock() + self.temp_folder = mkdtemp() + self.mock_presentation_document_get_temp_folder.return_value = self.temp_folder + + def tearDown(self): + """ + Stop the patches + """ + self.pptview_document_create_thumbnails_patcher.stop() + self.pptview_document_stop_presentation_patcher.stop() + self.presentation_document_get_temp_folder_patcher.stop() + self.presentation_document_setup_patcher.stop() + self.rect_patcher.stop() + self.screen_list_patcher.stop() + shutil.rmtree(self.temp_folder) + + @skipIf(not is_win(), 'Not Windows') + def test_load_presentation_succesful(self): + """ + Test the PptviewDocument.load_presentation() method when the PPT is successfully opened + """ + # GIVEN: A reset mocked_os + self.mock_controller.process.OpenPPT.return_value = 0 + instance = PptviewDocument(self.mock_controller, self.mock_presentation) + instance.file_path = 'test\path.ppt' + + # WHEN: The temporary directory exists and OpenPPT returns successfully (not -1) + result = instance.load_presentation() + + # THEN: PptviewDocument.load_presentation should return True + assert result is True + + @skipIf(not is_win(), 'Not Windows') + def test_load_presentation_un_succesful(self): + """ + Test the PptviewDocument.load_presentation() method when the temporary directory does not exist and the PPT is + not successfully opened + """ + # GIVEN: A reset mock_os_isdir + self.mock_controller.process.OpenPPT.return_value = -1 + instance = PptviewDocument(self.mock_controller, self.mock_presentation) + instance.file_path = 'test\path.ppt' + + # WHEN: The temporary directory does not exist and OpenPPT returns unsuccessfully (-1) + with patch.object(instance, 'get_temp_folder') as mocked_get_folder: + mocked_get_folder.return_value = MagicMock(spec=Path) + result = instance.load_presentation() + + # THEN: The temp folder should be created and PptviewDocument.load_presentation should return False + assert result is False + + def test_create_titles_and_notes(self): + """ + Test PowerpointController.create_titles_and_notes + """ + # GIVEN: mocked PresentationController.save_titles_and_notes and a pptx file + doc = PptviewDocument(self.mock_controller, self.mock_presentation) + doc.file_path = RESOURCE_PATH / 'presentations' / 'test.pptx' + doc.save_titles_and_notes = MagicMock() + + # WHEN reading the titles and notes + doc.create_titles_and_notes() + + # THEN save_titles_and_notes should have been called once with empty arrays + doc.save_titles_and_notes.assert_called_once_with(['Test 1\n', '\n', 'Test 2\n', 'Test 4\n', 'Test 3\n'], + ['Notes for slide 1', 'Inserted', 'Notes for slide 2', + 'Notes \nfor slide 4', 'Notes for slide 3']) + + def test_create_titles_and_notes_nonexistent_file(self): + """ + Test PowerpointController.create_titles_and_notes with nonexistent file + """ + # GIVEN: mocked PresentationController.save_titles_and_notes and an nonexistent file + with patch('builtins.open') as mocked_open, \ + patch.object(Path, 'exists') as mocked_path_exists, \ + patch('openlp.plugins.presentations.lib.presentationcontroller.create_paths') as \ + mocked_dir_exists: + mocked_path_exists.return_value = False + mocked_dir_exists.return_value = False + doc = PptviewDocument(self.mock_controller, self.mock_presentation) + doc.file_path = Path('Idontexist.pptx') + doc.save_titles_and_notes = MagicMock() + + # WHEN: Reading the titles and notes + doc.create_titles_and_notes() + + # THEN: File existens should have been checked, and not have been opened. + doc.save_titles_and_notes.assert_called_once_with(None, None) + mocked_path_exists.assert_called_with() + assert mocked_open.call_count == 0, 'There should be no calls to open a file.' + + def test_create_titles_and_notes_invalid_file(self): + """ + Test PowerpointController.create_titles_and_notes with invalid file + """ + # GIVEN: mocked PresentationController.save_titles_and_notes and an invalid file + with patch('builtins.open') as mocked_open, \ + patch('openlp.plugins.presentations.lib.pptviewcontroller.zipfile.is_zipfile') as mocked_is_zf: + mocked_is_zf.return_value = False + mocked_open.filesize = 10 + doc = PptviewDocument(self.mock_controller, self.mock_presentation) + doc.file_path = RESOURCE_PATH / 'presentations' / 'test.ppt' + doc.save_titles_and_notes = MagicMock() + + # WHEN: reading the titles and notes + doc.create_titles_and_notes() + + # THEN: + doc.save_titles_and_notes.assert_called_once_with(None, None) + assert mocked_is_zf.call_count == 1, 'is_zipfile should have been called once' diff --git a/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py b/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py index 887807f58..8b65b19c2 100644 --- a/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/__init__.py b/tests/functional/openlp_plugins/songs/__init__.py index 0bcf6226c..c5c33118e 100644 --- a/tests/functional/openlp_plugins/songs/__init__.py +++ b/tests/functional/openlp_plugins/songs/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_chordproimport.py b/tests/functional/openlp_plugins/songs/test_chordproimport.py index 95cc8ca45..55883f4d5 100644 --- a/tests/functional/openlp_plugins/songs/test_chordproimport.py +++ b/tests/functional/openlp_plugins/songs/test_chordproimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_db.py b/tests/functional/openlp_plugins/songs/test_db.py index 247a50235..8c2292a09 100644 --- a/tests/functional/openlp_plugins/songs/test_db.py +++ b/tests/functional/openlp_plugins/songs/test_db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_easyslidesimport.py b/tests/functional/openlp_plugins/songs/test_easyslidesimport.py index 425e78434..e41e82784 100644 --- a/tests/functional/openlp_plugins/songs/test_easyslidesimport.py +++ b/tests/functional/openlp_plugins/songs/test_easyslidesimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_editsongform.py b/tests/functional/openlp_plugins/songs/test_editsongform.py index da7e94d9e..0078fcc1c 100644 --- a/tests/functional/openlp_plugins/songs/test_editsongform.py +++ b/tests/functional/openlp_plugins/songs/test_editsongform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_editverseform.py b/tests/functional/openlp_plugins/songs/test_editverseform.py index 3ff9e4511..ac6caf648 100644 --- a/tests/functional/openlp_plugins/songs/test_editverseform.py +++ b/tests/functional/openlp_plugins/songs/test_editverseform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_ewimport.py b/tests/functional/openlp_plugins/songs/test_ewimport.py index b47507c3b..275b60126 100644 --- a/tests/functional/openlp_plugins/songs/test_ewimport.py +++ b/tests/functional/openlp_plugins/songs/test_ewimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_foilpresenterimport.py b/tests/functional/openlp_plugins/songs/test_foilpresenterimport.py index 272b3ce66..a746ab307 100644 --- a/tests/functional/openlp_plugins/songs/test_foilpresenterimport.py +++ b/tests/functional/openlp_plugins/songs/test_foilpresenterimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_lib.py b/tests/functional/openlp_plugins/songs/test_lib.py index 3dd273913..24b7f86b2 100644 --- a/tests/functional/openlp_plugins/songs/test_lib.py +++ b/tests/functional/openlp_plugins/songs/test_lib.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_liveworshipimport.py b/tests/functional/openlp_plugins/songs/test_liveworshipimport.py index efd09982b..9edcb78f0 100644 --- a/tests/functional/openlp_plugins/songs/test_liveworshipimport.py +++ b/tests/functional/openlp_plugins/songs/test_liveworshipimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_lyriximport.py b/tests/functional/openlp_plugins/songs/test_lyriximport.py index c195bfeb6..f1bc912ba 100644 --- a/tests/functional/openlp_plugins/songs/test_lyriximport.py +++ b/tests/functional/openlp_plugins/songs/test_lyriximport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_mediaitem.py b/tests/functional/openlp_plugins/songs/test_mediaitem.py index 0c119d37a..8cae25a56 100644 --- a/tests/functional/openlp_plugins/songs/test_mediaitem.py +++ b/tests/functional/openlp_plugins/songs/test_mediaitem.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_mediashout.py b/tests/functional/openlp_plugins/songs/test_mediashout.py index be3c6d94e..6d326505a 100644 --- a/tests/functional/openlp_plugins/songs/test_mediashout.py +++ b/tests/functional/openlp_plugins/songs/test_mediashout.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_openlpimporter.py b/tests/functional/openlp_plugins/songs/test_openlpimporter.py index 6f0608f2a..4f59146f8 100644 --- a/tests/functional/openlp_plugins/songs/test_openlpimporter.py +++ b/tests/functional/openlp_plugins/songs/test_openlpimporter.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_openlyricsexport.py b/tests/functional/openlp_plugins/songs/test_openlyricsexport.py index 005413916..a8d5fbfbc 100644 --- a/tests/functional/openlp_plugins/songs/test_openlyricsexport.py +++ b/tests/functional/openlp_plugins/songs/test_openlyricsexport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_openlyricsimport.py b/tests/functional/openlp_plugins/songs/test_openlyricsimport.py index e0dff0518..50f7e21c4 100644 --- a/tests/functional/openlp_plugins/songs/test_openlyricsimport.py +++ b/tests/functional/openlp_plugins/songs/test_openlyricsimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_openoffice.py b/tests/functional/openlp_plugins/songs/test_openoffice.py index 4238251d2..4ec7f6f00 100644 --- a/tests/functional/openlp_plugins/songs/test_openoffice.py +++ b/tests/functional/openlp_plugins/songs/test_openoffice.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_opensongimport.py b/tests/functional/openlp_plugins/songs/test_opensongimport.py index 98c530f72..2c0afc7ad 100644 --- a/tests/functional/openlp_plugins/songs/test_opensongimport.py +++ b/tests/functional/openlp_plugins/songs/test_opensongimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_opsproimport.py b/tests/functional/openlp_plugins/songs/test_opsproimport.py index f41c7f0f9..aa6298f35 100644 --- a/tests/functional/openlp_plugins/songs/test_opsproimport.py +++ b/tests/functional/openlp_plugins/songs/test_opsproimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_powerpraiseimport.py b/tests/functional/openlp_plugins/songs/test_powerpraiseimport.py index bf4aa83c3..cd91fe993 100644 --- a/tests/functional/openlp_plugins/songs/test_powerpraiseimport.py +++ b/tests/functional/openlp_plugins/songs/test_powerpraiseimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py b/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py index 251dddf71..492bebbd2 100644 --- a/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py +++ b/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_propresenterimport.py b/tests/functional/openlp_plugins/songs/test_propresenterimport.py index ef9ca9d46..dcf897a1f 100644 --- a/tests/functional/openlp_plugins/songs/test_propresenterimport.py +++ b/tests/functional/openlp_plugins/songs/test_propresenterimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_singingthefaithimport.py b/tests/functional/openlp_plugins/songs/test_singingthefaithimport.py index c6c8c1069..adcef2ff0 100644 --- a/tests/functional/openlp_plugins/songs/test_singingthefaithimport.py +++ b/tests/functional/openlp_plugins/songs/test_singingthefaithimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_songbeamerimport.py b/tests/functional/openlp_plugins/songs/test_songbeamerimport.py index 5ca8e2c8e..c2a7cec35 100644 --- a/tests/functional/openlp_plugins/songs/test_songbeamerimport.py +++ b/tests/functional/openlp_plugins/songs/test_songbeamerimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_songformat.py b/tests/functional/openlp_plugins/songs/test_songformat.py index 8b5f94d19..7658e2ab5 100644 --- a/tests/functional/openlp_plugins/songs/test_songformat.py +++ b/tests/functional/openlp_plugins/songs/test_songformat.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_songproimport.py b/tests/functional/openlp_plugins/songs/test_songproimport.py index 9922a0ed1..302c65ed7 100644 --- a/tests/functional/openlp_plugins/songs/test_songproimport.py +++ b/tests/functional/openlp_plugins/songs/test_songproimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_songselect.py b/tests/functional/openlp_plugins/songs/test_songselect.py index 7fb67a27c..d45890ec3 100644 --- a/tests/functional/openlp_plugins/songs/test_songselect.py +++ b/tests/functional/openlp_plugins/songs/test_songselect.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_songshowplusimport.py b/tests/functional/openlp_plugins/songs/test_songshowplusimport.py index 04494e9fa..ba14639cf 100644 --- a/tests/functional/openlp_plugins/songs/test_songshowplusimport.py +++ b/tests/functional/openlp_plugins/songs/test_songshowplusimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_sundayplusimport.py b/tests/functional/openlp_plugins/songs/test_sundayplusimport.py index ce71ed895..9d74f6494 100644 --- a/tests/functional/openlp_plugins/songs/test_sundayplusimport.py +++ b/tests/functional/openlp_plugins/songs/test_sundayplusimport.py @@ -1,48 +1,48 @@ -# -*- coding: utf-8 -*- - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## -""" -This module contains tests for the SundayPlus song importer. -""" -from unittest.mock import patch - -from tests.helpers.songfileimport import SongImportTestHelper -from tests.utils.constants import RESOURCE_PATH - - -TEST_PATH = RESOURCE_PATH / 'songs' / 'sundayplus' - - -class TestSundayPlusFileImport(SongImportTestHelper): - - def __init__(self, *args, **kwargs): - self.importer_class_name = 'SundayPlusImport' - self.importer_module_name = 'sundayplus' - super(TestSundayPlusFileImport, self).__init__(*args, **kwargs) - - def test_song_import(self): - """ - Test that loading an SundayPlus file works correctly on various files - """ - with patch('openlp.plugins.songs.lib.importers.sundayplus.retrieve_windows_encoding') as \ - mocked_retrieve_windows_encoding: - mocked_retrieve_windows_encoding.return_value = 'cp1252' - self.file_import([TEST_PATH / 'Amazing Grace.ptf'], - self.load_external_result_data(TEST_PATH / 'Amazing Grace.json')) +# -*- coding: utf-8 -*- + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## +""" +This module contains tests for the SundayPlus song importer. +""" +from unittest.mock import patch + +from tests.helpers.songfileimport import SongImportTestHelper +from tests.utils.constants import RESOURCE_PATH + + +TEST_PATH = RESOURCE_PATH / 'songs' / 'sundayplus' + + +class TestSundayPlusFileImport(SongImportTestHelper): + + def __init__(self, *args, **kwargs): + self.importer_class_name = 'SundayPlusImport' + self.importer_module_name = 'sundayplus' + super(TestSundayPlusFileImport, self).__init__(*args, **kwargs) + + def test_song_import(self): + """ + Test that loading an SundayPlus file works correctly on various files + """ + with patch('openlp.plugins.songs.lib.importers.sundayplus.retrieve_windows_encoding') as \ + mocked_retrieve_windows_encoding: + mocked_retrieve_windows_encoding.return_value = 'cp1252' + self.file_import([TEST_PATH / 'Amazing Grace.ptf'], + self.load_external_result_data(TEST_PATH / 'Amazing Grace.json')) diff --git a/tests/functional/openlp_plugins/songs/test_videopsalm.py b/tests/functional/openlp_plugins/songs/test_videopsalm.py index 303955e4e..b5b2642f2 100644 --- a/tests/functional/openlp_plugins/songs/test_videopsalm.py +++ b/tests/functional/openlp_plugins/songs/test_videopsalm.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py b/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py index cdb99b258..cf78d5ade 100644 --- a/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py +++ b/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_worshipassistantimport.py b/tests/functional/openlp_plugins/songs/test_worshipassistantimport.py index 2ae6189c0..75d95c8ff 100644 --- a/tests/functional/openlp_plugins/songs/test_worshipassistantimport.py +++ b/tests/functional/openlp_plugins/songs/test_worshipassistantimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_worshipcenterproimport.py b/tests/functional/openlp_plugins/songs/test_worshipcenterproimport.py index 071ccf2ca..1d3eb3f4a 100644 --- a/tests/functional/openlp_plugins/songs/test_worshipcenterproimport.py +++ b/tests/functional/openlp_plugins/songs/test_worshipcenterproimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songs/test_zionworximport.py b/tests/functional/openlp_plugins/songs/test_zionworximport.py index 35efc7115..84137f7a2 100644 --- a/tests/functional/openlp_plugins/songs/test_zionworximport.py +++ b/tests/functional/openlp_plugins/songs/test_zionworximport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songusage/__init__.py b/tests/functional/openlp_plugins/songusage/__init__.py index b2ab332a0..bdd16912c 100644 --- a/tests/functional/openlp_plugins/songusage/__init__.py +++ b/tests/functional/openlp_plugins/songusage/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/functional/openlp_plugins/songusage/test_songusage.py b/tests/functional/openlp_plugins/songusage/test_songusage.py index a82ce68cc..c722244fb 100644 --- a/tests/functional/openlp_plugins/songusage/test_songusage.py +++ b/tests/functional/openlp_plugins/songusage/test_songusage.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/helpers/__init__.py b/tests/helpers/__init__.py index d2160ca7c..d2880dbc9 100644 --- a/tests/helpers/__init__.py +++ b/tests/helpers/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/helpers/songfileimport.py b/tests/helpers/songfileimport.py index 9f99724eb..33499f350 100644 --- a/tests/helpers/songfileimport.py +++ b/tests/helpers/songfileimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/helpers/testmixin.py b/tests/helpers/testmixin.py index a149e805e..6eb2bf8c9 100644 --- a/tests/helpers/testmixin.py +++ b/tests/helpers/testmixin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/__init__.py b/tests/interfaces/__init__.py index 2c17d38db..d5522b357 100644 --- a/tests/interfaces/__init__.py +++ b/tests/interfaces/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/__init__.py b/tests/interfaces/openlp_core/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/__init__.py +++ b/tests/interfaces/openlp_core/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/api/__init__.py b/tests/interfaces/openlp_core/api/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/api/__init__.py +++ b/tests/interfaces/openlp_core/api/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/common/__init__.py b/tests/interfaces/openlp_core/common/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/common/__init__.py +++ b/tests/interfaces/openlp_core/common/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/common/test_utils.py b/tests/interfaces/openlp_core/common/test_utils.py index c3480e13c..937918dbe 100644 --- a/tests/interfaces/openlp_core/common/test_utils.py +++ b/tests/interfaces/openlp_core/common/test_utils.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/lib/__init__.py b/tests/interfaces/openlp_core/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/lib/__init__.py +++ b/tests/interfaces/openlp_core/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/lib/test_pluginmanager.py b/tests/interfaces/openlp_core/lib/test_pluginmanager.py index c8d6a6428..fa9bc71c2 100644 --- a/tests/interfaces/openlp_core/lib/test_pluginmanager.py +++ b/tests/interfaces/openlp_core/lib/test_pluginmanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/__init__.py b/tests/interfaces/openlp_core/ui/__init__.py index 949126d1c..7e2be9ccf 100644 --- a/tests/interfaces/openlp_core/ui/__init__.py +++ b/tests/interfaces/openlp_core/ui/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/lib/__init__.py b/tests/interfaces/openlp_core/ui/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/ui/lib/__init__.py +++ b/tests/interfaces/openlp_core/ui/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_filerenamedialog.py b/tests/interfaces/openlp_core/ui/test_filerenamedialog.py index dac28107e..aa7b7c9ff 100644 --- a/tests/interfaces/openlp_core/ui/test_filerenamedialog.py +++ b/tests/interfaces/openlp_core/ui/test_filerenamedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_firsttimeform.py b/tests/interfaces/openlp_core/ui/test_firsttimeform.py index 9ead2bf29..85762a625 100644 --- a/tests/interfaces/openlp_core/ui/test_firsttimeform.py +++ b/tests/interfaces/openlp_core/ui/test_firsttimeform.py @@ -1,87 +1,87 @@ -# -*- coding: utf-8 -*- - -########################################################################## -# OpenLP - Open Source Lyrics Projection # -# ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # -# ---------------------------------------------------------------------- # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -########################################################################## -""" -Package to test the openlp.core.ui.firsttimeform package. -""" -from pathlib import Path -from unittest import TestCase -from unittest.mock import MagicMock, call, patch - -from openlp.core.common.registry import Registry -from openlp.core.ui.firsttimeform import ThemeListWidgetItem -from openlp.core.ui.icons import UiIcons -from tests.helpers.testmixin import TestMixin - - -class TestThemeListWidgetItem(TestCase, TestMixin): - def setUp(self): - self.sample_theme_data = {'file_name': 'BlueBurst.otz', 'sha256': 'sha_256_hash', - 'thumbnail': 'BlueBurst.png', 'title': 'Blue Burst'} - Registry.create() - self.registry = Registry() - mocked_app = MagicMock() - mocked_app.worker_threads = {} - Registry().register('application', mocked_app) - self.setup_application() - - move_to_thread_patcher = patch('openlp.core.ui.firsttimeform.DownloadWorker.moveToThread') - self.addCleanup(move_to_thread_patcher.stop) - move_to_thread_patcher.start() - set_icon_patcher = patch('openlp.core.ui.firsttimeform.ThemeListWidgetItem.setIcon') - self.addCleanup(set_icon_patcher.stop) - self.mocked_set_icon = set_icon_patcher.start() - q_thread_patcher = patch('openlp.core.ui.firsttimeform.QtCore.QThread') - self.addCleanup(q_thread_patcher.stop) - q_thread_patcher.start() - - def test_failed_download(self): - """ - Test that icon get set to indicate a failure when `DownloadWorker` emits the download_failed signal - """ - # GIVEN: An instance of `DownloadWorker` - instance = ThemeListWidgetItem('url', self.sample_theme_data, MagicMock()) # noqa Overcome GC issue - worker_threads = Registry().get('application').worker_threads - worker = worker_threads['thumbnail_download_BlueBurst.png']['worker'] - - # WHEN: `DownloadWorker` emits the `download_failed` signal - worker.download_failed.emit() - - # THEN: Then the initial loading icon should have been replaced by the exception icon - self.mocked_set_icon.assert_has_calls([call(UiIcons().picture), call(UiIcons().exception)]) - - @patch('openlp.core.ui.firsttimeform.build_icon') - def test_successful_download(self, mocked_build_icon): - """ - Test that the downloaded thumbnail is set as the icon when `DownloadWorker` emits the `download_succeeded` - signal - """ - # GIVEN: An instance of `DownloadWorker` - instance = ThemeListWidgetItem('url', self.sample_theme_data, MagicMock()) # noqa Overcome GC issue - worker_threads = Registry().get('application').worker_threads - worker = worker_threads['thumbnail_download_BlueBurst.png']['worker'] - test_path = Path('downlaoded', 'file') - - # WHEN: `DownloadWorker` emits the `download_succeeded` signal - worker.download_succeeded.emit(test_path) - - # THEN: An icon should have been built from the downloaded file and used to replace the loading icon - mocked_build_icon.assert_called_once_with(test_path) - self.mocked_set_icon.assert_has_calls([call(UiIcons().picture), call(mocked_build_icon())]) +# -*- coding: utf-8 -*- + +########################################################################## +# OpenLP - Open Source Lyrics Projection # +# ---------------------------------------------------------------------- # +# Copyright (c) 2008-2020 OpenLP Developers # +# ---------------------------------------------------------------------- # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +########################################################################## +""" +Package to test the openlp.core.ui.firsttimeform package. +""" +from pathlib import Path +from unittest import TestCase +from unittest.mock import MagicMock, call, patch + +from openlp.core.common.registry import Registry +from openlp.core.ui.firsttimeform import ThemeListWidgetItem +from openlp.core.ui.icons import UiIcons +from tests.helpers.testmixin import TestMixin + + +class TestThemeListWidgetItem(TestCase, TestMixin): + def setUp(self): + self.sample_theme_data = {'file_name': 'BlueBurst.otz', 'sha256': 'sha_256_hash', + 'thumbnail': 'BlueBurst.png', 'title': 'Blue Burst'} + Registry.create() + self.registry = Registry() + mocked_app = MagicMock() + mocked_app.worker_threads = {} + Registry().register('application', mocked_app) + self.setup_application() + + move_to_thread_patcher = patch('openlp.core.ui.firsttimeform.DownloadWorker.moveToThread') + self.addCleanup(move_to_thread_patcher.stop) + move_to_thread_patcher.start() + set_icon_patcher = patch('openlp.core.ui.firsttimeform.ThemeListWidgetItem.setIcon') + self.addCleanup(set_icon_patcher.stop) + self.mocked_set_icon = set_icon_patcher.start() + q_thread_patcher = patch('openlp.core.ui.firsttimeform.QtCore.QThread') + self.addCleanup(q_thread_patcher.stop) + q_thread_patcher.start() + + def test_failed_download(self): + """ + Test that icon get set to indicate a failure when `DownloadWorker` emits the download_failed signal + """ + # GIVEN: An instance of `DownloadWorker` + instance = ThemeListWidgetItem('url', self.sample_theme_data, MagicMock()) # noqa Overcome GC issue + worker_threads = Registry().get('application').worker_threads + worker = worker_threads['thumbnail_download_BlueBurst.png']['worker'] + + # WHEN: `DownloadWorker` emits the `download_failed` signal + worker.download_failed.emit() + + # THEN: Then the initial loading icon should have been replaced by the exception icon + self.mocked_set_icon.assert_has_calls([call(UiIcons().picture), call(UiIcons().exception)]) + + @patch('openlp.core.ui.firsttimeform.build_icon') + def test_successful_download(self, mocked_build_icon): + """ + Test that the downloaded thumbnail is set as the icon when `DownloadWorker` emits the `download_succeeded` + signal + """ + # GIVEN: An instance of `DownloadWorker` + instance = ThemeListWidgetItem('url', self.sample_theme_data, MagicMock()) # noqa Overcome GC issue + worker_threads = Registry().get('application').worker_threads + worker = worker_threads['thumbnail_download_BlueBurst.png']['worker'] + test_path = Path('downlaoded', 'file') + + # WHEN: `DownloadWorker` emits the `download_succeeded` signal + worker.download_succeeded.emit(test_path) + + # THEN: An icon should have been built from the downloaded file and used to replace the loading icon + mocked_build_icon.assert_called_once_with(test_path) + self.mocked_set_icon.assert_has_calls([call(UiIcons().picture), call(mocked_build_icon())]) diff --git a/tests/interfaces/openlp_core/ui/test_init.py b/tests/interfaces/openlp_core/ui/test_init.py index f0f66c944..cb252b0f4 100644 --- a/tests/interfaces/openlp_core/ui/test_init.py +++ b/tests/interfaces/openlp_core/ui/test_init.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_mainwindow.py b/tests/interfaces/openlp_core/ui/test_mainwindow.py index 857b31d4c..ca76d789b 100644 --- a/tests/interfaces/openlp_core/ui/test_mainwindow.py +++ b/tests/interfaces/openlp_core/ui/test_mainwindow.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_servicemanager.py b/tests/interfaces/openlp_core/ui/test_servicemanager.py index f028ad28f..160eab3da 100644 --- a/tests/interfaces/openlp_core/ui/test_servicemanager.py +++ b/tests/interfaces/openlp_core/ui/test_servicemanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_servicenotedialog.py b/tests/interfaces/openlp_core/ui/test_servicenotedialog.py index 56146c119..68374402f 100644 --- a/tests/interfaces/openlp_core/ui/test_servicenotedialog.py +++ b/tests/interfaces/openlp_core/ui/test_servicenotedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_settings_form.py b/tests/interfaces/openlp_core/ui/test_settings_form.py index 223093376..a22266df0 100644 --- a/tests/interfaces/openlp_core/ui/test_settings_form.py +++ b/tests/interfaces/openlp_core/ui/test_settings_form.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_shortcutlistform.py b/tests/interfaces/openlp_core/ui/test_shortcutlistform.py index 3660a6418..47bec5ab9 100644 --- a/tests/interfaces/openlp_core/ui/test_shortcutlistform.py +++ b/tests/interfaces/openlp_core/ui/test_shortcutlistform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_starttimedialog.py b/tests/interfaces/openlp_core/ui/test_starttimedialog.py index f29d7ba7d..8cd05463e 100644 --- a/tests/interfaces/openlp_core/ui/test_starttimedialog.py +++ b/tests/interfaces/openlp_core/ui/test_starttimedialog.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/ui/test_thememanager.py b/tests/interfaces/openlp_core/ui/test_thememanager.py index 789be5146..fc148228d 100644 --- a/tests/interfaces/openlp_core/ui/test_thememanager.py +++ b/tests/interfaces/openlp_core/ui/test_thememanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/widgets/__init__.py b/tests/interfaces/openlp_core/widgets/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_core/widgets/__init__.py +++ b/tests/interfaces/openlp_core/widgets/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/widgets/test_edits.py b/tests/interfaces/openlp_core/widgets/test_edits.py index c9c670203..5eea68148 100644 --- a/tests/interfaces/openlp_core/widgets/test_edits.py +++ b/tests/interfaces/openlp_core/widgets/test_edits.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_core/widgets/test_views.py b/tests/interfaces/openlp_core/widgets/test_views.py index 5291ab351..1ef009714 100644 --- a/tests/interfaces/openlp_core/widgets/test_views.py +++ b/tests/interfaces/openlp_core/widgets/test_views.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/__init__.py b/tests/interfaces/openlp_plugins/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/__init__.py +++ b/tests/interfaces/openlp_plugins/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/__init__.py b/tests/interfaces/openlp_plugins/bibles/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/bibles/__init__.py +++ b/tests/interfaces/openlp_plugins/bibles/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/forms/__init__.py b/tests/interfaces/openlp_plugins/bibles/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/bibles/forms/__init__.py +++ b/tests/interfaces/openlp_plugins/bibles/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py b/tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py index d078ad27d..029203813 100644 --- a/tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py +++ b/tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/test_lib_http.py b/tests/interfaces/openlp_plugins/bibles/test_lib_http.py index 977aae31f..5e396978b 100644 --- a/tests/interfaces/openlp_plugins/bibles/test_lib_http.py +++ b/tests/interfaces/openlp_plugins/bibles/test_lib_http.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/test_lib_manager.py b/tests/interfaces/openlp_plugins/bibles/test_lib_manager.py index f2d66c6a1..f3a256e83 100644 --- a/tests/interfaces/openlp_plugins/bibles/test_lib_manager.py +++ b/tests/interfaces/openlp_plugins/bibles/test_lib_manager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/bibles/test_lib_parse_reference.py b/tests/interfaces/openlp_plugins/bibles/test_lib_parse_reference.py index 19f1533ca..858f29b94 100644 --- a/tests/interfaces/openlp_plugins/bibles/test_lib_parse_reference.py +++ b/tests/interfaces/openlp_plugins/bibles/test_lib_parse_reference.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/custom/__init__.py b/tests/interfaces/openlp_plugins/custom/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/custom/__init__.py +++ b/tests/interfaces/openlp_plugins/custom/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/custom/forms/__init__.py b/tests/interfaces/openlp_plugins/custom/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/custom/forms/__init__.py +++ b/tests/interfaces/openlp_plugins/custom/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/custom/forms/test_customform.py b/tests/interfaces/openlp_plugins/custom/forms/test_customform.py index 6a4a84922..96e5ba975 100644 --- a/tests/interfaces/openlp_plugins/custom/forms/test_customform.py +++ b/tests/interfaces/openlp_plugins/custom/forms/test_customform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/custom/forms/test_customslideform.py b/tests/interfaces/openlp_plugins/custom/forms/test_customslideform.py index cecc71324..a572e0e18 100644 --- a/tests/interfaces/openlp_plugins/custom/forms/test_customslideform.py +++ b/tests/interfaces/openlp_plugins/custom/forms/test_customslideform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/images/__init__.py b/tests/interfaces/openlp_plugins/images/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/images/__init__.py +++ b/tests/interfaces/openlp_plugins/images/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py b/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py index 58255483f..015790b86 100644 --- a/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py +++ b/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/media/__init__.py b/tests/interfaces/openlp_plugins/media/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/media/__init__.py +++ b/tests/interfaces/openlp_plugins/media/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/media/forms/__init__.py b/tests/interfaces/openlp_plugins/media/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/media/forms/__init__.py +++ b/tests/interfaces/openlp_plugins/media/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py b/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py index b4a580c8f..ba17cf8ba 100644 --- a/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py +++ b/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/__init__.py b/tests/interfaces/openlp_plugins/planningcenter/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/__init__.py +++ b/tests/interfaces/openlp_plugins/planningcenter/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/forms/__init__.py b/tests/interfaces/openlp_plugins/planningcenter/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/forms/__init__.py +++ b/tests/interfaces/openlp_plugins/planningcenter/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/forms/test_selectplanform.py b/tests/interfaces/openlp_plugins/planningcenter/forms/test_selectplanform.py index 41cd37b2f..bfc5b42d2 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/forms/test_selectplanform.py +++ b/tests/interfaces/openlp_plugins/planningcenter/forms/test_selectplanform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/lib/__init__.py b/tests/interfaces/openlp_plugins/planningcenter/lib/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/lib/__init__.py +++ b/tests/interfaces/openlp_plugins/planningcenter/lib/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcenter_api.py b/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcenter_api.py index 59f420bec..e503bb0c3 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcenter_api.py +++ b/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcenter_api.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcentertab.py b/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcentertab.py index 473b6a404..dc4bed581 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcentertab.py +++ b/tests/interfaces/openlp_plugins/planningcenter/lib/test_planningcentertab.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/lib/test_songimport.py b/tests/interfaces/openlp_plugins/planningcenter/lib/test_songimport.py index 34d598321..de0aa38e2 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/lib/test_songimport.py +++ b/tests/interfaces/openlp_plugins/planningcenter/lib/test_songimport.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/planningcenter/test_planningcenterplugin.py b/tests/interfaces/openlp_plugins/planningcenter/test_planningcenterplugin.py index 5d08084e5..5d4e52ce4 100644 --- a/tests/interfaces/openlp_plugins/planningcenter/test_planningcenterplugin.py +++ b/tests/interfaces/openlp_plugins/planningcenter/test_planningcenterplugin.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -22,7 +22,7 @@ Package to test the openlp.plugins.planningcenter.planningcenterplugin package. """ from unittest import TestCase -from unittest.mock import patch, MagicMock +from unittest.mock import patch from PyQt5 import QtWidgets @@ -151,22 +151,3 @@ class TestPlanningCenterPlugin(TestCase, TestMixin): return_value = self.plugin.about() # THEN: self.assertGreater(len(return_value), 0, "About function returned some text") - - def test_finalise(self): - """ - Test finalise function - """ - # GIVEN: A PlanningCenterPlugin Class - # WHEN: finalise() is called - with patch('openlp.core.common.registry.Registry.get') as mock_get, \ - patch('openlp.plugins.planningcenter.planningcenterplugin.Song'), \ - patch('openlp.plugins.planningcenter.planningcenterplugin.CustomSlide'), \ - patch('openlp.plugins.planningcenter.planningcenterplugin.PlanningCenterPlugin.import_planning_center', - create=True): - mock_get.return_value.plugin.manager.get_all_objects.return_value = [MagicMock()] - mock_get.return_value.plugin.db_manager.get_all_objects.return_value = [MagicMock()] - self.plugin.finalise() - self.assertEqual(mock_get.return_value.plugin.manager.get_all_objects.call_count, 1, 'Get All Object Counts') - self.assertEqual(mock_get.return_value.plugin.manager.delete_object.call_count, 1, 'Get All Object Counts') - self.assertEqual(mock_get.return_value.plugin.db_manager.get_all_objects.call_count, 1, 'Get All Object Counts') - self.assertEqual(mock_get.return_value.plugin.db_manager.delete_object.call_count, 1, 'Delete Object Counts') diff --git a/tests/interfaces/openlp_plugins/songs/__init__.py b/tests/interfaces/openlp_plugins/songs/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/songs/__init__.py +++ b/tests/interfaces/openlp_plugins/songs/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/__init__.py b/tests/interfaces/openlp_plugins/songs/forms/__init__.py index 4496870fb..fa1ec5512 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/__init__.py +++ b/tests/interfaces/openlp_plugins/songs/forms/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_authorsform.py b/tests/interfaces/openlp_plugins/songs/forms/test_authorsform.py index 2cfb1fc03..bca00b814 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_authorsform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_authorsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py b/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py index ebd8c6598..ca65ffb00 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_editverseform.py b/tests/interfaces/openlp_plugins/songs/forms/test_editverseform.py index a233569ad..d2066305d 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_editverseform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_editverseform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_songmaintenanceform.py b/tests/interfaces/openlp_plugins/songs/forms/test_songmaintenanceform.py index 6647c07cb..e8c449249 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_songmaintenanceform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_songmaintenanceform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_topicsform.py b/tests/interfaces/openlp_plugins/songs/forms/test_topicsform.py index 19c593341..a2a28a284 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_topicsform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_topicsform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/__init__.py b/tests/openlp_core/__init__.py index 5e80a50f7..d6887c745 100644 --- a/tests/openlp_core/__init__.py +++ b/tests/openlp_core/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/api/test_zeroconf.py b/tests/openlp_core/api/test_zeroconf.py index b50be1e2c..901c559b6 100644 --- a/tests/openlp_core/api/test_zeroconf.py +++ b/tests/openlp_core/api/test_zeroconf.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/common/test_network_interfaces.py b/tests/openlp_core/common/test_network_interfaces.py index dff94d8c0..0feee7fbb 100644 --- a/tests/openlp_core/common/test_network_interfaces.py +++ b/tests/openlp_core/common/test_network_interfaces.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/common/test_utils.py b/tests/openlp_core/common/test_utils.py index 4d18969f7..77b0d81a7 100644 --- a/tests/openlp_core/common/test_utils.py +++ b/tests/openlp_core/common/test_utils.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/__init__.py b/tests/openlp_core/pages/__init__.py index 36a3e2274..8ffc2f7b8 100644 --- a/tests/openlp_core/pages/__init__.py +++ b/tests/openlp_core/pages/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/test_alignment.py b/tests/openlp_core/pages/test_alignment.py index 557c2c745..ac21ee139 100644 --- a/tests/openlp_core/pages/test_alignment.py +++ b/tests/openlp_core/pages/test_alignment.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/test_areaposition.py b/tests/openlp_core/pages/test_areaposition.py index 916221d9c..436531e77 100644 --- a/tests/openlp_core/pages/test_areaposition.py +++ b/tests/openlp_core/pages/test_areaposition.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/test_background.py b/tests/openlp_core/pages/test_background.py index d6090dffa..a2f523651 100644 --- a/tests/openlp_core/pages/test_background.py +++ b/tests/openlp_core/pages/test_background.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/test_fontselection.py b/tests/openlp_core/pages/test_fontselection.py index 64ecb7600..37abd5bdd 100644 --- a/tests/openlp_core/pages/test_fontselection.py +++ b/tests/openlp_core/pages/test_fontselection.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/pages/test_gridlayoutpage.py b/tests/openlp_core/pages/test_gridlayoutpage.py index f813586c2..9287b7523 100644 --- a/tests/openlp_core/pages/test_gridlayoutpage.py +++ b/tests/openlp_core/pages/test_gridlayoutpage.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/__init__.py b/tests/openlp_core/projectors/__init__.py index 256892277..83588a182 100644 --- a/tests/openlp_core/projectors/__init__.py +++ b/tests/openlp_core/projectors/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_bugfixes_01.py b/tests/openlp_core/projectors/test_projector_bugfixes_01.py index 7afebcd8c..b6b5020e3 100644 --- a/tests/openlp_core/projectors/test_projector_bugfixes_01.py +++ b/tests/openlp_core/projectors/test_projector_bugfixes_01.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_command_routing.py b/tests/openlp_core/projectors/test_projector_command_routing.py index 5aaa55db0..aaad42bbf 100644 --- a/tests/openlp_core/projectors/test_projector_command_routing.py +++ b/tests/openlp_core/projectors/test_projector_command_routing.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_commands_01.py b/tests/openlp_core/projectors/test_projector_commands_01.py index 3b76a0829..ecae05cf9 100644 --- a/tests/openlp_core/projectors/test_projector_commands_01.py +++ b/tests/openlp_core/projectors/test_projector_commands_01.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_commands_02.py b/tests/openlp_core/projectors/test_projector_commands_02.py index 563e8b17a..14f486a80 100644 --- a/tests/openlp_core/projectors/test_projector_commands_02.py +++ b/tests/openlp_core/projectors/test_projector_commands_02.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_commands_03.py b/tests/openlp_core/projectors/test_projector_commands_03.py index 7c8736039..997b44aa5 100644 --- a/tests/openlp_core/projectors/test_projector_commands_03.py +++ b/tests/openlp_core/projectors/test_projector_commands_03.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_constants.py b/tests/openlp_core/projectors/test_projector_constants.py index 43a00fdce..ff8d23031 100644 --- a/tests/openlp_core/projectors/test_projector_constants.py +++ b/tests/openlp_core/projectors/test_projector_constants.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_db.py b/tests/openlp_core/projectors/test_projector_db.py index 77f67abd6..3c5969fb2 100644 --- a/tests/openlp_core/projectors/test_projector_db.py +++ b/tests/openlp_core/projectors/test_projector_db.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_editform.py b/tests/openlp_core/projectors/test_projector_editform.py index 6183e5b6a..800f19fe9 100644 --- a/tests/openlp_core/projectors/test_projector_editform.py +++ b/tests/openlp_core/projectors/test_projector_editform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_pjlink_base_01.py b/tests/openlp_core/projectors/test_projector_pjlink_base_01.py index ffcc5911d..01fcbea6a 100644 --- a/tests/openlp_core/projectors/test_projector_pjlink_base_01.py +++ b/tests/openlp_core/projectors/test_projector_pjlink_base_01.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_pjlink_base_02.py b/tests/openlp_core/projectors/test_projector_pjlink_base_02.py index 0a6ab5f77..8e4efe2e7 100644 --- a/tests/openlp_core/projectors/test_projector_pjlink_base_02.py +++ b/tests/openlp_core/projectors/test_projector_pjlink_base_02.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_pjlink_base_03.py b/tests/openlp_core/projectors/test_projector_pjlink_base_03.py index e6c39fb62..cbb9addba 100644 --- a/tests/openlp_core/projectors/test_projector_pjlink_base_03.py +++ b/tests/openlp_core/projectors/test_projector_pjlink_base_03.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py b/tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py index fc94bab39..037399cf0 100644 --- a/tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py +++ b/tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_pjlink_udp.py b/tests/openlp_core/projectors/test_projector_pjlink_udp.py index aa9e400a0..408057dd1 100644 --- a/tests/openlp_core/projectors/test_projector_pjlink_udp.py +++ b/tests/openlp_core/projectors/test_projector_pjlink_udp.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_sourceform.py b/tests/openlp_core/projectors/test_projector_sourceform.py index 5b20110e3..7b020ab0d 100644 --- a/tests/openlp_core/projectors/test_projector_sourceform.py +++ b/tests/openlp_core/projectors/test_projector_sourceform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projector_utilities.py b/tests/openlp_core/projectors/test_projector_utilities.py index 6be373b44..64a249453 100644 --- a/tests/openlp_core/projectors/test_projector_utilities.py +++ b/tests/openlp_core/projectors/test_projector_utilities.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/projectors/test_projectormanager.py b/tests/openlp_core/projectors/test_projectormanager.py index 8d07062fb..4810ad09b 100644 --- a/tests/openlp_core/projectors/test_projectormanager.py +++ b/tests/openlp_core/projectors/test_projectormanager.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/ui/test_themeform.py b/tests/openlp_core/ui/test_themeform.py index 7fdc69bd7..6d101e4ef 100644 --- a/tests/openlp_core/ui/test_themeform.py +++ b/tests/openlp_core/ui/test_themeform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/ui/test_themeprogressform.py b/tests/openlp_core/ui/test_themeprogressform.py index a6b62cda8..368b73bb5 100644 --- a/tests/openlp_core/ui/test_themeprogressform.py +++ b/tests/openlp_core/ui/test_themeprogressform.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/openlp_core/widgets/test_widgets.py b/tests/openlp_core/widgets/test_widgets.py index 5754e4346..db5f5ae17 100644 --- a/tests/openlp_core/widgets/test_widgets.py +++ b/tests/openlp_core/widgets/test_widgets.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/resources/projector/data.py b/tests/resources/projector/data.py index de4b040c6..ba77e6260 100644 --- a/tests/resources/projector/data.py +++ b/tests/resources/projector/data.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/utils/__init__.py b/tests/utils/__init__.py index 5c771b09b..40e80328c 100644 --- a/tests/utils/__init__.py +++ b/tests/utils/__init__.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/utils/constants.py b/tests/utils/constants.py index 8f5338f06..5e18c094e 100644 --- a/tests/utils/constants.py +++ b/tests/utils/constants.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # diff --git a/tests/utils/osdinteraction.py b/tests/utils/osdinteraction.py index a3f66f727..313c73ad5 100644 --- a/tests/utils/osdinteraction.py +++ b/tests/utils/osdinteraction.py @@ -3,7 +3,7 @@ ########################################################################## # OpenLP - Open Source Lyrics Projection # # ---------------------------------------------------------------------- # -# Copyright (c) 2008-2019 OpenLP Developers # +# Copyright (c) 2008-2020 OpenLP Developers # # ---------------------------------------------------------------------- # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by #