aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* updated 'list_approved.html' display style (removed column identity)Weitian LI2014-06-021-9/+10
|
* added "settings_email.py_sample"Weitian LI2014-05-241-0/+13
|
* * fixed the csv output format problem in 'admin/account/userprofile/csv'Weitian LI2014-05-242-10/+109
| | | | | * 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
* updated local messages zh_CNWeitian LI2014-05-202-66/+117
|
* small updates to account/models.pyWeitian LI2014-05-201-5/+11
|
* * added 'is_checkin' field to account.models.UserProfileWeitian LI2014-05-206-3/+371
| | | | | | | | * 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
* * enabled 'south' in 'INSTALLED_APPS'Weitian LI2014-05-204-3/+18
| | | | * added 'introspection_rules' of ContentTypeRestrictedFileField for south
* * updated keywords in metainfo.htmlWeitian LI2014-05-181-1/+3
| | | | * added 'baidu-site-verification' to metainfo.html
* * changed block 'title' to 'pagetitle' for every page templateWeitian LI2014-05-1833-103/+33
|
* * updated 'robots.txt'Weitian LI2014-05-185-2/+20
| | | | | * updated template 'base.html' to include 'metainfo.html' and 'sitetitle.txt' * updated navbar.html main button text
* updated poster skaschool-poster.jpgWeitian LI2014-05-141-0/+0
|
* * upaded display format of model Notice 'notice/models.py'Weitian LI2014-05-145-6/+11
| | | | | | * 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 'introduction.html'Weitian LI2014-05-042-6/+10
| | | | * small updates to 'NOTES.txt'
* * added 'bootstrap-3.1.1' to staticWeitian LI2014-05-0415-3/+8346
| | | | | * updated 'settings' to serve bootstrap from local ('respond.js' required local css, otherwise extra configuration requires.)
* fixed problem with 'transcript_url' field of UserProfileAdminWeitian LI2014-04-301-4/+9
|
* * fixed attachments.short_description of UserProfileAdminWeitian LI2014-04-303-1/+6
| | | | * updated related zh_CN messages
* * added 'UserProfileAdmin' with actions and list_display:Weitian LI2014-04-303-6/+221
| | | | | | | | | | | | | | | | | | | | | | | 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
* checked the contents of introduction.html pageWeitian LI2014-04-301-5/+5
|
* Apache2 conf: default to embedded modeWeitian LI2014-04-301-3/+5
| | | | | | 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
* updated 'wsgi.py' to provide 'check_password' handler for mod_wsgi to work ↵Weitian LI2014-04-291-2/+11
| | | | with apache2 user authentication
* * added 'DEPLOYMENT.md': notes about deploymentWeitian LI2014-04-293-0/+103
| | | | | * added 'APACHE2_skaschool.conf': configuration for apache2 (>=2.2) * renamed LICENSE to LICENSE.txt
* added BeiAn information to index.htmlWeitian LI2014-04-291-0/+1
|
* modified 'wsgi.py': set DJANGO_SETTINGS_MODULE to settings_productionWeitian LI2014-04-291-1/+4
|
* Replaced get_object_or_404 with query in ListApprovedView, thus adminWeitian LI2014-04-292-2/+6
| | | | can browser approved user list normally.
* added sponsors links and updated friends linksWeitian LI2014-04-291-2/+15
|
* * added 'Markdown' to requirements.txtWeitian LI2014-04-294-13/+19
| | | | | * updated zh_CN messages * fixed a typo in 'my_markdown.py'
* * implemented 'my_markdown' templatetag (requires python-markdown)Weitian LI2014-04-294-2/+30
| | | | | * updated 'list_notice.html' .notice-content with my_markdown tag * added help_text for notice/models.py/Notice contents field
* * updated transcript help_text of account/models.pyWeitian LI2014-04-295-3/+9
| | | | | | * 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
* updated locale zh_CN messagesWeitian LI2014-04-292-35/+197
|
* * fixed FieldFile import problem of account/extra.pyWeitian LI2014-04-293-4/+6
| | | | | * updated models.py and added 'help_text' to transcript field * using 'get_object_or_404' in views.py instead of simply get method
* * updated activation_email subject and content templateWeitian LI2014-04-297-17/+17
| | | | | | * updated password_reset_email subject and content template * fixed a typo in 400.html * small update to profile_update_done btn style
* * updated login.html with 'password-reset' styleWeitian LI2014-04-294-7/+14
| | | | | | * updated profile.html with transcript display * updated about.html with alert warning information * updated introduction with poster download link
* * updated settings with 'ALLOWED_HOSTS'Weitian LI2014-04-283-3/+16
| | | | * updated MEDIA_ROOT and STATIC_ROOT of settings_production.py
* added INSTALL.txtWeitian LI2014-04-281-0/+4
|
* * included archive urlsWeitian LI2014-04-283-16/+19
| | | | * moved 'file_cleanup' function to extra.py
* * moved 'introduction.js' -> 'sidebar.js'Weitian LI2014-04-286-6/+13
| | | | | | * moved 'introduction.css' -> 'sidebar.css' * updated page introduction.html * updated index.html and navbar.html
* * added app 'archive' to provides downloadsWeitian LI2014-04-288-0/+208
| | | | | | | o models: Archive, ArchiveCategory o views: ArchiveView based on TemplateView o template: archive.html o sidebar: sidebar.js, sidebar.css
* * added 'archive' to INSTALLED_APPSWeitian LI2014-04-283-61/+106
| | | | * updated ALLOWED_CONTENT_TYPES settings
* * updated contents and format of pagesWeitian LI2014-04-285-40/+87
| | | | * updated <a> in 'index.html' with target="_blank"
* * added poster to 'introduction' page: skaschool-poster.jpgWeitian LI2014-04-275-4/+7
| | | | | * removed 'about' link in 'navbar.html' * small updates to 'index.html', 'program.html'
* * implemented function to auto login user after activationWeitian LI2014-04-272-3/+19
| | | | | o added 'login_on_activation' and connected to 'user_activated' signal o updated 'activation_complete.html' template
* * updated 'list_approved.html' and related 'ListApprovedView'Weitian LI2014-04-273-11/+19
| | | | * small update to 'profile.html'
* * updated 'profile.html' to show new fieldsWeitian LI2014-04-274-12/+100
| | | | | | * added account_profile.css * fixes to 'save' method of model UserProfile and UserFile * fixes to 'UpdateProfileView' with formset 'instance'
* * added 'OverwriteStorage()' to overwrite previous uploaded filesWeitian LI2014-04-272-1/+87
| | | | * overwrite 'save' method to delete previous uploaded files
* * added model 'UserFile' and register to adminWeitian LI2014-04-274-13/+164
| | | | | | | | | * updated 'UserProfile' model: o added fields 'reason', 'transcript', 'supplement' o used 'ContentTypeRestrictedFileField' with dynamical 'upload_to' * updated 'UpdateProfileView' to support formset * updated 'UpdateProfileForm' with new fields and clean method * added 'UserFileForm' and 'UserFileFormSet'
* * updated 'profile_update' template:Weitian LI2014-04-274-2/+109
| | | | | | | o account_profile_update.css account_profile_update.js o added fields 'reason', 'transcript', 'supplement' o supported upload files (optional, dynamical formset) * updated urls.py of 'password_reset' view
* * updated ALLOWED_CONTENT_TYPESWeitian LI2014-04-272-13/+81
| | | | * implemented ContentTypeRestrictedFileField based on FileField
* * implemented 'password_reset' function based on django auth viewsWeitian LI2014-04-268-15/+152
| | | | | * added password_reset related templates and email templates * updated account urls.py
* * added 'django-recaptcha' settingsWeitian LI2014-04-263-0/+84
| | | | | * added 'ALLOWED_CONTENT_TYPES' to settings * updated 'settings_mysql' and 'settings_production'
* * deleted 'Notice.publisher' fieldWeitian LI2014-04-252-3/+2
| | | | | * added 'blank=True' to 'NoticeAttachment.description' field * fixed attachment issue with 'list_notice.html' template