aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated 'profile.html' and zh_CN locale messagesWeitian LI2014-06-073-89/+129
| | | | | | * 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 modelWeitian LI2014-06-073-0/+107
| | | | | | | * 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
* Updated UserProfile admin (account/admin.py)Weitian LI2014-06-071-18/+68
| | | | | | | * 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 field on registrationWeitian LI2014-06-072-2/+26
| | | | | | * 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
* show notice pubtime in index pageWeitian LI2014-06-031-1/+1
|
* updated notice display style in index pageWeitian LI2014-06-031-3/+3
|
* Show latest import notice at index page.Weitian LI2014-06-034-4/+42
| | | | | | * added 'page.views.IndexView' for 'django_skaschool.urls * updated 'index.html' to display notice at bottom * added '.smallcaps' in 'index.css' for English title
* Fixed a type 'identify' and updated 'list_approved' display contentsWeitian LI2014-06-038-73/+156
| | | | | | | | | * 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
* 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'