Mercurial > libervia-web
changeset 1239:f511f8fbbf8a
fixed shebangs
line wrap: on
line diff
--- a/doc/conf.py Wed Jan 29 09:54:17 2020 +0100 +++ b/doc/conf.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- + # # Configuration file for the Sphinx documentation builder. #
--- a/libervia/common/constants.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/common/constants.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a SAT frontend # Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
--- a/libervia/pages/app/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/app/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + name = "app" template = "app/app.html"
--- a/libervia/pages/blog/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/blog/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from sat.core.i18n import _ from libervia.server.constants import Const as C from twisted.words.protocols.jabber import jid
--- a/libervia/pages/blog/view/atom.xml/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/blog/view/atom.xml/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/blog/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/blog/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + import unicodedata import re import html
--- a/libervia/pages/chat/select/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/chat/select/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from sat.core.i18n import _ from libervia.server.constants import Const as C
--- a/libervia/pages/events/admin/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/events/admin/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/events/new/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/events/new/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/events/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/events/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/events/rsvp/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/events/rsvp/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/events/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/events/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/files/list/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/files/list/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/files/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/files/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/files/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/files/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/forums/list/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/forums/list/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/forums/topics/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/forums/topics/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/forums/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/forums/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/g/e/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/g/e/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,4 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + redirect = "event_view"
--- a/libervia/pages/g/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/g/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/login/logged/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/login/logged/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server import session_iface from sat.core.log import getLogger
--- a/libervia/pages/login/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/login/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from sat.core.i18n import _ from sat.core import exceptions
--- a/libervia/pages/merge-requests/disco/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/merge-requests/disco/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.words.protocols.jabber import jid
--- a/libervia/pages/merge-requests/edit/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/merge-requests/edit/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/merge-requests/new/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/merge-requests/new/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.log import getLogger
--- a/libervia/pages/merge-requests/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/merge-requests/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/merge-requests/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/merge-requests/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/photos/album/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/photos/album/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.log import getLogger
--- a/libervia/pages/photos/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/photos/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/register/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/register/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from libervia.server import session_iface
--- a/libervia/pages/tickets/disco/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/tickets/disco/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.words.protocols.jabber import jid
--- a/libervia/pages/tickets/edit/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/tickets/edit/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/tickets/new/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/tickets/new/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/tickets/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/tickets/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/pages/tickets/view/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/tickets/view/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from sat.core.i18n import _
--- a/libervia/pages/u/atom.xml/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/u/atom.xml/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,4 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + redirect = "blog_feed_atom" name = "user_blog_feed_atom"
--- a/libervia/pages/u/blog/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/u/blog/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + name = "user_blog"
--- a/libervia/pages/u/page_meta.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/pages/u/page_meta.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + from libervia.server.constants import Const as C from twisted.internet import defer
--- a/libervia/server/blog.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/blog.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/classes.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/classes.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/constants.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/constants.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a SAT frontend # Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
--- a/libervia/server/html_tools.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/html_tools.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/pages.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/pages.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/pages_tools.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/pages_tools.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/session_iface.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/session_iface.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a SAT frontend # Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
--- a/libervia/server/tasks.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/tasks.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/utils.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/utils.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/libervia/server/websockets.py Wed Jan 29 09:54:17 2020 +0100 +++ b/libervia/server/websockets.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2020 Jérôme Poisson <goffi@goffi.org>
--- a/setup.py Wed Jan 29 09:54:17 2020 +0100 +++ b/setup.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- + # Libervia: a Salut à Toi frontend # Copyright (C) 2011-2018 Jérôme Poisson (goffi@goffi.org)
--- a/twisted/plugins/libervia_server.py Wed Jan 29 09:54:17 2020 +0100 +++ b/twisted/plugins/libervia_server.py Wed Jan 29 10:06:01 2020 +0100 @@ -1,5 +1,5 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 + # Libervia: a Salut à Toi frontend # Copyright (C) 2013-2018 Jérôme Poisson <goffi@goffi.org>