| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Added sjtu_tuoxie_02.jpg and sjtu_xueshu_02.jpg images
* Small fix to schedule.html
|
|
|
|
|
|
|
|
|
|
| |
* added 'schedule.views.ScheduleView'
* added 'schedule.html' template, with 'schedule.css' and 'schedule.js'
* added 'schedule.urls', updated django_skaschool.urls
* added tools/templatetags/dict_utils.py
* converted schedule models to south-based
* removed original 'page/templates/page/program.html', related urls
* updated navbar.html
|
|
|
|
|
|
| |
OverwriteStorage should be called as:
FileField(..., storage=OverwriteStorage(),...)
^^
|
|
|
|
|
| |
* Added app schedule, largely based on 'notice' app
* TODO: views and templates
|
|
|
|
|
|
|
|
| |
* Splited storage function from account.extra -> tools/storage.py
- OverwriteStorage
- file_cleanup
* Updated account.models, archive.models
* Added OverwriteStorage and file_cleanup function to notice.models
|
|
|
|
|
|
|
|
|
| |
* Added app 'schedule' to provides a more generic schedule page
* Added fake app 'tools' to holds generic utilities
* Moved notice/templatetags to tools/templatetags
* Small change to archive.models.Archive display format
* Added archive/templatetags
* Small update to introduction page
|
|
|
|
|
|
|
|
|
|
| |
* Small updates to introduction page.
* Updated traffic page:
- traffic routes
- new metro map
* Used bootstrap modal plugin to view images for traffic page
- traffic.js
- traffic.css
|
|
|
|
|
|
| |
* Split 'SECRET_KEY' from settings
* Updated settings files
* Updated .gitignore settings
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Updated traffic routes.
* Added map of SJTU Minhang campus.
* Updated accommodation information, and added related routes.
* small update to templates/navbar.html
|
| |
|
|
|
|
|
|
| |
* updated profile.html to show 'sjtu_id' and 'sjtu_initpass' info
and show a related alert
* updated zh_CN locale messages
|
|
|
|
|
|
|
| |
* added fields 'sjtu_id' & 'sjtu_initpass' to UserProfile model
* updated 'dump()' and 'dump_fieldnames()' method
* updated 'UserProfileAdmin' to show these fields
* added south migration 0004 for newly added two fields
|
|
|
|
|
|
|
| |
* displayed one more column 'id'
* added filter function
* changed display style of 'is_approved', 'is_sponsored' and
'is_checkin': display icons instead of text
|
|
|
|
|
|
| |
* validate username with regex on registration (bootstrap3 frontent does
not handle regex correctly. XXX) -> account/forms.py
* small update to registration page title display style
|
| |
|
| |
|
|
|
|
|
|
| |
* added 'page.views.IndexView' for 'django_skaschool.urls
* updated 'index.html' to display notice at bottom
* added '.smallcaps' in 'index.css' for English title
|
|
|
|
|
|
|
|
|
| |
* changed 'identify' to 'identity' in Model 'UserProfile'
* updated forms.py, admin.py, profile.html related to 'identity'
* added South migration for renaming field 'identify' to 'identity'
* updated display contents of 'list_approved': removed 'identity' column
* updated 'institute' field name to 'institute (and major)'
* updated related translations
|
| |
|
| |
|
|
|
|
|
| |
* added 'account/csv_unicode.py' to provide Unicode CSV I/O support
* used 'UnicodeWriter' in 'account/admin.py' userprofile_csv_view to generate csv format export
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* added 'get_checkin_value', 'dump_fieldnames' and 'dump' methods to UserProfile model
* generated south migrations for app 'account'
* display two more columns (email, is_checkin) in UserProfileAdmin
* added 'get_urls' and 'userprofile_csv_view' to UserProfileAdmin
* updaed 'profile.html' with 'is_checkin' field
|
|
|
|
| |
* added 'introspection_rules' of ContentTypeRestrictedFileField for south
|
|
|
|
| |
* added 'baidu-site-verification' to metainfo.html
|
| |
|
|
|
|
|
| |
* updated template 'base.html' to include 'metainfo.html' and 'sitetitle.txt'
* updated navbar.html main button text
|
| |
|
|
|
|
|
|
| |
* updated 'archive/urls.py', shortened the url, added a redirect
* updated poster image: 'skaschool-poster.jpg'
* updated the lecturer information of 'page/introduction.html'
|
|
|
|
| |
* small updates to 'NOTES.txt'
|
|
|
|
|
| |
* updated 'settings' to serve bootstrap from local ('respond.js'
required local css, otherwise extra configuration requires.)
|
| |
|
|
|
|
| |
* updated related zh_CN messages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o actions:
- 'approve_users',
- 'sponsor_users',
- 'cancel_approve_users',
- 'cancel_sponsor_users',
- 'reset_approve_users',
- 'reset_sponsor_users',
o list_display:
- 'user',
- 'realname',
- 'gender',
- 'institute',
- 'identify',
- 'reason',
- 'transcript_url',
- 'supplement',
- 'attachments',
- 'is_approved',
- 'is_sponsored',
* updated zh_CN messages
|
| |
|
|
|
|
|
|
| |
To fix the problem in daemon mode:
o Target WSGI script '/opt/www/skaschool/django_skaschool/django_skaschool/wsgi.py' cannot be loaded as Python module.
o ImportError: No module named django.core.handlers.wsgi
|
|
|
|
| |
with apache2 user authentication
|
|
|
|
|
| |
* added 'APACHE2_skaschool.conf': configuration for apache2 (>=2.2)
* renamed LICENSE to LICENSE.txt
|
| |
|
| |
|
|
|
|
| |
can browser approved user list normally.
|
| |
|
|
|
|
|
| |
* updated zh_CN messages
* fixed a typo in 'my_markdown.py'
|
|
|
|
|
| |
* updated 'list_notice.html' .notice-content with my_markdown tag
* added help_text for notice/models.py/Notice contents field
|
|
|
|
|
|
| |
* updated ValidationError message and used named string of account/extra.py
* small changes to 'profile.html' and 'profile_update.html'
* added class Meta to notice/models.py/NoticeAttachment
|
| |
|