Changeset 5a09eb7
- Timestamp:
- 03/27/12 13:29:06 (14 months ago)
- Branches:
- security
- Children:
- 82a33d0
- Parents:
- f83d820 (diff), bf8dc4f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (03/27/12 13:29:06)
- git-committer:
- yomguy <yomguy@…> (03/27/12 13:29:06)
- Files:
-
- 8 added
- 9 edited
-
doc/devel/telemeta-all.dot (added)
-
doc/devel/telemeta-all.pdf (added)
-
doc/devel/telemeta.dot (added)
-
doc/devel/telemeta.pdf (added)
-
example/sandbox_mysql/settings.py (modified) (1 diff)
-
example/sandbox_sqlite/diag.sh (added)
-
example/sandbox_sqlite/modelviz.py (added)
-
example/sandbox_sqlite/settings.py (modified) (1 diff)
-
telemeta/templates/telemeta/inc/collection_related.html (modified) (2 diffs)
-
telemeta/templates/telemeta/inc/mediaitem_related.html (modified) (2 diffs)
-
telemeta/templates/telemeta/inc/resource_related.html (modified) (2 diffs)
-
tools/dev/make_doc.sh (modified) (1 diff)
-
tools/dev/push.sh (modified) (2 diffs)
-
telemeta/admin.py (modified) (1 diff)
-
telemeta/middleware.py (added)
-
telemeta/migrations/0009_auto__add_field_userprofile_last_session_key.py (added)
-
telemeta/models/system.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
example/sandbox_mysql/settings.py
r25d44c7 rbf8dc4f 103 103 'jsonrpc', 104 104 'south', 105 'sorl.thumbnail', 105 106 ) 106 107 -
example/sandbox_sqlite/settings.py
rb6c6871 rb732ea0 103 103 'django.contrib.messages', 104 104 'django.contrib.admin', 105 'django_extensions', 105 106 'telemeta', 106 107 'jsonrpc', -
telemeta/templates/telemeta/inc/collection_related.html
r40fcc15 r5a09eb7 61 61 {% if media.file %} 62 62 <a href="{% url telemeta-collection-related collection.public_id media.id %}"> 63 {% thumbnail media.file " 420" as im %}63 {% thumbnail media.file "x200" as im %} 64 64 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 65 65 {% endthumbnail %} … … 67 67 {% else %} 68 68 <a href="{{ media.url }}"> 69 {% thumbnail media.url " 420" as im %}69 {% thumbnail media.url "x200" as im %} 70 70 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 71 71 {% endthumbnail %} -
telemeta/templates/telemeta/inc/mediaitem_related.html
r2359393 r28fa06b 61 61 {% if media.file %} 62 62 <a href="{% url telemeta-item-related item.public_id media.id %}"> 63 {% thumbnail media.file " 420" as im %}63 {% thumbnail media.file "x200" as im %} 64 64 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 65 65 {% endthumbnail %} … … 67 67 {% else %} 68 68 <a href="{{ media.url }}"> 69 {% thumbnail media.url " 420" as im %}69 {% thumbnail media.url "x200" as im %} 70 70 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 71 71 {% endthumbnail %} -
telemeta/templates/telemeta/inc/resource_related.html
rb6c6871 r28fa06b 61 61 {% if media.file %} 62 62 <a href="{% url telemeta-resource-related type resource.code media.id %}"> 63 {% thumbnail media.file " 420" as im %}63 {% thumbnail media.file "x200" as im %} 64 64 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 65 65 {% endthumbnail %} … … 67 67 {% else %} 68 68 <a href="{{ media.url }}"> 69 {% thumbnail media.url " 420" as im %}69 {% thumbnail media.url "x200" as im %} 70 70 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 71 71 {% endthumbnail %} -
tools/dev/make_doc.sh
r7e27093 rbf8dc4f 2 2 # needs epydoc 3 3 4 epydoc -n telemeta -u http://telemeta.org -o doc/html/ telemeta/ 4 app="telemeta" 5 dir=/home/$USER/dev/$app/doc/ 6 server="doc.parisson.com" 5 7 8 epydoc -n $app -u https://github.com/yomguy/DeeFuzzer -o $dir $app/ 9 rsync -a $dir $server:/var/www/files/doc/$app/ 10 -
tools/dev/push.sh
rb3287a8 r28fa06b 8 8 git push origin $branch 9 9 10 echo "Push $branch to web:"11 git push web $branch12 13 10 if [[ $branch == *master* ]]; then 14 11 echo "Push $branch to github:" … … 19 16 20 17 git push --tags 21 git push --tags web22 18 git push --tags github 23 19 24 20 ssh vcs.parisson.com "cd /var/git/telemeta.git; git update-server-info" 25 ssh vcs.parisson.org "cd /var/git/telemeta.git; git update-server-info"26 21 27 22 #echo "Update jimi.parisson.com:" 28 #ssh jimi.parisson.com "cd /home/telemeta/telemeta; git pull origin production"29 23 echo "Update angus.parisson.com:" 30 24 ssh angus.parisson.com "cd /home/telemeta/telemeta-prod; git pull origin production; \ 31 25 cd /home/telemeta/telemeta; git pull origin master; \ 32 26 cd /home/telemeta/demo/; ./manage.py migrate telemeta --delete-ghost-migrations; 33 cd /home/telemeta/sandbox/; ./manage.py migrate telemeta --delete-ghost-migrations; " 27 cd /home/telemeta/sandbox/; ./manage.py migrate telemeta --delete-ghost-migrations; 28 cd /home/telemeta/parisson/; ./manage.py migrate telemeta --delete-ghost-migrations; " 34 29 35 30 echo "Done !" -
telemeta/admin.py
rbfa68c2 rf83d820 6 6 from telemeta.models.system import * 7 7 from django.contrib import admin 8 <<<<<<< HEAD 9 from django.forms import CheckboxSelectMultiple 10 ======= 11 >>>>>>> master 8 12 from django.contrib.auth.models import User 9 13 from django.contrib.auth.admin import UserAdmin -
telemeta/models/system.py
rbfa68c2 rf83d820 42 42 import django.db.models as models 43 43 from django.forms import ModelForm 44 from django.contrib.sessions.models import Session 44 45 45 46 … … 88 89 telephone = CharField(_('Telephone')) 89 90 expiration_date = DateField(_('Expiration_date')) 91 last_session_key = CharField(blank=True, null=True, max_length=40) 90 92 init_password = BooleanField(_('Password initialization')) 91 93
Note: See TracChangeset
for help on using the changeset viewer.
