aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * installed 'django-recaptcha'Weitian LI2014-04-253-1/+12
| | | | * added 'captcha' field to UserRegForm
* * added contents for 'accommodation', 'committee', 'sponsor' and 'traffic' pagesWeitian LI2014-04-254-6/+71
|
* * app page: finished 'introduction' template pageWeitian LI2014-04-253-3/+158
| | | | * added related introduction.css and introduction.js
* * added blank templates of needed pagesWeitian LI2014-04-249-8/+178
| | | | | * added urls in pages.urls * updated links in navbar.html
* * added 'ADMINS' and 'MANAGERS' settings to settings_production.pyWeitian LI2014-04-245-0/+91
| | | | * added templates 400, 404, 404 and 500
* * update display attachments in list_notice templateWeitian LI2014-04-232-6/+1
| | | | * removed 'get_attachment_list' method from Notice model
* added settings.py with mysql backendWeitian LI2014-04-231-0/+179
|
* added mysql-pythonWeitian LI2014-04-231-0/+1
|
* * implemented 'ListNoticeView' based on ListViewWeitian LI2014-04-237-3/+188
| | | | | | * added list_notice template, css, urls * updated models and admin of app notice * updated navbar.html
* * added urls and template for 'introduction' in app pageWeitian LI2014-04-233-4/+23
| | | | * fixed page/views.py
* added url to serve MEDIA_ROOTWeitian LI2014-04-231-0/+4
|
* * updated 'introduction' url to index.htmlWeitian LI2014-04-222-2/+4
| | | | * fixed comment in 'list_approved.html'
* created settings_production.py and updated NOTES.txtWeitian LI2014-04-222-0/+179
|