aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/blog
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/plugins/blog')
-rw-r--r--mediagoblin/plugins/blog/LICENCE0
-rw-r--r--mediagoblin/plugins/blog/README.srt0
-rw-r--r--mediagoblin/plugins/blog/__init__.py0
-rw-r--r--mediagoblin/plugins/blog/forms.py17
-rw-r--r--mediagoblin/plugins/blog/setup.py10
-rw-r--r--mediagoblin/plugins/blog/templates/blogpost_edit.html19
-rw-r--r--mediagoblin/plugins/blog/views.py16
7 files changed, 62 insertions, 0 deletions
diff --git a/mediagoblin/plugins/blog/LICENCE b/mediagoblin/plugins/blog/LICENCE
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mediagoblin/plugins/blog/LICENCE
diff --git a/mediagoblin/plugins/blog/README.srt b/mediagoblin/plugins/blog/README.srt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mediagoblin/plugins/blog/README.srt
diff --git a/mediagoblin/plugins/blog/__init__.py b/mediagoblin/plugins/blog/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/mediagoblin/plugins/blog/__init__.py
diff --git a/mediagoblin/plugins/blog/forms.py b/mediagoblin/plugins/blog/forms.py
new file mode 100644
index 00000000..52af1cf1
--- /dev/null
+++ b/mediagoblin/plugins/blog/forms.py
@@ -0,0 +1,17 @@
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
+#
+# 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 wtforms
diff --git a/mediagoblin/plugins/blog/setup.py b/mediagoblin/plugins/blog/setup.py
new file mode 100644
index 00000000..c4e0ee97
--- /dev/null
+++ b/mediagoblin/plugins/blog/setup.py
@@ -0,0 +1,10 @@
+from setuptools import setup, find_packages
+
+setup(
+ name = 'blog',
+ version = '1.0',
+ packages = find_packages();
+ include_package_data = True,
+ install_requires = [],
+ license = 'AGPLv3',
+ )
diff --git a/mediagoblin/plugins/blog/templates/blogpost_edit.html b/mediagoblin/plugins/blog/templates/blogpost_edit.html
new file mode 100644
index 00000000..fec7a9c2
--- /dev/null
+++ b/mediagoblin/plugins/blog/templates/blogpost_edit.html
@@ -0,0 +1,19 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
+#
+# 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/>.
+-#}
+{% extends "mediagoblin/base.html" %}
+
diff --git a/mediagoblin/plugins/blog/views.py b/mediagoblin/plugins/blog/views.py
new file mode 100644
index 00000000..c4e8601d
--- /dev/null
+++ b/mediagoblin/plugins/blog/views.py
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
+#
+# 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/>.