Mercurial > libervia-web
changeset 339:2067d6241927
fixed docstrings wrong usage for licence informations
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 04 Feb 2014 17:21:59 +0100 |
parents | 80016abf3ad3 |
children | ce5b33f499c5 |
files | browser_side/base_panels.py browser_side/base_widget.py browser_side/card_game.py browser_side/contact.py browser_side/contact_group.py browser_side/dialog.py browser_side/jid.py browser_side/list_manager.py browser_side/menu.py browser_side/nativedom.py browser_side/panels.py browser_side/radiocol.py browser_side/register.py browser_side/richtext.py browser_side/tools.py browser_side/xmlui.py libervia.py libervia_server/__init__.py libervia_server/blog.py libervia_server/html_tools.py twisted/plugins/libervia.py |
diffstat | 21 files changed, 253 insertions(+), 295 deletions(-) [+] |
line wrap: on
line diff
--- a/browser_side/base_panels.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/base_panels.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.AbsolutePanel import AbsolutePanel
--- a/browser_side/base_widget.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/base_widget.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.SimplePanel import SimplePanel
--- a/browser_side/card_game.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/card_game.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.AbsolutePanel import AbsolutePanel
--- a/browser_side/contact.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/contact.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.SimplePanel import SimplePanel
--- a/browser_side/contact_group.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/contact_group.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.FlexTable import FlexTable from pyjamas.ui.DockPanel import DockPanel
--- a/browser_side/dialog.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/dialog.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.VerticalPanel import VerticalPanel from pyjamas.ui.Grid import Grid
--- a/browser_side/jid.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/jid.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. class JID(object):
--- a/browser_side/list_manager.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/list_manager.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.Grid import Grid from pyjamas.ui.Button import Button
--- a/browser_side/menu.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/menu.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.SimplePanel import SimplePanel
--- a/browser_side/nativedom.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/nativedom.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. """ This class provide basic DOM parsing based on native javascript parser
--- a/browser_side/panels.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/panels.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.SimplePanel import SimplePanel
--- a/browser_side/radiocol.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/radiocol.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.VerticalPanel import VerticalPanel
--- a/browser_side/register.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/register.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,24 +1,22 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -Copyright (C) 2011, 2012 Adrien Vigneron <adrienvigneron@mailoo.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Copyright (C) 2011, 2012 Adrien Vigneron <adrienvigneron@mailoo.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. #This page manage subscription and new account creation import pyjd # this is dummy in pyjs
--- a/browser_side/richtext.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/richtext.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2013 Adrien Cossa <souliane@mailoo.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.TextArea import TextArea from pyjamas.ui.Button import Button
--- a/browser_side/tools.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/tools.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.DragWidget import DragWidget from pyjamas.ui.FileUpload import FileUpload
--- a/browser_side/xmlui.py Tue Feb 04 16:49:21 2014 +0100 +++ b/browser_side/xmlui.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from pyjamas.ui.VerticalPanel import VerticalPanel from pyjamas.ui.HorizontalPanel import HorizontalPanel
--- a/libervia.py Tue Feb 04 16:49:21 2014 +0100 +++ b/libervia.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import pyjd # this is dummy in pyjs from pyjamas.ui.RootPanel import RootPanel
--- a/libervia_server/__init__.py Tue Feb 04 16:49:21 2014 +0100 +++ b/libervia_server/__init__.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from twisted.application import internet, service from twisted.internet import glib2reactor
--- a/libervia_server/blog.py Tue Feb 04 16:49:21 2014 +0100 +++ b/libervia_server/blog.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from sat_frontends.tools.strings import addURLToText from libervia_server.html_tools import sanitizeHtml
--- a/libervia_server/html_tools.py Tue Feb 04 16:49:21 2014 +0100 +++ b/libervia_server/html_tools.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2011, 2012, 2013 Jérôme Poisson <goffi@goffi.org> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. def sanitizeHtml(text): """Sanitize HTML by escaping everything"""
--- a/twisted/plugins/libervia.py Tue Feb 04 16:49:21 2014 +0100 +++ b/twisted/plugins/libervia.py Tue Feb 04 17:21:59 2014 +0100 @@ -1,23 +1,21 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -""" -Libervia: a Salut à Toi frontend -Copyright (C) 2013 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> +# Libervia: a Salut à Toi frontend +# Copyright (C) 2013 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero 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 free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# 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 Affero General Public License for more details. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from zope.interface import implements