diff options
author | nagarjun <nagarjun@gnowledge.org> | 2012-07-13 13:18:54 +0530 |
---|---|---|
committer | nagarjun <nagarjun@gnowledge.org> | 2012-07-13 13:18:54 +0530 |
commit | c9c5a92ff185e3e2c8b038d9420c22f007bc6ad8 (patch) | |
tree | e21f84ab082b7f1a27d9c37326904037b08b6e68 /gstudio | |
parent | c880d7f66b4fdbdb6369eefb55d8bbe912bcc66e (diff) | |
download | gnowsys-c9c5a92ff185e3e2c8b038d9420c22f007bc6ad8.tar.gz |
minor modififications in graph, ovals removed for nbh nodes, some extra license blocks removed
Diffstat (limited to 'gstudio')
-rw-r--r-- | gstudio/4store_rdf_import.py | 15 | ||||
-rw-r--r-- | gstudio/fstore_rdf_import.py | 15 | ||||
-rw-r--r-- | gstudio/rdf.py | 49 | ||||
-rw-r--r-- | gstudio/templates/gstudio/skeleton.html | 407 | ||||
-rw-r--r-- | gstudio/views/graphs.py | 47 | ||||
-rw-r--r-- | gstudio/views/history.py | 17 | ||||
-rw-r--r-- | gstudio/views/nodetypes.py | 14 | ||||
-rw-r--r-- | gstudio/views/quick_nodetype.py | 15 | ||||
-rw-r--r-- | gstudio/views/sitemap.py | 15 | ||||
-rw-r--r-- | gstudio/views/tags.py | 14 | ||||
-rw-r--r-- | gstudio/views/trackback.py | 15 | ||||
-rw-r--r-- | gstudio/views/userdashboard.py | 15 |
12 files changed, 47 insertions, 591 deletions
diff --git a/gstudio/4store_rdf_import.py b/gstudio/4store_rdf_import.py index 5541895..af07d94 100644 --- a/gstudio/4store_rdf_import.py +++ b/gstudio/4store_rdf_import.py @@ -1,3 +1,18 @@ +# Copyright (c) 2011, 2012 Free Software Foundation + +# 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. + +# 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 rdflib from rdflib.graph import ConjunctiveGraph as Graph diff --git a/gstudio/fstore_rdf_import.py b/gstudio/fstore_rdf_import.py index ea48548..5e25a33 100644 --- a/gstudio/fstore_rdf_import.py +++ b/gstudio/fstore_rdf_import.py @@ -1,3 +1,18 @@ +# Copyright (c) 2011, 2012 Free Software Foundation + +# 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. + +# 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 rdflib from rdflib.graph import ConjunctiveGraph as Graph diff --git a/gstudio/rdf.py b/gstudio/rdf.py index 771490b..bb99a05 100644 --- a/gstudio/rdf.py +++ b/gstudio/rdf.py @@ -14,55 +14,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -# This project incorporates work covered by the following copyright and permission notice: - -# Copyright (c) 2009, Julien Fache -# All rights reserved. - -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: - -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of the author nor the names of other -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. - -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -# OF THE POSSIBILITY OF SUCH DAMAGE. - - -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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 rdflib from rdflib.graph import ConjunctiveGraph as Graph diff --git a/gstudio/templates/gstudio/skeleton.html b/gstudio/templates/gstudio/skeleton.html index 7c1c698..45466cd 100644 --- a/gstudio/templates/gstudio/skeleton.html +++ b/gstudio/templates/gstudio/skeleton.html @@ -1,411 +1,4 @@ -{% load gstudio_tags i18n %} -{% get_tags as nodetype_tags %} -{% load adminmedia grp_tags %} -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}" version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style type="text/css"> - .link { - stroke: #ccc; - } - .nodetext { - #pointer-events: none; - font: 12px Serif; - font-style:italic; - } - .mainnode{ - - font: 15px sans-serif; - fill:black; - border-width: 1px; - font-weight:bold; - border-color: gray; - - } - .relnode { - font: 12px sans-serif; - font-weight:bold; - fill:#000; - } - - - .node { - border-width: 1px; - border-color: gray; - font: 12px sans-serif; - fill:#25587E; - font-weight:bold; - } - body { - background-color: white; - } - #chart { - height: 90%; - margin: 0 auto; - width: 90%; - display: block; - } - svg { - margin-left: 0%; - margin-right: 10%; - display: block; - position: absolute; - } - -.orgitdown .orgitdownButton1 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/bold.png); -} -.orgitdown .orgitdownButton2 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/italic.png); -} -.orgitdown .orgitdownButton3 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/stroke.png); -} - -.orgitdown .orgitdownButton4 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/list-bullet.png); -} -.orgitdown .orgitdownButton5 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/list-numeric.png); -} - -.orgitdown .orgitdownButton6 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/picture.png); -} -.orgitdown .orgitdownButton7 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/link.png); -} -.orgitdown .orgitdownButton8 a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/clean.png); -} -.orgitdown .preview a { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/sets/default/images/preview.png); -} - -.orgitdown * { - margin:0px; padding:0px; - outline:none; -} -.orgitdown a:link, -.orgitdown a:visited { - color:#000; - text-decoration:none; -} -.orgitdown { - width:700px; - margin:5px 0 5px 0; - -} -.orgitdownContainer { - border:1px solid #3C769D; - background:#FFF url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-container.png) repeat-x top left; - padding:5px 5px 2px 5px; - font:11px Verdana, Arial, Helvetica, sans-serif; - margin-left:450px; - width:450px; - margin-top:30px; -} -.orgitdownEditor { - font:12px 'Courier New', Courier, monospace; - padding:5px 5px 5px 35px; - border:3px solid #3C769D; - width:643px; - height:320px; - background:#FFF url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor.png) no-repeat; - clear:both; - line-height:18px; - overflow:auto; -} -.orgitdownPreviewFrame { - overflow:auto; - background-color:#FFFFFF; - border:1px solid #3C769D; - width:99.9%; - height:300px; - margin:5px 0; -} -.orgitdownFooter { - width:100%; - cursor:n-resize; -} -.orgitdownResizeHandle { - overflow:hidden; - width:22px; height:5px; - margin-left:auto; - margin-right:auto; - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/handle.png); - cursor:n-resize; -} -/***************************************************************************************/ -/* first row of buttons */ -.orgitdownHeader ul li { - list-style:none; - float:left; - position:relative; -} -.orgitdownHeader ul li ul{ - display:none; -} -.orgitdownHeader ul li:hover > ul{ - display:block; -} -.orgitdownHeader ul .orgitdownDropMenu { - background:transparent url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/menu.png) no-repeat 115% 50%; - margin-right:5px; -} -.orgitdownHeader ul .orgitdownDropMenu li { - margin-right:0px; -} -.orgitdownHeader ul .orgitdownSeparator { - margin:0 10px; - width:1px; - height:16px; - overflow:hidden; - background-color:#CCC; -} -.orgitdownHeader ul ul .orgitdownSeparator { - width:auto; height:1px; - margin:0px; -} -/* next rows of buttons */ -.orgitdownHeader ul ul { - display:none; - position:absolute; - top:18px; left:0px; - background:#F5F5F5; - border:1px solid #3C769D; - height:inherit; -} -.orgitdownHeader ul ul li { - float:none; - border-bottom:1px solid #3C769D; -} -.orgitdownHeader ul ul .orgitdownDropMenu { - background:#F5F5F5 url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/submenu.png) no-repeat 100% 50%; -} -/* next rows of buttons */ -.orgitdownHeader ul ul ul { - position:absolute; - top:-1px; left:150px; -} -.orgitdownHeader ul ul ul li { - float:none; -} -.orgitdownHeader ul a { - display:block; - width:16px; height:16px; - text-indent:-10000px; - background-repeat:no-repeat; - padding:3px; - margin:0px; -} -.orgitdownHeader ul ul a { - display:block; - padding-left:0px; - text-indent:0; - width:120px; - padding:5px 5px 5px 25px; - background-position:2px 50%; -} -.orgitdownHeader ul ul a:hover { - color:#FFF; - background-color:#3C769D; -} -/***************************************************************************************/ -.html .orgitdownEditor { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor-html.png); -} -.markdown .orgitdownEditor { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor-markdown.png); -} -.textile .orgitdownEditor { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor-textile.png); -} -.bbcode .orgitdownEditor { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor-bbcode.png); -} -.wiki .orgitdownEditor, -.dotclear .orgitdownEditor { - background-image:url(/static/gstudio/js/orgitdown/orgitdown/skins/orgitdown/images/bg-editor-wiki.png); -} - - </style> - <!-- the header lines from grappelli --> - {% block blockbots %} - <meta name="robots" content="NONE,NOARCHIVE" /> - {% endblock %} <!-- STYLESHEETS --> - {% block stylesheets %} - <link href="{% admin_media_prefix %}css/base.css" rel="stylesheet" type="text/css" /> - {% if LANGUAGE_BIDI %} - <link href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" rel="stylesheet" type="text/css" /> - {% endif %} - <link href="{% admin_media_prefix %}jquery/ui/css/custom-theme/jquery-ui-1.8.custom.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8" /> - <link href="{% admin_media_prefix %}css/jquery-ui-grappelli-extensions.css" rel="stylesheet" type="text/css" /> - {% endblock %} <!-- EXTRASTYLES --> - {% block extrastyle %}{% endblock %} <!-- JAVASCRIPTS --> - {% block javascripts %} - <script type="text/javascript"> - // GLOBALS - var grappelli = {}, - // TODO: klemens: drop ADMIN_URL - ADMIN_URL = "{% url admin:index %}", - MODEL_URL_ARRAY = {% get_content_types %}, DATE_FORMAT = "{% get_date_format %}", TIME_FORMAT = "{% get_time_format %}", DATETIME_FORMAT = "{% get_datetime_format %}"; - </script> - <!-- jQuery, jQuery-UI --> - <script src="{% admin_media_prefix %}jquery/jquery-1.6.2.min.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}jquery/ui/js/jquery-ui-1.8.15.custom.min.js" type="text/javascript"></script> - <!-- Grappelli Main JS --> - <script src="{% admin_media_prefix %}js/grappelli/grappelli.js" type="text/javascript"></script> - <!-- Grappelli jQuery Plugins, Widgets --> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_collapsible.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_collapsible_group.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_timepicker.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_related_fk.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_related_m2m.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_related_generic.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_autocomplete_fk.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_autocomplete_m2m.js" type="text/javascript"></script> - <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_autocomplete_generic.js" type="text/javascript"></script> - - <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> - -<!-- orgitdowm css,js --> - <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> - <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/orgitdown/orgitdown/sets/org/set.js"></script> - - <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/orgitdown/orgitdown/jquery.orgitdown.js"></script> - - <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/orgitdown/orgitdown/sets/savedata.js"></script> - - <!-- EXTRAHEAD --> - {% block extrahead %}{% endblock %} - - {% endblock %} <!-- the header lines from gstudio --> - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - <meta http-equiv="cache-control" content="public" /> - <meta name="robots" content="follow, all" /> - <meta name="language" content="{{ LANGUAGE_CODE }}" /> - <meta name="description" content="{% block meta-description %}Demonstration of the Gstudio Blog application.{% endblock %}" /> - <meta name="keywords" content="{% block meta-keywords %}django, blog, gstudio, {{ nodetype_tags|join:", "}}{% endblock %}" /> - <meta name="author" content="gnowgi" /> - {% block meta %}{% endblock %} - <link rel="pingback" href="/xmlrpc/" /> - <link rel="shortcut icon" href="{{ STATIC_URL }}gstudio/img/favicon.ico" /> - <link rel="home" href="{% url gstudio_nodetype_archive_index %}" /> - - <link rel="stylesheet" type="text/css" media="screen, projection" href="{{ STATIC_URL }}gstudio/css/screen.css" /> - - <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}gstudio/css/print.css" /> - <!--[if lt IE 8]> - <link rel="stylesheet" type="text/css" media="screen, projection" href="{{ STATIC_URL }}gstudio/css/ie.css" /> - <![endif]--> - {% block link %}{% endblock %} - {% block script %}{% endblock %} <title>Gnowledge Studio - {% block title %}{% endblock %}</title> - </head> - <body id="gstudio"> - - <!-- - <div id="relation_type" class="ui-buttonset"> - <span>Relation type:</span> - <input checked="checked" value="follows" type="radio" id="follows" name="radio" class="ui-helper-hidden-accessible"><label for="follows" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-left" aria-pressed="false" role="button" aria-disabled="false"><span class="ui-button-text">Followers</span></label> - <input value="mentions" type="radio" id="mentions" name="radio" class="ui-helper-hidden-accessible"><label for="mentions" aria-pressed="true" class="ui-button ui-widget ui-state-default ui-button-text-only ui-corner-right ui-state-active" role="button" aria-disabled="false"><span class="ui-button-text">Mentions</span></label> - <input value="hashtags" type="radio" id="hashtags" name="radio"/><label for="hashtags">Shared interests</label> - </div> - --> - - - - - - - {% include "gstudio/_header.html" %} - <div id="breadcrumbs" class=""> - / {% block breadcrumbs %}{% endblock %} - </div> - <div id="body" class="span-24 last"> - <div id="content" class="hfeed span-16 border"> - {% block content %} <h3>The content block need to be overrided!</h3> - {% endblock %} - </div> - - <textarea id="gnoweditor" style="visibility:hidden;"> - </textarea> - - - <div id="graphcss"> - <div id="chart"> - - </div> - <script type="text/javascript" src="/static/gstudio/js/jquery.min.js" ></script> - <script type="text/javascript" src="/static/gstudio/js/jquery-ui.js" ></script> - <script type="text/javascript" src="/static/gstudio/js/underscore.js" ></script> - <script type="text/javascript" src="/static/gstudio/js/d3.js"></script> - <script type="text/javascript" src="/static/gstudio/js/d3.layout.js"></script> - <script type="text/javascript" src="/static/gstudio/js/d3.geom.js"></script> - <!-- <script type="text/javascript" src="/static/gstudio/js/force.js"></script> - - Javascript for Object type force graph - --> - -<script type="text/javascript" > - -function init(a,b) -{ - - - nodes_by_id = _.reduce(a, function(acc, n) { - acc[n._id] = n; - return acc; - }, {}); - - - all_edges=new Array(); - - //this contains all the links between the nodes - all_edges =_(b).chain().map(function(e) { - e.source = nodes_by_id[e.from]; - e.target = nodes_by_id[e.to]; - //`e.type = nodes_by_id[e.type] - return e; - }).filter(function(e){ - return nodes_by_id[e.from] && nodes_by_id[e.to]&& e.type!="title" && e.type!="content" - }).value(); - - -} - -$(function fgraph() { -neighbour_node= new Array(); -clicked_node=new Array(); -prev_node=new Array(); -neighbour_node= neighbour_node.concat({{object.id}}); - -$.getJSON('/nodetypes/graphs/graph_json/' + {{object.id}}, function (json1) { - metadata=json1.node_metadata; - relations=json1.relations; - - init(metadata,relations); - load({{object.id}}) }); - - -function load(key) -{ - - if (s > 0 ){ - var a = 50 * s; - var w = 1000; - var p = 140 + "%"; - var h = 650; - var q = 3 * s + 75 + "%"; - }else{ - var w = 1000; - var p = 140 + "%"; - var h = 650; - var q = 110 + "%"; - } - fill = d3.scale.category20(); - var vis = d3.select("#chart") .append("svg:svg") .attr("id", "amazingViz") diff --git a/gstudio/views/graphs.py b/gstudio/views/graphs.py index e1ca63b..e2cb107 100644 --- a/gstudio/views/graphs.py +++ b/gstudio/views/graphs.py @@ -14,53 +14,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -# This project incorporates work covered by the following copyright and permission notice: - -# Copyright (c) 2009, Julien Fache -# All rights reserved. - -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: - -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of the author nor the names of other -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. - -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -# OF THE POSSIBILITY OF SUCH DAMAGE. - -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. - """Views for Gstudio nodetypes""" diff --git a/gstudio/views/history.py b/gstudio/views/history.py index 10fc7ab..e67401a 100644 --- a/gstudio/views/history.py +++ b/gstudio/views/history.py @@ -1,3 +1,20 @@ +# Copyright (c) 2011, 2012 Free Software Foundation + +# 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. + +# 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 django.http import * from reversion.models import * from gstudio.models import * diff --git a/gstudio/views/nodetypes.py b/gstudio/views/nodetypes.py index 9c2a1a8..2762e06 100644 --- a/gstudio/views/nodetypes.py +++ b/gstudio/views/nodetypes.py @@ -47,20 +47,6 @@ # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. """Views for Gstudio nodetypes""" diff --git a/gstudio/views/quick_nodetype.py b/gstudio/views/quick_nodetype.py index 825a785..3488e01 100644 --- a/gstudio/views/quick_nodetype.py +++ b/gstudio/views/quick_nodetype.py @@ -46,21 +46,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. - """Views for Gstudio quick nodetype""" diff --git a/gstudio/views/sitemap.py b/gstudio/views/sitemap.py index acdc8a1..659e935 100644 --- a/gstudio/views/sitemap.py +++ b/gstudio/views/sitemap.py @@ -46,21 +46,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. - """Views for Gstudio sitemap""" diff --git a/gstudio/views/tags.py b/gstudio/views/tags.py index 6b53baf..7e1981a 100644 --- a/gstudio/views/tags.py +++ b/gstudio/views/tags.py @@ -46,20 +46,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. diff --git a/gstudio/views/trackback.py b/gstudio/views/trackback.py index dbd179f..7f87e6f 100644 --- a/gstudio/views/trackback.py +++ b/gstudio/views/trackback.py @@ -46,21 +46,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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/>. - """Views for Gstudio trackback""" diff --git a/gstudio/views/userdashboard.py b/gstudio/views/userdashboard.py index 83d32fb..9605c97 100644 --- a/gstudio/views/userdashboard.py +++ b/gstudio/views/userdashboard.py @@ -46,21 +46,6 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH DAMAGE. -# Copyright (c) 2011, 2012 Free Software Foundation - -# 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. - -# 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 django.http import HttpResponse |