fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47adefc
)
Added copyright and license notice to home made parts.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 26 Mar 2010 23:10:51 +0000
(
00:10
+0100)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 26 Mar 2010 23:10:51 +0000
(
00:10
+0100)
30 files changed:
apps/api/handlers.py
patch
|
blob
|
history
apps/catalogue/admin.py
patch
|
blob
|
history
apps/catalogue/fields.py
patch
|
blob
|
history
apps/catalogue/forms.py
patch
|
blob
|
history
apps/catalogue/management/commands/importbooks.py
patch
|
blob
|
history
apps/catalogue/models.py
patch
|
blob
|
history
apps/catalogue/templatetags/catalogue_tags.py
patch
|
blob
|
history
apps/catalogue/urls.py
patch
|
blob
|
history
apps/catalogue/utils.py
patch
|
blob
|
history
apps/catalogue/views.py
patch
|
blob
|
history
apps/lessons/admin.py
patch
|
blob
|
history
apps/lessons/models.py
patch
|
blob
|
history
apps/lessons/urls.py
patch
|
blob
|
history
apps/lessons/views.py
patch
|
blob
|
history
apps/newtagging/managers.py
patch
|
blob
|
history
apps/newtagging/models.py
patch
|
blob
|
history
apps/newtagging/views.py
patch
|
blob
|
history
apps/sponsors/__init__.py
patch
|
blob
|
history
apps/sponsors/admin.py
patch
|
blob
|
history
apps/sponsors/fields.py
patch
|
blob
|
history
apps/sponsors/models.py
patch
|
blob
|
history
apps/sponsors/processors.py
patch
|
blob
|
history
apps/sponsors/templatetags/sponsor_tags.py
patch
|
blob
|
history
apps/sponsors/widgets.py
patch
|
blob
|
history
scripts/conv_genre_families.py
patch
|
blob
|
history
scripts/import_links.py
patch
|
blob
|
history
scripts/irename.py
patch
|
blob
|
history
scripts/remove_duplicates.py
patch
|
blob
|
history
scripts/setmainpage.py
patch
|
blob
|
history
scripts/test_api.py
patch
|
blob
|
history
diff --git
a/apps/api/handlers.py
b/apps/api/handlers.py
index
03115d8
..
799b608
100644
(file)
--- a/
apps/api/handlers.py
+++ b/
apps/api/handlers.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.shortcuts import get_object_or_404
from django.contrib.auth.decorators import login_required, user_passes_test
from piston.handler import BaseHandler
from django.shortcuts import get_object_or_404
from django.contrib.auth.decorators import login_required, user_passes_test
from piston.handler import BaseHandler
diff --git
a/apps/catalogue/admin.py
b/apps/catalogue/admin.py
index
9f1770d
..
087523d
100644
(file)
--- a/
apps/catalogue/admin.py
+++ b/
apps/catalogue/admin.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.contrib import admin
from newtagging.admin import TaggableModelAdmin
from django.contrib import admin
from newtagging.admin import TaggableModelAdmin
diff --git
a/apps/catalogue/fields.py
b/apps/catalogue/fields.py
index
eedff67
..
1c0eb4a
100644
(file)
--- a/
apps/catalogue/fields.py
+++ b/
apps/catalogue/fields.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import datetime
from django.conf import settings
import datetime
from django.conf import settings
diff --git
a/apps/catalogue/forms.py
b/apps/catalogue/forms.py
index
bf6b0df
..
4b600b6
100644
(file)
--- a/
apps/catalogue/forms.py
+++ b/
apps/catalogue/forms.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django import forms
from slughifi import slughifi
from django import forms
from slughifi import slughifi
diff --git
a/apps/catalogue/management/commands/importbooks.py
b/apps/catalogue/management/commands/importbooks.py
index
0aa8081
..
52aa69f
100644
(file)
--- a/
apps/catalogue/management/commands/importbooks.py
+++ b/
apps/catalogue/management/commands/importbooks.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import os
import sys
from optparse import make_option
import os
import sys
from optparse import make_option
diff --git
a/apps/catalogue/models.py
b/apps/catalogue/models.py
index
a9e39de
..
ac9a14c
100644
(file)
--- a/
apps/catalogue/models.py
+++ b/
apps/catalogue/models.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.db.models import permalink, Q
from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.db.models import permalink, Q
from django.utils.translation import ugettext_lazy as _
diff --git
a/apps/catalogue/templatetags/catalogue_tags.py
b/apps/catalogue/templatetags/catalogue_tags.py
index
d3f608a
..
41be051
100644
(file)
--- a/
apps/catalogue/templatetags/catalogue_tags.py
+++ b/
apps/catalogue/templatetags/catalogue_tags.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import feedparser
import datetime
import feedparser
import datetime
diff --git
a/apps/catalogue/urls.py
b/apps/catalogue/urls.py
index
327e0fc
..
5ebeb52
100644
(file)
--- a/
apps/catalogue/urls.py
+++ b/
apps/catalogue/urls.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.conf.urls.defaults import *
from django.conf.urls.defaults import *
diff --git
a/apps/catalogue/utils.py
b/apps/catalogue/utils.py
index
72b0973
..
36bd9e7
100644
(file)
--- a/
apps/catalogue/utils.py
+++ b/
apps/catalogue/utils.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import random
import time
from base64 import urlsafe_b64encode
import random
import time
from base64 import urlsafe_b64encode
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
92aa3e0
..
d0896a2
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import tempfile
import zipfile
import sys
import tempfile
import zipfile
import sys
diff --git
a/apps/lessons/admin.py
b/apps/lessons/admin.py
index
813621f
..
1447453
100644
(file)
--- a/
apps/lessons/admin.py
+++ b/
apps/lessons/admin.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
diff --git
a/apps/lessons/models.py
b/apps/lessons/models.py
index
b0cd593
..
b3c79d7
100644
(file)
--- a/
apps/lessons/models.py
+++ b/
apps/lessons/models.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.utils.translation import ugettext_lazy as _
diff --git
a/apps/lessons/urls.py
b/apps/lessons/urls.py
index
d43ac3a
..
69a47e3
100644
(file)
--- a/
apps/lessons/urls.py
+++ b/
apps/lessons/urls.py
@@
-1,4
+1,7
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.conf.urls.defaults import *
from catalogue import forms
from lessons import models
from django.conf.urls.defaults import *
from catalogue import forms
from lessons import models
diff --git
a/apps/lessons/views.py
b/apps/lessons/views.py
index
e226919
..
69380d6
100644
(file)
--- a/
apps/lessons/views.py
+++ b/
apps/lessons/views.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.views.generic.list_detail import object_detail
from catalogue import forms
from lessons import models
from django.views.generic.list_detail import object_detail
from catalogue import forms
from lessons import models
diff --git
a/apps/newtagging/managers.py
b/apps/newtagging/managers.py
index
1dbcb29
..
7870092
100644
(file)
--- a/
apps/newtagging/managers.py
+++ b/
apps/newtagging/managers.py
@@
-1,3
+1,4
@@
+# -*- coding: utf-8 -*-
"""
Custom managers for Django models registered with the tagging
application.
"""
Custom managers for Django models registered with the tagging
application.
diff --git
a/apps/newtagging/models.py
b/apps/newtagging/models.py
index
e1e92b6
..
37d1639
100644
(file)
--- a/
apps/newtagging/models.py
+++ b/
apps/newtagging/models.py
@@
-1,3
+1,4
@@
+# -*- coding: utf-8 -*-
"""
Models and managers for generic tagging.
"""
"""
Models and managers for generic tagging.
"""
diff --git
a/apps/newtagging/views.py
b/apps/newtagging/views.py
index
150a084
..
b88e9c4
100644
(file)
--- a/
apps/newtagging/views.py
+++ b/
apps/newtagging/views.py
@@
-1,3
+1,4
@@
+# -*- coding: utf-8 -*-
"""
Tagging related views.
"""
"""
Tagging related views.
"""
diff --git
a/apps/sponsors/__init__.py
b/apps/sponsors/__init__.py
index
f39d8b4
..
f6a851d
100644
(file)
--- a/
apps/sponsors/__init__.py
+++ b/
apps/sponsors/__init__.py
@@
-1,3
+1,6
@@
-# -*- encoding: utf-8 -*-
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
__author__ = u'Marek Stępniowski, <marek@stepniowski.com>'
__version__ = '0.1'
__author__ = u'Marek Stępniowski, <marek@stepniowski.com>'
__version__ = '0.1'
diff --git
a/apps/sponsors/admin.py
b/apps/sponsors/admin.py
index
55af9d7
..
f8e2801
100644
(file)
--- a/
apps/sponsors/admin.py
+++ b/
apps/sponsors/admin.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.contrib import admin
from django.conf import settings
from django.contrib import admin
from django.conf import settings
diff --git
a/apps/sponsors/fields.py
b/apps/sponsors/fields.py
index
678788e
..
26effc5
100644
(file)
--- a/
apps/sponsors/fields.py
+++ b/
apps/sponsors/fields.py
@@
-1,4
+1,7
@@
-# -*- encoding: utf-8 -*-
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import datetime
from django.conf import settings
import datetime
from django.conf import settings
diff --git
a/apps/sponsors/models.py
b/apps/sponsors/models.py
index
03b0d65
..
60e4c49
100644
(file)
--- a/
apps/sponsors/models.py
+++ b/
apps/sponsors/models.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.template.loader import render_to_string
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.template.loader import render_to_string
diff --git
a/apps/sponsors/processors.py
b/apps/sponsors/processors.py
index
8c3d74c
..
112241d
100644
(file)
--- a/
apps/sponsors/processors.py
+++ b/
apps/sponsors/processors.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from PIL import Image, ImageFilter, ImageChops
from PIL import Image, ImageFilter, ImageChops
diff --git
a/apps/sponsors/templatetags/sponsor_tags.py
b/apps/sponsors/templatetags/sponsor_tags.py
index
c1d18d1
..
fb8e6b3
100644
(file)
--- a/
apps/sponsors/templatetags/sponsor_tags.py
+++ b/
apps/sponsors/templatetags/sponsor_tags.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django import template
from django.utils.safestring import mark_safe
from django import template
from django.utils.safestring import mark_safe
diff --git
a/apps/sponsors/widgets.py
b/apps/sponsors/widgets.py
index
ed06ba6
..
70ddde6
100644
(file)
--- a/
apps/sponsors/widgets.py
+++ b/
apps/sponsors/widgets.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.conf import settings
from django import forms
from django.utils.safestring import mark_safe
from django.conf import settings
from django import forms
from django.utils.safestring import mark_safe
diff --git
a/scripts/conv_genre_families.py
b/scripts/conv_genre_families.py
index
6114713
..
247fc2c
100644
(file)
--- a/
scripts/conv_genre_families.py
+++ b/
scripts/conv_genre_families.py
@@
-1,4
+1,8
@@
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from lxml import etree
from slughifi import slughifi
from django.core.management import setup_environ
from lxml import etree
from slughifi import slughifi
from django.core.management import setup_environ
diff --git
a/scripts/import_links.py
b/scripts/import_links.py
index
671212d
..
0bc190e
100644
(file)
--- a/
scripts/import_links.py
+++ b/
scripts/import_links.py
@@
-1,3
+1,8
@@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import sys
sys.path.insert(0, '../apps')
sys.path.insert(0, '../lib')
import sys
sys.path.insert(0, '../apps')
sys.path.insert(0, '../lib')
diff --git
a/scripts/irename.py
b/scripts/irename.py
index
3ac4192
..
9cc721b
100755
(executable)
--- a/
scripts/irename.py
+++ b/
scripts/irename.py
@@
-1,5
+1,8
@@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.core.management import setup_environ
from wolnelektury import settings
import sys
from django.core.management import setup_environ
from wolnelektury import settings
import sys
diff --git
a/scripts/remove_duplicates.py
b/scripts/remove_duplicates.py
index
e72512b
..
bea5cda
100755
(executable)
--- a/
scripts/remove_duplicates.py
+++ b/
scripts/remove_duplicates.py
@@
-1,4
+1,8
@@
#!/usr/bin/env python
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import sys
from django.core.management import setup_environ
import sys
from django.core.management import setup_environ
diff --git
a/scripts/setmainpage.py
b/scripts/setmainpage.py
index
245ed1d
..
e83a07f
100755
(executable)
--- a/
scripts/setmainpage.py
+++ b/
scripts/setmainpage.py
@@
-1,5
+1,8
@@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.core.management import setup_environ
from wolnelektury import settings
import sys
from django.core.management import setup_environ
from wolnelektury import settings
import sys
diff --git
a/scripts/test_api.py
b/scripts/test_api.py
index
41d3f3d
..
c53cfd3
100644
(file)
--- a/
scripts/test_api.py
+++ b/
scripts/test_api.py
@@
-1,3
+1,8
@@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import httplib2
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
import httplib2
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers