From b60cf7ea15f0603d26730347c1d598e456c7684a Mon Sep 17 00:00:00 2001 From: hernani Date: Mon, 21 Feb 2011 17:45:19 +0000 Subject: [PATCH] Cleaning up a small mess. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@771 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/modules/template_loader.py/.project | 24 - forum/modules/template_loader.py/INSTALL | 5 - forum/modules/template_loader.py/LICENSE | 15 - forum/modules/template_loader.py/__init__.py | 0 forum/modules/template_loader.py/cron/README | 5 - .../template_loader.py/cron/send_email_alerts | 5 - .../cron/send_email_alerts_virtualenv | 10 - .../template_loader.py/forum/__init__.py | 0 .../forum/actions/__init__.py | 4 - .../template_loader.py/forum/actions/meta.py | 215 - .../template_loader.py/forum/actions/node.py | 236 - .../template_loader.py/forum/actions/page.py | 58 - .../template_loader.py/forum/actions/user.py | 161 - .../modules/template_loader.py/forum/admin.py | 66 - .../forum/authentication/__init__.py | 33 - .../forum/authentication/base.py | 44 - .../forum/badges/__init__.py | 6 - .../template_loader.py/forum/badges/base.py | 77 - .../template_loader.py/forum/context.py | 23 - .../modules/template_loader.py/forum/feed.py | 108 - .../forum/forms/__init__.py | 4 - .../template_loader.py/forum/forms/admin.py | 107 - .../template_loader.py/forum/forms/auth.py | 65 - .../template_loader.py/forum/forms/general.py | 173 - .../template_loader.py/forum/forms/qanda.py | 341 - .../forum/http_responses.py | 27 - .../forum/management/__init__.py | 42 - .../forum/management/commands/__init__.py | 0 .../forum/management/commands/base_command.py | 34 - .../forum/management/commands/checkinstall.py | 85 - .../commands/create_extended_user.py | 285 - .../commands/create_subscriptions.py | 15 - .../commands/message_to_everyone.py | 12 - .../management/commands/sample_command.py | 7 - .../management/commands/send_email_alerts.py | 114 - .../forum/markdownext/__init__.py | 0 .../forum/markdownext/mdx_limitedsyntax.py | 11 - .../forum/markdownext/mdx_settingsparser.py | 46 - .../forum/markdownext/mdx_urlize.py | 44 - .../forum/middleware/__init__.py | 0 .../forum/middleware/anon_user.py | 35 - .../forum/middleware/cancel.py | 15 - .../forum/middleware/extended_user.py | 27 - .../forum/middleware/request_utils.py | 18 - .../forum/migrations/0001_initial.py | 764 -- ...ld_repute_positive__del_field_repute_ne.py | 481 - .../forum/migrations/0003_repute_changes.py | 355 - ...__del_field_repute_positive__del_field_.py | 357 - .../migrations/0005_fill_accepted_by_field.py | 341 - ...node__add_field_comment_node__add_field.py | 433 - .../forum/migrations/0007_q_and_a_to_node.py | 549 - ...ld_vote_object_id__del_field_vote_conte.py | 424 - .../migrations/0009_convert_revisions.py | 414 - ..._answerrevision__del_field_answer_vote_.py | 576 -- ...11_auto__add_field_node_active_revision.py | 323 - .../migrations/0012_set_active_revision.py | 327 - ..._del_anonymousanswer__add_anonymousnode.py | 344 - ...uto__add_field_question_accepted_answer.py | 309 - .../0015_accepted_answer_changes.py | 320 - ...r_accepted__chg_field_question_node_ptr.py | 310 - ..._repute_node__add_field_repute_canceled.py | 312 - .../forum/migrations/0018_comments_to_node.py | 376 - ...ment__add_field_node_abs_parent__chg_fi.py | 322 - .../0020_create_absolute_parents.py | 300 - .../0021_create_new_pg_fts_triggers.py | 303 - ...ion__add_favoritenode__del_field_node_v.py | 463 - ..._flaten_node_inheritance_create_actions.py | 685 -- ..._answer__del_flaggeditem__del_anonymous.py | 377 - ...on__add_field_node_deleted__add_field_n.py | 267 - ...0026_reset_deleted_and_lastedited_flags.py | 278 - .../migrations/0027_auto__del_activity.py | 254 - ...anceled_ip__add_field_actionrepute_date.py | 253 - .../forum/migrations/0029_repute_dates.py | 259 - ..._action_extra__chg_field_keyvalue_value.py | 253 - .../migrations/0031_alter_pickle_storage.py | 274 - ...ed_questions__del_field_user_questions_.py | 263 - ...ield_badge_cls__del_unique_badge_type_n.py | 333 - .../migrations/0034_new_badge_and_award.py | 344 - ...__del_field_award_content_type__add_uni.py | 296 - ...award_action__add_field_node_state_stri.py | 298 - .../forum/migrations/0037_fill_node_state.py | 317 - ...field_node_deleted__del_field_node_extr.py | 282 - ...l_field_tag_deleted_by__del_field_tag_d.py | 273 - ..._nodestate_action__add_field_node_extra.py | 260 - .../forum/migrations/0041_action_ip_fixes.py | 300 - .../migrations/0042_auto__add_userproperty.py | 275 - ...tings_send_digest__add_field_action_rea.py | 277 - .../0044_markdown_cache_migration.py | 271 - .../forum/migrations/__init__.py | 16 - .../forum/models/__init__.py | 39 - .../template_loader.py/forum/models/action.py | 319 - .../template_loader.py/forum/models/answer.py | 24 - .../template_loader.py/forum/models/base.py | 212 - .../forum/models/comment.py | 58 - .../template_loader.py/forum/models/meta.py | 99 - .../template_loader.py/forum/models/node.py | 465 - .../template_loader.py/forum/models/page.py | 54 - .../forum/models/question.py | 101 - .../template_loader.py/forum/models/tag.py | 45 - .../forum/models/tests/__init__.py | 0 .../forum/models/tests/fixtures/users | 33 - .../forum/models/tests/test_user.py | 96 - .../template_loader.py/forum/models/user.py | 572 -- .../template_loader.py/forum/models/utils.py | 124 - .../forum/modules/__init__.py | 94 - .../forum/modules/decorators.py | 156 - .../forum/modules/template_loader.py | 43 - .../template_loader.py/forum/modules/ui.py | 51 - .../forum/modules/ui_objects.py | 210 - .../template_loader.py/forum/registry.py | 109 - .../forum/settings/__init__.py | 48 - .../forum/settings/about.py | 28 - .../forum/settings/accept.py | 25 - .../template_loader.py/forum/settings/base.py | 128 - .../forum/settings/basic.py | 52 - .../forum/settings/email.py | 78 - .../forum/settings/extkeys.py | 15 - .../template_loader.py/forum/settings/faq.py | 61 - .../template_loader.py/forum/settings/form.py | 87 - .../forum/settings/forms.py | 126 - .../forum/settings/minrep.py | 90 - .../forum/settings/moderation.py | 24 - .../forum/settings/repgain.py | 45 - .../forum/settings/sidebar.py | 78 - .../forum/settings/static.py | 106 - .../forum/settings/upload.py | 17 - .../template_loader.py/forum/settings/urls.py | 15 - .../forum/settings/users.py | 86 - .../template_loader.py/forum/settings/view.py | 17 - .../forum/settings/voting.py | 32 - .../template_loader.py/forum/sitemap.py | 80 - .../template_loader.py/forum/skins/README | 22 - .../forum/skins/__init__.py | 144 - .../forum/skins/common/media/README | 1 - .../media/images/blue-up-arrow-h18px.png | Bin 593 -> 0 bytes .../skins/default/media/images/box-arrow.gif | Bin 69 -> 0 bytes .../default/media/images/bullet_green.gif | Bin 64 -> 0 bytes .../default/media/images/by-sa-88x31.png | Bin 5083 -> 0 bytes .../skins/default/media/images/cc-88x31.png | Bin 5460 -> 0 bytes .../skins/default/media/images/cc-wiki.png | Bin 2333 -> 0 bytes .../default/media/images/close-small-dark.png | Bin 226 -> 0 bytes .../media/images/close-small-hover.png | Bin 337 -> 0 bytes .../default/media/images/close-small.png | Bin 293 -> 0 bytes .../media/images/comment-delete-hover.png | Bin 1113 -> 0 bytes .../default/media/images/comment-delete.png | Bin 1092 -> 0 bytes .../media/images/comment-edit-hover.png | Bin 448 -> 0 bytes .../default/media/images/comment-edit.png | Bin 433 -> 0 bytes .../default/media/images/comment-like-on.png | Bin 1523 -> 0 bytes .../default/media/images/comment-like.png | Bin 1530 -> 0 bytes .../default/media/images/convert-hover.png | Bin 1567 -> 0 bytes .../default/media/images/convert-off.png | Bin 1455 -> 0 bytes .../forum/skins/default/media/images/dash.gif | Bin 44 -> 0 bytes .../media/images/djangomade124x25_grey.gif | Bin 2035 -> 0 bytes .../skins/default/media/images/dot-g.gif | Bin 61 -> 0 bytes .../skins/default/media/images/dot-list.gif | Bin 56 -> 0 bytes .../forum/skins/default/media/images/edit.png | Bin 758 -> 0 bytes .../media/images/expander-arrow-hide.gif | Bin 126 -> 0 bytes .../media/images/expander-arrow-show.gif | Bin 135 -> 0 bytes .../skins/default/media/images/favicon.gif | Bin 3918 -> 0 bytes .../skins/default/media/images/favicon.ico | Bin 1150 -> 0 bytes .../default/media/images/feed-icon-small.png | Bin 689 -> 0 bytes .../media/images/gray-up-arrow-h18px.png | Bin 383 -> 0 bytes .../skins/default/media/images/grippie.png | Bin 162 -> 0 bytes .../skins/default/media/images/indicator.gif | Bin 2545 -> 0 bytes .../forum/skins/default/media/images/logo.gif | Bin 2114 -> 0 bytes .../forum/skins/default/media/images/logo.png | Bin 2081 -> 0 bytes .../skins/default/media/images/logo1.png | Bin 2752 -> 0 bytes .../skins/default/media/images/logo2.png | Bin 2124 -> 0 bytes .../skins/default/media/images/medala.gif | Bin 801 -> 0 bytes .../skins/default/media/images/medala_on.gif | Bin 957 -> 0 bytes .../forum/skins/default/media/images/new.gif | Bin 635 -> 0 bytes .../skins/default/media/images/nophoto.png | Bin 696 -> 0 bytes .../skins/default/media/images/openid.gif | Bin 910 -> 0 bytes .../skins/default/media/images/openid/aol.gif | Bin 2101 -> 0 bytes .../skins/default/media/images/openid/aol.png | Bin 583 -> 0 bytes .../default/media/images/openid/blogger.ico | Bin 3638 -> 0 bytes .../default/media/images/openid/blogger.png | Bin 194 -> 0 bytes .../default/media/images/openid/claimid.ico | Bin 3638 -> 0 bytes .../default/media/images/openid/claimid.png | Bin 453 -> 0 bytes .../default/media/images/openid/facebook.gif | Bin 2035 -> 0 bytes .../default/media/images/openid/flickr.ico | Bin 1150 -> 0 bytes .../default/media/images/openid/flickr.png | Bin 270 -> 0 bytes .../default/media/images/openid/google.gif | Bin 1888 -> 0 bytes .../media/images/openid/livejournal.ico | Bin 5222 -> 0 bytes .../media/images/openid/livejournal.png | Bin 471 -> 0 bytes .../default/media/images/openid/myopenid.ico | Bin 2862 -> 0 bytes .../default/media/images/openid/myopenid.png | Bin 686 -> 0 bytes .../media/images/openid/myopenid_big.png | Bin 2106 -> 0 bytes .../media/images/openid/openid-inputicon.gif | Bin 237 -> 0 bytes .../default/media/images/openid/openid.gif | Bin 740 -> 0 bytes .../media/images/openid/technorati.ico | Bin 2294 -> 0 bytes .../media/images/openid/technorati.png | Bin 422 -> 0 bytes .../default/media/images/openid/twitter.png | Bin 2198 -> 0 bytes .../default/media/images/openid/verisign.ico | Bin 4710 -> 0 bytes .../default/media/images/openid/verisign.png | Bin 513 -> 0 bytes .../default/media/images/openid/vidoop.ico | Bin 1406 -> 0 bytes .../default/media/images/openid/wordpress.ico | Bin 1150 -> 0 bytes .../default/media/images/openid/wordpress.png | Bin 268 -> 0 bytes .../default/media/images/openid/yahoo.gif | Bin 1643 -> 0 bytes .../skins/default/media/images/quest-bg.gif | Bin 294 -> 0 bytes .../default/media/images/user-sprite.png | Bin 4982 -> 0 bytes .../default/media/images/vote-accepted-on.png | Bin 1124 -> 0 bytes .../default/media/images/vote-accepted.png | Bin 1058 -> 0 bytes .../media/images/vote-arrow-down-on.png | Bin 905 -> 0 bytes .../default/media/images/vote-arrow-down.png | Bin 876 -> 0 bytes .../default/media/images/vote-arrow-up-on.png | Bin 906 -> 0 bytes .../default/media/images/vote-arrow-up.png | Bin 843 -> 0 bytes .../media/images/vote-favorite-off.png | Bin 930 -> 0 bytes .../default/media/images/vote-favorite-on.png | Bin 1023 -> 0 bytes .../skins/default/media/images/webfaction.png | Bin 2348 -> 0 bytes .../forum/skins/default/media/images/wiki.png | Bin 5349 -> 0 bytes .../forum/skins/default/media/js/compress.bat | 1 - .../default/media/js/effects.core.min.js | 10 - .../skins/default/media/js/excanvas.min.js | 1 - .../skins/default/media/js/flot-build.bat | 3 - .../skins/default/media/js/jquery-1.2.6.js | 3549 ------- .../default/media/js/jquery-1.2.6.min.js | 32 - .../default/media/js/jquery.ajaxfileupload.js | 195 - .../skins/default/media/js/jquery.flot.js | 2421 ----- .../skins/default/media/js/jquery.flot.min.js | 1 - .../skins/default/media/js/jquery.form.js | 654 -- .../skins/default/media/js/jquery.i18n.js | 133 - .../skins/default/media/js/jquery.openid.js | 171 - .../default/media/js/jquery.validate.pack.js | 15 - .../skins/default/media/js/osqa.admin.js | 73 - .../forum/skins/default/media/js/osqa.ask.js | 94 - .../forum/skins/default/media/js/osqa.main.js | 1156 --- .../skins/default/media/js/osqa.main.min.js | 1 - .../skins/default/media/js/osqa.question.js | 6 - .../forum/skins/default/media/js/se_hilite.js | 1 - .../skins/default/media/js/se_hilite_src.js | 273 - .../forum/skins/default/media/js/ui.core.js | 519 - .../skins/default/media/js/ui.core.min.js | 10 - .../skins/default/media/js/ui.datepicker.js | 1636 --- .../default/media/js/ui.datepicker.min.js | 13 - .../default/media/js/wmd/images/bg-fill.png | Bin 177 -> 0 bytes .../skins/default/media/js/wmd/images/bg.png | Bin 1814 -> 0 bytes .../media/js/wmd/images/blockquote.png | Bin 284 -> 0 bytes .../default/media/js/wmd/images/bold.png | Bin 255 -> 0 bytes .../default/media/js/wmd/images/code.png | Bin 214 -> 0 bytes .../skins/default/media/js/wmd/images/h1.png | Bin 203 -> 0 bytes .../skins/default/media/js/wmd/images/hr.png | Bin 218 -> 0 bytes .../skins/default/media/js/wmd/images/img.png | Bin 447 -> 0 bytes .../default/media/js/wmd/images/italic.png | Bin 247 -> 0 bytes .../default/media/js/wmd/images/link.png | Bin 1079 -> 0 bytes .../skins/default/media/js/wmd/images/ol.png | Bin 215 -> 0 bytes .../default/media/js/wmd/images/redo.png | Bin 669 -> 0 bytes .../default/media/js/wmd/images/separator.png | Bin 210 -> 0 bytes .../skins/default/media/js/wmd/images/ul.png | Bin 172 -> 0 bytes .../default/media/js/wmd/images/undo.png | Bin 651 -> 0 bytes .../media/js/wmd/images/wmd-buttons.png | Bin 7465 -> 0 bytes .../media/js/wmd/images/wmd-buttons.psd | Bin 61236 -> 0 bytes .../default/media/js/wmd/images/wmd-on.png | Bin 477 -> 0 bytes .../skins/default/media/js/wmd/images/wmd.png | Bin 518 -> 0 bytes .../default/media/js/wmd/showdown-min.js | 1 - .../skins/default/media/js/wmd/showdown.js | 1308 --- .../skins/default/media/js/wmd/wmd-min.js | 1 - .../skins/default/media/js/wmd/wmd-test.html | 158 - .../forum/skins/default/media/js/wmd/wmd.css | 138 - .../forum/skins/default/media/js/wmd/wmd.js | 2448 ----- .../default/media/js/yuicompressor-2.4.2.jar | Bin 851219 -> 0 bytes .../forum/skins/default/media/style/admin.css | 54 - .../forum/skins/default/media/style/auth.css | 84 - .../skins/default/media/style/default.css | 1754 ---- .../default/media/style/djstyle_admin.css | 57 - .../media/style/jquery.autocomplete.css | 49 - .../default/media/style/markdown_help.css | 45 - .../skins/default/media/style/openid.css | 45 - .../skins/default/media/style/prettify.css | 27 - .../forum/skins/default/media/style/style.css | 1828 ---- .../forum/skins/default/media/style/user.css | 81 - .../forum/skins/default/templates/401.html | 46 - .../forum/skins/default/templates/403.html | 36 - .../forum/skins/default/templates/404.html | 48 - .../forum/skins/default/templates/500.html | 35 - .../forum/skins/default/templates/503.html | 22 - .../default/templates/account_settings.html | 45 - .../skins/default/templates/answer_edit.html | 114 - .../default/templates/answer_edit_tips.html | 26 - .../forum/skins/default/templates/ask.html | 176 - .../default/templates/auth/auth_settings.html | 38 - .../default/templates/auth/complete.html | 105 - .../auth/mail_already_validated.html | 17 - .../templates/auth/mail_validation.html | 30 - .../skins/default/templates/auth/signin.html | 184 - .../templates/auth/temp_login_email.html | 31 - .../templates/auth/temp_login_request.html | 28 - .../default/templates/auth/welcome_email.html | 46 - .../forum/skins/default/templates/badge.html | 38 - .../forum/skins/default/templates/badges.html | 67 - .../forum/skins/default/templates/base.html | 28 - .../skins/default/templates/base_content.html | 138 - .../forum/skins/default/templates/close.html | 36 - .../templates/edit_user_email_feeds_form.html | 4 - .../skins/default/templates/email_base.html | 47 - .../skins/default/templates/feedback.html | 55 - .../templates/feeds/rss_answer_title.html | 2 - .../templates/feeds/rss_description.html | 1 - .../default/templates/feeds/rss_title.html | 1 - .../forum/skins/default/templates/footer.html | 19 - .../forum/skins/default/templates/header.html | 47 - .../forum/skins/default/templates/index.html | 30 - .../forum/skins/default/templates/logout.html | 23 - .../default/templates/markdown_help.html | 250 - .../default/templates/node/accept_button.html | 22 - .../default/templates/node/comments.html | 86 - .../templates/node/contributors_info.html | 25 - .../templates/node/convert_to_comment.html | 10 - .../templates/node/convert_to_question.html | 7 - .../default/templates/node/favorite_mark.html | 8 - .../default/templates/node/flagged_item.html | 6 - .../default/templates/node/post_controls.html | 22 - .../skins/default/templates/node/report.html | 14 - .../default/templates/node/reviser_info.html | 9 - .../default/templates/node/revision.html | 11 - .../default/templates/node/vote_buttons.html | 12 - .../default/templates/node/wiki_symbol.html | 11 - .../skins/default/templates/notarobot.html | 15 - .../notifications/answeraccepted.html | 33 - .../default/templates/notifications/base.html | 35 - .../templates/notifications/base_text.html | 17 - .../templates/notifications/digest.html | 98 - .../templates/notifications/feedback.html | 37 - .../templates/notifications/newanswer.html | 44 - .../templates/notifications/newcomment.html | 46 - .../templates/notifications/newmember.html | 34 - .../templates/notifications/newquestion.html | 47 - .../skins/default/templates/opensearch.html | 8 - .../default/templates/osqaadmin/base.html | 51 - .../templates/osqaadmin/createuser.html | 20 - .../templates/osqaadmin/dashboard.html | 81 - .../templates/osqaadmin/djstyle_base.html | 144 - .../templates/osqaadmin/edit_page.html | 36 - .../templates/osqaadmin/flagged_posts.html | 25 - .../default/templates/osqaadmin/graph.html | 10 - .../default/templates/osqaadmin/index.html | 80 - .../templates/osqaadmin/maintenance.html | 25 - .../templates/osqaadmin/moderation.html | 101 - .../default/templates/osqaadmin/nodeman.html | 513 - .../default/templates/osqaadmin/set.html | 27 - .../templates/osqaadmin/static_pages.html | 28 - .../templates/osqaadmin/statistics.html | 33 - .../forum/skins/default/templates/page.html | 27 - .../skins/default/templates/pagesize.html | 27 - .../skins/default/templates/paginator.html | 38 - .../templates/paginator/page_numbers.html | 25 - .../templates/paginator/page_sizes.html | 13 - .../templates/paginator/sort_tabs.html | 13 - .../skins/default/templates/privacy.html | 42 - .../skins/default/templates/question.html | 322 - .../default/templates/question_edit.html | 166 - .../default/templates/question_edit_tips.html | 48 - .../templates/question_list/count.html | 26 - .../default/templates/question_list/item.html | 35 - .../templates/question_list/related_tags.html | 15 - .../templates/question_list/sort_tabs.html | 8 - .../question_list/subscription_item.html | 10 - .../templates/question_list/tag_selector.html | 49 - .../templates/question_list/title.html | 25 - .../default/templates/question_retag.html | 106 - .../templates/question_summary_list_roll.html | 55 - .../skins/default/templates/questions.html | 39 - .../forum/skins/default/templates/reopen.html | 37 - .../skins/default/templates/revisions.html | 78 - .../forum/skins/default/templates/search.html | 25 - .../templates/sidebar/markdown_help.html | 35 - .../templates/sidebar/recent_awards.html | 17 - .../templates/sidebar/recent_tags.html | 13 - .../templates/sidebar/user_blocks.html | 9 - .../forum/skins/default/templates/static.html | 12 - .../templates/subscription_status.html | 44 - .../skins/default/templates/tag_selector.html | 42 - .../forum/skins/default/templates/tags.html | 63 - .../forum/skins/default/templates/user.html | 39 - .../default/templates/users/activity.html | 12 - .../skins/default/templates/users/edit.html | 107 - .../skins/default/templates/users/info.html | 111 - .../default/templates/users/karma_bonus.html | 12 - .../skins/default/templates/users/menu.html | 8 - .../default/templates/users/online_users.html | 54 - .../default/templates/users/preferences.html | 29 - .../default/templates/users/questions.html | 11 - .../skins/default/templates/users/recent.html | 12 - .../default/templates/users/reputation.html | 43 - .../default/templates/users/signature.html | 33 - .../skins/default/templates/users/stats.html | 145 - .../templates/users/subscriptions.html | 53 - .../users/subscriptions_management.html | 26 - .../users/subscriptions_settings.html | 127 - .../default/templates/users/suspend_user.html | 49 - .../skins/default/templates/users/tabs.html | 12 - .../skins/default/templates/users/users.html | 54 - .../skins/default/templates/users/votes.html | 28 - .../template_loader.py/forum/startup.py | 16 - .../template_loader.py/forum/subscriptions.py | 179 - .../forum/templatetags/__init__.py | 7 - .../forum/templatetags/email_tags.py | 117 - .../forum/templatetags/extra_filters.py | 58 - .../forum/templatetags/extra_tags.py | 251 - .../templatetags/general_sidebar_tags.py | 39 - .../forum/templatetags/node_tags.py | 215 - .../forum/templatetags/question_list_tags.py | 77 - .../forum/templatetags/smart_if.py | 401 - .../forum/templatetags/ui_registry.py | 78 - .../forum/templatetags/user_tags.py | 71 - .../template_loader.py/forum/upfiles/README | 2 - .../template_loader.py/forum/upfiles/logo.png | Bin 21607 -> 0 bytes .../modules/template_loader.py/forum/urls.py | 216 - .../forum/user_messages/__init__.py | 36 - .../forum/user_messages/context_processors.py | 55 - .../forum/utils/__init__.py | 0 .../forum/utils/decorators.py | 25 - .../template_loader.py/forum/utils/diff.py | 66 - .../forum/utils/djangofix.py | 21 - .../template_loader.py/forum/utils/html.py | 75 - .../forum/utils/html2text.py | 140 - .../template_loader.py/forum/utils/lists.py | 86 - .../template_loader.py/forum/utils/mail.py | 88 - .../forum/utils/pagination.py | 313 - .../template_loader.py/forum/utils/time.py | 4 - .../forum/utils/userlinking.py | 90 - .../forum/views/__init__.py | 17 - .../template_loader.py/forum/views/admin.py | 554 - .../template_loader.py/forum/views/auth.py | 422 - .../forum/views/commands.py | 578 -- .../forum/views/decorators.py | 80 - .../template_loader.py/forum/views/meta.py | 162 - .../template_loader.py/forum/views/readers.py | 374 - .../template_loader.py/forum/views/users.py | 454 - .../template_loader.py/forum/views/writers.py | 270 - .../forum_modules/__init__.py | 0 .../forum_modules/akismet/__init__.py | 0 .../forum_modules/akismet/lib/__init__.py | 0 .../forum_modules/akismet/lib/akismet.py | 373 - .../forum_modules/akismet/settings.py | 13 - .../forum_modules/akismet/startup.py | 77 - .../akismet/templates/foundspam.html | 36 - .../forum_modules/default_badges/__init__.py | 0 .../forum_modules/default_badges/badges.py | 322 - .../forum_modules/default_badges/settings.py | 136 - .../forum_modules/exporter/__init__.py | 0 .../forum_modules/exporter/backups/README | 1 - .../forum_modules/exporter/commands.py | 77 - .../forum_modules/exporter/exporter.py | 515 - .../forum_modules/exporter/forms.py | 8 - .../forum_modules/exporter/importer.py | 665 -- .../forum_modules/exporter/mappings.py | 27 - .../forum_modules/exporter/orm.py | 265 - .../forum_modules/exporter/settings.py | 13 - .../forum_modules/exporter/startup.py | 2 - .../exporter/templates/exporter.html | 33 - .../exporter/templates/importer.html | 14 - .../exporter/templates/running.html | 164 - .../forum_modules/exporter/tmp/README | 1 - .../forum_modules/exporter/urls.py | 11 - .../forum_modules/exporter/views.py | 91 - .../forum_modules/facebookauth/__init__.py | 0 .../facebookauth/authentication.py | 87 - .../forum_modules/facebookauth/settings.py | 17 - .../facebookauth/templates/button.html | 38 - .../facebookauth/templates/xd_receiver.html | 1 - .../forum_modules/facebookauth/urls.py | 9 - .../forum_modules/facebookauth/views.py | 11 - .../forum_modules/localauth/__init__.py | 0 .../forum_modules/localauth/authentication.py | 19 - .../forum_modules/localauth/forms.py | 98 - .../localauth/templates/loginform.html | 31 - .../forum_modules/localauth/urls.py | 8 - .../forum_modules/localauth/views.py | 43 - .../forum_modules/oauthauth/__init__.py | 0 .../forum_modules/oauthauth/authentication.py | 41 - .../forum_modules/oauthauth/consumer.py | 87 - .../forum_modules/oauthauth/lib/__init__.py | 0 .../forum_modules/oauthauth/lib/oauth.py | 594 -- .../forum_modules/oauthauth/settings.py | 19 - .../forum_modules/openidauth/__init__.py | 5 - .../openidauth/authentication.py | 188 - .../forum_modules/openidauth/consumer.py | 145 - .../forum_modules/openidauth/models.py | 26 - .../forum_modules/openidauth/settings.py | 9 - .../forum_modules/openidauth/store.py | 86 - .../openidauth/templates/openidurl.html | 20 - .../forum_modules/pgfulltext/__init__.py | 10 - .../forum_modules/pgfulltext/handlers.py | 38 - .../pgfulltext/pg_fts_install.sql | 129 - .../forum_modules/pgfulltext/settings.py | 3 - .../forum_modules/pgfulltext/startup.py | 27 - .../forum_modules/project_badges/__init__.py | 0 .../forum_modules/project_badges/badges.py | 20 - .../forum_modules/project_badges/settings.py | 8 - .../forum_modules/recaptcha/__init__.py | 0 .../forum_modules/recaptcha/formfield.py | 32 - .../forum_modules/recaptcha/handlers.py | 4 - .../forum_modules/recaptcha/lib/__init__.py | 0 .../forum_modules/recaptcha/lib/captcha.py | 96 - .../forum_modules/recaptcha/settings.py | 17 - .../forum_modules/robotstxt/__init__.py | 0 .../forum_modules/robotstxt/settings.py | 23 - .../robotstxt/templates/robots.txt | 7 - .../forum_modules/robotstxt/urls.py | 7 - .../forum_modules/sphinxfulltext/README.txt | 29 - .../forum_modules/sphinxfulltext/__init__.py | 5 - .../sphinxfulltext/dependencies.py | 2 - .../forum_modules/sphinxfulltext/handlers.py | 4 - .../forum_modules/sphinxfulltext/models.py | 11 - .../forum_modules/sphinxfulltext/settings.py | 5 - .../forum_modules/sximporter/__init__.py | 0 .../forum_modules/sximporter/importer.py | 1002 -- .../forum_modules/sximporter/orm.py | 265 - .../sximporter/templates/page.html | 27 - .../forum_modules/sximporter/urls.py | 9 - .../forum_modules/sximporter/views.py | 30 - .../locale/bg/LC_MESSAGES/django.mo | Bin 42055 -> 0 bytes .../locale/bg/LC_MESSAGES/django.po | 9070 ----------------- .../locale/de/LC_MESSAGES/django.mo | 0 .../locale/de/LC_MESSAGES/django.po | 4428 -------- .../locale/en/LC_MESSAGES/django.mo | Bin 13334 -> 0 bytes .../locale/en/LC_MESSAGES/django.po | 4552 --------- .../locale/es/LC_MESSAGES/django.mo | Bin 2626 -> 0 bytes .../locale/es/LC_MESSAGES/django.po | 4285 -------- .../locale/fr/LC_MESSAGES/django.mo | Bin 367 -> 0 bytes .../locale/fr/LC_MESSAGES/django.po | 4446 -------- .../locale/l/LC_MESSAGES/django.mo | Bin 367 -> 0 bytes .../locale/l/LC_MESSAGES/django.po | 4446 -------- .../template_loader.py/locale/phrases.py | 4 - .../locale/pt/LC_MESSAGES/django.mo | Bin 367 -> 0 bytes .../locale/pt/LC_MESSAGES/django.po | 4446 -------- .../locale/zh_CN/LC_MESSAGES/django.mo | Bin 24187 -> 0 bytes .../locale/zh_CN/LC_MESSAGES/django.po | 5202 ---------- .../modules/template_loader.py/log/README.TXT | 1 - forum/modules/template_loader.py/manage.py | 13 - forum/modules/template_loader.py/osqa.iml | 18 - .../modules/template_loader.py/osqa.wsgi.dist | 11 - forum/modules/template_loader.py/rmpyc | 1 - forum/modules/template_loader.py/settings.py | 115 - .../template_loader.py/settings_local.py.dist | 54 - forum/modules/template_loader.py/tmp/README | 1 - forum/modules/template_loader.py/urls.py | 13 - 538 files changed, 100417 deletions(-) delete mode 100644 forum/modules/template_loader.py/.project delete mode 100644 forum/modules/template_loader.py/INSTALL delete mode 100644 forum/modules/template_loader.py/LICENSE delete mode 100644 forum/modules/template_loader.py/__init__.py delete mode 100644 forum/modules/template_loader.py/cron/README delete mode 100644 forum/modules/template_loader.py/cron/send_email_alerts delete mode 100644 forum/modules/template_loader.py/cron/send_email_alerts_virtualenv delete mode 100644 forum/modules/template_loader.py/forum/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/actions/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/actions/meta.py delete mode 100644 forum/modules/template_loader.py/forum/actions/node.py delete mode 100644 forum/modules/template_loader.py/forum/actions/page.py delete mode 100644 forum/modules/template_loader.py/forum/actions/user.py delete mode 100644 forum/modules/template_loader.py/forum/admin.py delete mode 100644 forum/modules/template_loader.py/forum/authentication/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/authentication/base.py delete mode 100644 forum/modules/template_loader.py/forum/badges/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/badges/base.py delete mode 100644 forum/modules/template_loader.py/forum/context.py delete mode 100644 forum/modules/template_loader.py/forum/feed.py delete mode 100644 forum/modules/template_loader.py/forum/forms/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/forms/admin.py delete mode 100644 forum/modules/template_loader.py/forum/forms/auth.py delete mode 100644 forum/modules/template_loader.py/forum/forms/general.py delete mode 100644 forum/modules/template_loader.py/forum/forms/qanda.py delete mode 100644 forum/modules/template_loader.py/forum/http_responses.py delete mode 100644 forum/modules/template_loader.py/forum/management/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/base_command.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/checkinstall.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/create_extended_user.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/create_subscriptions.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/message_to_everyone.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/sample_command.py delete mode 100644 forum/modules/template_loader.py/forum/management/commands/send_email_alerts.py delete mode 100644 forum/modules/template_loader.py/forum/markdownext/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/markdownext/mdx_limitedsyntax.py delete mode 100644 forum/modules/template_loader.py/forum/markdownext/mdx_settingsparser.py delete mode 100644 forum/modules/template_loader.py/forum/markdownext/mdx_urlize.py delete mode 100644 forum/modules/template_loader.py/forum/middleware/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/middleware/anon_user.py delete mode 100644 forum/modules/template_loader.py/forum/middleware/cancel.py delete mode 100644 forum/modules/template_loader.py/forum/middleware/extended_user.py delete mode 100644 forum/modules/template_loader.py/forum/middleware/request_utils.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0001_initial.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0002_auto__add_likedcomment__del_field_repute_positive__del_field_repute_ne.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0003_repute_changes.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0004_auto__del_field_repute_negative__del_field_repute_positive__del_field_.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0005_fill_accepted_by_field.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0006_auto__add_node__add_field_vote_node__add_field_comment_node__add_field.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0007_q_and_a_to_node.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0008_auto__add_noderevision__del_field_vote_object_id__del_field_vote_conte.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0009_convert_revisions.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0010_auto__del_questionrevision__del_answerrevision__del_field_answer_vote_.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0011_auto__add_field_node_active_revision.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0012_set_active_revision.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0013_auto__del_anonymousquestion__del_anonymousanswer__add_anonymousnode.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0014_auto__add_field_question_accepted_answer.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0015_accepted_answer_changes.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0016_auto__del_field_question_answer_accepted__chg_field_question_node_ptr.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0017_auto__add_field_repute_node__add_field_repute_canceled.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0018_comments_to_node.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0019_auto__del_likedcomment__del_comment__add_field_node_abs_parent__chg_fi.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0020_create_absolute_parents.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0021_create_new_pg_fts_triggers.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0022_auto__add_actionrepute__add_action__add_favoritenode__del_field_node_v.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0023_flaten_node_inheritance_create_actions.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0024_auto__del_repute__del_vote__del_answer__del_flaggeditem__del_anonymous.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0025_auto__add_field_node_extra_action__add_field_node_deleted__add_field_n.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0026_reset_deleted_and_lastedited_flags.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0027_auto__del_activity.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0028_auto__add_field_action_canceled_ip__add_field_actionrepute_date.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0029_repute_dates.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0030_auto__chg_field_action_extra__chg_field_keyvalue_value.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0031_alter_pickle_storage.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0032_auto__del_field_user_hide_ignored_questions__del_field_user_questions_.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0033_auto__add_flag__add_vote__add_field_badge_cls__del_unique_badge_type_n.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0034_new_badge_and_award.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0035_auto__del_field_award_object_id__del_field_award_content_type__add_uni.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0037_fill_node_state.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0038_auto__del_field_node_wiki__del_field_node_deleted__del_field_node_extr.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0040_auto__chg_field_nodestate_action__add_field_node_extra.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0041_action_ip_fixes.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0042_auto__add_userproperty.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0043_auto__add_field_subscriptionsettings_send_digest__add_field_action_rea.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/0044_markdown_cache_migration.py delete mode 100644 forum/modules/template_loader.py/forum/migrations/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/models/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/models/action.py delete mode 100644 forum/modules/template_loader.py/forum/models/answer.py delete mode 100644 forum/modules/template_loader.py/forum/models/base.py delete mode 100644 forum/modules/template_loader.py/forum/models/comment.py delete mode 100644 forum/modules/template_loader.py/forum/models/meta.py delete mode 100644 forum/modules/template_loader.py/forum/models/node.py delete mode 100644 forum/modules/template_loader.py/forum/models/page.py delete mode 100644 forum/modules/template_loader.py/forum/models/question.py delete mode 100644 forum/modules/template_loader.py/forum/models/tag.py delete mode 100644 forum/modules/template_loader.py/forum/models/tests/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/models/tests/fixtures/users delete mode 100644 forum/modules/template_loader.py/forum/models/tests/test_user.py delete mode 100644 forum/modules/template_loader.py/forum/models/user.py delete mode 100644 forum/modules/template_loader.py/forum/models/utils.py delete mode 100644 forum/modules/template_loader.py/forum/modules/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/modules/decorators.py delete mode 100644 forum/modules/template_loader.py/forum/modules/template_loader.py delete mode 100644 forum/modules/template_loader.py/forum/modules/ui.py delete mode 100644 forum/modules/template_loader.py/forum/modules/ui_objects.py delete mode 100644 forum/modules/template_loader.py/forum/registry.py delete mode 100644 forum/modules/template_loader.py/forum/settings/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/settings/about.py delete mode 100644 forum/modules/template_loader.py/forum/settings/accept.py delete mode 100644 forum/modules/template_loader.py/forum/settings/base.py delete mode 100644 forum/modules/template_loader.py/forum/settings/basic.py delete mode 100644 forum/modules/template_loader.py/forum/settings/email.py delete mode 100644 forum/modules/template_loader.py/forum/settings/extkeys.py delete mode 100644 forum/modules/template_loader.py/forum/settings/faq.py delete mode 100644 forum/modules/template_loader.py/forum/settings/form.py delete mode 100644 forum/modules/template_loader.py/forum/settings/forms.py delete mode 100644 forum/modules/template_loader.py/forum/settings/minrep.py delete mode 100644 forum/modules/template_loader.py/forum/settings/moderation.py delete mode 100644 forum/modules/template_loader.py/forum/settings/repgain.py delete mode 100644 forum/modules/template_loader.py/forum/settings/sidebar.py delete mode 100644 forum/modules/template_loader.py/forum/settings/static.py delete mode 100644 forum/modules/template_loader.py/forum/settings/upload.py delete mode 100644 forum/modules/template_loader.py/forum/settings/urls.py delete mode 100644 forum/modules/template_loader.py/forum/settings/users.py delete mode 100644 forum/modules/template_loader.py/forum/settings/view.py delete mode 100644 forum/modules/template_loader.py/forum/settings/voting.py delete mode 100644 forum/modules/template_loader.py/forum/sitemap.py delete mode 100644 forum/modules/template_loader.py/forum/skins/README delete mode 100644 forum/modules/template_loader.py/forum/skins/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/skins/common/media/README delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/blue-up-arrow-h18px.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/box-arrow.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/bullet_green.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/by-sa-88x31.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/cc-88x31.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/cc-wiki.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/close-small-dark.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/close-small-hover.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/close-small.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete-hover.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit-hover.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-like-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/comment-like.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/convert-hover.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/convert-off.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/dash.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/djangomade124x25_grey.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/dot-g.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/dot-list.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/edit.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-hide.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-show.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/favicon.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/favicon.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/feed-icon-small.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/gray-up-arrow-h18px.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/grippie.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/indicator.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/logo.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/logo.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/logo1.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/logo2.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/medala.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/medala_on.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/new.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/nophoto.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/aol.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/aol.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/blogger.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/blogger.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/claimid.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/claimid.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/facebook.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/flickr.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/flickr.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/google.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/livejournal.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/livejournal.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/myopenid.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/myopenid.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/myopenid_big.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid-inputicon.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/twitter.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/verisign.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/verisign.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/vidoop.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.ico delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/openid/yahoo.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/quest-bg.gif delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/user-sprite.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-accepted-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-accepted.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-down-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-down.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-up-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-up.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-off.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/webfaction.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/images/wiki.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/compress.bat delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/effects.core.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/excanvas.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/flot-build.bat delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery-1.2.6.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery-1.2.6.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.ajaxfileupload.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.flot.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.flot.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.form.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.i18n.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.openid.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/jquery.validate.pack.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/osqa.admin.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/osqa.ask.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/osqa.main.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/osqa.main.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/osqa.question.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/se_hilite.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/se_hilite_src.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg-fill.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/blockquote.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bold.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/code.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/h1.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/hr.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/img.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/italic.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/link.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ol.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/redo.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/separator.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ul.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/undo.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-buttons.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-buttons.psd delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-on.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd.png delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/showdown-min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/showdown.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd-min.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd-test.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.js delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/js/yuicompressor-2.4.2.jar delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/admin.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/auth.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/default.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/djstyle_admin.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/jquery.autocomplete.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/markdown_help.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/openid.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/prettify.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/style.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/media/style/user.css delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/401.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/403.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/404.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/500.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/503.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/account_settings.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/answer_edit.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/answer_edit_tips.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/ask.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/auth_settings.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/complete.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/mail_already_validated.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/mail_validation.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/signin.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/temp_login_email.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/temp_login_request.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/auth/welcome_email.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/badge.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/badges.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/base.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/base_content.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/close.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/edit_user_email_feeds_form.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/email_base.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/feedback.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/feeds/rss_answer_title.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/feeds/rss_description.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/feeds/rss_title.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/footer.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/header.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/index.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/logout.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/markdown_help.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/accept_button.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/comments.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/contributors_info.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/convert_to_comment.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/convert_to_question.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/favorite_mark.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/flagged_item.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/post_controls.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/report.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/reviser_info.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/revision.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/vote_buttons.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/node/wiki_symbol.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notarobot.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/answeraccepted.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/base.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/base_text.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/digest.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/feedback.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/newanswer.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/newcomment.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/newmember.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/notifications/newquestion.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/opensearch.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/base.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/createuser.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/dashboard.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/djstyle_base.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/edit_page.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/flagged_posts.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/graph.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/index.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/maintenance.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/moderation.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/nodeman.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/set.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/static_pages.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/osqaadmin/statistics.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/page.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/pagesize.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/paginator.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/paginator/page_numbers.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/paginator/page_sizes.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/paginator/sort_tabs.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/privacy.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_edit.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_edit_tips.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/count.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/item.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/related_tags.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/sort_tabs.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/subscription_item.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/tag_selector.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_list/title.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_retag.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/question_summary_list_roll.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/questions.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/reopen.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/revisions.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/search.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/sidebar/markdown_help.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/sidebar/recent_awards.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/sidebar/recent_tags.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/sidebar/user_blocks.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/static.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/subscription_status.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/tag_selector.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/tags.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/user.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/activity.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/edit.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/info.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/karma_bonus.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/menu.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/online_users.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/preferences.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/questions.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/recent.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/reputation.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/signature.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/stats.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/subscriptions.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/subscriptions_management.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/subscriptions_settings.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/suspend_user.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/tabs.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/users.html delete mode 100644 forum/modules/template_loader.py/forum/skins/default/templates/users/votes.html delete mode 100644 forum/modules/template_loader.py/forum/startup.py delete mode 100644 forum/modules/template_loader.py/forum/subscriptions.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/email_tags.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/extra_filters.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/extra_tags.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/general_sidebar_tags.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/node_tags.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/question_list_tags.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/smart_if.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/ui_registry.py delete mode 100644 forum/modules/template_loader.py/forum/templatetags/user_tags.py delete mode 100644 forum/modules/template_loader.py/forum/upfiles/README delete mode 100644 forum/modules/template_loader.py/forum/upfiles/logo.png delete mode 100644 forum/modules/template_loader.py/forum/urls.py delete mode 100644 forum/modules/template_loader.py/forum/user_messages/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/user_messages/context_processors.py delete mode 100644 forum/modules/template_loader.py/forum/utils/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/utils/decorators.py delete mode 100644 forum/modules/template_loader.py/forum/utils/diff.py delete mode 100644 forum/modules/template_loader.py/forum/utils/djangofix.py delete mode 100644 forum/modules/template_loader.py/forum/utils/html.py delete mode 100644 forum/modules/template_loader.py/forum/utils/html2text.py delete mode 100644 forum/modules/template_loader.py/forum/utils/lists.py delete mode 100644 forum/modules/template_loader.py/forum/utils/mail.py delete mode 100644 forum/modules/template_loader.py/forum/utils/pagination.py delete mode 100644 forum/modules/template_loader.py/forum/utils/time.py delete mode 100644 forum/modules/template_loader.py/forum/utils/userlinking.py delete mode 100644 forum/modules/template_loader.py/forum/views/__init__.py delete mode 100644 forum/modules/template_loader.py/forum/views/admin.py delete mode 100644 forum/modules/template_loader.py/forum/views/auth.py delete mode 100644 forum/modules/template_loader.py/forum/views/commands.py delete mode 100644 forum/modules/template_loader.py/forum/views/decorators.py delete mode 100644 forum/modules/template_loader.py/forum/views/meta.py delete mode 100644 forum/modules/template_loader.py/forum/views/readers.py delete mode 100644 forum/modules/template_loader.py/forum/views/users.py delete mode 100644 forum/modules/template_loader.py/forum/views/writers.py delete mode 100644 forum/modules/template_loader.py/forum_modules/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/lib/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/lib/akismet.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/startup.py delete mode 100644 forum/modules/template_loader.py/forum_modules/akismet/templates/foundspam.html delete mode 100644 forum/modules/template_loader.py/forum_modules/default_badges/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/default_badges/badges.py delete mode 100644 forum/modules/template_loader.py/forum_modules/default_badges/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/backups/README delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/commands.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/exporter.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/forms.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/importer.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/mappings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/orm.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/startup.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/templates/exporter.html delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/templates/importer.html delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/templates/running.html delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/tmp/README delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/urls.py delete mode 100644 forum/modules/template_loader.py/forum_modules/exporter/views.py delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/authentication.py delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/templates/button.html delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/templates/xd_receiver.html delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/urls.py delete mode 100644 forum/modules/template_loader.py/forum_modules/facebookauth/views.py delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/authentication.py delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/forms.py delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/templates/loginform.html delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/urls.py delete mode 100644 forum/modules/template_loader.py/forum_modules/localauth/views.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/authentication.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/consumer.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/lib/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/lib/oauth.py delete mode 100644 forum/modules/template_loader.py/forum_modules/oauthauth/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/authentication.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/consumer.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/models.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/store.py delete mode 100644 forum/modules/template_loader.py/forum_modules/openidauth/templates/openidurl.html delete mode 100644 forum/modules/template_loader.py/forum_modules/pgfulltext/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/pgfulltext/handlers.py delete mode 100644 forum/modules/template_loader.py/forum_modules/pgfulltext/pg_fts_install.sql delete mode 100644 forum/modules/template_loader.py/forum_modules/pgfulltext/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/pgfulltext/startup.py delete mode 100644 forum/modules/template_loader.py/forum_modules/project_badges/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/project_badges/badges.py delete mode 100644 forum/modules/template_loader.py/forum_modules/project_badges/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/formfield.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/handlers.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/lib/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/lib/captcha.py delete mode 100644 forum/modules/template_loader.py/forum_modules/recaptcha/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/robotstxt/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/robotstxt/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/robotstxt/templates/robots.txt delete mode 100644 forum/modules/template_loader.py/forum_modules/robotstxt/urls.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/README.txt delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/dependencies.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/handlers.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/models.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sphinxfulltext/settings.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/__init__.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/importer.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/orm.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/templates/page.html delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/urls.py delete mode 100644 forum/modules/template_loader.py/forum_modules/sximporter/views.py delete mode 100755 forum/modules/template_loader.py/locale/bg/LC_MESSAGES/django.mo delete mode 100755 forum/modules/template_loader.py/locale/bg/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/en/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/en/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/phrases.py delete mode 100644 forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.mo delete mode 100644 forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.po delete mode 100644 forum/modules/template_loader.py/log/README.TXT delete mode 100644 forum/modules/template_loader.py/manage.py delete mode 100644 forum/modules/template_loader.py/osqa.iml delete mode 100644 forum/modules/template_loader.py/osqa.wsgi.dist delete mode 100644 forum/modules/template_loader.py/rmpyc delete mode 100644 forum/modules/template_loader.py/settings.py delete mode 100644 forum/modules/template_loader.py/settings_local.py.dist delete mode 100644 forum/modules/template_loader.py/tmp/README delete mode 100644 forum/modules/template_loader.py/urls.py diff --git a/forum/modules/template_loader.py/.project b/forum/modules/template_loader.py/.project deleted file mode 100644 index 5b1b909..0000000 --- a/forum/modules/template_loader.py/.project +++ /dev/null @@ -1,24 +0,0 @@ - - - osqa-pydev - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.python.pydev.PyDevBuilder - - - - - - org.python.pydev.pythonNature - org.eclipse.wst.jsdt.core.jsNature - org.python.pydev.django.djangoNature - - diff --git a/forum/modules/template_loader.py/INSTALL b/forum/modules/template_loader.py/INSTALL deleted file mode 100644 index 525947b..0000000 --- a/forum/modules/template_loader.py/INSTALL +++ /dev/null @@ -1,5 +0,0 @@ -For installation instruction go to: - -http://wiki.osqa.net/display/docs/Home - -The wiki contains many recipes to help you install on different hosting providers. \ No newline at end of file diff --git a/forum/modules/template_loader.py/LICENSE b/forum/modules/template_loader.py/LICENSE deleted file mode 100644 index de192e0..0000000 --- a/forum/modules/template_loader.py/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -Copyright (c) 2010. OSQA -Some portions Copyright (c) 2009 Chen Gang - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . diff --git a/forum/modules/template_loader.py/__init__.py b/forum/modules/template_loader.py/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/cron/README b/forum/modules/template_loader.py/cron/README deleted file mode 100644 index d557315..0000000 --- a/forum/modules/template_loader.py/cron/README +++ /dev/null @@ -1,5 +0,0 @@ -this directory contains sample commands to be executed -by cron - -files with names ending "virtuanenv" should work under Python virtualenv system -other files - with standard unix setup diff --git a/forum/modules/template_loader.py/cron/send_email_alerts b/forum/modules/template_loader.py/cron/send_email_alerts deleted file mode 100644 index cae0960..0000000 --- a/forum/modules/template_loader.py/cron/send_email_alerts +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -PYTHONPATH=/path/to/dir_above_osqa_site -export PYTHONPATH -PROJECT_ROOT=$PYTHONPATH/osqa_site -/path/to/python $PROJECT_ROOT/manage.py send_email_alerts diff --git a/forum/modules/template_loader.py/cron/send_email_alerts_virtualenv b/forum/modules/template_loader.py/cron/send_email_alerts_virtualenv deleted file mode 100644 index 6c9e154..0000000 --- a/forum/modules/template_loader.py/cron/send_email_alerts_virtualenv +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -WORKON_HOME=~/envs/osqa -PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/ - -# activate virtual environment -. $WORKON_HOME/bin/activate - -cd $PROJECT_ROOT -python manage.py send_email_alerts >> $PROJECT_ROOT/log/cron_mail.log 2>&1 diff --git a/forum/modules/template_loader.py/forum/__init__.py b/forum/modules/template_loader.py/forum/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum/actions/__init__.py b/forum/modules/template_loader.py/forum/actions/__init__.py deleted file mode 100644 index 4c6c678..0000000 --- a/forum/modules/template_loader.py/forum/actions/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -from meta import * -from node import * -from user import * -from page import * \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/actions/meta.py b/forum/modules/template_loader.py/forum/actions/meta.py deleted file mode 100644 index f5c12cd..0000000 --- a/forum/modules/template_loader.py/forum/actions/meta.py +++ /dev/null @@ -1,215 +0,0 @@ -from django.utils.translation import ugettext as _ -from django.db.models import F -from forum.models.action import ActionProxy, DummyActionProxy -from forum.models import Vote, Flag -from forum import settings - -class VoteAction(ActionProxy): - def update_node_score(self, inc): - self.node.score = F('score') + inc - self.node.save() - - def process_vote_action(self, value): - self.update_node_score(value) - vote = Vote(node=self.node, user=self.user, action=self, value=value) - vote.save() - - def cancel_action(self): - vote = self.vote - self.update_node_score(-vote.value) - vote.delete() - - @classmethod - def get_for(cls, user, node): - try: - vote = Vote.objects.get(user=user, node=node) - return vote.value - except: - return None - - @classmethod - def get_action_for(cls, user, node): - try: - vote = Vote.objects.get(user=user, node=node) - return vote.action - except: - return None - - def describe_vote(self, vote_desc, viewer=None): - return _("%(user)s %(vote_desc)s %(post_desc)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'vote_desc': vote_desc, 'post_desc': self.describe_node(viewer, self.node) - } - - -class VoteUpAction(VoteAction): - def repute_users(self): - self.repute(self.node.author, int(settings.REP_GAIN_BY_UPVOTED)) - - def process_action(self): - self.process_vote_action(1) - self.user.reset_vote_up_count_cache() - - def cancel_action(self): - super(VoteUpAction, self).cancel_action() - self.user.reset_vote_up_count_cache() - - def describe(self, viewer=None): - return self.describe_vote(_("voted up"), viewer) - -class VoteDownAction(VoteAction): - def repute_users(self): - self.repute(self.node.author, -int(settings.REP_LOST_BY_DOWNVOTED)) - self.repute(self.user, -int(settings.REP_LOST_BY_DOWNVOTING)) - - def process_action(self): - self.process_vote_action(-1) - self.user.reset_vote_down_count_cache() - - def cancel_action(self): - super(VoteDownAction, self).cancel_action() - self.user.reset_vote_down_count_cache() - - def describe(self, viewer=None): - return self.describe_vote(_("voted down"), viewer) - - -class VoteUpCommentAction(VoteUpAction): - def repute_users(self): - pass - - def process_action(self): - self.process_vote_action(1) - - def cancel_action(self): - super(VoteUpAction, self).cancel_action() - - def describe(self, viewer=None): - return self.describe_vote(_("liked"), viewer) - - -class FlagAction(ActionProxy): - def repute_users(self): - self.repute(self.node.author, -int(settings.REP_LOST_BY_FLAGGED)) - - def process_action(self): - flag = Flag(user=self.user, node=self.node, action=self, reason=self.extra) - flag.save() - self.node.reset_flag_count_cache() - - if self.node.flag_count == int(settings.FLAG_COUNT_TO_HIDE_POST): - self.repute(self.node.author, -int(settings.REP_LOST_BY_FLAGGED_3_TIMES)) - - if self.node.flag_count == int(settings.FLAG_COUNT_TO_DELETE_POST): - self.repute(self.node.author, -int(settings.REP_LOST_BY_FLAGGED_5_TIMES)) - if not self.node.nis.deleted: - DeleteAction(node=self.node, user=self.user, extra="BYFLAGGED").save() - - def cancel_action(self): - self.flag.delete() - self.node.reset_flag_count_cache() - - @classmethod - def get_for(cls, user, node): - try: - flag = Flag.objects.get(user=user, node=node) - return flag.reason or _("No reason given") - except: - return None - - def describe(self, viewer=None): - return _("%(user)s flagged %(post_desc)s: %(reason)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node), 'reason': self.extra - } - - -class AcceptAnswerAction(ActionProxy): - def repute_users(self): - if (self.user == self.node.parent.author) and (not self.user == self.node.author): - self.repute(self.user, int(settings.REP_GAIN_BY_ACCEPTING)) - - if self.user != self.node.author: - self.repute(self.node.author, int(settings.REP_GAIN_BY_ACCEPTED)) - - def process_action(self): - self.node.marked = True - self.node.nstate.accepted = self - self.node.save() - self.node.question.reset_accepted_count_cache() - - def cancel_action(self): - self.node.marked = False - self.node.nstate.accepted = None - self.node.save() - self.node.question.reset_accepted_count_cache() - - def describe(self, viewer=None): - answer = self.node - question = answer.parent - - if self.user == question.author: - asker = (self.user == viewer) and _("your") or _("his") - else: - asker = self.hyperlink(question.author.get_profile_url(), question.author.username) - - return _("%(user)s accepted %(answerer)s answer on %(asker)s question %(question)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'answerer': self.hyperlink(answer.author.get_profile_url(), self.friendly_ownername(viewer, answer.author)), - 'asker': asker, - 'question': self.hyperlink(question.get_absolute_url(), question.title) - } - - -class FavoriteAction(ActionProxy): - def process_action(self): - self.node.reset_favorite_count_cache() - - def cancel_action(self): - self.process_action() - - def describe(self, viewer=None): - return _("%(user)s marked %(post_desc)s as favorite") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node), - } - - -class DeleteAction(ActionProxy): - def process_action(self): - self.node.mark_deleted(self) - - if self.node.node_type == "answer": - self.node.question.reset_answer_count_cache() - - def cancel_action(self): - self.node.mark_deleted(None) - - if self.node.node_type == "answer": - self.node.question.reset_answer_count_cache() - - def describe(self, viewer=None): - return _("%(user)s deleted %(post_desc)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node) - } - - def reason(self): - if self.extra != "BYFLAGGED": - return self.extra - else: - return _("flagged by multiple users: ") + "; ".join([f.extra for f in FlagAction.objects.filter(node=self.node)]) - -class UnknownAction(ActionProxy): - pass - - -class QuestionViewAction(DummyActionProxy): - def __init__(self, node, user, ip=None): - self.viewuser = user - self.node = node - super(QuestionViewAction, self).__init__(ip) - - def process_action(self): - self.node.extra_count = F('extra_count') + 1 - self.node.save() diff --git a/forum/modules/template_loader.py/forum/actions/node.py b/forum/modules/template_loader.py/forum/actions/node.py deleted file mode 100644 index cd39924..0000000 --- a/forum/modules/template_loader.py/forum/actions/node.py +++ /dev/null @@ -1,236 +0,0 @@ -from django.utils.html import strip_tags -from django.utils.translation import ugettext as _ -from forum.models.action import ActionProxy -from forum.models import Comment, Question, Answer, NodeRevision - -class NodeEditAction(ActionProxy): - def create_revision_data(self, initial=False, **data): - revision_data = dict(summary=data.get('summary', (initial and _('Initial revision') or '')), body=data['text']) - - if data.get('title', None): - revision_data['title'] = strip_tags(data['title'].strip()) - - if data.get('tags', None): - revision_data['tagnames'] = data['tags'].strip() - - return revision_data - -class AskAction(NodeEditAction): - verb = _("asked") - - def process_data(self, **data): - processed_data = self.create_revision_data(True, **data) - if 'added_at' in data: - processed_data['added_at'] = data['added_at'] - - question = Question(author=self.user, **processed_data) - question.save() - self.node = question - - def describe(self, viewer=None): - return _("%(user)s asked %(question)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'question': self.hyperlink(self.node.get_absolute_url(), self.node.title) - } - -class AnswerAction(NodeEditAction): - verb = _("answered") - - def process_data(self, **data): - answer = Answer(author=self.user, parent=data['question'], **self.create_revision_data(True, **data)) - answer.save() - self.node = answer - - def process_action(self): - self.node.question.reset_answer_count_cache() - - def describe(self, viewer=None): - question = self.node.parent - return _("%(user)s answered %(asker)s on %(question)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'asker': self.hyperlink(question.author.get_profile_url(), self.friendly_username(viewer, question.author)), - 'question': self.hyperlink(self.node.get_absolute_url(), question.title) - } - -class CommentAction(ActionProxy): - verb = _("commented") - - def process_data(self, text='', parent=None): - comment = Comment(author=self.user, parent=parent, body=text) - comment.save() - self.node = comment - - def describe(self, viewer=None): - return _("%(user)s commented on %(post_desc)s") % { - 'user': self.hyperlink(self.node.author.get_profile_url(), self.friendly_username(viewer, self.node.author)), - 'post_desc': self.describe_node(viewer, self.node.parent) - } - -class ReviseAction(NodeEditAction): - verb = _("edited") - - def process_data(self, **data): - revision_data = self.create_revision_data(**data) - revision = self.node.create_revision(self.user, **revision_data) - self.extra = revision.revision - - def process_action(self): - self.node.last_edited = self - self.node.save() - - def describe(self, viewer=None): - return _("%(user)s edited %(post_desc)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node) - } - - def get_absolute_url(self): - return self.node.get_revisions_url() - -class RetagAction(ActionProxy): - verb = _("retagged") - - def process_data(self, tagnames=''): - active = self.node.active_revision - revision_data = dict(summary=_('Retag'), title=active.title, tagnames=strip_tags(tagnames.strip()), body=active.body) - revision = self.node.create_revision(self.user, **revision_data) - self.extra = revision.revision - - def process_action(self): - self.node.last_edited = self - self.node.save() - - def describe(self, viewer=None): - return _("%(user)s retagged %(post_desc)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node) - } - - def get_absolute_url(self): - return self.node.get_revisions_url() - -class RollbackAction(ActionProxy): - verb = _("reverted") - - def process_data(self, activate=None): - previous = self.node.active_revision - self.node.activate_revision(self.user, activate) - self.extra = "%d:%d" % (previous.revision, activate.revision) - - def process_action(self): - self.node.last_edited = self - self.node.save() - - def describe(self, viewer=None): - revisions = [NodeRevision.objects.get(node=self.node, revision=int(n)) for n in self.extra.split(':')] - - return _("%(user)s reverted %(post_desc)s from revision %(initial)d (%(initial_sum)s) to revision %(final)d (%(final_sum)s)") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node), - 'initial': revisions[0].revision, 'initial_sum': revisions[0].summary, - 'final': revisions[1].revision, 'final_sum': revisions[1].summary, - } - - def get_absolute_url(self): - return self.node.get_revisions_url() - -class CloseAction(ActionProxy): - verb = _("closed") - - def process_action(self): - self.node.marked = True - self.node.nstate.closed = self - self.node.last_edited = self - self.node.update_last_activity(self.user, save=True) - - def cancel_action(self): - self.node.marked = False - self.node.nstate.closed = None - self.node.update_last_activity(self.user, save=True) - - def describe(self, viewer=None): - return _("%(user)s closed %(post_desc)s: %(reason)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'post_desc': self.describe_node(viewer, self.node), - 'reason': self.extra - } - -class AnswerToCommentAction(ActionProxy): - verb = _("converted") - - def process_data(self, new_parent=None): - self.node.parent = new_parent - self.node.node_type = "comment" - - for comment in self.node.comments.all(): - comment.parent = new_parent - comment.save() - - self.node.last_edited = self - self.node.update_last_activity(self.user, save=True) - try: - self.node.abs_parent.reset_answer_count_cache() - except AttributeError: - pass - - def describe(self, viewer=None): - return _("%(user)s converted an answer to %(question)s into a comment") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'question': self.describe_node(viewer, self.node.abs_parent), - } - -class CommentToAnswerAction(ActionProxy): - verb = _("converted") - - def process_data(self, question): - self.node.parent = question - self.node.node_type = "answer" - self.node.last_edited = self - self.node.update_last_activity(self.user, save=True) - - - def describe(self, viewer=None): - return _("%(user)s converted comment on %(question)s into an answer") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'question': self.describe_node(viewer, self.node.abs_parent), - } - -class AnswerToQuestionAction(ActionProxy): - verb = _("converted to question") - - def process_data(self, title): - self.node.node_type = "question" - self.node.title = title - self.node.last_edited = self - self.node.update_last_activity(self.user, save=True) - - try: - self.node.abs_parent.reset_answer_count_cache() - except AttributeError: - pass - - - def describe(self, viewer=None): - return _("%(user)s converted an answer to %(question)s into a separate question") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'question': self.describe_node(viewer, self.node.abs_parent), - } - -class WikifyAction(ActionProxy): - verb = _("wikified") - - def process_action(self): - self.node.nstate.wiki = self - self.node.last_edited = self - self.node.update_last_activity(self.user, save=True) - - def cancel_action(self): - self.node.nstate.wiki = None - self.node.update_last_activity(self.user, save=True) - - def describe(self, viewer=None): - return _("%(user)s marked %(node)s as community wiki.") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'node': self.describe_node(viewer, self.node), - } - diff --git a/forum/modules/template_loader.py/forum/actions/page.py b/forum/modules/template_loader.py/forum/actions/page.py deleted file mode 100644 index 508e8c2..0000000 --- a/forum/modules/template_loader.py/forum/actions/page.py +++ /dev/null @@ -1,58 +0,0 @@ -from django.utils.translation import ugettext as _ -from forum.models.action import ActionProxy -from forum.models import Page - -class NewPageAction(ActionProxy): - verb = _("created") - - def process_data(self, **data): - title = data.pop('title') - body = data.pop('content') - - page = Page(author=self.user, title=title, body=body, extra=data) - page.save() - self.node = page - - def describe(self, viewer=None): - return _("%(user)s created a new page titled %(page)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'page': self.hyperlink(self.node.get_absolute_url(), self.node.title) - } - -class EditPageAction(ActionProxy): - verb = _("edited") - - def process_data(self, **data): - title = data.pop('title') - body = data.pop('content') - - if (title != self.node.title) or (body != self.node.body): - self.node.create_revision(self.user, title=title, body=body) - - self.node.extra = data - self.node.save() - - def describe(self, viewer=None): - return _("%(user)s edited the page titled %(page)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'page': self.hyperlink(self.node.get_absolute_url(), self.node.title) - } - -class PublishAction(ActionProxy): - verb = _("published") - - def process_action(self): - self.node.marked = True - self.node.nstate.published = self - self.node.save() - - def cancel_action(self): - self.node.marked = False - self.node.nstate.published = None - self.node.save() - - def describe(self, viewer=None): - return _("%(user)s published a new page titled %(page)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'page': self.hyperlink(self.node.get_absolute_url(), self.node.title) - } diff --git a/forum/modules/template_loader.py/forum/actions/user.py b/forum/modules/template_loader.py/forum/actions/user.py deleted file mode 100644 index 50d1a73..0000000 --- a/forum/modules/template_loader.py/forum/actions/user.py +++ /dev/null @@ -1,161 +0,0 @@ -from django.utils.translation import ugettext as _ -from django.db.models import F -from forum.models.action import ActionProxy -from forum.models import Award, Badge, ValidationHash, User -from forum import settings -from forum.settings import APP_SHORT_NAME -from forum.utils.mail import send_template_email - -class UserJoinsAction(ActionProxy): - verb = _("joined") - - def repute_users(self): - self.repute(self.user, int(settings.INITIAL_REP)) - - def process_action(self): - hash = ValidationHash.objects.create_new(self.user, 'email', [self.user.email]) - send_template_email([self.user], "auth/welcome_email.html", {'validation_code': hash}) - - def describe(self, viewer=None): - return _("%(user)s %(have_has)s joined the %(app_name)s Q&A community") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'have_has': self.viewer_or_user_verb(viewer, self.user, _('have'), _('has')), - 'app_name': APP_SHORT_NAME, - } - -class EditProfileAction(ActionProxy): - verb = _("edited profile") - - def describe(self, viewer=None): - return _("%(user)s edited %(hes_or_your)s %(profile_link)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'hes_or_your': self.viewer_or_user_verb(viewer, self.user, _('your'), _('his')), - 'profile_link': self.hyperlink(self.user.get_profile_url(), _('profile')), - } - -class BonusRepAction(ActionProxy): - verb = _("gave bonus") - - def process_data(self, value, affected): - self._value = value - self._affected = affected - - - def repute_users(self): - self.repute(self._affected, self._value) - - if self._value > 0: - self._affected.message_set.create( - message=_("Congratulations, you have been awarded an extra %s reputation points.") % self._value + - '
%s' % self.extra.get('message', _('Thank you'))) - else: - self._affected.message_set.create( - message=_("You have been penalized in %s reputation points.") % self._value + - '
%s' % self.extra.get('message', '')) - - def describe(self, viewer=None): - value = self.extra.get('value', _('unknown')) - message = self.extra.get('message', '') - - try: - if int(value) > 0: - return _("%(user)s awarded an extra %(value)s reputation points to %(users)s: %(message)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'value': value, 'users':self.affected_links(viewer), 'message': message - } - else: - return _("%(user)s penalised %(users)s in %(value)s reputation points: %(message)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'value': value, 'users':self.affected_links(viewer), 'message': message - } - except Exception, e: - return '' - -class AwardAction(ActionProxy): - verb = _("was awarded") - - def process_data(self, badge, trigger): - self.__dict__['_badge'] = badge - self.__dict__['_trigger'] = trigger - - def process_action(self): - badge = self.__dict__['_badge'] - trigger = self.__dict__['_trigger'] - - award = Award(user=self.user, badge=badge, trigger=trigger, action=self) - if self.node: - award.node = self.node - - award.save() - award.badge.awarded_count = F('awarded_count') + 1 - award.badge.save() - - if award.badge.type == Badge.GOLD: - self.user.gold += 1 - if award.badge.type == Badge.SILVER: - self.user.silver += 1 - if award.badge.type == Badge.BRONZE: - self.user.bronze += 1 - - self.user.save() - - self.user.message_set.create(message=_( - """Congratulations, you have received a badge '%(badge_name)s'. Check out your profile.""" - ) % - dict(badge_name=award.badge.name, profile_url=self.user.get_profile_url())) - - def cancel_action(self): - award = self.award - badge = award.badge - badge.awarded_count = F('awarded_count') - 1 - badge.save() - award.delete() - - @classmethod - def get_for(cls, user, badge, node=False): - try: - if node is False: - return Award.objects.get(user=user, badge=badge).action - else: - return Award.objects.get(user=user, node=node, badge=badge).action - except: - return None - - def describe(self, viewer=None): - return _("%(user)s %(were_was)s awarded the %(badge_name)s badge") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'were_was': self.viewer_or_user_verb(viewer, self.user, _('were'), _('was')), - 'badge_name': self.award.badge.name, - } - -class SuspendAction(ActionProxy): - verb = _("suspended") - - def process_data(self, **kwargs): - self._suspended = kwargs.pop('suspended') - self.extra = kwargs - - def repute_users(self): - self.repute(self._suspended, 0) - - def process_action(self): - self._suspended.is_active = False - self._suspended.save() - - def cancel_action(self): - for u in User.objects.filter(reputes__action=self).distinct(): - u.is_active = True - u._pop_suspension_cache() - u.save() - u.message_set.create(message=_("Your suspension has been removed.")) - - def describe(self, viewer=None): - if self.extra.get('bantype', 'indefinitely') == 'forxdays' and self.extra.get('forxdays', None): - suspension = _("for %s days") % self.extra['forxdays'] - else: - suspension = _("indefinetely") - - return _("%(user)s suspended %(users)s %(suspension)s: %(msg)s") % { - 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), - 'users': self.affected_links(viewer), 'suspension': suspension, 'msg': self.extra.get('publicmsg', _('Bad behaviour')) - } \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/admin.py b/forum/modules/template_loader.py/forum/admin.py deleted file mode 100644 index c327ff8..0000000 --- a/forum/modules/template_loader.py/forum/admin.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- - -#from django.contrib import admin -#from models import * -# -#class AnonymousQuestionAdmin(admin.ModelAdmin): -# """AnonymousQuestion admin class""" -# -#class NodeAdmin(admin.ModelAdmin): -# """Question admin class""" -# -#class TagAdmin(admin.ModelAdmin): -# """Tag admin class""" -# -#class Answerdmin(admin.ModelAdmin): -# """Answer admin class""" -# -#class CommentAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class VoteAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class FlaggedItemAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class FavoriteQuestionAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class QuestionRevisionAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class AnswerRevisionAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class AwardAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class BadgeAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class ReputeAdmin(admin.ModelAdmin): -# """ admin class""" -# -#class ActionAdmin(admin.ModelAdmin): -# """ admin class""" - -#class BookAdmin(admin.ModelAdmin): -# """ admin class""" - -#class BookAuthorInfoAdmin(admin.ModelAdmin): -# """ admin class""" - -#class BookAuthorRssAdmin(admin.ModelAdmin): -# """ admin class""" - -#admin.site.register(Node, NodeAdmin) -#admin.site.register(Tag, TagAdmin) -#admin.site.register(QuestionRevision, QuestionRevisionAdmin) -#admin.site.register(AnswerRevision, AnswerRevisionAdmin) -#admin.site.register(Badge, BadgeAdmin) -#admin.site.register(Award, AwardAdmin) -#admin.site.register(Action, ActionAdmin) -#admin.site.register(Book, BookAdmin) -#admin.site.register(BookAuthorInfo, BookAuthorInfoAdmin) -#admin.site.register(BookAuthorRss, BookAuthorRssAdmin) diff --git a/forum/modules/template_loader.py/forum/authentication/__init__.py b/forum/modules/template_loader.py/forum/authentication/__init__.py deleted file mode 100644 index 8dbf825..0000000 --- a/forum/modules/template_loader.py/forum/authentication/__init__.py +++ /dev/null @@ -1,33 +0,0 @@ -import re -import django.dispatch -from forum.modules import get_modules_script_classes -from forum.authentication.base import AuthenticationConsumer, ConsumerTemplateContext - -class ConsumerAndContext: - def __init__(self, id, consumer, context): - self.id = id - self._consumer = consumer - - context.id = id - self.context = context - - @property - def consumer(self): - return self._consumer() - -consumers = dict([ - (re.sub('AuthConsumer$', '', name).lower(), cls) for name, cls - in get_modules_script_classes('authentication', AuthenticationConsumer).items() - if not re.search('AbstractAuthConsumer$', name) - ]) - -contexts = dict([ - (re.sub('AuthContext$', '', name).lower(), cls) for name, cls - in get_modules_script_classes('authentication', ConsumerTemplateContext).items() - ]) - -AUTH_PROVIDERS = dict([ - (name, ConsumerAndContext(name, consumers[name], contexts[name])) for name in consumers.keys() - if name in contexts - ]) - diff --git a/forum/modules/template_loader.py/forum/authentication/base.py b/forum/modules/template_loader.py/forum/authentication/base.py deleted file mode 100644 index 9900586..0000000 --- a/forum/modules/template_loader.py/forum/authentication/base.py +++ /dev/null @@ -1,44 +0,0 @@ - -class AuthenticationConsumer(object): - - def prepare_authentication_request(self, request, redirect_to): - raise NotImplementedError() - - def process_authentication_request(self, response): - raise NotImplementedError() - - def get_user_data(self, key): - raise NotImplementedError() - - -class ConsumerTemplateContext(object): - """ - Class that provides information about a certain authentication provider context in the signin page. - - class attributes: - - mode - one of BIGICON, SMALLICON, FORM - - human_name - the human readable name of the provider - - extra_js - some providers require us to load extra javascript on the signin page for them to work, - this is the place to add those files in the form of a list - - extra_css - same as extra_js but for css files - """ - mode = '' - weight = 500 - human_name = '' - extra_js = [] - extra_css = [] - show_to_logged_in_user = True - - @classmethod - def readable_key(cls, key): - return key.key - -class InvalidAuthentication(Exception): - def __init__(self, message): - self.message = message - - \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/badges/__init__.py b/forum/modules/template_loader.py/forum/badges/__init__.py deleted file mode 100644 index c413e82..0000000 --- a/forum/modules/template_loader.py/forum/badges/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -from forum.modules import get_modules_script - -get_modules_script('badges') - -from base import BadgesMeta - diff --git a/forum/modules/template_loader.py/forum/badges/base.py b/forum/modules/template_loader.py/forum/badges/base.py deleted file mode 100644 index 79fcb52..0000000 --- a/forum/modules/template_loader.py/forum/badges/base.py +++ /dev/null @@ -1,77 +0,0 @@ -import re -from string import lower - -from django.core.exceptions import MultipleObjectsReturned -from django.db.models.signals import post_save - -from forum.models import Badge, Node, Action -from forum.actions import AwardAction - -import logging - -installed = dict([(b.cls, b) for b in Badge.objects.all()]) - -class BadgesMeta(type): - by_class = {} - by_id = {} - - def __new__(mcs, name, bases, dic): - badge = type.__new__(mcs, name, bases, dic) - - if not dic.get('abstract', False): - if not name in installed: - badge.ondb = Badge(cls=name, type=dic.get('type', Badge.BRONZE)) - badge.ondb.save() - else: - badge.ondb = installed[name] - - inst = badge() - - def hook(action, new): - user = inst.award_to(action) - - if user: - badge.award(user, action, badge.award_once) - - for action in badge.listen_to: - action.hook(hook) - - BadgesMeta.by_class[name] = badge - badge.ondb.__dict__['_class'] = inst - BadgesMeta.by_id[badge.ondb.id] = badge - - return badge - -class AbstractBadge(object): - __metaclass__ = BadgesMeta - - abstract = True - award_once = False - - @property - def name(self): - raise NotImplementedError - - @property - def description(self): - raise NotImplementedError - - @classmethod - def award(cls, user, action, once=False): - try: - if once: - node = None - awarded = AwardAction.get_for(user, cls.ondb) - else: - node = action.node - awarded = AwardAction.get_for(user, cls.ondb, node) - - trigger = isinstance(action, Action) and action or None - - if not awarded: - AwardAction(user=user, node=node).save(data=dict(badge=cls.ondb, trigger=trigger)) - except MultipleObjectsReturned: - if node: - logging.error('Found multiple %s badges awarded for user %s (%s)' % (self.name, user.username, user.id)) - else: - logging.error('Found multiple %s badges awarded for user %s (%s) and node %s' % (self.name, user.username, user.id, node.id)) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/context.py b/forum/modules/template_loader.py/forum/context.py deleted file mode 100644 index 641af38..0000000 --- a/forum/modules/template_loader.py/forum/context.py +++ /dev/null @@ -1,23 +0,0 @@ -from forum import settings - -def application_settings(context): - return {'settings': settings} - -def auth_processor(request): - if hasattr(request, 'user'): - user = request.user - if user.is_authenticated(): - messages = user.message_set.all() - else: - messages = None - else: - from django.contrib.auth.models import AnonymousUser - user = AnonymousUser() - messages = None - - from django.core.context_processors import PermWrapper - return { - 'user': user, - 'messages': messages, - 'perms': PermWrapper(user), - } diff --git a/forum/modules/template_loader.py/forum/feed.py b/forum/modules/template_loader.py/forum/feed.py deleted file mode 100644 index 02c309d..0000000 --- a/forum/modules/template_loader.py/forum/feed.py +++ /dev/null @@ -1,108 +0,0 @@ -try: - from django.contrib.syndication.views import Feed, FeedDoesNotExist, add_domain - old_version = False -except: - from django.contrib.syndication.feeds import Feed, FeedDoesNotExist, add_domain - old_version = True - -from django.http import HttpResponse -from django.utils.translation import ugettext as _ -from django.utils.safestring import mark_safe -from models import Question -from forum import settings -from forum.modules import decorate -from forum.utils.pagination import generate_uri - -@decorate(add_domain, needs_origin=False) -def add_domain(domain, url, *args, **kwargs): - return "%s%s" % (settings.APP_BASE_URL, url) - -class BaseNodeFeed(Feed): - if old_version: - title_template = "feeds/rss_title.html" - description_template = "feeds/rss_description.html" - - def __init__(self, request, title, description, url): - self._title = title - self._description = mark_safe(unicode(description)) - self._url = url - - if old_version: - super(BaseNodeFeed, self).__init__('', request) - - def title(self): - return self._title - - def link(self): - return self._url - - def description(self): - return self._description - - def item_title(self, item): - return item.title - - def item_description(self, item): - return item.html - - def item_link(self, item): - return item.leaf.get_absolute_url() - - def item_author_name(self, item): - return item.author.username - - def item_author_link(self, item): - return item.author.get_profile_url() - - def item_pubdate(self, item): - return item.added_at - - if old_version: - def __call__(self, request): - feedgen = self.get_feed('') - response = HttpResponse(mimetype=feedgen.mime_type) - feedgen.write(response, 'utf-8') - return response - - -class RssQuestionFeed(BaseNodeFeed): - def __init__(self, request, question_list, title, description): - url = request.path + "&" + generate_uri(request.GET, (_('page'), _('pagesize'), _('sort'))) - super(RssQuestionFeed, self).__init__(request, title, description, url) - - self._question_list = question_list - - def item_categories(self, item): - return item.tagname_list() - - def items(self): - return self._question_list[:30] - -class RssAnswerFeed(BaseNodeFeed): - if old_version: - title_template = "feeds/rss_answer_title.html" - - def __init__(self, request, question, include_comments=False): - super(RssAnswerFeed, self).__init__(request, _("Answers to: %s") % question.title, question.html, question.get_absolute_url()) - self._question = question - self._include_comments = include_comments - - def items(self): - if self._include_comments: - qs = self._question.all_children - else: - qs = self._question.answers - - return qs.filter_state(deleted=False).order_by('-added_at')[:30] - - def item_title(self, item): - if item.node_type == "answer": - return _("Answer by %s") % item.author.username - else: - return _("Comment by %(cauthor)s on %(pauthor)s's %(qora)s") % dict( - cauthor=item.author.username, pauthor=item.parent.author.username, qora=(item.parent.node_type == "answer" and _("answer") or _("question")) - ) - - - - diff --git a/forum/modules/template_loader.py/forum/forms/__init__.py b/forum/modules/template_loader.py/forum/forms/__init__.py deleted file mode 100644 index ea5108c..0000000 --- a/forum/modules/template_loader.py/forum/forms/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -from qanda import * -from admin import * -from auth import * -from general import * diff --git a/forum/modules/template_loader.py/forum/forms/admin.py b/forum/modules/template_loader.py/forum/forms/admin.py deleted file mode 100644 index 1ff2e85..0000000 --- a/forum/modules/template_loader.py/forum/forms/admin.py +++ /dev/null @@ -1,107 +0,0 @@ -import socket -from django import forms -from django.utils.translation import ugettext as _ -from django.contrib.admin.widgets import FilteredSelectMultiple, AdminDateWidget -from qanda import TitleField, EditorField -from forum import settings -from forum.models.node import NodeMetaClass -from forum.models import User - -class IPListField(forms.CharField): - def clean(self, value): - ips = [ip.strip() for ip in value.strip().strip(',').split(',')] - iplist = [] - - if len(ips) < 1: - raise forms.ValidationError(_('Please input at least one ip address')) - - for ip in ips: - try: - socket.inet_aton(ip) - except socket.error: - raise forms.ValidationError(_('Invalid ip address: %s' % ip)) - - if not len(ip.split('.')) == 4: - raise forms.ValidationError(_('Please use the dotted quad notation for the ip addresses')) - - iplist.append(ip) - - return iplist - -class MaintenanceModeForm(forms.Form): - ips = IPListField(label=_('Allow ips'), - help_text=_('Comma separated list of ips allowed to access the site while in maintenance'), - required=True, - widget=forms.TextInput(attrs={'class': 'longstring'})) - - message = forms.CharField(label=_('Message'), - help_text=_('A message to display to your site visitors while in maintainance mode'), - widget=forms.Textarea) - - -TEMPLATE_CHOICES = ( -('default', _('Default')), -('sidebar', _('Default with sidebar')), -('none', _('None')), -) - -RENDER_CHOICES = ( -('markdown', _('Markdown')), -('html', _('HTML')), -('escape', _('Escaped')) -) - -class UrlFieldWidget(forms.TextInput): - def render(self, name, value, attrs=None): - if not value: - value = '' - - return """ - - - """ % {'name': name, 'value': value, 'app_url': settings.APP_URL} - - -class PageForm(forms.Form): - def __init__(self, page, *args, **kwargs): - if page: - initial = page.extra - initial.update(dict(title=page.title, content=page.body)) - super(PageForm, self).__init__(initial=initial, *args, **kwargs) - else: - super(PageForm, self).__init__(*args, **kwargs) - - - title = forms.CharField(label=_('Title'), max_length=255, widget=forms.TextInput(attrs={'class': 'longstring'}), - initial='New page') - path = forms.CharField(label=_('Page URL'), widget=UrlFieldWidget, initial='pages/new/') - - content = forms.CharField(label=_('Page Content'), widget=forms.Textarea(attrs={'rows': 30})) - mimetype = forms.CharField(label=_('Mime Type'), initial='text/html') - - render = forms.ChoiceField(widget=forms.RadioSelect, choices=RENDER_CHOICES, initial='markdown', - label=_('Render Mode')) - - template = forms.ChoiceField(widget=forms.RadioSelect, choices=TEMPLATE_CHOICES, initial='default', - label=_('Template')) - sidebar = forms.CharField(label=_('Sidebar Content'), widget=forms.Textarea(attrs={'rows': 20}), required=False) - sidebar_wrap = forms.BooleanField(label=_("Wrap sidebar block"), initial=True, required=False) - sidebar_render = forms.ChoiceField(widget=forms.RadioSelect, choices=RENDER_CHOICES, initial='markdown', - label=_('Sidebar Render Mode')) - - comments = forms.BooleanField(label=_("Allow comments"), initial=False, required=False) - -from forum.forms.auth import SimpleRegistrationForm -from forum.forms.general import SetPasswordForm - - -class CreateUserForm(SimpleRegistrationForm, SetPasswordForm): - validate_email = forms.BooleanField(required=False, label=_('send validation email')) - - def __init__(self, *args, **kwargs): - super(CreateUserForm, self).__init__(*args, **kwargs) - self.fields.keyOrder = ['username', 'email', 'validate_email', 'password1', 'password2'] - self.fields['email'].label = _('email address') - - - diff --git a/forum/modules/template_loader.py/forum/forms/auth.py b/forum/modules/template_loader.py/forum/forms/auth.py deleted file mode 100644 index c1a7c09..0000000 --- a/forum/modules/template_loader.py/forum/forms/auth.py +++ /dev/null @@ -1,65 +0,0 @@ -from general import NextUrlField, UserNameField, UserEmailField, SetPasswordForm -from forum.models import Question, User -from forum.settings import INITIAL_EMAIL_SUBSCRIBE_OPTION -from django.contrib.contenttypes.models import ContentType -from django.utils.translation import ugettext as _ -from django.utils.safestring import mark_safe -from django import forms -import logging - -class SimpleRegistrationForm(forms.Form): - next = NextUrlField() - username = UserNameField() - email = UserEmailField() - -class TemporaryLoginRequestForm(forms.Form): - def __init__(self, data=None): - super(TemporaryLoginRequestForm, self).__init__(data) - self.user_cache = None - - email = forms.EmailField( - required=True, - label=_("Your account email"), - error_messages={ - 'required': _("You cannot leave this field blank"), - 'invalid': _('please enter a valid email address'), - } - ) - - def clean_email(self): - users = list(User.objects.filter(email=self.cleaned_data['email'])) - - if not len(users): - raise forms.ValidationError(_("Sorry, but this email is not on our database.")) - - self.user_cache = users - return self.cleaned_data['email'] - - -class SimpleEmailSubscribeForm(forms.Form): - SIMPLE_SUBSCRIBE_CHOICES = ( - ('y',_('okay, let\'s try!')), - ('n',_('no OSQA community email please, thanks')) - ) - subscribe = forms.ChoiceField(widget=forms.widgets.RadioSelect(), \ - error_messages={'required':_('please choose one of the options above')}, - choices=SIMPLE_SUBSCRIBE_CHOICES, initial=INITIAL_EMAIL_SUBSCRIBE_OPTION) - - -class ChangePasswordForm(SetPasswordForm): - """ change password form """ - oldpw = forms.CharField(widget=forms.PasswordInput(attrs={'class':'required'}), - label=mark_safe(_('Current password'))) - - def __init__(self, data=None, user=None, *args, **kwargs): - if user is None: - raise TypeError("Keyword argument 'user' must be supplied") - super(ChangePasswordForm, self).__init__(data, *args, **kwargs) - self.user = user - - def clean_oldpw(self): - """ test old password """ - if not self.user.check_password(self.cleaned_data['oldpw']): - raise forms.ValidationError(_("Old password is incorrect. \ - Please enter the correct password.")) - return self.cleaned_data['oldpw'] diff --git a/forum/modules/template_loader.py/forum/forms/general.py b/forum/modules/template_loader.py/forum/forms/general.py deleted file mode 100644 index e0348a8..0000000 --- a/forum/modules/template_loader.py/forum/forms/general.py +++ /dev/null @@ -1,173 +0,0 @@ -from django import forms -import re -from django.utils.translation import ugettext as _ -from django.utils.safestring import mark_safe -from forum import settings -from django.http import str_to_unicode -from forum.models import User -from forum.modules import call_all_handlers -import urllib -import logging - -DEFAULT_NEXT = getattr(settings, 'APP_BASE_URL') -def clean_next(next): - if next is None: - return DEFAULT_NEXT - next = str_to_unicode(urllib.unquote(next), 'utf-8') - next = next.strip() - if next.startswith('/'): - return next - return DEFAULT_NEXT - -def get_next_url(request): - return clean_next(request.REQUEST.get('next')) - -class StrippedNonEmptyCharField(forms.CharField): - def clean(self,value): - value = value.strip() - if self.required and value == '': - raise forms.ValidationError(_('this field is required')) - return value - -class NextUrlField(forms.CharField): - def __init__(self): - super(NextUrlField,self).__init__(max_length = 255,widget = forms.HiddenInput(),required = False) - def clean(self,value): - return clean_next(value) - -login_form_widget_attrs = { 'class': 'required login' } -username_re = re.compile(r'^[\w\s ]+$', re.UNICODE) - -class UserNameField(StrippedNonEmptyCharField): - def __init__(self,db_model=User, db_field='username', must_exist=False,skip_clean=False,label=_('choose a username'),**kw): - self.must_exist = must_exist - self.skip_clean = skip_clean - self.db_model = db_model - self.db_field = db_field - error_messages={'required':_('user name is required'), - 'taken':_('sorry, this name is taken, please choose another'), - 'forbidden':_('sorry, this name is not allowed, please choose another'), - 'missing':_('sorry, there is no user with this name'), - 'multiple-taken':_('sorry, we have a serious error - user name is taken by several users'), - 'invalid':_('user name can only consist of letters, empty space and underscore'), - 'toshort':_('user name is to short, please use at least %d characters') % settings.MIN_USERNAME_LENGTH - } - if 'error_messages' in kw: - error_messages.update(kw['error_messages']) - del kw['error_messages'] - super(UserNameField,self).__init__(max_length=30, - widget=forms.TextInput(attrs=login_form_widget_attrs), - label=label, - error_messages=error_messages, - **kw - ) - - def clean(self,username): - """ validate username """ - if self.skip_clean == True: - return username - if hasattr(self, 'user_instance') and isinstance(self.user_instance, User): - if username == self.user_instance.username: - return username - try: - username = super(UserNameField, self).clean(username) - except forms.ValidationError: - raise forms.ValidationError(self.error_messages['required']) - if len(username) < settings.MIN_USERNAME_LENGTH: - raise forms.ValidationError(self.error_messages['toshort']) - if self.required and not username_re.match(username): - raise forms.ValidationError(self.error_messages['invalid']) - if username in settings.RESERVED_USERNAMES: - raise forms.ValidationError(self.error_messages['forbidden']) - try: - user = self.db_model.objects.get( - **{'%s' % self.db_field : username} - ) - if user: - if self.must_exist: - return username - else: - raise forms.ValidationError(self.error_messages['taken']) - except self.db_model.DoesNotExist: - if self.must_exist: - raise forms.ValidationError(self.error_messages['missing']) - else: - return username - except self.db_model.MultipleObjectsReturned: - raise forms.ValidationError(self.error_messages['multiple-taken']) - -class UserEmailField(forms.EmailField): - def __init__(self,skip_clean=False,**kw): - self.skip_clean = skip_clean - super(UserEmailField,self).__init__(widget=forms.TextInput(attrs=dict(login_form_widget_attrs, - maxlength=200)), label=mark_safe(_('your email address')), - error_messages={'required':_('email address is required'), - 'invalid':_('please enter a valid email address'), - 'taken':_('this email is already used by someone else, please choose another'), - }, - **kw - ) - - def clean(self,email): - """ validate if email exist in database - from legacy register - return: raise error if it exist """ - email = super(UserEmailField,self).clean(email.strip()) - if self.skip_clean: - return email - if settings.EMAIL_UNIQUE == True: - try: - user = User.objects.get(email = email) - raise forms.ValidationError(self.error_messages['taken']) - except User.DoesNotExist: - return email - except User.MultipleObjectsReturned: - raise forms.ValidationError(self.error_messages['taken']) - else: - return email - -class SetPasswordForm(forms.Form): - password1 = forms.CharField(widget=forms.PasswordInput(attrs=login_form_widget_attrs), - label=_('choose password'), - error_messages={'required':_('password is required')}, - ) - password2 = forms.CharField(widget=forms.PasswordInput(attrs=login_form_widget_attrs), - label=mark_safe(_('retype password')), - error_messages={'required':_('please, retype your password'), - 'nomatch':_('sorry, entered passwords did not match, please try again')}, - ) - - def __init__(self, data=None, user=None, *args, **kwargs): - super(SetPasswordForm, self).__init__(data, *args, **kwargs) - - def clean_password2(self): - """ - Validates that the two password inputs match. - - """ - if 'password1' in self.cleaned_data: - if self.cleaned_data['password1'] == self.cleaned_data['password2']: - self.password = self.cleaned_data['password2'] - self.cleaned_data['password'] = self.cleaned_data['password2'] - return self.cleaned_data['password2'] - else: - del self.cleaned_data['password2'] - raise forms.ValidationError(self.fields['password2'].error_messages['nomatch']) - else: - return self.cleaned_data['password2'] - -class SimpleCaptchaForm(forms.Form): - fields = {} - - def __init__(self, *args, **kwargs): - super(SimpleCaptchaForm, self).__init__(*args, **kwargs) - - spam_fields = call_all_handlers('create_anti_spam_field') - if spam_fields: - spam_fields = dict(spam_fields) - for name, field in spam_fields.items(): - self.fields[name] = field - - self._anti_spam_fields = spam_fields.keys() - else: - self._anti_spam_fields = [] diff --git a/forum/modules/template_loader.py/forum/forms/qanda.py b/forum/modules/template_loader.py/forum/forms/qanda.py deleted file mode 100644 index 9890640..0000000 --- a/forum/modules/template_loader.py/forum/forms/qanda.py +++ /dev/null @@ -1,341 +0,0 @@ -import re -from datetime import date -from django import forms -from forum.models import * -from django.utils.translation import ugettext as _ -from django.contrib.humanize.templatetags.humanize import apnumber - -from django.utils.safestring import mark_safe -from general import NextUrlField, UserNameField, SetPasswordForm -from forum import settings - -from forum.modules import call_all_handlers - -import logging - -class TitleField(forms.CharField): - def __init__(self, *args, **kwargs): - super(TitleField, self).__init__(*args, **kwargs) - self.required = True - self.widget = forms.TextInput(attrs={'size' : 70, 'autocomplete' : 'off'}) - self.max_length = 255 - self.label = _('title') - self.help_text = _('please enter a descriptive title for your question') - self.initial = '' - - def clean(self, value): - if len(value) < settings.FORM_MIN_QUESTION_TITLE: - raise forms.ValidationError(_('title must be must be at least %s characters') % settings.FORM_MIN_QUESTION_TITLE) - - return value - -class EditorField(forms.CharField): - def __init__(self, *args, **kwargs): - super(EditorField, self).__init__(*args, **kwargs) - self.widget = forms.Textarea(attrs={'id':'editor'}) - self.label = _('content') - self.help_text = u'' - self.initial = '' - - -class QuestionEditorField(EditorField): - def __init__(self, *args, **kwargs): - super(QuestionEditorField, self).__init__(*args, **kwargs) - self.required = not bool(settings.FORM_EMPTY_QUESTION_BODY) - - - def clean(self, value): - if not bool(settings.FORM_EMPTY_QUESTION_BODY) and (len(re.sub('[ ]{2,}', ' ', value)) < settings.FORM_MIN_QUESTION_BODY): - raise forms.ValidationError(_('question content must be at least %s characters') % settings.FORM_MIN_QUESTION_BODY) - - return value - -class AnswerEditorField(EditorField): - def __init__(self, *args, **kwargs): - super(AnswerEditorField, self).__init__(*args, **kwargs) - self.required = True - - def clean(self, value): - if len(re.sub('[ ]{2,}', ' ', value)) < settings.FORM_MIN_QUESTION_BODY: - raise forms.ValidationError(_('answer content must be at least %s characters') % settings.FORM_MIN_QUESTION_BODY) - - return value - - -class TagNamesField(forms.CharField): - def __init__(self, user=None, *args, **kwargs): - super(TagNamesField, self).__init__(*args, **kwargs) - self.required = True - self.widget = forms.TextInput(attrs={'size' : 50, 'autocomplete' : 'off'}) - self.max_length = 255 - self.label = _('tags') - #self.help_text = _('please use space to separate tags (this enables autocomplete feature)') - self.help_text = _('Tags are short keywords, with no spaces within. At least %(min)s and up to %(max)s tags can be used.') % { - 'min': settings.FORM_MIN_NUMBER_OF_TAGS, 'max': settings.FORM_MAX_NUMBER_OF_TAGS - } - self.initial = '' - self.user = user - - def clean(self, value): - value = super(TagNamesField, self).clean(value) - data = value.strip().lower() - - split_re = re.compile(r'[ ,]+') - list = {} - for tag in split_re.split(data): - list[tag] = tag - - if len(list) > settings.FORM_MAX_NUMBER_OF_TAGS or len(list) < settings.FORM_MIN_NUMBER_OF_TAGS: - raise forms.ValidationError(_('please use between %(min)s and %(max)s tags') % { 'min': settings.FORM_MIN_NUMBER_OF_TAGS, 'max': settings.FORM_MAX_NUMBER_OF_TAGS}) - - list_temp = [] - tagname_re = re.compile(r'^[\w+\.-]+$', re.UNICODE) - for key,tag in list.items(): - if len(tag) > settings.FORM_MAX_LENGTH_OF_TAG or len(tag) < settings.FORM_MIN_LENGTH_OF_TAG: - raise forms.ValidationError(_('please use between %(min)s and %(max)s characters in you tags') % { 'min': settings.FORM_MIN_LENGTH_OF_TAG, 'max': settings.FORM_MAX_LENGTH_OF_TAG}) - if not tagname_re.match(tag): - raise forms.ValidationError(_('please use following characters in tags: letters , numbers, and characters \'.-_\'')) - # only keep one same tag - if tag not in list_temp and len(tag.strip()) > 0: - list_temp.append(tag) - - if settings.LIMIT_TAG_CREATION and not self.user.can_create_tags(): - existent = Tag.objects.filter(name__in=list_temp).values_list('name', flat=True) - - if len(existent) < len(list_temp): - unexistent = [n for n in list_temp if not n in existent] - raise forms.ValidationError(_("You don't have enough reputation to create new tags. The following tags do not exist yet: %s") % - ', '.join(unexistent)) - - - return u' '.join(list_temp) - -class WikiField(forms.BooleanField): - def __init__(self, disabled=False, *args, **kwargs): - super(WikiField, self).__init__(*args, **kwargs) - self.required = False - self.label = _('community wiki') - self.help_text = _('if you choose community wiki option, the question and answer do not generate points and name of author will not be shown') - if disabled: - self.widget=forms.CheckboxInput(attrs={'disabled': "disabled"}) - def clean(self,value): - return value - -class EmailNotifyField(forms.BooleanField): - def __init__(self, *args, **kwargs): - super(EmailNotifyField, self).__init__(*args, **kwargs) - self.required = False - self.widget.attrs['class'] = 'nomargin' - -class SummaryField(forms.CharField): - def __init__(self, *args, **kwargs): - super(SummaryField, self).__init__(*args, **kwargs) - self.required = False - self.widget = forms.TextInput(attrs={'size' : 50, 'autocomplete' : 'off'}) - self.max_length = 300 - self.label = _('update summary:') - self.help_text = _('enter a brief summary of your revision (e.g. fixed spelling, grammar, improved style, this field is optional)') - - -class FeedbackForm(forms.Form): - message = forms.CharField(label=_('Your message:'), max_length=800,widget=forms.Textarea(attrs={'cols':60})) - next = NextUrlField() - - def __init__(self, user, *args, **kwargs): - super(FeedbackForm, self).__init__(*args, **kwargs) - if not user.is_authenticated(): - self.fields['name'] = forms.CharField(label=_('Your name:'), required=False) - self.fields['email'] = forms.EmailField(label=_('Email (not shared with anyone):'), required=True) - - - -class AskForm(forms.Form): - title = TitleField() - text = QuestionEditorField() - - def __init__(self, data=None, user=None, *args, **kwargs): - super(AskForm, self).__init__(data, *args, **kwargs) - - self.fields['tags'] = TagNamesField(user) - - if int(user.reputation) < settings.CAPTCHA_IF_REP_LESS_THAN and not (user.is_superuser or user.is_staff): - spam_fields = call_all_handlers('create_anti_spam_field') - if spam_fields: - spam_fields = dict(spam_fields) - for name, field in spam_fields.items(): - self.fields[name] = field - - self._anti_spam_fields = spam_fields.keys() - else: - self._anti_spam_fields = [] - - if settings.WIKI_ON: - self.fields['wiki'] = WikiField() - -class AnswerForm(forms.Form): - text = AnswerEditorField() - wiki = WikiField() - - def __init__(self, data=None, user=None, *args, **kwargs): - super(AnswerForm, self).__init__(data, *args, **kwargs) - - if int(user.reputation) < settings.CAPTCHA_IF_REP_LESS_THAN and not (user.is_superuser or user.is_staff): - spam_fields = call_all_handlers('create_anti_spam_field') - if spam_fields: - spam_fields = dict(spam_fields) - for name, field in spam_fields.items(): - self.fields[name] = field - - self._anti_spam_fields = spam_fields.keys() - else: - self._anti_spam_fields = [] - - if settings.WIKI_ON: - self.fields['wiki'] = WikiField() - -class RetagQuestionForm(forms.Form): - tags = TagNamesField() - # initialize the default values - def __init__(self, question, *args, **kwargs): - super(RetagQuestionForm, self).__init__(*args, **kwargs) - self.fields['tags'].initial = question.tagnames - -class RevisionForm(forms.Form): - """ - Lists revisions of a Question or Answer - """ - revision = forms.ChoiceField(widget=forms.Select(attrs={'style' : 'width:520px'})) - - def __init__(self, post, *args, **kwargs): - super(RevisionForm, self).__init__(*args, **kwargs) - - revisions = post.revisions.all().values_list('revision', 'author__username', 'revised_at', 'summary').order_by('-revised_at') - - date_format = '%c' - self.fields['revision'].choices = [ - (r[0], u'%s - %s (%s) %s' % (r[0], r[1], r[2].strftime(date_format), r[3])) - for r in revisions] - - self.fields['revision'].initial = post.active_revision.revision - -class EditQuestionForm(forms.Form): - title = TitleField() - text = QuestionEditorField() - summary = SummaryField() - - def __init__(self, question, user, revision=None, *args, **kwargs): - super(EditQuestionForm, self).__init__(*args, **kwargs) - - if revision is None: - revision = question.active_revision - - self.fields['title'].initial = revision.title - self.fields['text'].initial = revision.body - - self.fields['tags'] = TagNamesField(user) - self.fields['tags'].initial = revision.tagnames - - if int(user.reputation) < settings.CAPTCHA_IF_REP_LESS_THAN and not (user.is_superuser or user.is_staff): - spam_fields = call_all_handlers('create_anti_spam_field') - if spam_fields: - spam_fields = dict(spam_fields) - for name, field in spam_fields.items(): - self.fields[name] = field - - self._anti_spam_fields = spam_fields.keys() - else: - self._anti_spam_fields = [] - - if settings.WIKI_ON: - self.fields['wiki'] = WikiField(disabled=(question.nis.wiki and not user.can_cancel_wiki(question)), initial=question.nis.wiki) - -class EditAnswerForm(forms.Form): - text = AnswerEditorField() - summary = SummaryField() - - def __init__(self, answer, user, revision=None, *args, **kwargs): - super(EditAnswerForm, self).__init__(*args, **kwargs) - - if revision is None: - revision = answer.active_revision - - self.fields['text'].initial = revision.body - - if int(user.reputation) < settings.CAPTCHA_IF_REP_LESS_THAN and not (user.is_superuser or user.is_staff): - spam_fields = call_all_handlers('create_anti_spam_field') - if spam_fields: - spam_fields = dict(spam_fields) - for name, field in spam_fields.items(): - self.fields[name] = field - - self._anti_spam_fields = spam_fields.keys() - else: - self._anti_spam_fields = [] - - if settings.WIKI_ON: - self.fields['wiki'] = WikiField(disabled=(answer.nis.wiki and not user.can_cancel_wiki(answer)), initial=answer.nis.wiki) - -class EditUserForm(forms.Form): - email = forms.EmailField(label=u'Email', help_text=_('this email does not have to be linked to gravatar'), required=True, max_length=75, widget=forms.TextInput(attrs={'size' : 35})) - realname = forms.CharField(label=_('Real name'), required=False, max_length=255, widget=forms.TextInput(attrs={'size' : 35})) - website = forms.URLField(label=_('Website'), required=False, max_length=255, widget=forms.TextInput(attrs={'size' : 35})) - city = forms.CharField(label=_('Location'), required=False, max_length=255, widget=forms.TextInput(attrs={'size' : 35})) - birthday = forms.DateField(label=_('Date of birth'), help_text=_('will not be shown, used to calculate age, format: YYYY-MM-DD'), required=False, widget=forms.TextInput(attrs={'size' : 35})) - about = forms.CharField(label=_('Profile'), required=False, widget=forms.Textarea(attrs={'cols' : 60})) - - def __init__(self, user, *args, **kwargs): - super(EditUserForm, self).__init__(*args, **kwargs) - if settings.EDITABLE_SCREEN_NAME: - self.fields['username'] = UserNameField(label=_('Screen name')) - self.fields['username'].initial = user.username - self.fields['username'].user_instance = user - self.fields['email'].initial = user.email - self.fields['realname'].initial = user.real_name - self.fields['website'].initial = user.website - self.fields['city'].initial = user.location - - if user.date_of_birth is not None: - self.fields['birthday'].initial = user.date_of_birth - else: - self.fields['birthday'].initial = '1990-01-01' - self.fields['about'].initial = user.about - self.user = user - - def clean_email(self): - if self.user.email != self.cleaned_data['email']: - if settings.EMAIL_UNIQUE == True: - if 'email' in self.cleaned_data: - from forum.models import User - try: - User.objects.get(email = self.cleaned_data['email']) - except User.DoesNotExist: - return self.cleaned_data['email'] - except User.MultipleObjectsReturned: - logging.error("Found multiple users sharing the same email: %s" % self.cleaned_data['email']) - - raise forms.ValidationError(_('this email has already been registered, please use another one')) - return self.cleaned_data['email'] - - -NOTIFICATION_CHOICES = ( - ('i', _('Instantly')), - #('d', _('Daily')), - #('w', _('Weekly')), - ('n', _('No notifications')), -) - -class SubscriptionSettingsForm(forms.ModelForm): - enable_notifications = forms.BooleanField(widget=forms.HiddenInput, required=False) - member_joins = forms.ChoiceField(widget=forms.RadioSelect, choices=NOTIFICATION_CHOICES) - new_question = forms.ChoiceField(widget=forms.RadioSelect, choices=NOTIFICATION_CHOICES) - new_question_watched_tags = forms.ChoiceField(widget=forms.RadioSelect, choices=NOTIFICATION_CHOICES) - subscribed_questions = forms.ChoiceField(widget=forms.RadioSelect, choices=NOTIFICATION_CHOICES) - - class Meta: - model = SubscriptionSettings - -class UserPreferencesForm(forms.Form): - sticky_sorts = forms.BooleanField(required=False, initial=False) - - - diff --git a/forum/modules/template_loader.py/forum/http_responses.py b/forum/modules/template_loader.py/forum/http_responses.py deleted file mode 100644 index 7fae3b6..0000000 --- a/forum/modules/template_loader.py/forum/http_responses.py +++ /dev/null @@ -1,27 +0,0 @@ -from django.http import HttpResponse -from django.template.loader import render_to_string -from django.template import RequestContext - -from forum import settings - -class HttpResponseServiceUnavailable(HttpResponse): - def __init__(self, message): - super(HttpResponseServiceUnavailable, self).__init__( - content=render_to_string('503.html', { - 'message': message, - 'app_logo': settings.APP_LOGO, - 'app_title': settings.APP_TITLE - }), status=503) - -class HttpResponseUnauthorized(HttpResponse): - def __init__(self, request): - if request.user.is_authenticated(): - super(HttpResponseUnauthorized, self).__init__( - content=render_to_string('403.html', context_instance=RequestContext(request)), - status=403 - ) - else: - super(HttpResponseUnauthorized, self).__init__( - content=render_to_string('401.html', context_instance=RequestContext(request)), - status=401 - ) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/management/__init__.py b/forum/modules/template_loader.py/forum/management/__init__.py deleted file mode 100644 index 629678e..0000000 --- a/forum/modules/template_loader.py/forum/management/__init__.py +++ /dev/null @@ -1,42 +0,0 @@ -from forum.modules import get_modules_script - -get_modules_script('management') - -from django.db.models.signals import post_syncdb -import forum.models - -def post_syncdb_callback(sender, **kwargs): - # Import the needed libraries to use the database and detect the - # DB engine/sever type being currently employed. - from django.db import connection, connections - - verbosity = int(kwargs["verbosity"]) - - # Get the DB engine being used for persistence for this app. - current_db_engine = connections.databases[connection.alias]['ENGINE'] - - # Make sure the updates are only executed for a MySQL DB. - if current_db_engine.find("mysql") > 0: - # Ok, mysql was found in the engine description. Go ahead - # and attempt to execute the alter table statements. - cursor = connection.cursor() - - # Pair the table names with the columns that need to be updated. - updatable_table_columns = { - "forum_tag": "name", - "auth_user": "username" - } - - # Update each column in turn. - for table_name, column_name in updatable_table_columns.iteritems(): - alter_table_statement = "ALTER TABLE %(table_name)s MODIFY %(column_name)s varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL;" % { - "table_name": table_name, "column_name": column_name} - log_status(verbosity,"Updating MySQL column with this statement: " + alter_table_statement) - cursor.execute(alter_table_statement) - -def log_status(verbosity, message): - if verbosity == 2: - print "[DEBUG] " + str(message) - -# Link the callback to the post_syncdb signal. -post_syncdb.connect(post_syncdb_callback, sender=forum.models) diff --git a/forum/modules/template_loader.py/forum/management/commands/__init__.py b/forum/modules/template_loader.py/forum/management/commands/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum/management/commands/base_command.py b/forum/modules/template_loader.py/forum/management/commands/base_command.py deleted file mode 100644 index 4a8a4b6..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/base_command.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -#encoding:utf-8 -#------------------------------------------------------------------------------- -# Name: Award badges command -# Purpose: This is a command file croning in background process regularly to -# query database and award badges for user's special acitivities. -# -# Author: Mike, Sailing -# -# Created: 22/01/2009 -# Copyright: (c) Mike 2009 -# Licence: GPL V2 -#------------------------------------------------------------------------------- - -from datetime import datetime, date -from django.core.management.base import NoArgsCommand -from django.db import connection -from django.shortcuts import get_object_or_404 -from django.contrib.contenttypes.models import ContentType - -from forum.models import * - -class BaseCommand(NoArgsCommand): - def update_activities_auditted(self, cursor, activity_ids): - # update processed rows to auditted - if len(activity_ids): - query = "UPDATE activity SET is_auditted = 1 WHERE id in (%s)"\ - % ','.join('%s' % item for item in activity_ids) - cursor.execute(query) - - - - - diff --git a/forum/modules/template_loader.py/forum/management/commands/checkinstall.py b/forum/modules/template_loader.py/forum/management/commands/checkinstall.py deleted file mode 100644 index 6e37d11..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/checkinstall.py +++ /dev/null @@ -1,85 +0,0 @@ -import re -import sys, traceback -from django.core.management.base import NoArgsCommand - -OK_MESSAGE = " Found %(what)s version %(version)s - OK" - -OLD_VERSION_ERROR = """ ERROR: Found %(what)s version %(version)s - you should upgrade it to at least %(minimum)s. - Package installers like apt-get or yum usually maintain old versions of libraries in the repositories.""" - -NOT_FOUND_ERROR = "ERROR: %(what)s was not found on your system." - -HOW_TO_INSTALL = """ Try easy_install %(what)s or download it from %(where)s""" - -IMPORT_ERROR_MESSAGE = """Importing %(what)s is throwing an exception. Here's the full stack trace:""" - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - print "Checking dependencies:" - - try: - import html5lib - print " Found html5lib - OK" - except ImportError: - print NOT_FOUND_ERROR % dict(what='html5lib') - print HOW_TO_INSTALL % dict(what='html5lib', where='http://code.google.com/p/html5lib/') - except Exception, e: - print IMPORT_ERROR_MESSAGE % dict(what='html5lib') - traceback.print_exc(file=sys.stdout) - - try: - import markdown - version = int(re.findall('^\d+', markdown.version)[0]) - if version < 2: - print OLD_VERSION_ERROR % dict(what='markdown', version=markdown.version, minimum='2.0') - print HOW_TO_INSTALL % dict(what='markdown', where='http://www.freewisdom.org/projects/python-markdown/') - else: - print OK_MESSAGE % dict(what='markdown', version=markdown.version) - except ImportError: - print NOT_FOUND_ERROR % dict(what='markdown') - print HOW_TO_INSTALL % dict(what='markdown', where='http://www.freewisdom.org/projects/python-markdown/') - except Exception, e: - print IMPORT_ERROR_MESSAGE % dict(what='markdown') - traceback.print_exc(file=sys.stdout) - - try: - import south - version = re.findall('\d+', south.__version__) - - if int(version[1]) < 6 and int(version[0]) == 0: - print OLD_VERSION_ERROR % dict(what='south', version=south.__version__, minimum='0.6') - print HOW_TO_INSTALL % dict(what='south', where='http://south.aeracode.org/') - else: - print OK_MESSAGE % dict(what='south', version=south.__version__) - - - except ImportError: - print NOT_FOUND_ERROR % dict(what='south') - print HOW_TO_INSTALL % dict(what='south', where='http://south.aeracode.org/') - except Exception, e: - print IMPORT_ERROR_MESSAGE % dict(what='south') - traceback.print_exc(file=sys.stdout) - - - print "\n\nChecking database connection:" - - try: - from forum.models import User - User.objects.all().count() - print " Connection OK" - except Exception, e: - print "There seems to be a problem with your database: %s" % str(e) - - - - from django.conf import settings - - print "\n\nChecking important settings:" - - if not re.match('^https?:\/\/\w+', settings.APP_URL): - print " Your APP_URL does not seem to be a valid url. Please fill this setting with the URL of your OSQA installation" - else: - print " APP_URL - %s" % settings.APP_URL - print " APP_BASE_URL - %s" % settings.APP_BASE_URL - - diff --git a/forum/modules/template_loader.py/forum/management/commands/create_extended_user.py b/forum/modules/template_loader.py/forum/management/commands/create_extended_user.py deleted file mode 100644 index 4969ad2..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/create_extended_user.py +++ /dev/null @@ -1,285 +0,0 @@ - -PG_MIGRATION_QUERY = """ -SELECT id AS user_ptr_id, is_approved, email_isvalid, email_key, reputation, gravatar, gold, silver, bronze, questions_per_page, last_seen, real_name, website, location, date_of_birth, about, hide_ignored_questions, tag_filter_setting INTO forum_user FROM auth_user; - -ALTER TABLE forum_user - ADD CONSTRAINT forum_user_pkey PRIMARY KEY(user_ptr_id); - -ALTER TABLE forum_user - ADD CONSTRAINT forum_user_user_ptr_id_fkey FOREIGN KEY (user_ptr_id) - REFERENCES auth_user (id) MATCH SIMPLE - ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE forum_user - ADD CONSTRAINT forum_user_reputation_check CHECK (reputation >= 0); - -ALTER TABLE auth_user DROP COLUMN is_approved; -ALTER TABLE auth_user DROP COLUMN email_isvalid; -ALTER TABLE auth_user DROP COLUMN email_key; -ALTER TABLE auth_user DROP COLUMN reputation; -ALTER TABLE auth_user DROP COLUMN gravatar; -ALTER TABLE auth_user DROP COLUMN gold; -ALTER TABLE auth_user DROP COLUMN silver; -ALTER TABLE auth_user DROP COLUMN bronze; -ALTER TABLE auth_user DROP COLUMN questions_per_page; -ALTER TABLE auth_user DROP COLUMN last_seen; -ALTER TABLE auth_user DROP COLUMN real_name; -ALTER TABLE auth_user DROP COLUMN website; -ALTER TABLE auth_user DROP COLUMN "location"; -ALTER TABLE auth_user DROP COLUMN date_of_birth; -ALTER TABLE auth_user DROP COLUMN about; -ALTER TABLE auth_user DROP COLUMN hide_ignored_questions; -ALTER TABLE auth_user DROP COLUMN tag_filter_setting; - -""" - -PG_FKEYS_QUERY = """ - -ALTER TABLE "public"."activity" -DROP CONSTRAINT "activity_user_id_fkey", -ADD CONSTRAINT "activity_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."answer" -DROP CONSTRAINT "answer_author_id_fkey", -ADD CONSTRAINT "answer_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "answer_deleted_by_id_fkey", -ADD CONSTRAINT "answer_deleted_by_id_fkey" FOREIGN KEY ("deleted_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "answer_last_edited_by_id_fkey", -ADD CONSTRAINT "answer_last_edited_by_id_fkey" FOREIGN KEY ("last_edited_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "answer_locked_by_id_fkey", -ADD CONSTRAINT "answer_locked_by_id_fkey" FOREIGN KEY ("locked_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."answer_revision" -DROP CONSTRAINT "answer_revision_author_id_fkey", -ADD CONSTRAINT "answer_revision_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."award" -DROP CONSTRAINT "award_user_id_fkey", -ADD CONSTRAINT "award_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."comment" -DROP CONSTRAINT "comment_user_id_fkey", -ADD CONSTRAINT "comment_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."favorite_question" -DROP CONSTRAINT "favorite_question_user_id_fkey", -ADD CONSTRAINT "favorite_question_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."flagged_item" -DROP CONSTRAINT "flagged_item_user_id_fkey", -ADD CONSTRAINT "flagged_item_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_anonymousanswer" -DROP CONSTRAINT "forum_anonymousanswer_author_id_fkey", -ADD CONSTRAINT "forum_anonymousanswer_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_anonymousquestion" -DROP CONSTRAINT "forum_anonymousquestion_author_id_fkey", -ADD CONSTRAINT "forum_anonymousquestion_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_authkeyuserassociation" -DROP CONSTRAINT "forum_authkeyuserassociation_user_id_fkey", -ADD CONSTRAINT "forum_authkeyuserassociation_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_markedtag" -DROP CONSTRAINT "forum_markedtag_user_id_fkey", -ADD CONSTRAINT "forum_markedtag_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_questionsubscription" -DROP CONSTRAINT "forum_questionsubscription_user_id_fkey", -ADD CONSTRAINT "forum_questionsubscription_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_subscriptionsettings" -DROP CONSTRAINT "forum_subscriptionsettings_user_id_fkey", -ADD CONSTRAINT "forum_subscriptionsettings_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."forum_validationhash" -DROP CONSTRAINT "forum_validationhash_user_id_fkey", -ADD CONSTRAINT "forum_validationhash_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."question" -DROP CONSTRAINT "question_author_id_fkey", -ADD CONSTRAINT "question_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "question_closed_by_id_fkey", -ADD CONSTRAINT "question_closed_by_id_fkey" FOREIGN KEY ("closed_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "question_deleted_by_id_fkey", -ADD CONSTRAINT "question_deleted_by_id_fkey" FOREIGN KEY ("deleted_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "question_last_activity_by_id_fkey", -ADD CONSTRAINT "question_last_activity_by_id_fkey" FOREIGN KEY ("last_activity_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "question_last_edited_by_id_fkey", -ADD CONSTRAINT "question_last_edited_by_id_fkey" FOREIGN KEY ("last_edited_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "question_locked_by_id_fkey", -ADD CONSTRAINT "question_locked_by_id_fkey" FOREIGN KEY ("locked_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."question_followed_by" -DROP CONSTRAINT "question_followed_by_user_id_fkey", -ADD CONSTRAINT "question_followed_by_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."question_revision" -DROP CONSTRAINT "question_revision_author_id_fkey", -ADD CONSTRAINT "question_revision_author_id_fkey" FOREIGN KEY ("author_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."repute" -DROP CONSTRAINT "repute_user_id_fkey", -ADD CONSTRAINT "repute_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."tag" -DROP CONSTRAINT "tag_created_by_id_fkey", -ADD CONSTRAINT "tag_created_by_id_fkey" FOREIGN KEY ("created_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED, -DROP CONSTRAINT "tag_deleted_by_id_fkey", -ADD CONSTRAINT "tag_deleted_by_id_fkey" FOREIGN KEY ("deleted_by_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "public"."vote" -DROP CONSTRAINT "vote_user_id_fkey", -ADD CONSTRAINT "vote_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."forum_user" (user_ptr_id) ON DELETE NO ACTION ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; - -""" - -MYSQL_MIGRATION_QUERY = """ -CREATE TABLE `forum_user` ( - `user_ptr_id` int(11) NOT NULL, - `is_approved` tinyint(1) NOT NULL, - `email_isvalid` tinyint(1) NOT NULL, - `email_key` varchar(32) DEFAULT NULL, - `reputation` int(10) unsigned NOT NULL, - `gravatar` varchar(32) NOT NULL, - `gold` smallint(6) NOT NULL, - `silver` smallint(6) NOT NULL, - `bronze` smallint(6) NOT NULL, - `questions_per_page` smallint(6) NOT NULL, - `last_seen` datetime NOT NULL, - `real_name` varchar(100) NOT NULL, - `website` varchar(200) NOT NULL, - `location` varchar(100) NOT NULL, - `date_of_birth` date DEFAULT NULL, - `about` longtext NOT NULL, - `hide_ignored_questions` tinyint(1) NOT NULL, - `tag_filter_setting` varchar(16) NOT NULL, - PRIMARY KEY (`user_ptr_id`), - CONSTRAINT `user_ptr_id_refs_id_71071d7` FOREIGN KEY (`user_ptr_id`) REFERENCES `auth_user` (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 -SELECT id AS user_ptr_id, is_approved, email_isvalid, email_key, reputation, gravatar, gold, silver, bronze, questions_per_page, - last_seen, real_name, website, location, date_of_birth, about, hide_ignored_questions, tag_filter_setting FROM auth_user; - -ALTER TABLE `auth_user` -DROP COLUMN `is_approved`, -DROP COLUMN `email_isvalid`, -DROP COLUMN `email_key`, -DROP COLUMN `reputation`, -DROP COLUMN `gravatar`, -DROP COLUMN `gold`, -DROP COLUMN `silver`, -DROP COLUMN `bronze`, -DROP COLUMN `questions_per_page`, -DROP COLUMN `last_seen`, -DROP COLUMN `real_name`, -DROP COLUMN `website`, -DROP COLUMN `location`, -DROP COLUMN `date_of_birth`, -DROP COLUMN `about`, -DROP COLUMN `hide_ignored_questions`, -DROP COLUMN `tag_filter_setting`; - -""" - -MYSQL_FKEYS_QUERY = """ - -ALTER TABLE `activity` DROP FOREIGN KEY `user_id_refs_id_47c8583f`; -ALTER TABLE `activity` ADD CONSTRAINT `user_id_refs_user_ptr_id_62ae9785` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `answer` DROP FOREIGN KEY `author_id_refs_id_192b0170`; -ALTER TABLE `answer` ADD CONSTRAINT `author_id_refs_user_ptr_id_9681994` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `answer` DROP FOREIGN KEY `deleted_by_id_refs_id_192b0170`; -ALTER TABLE `answer` ADD CONSTRAINT `deleted_by_id_refs_user_ptr_id_9681994` FOREIGN KEY (`deleted_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `answer` DROP FOREIGN KEY `last_edited_by_id_refs_id_192b0170`; -ALTER TABLE `answer` ADD CONSTRAINT `last_edited_by_id_refs_user_ptr_id_9681994` FOREIGN KEY (`last_edited_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `answer` DROP FOREIGN KEY `locked_by_id_refs_id_192b0170`; -ALTER TABLE `answer` ADD CONSTRAINT `locked_by_id_refs_user_ptr_id_9681994` FOREIGN KEY (`locked_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `answer_revision` DROP FOREIGN KEY `author_id_refs_id_3ccc055f`; -ALTER TABLE `answer_revision` ADD CONSTRAINT `author_id_refs_user_ptr_id_331f0123` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `award` DROP FOREIGN KEY `user_id_refs_id_2d83e9b6`; -ALTER TABLE `award` ADD CONSTRAINT `user_id_refs_user_ptr_id_1b2d0192` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `comment` DROP FOREIGN KEY `user_id_refs_id_6be725e8`; -ALTER TABLE `comment` ADD CONSTRAINT `user_id_refs_user_ptr_id_1ac2320c` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `favorite_question` DROP FOREIGN KEY `user_id_refs_id_52853822`; -ALTER TABLE `favorite_question` ADD CONSTRAINT `user_id_refs_user_ptr_id_3f419c1a` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `flagged_item` DROP FOREIGN KEY `user_id_refs_id_35e3c608`; -ALTER TABLE `flagged_item` ADD CONSTRAINT `user_id_refs_user_ptr_id_1ce834d4` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_anonymousanswer` DROP FOREIGN KEY `author_id_refs_id_13fb542e`; -ALTER TABLE `forum_anonymousanswer` ADD CONSTRAINT `author_id_refs_user_ptr_id_6b5b476a` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_anonymousquestion` DROP FOREIGN KEY `author_id_refs_id_7511a98a`; -ALTER TABLE `forum_anonymousquestion` ADD CONSTRAINT `author_id_refs_user_ptr_id_104edd52` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_authkeyuserassociation` DROP FOREIGN KEY `user_id_refs_id_2c2a6b01`; -ALTER TABLE `forum_authkeyuserassociation` ADD CONSTRAINT `user_id_refs_user_ptr_id_3f0ec0c3` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_markedtag` DROP FOREIGN KEY `user_id_refs_id_23b833bd`; -ALTER TABLE `forum_markedtag` ADD CONSTRAINT `user_id_refs_user_ptr_id_5a13f081` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_questionsubscription` DROP FOREIGN KEY `user_id_refs_id_18e1489`; -ALTER TABLE `forum_questionsubscription` ADD CONSTRAINT `user_id_refs_user_ptr_id_521b19ad` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_subscriptionsettings` DROP FOREIGN KEY `user_id_refs_id_35edacb4`; -ALTER TABLE `forum_subscriptionsettings` ADD CONSTRAINT `user_id_refs_user_ptr_id_1bc4fc70` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `forum_validationhash` DROP FOREIGN KEY `user_id_refs_id_2c2d214b`; -ALTER TABLE `forum_validationhash` ADD CONSTRAINT `user_id_refs_user_ptr_id_4e5b2d6f` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `question` DROP FOREIGN KEY `author_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `author_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `question` DROP FOREIGN KEY `closed_by_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `closed_by_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`closed_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `question` DROP FOREIGN KEY `deleted_by_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `deleted_by_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`deleted_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `question` DROP FOREIGN KEY `last_activity_by_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `last_activity_by_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`last_activity_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `question` DROP FOREIGN KEY `last_edited_by_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `last_edited_by_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`last_edited_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `question` DROP FOREIGN KEY `locked_by_id_refs_id_56e9d00c`; -ALTER TABLE `question` ADD CONSTRAINT `locked_by_id_refs_user_ptr_id_60d41818` FOREIGN KEY (`locked_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `question_followed_by` DROP FOREIGN KEY `user_id_refs_id_6d30712d`; -ALTER TABLE `question_followed_by` ADD CONSTRAINT `user_id_refs_user_ptr_id_615e65af` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `question_revision` DROP FOREIGN KEY `author_id_refs_id_4f88024f`; -ALTER TABLE `question_revision` ADD CONSTRAINT `author_id_refs_user_ptr_id_42e3d48d` FOREIGN KEY (`author_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `repute` DROP FOREIGN KEY `user_id_refs_id_5a426cd`; -ALTER TABLE `repute` ADD CONSTRAINT `user_id_refs_user_ptr_id_5ea9540f` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `tag` DROP FOREIGN KEY `created_by_id_refs_id_47205d6d`; -ALTER TABLE `tag` ADD CONSTRAINT `created_by_id_refs_user_ptr_id_417f3449` FOREIGN KEY (`created_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; -ALTER TABLE `tag` DROP FOREIGN KEY `deleted_by_id_refs_id_47205d6d`; -ALTER TABLE `tag` ADD CONSTRAINT `deleted_by_id_refs_user_ptr_id_417f3449` FOREIGN KEY (`deleted_by_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -ALTER TABLE `vote` DROP FOREIGN KEY `user_id_refs_id_760a4df0`; -ALTER TABLE `vote` ADD CONSTRAINT `user_id_refs_user_ptr_id_18723e34` FOREIGN KEY (`user_id`) REFERENCES `forum_user` (`user_ptr_id`) ON DELETE RESTRICT ON UPDATE RESTRICT; - -""" - -from django.core.management.base import NoArgsCommand -from django.db import connection, transaction -from django.conf import settings - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - if settings.DATABASE_ENGINE in ('postgresql_psycopg2', 'postgresql', ): - migration_query = PG_MIGRATION_QUERY - fkeys_query = PG_FKEYS_QUERY - elif settings.DATABASE_ENGINE == 'mysql': - migration_query = MYSQL_MIGRATION_QUERY - fkeys_query = MYSQL_FKEYS_QUERY - else: - raise Exception("Database backend not suported by this migration command") - - cursor = connection.cursor() - cursor.execute(migration_query) - cursor.execute(fkeys_query) - transaction.commit_unless_managed() \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/management/commands/create_subscriptions.py b/forum/modules/template_loader.py/forum/management/commands/create_subscriptions.py deleted file mode 100644 index b97c970..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/create_subscriptions.py +++ /dev/null @@ -1,15 +0,0 @@ -from forum.models import User, SubscriptionSettings, QuestionSubscription -from django.core.management.base import NoArgsCommand - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - users = User.objects.all() - for u in users: - s = SubscriptionSettings(user=u) - s.save() - - user_questions = u.questions.all() - - for q in user_questions: - sub = QuestionSubscription(user=u, question=q) - sub.save() \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/management/commands/message_to_everyone.py b/forum/modules/template_loader.py/forum/management/commands/message_to_everyone.py deleted file mode 100644 index ea7b41a..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/message_to_everyone.py +++ /dev/null @@ -1,12 +0,0 @@ -from django.core.management.base import NoArgsCommand -from forum.models import User -import sys - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - msg = None - if msg == None: - print 'to run this command, please first edit the file %s' % __file__ - sys.exit(1) - for u in User.objects.all(): - u.message_set.create(message = msg % u.username) diff --git a/forum/modules/template_loader.py/forum/management/commands/sample_command.py b/forum/modules/template_loader.py/forum/management/commands/sample_command.py deleted file mode 100644 index 55e6723..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/sample_command.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.core.management.base import NoArgsCommand -from forum.models import Comment - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - objs = Comment.objects.all() - print objs \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/management/commands/send_email_alerts.py b/forum/modules/template_loader.py/forum/management/commands/send_email_alerts.py deleted file mode 100644 index 85b83fa..0000000 --- a/forum/modules/template_loader.py/forum/management/commands/send_email_alerts.py +++ /dev/null @@ -1,114 +0,0 @@ -import datetime -from forum.models import * -from forum import settings -from django.db import models -from forum.utils.mail import send_template_email -from django.core.management.base import NoArgsCommand -from forum.settings.email import EMAIL_DIGEST_FLAG -from django.utils import translation -import logging - -SHOW_N_MORE_ACTIVE_NEW_MEMBERS = 5 -SUB_QUESTION_LIST_LENGTH = 5 -TRY_N_USER_TAGS = 5 - - - -class DigestQuestionsIndex(object): - def __init__(self, from_date): - self.from_date = from_date - - new_questions = Question.objects.filter_state(deleted=False).\ - filter(added_at__gt=from_date).\ - annotate(n_actions=models.Count('actions')).\ - annotate(child_count=models.Count('all_children')) - - hotness = lambda q: 3*q.child_count + q.n_actions - - for q in new_questions: - q.hotness=hotness(q) - - self.questions = sorted(new_questions, lambda q1, q2: q2.hotness - q1.hotness) - self.count = len(self.questions) - - def unseen_question(self, user, question): - try: - subscription = QuestionSubscription.objects.get(question=q, user=user) - except: - subscription = None - - return (not subscription) or subscription.last_view < q.last_activity_at - - def get_for_user(self, user): - user_tags = list(user.marked_tags.filter(user_selections__reason='good')) - - if len(user_tags) < TRY_N_USER_TAGS: - user_tags += list(Tag.objects.filter(models.Q(nodes__author=user) | models.Q(nodes__children__author=user)) \ - .annotate(user_tag_usage_count=models.Count('name')).order_by('-user_tag_usage_count')[:TRY_N_USER_TAGS - len(user_tags)]) - - user_tag_names = set([t.name for t in user_tags]) - - - subscriptions = user.subscriptions.filter(added_at__lt=self.from_date, last_activity_at__gt=models.F('questionsubscription__last_view') - ).order_by('-questionsubscription__last_view')[:SUB_QUESTION_LIST_LENGTH] - - unseen_questions = [q for q in self.questions if self.unseen_question(user, q)] - - interesting = [] - - for q in unseen_questions: - if len(set(q.tagname_list()) & user_tag_names): interesting.append(q) - - - may_help = [] - if len(interesting): - if len(interesting) > SUB_QUESTION_LIST_LENGTH: - may_help = interesting[SUB_QUESTION_LIST_LENGTH:][-SUB_QUESTION_LIST_LENGTH:] - interesting = interesting[:SUB_QUESTION_LIST_LENGTH] - else: - interesting = unseen_questions[:SUB_QUESTION_LIST_LENGTH] - - return {'interesting': interesting, 'may_help': may_help, 'subscriptions': subscriptions} - - - - -class Command(NoArgsCommand): - def handle_noargs(self, **options): - try: - translation.activate(settings.LANGUAGE_CODE) - except: - logging.error("Unable to set the locale in the send emails cron job") - - digest_control = EMAIL_DIGEST_FLAG.value - - if digest_control is None: - digest_control = { - 'LAST_DAILY': datetime.datetime.now() - datetime.timedelta(days=1), - 'LAST_WEEKLY': datetime.datetime.now() - datetime.timedelta(days=1), - } - - from_date = digest_control['LAST_DAILY'] - digest_control['LAST_DAILY'] = datetime.datetime.now() - - EMAIL_DIGEST_FLAG.set_value(digest_control) - - users = User.objects.filter(subscription_settings__enable_notifications=True, subscription_settings__send_digest=True) - new_members = User.objects.filter(is_active=True, date_joined__gt=from_date).annotate(n_actions=models.Count('actions')).order_by('-n_actions') - - new_member_count = new_members.count() - - if new_member_count >= SHOW_N_MORE_ACTIVE_NEW_MEMBERS: - new_members = new_members[:SHOW_N_MORE_ACTIVE_NEW_MEMBERS] - show_all_users = True - else: - show_all_users = False - - digest = DigestQuestionsIndex(from_date) - - if (not new_member_count) and (not digest.count): - return - - send_template_email(users, "notifications/digest.html", locals()) - - diff --git a/forum/modules/template_loader.py/forum/markdownext/__init__.py b/forum/modules/template_loader.py/forum/markdownext/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum/markdownext/mdx_limitedsyntax.py b/forum/modules/template_loader.py/forum/markdownext/mdx_limitedsyntax.py deleted file mode 100644 index 6a6dac5..0000000 --- a/forum/modules/template_loader.py/forum/markdownext/mdx_limitedsyntax.py +++ /dev/null @@ -1,11 +0,0 @@ -import markdown -from django.utils.safestring import mark_safe -from django.utils.html import strip_tags -from forum.utils.html import sanitize_html - -class LimitedSyntaxExtension(markdown.Extension): - def extendMarkdown(self, md, md_globals): - del md.inlinePatterns["image_reference"] - -def makeExtension(configs=None) : - return LimitedSyntaxExtension(configs=configs) diff --git a/forum/modules/template_loader.py/forum/markdownext/mdx_settingsparser.py b/forum/modules/template_loader.py/forum/markdownext/mdx_settingsparser.py deleted file mode 100644 index 9d0c69f..0000000 --- a/forum/modules/template_loader.py/forum/markdownext/mdx_settingsparser.py +++ /dev/null @@ -1,46 +0,0 @@ -from os import linesep -from csv import reader, QUOTE_NONE -import markdown -from markdown import Extension -from markdown.preprocessors import Preprocessor -import re - -from forum import settings - -class SettingsExtension(markdown.Extension): - def __init__(self, configs): - self.configs = {} # settings.REP_TO_VOTE_UP} - for key, value in configs: - self.config[key] = value - - # self.extendMarkdown(markdown.Markdown()., config) - - def reset(self): - pass - - def extendMarkdown(self, md, md_globals): - md.registerExtension(self) - self.parser = md.parser - md.preprocessors.add('MinRep', SettingsPre(self), '_begin') - -SETTING_RE = re.compile(r'\|[A-Z_]+\|') - -def setting_rep_callback(m): - setting_name = m.group(0).strip('|') - if hasattr(settings, setting_name): - return unicode(getattr(settings, setting_name)) - else: - return '' - - -class SettingsPre(Preprocessor): - def run(self, lines): - new_lines = [] - for line in lines: - new_lines.append(SETTING_RE.sub(setting_rep_callback, line)) - - return new_lines - - -def makeExtension(configs=None) : - return SettingsExtension(configs=configs) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/markdownext/mdx_urlize.py b/forum/modules/template_loader.py/forum/markdownext/mdx_urlize.py deleted file mode 100644 index 94fa516..0000000 --- a/forum/modules/template_loader.py/forum/markdownext/mdx_urlize.py +++ /dev/null @@ -1,44 +0,0 @@ -import markdown - -# Global Vars -URLIZE_RE = '(%s)' % '|'.join([ - r'<(?:f|ht)tps?://[^>]*>', - r'\b(?:f|ht)tps?://[^)<>\s]+[^.,)<>\s]', - r'\bwww\.[^)<>\s]+[^.,)<>\s]', - r'[^(<\s]+\.(?:com|net|org)\b', -]) - -class UrlizePattern(markdown.inlinepatterns.Pattern): - """ Return a link Element given an autolink (`http://example/com`). """ - def handleMatch(self, m): - url = m.group(2) - - if url.startswith('<'): - url = url[1:-1] - - text = url - - if not url.split('://')[0] in ('http','https','ftp'): - if '@' in url and not '/' in url: - url = 'mailto:' + url - else: - url = 'http://' + url - - el = markdown.etree.Element("a") - el.set('href', url) - el.text = markdown.AtomicString(text) - return el - -class UrlizeExtension(markdown.Extension): - """ Urlize Extension for Python-Markdown. """ - - def extendMarkdown(self, md, md_globals): - """ Replace autolink with UrlizePattern """ - md.inlinePatterns['autolink'] = UrlizePattern(URLIZE_RE, md) - -def makeExtension(configs=None): - return UrlizeExtension(configs=configs) - -if __name__ == "__main__": - import doctest - doctest.testmod() diff --git a/forum/modules/template_loader.py/forum/middleware/__init__.py b/forum/modules/template_loader.py/forum/middleware/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum/middleware/anon_user.py b/forum/modules/template_loader.py/forum/middleware/anon_user.py deleted file mode 100644 index 26c138c..0000000 --- a/forum/modules/template_loader.py/forum/middleware/anon_user.py +++ /dev/null @@ -1,35 +0,0 @@ -from django.http import HttpResponseRedirect -from forum.forms import get_next_url -from django.utils.translation import ugettext as _ -from forum.user_messages import create_message, get_and_delete_messages -from forum import settings -from django.core.urlresolvers import reverse -import logging - -class AnonymousMessageManager(object): - def __init__(self,request): - self.request = request - def create(self,message=''): - create_message(self.request,message) - def get_and_delete(self): - messages = get_and_delete_messages(self.request) - return messages - -def dummy_deepcopy(*arg): - """this is necessary to prevent deepcopy() on anonymous user object - that now contains reference to request, which cannot be deepcopied - """ - return None - -class ConnectToSessionMessagesMiddleware(object): - def process_request(self, request): - if not request.user.is_authenticated(): - request.user.__deepcopy__ = dummy_deepcopy #plug on deepcopy which may be called by django db "driver" - request.user.message_set = AnonymousMessageManager(request) #here request is linked to anon user - request.user.get_and_delete_messages = request.user.message_set.get_and_delete - - #also set the first greeting one time per session only - if 'greeting_set' not in request.session: - request.session['greeting_set'] = True - msg = _('First time here? Check out the FAQ!') % reverse('faq') - request.user.message_set.create(message=msg) diff --git a/forum/modules/template_loader.py/forum/middleware/cancel.py b/forum/modules/template_loader.py/forum/middleware/cancel.py deleted file mode 100644 index 2d78a17..0000000 --- a/forum/modules/template_loader.py/forum/middleware/cancel.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.http import HttpResponseRedirect -from forum.forms import get_next_url -import logging -class CancelActionMiddleware(object): - def process_view(self, request, view_func, view_args, view_kwargs): - if 'cancel' in request.REQUEST: - #todo use session messages for the anonymous users - try: - msg = getattr(view_func,'CANCEL_MESSAGE') - except AttributeError: - msg = 'action canceled' - request.user.message_set.create(message=msg) - return HttpResponseRedirect(get_next_url(request)) - else: - return None diff --git a/forum/modules/template_loader.py/forum/middleware/extended_user.py b/forum/modules/template_loader.py/forum/middleware/extended_user.py deleted file mode 100644 index dfe7163..0000000 --- a/forum/modules/template_loader.py/forum/middleware/extended_user.py +++ /dev/null @@ -1,27 +0,0 @@ -from django.contrib.auth.middleware import AuthenticationMiddleware -from django.contrib.auth import logout -from forum.models.user import AnonymousUser -from forum.views.auth import forward_suspended_user -import logging - -class ExtendedUser(AuthenticationMiddleware): - def process_request(self, request): - super(ExtendedUser, self).process_request(request) - if request.user.is_authenticated(): - try: - request.user = request.user.user - - if request.user.is_suspended(): - user = request.user - logout(request) - return forward_suspended_user(request, user) - - return None - except Exception, e: - import traceback - logging.error("Unable to convert auth_user %s to forum_user: \n%s" % ( - request.user.id, traceback.format_exc() - )) - - request.user = AnonymousUser() - return None \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/middleware/request_utils.py b/forum/modules/template_loader.py/forum/middleware/request_utils.py deleted file mode 100644 index bbccbf7..0000000 --- a/forum/modules/template_loader.py/forum/middleware/request_utils.py +++ /dev/null @@ -1,18 +0,0 @@ -from forum.settings import MAINTAINANCE_MODE, APP_LOGO, APP_TITLE - -from forum.http_responses import HttpResponseServiceUnavailable - -class RequestUtils(object): - def process_request(self, request): - if MAINTAINANCE_MODE.value is not None and isinstance(MAINTAINANCE_MODE.value.get('allow_ips', None), list): - ip = request.META['REMOTE_ADDR'] - - if not ip in MAINTAINANCE_MODE.value['allow_ips']: - return HttpResponseServiceUnavailable(MAINTAINANCE_MODE.value.get('message', '')) - - if request.session.get('redirect_POST_data', None): - request.POST = request.session.pop('redirect_POST_data') - request.META['REQUEST_METHOD'] = "POST" - - self.request = request - return None \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/migrations/0001_initial.py b/forum/modules/template_loader.py/forum/migrations/0001_initial.py deleted file mode 100644 index 5dbd4a2..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0001_initial.py +++ /dev/null @@ -1,764 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'User' - db.create_table('forum_user', ( - ('website', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('user_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True, primary_key=True)), - ('hide_ignored_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('is_approved', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('email_isvalid', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('real_name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), - ('about', self.gf('django.db.models.fields.TextField')(blank=True)), - ('silver', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('date_of_birth', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('reputation', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)), - ('gravatar', self.gf('django.db.models.fields.CharField')(max_length=32)), - ('location', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), - ('tag_filter_setting', self.gf('django.db.models.fields.CharField')(default='ignored', max_length=16)), - ('gold', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('last_seen', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('email_key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True)), - ('bronze', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('questions_per_page', self.gf('django.db.models.fields.SmallIntegerField')(default=10)), - )) - db.send_create_signal('forum', ['User']) - - # Adding model 'Activity' - db.create_table(u'activity', ( - ('is_auditted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('active_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('activity_type', self.gf('django.db.models.fields.SmallIntegerField')()), - )) - db.send_create_signal('forum', ['Activity']) - - # Adding model 'SubscriptionSettings' - db.create_table('forum_subscriptionsettings', ( - ('questions_asked', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('questions_viewed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('notify_comments', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('new_question', self.gf('django.db.models.fields.CharField')(default='d', max_length=1)), - ('all_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('new_question_watched_tags', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)), - ('questions_answered', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('notify_comments_own_post', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('questions_commented', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('subscribed_questions', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)), - ('notify_reply_to_comments', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('member_joins', self.gf('django.db.models.fields.CharField')(default='n', max_length=1)), - ('user', self.gf('django.db.models.fields.related.OneToOneField')(related_name='subscription_settings', unique=True, to=orm['forum.User'])), - ('notify_answers', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('enable_notifications', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('all_questions_watched_tags', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('notify_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - )) - db.send_create_signal('forum', ['SubscriptionSettings']) - - # Adding model 'ValidationHash' - db.create_table('forum_validationhash', ( - ('hash_code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), - ('seed', self.gf('django.db.models.fields.CharField')(max_length=12)), - ('expiration', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 7, 10, 36, 23, 812000))), - ('type', self.gf('django.db.models.fields.CharField')(max_length=12)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['ValidationHash']) - - # Adding unique constraint on 'ValidationHash', fields ['user', 'type'] - db.create_unique('forum_validationhash', ['user_id', 'type']) - - # Adding model 'AuthKeyUserAssociation' - db.create_table('forum_authkeyuserassociation', ( - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='auth_keys', to=orm['forum.User'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), - ('provider', self.gf('django.db.models.fields.CharField')(max_length=64)), - )) - db.send_create_signal('forum', ['AuthKeyUserAssociation']) - - # Adding model 'Vote' - db.create_table(u'vote', ( - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('voted_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', to=orm['forum.User'])), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('vote', self.gf('django.db.models.fields.SmallIntegerField')()), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Vote']) - - # Adding unique constraint on 'Vote', fields ['content_type', 'object_id', 'user'] - db.create_unique(u'vote', ['content_type_id', 'object_id', 'user_id']) - - # Adding model 'FlaggedItem' - db.create_table(u'flagged_item', ( - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('flagged_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['FlaggedItem']) - - # Adding unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user'] - db.create_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id']) - - # Adding model 'Comment' - db.create_table(u'comment', ( - ('comment', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['Comment']) - - # Adding model 'Tag' - db.create_table(u'tag', ( - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='created_tags', to=orm['forum.User'])), - ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_tags', null=True, to=orm['forum.User'])), - ('used_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Tag']) - - # Adding model 'MarkedTag' - db.create_table('forum_markedtag', ( - ('reason', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('tag', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_selections', to=orm['forum.Tag'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tag_selections', to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['MarkedTag']) - - # Adding model 'Question' - db.create_table(u'question', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('answer_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('closed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('last_activity_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_active_in_questions', to=orm['forum.User'])), - ('view_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('score', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questions', to=orm['forum.User'])), - ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('html', self.gf('django.db.models.fields.TextField')()), - ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('closed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_questions', null=True, to=orm['forum.User'])), - ('favourite_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)), - ('answer_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('last_activity_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('closed_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='closed_questions', null=True, to=orm['forum.User'])), - ('close_reason', self.gf('django.db.models.fields.SmallIntegerField')(null=True, blank=True)), - ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_questions', null=True, to=orm['forum.User'])), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_questions', null=True, to=orm['forum.User'])), - ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - )) - db.send_create_signal('forum', ['Question']) - - # Adding M2M table for field followed_by on 'Question' - db.create_table(u'question_followed_by', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('question', models.ForeignKey(orm['forum.question'], null=False)), - ('user', models.ForeignKey(orm['forum.user'], null=False)) - )) - db.create_unique(u'question_followed_by', ['question_id', 'user_id']) - - # Adding M2M table for field tags on 'Question' - db.create_table(u'question_tags', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('question', models.ForeignKey(orm['forum.question'], null=False)), - ('tag', models.ForeignKey(orm['forum.tag'], null=False)) - )) - db.create_unique(u'question_tags', ['question_id', 'tag_id']) - - # Adding model 'QuestionSubscription' - db.create_table('forum_questionsubscription', ( - ('last_view', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 6, 10, 36, 23, 725000))), - ('auto_subscription', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['QuestionSubscription']) - - # Adding model 'FavoriteQuestion' - db.create_table(u'favorite_question', ( - ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_favorite_questions', to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['FavoriteQuestion']) - - # Adding model 'QuestionRevision' - db.create_table(u'question_revision', ( - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questionrevisions', to=orm['forum.User'])), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Question'])), - ('revised_at', self.gf('django.db.models.fields.DateTimeField')()), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()), - )) - db.send_create_signal('forum', ['QuestionRevision']) - - # Adding model 'AnonymousQuestion' - db.create_table('forum_anonymousquestion', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)), - ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousQuestion']) - - # Adding model 'Answer' - db.create_table(u'answer', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('score', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.User'])), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.Question'])), - ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('html', self.gf('django.db.models.fields.TextField')()), - ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_answers', null=True, to=orm['forum.User'])), - ('accepted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_answers', null=True, to=orm['forum.User'])), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_answers', null=True, to=orm['forum.User'])), - ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - )) - db.send_create_signal('forum', ['Answer']) - - # Adding model 'AnswerRevision' - db.create_table(u'answer_revision', ( - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answerrevisions', to=orm['forum.User'])), - ('text', self.gf('django.db.models.fields.TextField')()), - ('revised_at', self.gf('django.db.models.fields.DateTimeField')()), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)), - ('answer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Answer'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()), - )) - db.send_create_signal('forum', ['AnswerRevision']) - - # Adding model 'AnonymousAnswer' - db.create_table('forum_anonymousanswer', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_answers', to=orm['forum.Question'])), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)), - ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousAnswer']) - - # Adding model 'Badge' - db.create_table(u'badge', ( - ('multiple', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('description', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('awarded_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('type', self.gf('django.db.models.fields.SmallIntegerField')()), - ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, max_length=50, blank=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=50)), - )) - db.send_create_signal('forum', ['Badge']) - - # Adding unique constraint on 'Badge', fields ['name', 'type'] - db.create_unique(u'badge', ['name', 'type']) - - # Adding model 'Award' - db.create_table(u'award', ( - ('awarded_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('notified', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='awards', to=orm['forum.User'])), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('badge', self.gf('django.db.models.fields.related.ForeignKey')(related_name='award_badge', to=orm['forum.Badge'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Award']) - - # Adding unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge'] - db.create_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id']) - - # Adding model 'Repute' - db.create_table(u'repute', ( - ('positive', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])), - ('negative', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('reputation_type', self.gf('django.db.models.fields.SmallIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('reputed_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('reputation', self.gf('django.db.models.fields.IntegerField')(default=1)), - )) - db.send_create_signal('forum', ['Repute']) - - # Adding model 'KeyValue' - db.create_table('forum_keyvalue', ( - ('value', self.gf('forum.models.utils.PickledObjectField')()), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)), - )) - db.send_create_signal('forum', ['KeyValue']) - - - def backwards(self, orm): - - # Deleting model 'User' - db.delete_table('forum_user') - - # Deleting model 'Activity' - db.delete_table(u'activity') - - # Deleting model 'SubscriptionSettings' - db.delete_table('forum_subscriptionsettings') - - # Deleting model 'ValidationHash' - db.delete_table('forum_validationhash') - - # Removing unique constraint on 'ValidationHash', fields ['user', 'type'] - db.delete_unique('forum_validationhash', ['user_id', 'type']) - - # Deleting model 'AuthKeyUserAssociation' - db.delete_table('forum_authkeyuserassociation') - - # Deleting model 'Vote' - db.delete_table(u'vote') - - # Removing unique constraint on 'Vote', fields ['content_type', 'object_id', 'user'] - db.delete_unique(u'vote', ['content_type_id', 'object_id', 'user_id']) - - # Deleting model 'FlaggedItem' - db.delete_table(u'flagged_item') - - # Removing unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user'] - db.delete_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id']) - - # Deleting model 'Comment' - db.delete_table(u'comment') - - # Deleting model 'Tag' - db.delete_table(u'tag') - - # Deleting model 'MarkedTag' - db.delete_table('forum_markedtag') - - # Deleting model 'Question' - db.delete_table(u'question') - - # Removing M2M table for field followed_by on 'Question' - db.delete_table('question_followed_by') - - # Removing M2M table for field tags on 'Question' - db.delete_table('question_tags') - - # Deleting model 'QuestionSubscription' - db.delete_table('forum_questionsubscription') - - # Deleting model 'FavoriteQuestion' - db.delete_table(u'favorite_question') - - # Deleting model 'QuestionRevision' - db.delete_table(u'question_revision') - - # Deleting model 'AnonymousQuestion' - db.delete_table('forum_anonymousquestion') - - # Deleting model 'Answer' - db.delete_table(u'answer') - - # Deleting model 'AnswerRevision' - db.delete_table(u'answer_revision') - - # Deleting model 'AnonymousAnswer' - db.delete_table('forum_anonymousanswer') - - # Deleting model 'Badge' - db.delete_table(u'badge') - - # Removing unique constraint on 'Badge', fields ['name', 'type'] - db.delete_unique(u'badge', ['name', 'type']) - - # Deleting model 'Award' - db.delete_table(u'award') - - # Removing unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge'] - db.delete_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id']) - - # Deleting model 'Repute' - db.delete_table(u'repute') - - # Deleting model 'KeyValue' - db.delete_table('forum_keyvalue') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 10, 36, 23, 725000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'gravatar': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'tag_filter_setting': ('django.db.models.fields.CharField', [], {'default': "'ignored'", 'max_length': '16'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 10, 36, 23, 863000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'Vote', 'db_table': "u'vote'"}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0002_auto__add_likedcomment__del_field_repute_positive__del_field_repute_ne.py b/forum/modules/template_loader.py/forum/migrations/0002_auto__add_likedcomment__del_field_repute_positive__del_field_repute_ne.py deleted file mode 100644 index 36ff8e2..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0002_auto__add_likedcomment__del_field_repute_positive__del_field_repute_ne.py +++ /dev/null @@ -1,481 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'LikedComment' - db.create_table('forum_likedcomment', ( - ('comment', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Comment'])), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['LikedComment']) - - # Adding field 'Repute.value' - db.add_column(u'repute', 'value', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Repute.user_previous_rep' - db.add_column(u'repute', 'user_previous_rep', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Vote.canceled' - db.add_column(u'vote', 'canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Removing unique constraint on 'Vote', fields ['object_id', 'content_type', 'user'] - db.delete_unique(u'vote', ['object_id', 'content_type_id', 'user_id']) - - # Adding field 'Comment.deleted' - db.add_column(u'comment', 'deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Comment.deleted_by' - db.add_column(u'comment', 'deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_comments', null=True, to=orm['forum.User']), keep_default=False) - - # Adding field 'Comment.score' - db.add_column(u'comment', 'score', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Comment.deleted_at' - db.add_column(u'comment', 'deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Deleting field 'Answer.locked_at' - db.delete_column(u'answer', 'locked_at') - - # Deleting field 'Answer.locked' - db.delete_column(u'answer', 'locked') - - # Deleting field 'Answer.locked_by' - db.delete_column(u'answer', 'locked_by_id') - - # Adding field 'Answer.accepted_by' - db.add_column(u'answer', 'accepted_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True), keep_default=False) - - # Adding field 'FlaggedItem.canceled' - db.add_column(u'flagged_item', 'canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'FlaggedItem.reason' - db.add_column(u'flagged_item', 'reason', self.gf('django.db.models.fields.CharField')(max_length=300, null=True), keep_default=False) - - # Removing unique constraint on 'FlaggedItem', fields ['object_id', 'content_type', 'user'] - db.delete_unique(u'flagged_item', ['object_id', 'content_type_id', 'user_id']) - - # Adding unique constraint on 'FavoriteQuestion', fields ['question', 'user'] - db.create_unique(u'favorite_question', ['question_id', 'user_id']) - - # Deleting field 'User.gravatar' - db.delete_column('forum_user', 'gravatar') - - # Deleting field 'User.tag_filter_setting' - db.delete_column('forum_user', 'tag_filter_setting') - - # Deleting field 'Question.locked_at' - db.delete_column(u'question', 'locked_at') - - # Deleting field 'Question.locked' - db.delete_column(u'question', 'locked') - - # Deleting field 'Question.locked_by' - db.delete_column(u'question', 'locked_by_id') - - - def backwards(self, orm): - - # Deleting model 'LikedComment' - db.delete_table('forum_likedcomment') - - # Deleting field 'Repute.value' - db.delete_column(u'repute', 'value') - - # Deleting field 'Repute.user_previous_rep' - db.delete_column(u'repute', 'user_previous_rep') - - # Deleting field 'Vote.canceled' - db.delete_column(u'vote', 'canceled') - - # Adding unique constraint on 'Vote', fields ['object_id', 'content_type', 'user'] - db.create_unique(u'vote', ['object_id', 'content_type_id', 'user_id']) - - # Deleting field 'Comment.deleted' - db.delete_column(u'comment', 'deleted') - - # Deleting field 'Comment.deleted_by' - db.delete_column(u'comment', 'deleted_by_id') - - # Deleting field 'Comment.score' - db.delete_column(u'comment', 'score') - - # Deleting field 'Comment.deleted_at' - db.delete_column(u'comment', 'deleted_at') - - # Adding field 'Answer.locked_at' - db.add_column(u'answer', 'locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding field 'Answer.locked' - db.add_column(u'answer', 'locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Answer.locked_by' - db.add_column(u'answer', 'locked_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='locked_answers', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Deleting field 'Answer.accepted_by' - db.delete_column(u'answer', 'accepted_by_id') - - # Deleting field 'FlaggedItem.canceled' - db.delete_column(u'flagged_item', 'canceled') - - # Deleting field 'FlaggedItem.reason' - db.delete_column(u'flagged_item', 'reason') - - # Adding unique constraint on 'FlaggedItem', fields ['object_id', 'content_type', 'user'] - db.create_unique(u'flagged_item', ['object_id', 'content_type_id', 'user_id']) - - # Removing unique constraint on 'FavoriteQuestion', fields ['question', 'user'] - db.delete_unique(u'favorite_question', ['question_id', 'user_id']) - - # Adding field 'User.gravatar' - db.add_column('forum_user', 'gravatar', self.gf('django.db.models.fields.CharField')(default='', max_length=32), keep_default=False) - - # Adding field 'User.tag_filter_setting' - db.add_column('forum_user', 'tag_filter_setting', self.gf('django.db.models.fields.CharField')(default='ignored', max_length=16), keep_default=False) - - # Adding field 'Question.locked_at' - db.add_column(u'question', 'locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding field 'Question.locked' - db.add_column(u'question', 'locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Question.locked_by' - db.add_column(u'question', 'locked_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='locked_questions', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 11, 44, 616000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 11, 52, 402000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0003_repute_changes.py b/forum/modules/template_loader.py/forum/migrations/0003_repute_changes.py deleted file mode 100644 index cdcbd22..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0003_repute_changes.py +++ /dev/null @@ -1,355 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models - -class Migration(DataMigration): - - def forwards(self, orm): - for r in orm.Repute.objects.all(): - r.value = r.positive + r.negative - r.user_previous_rep = r.reputation - r.value - r.save() - - - def backwards(self, orm): - for r in orm.Repute.objects.all(): - if r.value > 0: - r.positive = r.value - r.negative = 0 - else: - r.positive = 0 - r.negative = r.value - - r.reputation = r.user_previous_rep + r.value - r.save() - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 30, 3, 497000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 30, 3, 573000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0004_auto__del_field_repute_negative__del_field_repute_positive__del_field_.py b/forum/modules/template_loader.py/forum/migrations/0004_auto__del_field_repute_negative__del_field_repute_positive__del_field_.py deleted file mode 100644 index 5faa7b0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0004_auto__del_field_repute_negative__del_field_repute_positive__del_field_.py +++ /dev/null @@ -1,357 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'Repute.negative' - db.delete_column(u'repute', 'negative') - - # Deleting field 'Repute.positive' - db.delete_column(u'repute', 'positive') - - # Deleting field 'Repute.reputation' - db.delete_column(u'repute', 'reputation') - - - def backwards(self, orm): - - # Adding field 'Repute.negative' - db.add_column(u'repute', 'negative', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Repute.positive' - db.add_column(u'repute', 'positive', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Repute.reputation' - db.add_column(u'repute', 'reputation', self.gf('django.db.models.fields.IntegerField')(default=1), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 40, 26, 816000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 40, 27, 72000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0005_fill_accepted_by_field.py b/forum/modules/template_loader.py/forum/migrations/0005_fill_accepted_by_field.py deleted file mode 100644 index cc7d0b0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0005_fill_accepted_by_field.py +++ /dev/null @@ -1,341 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models - -class Migration(DataMigration): - - def forwards(self, orm): - for a in orm.Answer.objects.filter(accepted=True): - a.accepted_by = a.question.author - a.save() - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 46, 14, 452000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 46, 14, 538000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0006_auto__add_node__add_field_vote_node__add_field_comment_node__add_field.py b/forum/modules/template_loader.py/forum/migrations/0006_auto__add_node__add_field_vote_node__add_field_comment_node__add_field.py deleted file mode 100644 index bee4368..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0006_auto__add_node__add_field_vote_node__add_field_comment_node__add_field.py +++ /dev/null @@ -1,433 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'Node' - db.create_table('forum_node', ( - ('body', self.gf('django.db.models.fields.TextField')()), - ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('parent', self.gf('django.db.models.fields.related.ForeignKey')(related_name='childs', null=True, to=orm['forum.Node'])), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='nodes', to=orm['forum.User'])), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_nodes', null=True, to=orm['forum.User'])), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('node_type', self.gf('django.db.models.fields.CharField')(default='node', max_length=16)), - ('score', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_nodes', null=True, to=orm['forum.User'])), - ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - )) - db.send_create_signal('forum', ['Node']) - - # Adding M2M table for field tags on 'Node' - db.create_table('forum_node_tags', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('node', models.ForeignKey(orm['forum.node'], null=False)), - ('tag', models.ForeignKey(orm['forum.tag'], null=False)) - )) - db.create_unique('forum_node_tags', ['node_id', 'tag_id']) - - # Adding field 'Vote.node' - db.add_column(u'vote', 'node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', null=True, to=orm['forum.Node']), keep_default=False) - - # Adding field 'Comment.node' - db.add_column(u'comment', 'node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', null=True, to=orm['forum.Node']), keep_default=False) - - # Adding field 'Answer.node_ptr' - db.add_column(u'answer', 'node_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, null=True), keep_default=False) - - # Adding field 'FlaggedItem.node' - db.add_column(u'flagged_item', 'node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', null=True, to=orm['forum.Node']), keep_default=False) - - # Adding field 'Question.node_ptr' - db.add_column(u'question', 'node_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, null=True), keep_default=False) - - - def backwards(self, orm): - - # Deleting model 'Node' - db.delete_table('forum_node') - - # Removing M2M table for field tags on 'Node' - db.delete_table('forum_node_tags') - - # Deleting field 'Vote.node' - db.delete_column(u'vote', 'node_id') - - # Deleting field 'Comment.node' - db.delete_column(u'comment', 'node_id') - - # Deleting field 'Answer.node_ptr' - db.delete_column(u'answer', 'node_ptr_id') - - # Deleting field 'FlaggedItem.node' - db.delete_column(u'flagged_item', 'node_id') - - # Deleting field 'Question.node_ptr' - db.delete_column(u'question', 'node_ptr_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'childs'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 1, 28, 41, 733000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 1, 28, 41, 976000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0007_q_and_a_to_node.py b/forum/modules/template_loader.py/forum/migrations/0007_q_and_a_to_node.py deleted file mode 100644 index 0e283e0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0007_q_and_a_to_node.py +++ /dev/null @@ -1,549 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - #Converting questions - question_count = orm.Question.objects.all().count() - print "\nConverting %d questions:" % question_count - progress = ProgressBar(question_count) - - question_id_map = {} - - for q in orm.Question.objects.order_by('id'): - node = orm.Node( - node_type='question', - author=q.author, - added_at=q.added_at, - score=q.score, - vote_up_count=q.vote_up_count, - vote_down_count=q.vote_down_count, - offensive_flag_count=q.offensive_flag_count, - last_edited_at=q.last_edited_at, - last_edited_by=q.last_edited_by, - title=q.title, - body=q.html, - deleted=q.deleted, - deleted_by=q.deleted_by, - deleted_at=q.deleted_at, - tagnames=q.tagnames, - comment_count=q.comment_count, - ) - - node.save() - q.node_ptr = node - q.save() - node.tags = q.tags.all() - - question_id_map[q.id] = node - progress.update() - - print "\n...done\n" - - #Converting answers - answer_count = orm.Answer.objects.all().count() - print "Converting %d answers:" % answer_count - progress = ProgressBar(answer_count) - - answer_id_map = {} - - for a in orm.Answer.objects.order_by('id'): - node = orm.Node( - node_type='answer', - parent=question_id_map[a.question.id], - author=a.author, - added_at=a.added_at, - score=a.score, - vote_up_count=a.vote_up_count, - vote_down_count=a.vote_down_count, - offensive_flag_count=a.offensive_flag_count, - last_edited_at=a.last_edited_at, - last_edited_by=a.last_edited_by, - body=a.html, - deleted=a.deleted, - deleted_by=a.deleted_by, - deleted_at=a.deleted_at, - comment_count=a.comment_count, - ) - - node.save() - a.node_ptr = node - a.save() - answer_id_map[a.id] = node - progress.update() - - print "\n...done\n" - - ctypes = dict([(ct.name, ct.id) for ct in orm['contenttypes.ContentType'].objects.all()]) - - #Converting votes - vote_count = orm.Vote.objects.all().count() - print "Converting %d vote references:" % vote_count - progress = ProgressBar(vote_count) - orfan_count = 0 - - for v in orm.Vote.objects.all(): - node = (v.content_type.id == ctypes['question']) and question_id_map.get(v.object_id, None) \ - or answer_id_map.get(v.object_id, None) - - if node: - v.node = node - v.save() - else: - v.delete() - orfan_count += 1 - - progress.update() - - if orfan_count: - print "Deleted %d orfan votes" - - print "\n...done\n" - - #Converting flags - flag_count = orm.FlaggedItem.objects.all().count() - print "Converting %d flag references:" % flag_count - progress = ProgressBar(flag_count) - orfan_count = 0 - - for f in orm.FlaggedItem.objects.all(): - node = (f.content_type.id == ctypes['question']) and question_id_map.get(f.object_id, None) \ - or answer_id_map.get(f.object_id, None) - - if node: - f.node = node - f.save() - else: - f.delete() - orfan_count += 1 - - progress.update() - - if orfan_count: - print "Deleted %d orfan votes" - - print "\n...done\n" - - #Converting comments - comment_count = orm.Comment.objects.all().count() - print "Converting %d comment references:" % comment_count - progress = ProgressBar(comment_count) - orfan_count = 0 - - for c in orm.Comment.objects.all(): - node = (c.content_type.id == ctypes['question']) and question_id_map.get(c.object_id, None) \ - or answer_id_map.get(c.object_id, None) - - if node: - c.node = node - c.save() - else: - c.delete() - orfan_count += 1 - - progress.update() - - if orfan_count: - print "Deleted %d orfan comments" - - print "\n...done\n" - - - #Converting awards - awards = orm.Award.objects.filter(content_type__id__in=(ctypes['question'], ctypes['answer'])) - award_count = awards.count() - print "Converting %d award references:" % award_count - progress = ProgressBar(award_count) - - for a in awards: - node = (a.content_type.id == ctypes['question']) and question_id_map.get(a.object_id, None) \ - or answer_id_map.get(a.object_id, None) - - if node: - a.object_id = node.id - a.save() - - progress.update() - - print "\n...done\n" - - - #Converting activity - activities = orm.Activity.objects.filter(content_type__id__in=(ctypes['question'], ctypes['answer'])) - activity_count = activities.count() - print "Converting %d activity references:" % activity_count - progress = ProgressBar(activity_count) - - for a in activities: - node = (a.content_type.id == ctypes['question']) and question_id_map.get(a.object_id, None) \ - or answer_id_map.get(a.object_id, None) - - if node: - a.object_id = node.id - a.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'childs'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 1, 29, 43, 727000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 1, 29, 43, 815000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0008_auto__add_noderevision__del_field_vote_object_id__del_field_vote_conte.py b/forum/modules/template_loader.py/forum/migrations/0008_auto__add_noderevision__del_field_vote_object_id__del_field_vote_conte.py deleted file mode 100644 index bb94406..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0008_auto__add_noderevision__del_field_vote_object_id__del_field_vote_conte.py +++ /dev/null @@ -1,424 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'NodeRevision' - db.create_table('forum_noderevision', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Node'])), - ('body', self.gf('django.db.models.fields.TextField')()), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='noderevisions', to=orm['forum.User'])), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('revised_at', self.gf('django.db.models.fields.DateTimeField')()), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()), - )) - db.send_create_signal('forum', ['NodeRevision']) - - # Deleting field 'Vote.object_id' - db.delete_column(u'vote', 'object_id') - - # Deleting field 'Vote.content_type' - db.delete_column(u'vote', 'content_type_id') - - # Deleting field 'Comment.object_id' - db.delete_column(u'comment', 'object_id') - - # Deleting field 'Comment.content_type' - db.delete_column(u'comment', 'content_type_id') - - # Deleting field 'FlaggedItem.object_id' - db.delete_column(u'flagged_item', 'object_id') - - # Deleting field 'FlaggedItem.content_type' - db.delete_column(u'flagged_item', 'content_type_id') - - - def backwards(self, orm): - - # Deleting model 'NodeRevision' - db.delete_table('forum_noderevision') - - # Adding field 'Vote.object_id' - db.add_column(u'vote', 'object_id', self.gf('django.db.models.fields.PositiveIntegerField')(default=1), keep_default=False) - - # Adding field 'Vote.content_type' - db.add_column(u'vote', 'content_type', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['contenttypes.ContentType']), keep_default=False) - - # Adding field 'Comment.object_id' - db.add_column(u'comment', 'object_id', self.gf('django.db.models.fields.PositiveIntegerField')(default=1), keep_default=False) - - # Adding field 'Comment.content_type' - db.add_column(u'comment', 'content_type', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['contenttypes.ContentType']), keep_default=False) - - # Adding field 'FlaggedItem.object_id' - db.add_column(u'flagged_item', 'object_id', self.gf('django.db.models.fields.PositiveIntegerField')(default=1), keep_default=False) - - # Adding field 'FlaggedItem.content_type' - db.add_column(u'flagged_item', 'content_type', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['contenttypes.ContentType']), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'childs'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 12, 14, 26, 755000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 12, 14, 35, 357000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0009_convert_revisions.py b/forum/modules/template_loader.py/forum/migrations/0009_convert_revisions.py deleted file mode 100644 index 6b06ed9..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0009_convert_revisions.py +++ /dev/null @@ -1,414 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - #Converting question revisions - qr_count = orm.QuestionRevision.objects.all().count() - print "\nConverting %d question revisions:" % qr_count - progress = ProgressBar(qr_count) - - for q in orm.QuestionRevision.objects.order_by('id'): - revision = orm.NodeRevision( - node=q.question.node_ptr, - title=q.title, - summary=q.summary, - tagnames=q.tagnames, - revision=q.revision, - author=q.author, - revised_at=q.revised_at, - body=q.text, - ) - - revision.save() - progress.update() - - print "\n...done\n" - - - #Converting answer revisions - ar_count = orm.AnswerRevision.objects.all().count() - print "\nConverting %d answer revisions:" % ar_count - progress = ProgressBar(ar_count) - - for a in orm.AnswerRevision.objects.order_by('id'): - revision = orm.NodeRevision( - summary=a.summary, - node=a.answer.node_ptr, - revision=a.revision, - author=a.author, - revised_at=a.revised_at, - body=a.text, - ) - - revision.save() - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.answerrevision': { - 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"}, - 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'childs'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}), - 'html': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'null': 'True'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionrevision': { - 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 12, 14, 26, 755000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 12, 14, 35, 357000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0010_auto__del_questionrevision__del_answerrevision__del_field_answer_vote_.py b/forum/modules/template_loader.py/forum/migrations/0010_auto__del_questionrevision__del_answerrevision__del_field_answer_vote_.py deleted file mode 100644 index 8baaf67..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0010_auto__del_questionrevision__del_answerrevision__del_field_answer_vote_.py +++ /dev/null @@ -1,576 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting model 'QuestionRevision' - db.delete_table(u'question_revision') - - # Deleting model 'AnswerRevision' - db.delete_table(u'answer_revision') - - # Deleting field 'Answer.vote_up_count' - db.delete_column(u'answer', 'vote_up_count') - - # Deleting field 'Answer.author' - db.delete_column(u'answer', 'author_id') - - # Deleting field 'Answer.deleted' - db.delete_column(u'answer', 'deleted') - - # Deleting field 'Answer.question' - db.delete_column(u'answer', 'question_id') - - # Deleting field 'Answer.html' - db.delete_column(u'answer', 'html') - - # Deleting field 'Answer.offensive_flag_count' - db.delete_column(u'answer', 'offensive_flag_count') - - # Deleting field 'Answer.deleted_by' - db.delete_column(u'answer', 'deleted_by_id') - - # Deleting field 'Answer.comment_count' - db.delete_column(u'answer', 'comment_count') - - # Deleting field 'Answer.score' - db.delete_column(u'answer', 'score') - - # Deleting field 'Answer.vote_down_count' - db.delete_column(u'answer', 'vote_down_count') - - # Deleting field 'Answer.added_at' - db.delete_column(u'answer', 'added_at') - - # Deleting field 'Answer.last_edited_by' - db.delete_column(u'answer', 'last_edited_by_id') - - # Deleting field 'Answer.deleted_at' - db.delete_column(u'answer', 'deleted_at') - - # Deleting field 'Answer.id' - db.delete_column(u'answer', 'id') - - # Deleting field 'Answer.last_edited_at' - db.delete_column(u'answer', 'last_edited_at') - - # Changing field 'Answer.node_ptr' - db.alter_column(u'answer', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True)) - db.create_primary_key(u'answer', ['node_ptr_id']) - - # Deleting field 'Question.vote_up_count' - db.delete_column(u'question', 'vote_up_count') - - # Deleting field 'Question.offensive_flag_count' - db.delete_column(u'question', 'offensive_flag_count') - - # Deleting field 'Question.summary' - db.delete_column(u'question', 'summary') - - # Deleting field 'Question.id' - db.delete_column(u'question', 'id') - - # Deleting field 'Question.deleted_at' - db.delete_column(u'question', 'deleted_at') - - # Deleting field 'Question.score' - db.delete_column(u'question', 'score') - - # Deleting field 'Question.author' - db.delete_column(u'question', 'author_id') - - # Deleting field 'Question.comment_count' - db.delete_column(u'question', 'comment_count') - - # Deleting field 'Question.html' - db.delete_column(u'question', 'html') - - # Deleting field 'Question.vote_down_count' - db.delete_column(u'question', 'vote_down_count') - - # Deleting field 'Question.last_edited_by' - db.delete_column(u'question', 'last_edited_by_id') - - # Deleting field 'Question.deleted' - db.delete_column(u'question', 'deleted') - - # Deleting field 'Question.tagnames' - db.delete_column(u'question', 'tagnames') - - # Deleting field 'Question.title' - db.delete_column(u'question', 'title') - - # Deleting field 'Question.added_at' - db.delete_column(u'question', 'added_at') - - # Deleting field 'Question.deleted_by' - db.delete_column(u'question', 'deleted_by_id') - - # Deleting field 'Question.last_edited_at' - db.delete_column(u'question', 'last_edited_at') - - # Removing M2M table for field followed_by on 'Question' - db.delete_table('question_followed_by') - - # Removing M2M table for field tags on 'Question' - db.delete_table('question_tags') - - # Changing field 'Question.node_ptr' - db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True)) - db.create_primary_key(u'question', ['node_ptr_id']) - - - def backwards(self, orm): - - # Adding model 'QuestionRevision' - db.create_table(u'question_revision', ( - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questionrevisions', to=orm['forum.User'])), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Question'])), - ('revised_at', self.gf('django.db.models.fields.DateTimeField')()), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()), - )) - db.send_create_signal('forum', ['QuestionRevision']) - - # Adding model 'AnswerRevision' - db.create_table(u'answer_revision', ( - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answerrevisions', to=orm['forum.User'])), - ('text', self.gf('django.db.models.fields.TextField')()), - ('revised_at', self.gf('django.db.models.fields.DateTimeField')()), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)), - ('answer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Answer'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()), - )) - db.send_create_signal('forum', ['AnswerRevision']) - - # Adding field 'Answer.vote_up_count' - db.add_column(u'answer', 'vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Answer.author' - db.add_column(u'answer', 'author', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='answers', to=orm['forum.User']), keep_default=False) - - # Adding field 'Answer.deleted' - db.add_column(u'answer', 'deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Answer.question' - db.add_column(u'answer', 'question', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='answers', to=orm['forum.Question']), keep_default=False) - - # Adding field 'Answer.html' - db.add_column(u'answer', 'html', self.gf('django.db.models.fields.TextField')(default=1), keep_default=False) - - # Adding field 'Answer.offensive_flag_count' - db.add_column(u'answer', 'offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Answer.deleted_by' - db.add_column(u'answer', 'deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_answers', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Answer.comment_count' - db.add_column(u'answer', 'comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=False) - - # Adding field 'Answer.score' - db.add_column(u'answer', 'score', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Answer.vote_down_count' - db.add_column(u'answer', 'vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Answer.added_at' - db.add_column(u'answer', 'added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now), keep_default=False) - - # Adding field 'Answer.last_edited_by' - db.add_column(u'answer', 'last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_edited_answers', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Answer.deleted_at' - db.add_column(u'answer', 'deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding field 'Answer.id' - db.add_column(u'answer', 'id', self.gf('django.db.models.fields.AutoField')(default=1, primary_key=True), keep_default=False) - - # Adding field 'Answer.last_edited_at' - db.add_column(u'answer', 'last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Changing field 'Answer.node_ptr' - db.alter_column(u'answer', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, null=True)) - - # Adding field 'Question.vote_up_count' - db.add_column(u'question', 'vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Question.offensive_flag_count' - db.add_column(u'question', 'offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Question.summary' - db.add_column(u'question', 'summary', self.gf('django.db.models.fields.CharField')(default=1, max_length=180), keep_default=False) - - # Adding field 'Question.id' - db.add_column(u'question', 'id', self.gf('django.db.models.fields.AutoField')(default=1, primary_key=True), keep_default=False) - - # Adding field 'Question.deleted_at' - db.add_column(u'question', 'deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding field 'Question.score' - db.add_column(u'question', 'score', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Question.author' - db.add_column(u'question', 'author', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='questions', to=orm['forum.User']), keep_default=False) - - # Adding field 'Question.comment_count' - db.add_column(u'question', 'comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=False) - - # Adding field 'Question.html' - db.add_column(u'question', 'html', self.gf('django.db.models.fields.TextField')(default=1), keep_default=False) - - # Adding field 'Question.vote_down_count' - db.add_column(u'question', 'vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Question.last_edited_by' - db.add_column(u'question', 'last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_edited_questions', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Question.deleted' - db.add_column(u'question', 'deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Question.tagnames' - db.add_column(u'question', 'tagnames', self.gf('django.db.models.fields.CharField')(default=1, max_length=125), keep_default=False) - - # Adding field 'Question.title' - db.add_column(u'question', 'title', self.gf('django.db.models.fields.CharField')(default=1, max_length=300), keep_default=False) - - # Adding field 'Question.added_at' - db.add_column(u'question', 'added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now), keep_default=False) - - # Adding field 'Question.deleted_by' - db.add_column(u'question', 'deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_questions', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Question.last_edited_at' - db.add_column(u'question', 'last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding M2M table for field followed_by on 'Question' - db.create_table(u'question_followed_by', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('question', models.ForeignKey(orm['forum.question'], null=False)), - ('user', models.ForeignKey(orm['forum.user'], null=False)) - )) - db.create_unique(u'question_followed_by', ['question_id', 'user_id']) - - # Adding M2M table for field tags on 'Question' - db.create_table(u'question_tags', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('question', models.ForeignKey(orm['forum.question'], null=False)), - ('tag', models.ForeignKey(orm['forum.tag'], null=False)) - )) - db.create_unique(u'question_tags', ['question_id', 'tag_id']) - - # Changing field 'Question.node_ptr' - db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, null=True)) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'childs'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 12, 30, 8, 362000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 12, 30, 22, 477000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0011_auto__add_field_node_active_revision.py b/forum/modules/template_loader.py/forum/migrations/0011_auto__add_field_node_active_revision.py deleted file mode 100644 index 940f37f..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0011_auto__add_field_node_active_revision.py +++ /dev/null @@ -1,323 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'Node.active_revision' - db.add_column('forum_node', 'active_revision', self.gf('django.db.models.fields.related.OneToOneField')(related_name='active', unique=True, null=True, to=orm['forum.NodeRevision']), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Node.active_revision' - db.delete_column('forum_node', 'active_revision_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 17, 56, 17, 351000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 17, 56, 17, 557000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0012_set_active_revision.py b/forum/modules/template_loader.py/forum/migrations/0012_set_active_revision.py deleted file mode 100644 index 24c419a..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0012_set_active_revision.py +++ /dev/null @@ -1,327 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models - -class Migration(DataMigration): - - def forwards(self, orm): - for n in orm.Node.objects.all(): - try: - n.active_revision = n.revisions.order_by('-id')[0] - n.save() - except: - r = orm.NodeRevision(author=n.author, body=n.body, title=n.title, revised_at=datetime.datetime.now(), - tagnames=n.tagnames, summary='Initial Revision', revision=1, node=n) - r.save() - n.active_revision = r - n.save() - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousanswer': { - 'Meta': {'object_name': 'AnonymousAnswer'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.anonymousquestion': { - 'Meta': {'object_name': 'AnonymousQuestion'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}), - 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 17, 56, 41, 918000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 17, 56, 41, 986000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0013_auto__del_anonymousquestion__del_anonymousanswer__add_anonymousnode.py b/forum/modules/template_loader.py/forum/migrations/0013_auto__del_anonymousquestion__del_anonymousanswer__add_anonymousnode.py deleted file mode 100644 index d203297..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0013_auto__del_anonymousquestion__del_anonymousanswer__add_anonymousnode.py +++ /dev/null @@ -1,344 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting model 'AnonymousQuestion' - db.delete_table('forum_anonymousquestion') - - # Deleting model 'AnonymousAnswer' - db.delete_table('forum_anonymousanswer') - - # Adding model 'AnonymousNode' - db.create_table('forum_anonymousnode', ( - ('convertible_to', self.gf('django.db.models.fields.CharField')(default='node', max_length=16)), - ('validation_hash', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_content', to=orm['forum.Node'])), - ('node_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousNode']) - - - def backwards(self, orm): - - # Adding model 'AnonymousQuestion' - db.create_table('forum_anonymousquestion', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)), - ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousQuestion']) - - # Adding model 'AnonymousAnswer' - db.create_table('forum_anonymousanswer', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_answers', to=orm['forum.Question'])), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)), - ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousAnswer']) - - # Deleting model 'AnonymousNode' - db.delete_table('forum_anonymousnode') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 18, 42, 39, 311000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 18, 42, 39, 525000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0014_auto__add_field_question_accepted_answer.py b/forum/modules/template_loader.py/forum/migrations/0014_auto__add_field_question_accepted_answer.py deleted file mode 100644 index e73c960..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0014_auto__add_field_question_accepted_answer.py +++ /dev/null @@ -1,309 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models -from django.conf import settings - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'Question.accepted_answer' - db.add_column(u'question', 'accepted_answer', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Answer'], unique=True, null=True), keep_default=False) - - #if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES: - # db.execute("DROP TRIGGER tsvectorupdate ON question;") - # db.execute("ALTER TABLE question DROP COLUMN tsv;") - - def backwards(self, orm): - - # Deleting field 'Question.accepted_answer' - db.delete_column(u'question', 'accepted_answer_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Answer']", 'unique': 'True', 'null': 'True'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 11, 5, 41, 763000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 11, 5, 42, 36000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0015_accepted_answer_changes.py b/forum/modules/template_loader.py/forum/migrations/0015_accepted_answer_changes.py deleted file mode 100644 index ee98647..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0015_accepted_answer_changes.py +++ /dev/null @@ -1,320 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - q_count = orm.Node.objects.filter(node_type="question").count() - print "\nConverting %d questions:" % q_count - progress = ProgressBar(q_count) - - for n in orm.Node.objects.filter(node_type="question"): - q = orm.Question.objects.get(node_ptr=n) - if q.answer_accepted: - accepted = list(orm.Answer.objects.filter(node_ptr__parent=n, accepted=True)) - - if len(accepted): - accepted = accepted[0] - q.accepted_answer = accepted - else: - q.answer_accepted = False - - q.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Answer']", 'unique': 'True', 'null': 'True'}), - 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 11, 6, 44, 202000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 11, 6, 44, 279000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0016_auto__del_field_question_answer_accepted__chg_field_question_node_ptr.py b/forum/modules/template_loader.py/forum/migrations/0016_auto__del_field_question_answer_accepted__chg_field_question_node_ptr.py deleted file mode 100644 index efa35d0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0016_auto__del_field_question_answer_accepted__chg_field_question_node_ptr.py +++ /dev/null @@ -1,310 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'Question.answer_accepted' - db.delete_column(u'question', 'answer_accepted') - - # Changing field 'Question.node_ptr' - db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True)) - - - def backwards(self, orm): - - # Adding field 'Question.answer_accepted' - db.add_column(u'question', 'answer_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Changing field 'Question.node_ptr' - db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, primary_key=True)) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Answer']", 'unique': 'True', 'null': 'True'}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 13, 28, 30, 313000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 13, 28, 30, 540000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0017_auto__add_field_repute_node__add_field_repute_canceled.py b/forum/modules/template_loader.py/forum/migrations/0017_auto__add_field_repute_node__add_field_repute_canceled.py deleted file mode 100644 index cb14267..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0017_auto__add_field_repute_node__add_field_repute_canceled.py +++ /dev/null @@ -1,312 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'Repute.node' - db.add_column(u'repute', 'node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='reputes', null=True, to=orm['forum.Node']), keep_default=False) - - # Adding field 'Repute.canceled' - db.add_column(u'repute', 'canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Repute.node' - db.delete_column(u'repute', 'node_id') - - # Deleting field 'Repute.canceled' - db.delete_column(u'repute', 'canceled') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 14, 18, 46, 625000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 14, 18, 46, 835000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0018_comments_to_node.py b/forum/modules/template_loader.py/forum/migrations/0018_comments_to_node.py deleted file mode 100644 index 808bb0e..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0018_comments_to_node.py +++ /dev/null @@ -1,376 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - c_count = orm.Comment.objects.count() - print "\nConverting %d comments:" % c_count - progress = ProgressBar(c_count) - - id_map = {} - - for c in orm.Comment.objects.all(): - node = orm.Node( - node_type='comment', - author=c.user, - added_at=c.added_at, - score=c.score, - vote_up_count=c.score, - vote_down_count=0, - offensive_flag_count=0, - last_edited_at=c.added_at, - last_edited_by=c.user, - body=c.comment, - deleted=c.deleted, - deleted_by=c.deleted_by, - deleted_at=c.deleted_at, - parent=c.node, - ) - node.save() - - id_map[c.id] = node - - revision = orm.NodeRevision( - summary="Initial revsion", - revision=1, - revised_at=c.added_at, - body=c.comment, - author=c.user, - node=node, - ) - - revision.save() - - node.active_revision = revision - node.save() - - for v in orm.LikedComment.objects.filter(comment=c): - vote = orm.Vote( - node=node, - vote=1, - voted_at=v.added_at, - canceled=v.canceled, - user=v.user, - ) - - vote.save() - - progress.update() - - print "\n...done\n" - - ctype = orm['contenttypes.ContentType'].objects.get(name="comment").id - ntype = orm['contenttypes.ContentType'].objects.get(name="node").id - - #Converting activity - activities = orm.Activity.objects.filter(content_type__id=ctype) - activity_count = activities.count() - print "Converting %d activity references:" % activity_count - progress = ProgressBar(activity_count) - - for a in activities: - node = id_map.get(a.object_id, None) - if node: - a.content_type_id = ntype - a.object_id = node.id - a.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.comment': { - 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.likedcomment': { - 'Meta': {'object_name': 'LikedComment'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 16, 14, 19, 21, 765000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 14, 19, 21, 837000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0019_auto__del_likedcomment__del_comment__add_field_node_abs_parent__chg_fi.py b/forum/modules/template_loader.py/forum/migrations/0019_auto__del_likedcomment__del_comment__add_field_node_abs_parent__chg_fi.py deleted file mode 100644 index b6acebe..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0019_auto__del_likedcomment__del_comment__add_field_node_abs_parent__chg_fi.py +++ /dev/null @@ -1,322 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting model 'LikedComment' - db.delete_table('forum_likedcomment') - - # Deleting model 'Comment' - db.delete_table(u'comment') - - # Adding field 'Node.abs_parent' - db.add_column('forum_node', 'abs_parent', self.gf('django.db.models.fields.related.ForeignKey')(related_name='all_children', null=True, to=orm['forum.Node']), keep_default=False) - - # Changing field 'Question.last_activity_by' - db.alter_column(u'question', 'last_activity_by_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['forum.User'])) - - - def backwards(self, orm): - - # Adding model 'LikedComment' - db.create_table('forum_likedcomment', ( - ('comment', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Comment'])), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['LikedComment']) - - # Adding model 'Comment' - db.create_table(u'comment', ( - ('comment', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', null=True, to=orm['forum.Node'])), - ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_comments', null=True, to=orm['forum.User'], blank=True)), - ('score', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['forum.User'])), - ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Comment']) - - # Deleting field 'Node.abs_parent' - db.delete_column('forum_node', 'abs_parent_id') - - # Changing field 'Question.last_activity_by' - db.alter_column(u'question', 'last_activity_by_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 1, 11, 40, 975000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 18, 1, 11, 41, 269000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0020_create_absolute_parents.py b/forum/modules/template_loader.py/forum/migrations/0020_create_absolute_parents.py deleted file mode 100644 index 6a37403..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0020_create_absolute_parents.py +++ /dev/null @@ -1,300 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - def get_abs_par(n): - if n.parent: - return get_abs_par(n.parent) - else: - return n - - n_count = orm.Node.objects.count() - print "\nConverting %d nodes:" % n_count - progress = ProgressBar(n_count) - - for n in orm.Node.objects.all(): - if n.parent: - n.abs_parent = get_abs_par(n) - else: - n.abs_parent = None - n.save() - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 1, 20, 29, 905000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 18, 1, 20, 29, 974000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0021_create_new_pg_fts_triggers.py b/forum/modules/template_loader.py/forum/migrations/0021_create_new_pg_fts_triggers.py deleted file mode 100644 index 16ef25b..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0021_create_new_pg_fts_triggers.py +++ /dev/null @@ -1,303 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models -from django.conf import settings - -class Migration(SchemaMigration): - - def forwards(self, orm): - if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES: - try: - import forum_modules.pgfulltext.management - except Exception, e: - pass - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 17, 2, 50, 12, 337000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 18, 2, 50, 12, 421000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0022_auto__add_actionrepute__add_action__add_favoritenode__del_field_node_v.py b/forum/modules/template_loader.py/forum/migrations/0022_auto__add_actionrepute__add_action__add_favoritenode__del_field_node_v.py deleted file mode 100644 index 87b792e..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0022_auto__add_actionrepute__add_action__add_favoritenode__del_field_node_v.py +++ /dev/null @@ -1,463 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - print "# Adding model 'ActionRepute'" - db.create_table('forum_actionrepute', ( - ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='reputes', to=orm['forum.Action'])), - ('by_canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('value', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['ActionRepute']) - - print "# Adding model 'Action'" - db.create_table('forum_action', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True)), - ('extra', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('canceled_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='canceled_actions', null=True, to=orm['forum.User'])), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('action_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='actions', to=orm['forum.User'])), - ('action_type', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('canceled_at', self.gf('django.db.models.fields.DateTimeField')(null=True)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('ip', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)), - )) - db.send_create_signal('forum', ['Action']) - - print "# Deleting field 'Node.vote_up_count'" - db.delete_column('forum_node', 'vote_up_count') - - print "# Deleting field 'Node.comment_count'" - db.delete_column('forum_node', 'comment_count') - - print "# Deleting field 'Node.offensive_flag_count'" - db.delete_column('forum_node', 'offensive_flag_count') - - print "# Deleting field 'Node.vote_down_count'" - db.delete_column('forum_node', 'vote_down_count') - - print "# Adding field 'Node.wiki'" - db.add_column('forum_node', 'wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - print "# Adding field 'Node.marked'" - db.add_column('forum_node', 'marked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - print "# Adding field 'Node.extra_count'" - db.add_column('forum_node', 'extra_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - print "# Adding field 'Node.last_activity_by'" - db.add_column('forum_node', 'last_activity_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True), keep_default=False) - - print "# Adding field 'Node.extra_ref'" - db.add_column('forum_node', 'extra_ref', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True), keep_default=False) - - print "# Adding field 'Node.last_activity_at'" - db.add_column('forum_node', 'last_activity_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Changing field 'Answer.node_ptr' - #db.alter_column(u'answer', 'node_ptr_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True, primary_key=True)) - - print "# Changing field 'QuestionSubscription.question'" - db.alter_column('forum_questionsubscription', 'question_id', self.gf('django.db.models.fields.IntegerField')()) - - # Removing unique constraint on 'Award', fields ['badge', 'object_id', 'content_type', 'user'] - #db.delete_unique(u'award', ['badge_id', 'object_id', 'content_type_id', 'user_id']) - - print "# Changing field 'User.gold'" - db.alter_column('forum_user', 'gold', self.gf('django.db.models.fields.PositiveIntegerField')()) - - print "# Changing field 'User.silver'" - db.alter_column('forum_user', 'silver', self.gf('django.db.models.fields.PositiveIntegerField')()) - - print "# Changing field 'User.bronze'" - db.alter_column('forum_user', 'bronze', self.gf('django.db.models.fields.PositiveIntegerField')()) - - print "# Deleting field 'Question.answer_count'" - db.delete_column(u'question', 'answer_count') - - print "# Deleting field 'Question.favourite_count'" - db.delete_column(u'question', 'favourite_count') - - # Changing field 'Question.node_ptr' - #db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True, primary_key=True)) - - - def backwards(self, orm): - - # Deleting model 'ActionRepute' - db.delete_table('forum_actionrepute') - - # Deleting model 'Action' - db.delete_table('forum_action') - - # Deleting model 'FavoriteNode' - db.delete_table('forum_favoritenode') - - # Adding field 'Node.vote_up_count' - db.add_column('forum_node', 'vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Node.comment_count' - db.add_column('forum_node', 'comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=False) - - # Adding field 'Node.offensive_flag_count' - db.add_column('forum_node', 'offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False) - - # Adding field 'Node.vote_down_count' - db.add_column('forum_node', 'vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Deleting field 'Node.wiki' - db.delete_column('forum_node', 'wiki') - - # Deleting field 'Node.marked' - db.delete_column('forum_node', 'marked') - - # Deleting field 'Node.extra_count' - db.delete_column('forum_node', 'extra_count') - - # Deleting field 'Node.last_activity_by' - db.delete_column('forum_node', 'last_activity_by_id') - - # Deleting field 'Node.extra_ref' - db.delete_column('forum_node', 'extra_ref_id') - - # Deleting field 'Node.last_activity_at' - db.delete_column('forum_node', 'last_activity_at') - - # Changing field 'Answer.node_ptr' - db.alter_column(u'answer', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, primary_key=True)) - - # Adding unique constraint on 'Award', fields ['badge', 'object_id', 'content_type', 'user'] - db.create_unique(u'award', ['badge_id', 'object_id', 'content_type_id', 'user_id']) - - # Changing field 'User.gold' - db.alter_column('forum_user', 'gold', self.gf('django.db.models.fields.SmallIntegerField')()) - - # Changing field 'User.silver' - db.alter_column('forum_user', 'silver', self.gf('django.db.models.fields.SmallIntegerField')()) - - # Changing field 'User.bronze' - db.alter_column('forum_user', 'bronze', self.gf('django.db.models.fields.SmallIntegerField')()) - - # Adding field 'Question.answer_count' - db.add_column(u'question', 'answer_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=False) - - # Adding field 'Question.favourite_count' - db.add_column(u'question', 'favourite_count', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Changing field 'Question.node_ptr' - db.alter_column(u'question', 'node_ptr_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True)) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'favourites'", 'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True', 'primary_key': 'True'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 27, 11, 37, 29, 356000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 28, 11, 37, 29, 624000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0023_flaten_node_inheritance_create_actions.py b/forum/modules/template_loader.py/forum/migrations/0023_flaten_node_inheritance_create_actions.py deleted file mode 100644 index d4b081b..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0023_flaten_node_inheritance_create_actions.py +++ /dev/null @@ -1,685 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -GAIN_BY_UPVOTED = 1 -GAIN_BY_ANSWER_ACCEPTED = 2 -GAIN_BY_ACCEPTING_ANSWER = 3 -GAIN_BY_DOWNVOTE_CANCELED = 4 -GAIN_BY_CANCELING_DOWNVOTE = 5 -LOST_BY_CANCELLING_ACCEPTED_ANSWER = -1 -LOST_BY_ACCEPTED_ANSWER_CANCELED = -2 -LOST_BY_DOWNVOTED = -3 -LOST_BY_FLAGGED = -4 -LOST_BY_DOWNVOTING = -5 -LOST_BY_FLAGGED_3_TIMES = -6 -LOST_BY_FLAGGED_5_TIMES = -7 -LOST_BY_UPVOTE_CANCELED = -8 - -class Migration(DataMigration): - - def forwards(self, orm): - rephist = dict([(t, []) for t in range(-8, 6) if t != 0]) - - r_count = orm.Repute.objects.count() - print "\nCalculating rep gain/losses history through %d records:" % r_count - progress = ProgressBar(r_count) - - for r in orm.Repute.objects.all(): - l = rephist.get(r.reputation_type, None) - if l is None: continue - - if (len(l) == 0) or (l[-1][1] != r.value): - l.append((r.reputed_at, r.value)) - - progress.update() - - print "\n...done\n" - - - def repval_at(reptype, repdate, default): - l = rephist.get(reptype, None) - - if l is None: return 0 - if len(l) == 0: return default - - for r in l: - if r[0] <= repdate: - return r[1] or default - - - q_count = orm.Question.objects.count() - print "\nConverting %d questions:" % q_count - progress = ProgressBar(q_count) - - for q in orm.Question.objects.all(): - n = q.node_ptr - n.last_activity_at = q.last_activity_at - n.last_activity_by = q.last_activity_by - - if q.accepted_answer: - n.extra_ref = q.accepted_answer.node_ptr - - n.extra_count = q.view_count - - n.marked = q.closed - n.wiki = q.wiki - - n.save() - - ask = orm.Action( - user = n.author, - action_date = n.added_at, - node = n, - action_type = "ask", - extra = '' - ) - - ask.save() - - if n.deleted: - action = orm.Action( - user = n.deleted_by, - node = n, - action_type = "delete", - action_date = n.deleted_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - - if n.marked: - action = orm.Action( - user = q.closed_by, - node = n, - action_type = "close", - extra = q.close_reason, - action_date = q.closed_at or datetime.datetime.now(), - ) - - action.save() - - if n.wiki: - action = orm.Action( - user = n.author, - node = n, - action_type = "wikify", - action_date = q.wikified_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - progress.update() - - print "\n...done\n" - - a_count = orm.Answer.objects.count() - print "\nConverting %d answers:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Answer.objects.all(): - n = a.node_ptr - - n.marked = a.accepted - n.wiki = a.wiki - - n.save() - - ans = orm.Action( - user = n.author, - action_date = n.added_at, - node = n, - action_type = "answer", - extra = '' - ) - - ans.save() - - if n.deleted: - action = orm.Action( - user = n.deleted_by, - node = n, - action_type = "delete", - action_date = n.deleted_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - if a.accepted: - action = orm.Action( - user = a.accepted_by, - node = n, - action_type = "acceptanswer", - action_date = a.accepted_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - if not a.wiki or a.wikified_at > action.action_date: - if action.user == n.author: - rep = orm.ActionRepute( - action = action, - user = action.user, - value = repval_at(GAIN_BY_ACCEPTING_ANSWER, action.action_date, 2) - ) - rep.save() - - if n.author != n.parent.author: - rep = orm.ActionRepute( - action = action, - user = n.author, - value = repval_at(GAIN_BY_ANSWER_ACCEPTED, action.action_date, 15) - ) - rep.save() - - if n.wiki: - action = orm.Action( - user = n.author, - node = n, - action_type = "wikify", - action_date = a.wikified_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - progress.update() - - print "\n...done\n" - - v_count = orm.Vote.objects.count() - print "\nConverting %d votes:" % v_count - progress = ProgressBar(v_count) - - for v in orm.Vote.objects.exclude(canceled=True): - a = orm.Action( - action_type = (v.vote == 1) and ((v.node.node_type == "comment") and "voteupcomment" or "voteup") or "votedown", - user = v.user, - node = v.node, - action_date = v.voted_at, - canceled = v.canceled, - extra = '' - ) - - a.save() - - def impl(node): - if node.node_type == "question": - return orm.Question.objects.get(node_ptr=node) - else: - return orm.Answer.objects.get(node_ptr=node) - - if a.node.node_type in ("question", "answer") and (not a.node.wiki or impl(a.node).wikified_at > a.action_date): - reptype, default = (v.vote == 1) and (GAIN_BY_UPVOTED, 10) or (LOST_BY_DOWNVOTED, 2) - rep = orm.ActionRepute( - action = a, - user = a.node.author, - value = repval_at(reptype, a.action_date, default) or default - ) - rep.save() - - if v.vote == -1: - rep = orm.ActionRepute( - action = a, - user = a.node.author, - value = repval_at(LOST_BY_DOWNVOTING, a.action_date, 1) or default - ) - rep.save() - - progress.update() - - print "\n...done\n" - - f_count = orm.FlaggedItem.objects.count() - print "\nConverting %d flags:" % f_count - progress = ProgressBar(f_count) - - for f in orm.FlaggedItem.objects.all(): - a = orm.Action( - action_type = "flag", - user = f.user, - node = f.node, - action_date = f.flagged_at, - extra = f.reason or '' - ) - - a.save() - - rep = orm.ActionRepute( - action = a, - user = a.node.author, - value = repval_at(LOST_BY_FLAGGED, a.action_date, 2) or 2 - ) - rep.save() - - progress.update() - - print "\n...done\n" - - n_count = orm.Node.objects.all().count() - print "\nChecking flag count of %d nodes:" % n_count - progress = ProgressBar(n_count) - - for n in orm.Node.objects.all(): - flags = list(orm.Action.objects.filter(action_type="flag", node=n, canceled=False).order_by('-action_date')) - - if len(flags) >= 3: - a = flags[2] - rep = orm.ActionRepute( - action = a, - user = n.author, - value = repval_at(LOST_BY_FLAGGED_3_TIMES, a.action_date, 30) - ) - rep.save() - - - if len(flags) >= 5: - a = flags[4] - rep = orm.ActionRepute( - action = a, - user = n.author, - value = repval_at(LOST_BY_FLAGGED_5_TIMES, a.action_date, 100) - ) - rep.save() - - progress.update() - - print "\n...done\n" - - c_count = orm.Node.objects.filter(node_type="comment").count() - print "\nCreating %d comment actions:" % c_count - progress = ProgressBar(c_count) - - for c in orm.Node.objects.filter(node_type="comment").all(): - a = orm.Action( - action_type = "comment", - user = c.author, - node = c, - action_date = c.added_at, - extra = '' - ) - - a.save() - - if c.deleted: - action = orm.Action( - user = c.deleted_by, - node = c, - action_type = "delete", - action_date = c.deleted_at or datetime.datetime.now(), - extra = '' - ) - - action.save() - - progress.update() - - print "\n...done\n" - - - r_count = orm.NodeRevision.objects.exclude(revision=1).count() - print "\nCreating %d edit actions:" % r_count - progress = ProgressBar(r_count) - - for r in orm.NodeRevision.objects.exclude(revision=1): - a = orm.Action( - action_type = "revise", - user = r.author, - node = r.node, - action_date = r.revised_at, - extra = r.revision - ) - - a.save() - progress.update() - - print "\n...done\n" - - u_count = orm.User.objects.all().count() - print "\nCreating %d user join actions and reputation recalculation:" % u_count - progress = ProgressBar(u_count) - - for u in orm.User.objects.all(): - a = orm.Action( - user = u, - action_date = u.date_joined, - action_type = "userjoins", - ) - - a.save() - - rep = orm.ActionRepute( - action = a, - user = u, - value = 1 - ) - rep.save() - - new_rep = orm.ActionRepute.objects.filter(user=u).aggregate(reputation=models.Sum('value'))['reputation'] - - if new_rep < 0: - new_rep = 1 - - u.reputation = new_rep - u.save() - - progress.update() - - print "\n...done\n" - - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.anonymousnode': { - 'Meta': {'object_name': 'AnonymousNode', '_ormbases': ['forum.Node']}, - 'convertible_to': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}), - 'validation_hash': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_content'", 'to': "orm['forum.Node']"}) - }, - 'forum.answer': { - 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"}, - 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'node_ptr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True', 'primary_key': 'True'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.favoritequestion': { - 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'favourites'", 'to': "orm['forum.Question']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"}) - }, - 'forum.flaggeditem': { - 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.question': { - 'Meta': {'object_name': 'Question', 'db_table': "u'question'"}, - 'accepted_answer': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'question_accepting'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Answer']"}), - 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'node_ptr': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True', 'primary_key': 'True'}), - 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 27, 11, 40, 32, 68000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.repute': { - 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}), - 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 28, 11, 40, 32, 153000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'vote': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0024_auto__del_repute__del_vote__del_answer__del_flaggeditem__del_anonymous.py b/forum/modules/template_loader.py/forum/migrations/0024_auto__del_repute__del_vote__del_answer__del_flaggeditem__del_anonymous.py deleted file mode 100644 index 38a7604..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0024_auto__del_repute__del_vote__del_answer__del_flaggeditem__del_anonymous.py +++ /dev/null @@ -1,377 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting model 'Repute' - db.delete_table(u'repute') - - # Deleting model 'Vote' - db.delete_table(u'vote') - - # Deleting model 'Answer' - db.delete_table(u'answer') - - # Deleting model 'FlaggedItem' - db.delete_table(u'flagged_item') - - # Deleting model 'AnonymousNode' - db.delete_table('forum_anonymousnode') - - # Deleting model 'FavoriteQuestion' - db.delete_table(u'favorite_question') - - # Deleting model 'Question' - db.delete_table(u'question') - - # Deleting field 'Node.deleted_at' - db.delete_column('forum_node', 'deleted_at') - - # Deleting field 'Node.last_edited_by' - db.delete_column('forum_node', 'last_edited_by_id') - - # Deleting field 'Node.deleted' - db.delete_column('forum_node', 'deleted') - - # Deleting field 'Node.deleted_by' - db.delete_column('forum_node', 'deleted_by_id') - - # Deleting field 'Node.last_edited_at' - db.delete_column('forum_node', 'last_edited_at') - - - def backwards(self, orm): - - # Adding model 'Repute' - db.create_table(u'repute', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='reputes', null=True, to=orm['forum.Node'])), - ('reputed_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])), - ('value', self.gf('django.db.models.fields.SmallIntegerField')(default=0)), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('reputation_type', self.gf('django.db.models.fields.SmallIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='reputes', to=orm['forum.User'])), - ('user_previous_rep', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Repute']) - - # Adding model 'Vote' - db.create_table(u'vote', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', null=True, to=orm['forum.Node'])), - ('vote', self.gf('django.db.models.fields.SmallIntegerField')()), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', to=orm['forum.User'])), - ('voted_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['Vote']) - - # Adding model 'Answer' - db.create_table(u'answer', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('accepted_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)), - ('accepted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('node_ptr', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True, primary_key=True)), - ('accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - )) - db.send_create_signal('forum', ['Answer']) - - # Adding model 'FlaggedItem' - db.create_table(u'flagged_item', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', null=True, to=orm['forum.Node'])), - ('flagged_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('reason', self.gf('django.db.models.fields.CharField')(max_length=300, null=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', to=orm['forum.User'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('forum', ['FlaggedItem']) - - # Adding model 'AnonymousNode' - db.create_table('forum_anonymousnode', ( - ('convertible_to', self.gf('django.db.models.fields.CharField')(default='node', max_length=16)), - ('validation_hash', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_content', to=orm['forum.Node'])), - ('node_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Node'], unique=True, primary_key=True)), - )) - db.send_create_signal('forum', ['AnonymousNode']) - - # Adding model 'FavoriteQuestion' - db.create_table(u'favorite_question', ( - ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='favourites', to=orm['forum.Question'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_favorite_questions', to=orm['forum.User'])), - )) - db.send_create_signal('forum', ['FavoriteQuestion']) - - # Adding model 'Question' - db.create_table(u'question', ( - ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('last_activity_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_active_in_questions', null=True, to=orm['forum.User'])), - ('close_reason', self.gf('django.db.models.fields.SmallIntegerField')(null=True, blank=True)), - ('last_activity_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('view_count', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('node_ptr', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'], null=True, primary_key=True)), - ('accepted_answer', self.gf('django.db.models.fields.related.OneToOneField')(related_name='question_accepting', unique=True, null=True, to=orm['forum.Answer'])), - ('closed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('closed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('closed_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='closed_questions', null=True, to=orm['forum.User'], blank=True)), - )) - db.send_create_signal('forum', ['Question']) - - # Adding field 'Node.deleted_at' - db.add_column('forum_node', 'deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - # Adding field 'Node.last_edited_by' - db.add_column('forum_node', 'last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_edited_nodes', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Node.deleted' - db.add_column('forum_node', 'deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Node.deleted_by' - db.add_column('forum_node', 'deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_nodes', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Node.last_edited_at' - db.add_column('forum_node', 'last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 28, 23, 43, 52, 301000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 23, 43, 52, 512000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0025_auto__add_field_node_extra_action__add_field_node_deleted__add_field_n.py b/forum/modules/template_loader.py/forum/migrations/0025_auto__add_field_node_extra_action__add_field_node_deleted__add_field_n.py deleted file mode 100644 index 2cf638c..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0025_auto__add_field_node_extra_action__add_field_node_deleted__add_field_n.py +++ /dev/null @@ -1,267 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'Node.extra_action' - db.add_column('forum_node', 'extra_action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='extra_node', null=True, to=orm['forum.Action']), keep_default=False) - - # Adding field 'Node.deleted' - db.add_column('forum_node', 'deleted', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_node', unique=True, null=True, to=orm['forum.Action']), keep_default=False) - - # Adding field 'Node.last_edited' - db.add_column('forum_node', 'last_edited', self.gf('django.db.models.fields.related.ForeignKey')(related_name='edited_node', unique=True, null=True, to=orm['forum.Action']), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Node.extra_action' - db.delete_column('forum_node', 'extra_action_id') - - # Deleting field 'Node.deleted' - db.delete_column('forum_node', 'deleted_id') - - # Deleting field 'Node.last_edited' - db.delete_column('forum_node', 'last_edited_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 28, 23, 49, 37, 322000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 23, 49, 37, 506000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0026_reset_deleted_and_lastedited_flags.py b/forum/modules/template_loader.py/forum/migrations/0026_reset_deleted_and_lastedited_flags.py deleted file mode 100644 index 8521ffd..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0026_reset_deleted_and_lastedited_flags.py +++ /dev/null @@ -1,278 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - n_count = orm.Node.objects.all().count() - print "\nReseting %d nodes:" % n_count - progress = ProgressBar(n_count) - - for n in orm.Node.objects.all(): - try: - d = orm.Action.objects.get(node=n, action_type="delete", canceled=False) - n.deleted_id = d.id - except Exception, e: - n.deleted = None - - if orm.Action.objects.filter(node=n, action_type="revise").count() > 0: - n.last_edited_id = orm.Action.objects.filter(node=n, action_type="revise").order_by('-action_date')[0].id - else: - n.last_edited = None - - - if n.node_type == "answer" and n.marked: - n.extra_action_id = orm.Action.objects.get(node=n, action_type="acceptanswer", canceled=False).id - - if n.node_type == "question" and n.marked: - n.extra_action_id = orm.Action.objects.get(node=n, action_type="close", canceled=False).id - - n.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.activity': { - 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"}, - 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 28, 23, 55, 36, 647000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 23, 55, 36, 708000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0027_auto__del_activity.py b/forum/modules/template_loader.py/forum/migrations/0027_auto__del_activity.py deleted file mode 100644 index 589b5bb..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0027_auto__del_activity.py +++ /dev/null @@ -1,254 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting model 'Activity' - db.delete_table(u'activity') - - - def backwards(self, orm): - - # Adding model 'Activity' - db.create_table(u'activity', ( - ('is_auditted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('active_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('activity_type', self.gf('django.db.models.fields.SmallIntegerField')()), - )) - db.send_create_signal('forum', ['Activity']) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 1, 30, 30, 35000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 30, 1, 30, 30, 211000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0028_auto__add_field_action_canceled_ip__add_field_actionrepute_date.py b/forum/modules/template_loader.py/forum/migrations/0028_auto__add_field_action_canceled_ip__add_field_actionrepute_date.py deleted file mode 100644 index 1170bf7..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0028_auto__add_field_action_canceled_ip__add_field_actionrepute_date.py +++ /dev/null @@ -1,253 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'Action.canceled_ip' - db.add_column('forum_action', 'canceled_ip', self.gf('django.db.models.fields.CharField')(default='', max_length=16), keep_default=False) - - # Adding field 'ActionRepute.date' - db.add_column('forum_actionrepute', 'date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Action.canceled_ip' - db.delete_column('forum_action', 'canceled_ip') - - # Deleting field 'ActionRepute.date' - db.delete_column('forum_actionrepute', 'date') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 21, 20, 24, 880000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 30, 21, 20, 35, 361000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0029_repute_dates.py b/forum/modules/template_loader.py/forum/migrations/0029_repute_dates.py deleted file mode 100644 index 14d6e62..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0029_repute_dates.py +++ /dev/null @@ -1,259 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - r_count = orm.ActionRepute.objects.count() - print "\nAdding dates to %d repute actions:" % r_count - progress = ProgressBar(r_count) - - for r in orm.ActionRepute.objects.all(): - a = r.action - - if r.by_canceled: - r.date = a.canceled_at - else: - r.date = a.action_date - - r.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 29, 21, 21, 16, 237000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 30, 21, 21, 16, 298000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0030_auto__chg_field_action_extra__chg_field_keyvalue_value.py b/forum/modules/template_loader.py/forum/migrations/0030_auto__chg_field_action_extra__chg_field_keyvalue_value.py deleted file mode 100644 index cd4e1f1..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0030_auto__chg_field_action_extra__chg_field_keyvalue_value.py +++ /dev/null @@ -1,253 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'Action.extra' - db.alter_column('forum_action', 'extra', self.gf('forum.models.utils.PickledObjectField')(null=True)) - - # Changing field 'KeyValue.value' - db.alter_column('forum_keyvalue', 'value', self.gf('forum.models.utils.PickledObjectField')(null=True)) - - - def backwards(self, orm): - - # Changing field 'Action.extra' - db.alter_column('forum_action', 'extra', self.gf('django.db.models.fields.CharField')(max_length=255)) - - # Changing field 'KeyValue.value' - db.alter_column('forum_keyvalue', 'value', self.gf('forum.models.utils.PickledObjectField')()) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 30, 23, 58, 8, 677000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 1, 23, 58, 8, 841000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0031_alter_pickle_storage.py b/forum/modules/template_loader.py/forum/migrations/0031_alter_pickle_storage.py deleted file mode 100644 index 5c8bb7b..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0031_alter_pickle_storage.py +++ /dev/null @@ -1,274 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar -from forum.models.utils import dbsafe_encode - -try: - from cPickle import loads, dumps -except ImportError: - from pickle import loads, dumps - -class Migration(DataMigration): - - def forwards(self, orm): - k_count = orm.KeyValue.objects.count() - print "\nConverting %d keyvalue objects:" % k_count - progress = ProgressBar(k_count) - - for kv in orm.KeyValue.objects.all(): - try: - o = loads(kv.value.encode('utf-8')) - except: - o = kv.value - - kv.value = dbsafe_encode(o, compress_object=True) - kv.save() - progress.update() - - print "\n...done\n" - - a_count = orm.Action.objects.count() - print "\nConverting %d actions extra fields:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Action.objects.all(): - a.extra = dbsafe_encode(a.extra, compress_object=True) - a.save() - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 1, 0, 0, 32, 37000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 2, 0, 0, 32, 86000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0032_auto__del_field_user_hide_ignored_questions__del_field_user_questions_.py b/forum/modules/template_loader.py/forum/migrations/0032_auto__del_field_user_hide_ignored_questions__del_field_user_questions_.py deleted file mode 100644 index 7a15772..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0032_auto__del_field_user_hide_ignored_questions__del_field_user_questions_.py +++ /dev/null @@ -1,263 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'User.hide_ignored_questions' - db.delete_column('forum_user', 'hide_ignored_questions') - - # Deleting field 'User.questions_per_page' - db.delete_column('forum_user', 'questions_per_page') - - # Deleting field 'User.email_key' - db.delete_column('forum_user', 'email_key') - - # Adding field 'Node.in_moderation' - db.add_column('forum_node', 'in_moderation', self.gf('django.db.models.fields.related.ForeignKey')(related_name='moderated_node', unique=True, null=True, to=orm['forum.Action']), keep_default=False) - - - def backwards(self, orm): - - # Adding field 'User.hide_ignored_questions' - db.add_column('forum_user', 'hide_ignored_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'User.questions_per_page' - db.add_column('forum_user', 'questions_per_page', self.gf('django.db.models.fields.SmallIntegerField')(default=10), keep_default=False) - - # Adding field 'User.email_key' - db.add_column('forum_user', 'email_key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True), keep_default=False) - - # Deleting field 'Node.in_moderation' - db.delete_column('forum_node', 'in_moderation_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'object_name': 'Award', 'db_table': "u'award'"}, - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 2, 4, 54, 13, 72000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 3, 4, 54, 13, 256000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0033_auto__add_flag__add_vote__add_field_badge_cls__del_unique_badge_type_n.py b/forum/modules/template_loader.py/forum/migrations/0033_auto__add_flag__add_vote__add_field_badge_cls__del_unique_badge_type_n.py deleted file mode 100644 index f2b38e8..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0033_auto__add_flag__add_vote__add_field_badge_cls__del_unique_badge_type_n.py +++ /dev/null @@ -1,333 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - db.rename_table('award', 'forum_award') - db.rename_table('badge', 'forum_badge') - db.rename_table('tag', 'forum_tag') - - # Adding model 'Flag' - db.create_table('forum_flag', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'])), - ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flag', unique=True, to=orm['forum.Action'])), - ('reason', self.gf('django.db.models.fields.CharField')(max_length=300)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('flagged_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - )) - #db.send_create_signal('forum', ['Flag']) - - # Adding model 'Vote' - db.create_table('forum_vote', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Node'])), - ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='vote', unique=True, to=orm['forum.Action'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('value', self.gf('django.db.models.fields.SmallIntegerField')()), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])), - ('voted_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - )) - #db.send_create_signal('forum', ['Vote']) - - # Adding field 'Badge.cls' - db.add_column('forum_badge', 'cls', self.gf('django.db.models.fields.CharField')(max_length=50, null=True), keep_default=False) - - # Removing unique constraint on 'Badge', fields ['type', 'name'] - db.delete_unique(u'forum_badge', ['type', 'name']) - - # Deleting field 'Award.notified' - db.delete_column(u'forum_award', 'notified') - - # Adding field 'Award.node' - db.add_column('forum_award', 'node', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['forum.Node'], null=True), keep_default=False) - - # Adding field 'Award.trigger' - db.add_column('forum_award', 'trigger', self.gf('django.db.models.fields.related.ForeignKey')(related_name='awards', null=True, to=orm['forum.Action']), keep_default=False) - - # Adding field 'Award.action' - db.add_column('forum_award', 'action', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='award', to=orm['forum.Action']), keep_default=False) - - # Adding unique constraint on 'Award', fields ['node', 'badge', 'user'] - #db.create_unique('forum_award', ['node_id', 'badge_id', 'user_id']) - - - def backwards(self, orm): - - # Deleting model 'Flag' - db.delete_table('forum_flag') - - # Deleting model 'Vote' - db.delete_table('forum_vote') - - # Deleting field 'Badge.cls' - db.delete_column('forum_badge', 'cls') - - # Adding unique constraint on 'Badge', fields ['type', 'name'] - db.create_unique(u'badge', ['type', 'name']) - - # Adding field 'Award.notified' - db.add_column(u'award', 'notified', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Deleting field 'Award.node' - db.delete_column('forum_award', 'node_id') - - # Deleting field 'Award.trigger' - db.delete_column('forum_award', 'trigger_id') - - # Deleting field 'Award.action' - db.delete_column('forum_award', 'action_id') - - # Removing unique constraint on 'Award', fields ['node', 'badge', 'user'] - db.delete_unique('forum_award', ['node_id', 'badge_id', 'user_id']) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award'", 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 3, 11, 41, 55, 831000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 4, 11, 41, 59, 140000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0034_new_badge_and_award.py b/forum/modules/template_loader.py/forum/migrations/0034_new_badge_and_award.py deleted file mode 100644 index 89399f9..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0034_new_badge_and_award.py +++ /dev/null @@ -1,344 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar -from forum.models.utils import dbsafe_decode - -class Migration(DataMigration): - - def forwards(self, orm): - b_count = orm.Badge.objects.count() - print "\nConverting %d badges:" % b_count - progress = ProgressBar(b_count) - - for b in orm.Badge.objects.all(): - b.cls = "".join([s[0].upper() + s[1:] for s in b.slug.split('-')]) - b.save() - - progress.update() - - print "\n...done\n" - - ctypes = dict([(ct.name, ct.id) for ct in orm['contenttypes.ContentType'].objects.all()]) - - a_count = orm.Award.objects.count() - print "\nConverting %d awards:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Award.objects.all(): - if a.content_type.id == ctypes['user']: - a.node = None - else: - try: - a.node = orm.Node.objects.get(id=a.object_id) - except: - a.delete() - continue - - action = orm.Action( - user = a.user, - node = a.node, - action_type = "award", - action_date = a.awarded_at, - ) - - action.save() - - a.action = action - a.save() - - progress.update() - - print "\n...done\n" - - - a_count = orm.Action.objects.filter(action_type__in=("voteup", "votedown", "voteupcomment")).count() - print "\nConverting %d votes:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Action.objects.filter(action_type__in=("voteup", "votedown", "voteupcomment"), canceled=False): - v = orm.Vote( - user = a.user, - node = a.node, - value = (a.action_type in ("voteup", "voteupcomment")) and 1 or -1, - action = a, - voted_at = a.action_date - ) - - v.save() - - progress.update() - - print "\n...done\n" - - a_count = orm.Action.objects.filter(action_type__in=("voteup", "votedown", "voteupcomment")).count() - print "\nConverting %d votes:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Action.objects.filter(action_type="flag", canceled=False): - f = orm.Flag( - user = a.user, - node = a.node, - reason = a.extra, - action = a, - flagged_at = a.action_date - ) - - f.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award'", 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Badge']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 3, 11, 43, 54, 540000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 4, 11, 43, 54, 592000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0035_auto__del_field_award_object_id__del_field_award_content_type__add_uni.py b/forum/modules/template_loader.py/forum/migrations/0035_auto__del_field_award_object_id__del_field_award_content_type__add_uni.py deleted file mode 100644 index b566ef0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0035_auto__del_field_award_object_id__del_field_award_content_type__add_uni.py +++ /dev/null @@ -1,296 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'Award.object_id' - db.delete_column('forum_award', 'object_id') - - # Deleting field 'Award.content_type' - db.delete_column('forum_award', 'content_type_id') - - # Adding unique constraint on 'Award', fields ['action'] - db.create_unique('forum_award', ['action_id']) - - # Deleting field 'Badge.multiple' - db.delete_column('forum_badge', 'multiple') - - # Deleting field 'Badge.name' - db.delete_column('forum_badge', 'name') - - # Deleting field 'Badge.slug' - db.delete_column('forum_badge', 'slug') - - # Deleting field 'Badge.description' - db.delete_column('forum_badge', 'description') - - - def backwards(self, orm): - - # Adding field 'Award.object_id' - db.add_column('forum_award', 'object_id', self.gf('django.db.models.fields.PositiveIntegerField')(default=1), keep_default=False) - - # Adding field 'Award.content_type' - db.add_column('forum_award', 'content_type', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['contenttypes.ContentType']), keep_default=False) - - # Removing unique constraint on 'Award', fields ['action'] - db.delete_unique('forum_award', ['action_id']) - - # Adding field 'Badge.multiple' - db.add_column('forum_badge', 'multiple', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Badge.name' - db.add_column('forum_badge', 'name', self.gf('django.db.models.fields.CharField')(default=1, max_length=50), keep_default=False) - - # Adding field 'Badge.slug' - db.add_column('forum_badge', 'slug', self.gf('django.db.models.fields.SlugField')(blank=True, default=1, max_length=50, db_index=True), keep_default=False) - - # Adding field 'Badge.description' - db.add_column('forum_badge', 'description', self.gf('django.db.models.fields.CharField')(default=1, max_length=300), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 3, 11, 46, 22, 80000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'through': "'QuestionSubscription'", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 4, 11, 46, 28, 428000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri.py b/forum/modules/template_loader.py/forum/migrations/0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri.py deleted file mode 100644 index ac16256..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri.py +++ /dev/null @@ -1,298 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'NodeState' - db.create_table('forum_nodestate', ( - ('node', self.gf('django.db.models.fields.related.ForeignKey')(related_name='state', to=orm['forum.Node'])), - ('state_type', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='node_state', unique=True, to=orm['forum.Action'])), - )) - db.send_create_signal('forum', ['NodeState']) - - # Changing field 'Award.action' - db.alter_column('forum_award', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action'])) - - # Adding field 'Node.state_string' - db.add_column('forum_node', 'state_string', self.gf('django.db.models.fields.TextField')(default=''), keep_default=False) - - # Changing field 'Flag.action' - db.alter_column('forum_flag', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action'])) - - # Changing field 'Vote.action' - db.alter_column('forum_vote', 'action_id', self.gf('django.db.models.fields.related.OneToOneField')(unique=True, to=orm['forum.Action'])) - - - def backwards(self, orm): - - # Deleting model 'NodeState' - db.delete_table('forum_nodestate') - - # Changing field 'Award.action' - db.alter_column('forum_award', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action'])) - - # Deleting field 'Node.state_string' - db.delete_column('forum_node', 'state_string') - - # Changing field 'Flag.action' - db.alter_column('forum_flag', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action'])) - - # Changing field 'Vote.action' - db.alter_column('forum_vote', 'action_id', self.gf('django.db.models.fields.related.ForeignKey')(unique=True, to=orm['forum.Action'])) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'state'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 24, 12, 24, 54, 587000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 25, 12, 24, 54, 760000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0037_fill_node_state.py b/forum/modules/template_loader.py/forum/migrations/0037_fill_node_state.py deleted file mode 100644 index 79ed9c9..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0037_fill_node_state.py +++ /dev/null @@ -1,317 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - n_count = orm.Node.objects.count() - print "\nConverting %s node states:" % n_count - progress = ProgressBar(n_count) - - for n in orm.Node.objects.all(): - ss = "" - - if n.deleted: - s = orm.NodeState( - node = n, - action = n.deleted, - state_type = "deleted" - ) - s.save() - ss += "(deleted)" - - if n.wiki: - try: - action = orm.Action.objects.get(node=n, action_type="wikify") - s = orm.NodeState( - node = n, - action = action, - state_type = "wiki" - ) - s.save() - ss += "(wiki)" - except: - pass - - if n.node_type == "question" and n.extra_action: - s = orm.NodeState( - node = n, - action = n.extra_action, - state_type = "closed" - ) - s.save() - ss += "(closed)" - - if n.node_type == "answer" and n.extra_action: - s = orm.NodeState( - node = n, - action = n.extra_action, - state_type = "accepted" - ) - s.save() - ss += "(accepted)" - - if ss: - n.state_string = ss - n.save() - - progress.update() - - print "\n...done\n" - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'deleted': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'deleted_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'extra_node'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_moderation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'moderated_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'state'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 24, 12, 26, 33, 742000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 25, 12, 26, 33, 797000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0038_auto__del_field_node_wiki__del_field_node_deleted__del_field_node_extr.py b/forum/modules/template_loader.py/forum/migrations/0038_auto__del_field_node_wiki__del_field_node_deleted__del_field_node_extr.py deleted file mode 100644 index c38e21f..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0038_auto__del_field_node_wiki__del_field_node_deleted__del_field_node_extr.py +++ /dev/null @@ -1,282 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'Node.wiki' - db.delete_column('forum_node', 'wiki') - - # Deleting field 'Node.deleted' - db.delete_column('forum_node', 'deleted_id') - - # Deleting field 'Node.extra_action' - db.delete_column('forum_node', 'extra_action_id') - - # Deleting field 'Node.in_moderation' - db.delete_column('forum_node', 'in_moderation_id') - - - def backwards(self, orm): - - # Adding field 'Node.wiki' - db.add_column('forum_node', 'wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Node.deleted' - db.add_column('forum_node', 'deleted', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_node', unique=True, null=True, to=orm['forum.Action']), keep_default=False) - - # Adding field 'Node.extra_action' - db.add_column('forum_node', 'extra_action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='extra_node', null=True, to=orm['forum.Action']), keep_default=False) - - # Adding field 'Node.in_moderation' - db.add_column('forum_node', 'in_moderation', self.gf('django.db.models.fields.related.ForeignKey')(related_name='moderated_node', unique=True, null=True, to=orm['forum.Action']), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 24, 19, 29, 24, 232000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 25, 19, 29, 24, 443000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.py b/forum/modules/template_loader.py/forum/migrations/0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.py deleted file mode 100644 index 4a91aa7..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.py +++ /dev/null @@ -1,273 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Deleting field 'Tag.deleted' - db.delete_column('forum_tag', 'deleted') - - # Deleting field 'Tag.deleted_by' - db.delete_column('forum_tag', 'deleted_by_id') - - # Deleting field 'Tag.deleted_at' - db.delete_column('forum_tag', 'deleted_at') - - - def backwards(self, orm): - - # Adding field 'Tag.deleted' - db.add_column('forum_tag', 'deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True), keep_default=False) - - # Adding field 'Tag.deleted_by' - db.add_column('forum_tag', 'deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='deleted_tags', null=True, to=orm['forum.User'], blank=True), keep_default=False) - - # Adding field 'Tag.deleted_at' - db.add_column('forum_tag', 'deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), keep_default=False) - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 25, 0, 18, 31, 631000)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 5, 26, 0, 18, 31, 914000)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0040_auto__chg_field_nodestate_action__add_field_node_extra.py b/forum/modules/template_loader.py/forum/migrations/0040_auto__chg_field_nodestate_action__add_field_node_extra.py deleted file mode 100644 index 0b28278..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0040_auto__chg_field_nodestate_action__add_field_node_extra.py +++ /dev/null @@ -1,260 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Node.extra' - db.add_column('forum_node', 'extra', self.gf('forum.models.utils.PickledObjectField')(null=True), keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Node.extra' - db.delete_column('forum_node', 'extra') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 6, 4, 12, 12, 32, 595305)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 6, 5, 12, 12, 32, 734979)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0041_action_ip_fixes.py b/forum/modules/template_loader.py/forum/migrations/0041_action_ip_fixes.py deleted file mode 100644 index 9c8a24f..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0041_action_ip_fixes.py +++ /dev/null @@ -1,300 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -class Migration(DataMigration): - - def forwards(self, orm): - a_count = orm.Action.objects.filter(action_type="bonusrep").count() - print "\nConverting %s bonus actions:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Action.objects.filter(action_type="bonusrep"): - a.user = orm.User.objects.get(id=a.extra['awarding_user']) - a.save() - - progress.update() - - print "\n...done\n" - - - s_count = orm.Action.objects.filter(action_type="suspend").count() - print "\nConverting %s suspend actions:" % a_count - progress = ProgressBar(s_count) - - for a in orm.Action.objects.filter(action_type="suspend"): - suspended = a.user - - a.user = orm.User.objects.get(id=a.extra['suspender']) - a.save() - - rep = orm.ActionRepute(user=suspended, action=a, value=0, date=a.action_date) - rep.save() - - progress.update() - - print "\n...done\n" - - a_count = orm.Action.objects.filter(action_type="award").count() - print "\nConverting %s award actions:" % a_count - progress = ProgressBar(a_count) - - for a in orm.Action.objects.filter(action_type="award"): - a.ip = '' - a.save() - - progress.update() - - print "\n...done\n" - - - - def backwards(self, orm): - "Write your backwards methods here." - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 6, 13, 16, 42, 20, 908594)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 6, 14, 16, 42, 20, 944052)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0042_auto__add_userproperty.py b/forum/modules/template_loader.py/forum/migrations/0042_auto__add_userproperty.py deleted file mode 100644 index ecbd7c9..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0042_auto__add_userproperty.py +++ /dev/null @@ -1,275 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'UserProperty' - db.create_table('forum_userproperty', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='properties', to=orm['forum.User'])), - ('key', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('value', self.gf('forum.models.utils.PickledObjectField')(null=True)), - )) - db.send_create_signal('forum', ['UserProperty']) - - - def backwards(self, orm): - - # Deleting model 'UserProperty' - db.delete_table('forum_userproperty') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 6, 30, 19, 11, 19, 580720)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.userproperty': { - 'Meta': {'unique_together': "(('user', 'key'),)", 'object_name': 'UserProperty'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'properties'", 'to': "orm['forum.User']"}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 7, 1, 19, 11, 19, 671272)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0043_auto__add_field_subscriptionsettings_send_digest__add_field_action_rea.py b/forum/modules/template_loader.py/forum/migrations/0043_auto__add_field_subscriptionsettings_send_digest__add_field_action_rea.py deleted file mode 100644 index dc25ef0..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0043_auto__add_field_subscriptionsettings_send_digest__add_field_action_rea.py +++ /dev/null @@ -1,277 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding field 'SubscriptionSettings.send_digest' - db.add_column('forum_subscriptionsettings', 'send_digest', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True), keep_default=False) - - # Adding field 'Action.real_user' - db.add_column('forum_action', 'real_user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='proxied_actions', null=True, to=orm['forum.User']), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'SubscriptionSettings.send_digest' - db.delete_column('forum_subscriptionsettings', 'send_digest') - - # Deleting field 'Action.real_user' - db.delete_column('forum_action', 'real_user_id') - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'real_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'proxied_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 7, 1, 13, 6, 46, 789996)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'send_digest': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.userproperty': { - 'Meta': {'unique_together': "(('user', 'key'),)", 'object_name': 'UserProperty'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'properties'", 'to': "orm['forum.User']"}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 7, 2, 13, 6, 46, 883626)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/0044_markdown_cache_migration.py b/forum/modules/template_loader.py/forum/migrations/0044_markdown_cache_migration.py deleted file mode 100644 index ac31742..0000000 --- a/forum/modules/template_loader.py/forum/migrations/0044_markdown_cache_migration.py +++ /dev/null @@ -1,271 +0,0 @@ -# encoding: utf-8 -import os, sys -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from forum.migrations import ProgressBar - -import markdown -from django.utils.safestring import mark_safe -from django.utils.html import strip_tags -from forum.utils.html import sanitize_html - -class Migration(DataMigration): - - def forwards(self, orm): - sys.path.append(os.path.join(os.path.dirname(__file__),'../markdownext')) - - count = orm.Node.objects.count() - progress = ProgressBar(count) - - for node in orm.Node.objects.all(): - rev = node.active_revision - - if not rev: - try: - rev = node.revisions.order_by('-revision')[0] - except: - continue - node.body = sanitize_html(markdown.markdown(rev.body, ['urlize'])) - node.save() - progress.update() - - def backwards(self, orm): - "Write your backwards methods here." - - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'real_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'proxied_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 12, 22, 17, 54, 20, 862306)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'send_digest': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.userproperty': { - 'Meta': {'unique_together': "(('user', 'key'),)", 'object_name': 'UserProperty'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'properties'", 'to': "orm['forum.User']"}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 12, 23, 17, 54, 20, 937539)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] diff --git a/forum/modules/template_loader.py/forum/migrations/__init__.py b/forum/modules/template_loader.py/forum/migrations/__init__.py deleted file mode 100644 index 01fd2df..0000000 --- a/forum/modules/template_loader.py/forum/migrations/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -import sys - -class ProgressBar(object): - def __init__(self, full): - self.full = full - self.count = 0 - - self.print_bar(0) - - def print_bar(self, progress): - sys.stdout.write("[%s%s] %d%%\r" % ('=' * progress, ' ' * (100 - progress), progress)) - sys.stdout.flush() - - def update(self): - self.count += 1 - self.print_bar(int((float(self.count) / float(self.full)) * 100)) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/models/__init__.py b/forum/modules/template_loader.py/forum/models/__init__.py deleted file mode 100644 index 2164e36..0000000 --- a/forum/modules/template_loader.py/forum/models/__init__.py +++ /dev/null @@ -1,39 +0,0 @@ -import forum.utils.djangofix -from question import Question ,QuestionRevision, QuestionSubscription -from answer import Answer, AnswerRevision -from tag import Tag, MarkedTag -from user import User, ValidationHash, AuthKeyUserAssociation, SubscriptionSettings -from node import Node, NodeRevision, NodeState, NodeMetaClass -from comment import Comment -from action import Action, ActionRepute -from meta import Vote, Flag, Badge, Award -from utils import KeyValue -from page import Page - -try: - from south.modelsinspector import add_introspection_rules - add_introspection_rules([], [r"^forum\.models\.\w+\.\w+"]) -except: - pass - -from base import * - -__all__ = [ - 'Node', 'NodeRevision', 'NodeState', - 'Question', 'QuestionSubscription', 'QuestionRevision', - 'Answer', 'AnswerRevision', - 'Tag', 'Comment', 'MarkedTag', 'Badge', 'Award', - 'ValidationHash', 'AuthKeyUserAssociation', 'SubscriptionSettings', 'KeyValue', 'User', - 'Action', 'ActionRepute', 'Vote', 'Flag', 'Page' - ] - - -from forum.modules import get_modules_script_classes - -for k, v in get_modules_script_classes('models', models.Model).items(): - if not k in __all__: - __all__.append(k) - exec "%s = v" % k - -NodeMetaClass.setup_relations() -BaseMetaClass.setup_denormalizes() diff --git a/forum/modules/template_loader.py/forum/models/action.py b/forum/modules/template_loader.py/forum/models/action.py deleted file mode 100644 index 7fd2e6f..0000000 --- a/forum/modules/template_loader.py/forum/models/action.py +++ /dev/null @@ -1,319 +0,0 @@ -from django.utils.translation import ugettext as _ -from utils import PickledObjectField -from threading import Thread -from forum.utils import html -from base import * -import re - -class ActionQuerySet(CachedQuerySet): - def obj_from_datadict(self, datadict): - cls = ActionProxyMetaClass.types.get(datadict['action_type'], None) - if cls: - obj = cls() - obj.__dict__.update(datadict) - return obj - else: - return super(ActionQuerySet, self).obj_from_datadict(datadict) - - def get(self, *args, **kwargs): - action = super(ActionQuerySet, self).get(*args, **kwargs).leaf() - - if not isinstance(action, self.model): - raise self.model.DoesNotExist() - - return action - -class ActionManager(CachedManager): - use_for_related_fields = True - - def get_query_set(self): - qs = ActionQuerySet(self.model) - - if self.model is not Action: - return qs.filter(action_type=self.model.get_type()) - else: - return qs - - def get_for_types(self, types, *args, **kwargs): - kwargs['action_type__in'] = [t.get_type() for t in types] - return self.get(*args, **kwargs) - - -class Action(BaseModel): - user = models.ForeignKey('User', related_name="actions") - real_user = models.ForeignKey('User', related_name="proxied_actions", null=True) - ip = models.CharField(max_length=16) - node = models.ForeignKey('Node', null=True, related_name="actions") - action_type = models.CharField(max_length=16) - action_date = models.DateTimeField(default=datetime.datetime.now) - - extra = PickledObjectField() - - canceled = models.BooleanField(default=False) - canceled_by = models.ForeignKey('User', null=True, related_name="canceled_actions") - canceled_at = models.DateTimeField(null=True) - canceled_ip = models.CharField(max_length=16) - - hooks = {} - - objects = ActionManager() - - @property - def at(self): - return self.action_date - - @property - def by(self): - return self.user - - def repute_users(self): - pass - - def process_data(self, **data): - pass - - def process_action(self): - pass - - def cancel_action(self): - pass - - @property - def verb(self): - return "" - - def describe(self, viewer=None): - return self.__class__.__name__ - - def get_absolute_url(self): - if self.node: - return self.node.get_absolute_url() - else: - return self.user.get_profile_url() - - def repute(self, user, value): - repute = ActionRepute(action=self, user=user, value=value) - repute.save() - return repute - - def cancel_reputes(self): - for repute in self.reputes.all(): - cancel = ActionRepute(action=self, user=repute.user, value=(-repute.value), by_canceled=True) - cancel.save() - - def leaf(self): - leaf_cls = ActionProxyMetaClass.types.get(self.action_type, None) - - if leaf_cls is None: - return self - - leaf = leaf_cls() - d = self._as_dict() - leaf.__dict__.update(self._as_dict()) - l = leaf._as_dict() - return leaf - - @classmethod - def get_type(cls): - return re.sub(r'action$', '', cls.__name__.lower()) - - def save(self, data=None, threaded=True, *args, **kwargs): - isnew = False - - if not self.id: - self.action_type = self.__class__.get_type() - isnew = True - - if data: - self.process_data(**data) - - super(Action, self).save(*args, **kwargs) - - if isnew: - if (self.node is None) or (not self.node.nis.wiki): - self.repute_users() - self.process_action() - self.trigger_hooks(threaded, True) - - return self - - def delete(self, *args, **kwargs): - self.cancel_action() - super(Action, self).delete(*args, **kwargs) - - def cancel(self, user=None, ip=None): - if not self.canceled: - self.canceled = True - self.canceled_at = datetime.datetime.now() - self.canceled_by = (user is None) and self.user or user - if ip: - self.canceled_ip = ip - self.save() - self.cancel_reputes() - self.cancel_action() - #self.trigger_hooks(False) - - @classmethod - def get_current(cls, **kwargs): - kwargs['canceled'] = False - - try: - return cls.objects.get(**kwargs) - except cls.MultipleObjectsReturned: - logging.error("Got multiple values for action %s with args %s", cls.__name__, - ", ".join(["%s='%s'" % i for i in kwargs.items()])) - raise - except cls.DoesNotExist: - return None - - @classmethod - def hook(cls, fn): - if not Action.hooks.get(cls, None): - Action.hooks[cls] = [] - - Action.hooks[cls].append(fn) - - def trigger_hooks(self, threaded, new=True): - if threaded: - thread = Thread(target=trigger_hooks, args=[self, Action.hooks, new]) - thread.setDaemon(True) - thread.start() - else: - trigger_hooks(self, Action.hooks, new) - - class Meta: - app_label = 'forum' - -def trigger_hooks(action, hooks, new): - for cls, hooklist in hooks.items(): - if isinstance(action, cls): - for hook in hooklist: - try: - hook(action=action, new=new) - except Exception, e: - import traceback - logging.error("Error in %s hook: %s" % (cls.__name__, str(e))) - logging.error(traceback.format_exc()) - -class ActionProxyMetaClass(BaseMetaClass): - types = {} - - def __new__(cls, *args, **kwargs): - new_cls = super(ActionProxyMetaClass, cls).__new__(cls, *args, **kwargs) - cls.types[new_cls.get_type()] = new_cls - - class Meta: - proxy = True - - new_cls.Meta = Meta - return new_cls - -class ActionProxy(Action): - __metaclass__ = ActionProxyMetaClass - - def friendly_username(self, viewer, user): - return (viewer == user) and _('You') or user.username - - def friendly_ownername(self, owner, user): - return (owner == user) and _('your') or user.username - - def viewer_or_user_verb(self, viewer, user, viewer_verb, user_verb): - return (viewer == user) and viewer_verb or user_verb - - def hyperlink(self, url, title, **attrs): - return html.hyperlink(url, title, **attrs) - - def describe_node(self, viewer, node): - node_link = self.hyperlink(node.get_absolute_url(), node.headline) - - if node.parent: - node_desc = _("on %(link)s") % {'link': node_link} - else: - node_desc = node_link - - return _("%(user)s %(node_name)s %(node_desc)s") % { - 'user': self.hyperlink(node.author.get_profile_url(), self.friendly_ownername(viewer, node.author)), - 'node_name': node.friendly_name, - 'node_desc': node_desc, - } - - def affected_links(self, viewer): - return ", ".join([self.hyperlink(u.get_profile_url(), self.friendly_username(viewer, u)) for u in set([r.user for r in self.reputes.all()])]) - - class Meta: - proxy = True - -class DummyActionProxyMetaClass(type): - def __new__(cls, *args, **kwargs): - new_cls = super(DummyActionProxyMetaClass, cls).__new__(cls, *args, **kwargs) - ActionProxyMetaClass.types[new_cls.get_type()] = new_cls - return new_cls - -class DummyActionProxy(object): - __metaclass__ = DummyActionProxyMetaClass - - hooks = [] - - def __init__(self, ip=None): - self.ip = ip - - def process_data(self, **data): - pass - - def process_action(self): - pass - - def save(self, data=None): - self.process_action() - - if data: - self.process_data(**data) - - for hook in self.__class__.hooks: - hook(self, True) - - @classmethod - def get_type(cls): - return re.sub(r'action$', '', cls.__name__.lower()) - - @classmethod - def hook(cls, fn): - cls.hooks.append(fn) - - -class ActionRepute(models.Model): - action = models.ForeignKey(Action, related_name='reputes') - date = models.DateTimeField(default=datetime.datetime.now) - user = models.ForeignKey('User', related_name='reputes') - value = models.IntegerField(default=0) - by_canceled = models.BooleanField(default=False) - - @property - def positive(self): - if self.value > 0: return self.value - return 0 - - @property - def negative(self): - if self.value < 0: return self.value - return 0 - - def _add_to_rep(self, value): - if self.user.reputation + value < 0: - return 0 - else: - return models.F('reputation') + value - - def save(self, *args, **kwargs): - super(ActionRepute, self).save(*args, **kwargs) - self.user.reputation = self._add_to_rep(self.value) - self.user.save() - - def delete(self): - self.user.reputation = self._add_to_rep(-self.value) - self.user.save() - super(ActionRepute, self).delete() - - class Meta: - app_label = 'forum' - diff --git a/forum/modules/template_loader.py/forum/models/answer.py b/forum/modules/template_loader.py/forum/models/answer.py deleted file mode 100644 index 04735a4..0000000 --- a/forum/modules/template_loader.py/forum/models/answer.py +++ /dev/null @@ -1,24 +0,0 @@ -from base import * -from django.utils.translation import ugettext as _ - -class Answer(Node): - friendly_name = _("answer") - - class Meta(Node.Meta): - proxy = True - - @property - def accepted(self): - return self.nis.accepted - - @property - def headline(self): - return self.question.headline - - def get_absolute_url(self): - return '%s/%s' % (self.question.get_absolute_url(), self.id) - - -class AnswerRevision(NodeRevision): - class Meta: - proxy = True \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/models/base.py b/forum/modules/template_loader.py/forum/models/base.py deleted file mode 100644 index 2f934a9..0000000 --- a/forum/modules/template_loader.py/forum/models/base.py +++ /dev/null @@ -1,212 +0,0 @@ -import datetime -import re -from urllib import quote_plus, urlencode -from django.db import models, IntegrityError, connection, transaction -from django.utils.http import urlquote as django_urlquote -from django.utils.html import strip_tags -from django.core.urlresolvers import reverse -from django.contrib.contenttypes import generic -from django.contrib.contenttypes.models import ContentType -from django.core.cache import cache -from django.template.defaultfilters import slugify -from django.db.models.signals import post_delete, post_save, pre_save, pre_delete -from django.utils.translation import ugettext as _ -from django.utils.safestring import mark_safe -from django.contrib.sitemaps import ping_google -import django.dispatch -from forum import settings -import logging - - -class LazyQueryList(object): - def __init__(self, model, items): - self.model = model - self.items = items - - def __getitem__(self, k): - return self.model.objects.get(id=self.items[k]) - - def __iter__(self): - for id in self.items: - yield self.model.objects.get(id=id) - - def __len__(self): - return len(self.items) - -class CachedQuerySet(models.query.QuerySet): - def lazy(self): - if (not len(self.query.extra)) and (not len(self.query.aggregates)): - return LazyQueryList(self.model, list(self.values_list('id', flat=True))) - else: - return self - - def obj_from_datadict(self, datadict): - obj = self.model() - obj.__dict__.update(datadict) - return obj - - def get(self, *args, **kwargs): - key = self.model.infer_cache_key(kwargs) - - if key is not None: - obj = cache.get(key) - - if obj is None: - obj = super(CachedQuerySet, self).get(*args, **kwargs) - obj.cache() - else: - obj = self.obj_from_datadict(obj) - obj.reset_original_state() - - return obj - - return super(CachedQuerySet, self).get(*args, **kwargs) - -class CachedManager(models.Manager): - use_for_related_fields = True - - def get_query_set(self): - return CachedQuerySet(self.model) - - def get_or_create(self, *args, **kwargs): - try: - return self.get(*args, **kwargs) - except: - return super(CachedManager, self).get_or_create(*args, **kwargs) - - -class DenormalizedField(object): - def __init__(self, manager, *args, **kwargs): - self.manager = manager - self.filter = (args, kwargs) - - def setup_class(self, cls, name): - dict_name = '_%s_dencache_' % name - - def getter(inst): - val = inst.__dict__.get(dict_name, None) - - if val is None: - val = getattr(inst, self.manager).filter(*self.filter[0], **self.filter[1]).count() - inst.__dict__[dict_name] = val - inst.cache() - - return val - - def reset_cache(inst): - inst.__dict__.pop(dict_name, None) - inst.uncache() - - cls.add_to_class(name, property(getter)) - cls.add_to_class("reset_%s_cache" % name, reset_cache) - - -class BaseMetaClass(models.Model.__metaclass__): - to_denormalize = [] - - def __new__(cls, *args, **kwargs): - new_cls = super(BaseMetaClass, cls).__new__(cls, *args, **kwargs) - - BaseMetaClass.to_denormalize.extend( - [(new_cls, name, field) for name, field in new_cls.__dict__.items() if isinstance(field, DenormalizedField)] - ) - - return new_cls - - @classmethod - def setup_denormalizes(cls): - for new_cls, name, field in BaseMetaClass.to_denormalize: - field.setup_class(new_cls, name) - - -class BaseModel(models.Model): - __metaclass__ = BaseMetaClass - - objects = CachedManager() - - class Meta: - abstract = True - app_label = 'forum' - - def __init__(self, *args, **kwargs): - super(BaseModel, self).__init__(*args, **kwargs) - self.reset_original_state(kwargs.keys()) - - def reset_original_state(self, reset_fields=None): - self._original_state = self._as_dict() - - if reset_fields: - self._original_state.update(dict([(f, None) for f in reset_fields])) - - def get_dirty_fields(self): - return [f.name for f in self._meta.fields if self._original_state[f.attname] != self.__dict__[f.attname]] - - def _as_dict(self): - return dict([(name, getattr(self, name)) for name in - ([f.attname for f in self._meta.fields] + [k for k in self.__dict__.keys() if k.endswith('_dencache_')]) - ]) - - def _get_update_kwargs(self): - return dict([ - (f.name, getattr(self, f.name)) for f in self._meta.fields if self._original_state[f.attname] != self.__dict__[f.attname] - ]) - - def save(self, full_save=False, *args, **kwargs): - put_back = [k for k, v in self.__dict__.items() if isinstance(v, models.expressions.ExpressionNode)] - - if self.id and not full_save: - self.__class__.objects.filter(id=self.id).update(**self._get_update_kwargs()) - else: - super(BaseModel, self).save() - - if put_back: - try: - self.__dict__.update( - self.__class__.objects.filter(id=self.id).values(*put_back)[0] - ) - except: - logging.error("Unable to read %s from %s" % (", ".join(put_back), self.__class__.__name__)) - self.uncache() - - self.reset_original_state() - self.cache() - - @classmethod - def _generate_cache_key(cls, key, group=None): - if group is None: - group = cls.__name__ - - return '%s:%s:%s' % (settings.APP_URL, group, key) - - def cache_key(self): - return self._generate_cache_key(self.id) - - @classmethod - def infer_cache_key(cls, querydict): - try: - pk = [v for (k,v) in querydict.items() if k in ('pk', 'pk__exact', 'id', 'id__exact' - ) or k.endswith('_ptr__pk') or k.endswith('_ptr__id')][0] - - return cls._generate_cache_key(pk) - except: - return None - - def cache(self): - cache.set(self.cache_key(), self._as_dict(), 60 * 60) - - def uncache(self): - cache.delete(self.cache_key()) - - def delete(self): - self.uncache() - super(BaseModel, self).delete() - - -from user import User -from node import Node, NodeRevision, NodeManager -from action import Action - - - - - diff --git a/forum/modules/template_loader.py/forum/models/comment.py b/forum/modules/template_loader.py/forum/models/comment.py deleted file mode 100644 index b62e7b5..0000000 --- a/forum/modules/template_loader.py/forum/models/comment.py +++ /dev/null @@ -1,58 +0,0 @@ -from base import * -from django.utils.translation import ugettext as _ -import re - -class Comment(Node): - friendly_name = _("comment") - - class Meta(Node.Meta): - ordering = ('-added_at',) - proxy = True - - def _update_parent_comment_count(self, diff): - parent = self.parent - parent.comment_count = parent.comment_count + diff - parent.save() - - @property - def comment(self): - if settings.FORM_ALLOW_MARKDOWN_IN_COMMENTS: - return self.as_markdown('limitedsyntax') - else: - return self.body - - @property - def headline(self): - return self.absolute_parent.headline - - @property - def content_object(self): - return self.parent.leaf - - def save(self, *args, **kwargs): - super(Comment,self).save(*args, **kwargs) - - if not self.id: - self.parent.reset_comment_count_cache() - - def mark_deleted(self, user): - if super(Comment, self).mark_deleted(user): - self.parent.reset_comment_count_cache() - - def unmark_deleted(self): - if super(Comment, self).unmark_deleted(): - self.parent.reset_comment_count_cache() - - def is_reply_to(self, user): - inreply = re.search('@\w+', self.body) - if inreply is not None: - return user.username.startswith(inreply.group(0)) - - return False - - def get_absolute_url(self): - return self.abs_parent.get_absolute_url() + "#%d" % self.id - - def __unicode__(self): - return self.body - diff --git a/forum/modules/template_loader.py/forum/models/meta.py b/forum/modules/template_loader.py/forum/models/meta.py deleted file mode 100644 index 41dc5d6..0000000 --- a/forum/modules/template_loader.py/forum/models/meta.py +++ /dev/null @@ -1,99 +0,0 @@ -from django.utils.translation import ugettext as _ -from base import * - -class Vote(models.Model): - user = models.ForeignKey(User, related_name="votes") - node = models.ForeignKey(Node, related_name="votes") - value = models.SmallIntegerField() - action = models.OneToOneField(Action, related_name="vote") - voted_at = models.DateTimeField(default=datetime.datetime.now) - - class Meta: - app_label = 'forum' - unique_together = ('user', 'node') - - -class Flag(models.Model): - user = models.ForeignKey(User, related_name="flags") - node = models.ForeignKey(Node, related_name="flags") - reason = models.CharField(max_length=300) - action = models.OneToOneField(Action, related_name="flag") - flagged_at = models.DateTimeField(default=datetime.datetime.now) - - class Meta: - app_label = 'forum' - unique_together = ('user', 'node') - -class BadgesQuerySet(models.query.QuerySet): - def get(self, *args, **kwargs): - try: - pk = [v for (k,v) in kwargs.items() if k in ('pk', 'pk__exact', 'id', 'id__exact')][0] - except: - return super(BadgesQuerySet, self).get(*args, **kwargs) - - from forum.badges.base import BadgesMeta - badge = BadgesMeta.by_id.get(int(pk), None) - if not badge: - return super(BadgesQuerySet, self).get(*args, **kwargs) - return badge.ondb - - -class BadgeManager(models.Manager): - use_for_related_fields = True - - def get_query_set(self): - return BadgesQuerySet(self.model) - -class Badge(models.Model): - GOLD = 1 - SILVER = 2 - BRONZE = 3 - - type = models.SmallIntegerField() - cls = models.CharField(max_length=50, null=True) - awarded_count = models.PositiveIntegerField(default=0) - - awarded_to = models.ManyToManyField(User, through='Award', related_name='badges') - - objects = BadgeManager() - - @property - def name(self): - cls = self.__dict__.get('_class', None) - return cls and cls.name or _("Unknown") - - @property - def description(self): - cls = self.__dict__.get('_class', None) - return cls and cls.description or _("No description available") - - @models.permalink - def get_absolute_url(self): - return ('badge', [], {'id': self.id, 'slug': slugify(self.name)}) - - def save(self, *args, **kwargs): - if isinstance(self.awarded_count, models.expressions.ExpressionNode): - super(Badge, self).save(*args, **kwargs) - self.awarded_count = self.__class__.objects.filter(id=self.id).values_list('awarded_count', flat=True)[0] - else: - super(Badge, self).save(*args, **kwargs) - - - class Meta: - app_label = 'forum' - - -class Award(models.Model): - user = models.ForeignKey(User) - badge = models.ForeignKey('Badge', related_name="awards") - node = models.ForeignKey(Node, null=True) - - awarded_at = models.DateTimeField(default=datetime.datetime.now) - - trigger = models.ForeignKey(Action, related_name="awards", null=True) - action = models.OneToOneField(Action, related_name="award") - - - class Meta: - unique_together = ('user', 'badge', 'node') - app_label = 'forum' \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/models/node.py b/forum/modules/template_loader.py/forum/models/node.py deleted file mode 100644 index ebe9139..0000000 --- a/forum/modules/template_loader.py/forum/models/node.py +++ /dev/null @@ -1,465 +0,0 @@ -from base import * -import re -from tag import Tag - -import markdown -from django.utils.translation import ugettext as _ -from django.utils.safestring import mark_safe -from django.utils.html import strip_tags -from forum.utils.html import sanitize_html -from utils import PickledObjectField - -class NodeContent(models.Model): - title = models.CharField(max_length=300) - tagnames = models.CharField(max_length=125) - author = models.ForeignKey(User, related_name='%(class)ss') - body = models.TextField() - - @property - def user(self): - return self.author - - @property - def html(self): - return self.body - - @classmethod - def _as_markdown(cls, content, *extensions): - try: - return mark_safe(sanitize_html(markdown.markdown(content, extensions=extensions))) - except Exception, e: - import traceback - logging.error("Caught exception %s in markdown parser rendering %s %s:\s %s" % ( - str(e), cls.__name__, str(e), traceback.format_exc())) - return '' - - def as_markdown(self, *extensions): - return self._as_markdown(self.body, *extensions) - - @property - def headline(self): - return self.title - - def tagname_list(self): - if self.tagnames: - t = [name.strip() for name in self.tagnames.split(u' ') if name] - return [name.strip() for name in self.tagnames.split(u' ') if name] - else: - return [] - - def tagname_meta_generator(self): - return u','.join([tag for tag in self.tagname_list()]) - - class Meta: - abstract = True - app_label = 'forum' - -class NodeMetaClass(BaseMetaClass): - types = {} - - def __new__(cls, *args, **kwargs): - new_cls = super(NodeMetaClass, cls).__new__(cls, *args, **kwargs) - - if not new_cls._meta.abstract and new_cls.__name__ is not 'Node': - NodeMetaClass.types[new_cls.get_type()] = new_cls - - return new_cls - - @classmethod - def setup_relations(cls): - for node_cls in NodeMetaClass.types.values(): - NodeMetaClass.setup_relation(node_cls) - - @classmethod - def setup_relation(cls, node_cls): - name = node_cls.__name__.lower() - - def children(self): - return node_cls.objects.filter(parent=self) - - def parent(self): - if (self.parent is not None) and self.parent.node_type == name: - return self.parent.leaf - - return None - - Node.add_to_class(name + 's', property(children)) - Node.add_to_class(name, property(parent)) - - -class NodeQuerySet(CachedQuerySet): - def obj_from_datadict(self, datadict): - cls = NodeMetaClass.types.get(datadict.get("node_type", ""), None) - if cls: - obj = cls() - obj.__dict__.update(datadict) - return obj - else: - return super(NodeQuerySet, self).obj_from_datadict(datadict) - - def get(self, *args, **kwargs): - node = super(NodeQuerySet, self).get(*args, **kwargs).leaf - - if not isinstance(node, self.model): - raise self.model.DoesNotExist() - - return node - - def any_state(self, *args): - filter = None - - for s in args: - s_filter = models.Q(state_string__contains="(%s)" % s) - filter = filter and (filter | s_filter) or s_filter - - if filter: - return self.filter(filter) - else: - return self - - def all_states(self, *args): - filter = None - - for s in args: - s_filter = models.Q(state_string__contains="(%s)" % s) - filter = filter and (filter & s_filter) or s_filter - - if filter: - return self.filter(filter) - else: - return self - - def filter_state(self, **kwargs): - apply_bool = lambda q, b: b and q or ~q - return self.filter(*[apply_bool(models.Q(state_string__contains="(%s)" % s), b) for s, b in kwargs.items()]) - - def children_count(self, child_type): - return NodeMetaClass.types[child_type].objects.filter_state(deleted=False).filter(parent__in=self).count() - - -class NodeManager(CachedManager): - use_for_related_fields = True - - def get_query_set(self): - qs = NodeQuerySet(self.model) - - if self.model is not Node: - return qs.filter(node_type=self.model.get_type()) - else: - return qs - - def get_for_types(self, types, *args, **kwargs): - kwargs['node_type__in'] = [t.get_type() for t in types] - return self.get(*args, **kwargs) - - def filter_state(self, **kwargs): - return self.all().filter_state(**kwargs) - - -class NodeStateDict(object): - def __init__(self, node): - self.__dict__['_node'] = node - - def __getattr__(self, name): - if self.__dict__.get(name, None): - return self.__dict__[name] - - try: - node = self.__dict__['_node'] - action = NodeState.objects.get(node=node, state_type=name).action - self.__dict__[name] = action - return action - except: - return None - - def __setattr__(self, name, value): - current = self.__getattr__(name) - - if value: - if current: - current.action = value - current.save() - else: - node = self.__dict__['_node'] - state = NodeState(node=node, action=value, state_type=name) - state.save() - self.__dict__[name] = value - - if not "(%s)" % name in node.state_string: - node.state_string = "%s(%s)" % (node.state_string, name) - node.save() - else: - if current: - node = self.__dict__['_node'] - node.state_string = "".join("(%s)" % s for s in re.findall('\w+', node.state_string) if s != name) - node.save() - current.node_state.delete() - del self.__dict__[name] - - -class NodeStateQuery(object): - def __init__(self, node): - self.__dict__['_node'] = node - - def __getattr__(self, name): - node = self.__dict__['_node'] - return "(%s)" % name in node.state_string - - -class Node(BaseModel, NodeContent): - __metaclass__ = NodeMetaClass - - node_type = models.CharField(max_length=16, default='node') - parent = models.ForeignKey('Node', related_name='children', null=True) - abs_parent = models.ForeignKey('Node', related_name='all_children', null=True) - - added_at = models.DateTimeField(default=datetime.datetime.now) - score = models.IntegerField(default=0) - - state_string = models.TextField(default='') - last_edited = models.ForeignKey('Action', null=True, unique=True, related_name="edited_node") - - last_activity_by = models.ForeignKey(User, null=True) - last_activity_at = models.DateTimeField(null=True, blank=True) - - tags = models.ManyToManyField('Tag', related_name='%(class)ss') - active_revision = models.OneToOneField('NodeRevision', related_name='active', null=True) - - extra = PickledObjectField() - extra_ref = models.ForeignKey('Node', null=True) - extra_count = models.IntegerField(default=0) - - marked = models.BooleanField(default=False) - - comment_count = DenormalizedField("children", node_type="comment", canceled=False) - flag_count = DenormalizedField("flags") - - friendly_name = _("post") - - objects = NodeManager() - - def __unicode__(self): - return self.headline - - @classmethod - def _generate_cache_key(cls, key, group="node"): - return super(Node, cls)._generate_cache_key(key, group) - - @classmethod - def get_type(cls): - return cls.__name__.lower() - - @property - def leaf(self): - leaf_cls = NodeMetaClass.types.get(self.node_type, None) - - if leaf_cls is None: - return self - - leaf = leaf_cls() - leaf.__dict__ = self.__dict__ - return leaf - - @property - def nstate(self): - state = self.__dict__.get('_nstate', None) - - if state is None: - state = NodeStateDict(self) - self._nstate = state - - return state - - @property - def nis(self): - nis = self.__dict__.get('_nis', None) - - if nis is None: - nis = NodeStateQuery(self) - self._nis = nis - - return nis - - @property - def last_activity(self): - try: - return self.actions.order_by('-action_date')[0].action_date - except: - return self.last_seen - - @property - def state_list(self): - return [s.state_type for s in self.states.all()] - - @property - def deleted(self): - return self.nis.deleted - - @property - def absolute_parent(self): - if not self.abs_parent_id: - return self - - return self.abs_parent - - @property - def summary(self): - return strip_tags(self.html)[:300] - - @models.permalink - def get_revisions_url(self): - return ('revisions', (), {'id': self.id}) - - def update_last_activity(self, user, save=False, time=None): - if not time: - time = datetime.datetime.now() - - self.last_activity_by = user - self.last_activity_at = time - - if self.parent: - self.parent.update_last_activity(user, save=True, time=time) - - if save: - self.save() - - def _create_revision(self, user, number, **kwargs): - revision = NodeRevision(author=user, revision=number, node=self, **kwargs) - revision.save() - return revision - - def create_revision(self, user, **kwargs): - number = self.revisions.aggregate(last=models.Max('revision'))['last'] + 1 - revision = self._create_revision(user, number, **kwargs) - self.activate_revision(user, revision, extensions=['urlize']) - return revision - - def activate_revision(self, user, revision, extensions=['urlize']): - self.title = revision.title - self.tagnames = revision.tagnames - - from forum.utils.userlinking import auto_user_link - - self.body = auto_user_link(self, self._as_markdown(revision.body, *extensions)) - - self.active_revision = revision - self.update_last_activity(user) - - self.save() - - def _list_changes_in_tags(self): - dirty = self.get_dirty_fields() - - if not 'tagnames' in dirty: - return None - else: - if self._original_state['tagnames']: - old_tags = set(name for name in self._original_state['tagnames'].split(u' ')) - else: - old_tags = set() - new_tags = set(name for name in self.tagnames.split(u' ') if name) - - return dict( - current=list(new_tags), - added=list(new_tags - old_tags), - removed=list(old_tags - new_tags) - ) - - def _last_active_user(self): - return self.last_edited and self.last_edited.by or self.author - - def _process_changes_in_tags(self): - tag_changes = self._list_changes_in_tags() - - if tag_changes is not None: - for name in tag_changes['added']: - try: - tag = Tag.objects.get(name=name) - except: - tag = Tag.objects.create(name=name, created_by=self._last_active_user()) - - if not self.nis.deleted: - tag.add_to_usage_count(1) - tag.save() - - if not self.nis.deleted: - for name in tag_changes['removed']: - try: - tag = Tag.objects.get(name=name) - tag.add_to_usage_count(-1) - tag.save() - except: - pass - - return True - - return False - - def mark_deleted(self, action): - self.nstate.deleted = action - self.save() - - if action: - for tag in self.tags.all(): - tag.add_to_usage_count(-1) - tag.save() - else: - for tag in Tag.objects.filter(name__in=self.tagname_list()): - tag.add_to_usage_count(1) - tag.save() - - def delete(self, *args, **kwargs): - self.active_revision = None - self.save() - - for n in self.children.all(): - n.delete() - - for a in self.actions.all(): - a.cancel() - - super(Node, self).delete(*args, **kwargs) - - def save(self, *args, **kwargs): - if not self.id: - self.node_type = self.get_type() - super(BaseModel, self).save(*args, **kwargs) - self.active_revision = self._create_revision(self.author, 1, title=self.title, tagnames=self.tagnames, - body=self.body) - self.activate_revision(self.author, self.active_revision) - self.update_last_activity(self.author, time=self.added_at) - - if self.parent_id and not self.abs_parent_id: - self.abs_parent = self.parent.absolute_parent - - tags_changed = self._process_changes_in_tags() - - super(Node, self).save(*args, **kwargs) - - if tags_changed: self.tags = list(Tag.objects.filter(name__in=self.tagname_list())) - - class Meta: - app_label = 'forum' - - -class NodeRevision(BaseModel, NodeContent): - node = models.ForeignKey(Node, related_name='revisions') - summary = models.CharField(max_length=300) - revision = models.PositiveIntegerField() - revised_at = models.DateTimeField(default=datetime.datetime.now) - - class Meta: - unique_together = ('node', 'revision') - app_label = 'forum' - - -class NodeState(models.Model): - node = models.ForeignKey(Node, related_name='states') - state_type = models.CharField(max_length=16) - action = models.OneToOneField('Action', related_name="node_state") - - class Meta: - unique_together = ('node', 'state_type') - app_label = 'forum' - - diff --git a/forum/modules/template_loader.py/forum/models/page.py b/forum/modules/template_loader.py/forum/models/page.py deleted file mode 100644 index 665a1be..0000000 --- a/forum/modules/template_loader.py/forum/models/page.py +++ /dev/null @@ -1,54 +0,0 @@ -from base import * -from django.utils.translation import ugettext as _ - -class Page(Node): - friendly_name = _("page") - - @property - def published(self): - return self.marked - - @property - def html(self): - return self._as_markdown(self.body) - - def save(self, *args, **kwargs): - old_options = self._original_state.get('extra', None) - - super(Page, self).save(*args, **kwargs) - - registry = settings.STATIC_PAGE_REGISTRY - - if old_options: - registry.pop(old_options.get('path', ''), None) - - registry[self.extra['path']] = self.id - - - settings.STATIC_PAGE_REGISTRY.set_value(registry) - - @property - def headline(self): - if self.published: - return self.title - else: - return _("[Unpublished] %s") % self.title - - @models.permalink - def get_absolute_url(self): - return ('static_page', (), {'path': self.extra['path']}) - - def activate_revision(self, user, revision, extensions=['urlize']): - self.title = revision.title - self.tagnames = revision.tagnames - self.body = revision.body - - self.active_revision = revision - self.update_last_activity(user) - - self.save() - - class Meta(Node.Meta): - proxy = True - - diff --git a/forum/modules/template_loader.py/forum/models/question.py b/forum/modules/template_loader.py/forum/models/question.py deleted file mode 100644 index bef5bb5..0000000 --- a/forum/modules/template_loader.py/forum/models/question.py +++ /dev/null @@ -1,101 +0,0 @@ -from base import * -from tag import Tag -from django.utils.translation import ugettext as _ - -question_view = django.dispatch.Signal(providing_args=['instance', 'user']) - -class QuestionManager(NodeManager): - def search(self, keywords): - return False, self.filter(models.Q(title__icontains=keywords) | models.Q(body__icontains=keywords)) - -class Question(Node): - class Meta(Node.Meta): - proxy = True - - answer_count = DenormalizedField("children", ~models.Q(state_string__contains="(deleted)"), node_type="answer") - accepted_count = DenormalizedField("children", ~models.Q(state_string__contains="(deleted)"), node_type="answer", marked=True) - favorite_count = DenormalizedField("actions", action_type="favorite", canceled=False) - - friendly_name = _("question") - objects = QuestionManager() - - @property - def closed(self): - return self.nis.closed - - @property - def view_count(self): - return self.extra_count - - @property - def headline(self): - if self.nis.deleted: - return _('[deleted] ') + self.title - - if self.nis.closed: - return _('[closed] ') + self.title - - return self.title - - @property - def accepted_answers(self): - return self.answers.filter(~models.Q(state_string__contains="(deleted)"), marked=True) - - @models.permalink - def get_absolute_url(self): - return ('question', (), {'id': self.id, 'slug': django_urlquote(slugify(self.title))}) - - def meta_description(self): - return self.summary - - def get_revision_url(self): - return reverse('question_revisions', args=[self.id]) - - def get_related_questions(self, count=10): - cache_key = '%s.related_questions:%d:%d' % (settings.APP_URL, count, self.id) - related_list = cache.get(cache_key) - - if related_list is None: - related_list = Question.objects.filter_state(deleted=False).values('id').filter(tags__id__in=[t.id for t in self.tags.all()] - ).exclude(id=self.id).annotate(frequency=models.Count('id')).order_by('-frequency')[:count] - cache.set(cache_key, related_list, 60 * 60) - - return [Question.objects.get(id=r['id']) for r in related_list] - - def get_active_users(self): - active_users = set() - - active_users.add(self.author) - - for answer in self.answers: - active_users.add(answer.author) - - for comment in answer.comments: - active_users.add(comment.author) - - for comment in self.comments: - active_users.add(comment.author) - - return active_users - -def question_viewed(instance, **kwargs): - instance.extra_count += 1 - instance.save() - -question_view.connect(question_viewed) - - -class QuestionSubscription(models.Model): - user = models.ForeignKey(User) - question = models.ForeignKey(Node) - auto_subscription = models.BooleanField(default=True) - last_view = models.DateTimeField(default=datetime.datetime.now()) - - class Meta: - app_label = 'forum' - - -class QuestionRevision(NodeRevision): - class Meta: - proxy = True - diff --git a/forum/modules/template_loader.py/forum/models/tag.py b/forum/modules/template_loader.py/forum/models/tag.py deleted file mode 100644 index 0bff004..0000000 --- a/forum/modules/template_loader.py/forum/models/tag.py +++ /dev/null @@ -1,45 +0,0 @@ -from base import * - -from django.utils.translation import ugettext as _ -import django.dispatch - -class ActiveTagManager(models.Manager): - def get_query_set(self): - return super(ActiveTagManager, self).get_query_set().exclude(used_count__lt=1) - - -class Tag(BaseModel): - name = models.CharField(max_length=255, unique=True) - created_by = models.ForeignKey(User, related_name='created_tags') - marked_by = models.ManyToManyField(User, related_name="marked_tags", through="MarkedTag") - # Denormalised data - used_count = models.PositiveIntegerField(default=0) - - active = ActiveTagManager() - - class Meta: - ordering = ('-used_count', 'name') - app_label = 'forum' - - def __unicode__(self): - return self.name - - def add_to_usage_count(self, value): - if self.used_count + value < 0: - self.used_count = 0 - else: - self.used_count = models.F('used_count') + value - - @models.permalink - def get_absolute_url(self): - return ('tag_questions', (), {'tag': self.name}) - -class MarkedTag(models.Model): - TAG_MARK_REASONS = (('good', _('interesting')), ('bad', _('ignored'))) - tag = models.ForeignKey(Tag, related_name='user_selections') - user = models.ForeignKey(User, related_name='tag_selections') - reason = models.CharField(max_length=16, choices=TAG_MARK_REASONS) - - class Meta: - app_label = 'forum' - diff --git a/forum/modules/template_loader.py/forum/models/tests/__init__.py b/forum/modules/template_loader.py/forum/models/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum/models/tests/fixtures/users b/forum/modules/template_loader.py/forum/models/tests/fixtures/users deleted file mode 100644 index 7f8a95a..0000000 --- a/forum/modules/template_loader.py/forum/models/tests/fixtures/users +++ /dev/null @@ -1,33 +0,0 @@ - - - - super - Super - User - super@example.com - sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158 - True - True - True - 2007-05-30 13:20:10 - 2007-05-30 13:20:10 - - - - True - True - 10 - 1 - 1 - 1 - 2007-05-30 13:20:10 - Super User - www.superuser.com - Raleigh - 2007-05-30 13:20:10 - I am a super user - - 1 - 1 - - \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/models/tests/test_user.py b/forum/modules/template_loader.py/forum/models/tests/test_user.py deleted file mode 100644 index 0d9a93e..0000000 --- a/forum/modules/template_loader.py/forum/models/tests/test_user.py +++ /dev/null @@ -1,96 +0,0 @@ -from django.test import TestCase -from forum.models.user import * - -class UserTest(TestCase): - fixtures = ['users.xml'] - - def setUp(self): - self.client.login(username='super', password='secret') - - - - def tearDown(self): - self.client.logout() - - def test_gravatar(self): - - self.assert_(True) - - def test_save(self): - self.assert_(True) - - def test_get_absolute_url(self): - self.assert_(True) - - def test_get_messages(self): - self.assert_(True) - - def test_delete_messages(self): - self.assert_(True) - - def test_get_profile_url(self): - self.assert_(True) - - def test_get_profile_link(self): - self.assert_(True) - - def test_get_visible_answers(self): - self.assert_(True) - - def test_get_vote_count_today(self): - self.assert_(True) - - def test_get_reputation_by_upvoted_today(self): - self.assert_(True) - - def test_get_flagged_items_count_today(self): - self.assert_(True) - - def test_can_view_deleted_post(self): - self.assert_(True) - - def test_can_vote_up(self): - self.assert_(True) - - def test_can_vote_down(self): - self.assert_(True) - - def test_can_flag_offensive(self): - self.assert_(True) - - def test_can_view_offensive_flags(self): - self.assert_(True) - - def test_can_comment(self): - self.assert_(True) - - def test_can_like_comment(self): - self.assert_(True) - - def test_can_edit_comment(self): - self.assert_(True) - - def test_can_delete_comment(self): - self.assert_(True) - - def test_can_accept_answer(self): - self.assert_(True) - - def test_can_edit_post(self): - self.assert_(True) - - def test_can_retag_questions(self): - self.assert_(True) - - def test_can_close_question(self): - self.assert_(True) - - def test_can_reopen_question(self): - self.assert_(True) - - def test_can_delete_post(self): - self.assert_(True) - - def test_can_upload_files(self): - self.assert_(True) - diff --git a/forum/modules/template_loader.py/forum/models/user.py b/forum/modules/template_loader.py/forum/models/user.py deleted file mode 100644 index 9d63248..0000000 --- a/forum/modules/template_loader.py/forum/models/user.py +++ /dev/null @@ -1,572 +0,0 @@ -from base import * -from utils import PickledObjectField -from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned -from django.contrib.contenttypes.models import ContentType -from django.contrib.auth.models import User as DjangoUser, AnonymousUser as DjangoAnonymousUser -from django.db.models import Q -try: - from hashlib import md5 -except: - from md5 import new as md5 - -import string -from random import Random - -from django.utils.translation import ugettext as _ -import logging - -QUESTIONS_PER_PAGE_CHOICES = ( -(10, u'10'), -(30, u'30'), -(50, u'50'), -) - -class AnonymousUser(DjangoAnonymousUser): - reputation = 0 - - def get_visible_answers(self, question): - return question.answers.filter_state(deleted=False) - - def can_view_deleted_post(self, post): - return False - - def can_vote_up(self): - return False - - def can_vote_down(self): - return False - - def can_vote_count_today(self): - return 0 - - def can_flag_offensive(self, post=None): - return False - - def can_view_offensive_flags(self, post=None): - return False - - def can_comment(self, post): - return False - - def can_like_comment(self, comment): - return False - - def can_edit_comment(self, comment): - return False - - def can_delete_comment(self, comment): - return False - - def can_convert_to_comment(self, answer): - return False - - def can_convert_to_question(self, answer): - return False - - def can_convert_comment_to_answer(self, comment): - return False - - def can_accept_answer(self, answer): - return False - - def can_create_tags(self): - return False - - def can_edit_post(self, post): - return False - - def can_wikify(self, post): - return False - - def can_cancel_wiki(self, post): - return False - - def can_retag_questions(self): - return False - - def can_close_question(self, question): - return False - - def can_reopen_question(self, question): - return False - - def can_delete_post(self, post): - return False - - def can_upload_files(self): - return False - - def is_a_super_user_or_staff(self): - return False - -def true_if_is_super_or_staff(fn): - def decorated(self, *args, **kwargs): - return self.is_superuser or self.is_staff or fn(self, *args, **kwargs) - - return decorated - -def false_if_validation_required_to(item): - def decorator(fn): - def decorated(self, *args, **kwargs): - if item in settings.REQUIRE_EMAIL_VALIDATION_TO and not self.email_isvalid: - return False - else: - return fn(self, *args, **kwargs) - return decorated - return decorator - -class User(BaseModel, DjangoUser): - is_approved = models.BooleanField(default=False) - email_isvalid = models.BooleanField(default=False) - - reputation = models.PositiveIntegerField(default=0) - gold = models.PositiveIntegerField(default=0) - silver = models.PositiveIntegerField(default=0) - bronze = models.PositiveIntegerField(default=0) - - last_seen = models.DateTimeField(default=datetime.datetime.now) - real_name = models.CharField(max_length=100, blank=True) - website = models.URLField(max_length=200, blank=True) - location = models.CharField(max_length=100, blank=True) - date_of_birth = models.DateField(null=True, blank=True) - about = models.TextField(blank=True) - - subscriptions = models.ManyToManyField('Node', related_name='subscribers', through='QuestionSubscription') - - vote_up_count = DenormalizedField("actions", canceled=False, action_type="voteup") - vote_down_count = DenormalizedField("actions", canceled=False, action_type="votedown") - - def __unicode__(self): - return self.username - - @property - def prop(self): - prop = self.__dict__.get('_prop', None) - - if prop is None: - prop = UserPropertyDict(self) - self._prop = prop - - return prop - - @property - def is_siteowner(self): - #todo: temporary thing, for now lets just assume that the site owner will always be the first user of the application - return self.id == 1 - - @property - def decorated_name(self): - if settings.SHOW_STATUS_DIAMONDS: - if self.is_superuser: - return u"%s \u2666\u2666" % self.username - - if self.is_staff: - return u"%s \u2666" % self.username - - return self.username - - @property - def last_activity(self): - try: - return self.actions.order_by('-action_date')[0].action_date - except: - return self.last_seen - - @property - def gravatar(self): - return md5(self.email.lower()).hexdigest() - - def save(self, *args, **kwargs): - if self.reputation < 0: - self.reputation = 0 - - new = not bool(self.id) - - super(User, self).save(*args, **kwargs) - - if new: - sub_settings = SubscriptionSettings(user=self) - sub_settings.save() - - def get_absolute_url(self): - return self.get_profile_url() - - def get_messages(self): - messages = [] - for m in self.message_set.all(): - messages.append(m.message) - return messages - - def delete_messages(self): - self.message_set.all().delete() - - @models.permalink - def get_profile_url(self): - return ('user_profile', (), {'id': self.id, 'slug': slugify(self.username)}) - - def get_absolute_url(self): - return self.get_profile_url() - - @models.permalink - def get_asked_url(self): - return ('user_questions', (), {'mode': _('asked-by'), 'user': self.id, 'slug': slugify(self.username)}) - - @models.permalink - def get_answered_url(self): - return ('user_questions', (), {'mode': _('answered-by'), 'user': self.id, 'slug': slugify(self.username)}) - - @models.permalink - def get_subscribed_url(self): - return ('user_questions', (), {'mode': _('subscribed-by'), 'user': self.id, 'slug': slugify(self.username)}) - - def get_profile_link(self): - profile_link = u'%s' % (self.get_profile_url(), self.username) - return mark_safe(profile_link) - - def get_visible_answers(self, question): - return question.answers.filter_state(deleted=False) - - def get_vote_count_today(self): - today = datetime.date.today() - return self.actions.filter(canceled=False, action_type__in=("voteup", "votedown"), - action_date__gte=(today - datetime.timedelta(days=1))).count() - - def get_reputation_by_upvoted_today(self): - today = datetime.datetime.now() - sum = self.reputes.filter(reputed_at__range=(today - datetime.timedelta(days=1), today)).aggregate( - models.Sum('value')) - #todo: redo this, maybe transform in the daily cap - #if sum.get('value__sum', None) is not None: return sum['value__sum'] - return 0 - - def get_flagged_items_count_today(self): - today = datetime.date.today() - return self.actions.filter(canceled=False, action_type="flag", - action_date__gte=(today - datetime.timedelta(days=1))).count() - - def can_vote_count_today(self): - votes_today = settings.MAX_VOTES_PER_DAY - - if settings.USER_REPUTATION_TO_MAX_VOTES: - votes_today = votes_today + int(self.reputation) - - return votes_today - - @true_if_is_super_or_staff - def can_view_deleted_post(self, post): - return post.author == self - - @true_if_is_super_or_staff - def can_vote_up(self): - return self.reputation >= int(settings.REP_TO_VOTE_UP) - - @true_if_is_super_or_staff - def can_vote_down(self): - return self.reputation >= int(settings.REP_TO_VOTE_DOWN) - - @false_if_validation_required_to('flag') - def can_flag_offensive(self, post=None): - if post is not None and post.author == self: - return False - return self.is_superuser or self.is_staff or self.reputation >= int(settings.REP_TO_FLAG) - - @true_if_is_super_or_staff - def can_view_offensive_flags(self, post=None): - if post is not None and post.author == self: - return True - return self.reputation >= int(settings.REP_TO_VIEW_FLAGS) - - @true_if_is_super_or_staff - @false_if_validation_required_to('comment') - def can_comment(self, post): - return self == post.author or self.reputation >= int(settings.REP_TO_COMMENT - ) or (post.__class__.__name__ == "Answer" and self == post.question.author) - - @true_if_is_super_or_staff - def can_like_comment(self, comment): - return self != comment.author and (self.reputation >= int(settings.REP_TO_LIKE_COMMENT)) - - @true_if_is_super_or_staff - def can_edit_comment(self, comment): - return (comment.author == self and comment.added_at >= datetime.datetime.now() - datetime.timedelta(minutes=60) - ) or self.is_superuser - - @true_if_is_super_or_staff - def can_delete_comment(self, comment): - return self == comment.author or self.reputation >= int(settings.REP_TO_DELETE_COMMENTS) - - @true_if_is_super_or_staff - def can_convert_comment_to_answer(self, comment): - return self == comment.author or self.reputation >= int(settings.REP_TO_CONVERT_COMMENTS_TO_ANSWERS) - - def can_convert_to_comment(self, answer): - return (not answer.marked) and (self.is_superuser or self.is_staff or answer.author == self or self.reputation >= int - (settings.REP_TO_CONVERT_TO_COMMENT)) - - def can_convert_to_question(self, answer): - return (not answer.marked) and (self.is_superuser or self.is_staff or answer.author == self or self.reputation >= int - (settings.REP_TO_CONVERT_TO_QUESTION)) - - @true_if_is_super_or_staff - def can_accept_answer(self, answer): - return self == answer.question.author and (settings.USERS_CAN_ACCEPT_OWN or answer.author != answer.question.author) - - @true_if_is_super_or_staff - def can_create_tags(self): - return self.reputation >= int(settings.REP_TO_CREATE_TAGS) - - @true_if_is_super_or_staff - def can_edit_post(self, post): - return self == post.author or self.reputation >= int(settings.REP_TO_EDIT_OTHERS - ) or (post.nis.wiki and self.reputation >= int( - settings.REP_TO_EDIT_WIKI)) - - @true_if_is_super_or_staff - def can_wikify(self, post): - return self == post.author or self.reputation >= int(settings.REP_TO_WIKIFY) - - @true_if_is_super_or_staff - def can_cancel_wiki(self, post): - return self == post.author - - @true_if_is_super_or_staff - def can_retag_questions(self): - return self.reputation >= int(settings.REP_TO_RETAG) - - @true_if_is_super_or_staff - def can_close_question(self, question): - return (self == question.author and self.reputation >= int(settings.REP_TO_CLOSE_OWN) - ) or self.reputation >= int(settings.REP_TO_CLOSE_OTHERS) - - @true_if_is_super_or_staff - def can_reopen_question(self, question): - return self == question.author and self.reputation >= int(settings.REP_TO_REOPEN_OWN) - - @true_if_is_super_or_staff - def can_delete_post(self, post): - if post.node_type == "comment": - return self.can_delete_comment(post) - - return (self == post.author and (post.__class__.__name__ == "Answer" or - not post.answers.exclude(author__id=self.id).count())) - - @true_if_is_super_or_staff - def can_upload_files(self): - return self.reputation >= int(settings.REP_TO_UPLOAD) - - @true_if_is_super_or_staff - def is_a_super_user_or_staff(self): - return False - - def email_valid_and_can_ask(self): - return 'ask' not in settings.REQUIRE_EMAIL_VALIDATION_TO or self.email_isvalid - - def email_valid_and_can_answer(self): - return 'answer' not in settings.REQUIRE_EMAIL_VALIDATION_TO or self.email_isvalid - - def check_password(self, old_passwd): - self.__dict__.update(self.__class__.objects.filter(id=self.id).values('password')[0]) - return DjangoUser.check_password(self, old_passwd) - - @property - def suspension(self): - if self.__dict__.get('_suspension_dencache_', False) != None: - try: - self.__dict__['_suspension_dencache_'] = self.reputes.get(action__action_type="suspend", action__canceled=False).action - except ObjectDoesNotExist: - self.__dict__['_suspension_dencache_'] = None - except MultipleObjectsReturned: - logging.error("Multiple suspension actions found for user %s (%s)" % (self.username, self.id)) - self.__dict__['_suspension_dencache_'] = self.reputes.filter(action__action_type="suspend", action__canceled=False - ).order_by('-action__action_date')[0] - - return self.__dict__['_suspension_dencache_'] - - def _pop_suspension_cache(self): - self.__dict__.pop('_suspension_dencache_', None) - - def is_suspended(self): - if not self.is_active: - suspension = self.suspension - - if suspension and suspension.extra.get('bantype', None) == 'forxdays' and ( - datetime.datetime.now() > suspension.action_date + datetime.timedelta( - days=int(suspension.extra.get('forxdays', 365)))): - suspension.cancel() - else: - return True - - return False - - class Meta: - app_label = 'forum' - -class UserProperty(BaseModel): - user = models.ForeignKey(User, related_name='properties') - key = models.CharField(max_length=16) - value = PickledObjectField() - - class Meta: - app_label = 'forum' - unique_together = ('user', 'key') - - def cache_key(self): - return self._generate_cache_key("%s:%s" % (self.user.id, self.key)) - - @classmethod - def infer_cache_key(cls, querydict): - if 'user' in querydict and 'key' in querydict: - return cls._generate_cache_key("%s:%s" % (querydict['user'].id, querydict['key'])) - - return None - -class UserPropertyDict(object): - def __init__(self, user): - self.__dict__['_user'] = user - - def __get_property(self, name): - if self.__dict__.get('__%s__' % name, None): - return self.__dict__['__%s__' % name] - try: - user = self.__dict__['_user'] - prop = UserProperty.objects.get(user=user, key=name) - self.__dict__['__%s__' % name] = prop - self.__dict__[name] = prop.value - return prop - except: - return None - - - def __getattr__(self, name): - if self.__dict__.get(name, None): - return self.__dict__[name] - - prop = self.__get_property(name) - - if prop: - return prop.value - else: - return None - - def __setattr__(self, name, value): - current = self.__get_property(name) - - if value is not None: - if current: - current.value = value - self.__dict__[name] = value - current.save(full_save=True) - else: - user = self.__dict__['_user'] - prop = UserProperty(user=user, value=value, key=name) - prop.save() - self.__dict__[name] = value - self.__dict__['__%s__' % name] = prop - else: - if current: - current.delete() - del self.__dict__[name] - del self.__dict__['__%s__' % name] - - -class SubscriptionSettings(models.Model): - user = models.OneToOneField(User, related_name='subscription_settings', editable=False) - - enable_notifications = models.BooleanField(default=True) - - #notify if - member_joins = models.CharField(max_length=1, default='n') - new_question = models.CharField(max_length=1, default='n') - new_question_watched_tags = models.CharField(max_length=1, default='i') - subscribed_questions = models.CharField(max_length=1, default='i') - - #auto_subscribe_to - all_questions = models.BooleanField(default=False) - all_questions_watched_tags = models.BooleanField(default=False) - questions_asked = models.BooleanField(default=True) - questions_answered = models.BooleanField(default=True) - questions_commented = models.BooleanField(default=False) - questions_viewed = models.BooleanField(default=False) - - #notify activity on subscribed - notify_answers = models.BooleanField(default=True) - notify_reply_to_comments = models.BooleanField(default=True) - notify_comments_own_post = models.BooleanField(default=True) - notify_comments = models.BooleanField(default=False) - notify_accepted = models.BooleanField(default=False) - - send_digest = models.BooleanField(default=True) - - class Meta: - app_label = 'forum' - -from forum.utils.time import one_day_from_now - -class ValidationHashManager(models.Manager): - def _generate_md5_hash(self, user, type, hash_data, seed): - return md5("%s%s%s%s" % (seed, "".join(map(str, hash_data)), user.id, type)).hexdigest() - - def create_new(self, user, type, hash_data=[], expiration=None): - seed = ''.join(Random().sample(string.letters+string.digits, 12)) - hash = self._generate_md5_hash(user, type, hash_data, seed) - - obj = ValidationHash(hash_code=hash, seed=seed, user=user, type=type) - - if expiration is not None: - obj.expiration = expiration - - try: - obj.save() - except: - return None - - return obj - - def validate(self, hash, user, type, hash_data=[]): - try: - obj = self.get(hash_code=hash) - except: - return False - - if obj.type != type: - return False - - if obj.user != user: - return False - - valid = (obj.hash_code == self._generate_md5_hash(obj.user, type, hash_data, obj.seed)) - - if valid: - if obj.expiration < datetime.datetime.now(): - obj.delete() - return False - else: - obj.delete() - return True - - return False - -class ValidationHash(models.Model): - hash_code = models.CharField(max_length=255, unique=True) - seed = models.CharField(max_length=12) - expiration = models.DateTimeField(default=one_day_from_now) - type = models.CharField(max_length=12) - user = models.ForeignKey(User) - - objects = ValidationHashManager() - - class Meta: - unique_together = ('user', 'type') - app_label = 'forum' - - def __str__(self): - return self.hash_code - -class AuthKeyUserAssociation(models.Model): - key = models.CharField(max_length=255, null=False, unique=True) - provider = models.CharField(max_length=64) - user = models.ForeignKey(User, related_name="auth_keys") - added_at = models.DateTimeField(default=datetime.datetime.now) - - class Meta: - app_label = 'forum' diff --git a/forum/modules/template_loader.py/forum/models/utils.py b/forum/modules/template_loader.py/forum/models/utils.py deleted file mode 100644 index ecbe038..0000000 --- a/forum/modules/template_loader.py/forum/models/utils.py +++ /dev/null @@ -1,124 +0,0 @@ -from django.db import models -from django.core.cache import cache -from django.conf import settings -from django.utils.encoding import force_unicode - -try: - from cPickle import loads, dumps -except ImportError: - from pickle import loads, dumps - -from copy import deepcopy -from base64 import b64encode, b64decode -from zlib import compress, decompress -import re - -from base import BaseModel - -MAX_MARKABLE_STRING_LENGTH = 100 - -class PickledObject(unicode): - pass - -def dbsafe_encode(value, compress_object=True): - if not compress_object: - value = b64encode(dumps(deepcopy(value))) - else: - value = b64encode(compress(dumps(deepcopy(value)))) - return PickledObject(value) - -def dbsafe_decode(value, compress_object=True): - if not compress_object: - value = loads(b64decode(value)) - else: - value = loads(decompress(b64decode(value))) - return value - -class PickledObjectField(models.Field): - __metaclass__ = models.SubfieldBase - - marker_re = re.compile(r'^T\[(?P\w+)\](?P.*)$', re.DOTALL) - markable_types = dict((t.__name__, t) for t in (str, int, unicode)) - - def __init__(self, *args, **kwargs): - self.compress = kwargs.pop('compress', True) - self.protocol = kwargs.pop('protocol', 2) - kwargs.setdefault('null', True) - kwargs.setdefault('editable', False) - super(PickledObjectField, self).__init__(*args, **kwargs) - - def generate_type_marked_value(self, value): - return PickledObject(u"T[%s]%s" % (type(value).__name__, value)) - - def read_marked_value(self, value): - m = self.marker_re.match(value) - - if m: - marker = m.group('type') - value = m.group('value') - if marker in self.markable_types: - value = self.markable_types[marker](value) - - return value - - def get_default(self): - if self.has_default(): - if callable(self.default): - return self.default() - return self.default - - return super(PickledObjectField, self).get_default() - - def to_python(self, value): - if value is not None: - try: - if value.startswith("T["): - value = self.read_marked_value(value) - else: - value = dbsafe_decode(value, self.compress) - except: - if isinstance(value, PickledObject): - raise - return value - - def get_db_prep_value(self, value): - if value is not None and not isinstance(value, PickledObject): - if type(value).__name__ in self.markable_types and not (isinstance(value, basestring) and len(value - ) > MAX_MARKABLE_STRING_LENGTH): - value = unicode(self.generate_type_marked_value(value)) - else: - value = unicode(dbsafe_encode(value, self.compress)) - return value - - def value_to_string(self, obj): - value = self._get_val_from_obj(obj) - return self.get_db_prep_value(value) - - def get_internal_type(self): - return 'TextField' - - def get_db_prep_lookup(self, lookup_type, value): - if lookup_type not in ['exact', 'in', 'isnull']: - raise TypeError('Lookup type %s is not supported.' % lookup_type) - return super(PickledObjectField, self).get_db_prep_lookup(lookup_type, value) - - -class KeyValue(BaseModel): - key = models.CharField(max_length=255, unique=True) - value = PickledObjectField() - - class Meta: - app_label = 'forum' - - def cache_key(self): - return self._generate_cache_key(self.key) - - @classmethod - def infer_cache_key(cls, querydict): - try: - key = [v for (k, v) in querydict.items() if k in ('key', 'key__exact')][0] - - return cls._generate_cache_key(key) - except: - return None - diff --git a/forum/modules/template_loader.py/forum/modules/__init__.py b/forum/modules/template_loader.py/forum/modules/__init__.py deleted file mode 100644 index d4dd67c..0000000 --- a/forum/modules/template_loader.py/forum/modules/__init__.py +++ /dev/null @@ -1,94 +0,0 @@ -import os -import types -import re -import logging - -from django.template import Template, TemplateDoesNotExist -from django.conf import settings - -MODULES_PACKAGE = 'forum_modules' - -MODULES_FOLDER = os.path.join(settings.SITE_SRC_ROOT, MODULES_PACKAGE) - -DISABLED_MODULES = getattr(settings, 'DISABLED_MODULES', []) - -MODULE_LIST = filter(lambda m: getattr(m, 'CAN_USE', True), [ - __import__('forum_modules.%s' % f, globals(), locals(), ['forum_modules']) - for f in os.listdir(MODULES_FOLDER) - if os.path.isdir(os.path.join(MODULES_FOLDER, f)) and - os.path.exists(os.path.join(MODULES_FOLDER, "%s/__init__.py" % f)) and - not f in DISABLED_MODULES -]) - -def get_modules_script(script_name): - all = [] - - for m in MODULE_LIST: - try: - all.append(__import__('%s.%s' % (m.__name__, script_name), globals(), locals(), [m.__name__])) - except ImportError, e: - #print repr(type(e)) + m.__name__ + ":" + str(e) - pass - except: - import traceback - msg = "Error importing %s from module %s: \n %s" % ( - script_name, m.__name__, traceback.format_exc() - ) - logging.error(msg) - - return all - -def get_modules_script_implementations(script_name, impl_class): - scripts = get_modules_script(script_name) - all_impls = {} - - for script in scripts: - all_impls.update(dict([ - (n, i) for (n, i) in [(n, getattr(script, n)) for n in dir(script)] - if isinstance(i, impl_class) - ])) - - return all_impls - -def get_modules_script_classes(script_name, base_class): - scripts = get_modules_script(script_name) - all_classes = {} - - for script in scripts: - all_classes.update(dict([ - (n, c) for (n, c) in [(n, getattr(script, n)) for n in dir(script)] - if isinstance(c, (type, types.ClassType)) and issubclass(c, base_class) - ])) - - return all_classes - -def get_all_handlers(name): - handler_files = get_modules_script('handlers') - - return [ - h for h in [ - getattr(f, name) for f in handler_files - if hasattr(f, name) - ] - - if callable(h) - ] - -def call_all_handlers(name, *args, **kwargs): - all = get_all_handlers(name) - - ret = [] - - for handler in all: - ret.append(handler(*args, **kwargs)) - - return ret - -def get_handler(name, default): - all = get_all_handlers(name) - return len(all) and all[0] or default - -from template_loader import ModulesTemplateLoader -module_templates_loader = ModulesTemplateLoader() - -from decorators import decorate, ReturnImediatelyException diff --git a/forum/modules/template_loader.py/forum/modules/decorators.py b/forum/modules/template_loader.py/forum/modules/decorators.py deleted file mode 100644 index 3c53412..0000000 --- a/forum/modules/template_loader.py/forum/modules/decorators.py +++ /dev/null @@ -1,156 +0,0 @@ -import inspect - -class DecoratableObject(object): - MODE_OVERRIDE = 0 - MODE_PARAMS = 1 - MODE_RESULT = 2 - - def __init__(self, fn, is_method=False): - self._callable = fn - self.is_method = is_method - - self._params_decoration = None - self._result_decoration = None - - def _decorate(self, fn, mode, **kwargs): - if mode == self.MODE_OVERRIDE: - self._decorate_full(fn, **kwargs) - elif mode == self.MODE_PARAMS: - self._decorate_params(fn) - elif mode == self.MODE_RESULT: - self._decorate_result(fn, **kwargs) - - def _decorate_full(self, fn, needs_origin=True): - origin = self._callable - - if needs_origin: - if self.is_method: - self._callable = lambda inst, *args, **kwargs: fn(inst, origin, *args, **kwargs) - else: - self._callable = lambda *args, **kwargs: fn(origin, *args, **kwargs) - else: - self._callable = fn - - def _decorate_params(self, fn): - if not self._params_decoration: - self._params_decoration = [] - - self._params_decoration.append(fn) - - def _decorate_result(self, fn, needs_params=False): - if not self._result_decoration: - self._result_decoration = [] - - fn._needs_params = needs_params - self._result_decoration.append(fn) - - def __call__(self, *args, **kwargs): - if self._params_decoration: - for dec in self._params_decoration: - try: - args, kwargs = dec(*args, **kwargs) - except ReturnImediatelyException, e: - return e.ret - - res = self._callable(*args, **kwargs) - - if self._result_decoration: - for dec in self._result_decoration: - if dec._needs_params: - res = dec(res, *args, **kwargs) - else: - res = dec(res) - - return res - -class ReturnImediatelyException(Exception): - def __init__(self, ret): - super(Exception, self).__init__() - self.ret = ret - -def _check_decoratable(origin, install=True): - if not isinstance(origin, DecoratableObject): - if inspect.ismethod(origin) and not hasattr(origin, '_decoratable_obj'): - decoratable = DecoratableObject(origin) - - def decoratable_method(self, *args, **kwargs): - return decoratable(self, *args, **kwargs) - - decoratable_method._decoratable_obj = decoratable - - def decoratable_decorate(fn, mode, **kwargs): - decoratable._decorate(fn, mode, **kwargs) - - decoratable_method._decorate = decoratable_decorate - - if install: - setattr(origin.im_class, origin.__name__, decoratable_method) - - return decoratable_method - - elif inspect.isfunction(origin): - decoratable = DecoratableObject(origin) - - if install: - setattr(inspect.getmodule(origin), origin.__name__, decoratable) - - return decoratable - - return origin - - -def decorate(origin, needs_origin=True): - origin = _check_decoratable(origin) - - def decorator(fn): - origin._decorate(fn, DecoratableObject.MODE_OVERRIDE, needs_origin=needs_origin) - - return decorator - - -def _decorate_params(origin): - origin = _check_decoratable(origin) - - def decorator(fn): - origin._decorate(fn, DecoratableObject.MODE_PARAMS) - - return decorator - -decorate.params = _decorate_params - -def _decorate_result(origin, needs_params=False): - origin = _check_decoratable(origin) - - def decorator(fn): - origin._decorate(fn, DecoratableObject.MODE_RESULT, needs_params=needs_params) - - return decorator - -decorate.result = _decorate_result - -def _decorate_with(fn): - def decorator(origin): - origin = _check_decoratable(origin) - origin._decorate(fn, DecoratableObject.MODE_OVERRIDE, needs_origin=True) - return origin - return decorator - -decorate.withfn = _decorate_with - -def _decorate_result_with(fn, needs_params=False): - def decorator(origin): - origin = _check_decoratable(origin) - origin._decorate(fn, DecoratableObject.MODE_RESULT, needs_params=needs_params) - return origin - return decorator - -decorate.result.withfn = _decorate_result_with - -def _decorate_params_with(fn): - def decorator(origin): - origin = _check_decoratable(origin) - origin._decorate(fn, DecoratableObject.MODE_PARAMS) - return origin - return decorator - -decorate.params.withfn = _decorate_params_with \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/modules/template_loader.py b/forum/modules/template_loader.py/forum/modules/template_loader.py deleted file mode 100644 index ecf6400..0000000 --- a/forum/modules/template_loader.py/forum/modules/template_loader.py +++ /dev/null @@ -1,43 +0,0 @@ -import os, re - -from forum.skins import load_template_source as skins_template_loader, Template, BaseTemplateLoader -from forum.modules import MODULES_FOLDER, MODULE_LIST - -MODULES_TEMPLATE_PREFIX = 'modules/' -NO_OVERRIDE_TEMPLATE_PREFIX = 'no_override/' -MODULES_TEMPLATE_FOLDER = 'templates' -MODULES_TEMPLATE_OVERRIDES_FOLDER = 'template_overrides' - -TEMPLATE_OVERRIDE_LOOKUP_PATHS = [f for f in [ - os.path.join(os.path.dirname(m.__file__), MODULES_TEMPLATE_OVERRIDES_FOLDER) for m in MODULE_LIST - ] if os.path.exists(f) -] - -class ModulesTemplateLoader(BaseTemplateLoader): - - modules_re = re.compile('^%s(\w+)\/(.*)$' % MODULES_TEMPLATE_PREFIX) - - def load_template_source(self, name, dirs=None): - template = None - - if name.startswith(MODULES_TEMPLATE_PREFIX): - match = self.modules_re.search(name) - file_name = os.path.join(MODULES_FOLDER, match.group(1), MODULES_TEMPLATE_FOLDER, match.group(2)) - - if os.path.exists(file_name): - template = Template(file_name) - - elif name.startswith(NO_OVERRIDE_TEMPLATE_PREFIX): - return skins_template_loader.load_template_source(name[len(NO_OVERRIDE_TEMPLATE_PREFIX):], dirs) - - else: - for override_path in TEMPLATE_OVERRIDE_LOOKUP_PATHS: - file_name = os.path.join(override_path, name) - - if os.path.exists(file_name): - template = Template(file_name) - break - - - return template - diff --git a/forum/modules/template_loader.py/forum/modules/ui.py b/forum/modules/template_loader.py/forum/modules/ui.py deleted file mode 100644 index 48c0246..0000000 --- a/forum/modules/template_loader.py/forum/modules/ui.py +++ /dev/null @@ -1,51 +0,0 @@ - - -class Registry(list): - def add(self, item): - for i, r in enumerate(self): - if r.weight > item.weight: - self.insert(i, item) - return - - self.append(item) - - -HEAD_CONTENT = 'HEAD_CONTENT' -HEADER_LINKS = 'HEADER_LINKS' -PAGE_TOP_TABS = 'PAGE_TOP_TABS' -FOOTER_LINKS = 'FOOTER_LINKS' -PROFILE_TABS = 'PROFILE_TABS' - -USER_MENU = 'USER_MENU' - - -__CONTAINER = { - HEAD_CONTENT: Registry(), - HEADER_LINKS: Registry(), - PAGE_TOP_TABS: Registry(), - FOOTER_LINKS: Registry(), - PROFILE_TABS: Registry(), - - USER_MENU: Registry(), -} - - -def register(registry, *ui_objects): - if not registry in __CONTAINER: - raise('unknown registry') - - for ui_object in ui_objects: - __CONTAINER[registry].add(ui_object) - -def get_registry_by_name(name): - name = name.upper() - - if not name in __CONTAINER: - raise('unknown registry') - - return __CONTAINER[name] - - - -from ui_objects import * - diff --git a/forum/modules/template_loader.py/forum/modules/ui_objects.py b/forum/modules/template_loader.py/forum/modules/ui_objects.py deleted file mode 100644 index e42c940..0000000 --- a/forum/modules/template_loader.py/forum/modules/ui_objects.py +++ /dev/null @@ -1,210 +0,0 @@ -from django.core.urlresolvers import reverse -from django.template.defaultfilters import slugify -from django import template -from forum.utils import html -from forum.models.user import AnonymousUser -from ui import Registry -from copy import copy - -class Visibility(object): - def __init__(self, level='public'): - if level not in ['public', 'authenticated', 'staff', 'superuser', 'owner']: - try: - int(level) - self.by_reputation = True - except: - raise "Invalid visibility level for ui object: %s" % level - else: - self.by_reputation = False - - self.level = level - self.negated = False - - def show_to(self, user): - if self.by_reputation: - res = user.is_authenticated() and (user.reputation >= int(self.level) or user.is_staff or user.is_superuser) - else: - res = self.level == 'public' or (user.is_authenticated() and ( - self.level == 'authenticated' or ( - self.level == 'superuser' and user.is_superuser) or ( - self.level == 'staff' and (user.is_staff or user.is_superuser)) or ( - self.level == 'owner' and user.is_siteowner))) - - if self.negated: - return not res - else: - return res - - def __invert__(self): - inverted = copy(self) - inverted.negated = True - - -Visibility.PUBLIC = Visibility('public') -Visibility.AUTHENTICATED = Visibility('authenticated') -Visibility.STAFF = Visibility('staff') -Visibility.SUPERUSER = Visibility('superuser') -Visibility.OWNER = Visibility('owner') -Visibility.REPUTED = lambda r: Visibility(r) - - -class Url(object): - def __init__(self, url_pattern): - self.url_pattern = url_pattern - - def __call__(self, u, c): - return reverse(self.url_pattern) - - -class ObjectBase(object): - class Argument(object): - def __init__(self, argument): - self.argument = argument - - def __call__(self, context): - if callable(self.argument): - user = context.get('request', None) and context['request'].user or AnonymousUser() - return self.argument(user, context) - else: - return self.argument - - def __init__(self, visibility=None, weight=500): - self.visibility = visibility - self.weight = weight - - def _visible_to(self, user): - return (not self.visibility) or (self.visibility and self.visibility.show_to(user)) - - def can_render(self, context): - try: - return self._visible_to(context['request'].user) - except KeyError: - try: - return self._visible_to(context['viewer']) - except KeyError: - return self._visible_to(AnonymousUser()) - - def render(self, context): - return '' - -class LoopBase(ObjectBase): - def update_context(self, context): - pass - - - -class Link(ObjectBase): - def __init__(self, text, url, attrs=None, pre_code='', post_code='', visibility=None, weight=500): - super(Link, self).__init__(visibility, weight) - self.text = self.Argument(text) - self.url = self.Argument(url) - self.attrs = self.Argument(attrs or {}) - self.pre_code = self.Argument(pre_code) - self.post_code = self.Argument(post_code) - - def render(self, context): - return "%s %s %s" % (self.pre_code(context), - html.hyperlink(self.url(context), self.text(context), **self.attrs(context)), - self.post_code(context)) - -class Include(ObjectBase): - def __init__(self, tpl, visibility=None, weight=500): - super(Include, self).__init__(visibility, weight) - self.template = template.loader.get_template(tpl) - - def render(self, context): - if not isinstance(context, template.Context): - context = template.Context(context) - return self.template.render(context) - - -class LoopContext(LoopBase): - def __init__(self, loop_context, visibility=None, weight=500): - super(LoopContext, self).__init__(visibility, weight) - self.loop_context = self.Argument(loop_context) - - def update_context(self, context): - context.update(self.loop_context(context)) - - -class PageTab(LoopBase): - def __init__(self, tab_name, tab_title, url_getter, weight): - super(PageTab, self).__init__(weight=weight) - self.tab_name = tab_name - self.tab_title = tab_title - self.url_getter = url_getter - - def update_context(self, context): - context.update(dict( - tab_name=self.tab_name, - tab_title=self.tab_title, - tab_url=self.url_getter() - )) - - -class ProfileTab(LoopBase): - def __init__(self, name, title, description, url_getter, private=False, render_to=None, weight=500): - super(ProfileTab, self).__init__(weight=weight) - self.name = name - self.title = title - self.description = description - self.url_getter = url_getter - self.private = private - self.render_to = render_to - - def can_render(self, context): - return (not self.render_to or (self.render_to(context['view_user']))) and ( - not self.private or ( - context['view_user'] == context['request'].user or context['request'].user.is_superuser)) - - def update_context(self, context): - context.update(dict( - tab_name=self.name, - tab_title=self.title, - tab_description = self.description, - tab_url=self.url_getter(context['view_user']) - )) - - -class AjaxMenuItem(ObjectBase): - def __init__(self, label, url, a_attrs=None, span_label='', span_attrs=None, visibility=None, weight=500): - super(AjaxMenuItem, self).__init__(visibility, weight) - self.label = self.Argument(label) - self.url = self.Argument(url) - self.a_attrs = self.Argument(a_attrs or {}) - self.span_label = self.Argument(span_label) - self.span_attrs = self.Argument(span_attrs or {}) - - def render(self, context): - return html.buildtag('li', - html.buildtag('span', self.span_label(context), **self.span_attrs(context)) + \ - html.hyperlink(self.url(context), self.label(context), **self.a_attrs(context)), - **{'class': 'item'}) - -class AjaxMenuGroup(ObjectBase, Registry): - def __init__(self, label, items, visibility=None, weight=500): - super(AjaxMenuGroup, self).__init__(visibility, weight) - self.label = label - - for item in items: - self.add(item) - - def can_render(self, context): - if super(AjaxMenuGroup, self).can_render(context): - for item in self: - if item.can_render(context): return True - - return False - - def render(self, context): - return html.buildtag('li', self.label, **{'class': 'separator'}) + "".join([ - item.render(context) for item in self if item.can_render(context) - ]) - -class UserMenuItem(AjaxMenuItem): - def __init__(self, render_to=None, *args, **kwargs): - super(UserMenuItem, self).__init__(*args, **kwargs) - self.render_to = render_to - - def can_render(self, context): - return (not self.render_to or (self.render_to(context['user']))) and super(UserMenuItem, self)._visible_to(context['viewer']) diff --git a/forum/modules/template_loader.py/forum/registry.py b/forum/modules/template_loader.py/forum/registry.py deleted file mode 100644 index ff5a115..0000000 --- a/forum/modules/template_loader.py/forum/registry.py +++ /dev/null @@ -1,109 +0,0 @@ -from forum.modules import ui -from django.utils.translation import ugettext as _ -from django.core.urlresolvers import reverse -from django.template.defaultfilters import slugify -from forum.templatetags.extra_tags import get_score_badge -from forum.utils.html import cleanup_urls -from forum import settings - - -ui.register(ui.HEADER_LINKS, - ui.Link(_('faq'), ui.Url('faq'), weight=400), - ui.Link(_('about'), ui.Url('about'), weight=300), - - ui.Link( - text=lambda u, c: u.is_authenticated() and _('logout') or _('login'), - url=lambda u, c: u.is_authenticated() and reverse('logout') or reverse('auth_signin'), - weight=200), - - ui.Link( - visibility=ui.Visibility.AUTHENTICATED, - text=lambda u, c: u.username, - url=lambda u, c: u.get_profile_url(), - post_code=lambda u, c: get_score_badge(u), - weight=100), - - ui.Link( - visibility=ui.Visibility.SUPERUSER, - text=_('administration'), - url=lambda u, c: reverse('admin_index'), - weight=0) - -) - -class SupportLink(ui.Link): - def can_render(self, context): - return bool(settings.SUPPORT_URL) - - -ui.register(ui.FOOTER_LINKS, - ui.Link( - text=_('contact'), - url=lambda u, c: settings.CONTACT_URL and settings.CONTACT_URL or "%s?next=%s" % (reverse('feedback'), cleanup_urls( c['request'].path)), - weight=400), - SupportLink(_('support'), settings.SUPPORT_URL, attrs={'target': '_blank'}, weight=300), - ui.Link(_('privacy'), ui.Url('privacy'), weight=200), - ui.Link(_('faq'), ui.Url('faq'), weight=100), - ui.Link(_('about'), ui.Url('about'), weight=0), -) - -class ModerationMenuGroup(ui.AjaxMenuGroup): - def can_render(self, context): - return context['user'] != context['viewer'] and super(ModerationMenuGroup, self).can_render(context) - -class SuperUserSwitchMenuItem(ui.UserMenuItem): - def can_render(self, context): - return context['viewer'].is_siteowner or not context['user'].is_superuser - -ui.register(ui.USER_MENU, - ui.UserMenuItem( - label=_("edit profile"), - url=lambda u, c: reverse('edit_user', kwargs={'id': c['user'].id}), - span_attrs={'class': 'user-edit'}, - weight=0 - ), - ui.UserMenuItem( - label=_("authentication settings"), - url=lambda u, c: reverse('user_authsettings', kwargs={'id': c['user'].id}), - span_attrs={'class': 'user-auth'}, - weight=100 - ), - ui.UserMenuItem( - label=_("email notification settings"), - url=lambda u, c: reverse('user_subscriptions', kwargs={'id': c['user'].id, 'slug': slugify(c['user'].username)}), - span_attrs={'class': 'user-subscriptions'}, - weight=200 - ), - ui.UserMenuItem( - label=_("other preferences"), - url=lambda u, c: reverse('user_preferences', kwargs={'id': c['user'].id, 'slug': slugify(c['user'].username)}), - weight=200 - ), - ModerationMenuGroup(_("Moderation tools"), items=( - ui.UserMenuItem( - label=lambda u, c: c['user'].is_suspended() and _("withdraw suspension") or _("suspend this user"), - url=lambda u, c: reverse('user_suspend', kwargs={'id': c['user'].id}), - a_attrs=lambda u, c: {'class': c['user'].is_suspended() and 'ajax-command confirm' or 'ajax-command withprompt'}, - render_to=lambda u: not u.is_superuser, - ), - ui.UserMenuItem( - label=lambda u, c: _("give/take karma"), - url=lambda u, c: reverse('user_award_points', kwargs={'id': c['user'].id}), - a_attrs=lambda u, c: {'id': 'award-rep-points', 'class': 'ajax-command withprompt'}, - span_attrs={'class': 'user-award_rep'}, - render_to=lambda u: not u.is_suspended(), - ), - ui.UserMenuItem( - label=lambda u, c: c['user'].is_staff and _("remove moderator status") or _("grant moderator status"), - url=lambda u, c: reverse('user_powers', kwargs={'id': c['user'].id, 'action':c['user'].is_staff and 'remove' or 'grant', 'status': 'staff'}), - a_attrs=lambda u, c: {'class': 'ajax-command confirm'}, - span_attrs={'class': 'user-moderator'}, - ), - SuperUserSwitchMenuItem( - label=lambda u, c: c['user'].is_superuser and _("remove super user status") or _("grant super user status"), - url=lambda u, c: reverse('user_powers', kwargs={'id': c['user'].id, 'action':c['user'].is_superuser and 'remove' or 'grant', 'status': 'super'}), - a_attrs=lambda u, c: {'class': 'ajax-command confirm'}, - span_attrs={'class': 'user-superuser'}, - ), - ), visibility=ui.Visibility.SUPERUSER, weight=500) -) diff --git a/forum/modules/template_loader.py/forum/settings/__init__.py b/forum/modules/template_loader.py/forum/settings/__init__.py deleted file mode 100644 index e10fc76..0000000 --- a/forum/modules/template_loader.py/forum/settings/__init__.py +++ /dev/null @@ -1,48 +0,0 @@ -import os.path -from base import Setting, SettingSet - -from django.forms.widgets import Textarea -from django.utils.translation import ugettext_lazy as _ -from django.conf import settings as djsettings -from django.utils.version import get_svn_revision - -OSQA_VERSION = "Development Build" -SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT) - -MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None) - -SETTINGS_PACK = Setting('SETTINGS_PACK', "default") -DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True) -NODE_MAN_FILTERS = Setting('NODE_MAN_FILTERS', []) - -APP_URL = djsettings.APP_URL -APP_BASE_URL = djsettings.APP_BASE_URL -FORCE_SCRIPT_NAME = djsettings.FORCE_SCRIPT_NAME -OSQA_SKIN = djsettings.OSQA_DEFAULT_SKIN -LANGUAGE_CODE = djsettings.LANGUAGE_CODE -ADMIN_MEDIA_PREFIX = djsettings.ADMIN_MEDIA_PREFIX -ONLINE_USERS = Setting('ONLINE_USERS', {}) - - -from basic import * -from sidebar import * -from email import * -from extkeys import * -from minrep import * -from repgain import * -from voting import * -from upload import * -from about import * -from faq import * -from form import * -from view import * -from moderation import * -from users import * -from static import * -from urls import * -from accept import * - -BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500) - -#__all__ = locals().keys() - diff --git a/forum/modules/template_loader.py/forum/settings/about.py b/forum/modules/template_loader.py/forum/settings/about.py deleted file mode 100644 index b4f1a64..0000000 --- a/forum/modules/template_loader.py/forum/settings/about.py +++ /dev/null @@ -1,28 +0,0 @@ -from base import Setting, SettingSet -from django.forms.widgets import Textarea - -PAGES_SET = SettingSet('about', 'About page', "Define the text in the about page. You can use markdown and some basic html tags.", 2000, True) - -ABOUT_PAGE_TEXT = Setting('ABOUT_PAGE_TEXT', -u""" -**Please customize this text in the administration area** - -Here you can **ask** and **answer** questions, **comment** -and **vote** for the questions of others and their answers. Both questions and answers -**can be revised** and improved. Questions can be **tagged** with -the relevant keywords to simplify future access and organize the accumulated material. - -This Q&A site is moderated by its members, hopefully - including yourself! -Moderation rights are gradually assigned to the site users based on the accumulated "**karma**" -points. These points are added to the users account when others vote for his/her questions or answers. -These points (very) roughly reflect the level of trust of the community. - -No points are necessary to ask or answer the questions - so please - join us! - -If you would like to find out more about this site - please see the **frequently asked questions** page. -""", PAGES_SET, dict( -label = "About page text", -help_text = """ -The about page. -""", -widget=Textarea(attrs={'rows': '20'}))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/accept.py b/forum/modules/template_loader.py/forum/settings/accept.py deleted file mode 100644 index aa29e09..0000000 --- a/forum/modules/template_loader.py/forum/settings/accept.py +++ /dev/null @@ -1,25 +0,0 @@ -from base import Setting, SettingSet -from django.forms.widgets import RadioSelect -from django.utils.translation import ugettext_lazy as _ - -ACCEPT_SET = SettingSet('accept', _('Accepting answers'), _("Settings to tweak the behaviour of accepting answers."), 500) - -DISABLE_ACCEPTING_FEATURE = Setting('DISABLE_ACCEPTING_FEATURE', False, ACCEPT_SET, dict( -label = _("Disallow answers to be accepted"), -help_text = _("Disable accepting answers feature. If you re-enable it in the future, currently accepted answers will still be marked as accepted."), -required=False)) - -MAXIMUM_ACCEPTED_ANSWERS = Setting('MAXIMUM_ACCEPTED_ANSWERS', 1, ACCEPT_SET, dict( -label = _("Maximum accepted answers per question"), -help_text = _("How many accepted answers are allowed per question. Use 0 for no limit."))) - -MAXIMUM_ACCEPTED_PER_USER = Setting('MAXIMUM_ACCEPTED_PER_USER', 1, ACCEPT_SET, dict( -label = _("Maximum accepted answers per user/question"), -help_text = _("If more than one accpeted answer is allowed, how many can be accepted per single user per question."))) - -USERS_CAN_ACCEPT_OWN = Setting('USERS_CAN_ACCEPT_OWN', False, ACCEPT_SET, dict( -label = _("Users an accept own answer"), -help_text = _("Are normal users allowed to accept their own answers.."), -required=False)) - - diff --git a/forum/modules/template_loader.py/forum/settings/base.py b/forum/modules/template_loader.py/forum/settings/base.py deleted file mode 100644 index 7436f46..0000000 --- a/forum/modules/template_loader.py/forum/settings/base.py +++ /dev/null @@ -1,128 +0,0 @@ -import django.dispatch -from django.utils.encoding import force_unicode -from datetime import datetime, timedelta -import logging - -TMP_MINICACHE_SECONDS = 5 - -class SettingSet(list): - def __init__(self, name, title, description, weight=1000, markdown=False, can_preview=False): - self.name = name - self.title = title - self.description = description - self.weight = weight - self.markdown = markdown - self.can_preview = can_preview - - -class BaseSetting(object): - @classmethod - def add_to_class(cls, name): - def wrapper(self, *args, **kwargs): - return self.value.__getattribute__(name)(*args, **kwargs) - - setattr(cls, name, wrapper) - - def __init__(self, name, default, set=None, field_context=None): - self.name = name - self.default = default - self.field_context = field_context or {} - - self._temp = None - - if set is not None: - self.set = set - - if not set.name in Setting.sets: - Setting.sets[set.name] = set - - Setting.sets[set.name].append(self) - - def __str__(self): - return str(self.value) - - def __unicode__(self): - return unicode(self.value) - - @property - def value(self): - if self._temp: - v, exp = self._temp - if exp + timedelta(seconds=TMP_MINICACHE_SECONDS) > datetime.now(): - return v - - from forum.models import KeyValue - - try: - kv = KeyValue.objects.get(key=self.name) - v = kv.value - self._temp = (v, datetime.now() + timedelta(seconds=TMP_MINICACHE_SECONDS)) - return v - except KeyValue.DoesNotExist: - self._temp = (self.default, datetime.now() + timedelta(seconds=TMP_MINICACHE_SECONDS)) - self.save(self.default) - except Exception, e: - logging.error("Error retrieving setting from database (%s): %s" % (self.name, str(e))) - - return self.default - - def set_value(self, new_value): - new_value = self._parse(new_value) - self._temp = None - self.save(new_value) - - def save(self, value): - from forum.models import KeyValue - - try: - kv = KeyValue.objects.get(key=self.name) - except KeyValue.DoesNotExist: - kv = KeyValue(key=self.name) - except Exception, e: - logging.error("Error savin setting to database (%s): %s" % (self.name, str(e))) - return - - kv.value = value - kv.save() - - def to_default(self): - self.set_value(self.default) - - def _parse(self, value): - if not isinstance(value, self.base_type): - try: - return self.base_type(value) - except: - pass - return value - -class AnyTypeSetting(BaseSetting): - def _parse(self, value): - return value - - -class Setting(object): - emulators = {} - sets = {} - - def __new__(cls, name, default, set=None, field_context=None): - if default is None: - return AnyTypeSetting(name, default, set, field_context) - - deftype = type(default) - - if deftype in Setting.emulators: - emul = Setting.emulators[deftype] - else: - emul = type(deftype.__name__ + cls.__name__, (BaseSetting,), {'base_type': deftype}) - - fns = [n for n, f in [(p, getattr(deftype, p)) for p in dir(deftype) if not p in dir(cls)] if callable(f)] - - for n in fns: - emul.add_to_class(n) - - Setting.emulators[deftype] = emul - - return emul(name, default, set, field_context) - - diff --git a/forum/modules/template_loader.py/forum/settings/basic.py b/forum/modules/template_loader.py/forum/settings/basic.py deleted file mode 100644 index a4efd6f..0000000 --- a/forum/modules/template_loader.py/forum/settings/basic.py +++ /dev/null @@ -1,52 +0,0 @@ -import os.path - -from base import Setting, SettingSet -from forms import ImageFormWidget - -from django.utils.translation import ugettext_lazy as _ -from django.forms.widgets import Textarea - -BASIC_SET = SettingSet('basic', _('Basic settings'), _("The basic settings for your application"), 1) - -APP_LOGO = Setting('APP_LOGO', '/upfiles/logo.png', BASIC_SET, dict( -label = _("Application logo"), -help_text = _("Your site main logo."), -widget=ImageFormWidget)) - -APP_FAVICON = Setting('APP_FAVICON', '/m/default/media/images/favicon.ico', BASIC_SET, dict( -label = _("Favicon"), -help_text = _("Your site favicon."), -widget=ImageFormWidget)) - -APP_TITLE = Setting('APP_TITLE', u'OSQA: Open Source Q&A Forum', BASIC_SET, dict( -label = _("Application title"), -help_text = _("The title of your application that will show in the browsers title bar"))) - -APP_SHORT_NAME = Setting(u'APP_SHORT_NAME', 'OSQA', BASIC_SET, dict( -label = _("Application short name"), -help_text = "The short name for your application that will show up in many places.")) - -APP_KEYWORDS = Setting('APP_KEYWORDS', u'OSQA,CNPROG,forum,community', BASIC_SET, dict( -label = _("Application keywords"), -help_text = _("The meta keywords that will be available through the HTML meta tags."))) - -APP_DESCRIPTION = Setting('APP_DESCRIPTION', u'Ask and answer questions.', BASIC_SET, dict( -label = _("Application description"), -help_text = _("The description of your application"), -widget=Textarea)) - -APP_COPYRIGHT = Setting('APP_COPYRIGHT', u'Copyright OSQA, 2010. Some rights reserved under creative commons license.', BASIC_SET, dict( -label = _("Copyright notice"), -help_text = _("The copyright notice visible at the footer of your page."))) - -SUPPORT_URL = Setting('SUPPORT_URL', '', BASIC_SET, dict( -label = _("Support URL"), -help_text = _("The URL provided for users to get support. It can be http: or mailto: or whatever your preferred support scheme is."), -required=False)) - -CONTACT_URL = Setting('CONTACT_URL', '', BASIC_SET, dict( -label = _("Contact URL"), -help_text = _("The URL provided for users to contact you. It can be http: or mailto: or whatever your preferred contact scheme is."), -required=False)) - - diff --git a/forum/modules/template_loader.py/forum/settings/email.py b/forum/modules/template_loader.py/forum/settings/email.py deleted file mode 100644 index 5e8bddf..0000000 --- a/forum/modules/template_loader.py/forum/settings/email.py +++ /dev/null @@ -1,78 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ -from django.forms.widgets import PasswordInput -from django.forms.widgets import RadioSelect - -EMAIL_SET = SettingSet('email', _('Email settings'), _("Email server and other email related settings."), 50) - -EMAIL_SUBSCRIBE_CHOICES = ( - ('y', _('Users are subscribed by default')), - ('n', _('Users are not subscribed by default')), -) - -INITIAL_EMAIL_SUBSCRIBE_OPTION = Setting('INITIAL_EMAIL_SUBSCRIBE_OPTION', 'y', EMAIL_SET, dict( -label = _("Default email subscription"), -widget=RadioSelect, -choices=EMAIL_SUBSCRIBE_CHOICES, -help_text = _("Choose what should be the default email subscription status while registering."), -required=False)) - -EMAIL_HOST = Setting('EMAIL_HOST', '', EMAIL_SET, dict( -label = _("Email Server"), -help_text = _("The SMTP server through which your application will be sending emails."), -required=False)) - -EMAIL_PORT = Setting('EMAIL_PORT', 25, EMAIL_SET, dict( -label = _("Email Port"), -help_text = _("The port on which your SMTP server is listening to. Usually this is 25, but can be something else."), -required=False)) - -EMAIL_HOST_USER = Setting('EMAIL_HOST_USER', '', EMAIL_SET, dict( -label = _("Email User"), -help_text = _("The username for your SMTP connection."), -required=False)) - -EMAIL_HOST_PASSWORD = Setting('EMAIL_HOST_PASSWORD', '', EMAIL_SET, dict( -label = _("Email Password"), -help_text = _("The password for your SMTP connection."), -required=False, -widget=PasswordInput)) - -EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict( -label = _("Use TLS"), -help_text = _("Whether to use TLS for authentication with your SMTP server."), -required=False)) - -DEFAULT_FROM_EMAIL = Setting('DEFAULT_FROM_EMAIL', '', EMAIL_SET, dict( -label = _("Site 'from' Email Address"), -help_text = _("The address that will show up on the 'from' field on emails sent by your website."), -required=False)) - -EMAIL_SUBJECT_PREFIX = Setting('EMAIL_SUBJECT_PREFIX', '', EMAIL_SET, dict( -label = _("Email Subject Prefix"), -help_text = _("Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easily set up a filter on theyr email clients."), -required=False)) - -EMAIL_FOOTER_TEXT = Setting(u'EMAIL_FOOTER_TEXT', '', EMAIL_SET, dict( -label = _("Email Footer Text"), -help_text = _("Email footer text, usually \"CAN SPAM\" compliance, or the physical address of the organization running the website. See this Wikipedia article for more info."), -required=False)) - -EMAIL_BORDER_COLOR = Setting('EMAIL_BORDER_COLOR', '#e5ebf8', EMAIL_SET, dict( -label = _("Email Border Color"), -help_text = _("The outter border color of the email base template"), -required=False)) - -EMAIL_PARAGRAPH_STYLE = Setting('EMAIL_PARAGRAPH_STYLE', "color:#333333;font-family:'helvetica neue', arial, Helvetica, sans-serif;line-height:18px;font-size:14px;margin-top:10px;", EMAIL_SET, dict( -label = _("Email Paragraph Style"), -help_text = _("A valid css string to be used to style email paragraphs (the P tag)."), -required=False)) - -EMAIL_ANCHOR_STYLE = Setting('EMAIL_ANCHOR_STYLE', "text-decoration:none;color:#3060a8;font-weight:bold;", EMAIL_SET, dict( -label = _("Email Link Style"), -help_text = _("A valid css string to be used to style email links (the A tag)."), -required=False)) - - - -EMAIL_DIGEST_FLAG = Setting('EMAIL_DIGEST_FLAG', None) diff --git a/forum/modules/template_loader.py/forum/settings/extkeys.py b/forum/modules/template_loader.py/forum/settings/extkeys.py deleted file mode 100644 index 9d439df..0000000 --- a/forum/modules/template_loader.py/forum/settings/extkeys.py +++ /dev/null @@ -1,15 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -EXT_KEYS_SET = SettingSet('extkeys', _('External Keys'), _("Keys for various external providers that your application may optionally use."), 100) - -GOOGLE_SITEMAP_CODE = Setting('GOOGLE_SITEMAP_CODE', '', EXT_KEYS_SET, dict( -label = _("Google sitemap code"), -help_text = _("This is the code you get when you register your site at Google webmaster central."), -required=False)) - -GOOGLE_ANALYTICS_KEY = Setting('GOOGLE_ANALYTICS_KEY', '', EXT_KEYS_SET, dict( -label = _("Google analytics key"), -help_text = _("Your Google analytics key. You can get one at the Google analytics official website"), -required=False)) - diff --git a/forum/modules/template_loader.py/forum/settings/faq.py b/forum/modules/template_loader.py/forum/settings/faq.py deleted file mode 100644 index 2be4a13..0000000 --- a/forum/modules/template_loader.py/forum/settings/faq.py +++ /dev/null @@ -1,61 +0,0 @@ -from base import Setting, SettingSet -from django.forms.widgets import Textarea - -FAQ_SET = SettingSet('faq', 'FAQ page', "Define the text in the about page. You can use markdown and some basic html tags.", 2000, True) - -FAQ_PAGE_TEXT = Setting('FAQ_PAGE_TEXT', -u""" -**Please customize this text in the administration area** - -**Frequently Asked Questions (FAQ)** - -**What kinds of questions can I ask here?** - -Most importantly - questions should be relevant to this community. Before you ask - please make sure to search for a similar question. You can search questions by their title or tags. - -**What kinds of questions should be avoided?** - -Please avoid asking questions that are not relevant to this community, too subjective and argumentative. - -**What should I avoid in my answers?** - -OSQA: Open Source Q&A Forum is a question and answer site - it is not a discussion group. Please avoid holding debates in your answers as they tend to dilute the essense of questions and answers. For the brief discussions please use commenting facility. - -**Who moderates this community?** - -The short answer is: you. This website is moderated by the users. Karma system allows users to earn rights to perform a variety of moderation tasks - -**How does the karma system work?** - -When a question or answer is upvoted, the user who posted them will gain some points, which are called "karma points". These points serve as a rough measure of the community trust to him/her. Various moderation tasks are gradually assigned to the users based on those points. - -For example, if you ask an interesting question or give a helpful answer, your input will be upvoted. On the other hand if the answer is misleading - it will be downvoted. Each vote in favor will generate |REP_GAIN_BY_UPVOTED| points, each vote against will subtract |REP_LOST_BY_DOWNVOTED| points. There is a limit of 200 points that can be accumulated per question or answer. The table below explains karma requirements for each type of moderation task. - -* add comments -> |REP_TO_COMMENT| -* delete comments -> |REP_TO_DELETE_COMMENTS| -* close own questions -> |REP_TO_CLOSE_OWN| -* reopen own questions -> |REP_TO_REOPEN_OWN| -* retag questions -> |REP_TO_RETAG| -* edit any answer -> |REP_TO_EDIT_OTHERS| -* open any closed question -> |REP_TO_CLOSE_OTHERS| -* delete any comment -> |REP_TO_DELETE_COMMENTS| - -**What is gravatar?** - -Gravatar means globally recognized avatar - your unique avatar image associated with your email address. It's simply a picture that shows next to your posts on the websites that support gravatar protocol. By default gravar appears as a square filled with a snowflake-like figure. You can set your image at gravatar.com - -**To register, do I need to create new password?** - -No, you don't have to. You can login through any service that supports OpenID, e.g. Google, Yahoo, AOL, etc. Login now! - -**Why can other people can edit my questions/answers?** - -Goal of this site is... So questions and answers can be edited like wiki pages by experienced users of this site and this improves the overall quality of the knowledge base content. If this approach is not for you, we respect your choice. - -**Still have questions?** - -Please ask your question, help make our community better! -""", FAQ_SET, dict( -label = "FAQ page text", -help_text = " The faq page. ", -widget=Textarea(attrs={'rows': '25'}))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/form.py b/forum/modules/template_loader.py/forum/settings/form.py deleted file mode 100644 index 5f770b3..0000000 --- a/forum/modules/template_loader.py/forum/settings/form.py +++ /dev/null @@ -1,87 +0,0 @@ -import os.path -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -FORUM_SET = SettingSet('form', _('Form settings'), _("General settings for the OSQA forms."), 10) - -WIKI_ON = Setting('WIKI_ON', True, FORUM_SET, dict( -label = _("Enable community wiki"), -help_text = _("Can questions or answers be marked as community wiki."), -required=False)) - -LIMIT_TAG_CREATION = Setting('LIMIT_TAG_CREATION', False, FORUM_SET, dict( -label = _("Limit tag creation"), -help_text = _("Limit tag creation to super users, staff or users with a minimum reputation."), -required=False)) - - -""" settings for questions """ -FORM_MIN_QUESTION_TITLE = Setting('FORM_MIN_QUESTION_TITLE', 10, FORUM_SET, dict( -label = _("Minimum number of characters for a question's title"), -help_text = _("The minimum number of characters a user must enter into the title field of a question."))) - -# FORM_MAX_QUESTION_TITLE = Setting('FORM_MAX_QUESTION_TITLE', 100, FORUM_SET, dict( -# label = _("Maximum number of characters for a question."), -# help_text = _("The maximum number of characters a user can enter into the description field to submit a question."))) - -FORM_MIN_QUESTION_BODY = Setting('FORM_MIN_QUESTION_BODY', 10, FORUM_SET, dict( -label = _("Minimum number of characters for a question's content"), -help_text = _("The minimum number of characters a user must enter into the content field of a question."))) - -# FORM_MAX_QUESTION_DESCRIPTION = Setting('FORM_MAX_QUESTION_DESCRIPTION', 600, FORUM_SET, dict( -# label = _("Maximum number of characters for a question."), -# help_text = _("The maximum number of characters a user can enter into the description field to submit a question."))) - -FORM_EMPTY_QUESTION_BODY = Setting('FORM_EMPTY_QUESTION_BODY', False, FORUM_SET, dict( -label = _("Empty question content"), -help_text = _("If a question's content can be empty."), -required=False)) - - - - -""" settings for tags """ -FORM_MIN_NUMBER_OF_TAGS = Setting('FORM_MIN_NUMBER_OF_TAGS', 1, FORUM_SET, dict( -label = _("Required number of tags per question"), -help_text = _("How many tags are required in questions."), -)) - -FORM_MAX_NUMBER_OF_TAGS = Setting('FORM_MAX_NUMBER_OF_TAGS', 5, FORUM_SET, dict( -label = _("Maximum number of tags per question"), -help_text = _("How many tags are allowed in questions."), -)) - -FORM_MIN_LENGTH_OF_TAG = Setting('FORM_MIN_LENGTH_OF_TAG', 1, FORUM_SET, dict( -label = _("Minimum length of a tag"), -help_text = _("How short a tag can be."), -)) - -FORM_MAX_LENGTH_OF_TAG = Setting('FORM_MAX_LENGTH_OF_TAG', 20, FORUM_SET, dict( -label = _("Maximum length of a tag"), -help_text = _("How long a tag can be."), -)) - - - - -""" settings for comments """ -FORM_MIN_COMMENT_BODY = Setting('FORM_MIN_COMMENT_BODY', 10, FORUM_SET, dict( -label = _("Minimum number of characters for a comment"), -help_text = _("The minimum number of characters a user must enter into the body of a comment."))) - -FORM_MAX_COMMENT_BODY = Setting('FORM_MAX_COMMENT_BODY', 600, FORUM_SET, dict( -label = _("Maximum length of comment"), -help_text = _("The maximum number of characters a user can enter into the body of a comment."))) - -FORM_ALLOW_MARKDOWN_IN_COMMENTS = Setting('FORM_ALLOW_MARKDOWN_IN_COMMENTS', True, FORUM_SET, dict( -label = _("Allow markdown in comments"), -help_text = _("Allow users to use markdown in comments."), -required=False)) - -FORM_GRAVATAR_IN_COMMENTS = Setting('FORM_GRAVATAR_IN_COMMENTS', False, FORUM_SET, dict( -label = _("Show author gravatar in comments"), -help_text = _("Show the gravatar image of a comment author."), -required=False)) - - - diff --git a/forum/modules/template_loader.py/forum/settings/forms.py b/forum/modules/template_loader.py/forum/settings/forms.py deleted file mode 100644 index 0c12301..0000000 --- a/forum/modules/template_loader.py/forum/settings/forms.py +++ /dev/null @@ -1,126 +0,0 @@ -import os -from string import strip -from django import forms -from forum.settings.base import Setting -from django.utils.translation import ugettext as _ -from django.core.files.storage import FileSystemStorage - -class DummySetting: - pass - -class UnfilteredField(forms.CharField): - def clean(self, value): - return value - - -class SettingsSetForm(forms.Form): - def __init__(self, set, data=None, unsaved=None, *args, **kwargs): - initial = dict([(setting.name, setting.value) for setting in set]) - - if unsaved: - initial.update(unsaved) - - super(SettingsSetForm, self).__init__(data, initial=initial, *args, **kwargs) - - for setting in set: - widget = setting.field_context.get('widget', None) - - if widget is forms.CheckboxSelectMultiple or widget is forms.SelectMultiple or isinstance(widget, forms.SelectMultiple): - field = forms.MultipleChoiceField(**setting.field_context) - elif widget is forms.RadioSelect or isinstance(widget, forms.RadioSelect): - field = forms.ChoiceField(**setting.field_context) - elif isinstance(setting, (Setting.emulators.get(str, DummySetting), Setting.emulators.get(unicode, DummySetting))): - if not setting.field_context.get('widget', None): - setting.field_context['widget'] = forms.TextInput(attrs={'class': 'longstring'}) - field = forms.CharField(**setting.field_context) - elif isinstance(setting, Setting.emulators.get(float, DummySetting)): - field = forms.FloatField(**setting.field_context) - elif isinstance(setting, Setting.emulators.get(int, DummySetting)): - field = forms.IntegerField(**setting.field_context) - elif isinstance(setting, Setting.emulators.get(bool, DummySetting)): - field = forms.BooleanField(**setting.field_context) - else: - field = UnfilteredField(**setting.field_context) - - self.fields[setting.name] = field - - self.set = set - - def as_table(self): - return self._html_output( - u'%(label)s' + ('
%s|%s' % ( - _('context'), _('default'))) + u'%(errors)s%(field)s%(help_text)s', - u'%s', '', u'
%s', False) - - def save(self): - for setting in self.set: - setting.set_value(self.cleaned_data[setting.name]) - -class ImageFormWidget(forms.Widget): - def render(self, name, value, attrs=None): - return """ -
- %(change)s: - - """ % {'name': name, 'value': value, 'change': _('Change this:')} - - def value_from_datadict(self, data, files, name): - if name in files: - f = files[name] - - # check file type - file_name_suffix = os.path.splitext(f.name)[1].lower() - - if not file_name_suffix in ('.jpg', '.jpeg', '.gif', '.png', '.bmp', '.tiff', '.ico'): - raise Exception('File type not allowed') - - from forum.settings import UPFILES_FOLDER, UPFILES_ALIAS - - storage = FileSystemStorage(str(UPFILES_FOLDER), str(UPFILES_ALIAS)) - new_file_name = storage.save(f.name, f) - return str(UPFILES_ALIAS) + new_file_name - else: - if "%s_old" % name in data: - return data["%s_old" % name] - elif name in data: - return data[name] - -class StringListWidget(forms.Widget): - def render(self, name, value, attrs=None): - ret = "" - for s in value: - ret += """ -
- - -
- """ % {'name': name, 'value': s} - - return """ -
- %(ret)s -
-
- """ % dict(name=name, ret=ret) - - def value_from_datadict(self, data, files, name): - if 'submit' in data: - return data.getlist(name) - else: - return data[name] - -class CommaStringListWidget(forms.Textarea): - def render(self, name, value, attrs=None): - return super(CommaStringListWidget, self).render(name, ', '.join(value), attrs) - - - def value_from_datadict(self, data, files, name): - if 'submit' in data: - return map(strip, data[name].split(',')) - else: - return ', '.join(data[name]) - - - - - diff --git a/forum/modules/template_loader.py/forum/settings/minrep.py b/forum/modules/template_loader.py/forum/settings/minrep.py deleted file mode 100644 index 8206823..0000000 --- a/forum/modules/template_loader.py/forum/settings/minrep.py +++ /dev/null @@ -1,90 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -MIN_REP_SET = SettingSet('minrep', _('Minimum reputation config'), _("Configure the minimum reputation required to perform certain actions on your site."), 300) - -CAPTCHA_IF_REP_LESS_THAN = Setting('CAPTCHA_IF_REP_LESS_THAN', 0, MIN_REP_SET, dict( -label = _("Show captcha if user with less reputation than"), -help_text = _("If the user has less reputation, captcha is used to when adding new content."))) - -REP_TO_VOTE_UP = Setting('REP_TO_VOTE_UP', 15, MIN_REP_SET, dict( -label = _("Minimum reputation to vote up"), -help_text = _("The minimum reputation an user must have to be allowed to vote up."))) - -REP_TO_VOTE_DOWN = Setting('REP_TO_VOTE_DOWN', 100, MIN_REP_SET, dict( -label = _("Minimum reputation to vote down"), -help_text = _("The minimum reputation an user must have to be allowed to vote down."))) - -REP_TO_FLAG = Setting('REP_TO_FLAG', 15, MIN_REP_SET, dict( -label = _("Minimum reputation to flag a post"), -help_text = _("The minimum reputation an user must have to be allowed to flag a post."))) - -REP_TO_COMMENT = Setting('REP_TO_COMMENT', 50, MIN_REP_SET, dict( -label = _("Minimum reputation to comment"), -help_text = _("The minimum reputation an user must have to be allowed to comment a post."))) - -REP_TO_LIKE_COMMENT = Setting('REP_TO_LIKE_COMMENT', 15, MIN_REP_SET, dict( -label = _("Minimum reputation to like a comment"), -help_text = _("The minimum reputation an user must have to be allowed to \"like\" a comment."))) - -REP_TO_UPLOAD = Setting('REP_TO_UPLOAD', 60, MIN_REP_SET, dict( -label = _("Minimum reputation to upload"), -help_text = _("The minimum reputation an user must have to be allowed to upload a file."))) - -REP_TO_CREATE_TAGS = Setting('REP_TO_CREATE_TAGS', 250, MIN_REP_SET, dict( -label = _("Minimum reputation to create tags"), -help_text = _("The minimum reputation an user must have to be allowed to create new tags."))) - -REP_TO_CLOSE_OWN = Setting('REP_TO_CLOSE_OWN', 250, MIN_REP_SET, dict( -label = _("Minimum reputation to close own question"), -help_text = _("The minimum reputation an user must have to be allowed to close his own question."))) - -REP_TO_REOPEN_OWN = Setting('REP_TO_REOPEN_OWN', 500, MIN_REP_SET, dict( -label = _("Minimum reputation to reopen own question"), -help_text = _("The minimum reputation an user must have to be allowed to reopen his own question."))) - -REP_TO_RETAG = Setting('REP_TO_RETAG', 500, MIN_REP_SET, dict( -label = _("Minimum reputation to retag others questions"), -help_text = _("The minimum reputation an user must have to be allowed to retag others questions."))) - -REP_TO_EDIT_WIKI = Setting('REP_TO_EDIT_WIKI', 750, MIN_REP_SET, dict( -label = _("Minimum reputation to edit wiki posts"), -help_text = _("The minimum reputation an user must have to be allowed to edit community wiki posts."))) - -REP_TO_WIKIFY = Setting('REP_TO_WIKIFY', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to mark post as community wiki"), -help_text = _("The minimum reputation an user must have to be allowed to mark a post as community wiki."))) - -REP_TO_EDIT_OTHERS = Setting('REP_TO_EDIT_OTHERS', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to edit others posts"), -help_text = _("The minimum reputation an user must have to be allowed to edit others posts."))) - -REP_TO_CLOSE_OTHERS = Setting('REP_TO_CLOSE_OTHERS', 3000, MIN_REP_SET, dict( -label = _("Minimum reputation to close others posts"), -help_text = _("The minimum reputation an user must have to be allowed to close others posts."))) - -REP_TO_DELETE_COMMENTS = Setting('REP_TO_DELETE_COMMENTS', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to delete comments"), -help_text = _("The minimum reputation an user must have to be allowed to delete comments."))) - -REP_TO_CONVERT_TO_COMMENT = Setting('REP_TO_CONVERT_TO_COMMENT', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to convert answers to comment"), -help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a comment."))) - -REP_TO_CONVERT_COMMENTS_TO_ANSWERS = Setting('REP_TO_CONVERT_COMMENTS_TO_ANSWERS', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to convert comments to answers"), -help_text = _("The minimum reputation an user must have to be allowed to convert comments into an answer."))) - -REP_TO_CONVERT_TO_QUESTION = Setting('REP_TO_CONVERT_TO_QUESTION', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to convert answers to questions"), -help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a question."))) - -REP_TO_VIEW_FLAGS = Setting('REP_TO_VIEW_FLAGS', 2000, MIN_REP_SET, dict( -label = _("Minimum reputation to view offensive flags"), -help_text = _("The minimum reputation an user must have to view offensive flags."))) - -#REP_TO_DISABLE_NOFOLLOW = Setting('REP_TO_DISABLE_NOFOLLOW', 2000, MIN_REP_SET, dict( -#label = _("Minimum reputation to disable nofollow"), -#help_text = _(""" -#The minimum reputation an user must have to be allowed to disable the nofollow attribute of a post link. -#"""))) diff --git a/forum/modules/template_loader.py/forum/settings/moderation.py b/forum/modules/template_loader.py/forum/settings/moderation.py deleted file mode 100644 index 6af5401..0000000 --- a/forum/modules/template_loader.py/forum/settings/moderation.py +++ /dev/null @@ -1,24 +0,0 @@ -from base import Setting, SettingSet -from forms import StringListWidget - -from django.utils.translation import ugettext_lazy as _ -from django.forms.widgets import Textarea - -MODERATION_SET = SettingSet('moderation', _('Moderation settings'), _("Define the moderation workflow of your site"), 100) - -FLAG_TYPES = Setting('FLAG_TYPES', -["Spam", "Advertising", "Offensive, Abusive, or Inappropriate", "Content violates terms of use", "Copyright Violation", - "Misleading", "Someone is not being nice", "Not relevant/off-topic", "Other"], -MODERATION_SET, dict( -label = _("Flag Reasons"), -help_text = _("Create some flag reasons to use in the flag post popup."), -widget=StringListWidget)) - - -CLOSE_TYPES = Setting('CLOSE_TYPES', -["Duplicate Question", "Question is off-topic or not relevant", "Too subjective and argumentative", - "The question is answered, right answer was accepted", "Problem is not reproducible or outdated", "Other"], -MODERATION_SET, dict( -label = _("Close Reasons"), -help_text = _("Create some close reasons to use in the close question popup."), -widget=StringListWidget)) diff --git a/forum/modules/template_loader.py/forum/settings/repgain.py b/forum/modules/template_loader.py/forum/settings/repgain.py deleted file mode 100644 index cfb566b..0000000 --- a/forum/modules/template_loader.py/forum/settings/repgain.py +++ /dev/null @@ -1,45 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -REP_GAIN_SET = SettingSet('repgain', _('Reputation gains and losses config'), _("Configure the reputation points a user may gain or lose upon certain actions."), 200) - -INITIAL_REP = Setting('INITIAL_REP', 1, REP_GAIN_SET, dict( -label = _("Initial reputation"), -help_text = _("The initial reputation an user gets when he first signs in."))) - -MAX_REP_BY_UPVOTE_DAY = Setting('MAX_REP_BY_UPVOTE_DAY', 200, REP_GAIN_SET, dict( -label = "Max rep by up votes / day", -help_text = _("Maximum reputation a user can gain in one day for being upvoted."))) - -REP_GAIN_BY_UPVOTED = Setting('REP_GAIN_BY_UPVOTED', 10, REP_GAIN_SET, dict( -label = _("Rep gain by upvoted"), -help_text = _("Reputation a user gains for having one of his posts up voted."))) - -REP_LOST_BY_DOWNVOTED = Setting('REP_LOST_BY_DOWNVOTED', 2, REP_GAIN_SET, dict( -label = _("Rep lost by downvoted"), -help_text = _("Reputation a user loses for having one of his posts down voted."))) - -REP_LOST_BY_DOWNVOTING = Setting('REP_LOST_BY_DOWNVOTING', 1, REP_GAIN_SET, dict( -label = _("Rep lost by downvoting"), -help_text = _("Reputation a user loses for down voting a post."))) - - -REP_GAIN_BY_ACCEPTED = Setting('REP_GAIN_BY_ACCEPTED', 15, REP_GAIN_SET, dict( -label = _("Rep gain by accepted answer"), -help_text = _("Reputation a user gains for having one of his answers accepted."))) - -REP_GAIN_BY_ACCEPTING = Setting('REP_GAIN_BY_ACCEPTING', 2, REP_GAIN_SET, dict( -label = _("Rep gain by accepting answer"), -help_text = _("Reputation a user gains for accepting an answer to one of his questions."))) - -REP_LOST_BY_FLAGGED = Setting('REP_LOST_BY_FLAGGED', 2, REP_GAIN_SET, dict( -label = _("Rep lost by post flagged"), -help_text = _("Reputation a user loses by having one of his posts flagged."))) - -REP_LOST_BY_FLAGGED_3_TIMES = Setting('REP_LOST_BY_FLAGGED_3_TIMES', 30, REP_GAIN_SET, dict( -label = _("Rep lost by post flagged and hidden"), -help_text = _("Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to hide the post."))) - -REP_LOST_BY_FLAGGED_5_TIMES = Setting('REP_LOST_BY_FLAGGED_5_TIMES', 100, REP_GAIN_SET, dict( -label = _("Rep lost by post flagged and deleted"), -help_text = _("Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to delete the post."))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/sidebar.py b/forum/modules/template_loader.py/forum/settings/sidebar.py deleted file mode 100644 index ee75293..0000000 --- a/forum/modules/template_loader.py/forum/settings/sidebar.py +++ /dev/null @@ -1,78 +0,0 @@ -from base import Setting, SettingSet -from django.forms.widgets import Textarea, Select -from django.utils.translation import ugettext_lazy as _ - -from static import RENDER_CHOICES - -SIDEBAR_SET = SettingSet('sidebar', 'Sidebar content', "Enter contents to display in the sidebar. You can use markdown and some basic html tags.", 10, True) - -SHOW_WELCOME_BOX = Setting('SHOW_WELCOME_BOX', True, SIDEBAR_SET, dict( -label = _("Show the Welcome box"), -help_text = _("Do you want to show the welcome box when a user first visits your site."), -required=False)) - -APP_INTRO = Setting('APP_INTRO', u'

Ask and answer questions, make the world better!

', SIDEBAR_SET, dict( -label = _("Application intro"), -help_text = _("The introductory page that is visible in the sidebar for anonymous users."), -widget=Textarea)) - - -SIDEBAR_UPPER_SHOW = Setting('SIDEBAR_UPPER_SHOW', True, SIDEBAR_SET, dict( -label = "Show Upper Block", -help_text = "Check if your pages should display the upper sidebar block.", -required=False)) - -SIDEBAR_UPPER_DONT_WRAP = Setting('SIDEBAR_UPPER_DONT_WRAP', False, SIDEBAR_SET, dict( -label = "Don't Wrap Upper Block", -help_text = "Don't wrap upper block with the standard style.", -required=False)) - -SIDEBAR_UPPER_TEXT = Setting('SIDEBAR_UPPER_TEXT', -u""" -[![WebFaction logo][2]][1] -## [Reliable OSQA Hosting][1] - -We recommend [**WebFaction**][1] for OSQA hosting. For \ -under $10/month their reliable servers get the job done. See our \ -[**step-by-step setup guide**](http://wiki.osqa.net/display/docs/Installing+OSQA+on+WebFaction). - -[1]: http://www.webfaction.com?affiliate=osqa -[2]: /m/default/media/images/webfaction.png""", SIDEBAR_SET, dict( -label = "Upper Block Content", -help_text = " The upper sidebar block. ", -widget=Textarea(attrs={'rows': '10'}))) - -SIDEBAR_UPPER_RENDER_MODE = Setting('SIDEBAR_UPPER_RENDER_MODE', 'markdown', SIDEBAR_SET, dict( -label = _("Upper block rendering mode"), -help_text = _("How to render your upper block code."), -widget=Select(choices=RENDER_CHOICES), -required=False)) - - -SIDEBAR_LOWER_SHOW = Setting('SIDEBAR_LOWER_SHOW', True, SIDEBAR_SET, dict( -label = "Show Lower Block", -help_text = "Check if your pages should display the lower sidebar block.", -required=False)) - -SIDEBAR_LOWER_DONT_WRAP = Setting('SIDEBAR_LOWER_DONT_WRAP', False, SIDEBAR_SET, dict( -label = "Don't Wrap Lower Block", -help_text = "Don't wrap lower block with the standard style.", -required=False)) - -SIDEBAR_LOWER_TEXT = Setting('SIDEBAR_LOWER_TEXT', -u""" -## Learn more about OSQA - -The [**OSQA website**](http://www.osqa.net/) and [**OSQA wiki**](http://wiki.osqa.net/) \ -are great resources to help you learn more about the OSQA open source Q&A system. \ -[**Join the OSQA chat!**](http://meta.osqa.net/question/79/is-there-an-online-chat-room-or-irc-channel-for-osqa#302) -""", SIDEBAR_SET, dict( -label = "Lower Block Content", -help_text = " The lower sidebar block. ", -widget=Textarea(attrs={'rows': '10'}))) - -SIDEBAR_LOWER_RENDER_MODE = Setting('SIDEBAR_LOWER_RENDER_MODE', 'markdown', SIDEBAR_SET, dict( -label = _("Lower block rendering mode"), -help_text = _("How to render your lower block code."), -widget=Select(choices=RENDER_CHOICES), -required=False)) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/static.py b/forum/modules/template_loader.py/forum/settings/static.py deleted file mode 100644 index 9eb5d39..0000000 --- a/forum/modules/template_loader.py/forum/settings/static.py +++ /dev/null @@ -1,106 +0,0 @@ -from base import Setting, SettingSet -from django.forms.widgets import Textarea, RadioSelect, Select -from django.utils.translation import ugettext_lazy as _ - -RENDER_CHOICES = ( -('markdown', _('Markdown')), -('html', _('HTML')), -('escape', _('Escaped')) -) - -STATIC_PAGE_REGISTRY = Setting('STATIC_PAGE_REGISTRY', {}) - -CSS_SET = SettingSet('css', 'Custom CSS', "Define some custom css you can use to override the default css.", 2000, - can_preview=True) - -USE_CUSTOM_CSS = Setting('USE_CUSTOM_CSS', False, CSS_SET, dict( - label = _("Use custom CSS"), - help_text = _("Do you want to use custom CSS."), - required=False)) - -CUSTOM_CSS = Setting('CUSTOM_CSS', '', CSS_SET, dict( - label = _("Custom CSS"), - help_text = _("Your custom CSS."), - widget=Textarea(attrs={'rows': '25'}), - required=False)) - -HEAD_AND_FOOT_SET = SettingSet('headandfoot', 'Header and Footer', "Adds a custom header and/or footer to your page", - 2000, can_preview=True) - -USE_CUSTOM_HEADER = Setting('USE_CUSTOM_HEADER', False, HEAD_AND_FOOT_SET, dict( - label = _("Use custom header"), - help_text = _("Do you want to use a custom header."), - required=False)) - -CUSTOM_HEADER = Setting('CUSTOM_HEADER', '', HEAD_AND_FOOT_SET, dict( - label = _("Custom Header"), - help_text = _("Your custom header."), - widget=Textarea(attrs={'rows': '25'}), - required=False)) - -CUSTOM_HEADER_RENDER_MODE = Setting('CUSTOM_HEADER_RENDER_MODE', 'markdown', HEAD_AND_FOOT_SET, dict( - label = _("Custom Header rendering mode"), - help_text = _("How to render your custom header code."), - widget=Select(choices=RENDER_CHOICES), - required=False)) - -USE_ANNOUNCEMENT_BAR = Setting('USE_ANNOUNCEMENT_BAR', False, HEAD_AND_FOOT_SET, dict( - label = _("Show announcement bar"), - help_text = _("Some piece of content that goes under the search bar and can be used for announcements, etc."), - required=False)) - -ANNOUNCEMENT_BAR = Setting('ANNOUNCEMENT_BAR', '', HEAD_AND_FOOT_SET, dict( - label = _("Announcement bar"), - help_text = _("The announcement bar content."), - widget=Textarea(attrs={'rows': '25'}), - required=False)) - -ANNOUNCEMENT_BAR_RENDER_MODE = Setting('ANNOUNCEMENT_BAR_RENDER_MODE', 'markdown', HEAD_AND_FOOT_SET, dict( - label = _("Announcement bar rendering mode"), - help_text = _("How to render your announcement bar code."), - widget=Select(choices=RENDER_CHOICES), - required=False)) - -USE_CUSTOM_FOOTER = Setting('USE_CUSTOM_FOOTER', False, HEAD_AND_FOOT_SET, dict( - label = _("Use custom footer"), - help_text = _("Do you want to use a custom footer."), - required=False)) - -CUSTOM_FOOTER = Setting('CUSTOM_FOOTER', '', HEAD_AND_FOOT_SET, dict( - label = _("Custom Footer"), - help_text = _("Your custom footer."), - widget=Textarea(attrs={'rows': '25'}), - required=False)) - -CUSTOM_FOOTER_RENDER_MODE = Setting('CUSTOM_FOOTER_RENDER_MODE', 'markdown', HEAD_AND_FOOT_SET, dict( - label = _("Custom footer rendering mode"), - help_text = _("How to render your custom footer code."), - widget=Select(choices=RENDER_CHOICES), - required=False)) - -CUSTOM_FOOTER_MODE_CHOICES = ( -('replace', _('Replace default footer')), -('above', _('Above default footer')), -('below', _('Below default footer')), -) - -CUSTOM_FOOTER_MODE = Setting('CUSTOM_FOOTER_MODE', 'replace', HEAD_AND_FOOT_SET, dict( - label = _("Custom Footer Mode"), - help_text = _("How your custom footer will appear."), - widget=RadioSelect, - choices=CUSTOM_FOOTER_MODE_CHOICES, - required=False)) - -HEAD_SET = SettingSet('head', '', "Define some custom elements to include in the head section of every page.", - 2000, can_preview=True) - -USE_CUSTOM_HEAD = Setting('USE_CUSTOM_HEAD', False, HEAD_SET, dict( - label = _("Use custom Head elements"), - help_text = _("Do you want to use custom head elements."), - required=False)) - -CUSTOM_HEAD = Setting('CUSTOM_HEAD', '', HEAD_SET, dict( - label = _("Custom Head"), - help_text = _("Your custom Head elements."), - widget=Textarea(attrs={'rows': '25'}), - required=False)) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/upload.py b/forum/modules/template_loader.py/forum/settings/upload.py deleted file mode 100644 index 6e66e00..0000000 --- a/forum/modules/template_loader.py/forum/settings/upload.py +++ /dev/null @@ -1,17 +0,0 @@ -import os.path -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -UPLOAD_SET = SettingSet('paths', _('File upload settings'), _("File uploads related settings."), 600) - -UPFILES_FOLDER = Setting('UPFILES_FOLDER', os.path.join(os.path.dirname(os.path.dirname(__file__)),'upfiles'), UPLOAD_SET, dict( -label = _("Uploaded files folder"), -help_text = _("The filesystem path where uploaded files will be stored. Please note that this folder must exist."))) - -UPFILES_ALIAS = Setting('UPFILES_ALIAS', '/upfiles/', UPLOAD_SET, dict( -label = _("Uploaded files alias"), -help_text = _("The url alias for uploaded files. Notice that if you change this setting, you'll need to restart your site."))) - -ALLOW_MAX_FILE_SIZE = Setting('ALLOW_MAX_FILE_SIZE', 2.5, UPLOAD_SET, dict( -label = _("Max file size"), -help_text = _("The maximum allowed file size for uploads in mb."))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/urls.py b/forum/modules/template_loader.py/forum/settings/urls.py deleted file mode 100644 index e532c55..0000000 --- a/forum/modules/template_loader.py/forum/settings/urls.py +++ /dev/null @@ -1,15 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext as _ - -URLS_SET = SettingSet('urls', _('URL settings'), _("Some settings to tweak behaviour of site urls (experimental).")) - -ALLOW_UNICODE_IN_SLUGS = Setting('ALLOW_UNICODE_IN_SLUGS', False, URLS_SET, dict( -label = _("Allow unicode in slugs"), -help_text = _("Allow unicode/non-latin characters in urls."), -required=False)) - -FORCE_SINGLE_URL = Setting('FORCE_SINGLE_URL', True, URLS_SET, dict( -label = _("Force single url"), -help_text = _("Redirect the request in case there is a mismatch between the slug in the url and the actual slug"), -required=False)) - diff --git a/forum/modules/template_loader.py/forum/settings/users.py b/forum/modules/template_loader.py/forum/settings/users.py deleted file mode 100644 index 040e8eb..0000000 --- a/forum/modules/template_loader.py/forum/settings/users.py +++ /dev/null @@ -1,86 +0,0 @@ -from forms import CommaStringListWidget -from django.forms import CheckboxSelectMultiple -from django.forms.widgets import RadioSelect -from base import Setting, SettingSet -from django.utils.translation import ugettext as _ - -USERS_SET = SettingSet('users', _('Users settings'), _("General settings for the OSQA users."), 20) - -EDITABLE_SCREEN_NAME = Setting('EDITABLE_SCREEN_NAME', False, USERS_SET, dict( -label = _("Editable screen name"), -help_text = _("Allow users to alter their screen name."), -required=False)) - -MIN_USERNAME_LENGTH = Setting('MIN_USERNAME_LENGTH', 3, USERS_SET, dict( -label = _("Minimum username length"), -help_text = _("The minimum length (in character) of a username."))) - -RESERVED_USERNAMES = Setting('RESERVED_USERNAMES', -[_('fuck'), _('shit'), _('ass'), _('sex'), _('add'), _('edit'), _('save'), _('delete'), _('manage'), _('update'), _('remove'), _('new')] -, USERS_SET, dict( -label = _("Disabled usernames"), -help_text = _("A comma separated list of disabled usernames (usernames not allowed during a new user registration)."), -widget=CommaStringListWidget)) - -SHOW_STATUS_DIAMONDS = Setting('SHOW_STATUS_DIAMONDS', True, USERS_SET, dict( -label=_("Show status diamonds"), -help_text = _("Show status \"diamonds\" next to moderators or superusers usernames."), -required=False, -)) - -EMAIL_UNIQUE = Setting('EMAIL_UNIQUE', True, USERS_SET, dict( -label = _("Force unique email"), -help_text = _("Should each user have an unique email."), -required=False)) - -REQUIRE_EMAIL_VALIDATION_TO = Setting('REQUIRE_EMAIL_VALIDATION_TO', [], USERS_SET, dict( -label = _("Require email validation to..."), -help_text = _("Which actions in this site, users without a valid email will be prevented from doing."), -widget=CheckboxSelectMultiple, -choices=(("ask", _("ask questions")), ("answer", _("provide answers")), ("comment", _("make comments")), ("flag", _("report posts"))), -required=False, -)) - -DONT_NOTIFY_UNVALIDATED = Setting('DONT_NOTIFY_UNVALIDATED', True, USERS_SET, dict( -label = _("Don't notify to invalid emails"), -help_text = _("Do not notify users with unvalidated emails."), -required=False)) - -HOLD_PENDING_POSTS_MINUTES = Setting('HOLD_PENDING_POSTS_MINUTES', 120, USERS_SET, dict( -label=_("Hold pending posts for X minutes"), -help_text=_("How much time in minutes a post should be kept in session until the user logs in or validates the email.") -)) - -WARN_PENDING_POSTS_MINUTES = Setting('WARN_PENDING_POSTS_MINUTES', 15, USERS_SET, dict( -label=_("Warn about pending posts afer X minutes"), -help_text=_("How much time in minutes a user that just logged in or validated his email should be warned about a pending post instead of publishing it automatically.") -)) - -GRAVATAR_RATING_CHOICES = ( - ('g', _('suitable for display on all websites with any audience type.')), - ('pg', _('may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.')), - ('r', _('may contain such things as harsh profanity, intense violence, nudity, or hard drug use.')), - ('x', _('may contain hardcore sexual imagery or extremely disturbing violence.')), -) - -GRAVATAR_ALLOWED_RATING = Setting('GRAVATAR_ALLOWED_RATING', 'g', USERS_SET, dict( -label = _("Gravatar rating"), -help_text = _("Gravatar allows users to self-rate their images so that they can indicate if an image is appropriate for a certain audience."), -widget=RadioSelect, -choices=GRAVATAR_RATING_CHOICES, -required=False)) - -GRAVATAR_DEFAULT_CHOICES = ( - ('mm', _('(mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)')), - ('identicon', _('a geometric pattern based on an email hash')), - ('monsterid', _('a generated "monster" with different colors, faces, etc')), - ('wavatar', _('generated faces with differing features and backgrounds')), -) - -GRAVATAR_DEFAULT_IMAGE = Setting('GRAVATAR_DEFAULT_IMAGE', 'identicon', USERS_SET, dict( -label = _("Gravatar default"), -help_text = _("Gravatar has a number of built in options which you can also use as defaults."), -widget=RadioSelect, -choices=GRAVATAR_DEFAULT_CHOICES, -required=False)) - diff --git a/forum/modules/template_loader.py/forum/settings/view.py b/forum/modules/template_loader.py/forum/settings/view.py deleted file mode 100644 index 1eb44b0..0000000 --- a/forum/modules/template_loader.py/forum/settings/view.py +++ /dev/null @@ -1,17 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -""" view settings """ -VIEW_SET = SettingSet('view', _('View settings'), _("Set up how certain parts of the site are displayed."), 20) - -RECENT_TAGS_SIZE = Setting('RECENT_TAGS_SIZE', 25, VIEW_SET, dict( -label = _("Recent tags block size"), -help_text = _("The number of tags to display in the recent tags block in the front page."))) - -RECENT_AWARD_SIZE = Setting('RECENT_AWARD_SIZE', 15, VIEW_SET, dict( -label = _("Recent awards block size"), -help_text = _("The number of awards to display in the recent awards block in the front page."))) - -LIMIT_RELATED_TAGS = Setting('LIMIT_RELATED_TAGS', 0, VIEW_SET, dict( -label = _("Limit related tags block"), -help_text = _("Limit related tags block size in questions list pages. Set to 0 to display all all tags."))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/settings/voting.py b/forum/modules/template_loader.py/forum/settings/voting.py deleted file mode 100644 index aea9153..0000000 --- a/forum/modules/template_loader.py/forum/settings/voting.py +++ /dev/null @@ -1,32 +0,0 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -VOTE_RULES_SET = SettingSet('voting', _('Voting rules'), _("Configure the voting rules on your site."), 400) - -USER_REPUTATION_TO_MAX_VOTES = Setting('USER_REPUTATION_TO_MAX_VOTES', True, VOTE_RULES_SET, dict( -label = _("Add reputation to max votes per day"), required=False, -help_text = _("The user reputation is added to the static MAX_VOTES_PER_DAY option. Users with higher reputation can vote more."))) - -MAX_VOTES_PER_DAY = Setting('MAX_VOTES_PER_DAY', 30, VOTE_RULES_SET, dict( -label = _("Maximum votes per day"), -help_text = _("The maximum number of votes an user can cast per day."))) - -START_WARN_VOTES_LEFT = Setting('START_WARN_VOTES_LEFT', 10, VOTE_RULES_SET, dict( -label = _("Start warning about votes left"), -help_text = _("From how many votes left should an user start to be warned about it."))) - -MAX_FLAGS_PER_DAY = Setting('MAX_FLAGS_PER_DAY', 5, VOTE_RULES_SET, dict( -label = _("Maximum flags per day"), -help_text = _("The maximum number of times an can flag a post per day."))) - -FLAG_COUNT_TO_HIDE_POST = Setting('FLAG_COUNT_TO_HIDE_POST', 3, VOTE_RULES_SET, dict( -label = _("Flag count to hide post"), -help_text = _("How many times a post needs to be flagged to be hidden from the main page."))) - -FLAG_COUNT_TO_DELETE_POST = Setting('FLAG_COUNT_TO_DELETE_POST', 5, VOTE_RULES_SET, dict( -label = _("Flag count to delete post"), -help_text = _("How many times a post needs to be flagged to be deleted."))) - -DENY_UNVOTE_DAYS = Setting('DENY_UNVOTE_DAYS', 1, VOTE_RULES_SET, dict( -label = _("Days to cancel a vote"), -help_text = _("How many days an user can cancel a vote after he originaly casted it."))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/sitemap.py b/forum/modules/template_loader.py/forum/sitemap.py deleted file mode 100644 index edb3220..0000000 --- a/forum/modules/template_loader.py/forum/sitemap.py +++ /dev/null @@ -1,80 +0,0 @@ -from django.contrib.sitemaps import Sitemap -from forum.models import Question -from django.conf import settings -from django.http import HttpResponse, Http404 -from django.template import loader -from django.core import urlresolvers -from django.utils.encoding import smart_str -from django.core.paginator import EmptyPage, PageNotAnInteger - -def index(request, sitemaps): - sites = [] - for section, site in sitemaps.items(): - if callable(site): - pages = site().paginator.num_pages - else: - pages = site.paginator.num_pages - sitemap_url = urlresolvers.reverse('forum.sitemap.sitemap', kwargs={'section': section}) - sites.append('%s%s' % (settings.APP_URL, sitemap_url)) - if pages > 1: - for page in range(2, pages+1): - sites.append('%s%s?p=%s' % (settings.APP_URL, sitemap_url, page)) - xml = loader.render_to_string('sitemap_index.xml', {'sitemaps': sites}) - return HttpResponse(xml, mimetype='application/xml') - -def sitemap(request, sitemaps, section=None): - maps, urls = [], [] - if section is not None: - if section not in sitemaps: - raise Http404("No sitemap available for section: %r" % section) - maps.append(sitemaps[section]) - else: - maps = sitemaps.values() - page = request.GET.get("p", 1) - - for site in maps: - try: - if callable(site): - urls.extend(site().get_urls(page=page)) - else: - urls.extend(site.get_urls(page=page)) - except EmptyPage: - raise Http404("Page %s empty" % page) - except PageNotAnInteger: - raise Http404("No page '%s'" % page) - xml = smart_str(loader.render_to_string('sitemap.xml', {'urlset': urls})) - return HttpResponse(xml, mimetype='application/xml') - -class OsqaSitemap(Sitemap): - changefreq = 'daily' - priority = 0.5 - def items(self): - return Question.objects.filter_state(deleted=False) - - def lastmod(self, obj): - return obj.last_activity_at - - def location(self, obj): - return obj.get_absolute_url() - - def __get(self, name, obj, default=None): - try: - attr = getattr(self, name) - except AttributeError: - return default - if callable(attr): - return attr(obj) - return attr - - def get_urls(self, page=1): - urls = [] - for item in self.paginator.page(page).object_list: - loc = "%s%s" % (settings.APP_URL, self.__get('location', item)) - url_info = { - 'location': loc, - 'lastmod': self.__get('lastmod', item, None), - 'changefreq': self.__get('changefreq', item, None), - 'priority': self.__get('priority', item, None) - } - urls.append(url_info) - return urls \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/README b/forum/modules/template_loader.py/forum/skins/README deleted file mode 100644 index 5565fa8..0000000 --- a/forum/modules/template_loader.py/forum/skins/README +++ /dev/null @@ -1,22 +0,0 @@ -this directory contains available skins - -1) default - default skin with templates -2) common - this directory is to media directory common to all or many templates - -to create a new skin just create another directory under skins/ -and start populating it with the directory structure as in -default/templates - templates must be named the same way - -NO NEED TO CREATE ALL TEMPLATES/MEDIA FILES AT ONCE - -templates are resolved in the following way: -* check in skin named as in settings.OSQA_DEFAULT_SKIN -* then skin named 'default' - -media is resolved with one extra option -* settings.OSQA_DEFAULT_SKIN -* 'default' -* 'common' - -media does not have to be composed of files named the same way as in default skin -whatever media you link to from your templates - will be in operation diff --git a/forum/modules/template_loader.py/forum/skins/__init__.py b/forum/modules/template_loader.py/forum/skins/__init__.py deleted file mode 100644 index 365ed9f..0000000 --- a/forum/modules/template_loader.py/forum/skins/__init__.py +++ /dev/null @@ -1,144 +0,0 @@ -from django.conf import settings -from django.template.loaders import filesystem -from django.template import TemplateDoesNotExist, Template as DJTemplate -from django.conf import settings as djsettings -import os.path -import logging - -UNEXISTENT_TEMPLATE = object() - -SKINS_FOLDER = os.path.dirname(__file__) -SKIN_TEMPLATES_FOLDER = 'templates' -DEFAULT_SKIN_NAME = 'default' - - -class Template(object): - - def __init__(self, file_name): - self._file_name = file_name - self._loaded = False - - def _get_mtime(self): - return os.path.getmtime(self._file_name) - - def _check_mtime(self): - if self._last_mtime is None: - return False - - return self._last_mtime == self._get_mtime() - - def _load(self): - try: - f = open(self._file_name, 'r') - self._source = DJTemplate(f.read()) - f.close() - self._loaded = True - - self._last_mtime = self._get_mtime() - except: - self._loaded = False - self._last_mtime = None - - raise - - def return_tuple(self): - if not (self._loaded and self._check_mtime()): - try: - self._load() - except: - raise TemplateDoesNotExist, self._file_name - - return self._source, self._file_name - -class BaseTemplateLoader(object): - is_usable = True - - def __init__(self): - self.cache = {} - - def __call__(self, name=None, dirs=None): - if name is None: - return self - - return self.load_template(name, dirs) - - def load_template(self, name, dirs=None): - if not djsettings.TEMPLATE_DEBUG: - if name in self.cache: - if self.cache[name] is UNEXISTENT_TEMPLATE: - raise TemplateDoesNotExist, name - - try: - return self.cache[name].return_tuple() - except: - del self.cache[name] - - template = self.load_template_source(name, dirs) - - if template is not None: - if not djsettings.DEBUG: - self.cache[name] = template - - return template.return_tuple() - else: - if not djsettings.DEBUG: - self.cache[name] = UNEXISTENT_TEMPLATE - - raise TemplateDoesNotExist, name - - def load_template_source(self, name, dirs=None): - raise NotImplementedError - - -class SkinsTemplateLoader(BaseTemplateLoader): - - def load_template_source(self, name, dirs=None): - file_name = os.path.join(SKINS_FOLDER, settings.OSQA_DEFAULT_SKIN, SKIN_TEMPLATES_FOLDER, name) - - if os.path.exists(file_name): - return Template(file_name) - - file_name = os.path.join(SKINS_FOLDER, DEFAULT_SKIN_NAME, SKIN_TEMPLATES_FOLDER, name) - - if os.path.exists(file_name): - return Template(file_name) - - return None - -load_template_source = SkinsTemplateLoader() - - -def find_media_source(url): - """returns url prefixed with the skin name - of the first skin that contains the file - directories are searched in this order: - settings.OSQA_DEFAULT_SKIN, then 'default', then 'commmon' - if file is not found - returns None - and logs an error message - """ - while url[0] == '/': url = url[1:] - d = os.path.dirname - n = os.path.normpath - j = os.path.join - f = os.path.isfile - skins = n(j(d(d(__file__)),'skins')) - try: - media = os.path.join(skins, settings.OSQA_DEFAULT_SKIN, url) - assert(f(media)) - use_skin = settings.OSQA_DEFAULT_SKIN - except: - try: - media = j(skins, 'default', url) - assert(f(media)) - use_skin = 'default' - except: - media = j(skins, 'common', url) - try: - assert(f(media)) - use_skin = 'common' - except: - logging.error('could not find media for %s' % url) - use_skin = '' - return None - return use_skin + '/' + url - diff --git a/forum/modules/template_loader.py/forum/skins/common/media/README b/forum/modules/template_loader.py/forum/skins/common/media/README deleted file mode 100644 index 3376e75..0000000 --- a/forum/modules/template_loader.py/forum/skins/common/media/README +++ /dev/null @@ -1 +0,0 @@ -directory for media common to all or many templates diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/blue-up-arrow-h18px.png b/forum/modules/template_loader.py/forum/skins/default/media/images/blue-up-arrow-h18px.png deleted file mode 100644 index e1f29e86334ce72d2d28989a133571d7bf53a94e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 593 zcmV-X0{6iqad+$V|KR(Q{q;Ok;ua!jjQtuI1z7)O( zySE1i5k-TnUMhU^!Fth&L`=(4hnCB&mew0>atrF^~@9muPo$nmJ5BNLwb>CS+ z;4aaxR`*WD1Hfmk^?b25_^vW#;gMP0a=;-lw8uKYF+TucXlk2wNsBS@}pFD ztaavBN$@-;DyO5Dqi0!d9a~=U7;O0Ayiuq>#Jyi<@Hb@35~1ra$v5dmgDzqB>^+=uOM7b5+>fY}+kwy1R`cV__*wFuQ!Bi@#VE~BJd f7UnWh{5Sjn&bP0xmAf5500000NkvXXu0mjfU!M$- diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/box-arrow.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/box-arrow.gif deleted file mode 100644 index 89dcf5b3dd40fac0e6afb0b1a7ff899a059f923f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69 zcmZ?wbhEHbWM@!dXkcJ?_wL=lfBzJJvM@6+Ff!;c00Bsbfk~#Pf92`7{EJz*0#eqW WoE7iinDij`X5pe+YFj-S8LR>Nkr%B1 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/bullet_green.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/bullet_green.gif deleted file mode 100644 index fa530910f9dc11fadaa2314f72bd98f29df39daf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 64 zcmZ?wbhEHbKLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=00004XF*Lt006O$eEU(80000WV@Og>004R=004l4008;_004mL004C` z008P>0026e000+nl3&F}000Q~Nkl0x(=yA<`H9zo;y7lu1KkAHW+`R1R0{t-h6aWM?@6`shN z3n7GI01yDUaq~J@mIceQ;5ZH}%YkEAu$*~iSuhL>mSMm!48Sm!77!2+oj@l#blpgr zrWsdVgQn@wb&b~PM5pZuA=b;#{No@8_a6cPFaU@JF2`|3V!2YDg=rjJgHnE-PRF^hwHZ!8V@V;R|O)=}>9cpx2+ zuyx0lRe`Zy`WXP^lUx4)&+`;ip689k@fcP{(08s6Q&UsRQs{QO(f+%3w6yGks%g+P z6{>0`O@*pzl;M?_T+ZSL|M?OZ;}g{rD3swz~q2vt>`Cc^?)H*L8M=&uW3BXlB+LZJXjk`Rl< z(9qD}_=tQykG8fp$g&KV%Z1*)-erTZ-ufxPxBhhtH5RZnJZktF2e^VDARG=O6beBQ zgas8Q5(%`mwNap(JWY6i;BWX|Z7o!_h+?rwnOqU%GJD+lW)~*169@zX7#tidO*_-H z*qNS4BoGV+(d22unR7kM0-%!q$;nAfO->rKvA!Pl_4O;(e{laHumHfBHkju)@SKym zq9`JrP9qYDEDA0F1Ofr%aydH1CbAPa-*>@b%USA?Fr{Sv*#W#amc~SO0+J-5{nV)? zKPC_eK$0X(WG8TMEWIq7Tdx1_moLNn{0lgG_y~?3J_7IaFW}RgH&>+J5*7eh%Pr$L z3@alJaFfa8ylJzT2!eoQGD$&}hhz*7kAUO&${@3r+Xn~8^2f$I#9}dcnw!i0%ZdwP zEEaS0T};aLkKVqG?yd;xpLrHuuMY=WTLA#S{?%*vQ-6Qe`W*lp3^rKYcdm~DH8?o9 zBx@G~+3MT(hd$GnHo;{~pPDs23vuBP{P=5Eu2XLz91c?!u0#Yu zpd&stHHB+euhR{S0rJ8o!jekQPb3l*^NaOaNbGHU-!+K!*AG9SWj}uDB>+I7P{5ZD z9#pNL0&KAOFfRLXF%B#8o}C<=T&pQDqaC{Ppy zp->2Zzkgoc`1m+ol_g0+B9TBUl`?jKHei7gxFxT=q$`ujR9ws~<^}?RdG(e0EF|`} zH9U{@lP9sUww9KS-o8!q&ow+(wSF6ejSsbUXqz{0rVZNK+Nk}><#KeOgbPr26#DQwYBEB#s4%bosxJ6tXo z5{U%-em~V^_k;8KJp6t?`uqFga=CCKbYj^bUrGP=9ouoBwG{_iTj6PLUX^~zVC#kJ zTy>Z&%wl|eoHmF=BJ|;#Hf?eMXVqmgnR#`VSi0(5bs)sH9R`6lrsmzemwU?f6yg{A z@y^?QkYyRNEJGAUh@uEV5TGauCBsUBG3%|LuG^z`N3mhU21L7}kcVUlf`IAiX@_SJ zkH=|@!Rz%R5{Xdu#^Z6?)?Nnyjg5`S=ks{+M=#<+>^vUL&7oMFLs2cFSX7}|aS2_6 zuIV%gU%pfOHij!{u;=!jf1{>m13nx1458nI=(aE%4zKE^tpEuCoPGN&e!6Ej=8AKe zD;A*^izupP09Oe3eA@%=EC70>N6hVZllY(GBy&Ga?qtTudw+Rv)hr-{ zESk5Mtyce1&s;TwEeXF7!qHzGrKb=|au`>yTwV0oexI}tUT+IMYrAsgD$YjFu6~iI zz^=7oZuv7Ro%gMV#mr*+)~(yNpfl2i`X9J$rxEsWBOHFK^^Yf0laqM&d<-MQBWtq? z+dy1v)3DI97JKHJ0c^>xmR;DhcMrC0--hqIT+SG-=~{hNDB$j$ySQ=f#+m{9O)+>W x8^7)VKarISLkQW(FwB3SK(P)R3__Uy4FK>(yR3Yb!O;K!002ovPDHLkV1lxPh(-Va diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/cc-88x31.png b/forum/modules/template_loader.py/forum/skins/default/media/images/cc-88x31.png deleted file mode 100644 index 0f2a0f10722d3fabffe8af5d5eed09866e25909a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5460 zcmV-a6|3rrP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=00004XF*Lt006O$eEU(80000WV@Og>004R=004l4008;_004mL004C` z008P>0026e000+nl3&F}000VaNklJyRN8J52lge3Dk<@*>AXrMmGP=H z$s9P2&*V2vPMX-1L}oIXPMP_nlH^n>#fZ%$`c@)Y4M0h*N)5H*Dy5UhPr>W;VqjnZ zld(w!&=SoOtX;bn<{y|*_V7bUrc~hhgft*Y9vryzSY}M06iG7y={dwn-rQt#5xb>+`RC^f6v^z4(Q|d8B-!MDTk(XP{Q8r-@ZB!XmXA&5bSa9P_XS zTCEm>AV9CzqqMXX0MOIZgGeL-kH>?Fi3wI$un4HD--X4uEk+`dKs=E^A`wR-kx-fp zO5tksDt`IIQ;5Z45Cj2ErxSX;UeVb|B!b%7T6jDjXfztMI$CGF)V0_(RPU_$!r;hu zn9lZ|rQW`C)aUP`!JwZmydNaNB2aqrl2)swmX;QZMx!*Bbai!+R;y+0iVQ_`zOR=C zgM;K7?4#bkbL8zkOJ~GxdiQVd(CO||bmE=kWH1;A09mb81)hvE^BFSsTgU&bNJWOC ztT-;GleTW!d{a21qod^O>my%ZAB~QV=7j@*cmPnPZLnIUf?B22T%*y5Kp=qT=4NQM z+BwaG)oMjJ9A;B#Bs79{#}S1s=b1+$c_V(GAE8hPf*_!N_wIR3kkx91AP5)f1LhU0p{MZ^CXrv4!x zo%i*U_q?RV@4WXHG89YN8xDu_#t(4No=U&Jo}T#mV+4R& zT3YDP!9xUqj=uF)UN~}pe0_Zq-ks~{XWMO5zpIW`EYs79WqNWsojGx`Xt1Qkj%OUq z-gb3$&8xN9M61=p>-Dm>jzf;LFP+w4F6~qEJVKX3FqurVY@E$zV_I&r*%W1Zy&fi$ zNwKnrLK03{Ss5PLxDjJxV>r{@jTOuE`0wO3Y}U!qMyXh{a+E1ug;r z%7vfc5AII1wI9abrbYmOyR$1Njx4Ng@pzP#D|w7a2#pJ(xpq`?(9P7 z(xtp`WNCd?Qn=s$@fCLONB7?k0Eoq6`1s0|oH&eNS)06GFC(YAx|&rIMG+Q@1!l7u zX0sV~yFF)FM@NUkUdmeRJ?qWTUJe{TP4H(Sciwdu+S(6ebaWK;yXsK#z1#8j(W5AP za099~Z(%lcF41T-aJgK#O|t|qzx;C6I-h)UeNGH%qrq|DISvB@1Com+2#gp}6k#@- z6^%qugeZ!ruC9i~VwqKT;lc%Ub#*Z;x7&?@fdOd;m?l;tmt%fqw#7`=T&vYOt2|qq znfGF`7|wKeqpkfgte0#kdvF5)px@_1zt4xl!a{J1)N|r2Qmav4SBKjcFJ|}peLj|7 zreBt`KN%V&|pt!ggq9`H~i6}ZI575lK?1PG;2!p|(*jdfQ`Nd<8qjleYth#+Asy1)I zhnFL$sH{X=`(adV+m;v3*w`3anwqh7(`K~p+mF_L`_a_U007v%XHU-lCm%bWIiI-6)J@3jZHeAiPP48 z7`7cdaOL0s!au`dxSUSxZE8eCWhLwf_M>FY>UnW&J9fafV}~@*ot^0F?8Nm?u46;l zL)cQaHD`YmCgSsyb?eu`P;7w5^H-xjdsS!VZ-~n8|ENOLdaWM?V#dG2)HJFr9tW0|%YqQ(!#>B(~ zg25n`FJBJ3-OkG7ZE|K==5(HpkFp;{CmLHCq0wmIcDrG*SXi6PC|e{FfyH7$M@I)V z8Vz<<@0|5AdwyG=6=&D(I=ueo8#jfsdd+H7R92#*vJ!^k;=FKJu*W|x zk_klrGl7HlgUpvS8jUa-jnHbf5Jiy<`g}o}Yq4u+JLq6Rn$Hu51$+93`cY6&0DF@i zo?{+pwOT}@QH5vVa=BPA$7C|0xw)AQfXn4#bu-HVVEOXph(sc|?}zu{h_fBnr=}2} zL9iS*P9;<$H0nVR0kLsr+|JUhsq9(&;-H5o|Zng_MaPR;g z-0%RV;!~K4$B~G~5l_q@I7^9PX4ba;*Y)WDdvcoO zj3Xnq$kMHKWW*MC0MyXjK>pzY3SJD*qd$FA5m5^S0t2x}BJ@2C6#Q+Tk{q)lBUdp@e%wwXN`OJIs z;mp@QAFOP37K$-TgJr3Cx*Ap6s@PGF=0 zojBKXZow~eGp1oalQ0+lLI*8hj5!IG<=)bJv7u}O?pS>XzM;{iKb@L3Fhqo_u^5I1 zhj9Aj=>-$}S!wXi+Ti)tginp&ujD2+8btKz>$5D*Z6fPgSCFq)s4ARr)MU|_7VtMKsfouZtnuBfQ3r*Lp^p{JlwP*A0- zq@1Cfpr)U+x3i3qjFXs>m70`}la833m$0y~v9++Cqn)6jpqHGMz`(%8$i=R+t&Nh5 zq^hHon3I;9m5!5*kCcwBvaFPulefCIqo|^rpqjY6xQ2>_tFEfP!M(q~zmb-Z!NkF^ zwXdY8ql%A-qNbsRiG-}Lte>Bs;NakWfqamakWo`mhl_^E%*n~k$!@r-RpNfu(v9z$Sv#yYkkeQyCudlC)kBZUM(1?tO zq^G09#>2L{waw7X)7H|dtf|k^&Z@1dwYap%%g3Rnpm}|HoS>VDj);<%k)^1lkd%*< znUoe67OAhPkB^U=pqrYWnXa;~tgx)LxwV*_my3^z@9*!Vs-!|hLJJEE8XFqAy}820 z!LYNi*4fs!xwVOnh@YgMczkyP0|LLozM`n1$;-&Gx3G12b)27@&e6@Ks-%;clc1!Z zl9iELU0PIERKmr=g^Gl;xU$R6%ErmX(9_Soz`eA&vvhZJw79gjyR?6Tex|CWKte!! ze|o5^sL;^RDk~`}EGmwYjcRUc3=9mnytX_&Jifucp{1cyRZ^m+qKAxzv9+<2my*1| zySTi!USM6Wv8@CI1gx&B#K*);PD|9+)XdM!frWsAg@J;Ef}NwCwYjvIo0pN4k*ct% zkd=>?nw0?o0Y*qh4h{~2hk=ffjhdaB($&(6jfskliU$Y>VrF8;%Ewe!Q_RoHvbC|Y zx3QF$lY@wYo1U6AHZ_uzl9rj3L`6i<)6kimm}F>Vnw^=Ko0g)bp~T3;Y;J7I%*u?A zi_X!`p`)OSkc!gP(Qa{V)Yj9fuBnickDZ{LGc+@`xV4UvjvpW&CnzUB|c9N&VVzJZykO{A@7ep{vsL1vFKYgqeXubk1PL(42z&9igG8PKEBsFPIbL zzuPQqj4CqrEMY-TigvwMdElbc@~G}?X^61YtXXhr(%*jbi-!-Jue-W#b9KF5yD6eD zG(SjF64G7tA(Ghdlk_}`JVPm!JQBK@x7?q+>*R5;X>8YkBG!65q%bTk1~iJr2WW=JJ~jRjbon3xmwrNDO*a zj8qu;_Rc+*E`y`Yo;3ev)#}vR9aBP(_;`r}kZjp=;#qK<=jP3C*uK?uX;3q;pvPI9 zfqm`VvjJda^Fw`W#GE*aSdf@^{sBhL;jbH-(rWWdmQch)^7j?@j>9PVXg+opnq?<$ zEB*U?*A_OWtovol6lT zk{gZzmk$IR0h<8$b?RJydzC)N#DxPSfrKCd?xt?Cku|+AVihEG6-7Upu?vBKBf$Cu zhrwm5!fP=j1=+9M2bUr7S=dntD*$k zBIB_rQk#DTXz~UC*U81i#hzSTXaQUffIxw70&o!(96pZ0_PpRzc?`yu*-L}+fPRpx z$4E|w)*YmXYFXy2v5~I|H2aWvTgm>B09zIx#^D0y#h~+1G?8bn96<=Clh#zQq3_~? z(ikgw8p*gm$AYvao&D-r&E%LRNc1YXa-738Jk2 zgDjl@emcqSE0v0AqEYKv-zpnfBN4j2HasE2AdIx$F&GZy z)l8%aPwjyua;BpyiV6i6DrDnH0Z9Ke)lQ^BUk4_hlmRHx`M?e%`LmSk^hmTio+U&2 z$k)xyZ8$@a{i%TcQR1~oD)CpW%|rS~C=~i08|KF0*u``t>8lCP!SCZjqWlHYe#aCHq+7okbzZ<)Gb1){Qx_Tj|xVU(lHGjqzmFVb&=VEhn z65E0GTai~TiOk;xxGNv*6zP;~$ zL=pRI=o}0zK|=?`(YY`y#vshVBMqwZlP@K6uJqQv$DA@VwuNcj!QOze1Hx?ViXp=^ zM(qw5GE49{VI~IDqX;;t;^6i>%F@`WJ_EYme@8^MqmJhE400000NkvXXu0mjf D3>(Ui diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/close-small-dark.png b/forum/modules/template_loader.py/forum/skins/default/media/images/close-small-dark.png deleted file mode 100644 index 280c1fc74e47c0e7d1c68d6f356eb22eeba7a2de..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 226 zcmeAS@N?(olHy`uVBq!ia0vp^d?3ui3?$#C89V|~1_3@Hu3NY7ShRS_jG43c?mKYe z;M6!dxb8-^+kP+MX_sAsp9}6ArM>V3CjzZ7^A^)I5Q~ t!yzC*Q0L$Zl?Eqn$0Lca5`Jx9W=NmTc;}pLNdZtBgQu&X%Q~loCIHsxKFr1QCT0q{1{MYeDE)e-c@Ne1ia=5ZCX&{{Hy&_tW!N_ZKfc zpObUM#pTWAs~3xk4w#ty`t$F>lBGXhy}DLgdpr1Q#zqRd1{MYe;g^zIfZEtgJbhi+Z*Z~+S_nO6;N1-r z;wE)e-c@Ne1ia=5Z4(qXDwR1Wb5`Fd-okU zaq{%lYd1c8`uyw9U!Xizkhgxu4WI-^NswRge+Xc>*St3pD5mS_;uunKD_NtRfsJRE z&YnFcvL4forc1XpAK{H{IrvG{>z#&4h|Ds+W&FE$GCZx(SSr0JY6i#_Pgg&ebxsLQ E08gA+X#fBK diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete-hover.png b/forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete-hover.png deleted file mode 100644 index e8c69f4489359d8a958cd13ad325efa5ddd4e6b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1113 zcmV-f1g86mP)7+zVGiVHJN21v0xBP~(;O~`&W~|Xatz0>6Yb}LQQgclT39cy#T|~eZa=W6aTmd0)+~4o?;{2`y>TT!EXJ>oP z^F7~lp63zFTT@fj)upBE*Sm~P%_6DkUaRS5?2?vk=I&w z>**YpqZ;hofitOF>`sVT`W?u~Wr-PGV8-_?In@j1>EQX{F(86yQb9biz;jbR*fKLq zR=YsW1RuFH31;-*$GyEt6>36lRB7dR>-=XNmct_J33AGq;7PRx)Ty!4!7U(KZZQ)Y z!1jqd&$AdrXS6Q{5ZMvUkq?1w+v;EPJs^%I-|v)QRs<)9+d*AcLGz2Subi^5j^)su zWBpML4l2b5Jg;7y>Y2C>p+#+fHrXKJ)x41nPOxX@UMUEGs+}AhcYu66{@BvP5ZZ8T zs&NIVcg99X@_-1jLcDJ2#mEDePK71tdUsYaNF=aW#EEA?{e3m#@{bU@x$U#2-ykCP z;k!zn103R{NQRjcKRov3qhQKQc>yhC6ZwE3kz@cADqLi)o%4!D+e88etuz7-@u2(` zL~!9>u|EUjW`j`%To88o5s2v6iCf!2IOT3J4b0G@8g&OC{wuleqs=$UTQS4{aE)ok zL7qtNyz_0ay|J=-Z6p{C9q<3t1EIp>&LgY9?#kM>#s$)ydLg|YaB!a}0!#+!o!>T{ zn=QdMuhmDzm;~qt`E>m9q~F2b>K^rM1k>*Squ&R{dEY8;J(v&p8oZNWv<=*LW)s+U z=3XgqfGkPqTe1rSc3IC00YBYCvKN3<<}q=r5sFq14zmx$a_N_)K#Uj>_k!v+J~t+ZYA`vA zuPjC9KUi#^`=w3onDpZ#TXh>-49c?rh|{A@ydbv&A!d&@8-)~8tdhHrNJO5L3!r00000NkvXXu0mjf=646d diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete.png b/forum/modules/template_loader.py/forum/skins/default/media/images/comment-delete.png deleted file mode 100644 index e1c2d8afaaf6feb74da3217157b5b56f577db839..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1092 zcmV-K1iSl*P)@#F6r-zys9?ocQc3WW$(JcTZx+n292 zJ|ECH`?JQuHyWiMb;rdg=UmpH{Gf4vUgO*EHSR<;-u)td9{2n!3>YwMoQr#LFYbpv ziE%M5#-$O86e;q7TW-0Fc3E$8s>Zqe`>;Vv?wh~ivp?6RA;IaZmMspZ>j+c7A#pE#&aA;6}qZOvKuVgJ* zOIDC$a!iiFz}CRlz!vmg^z*r-1|s z65y(GRk^C*Zs%_2ZU@qGT29MAnlx#^fdfZnY~%&K!jJp<98HiVOBO5vOTZEUcix?M z=OGi%#4~Y7nv>?F8IplyAQ^ykBArMl!0mJU+&-`xtwyU6xZ;YdN?poCMMoEW|AsPU z%KIDAsdOrxf+Oq*JHn9lWIb6A#3S)YJObrlIam%t*<1FOy>N7VbbNFSnZ`_GrV;G* z_Ii6gNGT~LrJ$0xqVr_aynKffC(eyisU(%8QuBh^rFN-Zpf0IP>Js3=gXggs&<7u} zCf39nh?t0p7$^qCpcpbMq)3r^tq;g=6IFh{-|zQV1XB*Kx#s%MXKGO`s>RkxEuf{H zcG_td-|9jwI{(rR$TysD!inNg3u-|v{P9xDvoxZwHvP%|j{T>P{_o}e4~UzLk=evS z8UO$QB6?I2D?NY%?PN(TTo*alb-Q_5Tb0000< KMNUMnLSTZ}-Sof! diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit-hover.png b/forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit-hover.png deleted file mode 100644 index 8291c565240496111de86671b84aed84ed5925d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 448 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xamSQK*5Dp-y;YjHK@;M7UB8!3a z3=n2qbfO8wkSuYHC<)F_D=AMbN@XZ7FW1Y=%Pvk%EJ)SMFG`>N&PIxXfzj5}#W6%< zV(TS)@90F40}s`&AF+t&>{<}7z`Bwn=^%&RFWFsJJ=>LHUnNb^fM`-mmHh z{`Q#N7D!YyJ)6?#~AUmr`#?L}`ir;DDt?e#Mv^P_70 z53+?XW9M&gu!I$_OtcBHFB!n$Jj3fhBkwztDnm{r-UW|U~;@S diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit.png b/forum/modules/template_loader.py/forum/skins/default/media/images/comment-edit.png deleted file mode 100644 index bad5c47c57ac45f024889af405c365d90ecf71e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 433 zcmV;i0Z#sjP)tarjoK{3r( z8Ult>_-(ZW%0Z2M$m!9xSLyy;PjlIuga!*0RpDQ!5PVroG@;6^dFQbb4|qGSw};)CX5q zh>g+(v7T)*3yVdfg*ad90)1EohBwD`+;)>rJrZ~0+5Q`U-tBF1*Fxl+jCVReg6v+F z>o3gmk_U{aY)*c2;Vz?ry8$cMBRcduNoxtFZjGx5#-d^1JesZHtT-| zKEsu#^`*cug7O@D1Np%oDz4@p%sq-QQ=<+M6fuu{u(yV9U;WgRC%OcR*77g|62Nl#i{16zGVv?B$+MrGEgv{6M z_r^DXohSbtD1|!-Ztcx_pjMhmQE*z-kHt=KHmXr^0L-zyew8?fX1TvfbfM!_dampP z-KIa`0=W4q(@y|h&A)Uh|IeGK+uTFYpEg$C*AIj9Vt?o#hS5HM#z;8~+wS4mE^tC> zw^)U64*O?B7edDVs{2K=nCz@jijN7!Q}lDZkFP7m6pBD!ly8X%pg)qYid)}+(&JO( zECj>W!K^08+-f)9TLT%_?G?G*pgNHD60~zi9cK}#v35$t$0Ae4ci1uNyq&RPv002$ z$G`3%edMRiKfT&13?IY$YFNJ!`6FDb64lpV0e2i9#jk;ykFBNxjp8K^g6tJdau}SK z)z6$7WOBoXa43^=UDH>f1LOioD8` zty`|-9+_;sbbUkg#NgsiKF zt=PJSL?mzp0F8%6kwh-ZJgLs8LUl1(;dXnE#^;>-!tYb%{^-d=eo9X~cK*hP;+qYQ z%&{H>V1PbrBj|i}BTxall|Pw7AaXDm0CF)9@IMv=paB<6F0e#AF_r6sItw0000YdQ@0+Q*UN;cVTj6004N}b4%X8O-xS>N=;0u Z1OP9b1=Ow#sZ9U?002ovPDHLkV1kQI?}q>Y diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/comment-like.png b/forum/modules/template_loader.py/forum/skins/default/media/images/comment-like.png deleted file mode 100644 index 87a19b9fdd401f4a48eff72e1bc50395ed9396fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1530 zcmW;Mc{J2(7zgm*3`1EbOJofpipG{Tjj=P<>|Fa&wya}c%e8c4Y&C`s8EK|)NeN>a z%}A7e7?~DDgu-Mkb-Tam`JDItp65BwdH;M19qldoc_erM0N}T_GIIt~fPLUx;O#KS zDg%Qv%*4(F0RDZU3oBX$d#*rROS9j9>Zr&58*p+o#>z7uOshY~VmQK>J;cPAgn{|z zJ)q5-wGRL=OKUR|7rmF}6>lBNlcWa6H}{Q7LiX-HMw*-~h9N|w?(bOSU&=k*eHp(4 zC5Y>mX%xK9J9kQ5X|2Y$3RhJ4l8$DDzzO7-=e*FIfm|n6E?Pm{+fpHi+w8HL^I^}g zJ~ASDMOII_Ha^ayd@@-3MCTCdEDcrLTw%B*(4~+NGr4EZ6pQlP78~E<8}H1l=L)am zS}KflQXdI;lo%=P&Ap|T&ift;i|+jJyyo)p(R%$|g40#HyMf$$5mVdg|5@Y}^@x83>f%B2n^TwW0`}4h+%^N3~!tdEy zvtma-;s-sfGf6iRkXL>-G`v5O3<7wuyLsuip~GjDs>zu-O7OhuzS{r4H-bzSnc)- z@}BDzSFh}}7Z;XfpkGkr33bj!CL85P+#%?ggC80c?B}SQ=&Zb1c10_yaa2T1E70QA zf+2$#LD%8wo1D8GsqH_WzihfKM-j#3{S|Q1kX@1o;0&Ku+z2}=_e5g1Jp;l*8o>nt9>;9xfy16xT66Dl99b(VY(oG+vI{SlK=g*E&g`gCwj_M1 zymi8NK64W8JTAxN#-^f6Ry7{hS%f!OoHaTA2n(x*d17IZj+;?IOkg=IbNTmstRPFy zn3Jd&Ug!l)X0Jo``Pq;>RuC0HzB=+z=}kV(7p+F5wZxhA2aLYj5YzL)i`$anm0tJU zSPFwpI8m*i58gIsy3R6T#Ex~`Zu@DdPHO=#CPkzz$A z($OEb9&k*y;t8lUV4Vf-!qhIuW|}6gs=uua zs~T}>L>+F4`#aVlAruM)35UZ^qmIa3Z<_fcM5d{$)tCyzVS{8=Z7_=DGD`nB+%1oj z^Yni3f0a*l@kqFIH8de9AT9&|lIP>m!wxpCTd(ZU4*WKDXc8xIt_DVL;Un3B+kmyX Ky;%#&Klgu4&%)dQ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/convert-hover.png b/forum/modules/template_loader.py/forum/skins/default/media/images/convert-hover.png deleted file mode 100644 index 9e973efbeaa97f01f6db02b87b85d26dab92a828..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1567 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa$r9IylHmNblJdl&R0hYC{G?O` z&)mfH)S%SFl*+=BsWuD@%u1Od5hW46K32*3xq68pHF_1f1wh>l3^w)^1&PVosU-?Y zsp*+{wo31J?^jaDOtDo8H}y5}EpSfF$n>ZxN)4{^3rViZPPR-@vbR&PsjvbXkegbP zs8ErclUHn2VXFi-*9yo63F|80+w{G(j&jGsVit$-vUY!qvpc!qVK((AB`v*uc^W81OF6<|a;V zMy4>mF8Rr&xv6<2Fuf@Vy{0(zf|5dR0nlcb)S}F?)D*X({9FaFm#s2!yTu5nc~HG6 zxZPrmQ?EYIG5Vm0MT%&c5HR(CnDAr^~1o1D!x_ycZgl)*}_%}N0YT0nu1@L zdsBtjB2*@xx;H(j?+^3RocrOg-uLH7KD*G<%W`?aRm+;6=zaK+%r^P;5uMPTdd{U@d1^Za zUrBrKwm-V^ugu-!7U!e0_0$#DlS_E~p9`GlxFQy9as7bd z_LmP{?l=;4$&K;pj>0Jmm);9HC6vFsJaC1?-3wbkoRMl)R(bW8&tm$E`O6|axn@We ztPE6mFm=TmwndyxQ+KdBn;+gK(xkFU=FFrGI~@8vmu!+MlROa8?Dkw$%9}-PG0WuD zA+|FeIGO{}KHfhn*T}P3AaZ+RG52%nq7PXye|s0NobxpKvA5Z@avhNuOnQsoFEM(5 z%gI&u{&b@s+gvU_D83M-U+}$U)}*ZP#%HU7dUU-^SsSlS;Ma3jn&^?bU{Os{!m(9v zf6r-H#&ab`wP1tOu44z!>o#?oaz%e#@Y{!T*Q_&3Z#=tJXk=~ude^ee%T|3l+r3`% z@zn?!r$_r;Lt9^~pDuX5Wxl?<`8uudJd;+g)HF?bx$C)CtnY`1N$13?%yxC{l3^w)^1&PVosU-?Y zsp*+{wo31J?^jaDOtDo8H}y5}EpSfF$n>ZxN)4{^3rViZPPR-@vbR&PsjvbXkegbP zs8ErclUHn2VXFi-*9yo63F|80+w{G(j&jGsVi>z|_&r%+T1#!qUyq(AB`v*uc^W81OF6<|a;V zMy4>mF8Rr&xv6<2Fuf@Vy(T#If|5dR0nlcb)S}F?)D*X({9FaFm#s3fxW&lHz|zFR z)eLB!Id-=|^rql;ixEz@=mQ<24~kf%h=vIPQxAv8GSSxHwLlDxuhBV#HD-UxhSLjk=VPZ6xefIXtl3zks?-;V!8%Xf% zcUych)NVfe6wV)K%hz9T{#$omdd>Ch4i}|_tx>5m-&_uy%l|NGaz@wThYbN5EP2~! zKZ)(|S}Mfh9Px<5;$hp9wPD&9UVnY?wJOm-!eL>v`@DT1gsx+belbWYchKUr@XQ`;gyHpm*v}GPl+x&20!k0b9xs&2nhA=cY`z>c) z8`f=pSkcF!U@DVh!uH!wg>B{dA5<6h&rn%!D#a_o*S^P3rqFJF{r8_W{;$7UT~OQU z!qa~Ejyz*#*4nVgy&hJDGjvXebszmCUAxnGCeH)u#>+34+_0Ru%w)FjJVzV3_5_0) zM?T1H&f4k~H}7`Nw%aj!%g>~3F8H_hT=$-1NroM6i>tSM=6b(>W6{ntjXUCZ#H{oG zp%ebHWLCT5>AdaEN)s2Pr1Cu1HTzlhZ?ztGs-4f$p!dK3)=AZxWF$AwKbi80`QFWU c$^SVG80r>Uw>`A4^#&E8p00i_>zopr09K0zk8Y5oHk(5d(s_FbFhAqNt4L16&YNCyID%iyA#v9i~-V)T#$7C{?Rq zJuXmNkX;Zk3t36XzAs-E$W8(YK|~TDELE}gFw-9~_w_#9r@MFGo{ViLN+D5@_t6k? zub_>}Y9`ZKyBS?Q+zuw^CB28p=9m6l=^h>P&(87W>M^fRs?m>(j#(W;9ErkUvGq!o zR>z=aV9@3qVhSZRzIguQM;cEA4PH>{`)!UPyVLdOr%&oW6O}KX^iRvR21>7B_K!bg zpuy#NEl_HdeI}XK;2M6dGg;OB7NH7sx`ycjiOOJXqcVp_-!Mh8P9}%M;d7*l9dn^o^Yc8JiXo6#2L{zfi^DzK#p>;|ITX6Se!BxS zS=nOw+`D&V4qvF$^jqyzo~TDG>y;|lVi{d1<;qn?yF=A))|stRQ2&y_<|)*2U7tjw zV~V8YUSW?!VYCi#Byx?(%9SZ)x_-xyo5JBc-5#D?H9GEn-bvP4>_a1?Mw^2xQ-LN+ zBe7ec(5U;2FS?oT(KkAyXb zH`<+SiGsov4vvg6M6xClb-?9rrO;i&BX+lk$mV$`rZ`gN>v8YfiAm6G<101ow4OKP zUbVqQ?BTjSuXPq%Yd5pISJ261cQQEjo#Yk@y{?1ASAq*s-`cubDGW-lki_O|%{D4etT9^j7JEC5N#je{GL^~hpbMnVVNY!b z@p%VHZ?SpC-cHTTm>h#mB$`;Qbq9D5VJ`EU_H44c4@Fu%*g{g$2m} zjre&46atBcB>!Fb`w0kg0fIg2-$QN?-a;-U9a~C|Sx_l#$$ zbyds`pGKe0LOZIh;hTXQH~7?2Jo0 zAKTtHp2*){xDdLxDX)5Bq$d9S)rRYTt~R1BZu8%arq9oL7S0X{cVZ83Md|CWuc5Ww zgHJrm4n{311;Egli>`(nMilUQIqb4)5Q?cl#}=HzL03S&F5J5ZvF3I&1iAmphxib7 z=~(%y)r?(&s;zbaOiB%VcyqB)a3LW*6`!N2T5$*vtPDAu4Lr&i{1t{hUIbJv$v&)4 zc!CfB!4I<5zFha<24-Hg2z@rDMTRf&8K%(xp|Jl;8yyb7(z29dO~7 z0?>d2d_u(#9&?g)BczhRg5UXUk{R}HU+hrKk846$t{)2uvfo5}`X_+FT_r3*q@K(Q zIFy3^Nem&SdwmdC?f@$3a69--AQ=DME>cj0|A&0oy86<nZyuyLVuwr{IGXQux+DRXY@2U6(<)cxduLt8LR@#Wa`O=WAre>^=26DJK^^h~Zenh_Qpc_eE|a>K3SC}>hGS%%baA>Rzm6~eB6s0c`oTN0US zfK?FULsI-Xr|IOSn-WhZ6RhFiUYWj6SlS#V&y{WdZMyPn->wo=`JS}ytYDdcZ9-8+ z#g^jc^%g~Q?0bcL=f~+^%9ggo{bjwMjFH13QK!~qEei?la)%F0L$*X*t*SoddGxEM zWy4mba{slN#|^%bl*nZdHaOy*)Xwd`S5&UbXN;^SSGFdf*{A-}K2y!otWP}=A9U0{ sv!XO(598i6?6_>^sSNjGbB$7Sdi(Nfq+XETwht`+l3E>&L_&7_7sn(m+5i9m diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/dot-g.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/dot-g.gif deleted file mode 100644 index 5d6bb28e56377b0eeb80899222aa3290ec2a3a95..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 61 zcmZ?wbhEHb1;oomohA-cw8MruKF$f7>W?=Zo!hivofRLHNli}wd9fr@0yBS{oImf`r!T=CJ zObo<=KYvmfSa>QJq}1IQ{xNkh{QGMS5(Wq$!Uiw`?fv_wh=H9yhCxi_BLl18R|YAy zzYGlQ%?$tlTLT0TVFP~usbb(1@&ju6$nf>=e}=c;7#aR?|7H-C1iI?46+i&7;IWyL z;n$xU20l?+1~CPo=06M!Uw{_>X8zCc{xt`~yO&=Xm{>Lg1Q0F*xPh8m83e@j8ARki zGJO8U!0_!K1H&(%gWtd9WO)AQ6T^RoY6eEe8vp@>#en~UKxelz2uZ60@n?olzZn_6 z{|9LXI{!5n!^+`mIW?f>FASf4GBSJvI{OzR z1H&<(HAFtjse0v3qvG*Lj!k<6yW@2D$#+OV00*L7y zBZtO!W_$i{sO4^#Rs-O?>`EBV-VT&i$$;vm@)9CGk^eM*?-}6i0Jdne+|V2 zxHvw3_{Z?+(@RDM_T7w3%nJ!=1_6KoVp+N8l7OGV`-jpW1oz1C@m=Tm^ZxZW7V#J0 oz$F3z1Q6r@|Nj{%0RRC80Nya-9-e3d82|tP07*qoM6N<$g1t^w0{{R3 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-hide.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-hide.gif deleted file mode 100644 index feb6a6187c2742ea8e516244f139e7946ed757fb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmZ?wbhEHb6k!l$Xl7tYOG_&#C^&ZP*n$NM9zTBE+}u2E+O#ug&iw!Xp8*?C{K>-1 zz`((v1Cj)p!N8&|aME-2UW?afcmGe&$YV~Jr(qS6`f6R+>scREmz$PdzB_la&4mZ% LT2lR!I2fz}g2F4- diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-show.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/expander-arrow-show.gif deleted file mode 100644 index 6825c56ee42f0184d66c0fe954d7fc4b6f05e850..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 135 zcmZ?wbhEHb6k!l$Xl7tYOG|5RZr;3k^RZ*c9zTA(V8Mcdf`WVZ?*0G&p8*?C{K>-1 zz`((v1Cj)p!N6i7aME-2(x+KmpRPH4k6ma{w6t6)bw%IW-N%f4X5Wr&{_cHgU%a-) Votr)GNqpOrH0{qn(_mt-1^|9hF$Dks diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/favicon.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/favicon.gif deleted file mode 100644 index 910c26660ca2088729309bd9286403237c68f020..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3918 zcmbW4c~Fyg9>#yUNJtP)x!weWgv&qzDu*Ooazu*Ax**6A?m#F| z#FlF#9t(;HE^Pr(qXI z-2eFF`O(pZt5?67np&Qp|52}h`SRuD^+4uZpoiarROc-Y=tt|i%;*;JiL9^h)J(kR8={VcqXm=O|2+G557evqSo zC4;<`@96Hl*};|V5xz6wP*t|`sZ7kDo#_C6CNPGd^ZHHY|5cc7fBzl`f@||hZ0x0^ zq^k!G+{nutFD#rWD!L5UW^iy}bX0%k%3ojA=GR|;U9&DQvs}c4(mRc#qV7Cv4Z&c* zLCQBL-U$F7X`)1K0JpokLg4DdXA@68)phSMQSGddBvPcJ^xm9crN!xkZh;NgNGu+#nbC<&x=VP|rFS9;3_ zj;-zMGTYnt`1ze%VIGQ$8&N1${Qxsx(r7;I=$JcyUOzgzxWc@&VurPW;jggHAA#ib zCc+Bs*L0XxV|qFSrF{v*3L0%}C{@#+YGGJx1(c|3FHuSDswLr9-VxEcK|N*I>z)cO z5sazQn%M)V$Jw8Jw}{xraNg?5Wo;)L%N>l#{$v8j5kaU=WDDbRNXPv>B`HTb8k!uM zTPQWPObul{<}N3v9&hhe=D$QnUS0{njl#mQ`ub^Dc!$B?EZCu z4a_BaGPn@|mQL6PEVF?7-Fsk?-(_`+^0r3&6ezVv}k(MJ!MWwCeo=RvKZjqEsSHTfUyPN0&ic1z}Lo+w~7;T zoB1tKO0!nYdohjglPjuY)b8Bwn6mYtJLvQtAD>m|H_bg!SU6c@If1BD?&y`=} z1C!d_y}R#tz10A2mAj!(4eIJ_E97@~MKw*?|3Vm3*c1Yy7(q};s3d2x{2;8Sw=}J( zyt1fTO)V@AFJ&^c`|B!m4+Cs37L~mobr*-TDs}%#qz(3d73sV6^>dw_4_>ML?ez2y z4tB-p#c{o5kUiZq3pxKm`BGLR!LqyxX)KqC5S{hR$emBeWXR2 zelv>Y40<@AJmB``mU&i9E3HARXVvPq_h&!JYN$X|KA%6BU*Ih*re^14g3_Z|XK@o!bKSBX#B-fQSk*>~vBytZx*{waAbaK}QWzpA z1z~4{KXWdOv6f?szK0bR) zJHu`k$&GQG_Fc4O1qo-;uRQ$Vm&);b&t}yX4n3j0W_=zLMK``s6k9znbmw^{;^OR? zL>8NA;uP`dTHMb)Z$uQg2#^BM*;%qtM|1_TTxCA}8- zltyy~9#q4_k48ton40=w!>|V4JpG_yKzG+5?|6uBu`kp-y%NGjT}xc(yLsJ?WMye) zCkgUk9OFOg{kdTL@ZbW@DbqLiwDeoZ7F`Y|Ox*y>JYXE1lNL(L8acl70ZBq|B%1+D znMmv%j1N3oj3VN)%ngt`b8?U7mBlAyxG1yAS^L+7ZL_v+v$5%3X<9@3_KmEroca0V z1qIzO>Ch0oZ_dNJ*UZc+?7I8r>aKz*)NiK4TW7V$`6i3@6m56r_pAy#idy>e{n)H8 zQR+BuNu2|O8P;>`v9T1LfDX8pyhJl9wU$SenE)Ni#kJJRifnX0tmr9?EKDEh@Bx^j z?Pg>#WbB=H1Z9d%gF%f-@XD;boFYeGM6y$ATCuC2bZ;y(#vyubU>dF6*0#sr|F=f{ z#+uz-TRS%}@a4seaKBo-eEHc*b~ozgqwr}F0-qNBp@|{BwRGIXk3%k;&$jusbkCjT ziP7(spldHejJLLu7bVc!eN_TrBp+m;0MT43VN@BNrUwSl-LMteF|sWr2;pBQY2f2M za&lo!6IYDOOHIpB<_WeT_A%s%`Hr!nKpN#JV@d1-!ySXyUN~DfZGs1K_xA0upWi$z zt`!u(cNaXGZnm|}oICfs-D?98#uUhz(WE4t>Kc?3(%OA{ghB>+w%oZO=CIu5-Z^f0 z5Gc#Fx4{pW{lvvJ15INx$fk#?)lc=^{E;UjX3h~AZU~cW%Ib}1#Lu1%8eW9^Q9RjT zV74MDYk#hn6JjqTHr{+YXJ@#CzpH`aFAfkhsT=>6uXA*I$0q9APGs15AnsE45@AR#B=Sy~Sf!dr{@s%Rq3LRWB z5#$C2*|_(+7+&yMm3cg(rrnmRs%zw+@F}uW7NhLQw7=_1`@^l^&dZLCPg7*MJ0T(& ivS@P;4zyG37NllSyo7GPE?fc6&zb4C#R)zfz5fG3#T7&V diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/favicon.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/favicon.ico deleted file mode 100644 index 35c9e149fb8755e7c2ff33433a9022c146b20bde..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmb7EO-LI-7@a~z!M}h|4_*RZisHeavkD5HJo$T55Tr!$pdxtiq6a}eiKthh*raJl zA#Kn!r8ZI1q)i&NmP81ch9*rksfkHUjLGZHq`U5>UivMwGxO$s!+dYvE+LP&MOyt(E7ns|SJ!)N zZk`GJ_V#z!*tpMMT>OUCRs(XmoWQZ$!zd|vfvc-DbUGi3indW%sS?`t^{v3|>G{ac zE&zWAH8mQT%|T?dImqQ&m`p*8kJ~UY@mWGuD6CK@Y!WOQy+v{HHqOqX3}0G0MQ^VO zGMNf4S03XNj*cQIFIPgN@v<5skre2eXx)5VUZz+*ot;J=lJrJn0QL1cl$I({R;I+z z&>^c`Od1|OgjV}Q3`xf6^c^gg5Imlk1gDd5I0c*S5@OxNq^&Ivs;bnetJAT&Yil#W z=Swik&dyJ+?w9P2Y5jY9zr?9b*NO@i+n+9EGFgm`+0fFWXL`8ZQ6!Uj|IE!fnK#87 zjEqEV3pt12SW@a1$MhAU;CQuI*2KC^p61beZEn_s`ebU#&h%0$&lxWe yNV2_FR=#6)_A9*JxFnxWs7KXmFUy^uKL*uI9Q1pjbuTO&gZhh)!vDel&i?@0pIDgy diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/feed-icon-small.png b/forum/modules/template_loader.py/forum/skins/default/media/images/feed-icon-small.png deleted file mode 100644 index b3c949d2244f2c0c81d65e74719af2a1b56d06a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 689 zcmV;i0#5yjP)(tky!*UETcH-TCU7SrqEjJM#?B`_A)!p7(kFf9-P@=@15kkTkGK zgFusyy#KECqZzRdBLb=P?$(kUP;>kYTDeG&{|a+iOiRbI6nbQ)j#7bOf>iF=C+|_py<&Fo1F5cC*iEM?zZGC{ejNg4LWYp=S$L6Qaby6y zp$+F`250{%tU{Lg$5*ROH}y!1UKJS4*xqd7P(Y3JQF?lrnf?yerr%&6yGXLG1ur*B z{$&R1@Oj)yl@%rY5rh?j(j10Yz_DBs`AKFU_QnB;)(aqQmGi&ieOS|21^NP9UMpa< zU&p!f6RZ6Owp^X!EXA=0SbN&h?CrQK%Q3(=YBqqHD^9ZUM0Hxt-6-KT;>lf@j?Z+v zHm(}`>85I&E<7e}oz?6UwjAogowzGO8kSN7+2`b^$Az9L{K5*ko87EV45LT-`_##3 z>d3AGh@>=mbg34|6}+-gT9N+6Dr@44VEl44O&{&|w=qpbzC#iWMKa?5)>tI+KLQK@ Xq0QFqn(9Yl00000NkvXXu0mjfZ8tBj>^LJ3~~S>i&IO88=qln{V-q zOM40!3-puuch|@DVB6cUq=Rp^(V|(yIunMk|nMY zCBgY=CFO}lsSJ)O`AMk?p1FzXsX?iUDV2pMQ*D5X*aCb)TzBu@{r~^}iVZzqfg(&L zL4Lvi8J=!8@B;EgJY5_^DsCku9AK6xWM-3k!OUU6z#qV1KKathOF(%BPgg&ebxsLQ E0Ke)mAOHXW diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/indicator.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/indicator.gif deleted file mode 100644 index 1c72ebb554be018511ae972c3f2361dff02dce02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2545 zcma*pX;2es8VB%~zPr=ibVMCx-JQ^BhLDAsK)^**h(ZDp9YGuzZ%~j!}+w%FI;|aC7){7CdVvG)P{bng1y9Te*f}~*`1kQl$jwb z$tlW~rRS!X?#xfm_&6tTdp_`cjgYwbRFLNdoJCN$S-yhg`ZnC-yvedRSmOh%;Y`Gl6bY$Z-}#C=#F4%9!I1b zWQ~f+9P?;vhCxWwlwl=lrWG|7IYo;{jjmzJ5R9?f>n%-d@>kLINUc z4wM5dAO;kq<$}Dk{2-u0$I6@2N}&cUx9nmV1dYc8jfC}%=F9WCg^OQK9C6poh#2!A z3^EU*UFZvS^)?bu3T?J;@Ahb~%I?+@4!l5!*TjC}GIslNan-RCrrd~PdHYnNLJk+m&`$Y+NV(e>CCu%R#_8GqY4cv#j`#uRWdsg9DxWy(?oOvgCU}&@jy%c!H&-Q zqXJxajAtmQRoRa9V-RFXXh-bK*;Fum{BjpkYQGX~i@OZ^Dx0n&H}kvGKqQ?w(6iGXu_g08T|_hp#ZvFzIwKF*a=oMJ~3UGAjZ?g}GOxm44td zXoyYrU*I=y*vHv89hkYH(v5R#wc)BC3dZJKb3K)f>zaM3%JP(mpecViP0eKKYf3zy z->jx_mc?mCtPEvCQ?uppk?eLJt}_IR7giW%Jr)RyI!+E-voIs*lXI*z`GQc_&D#X( z{6G};HPYj6O|$lXxBJeDaweqa{4L=tOZCjTI^&UOxXg})LRG_cr^B9Rqt(i5ORbQX zq`_xCRsH>xEYY%&*Nyi#{S_JZNlTm#K56`RI%7^amom;*h90Si&g1CfaFV3D|a!`3Y-GKKbL*KSbl z>I96`TR@CqPJl(>QqB~RvK~-U)`e`l4LIqj+IU^~yyIe*|BRVB>4Bup%j{tLdKz4j zY^<8P8m~GRGz*yv0&-RJE+-keJ+%m3wNeopzsltWd->eWmBVwUr)pX` zK~CD<;~Z*Uy3W`3+MrEYxm5qYQ!z%YI;y7DTG`UVH0;@{M{!B&id_}3DBQ?zsotuR zEGLdRx25nLm%-wjlnEi;-aN_1S7???rO~WgA67jjr&(vRa3y$u#kqJbeKnw z{!T!1li9>M+sJ6AUe+*9d}2uGjhzd z|L1Rtp8uTGYyZoQ*`DS^m2dw-X{a)l+3m?ncvn^+O>)hdd3(hMtlhkRGns{<8c0I! zDDjpmwtj?@!6kA|iu3q+Ai;@JR+ zfk+ln&YFC{4bhK6IxVgLs4W%^8Lk`qzWU*L>yq0A3;l}{!wKZ!ue)C)SKI)9dl1hl zhIRLV@8E}rwvE{gX(}$f6x*k)_`*Ijt1=EU-Ls6-(phomeQBgtUs z5Xz~Cd*nE)Ac!0i4ep}Z1AugMB(&F?)#CU{Qc{Sp^vKsdL}vRB30H+Bbzrn`M##H3 z{W8dc_mDroEE+p8_}mnJtzZ4!RNe)zhB)Ds;S57nYSJxtek>^~&(7B+N5MPf2+2xx z5Dl&4X|c@f{Kd|z1r+N|$DmsoVp*3yOdxT^J^-VAk)Z@$4^XrPrFP-Co+MXZ+KJ(W z{JNYvraLLWA;&tRhIKOvhW|HC|L-dLvAUF(MG0(Nl?4tB{RzN7I(}Cb%hwN{crFC8 zji#aJElKvDFV+&VI1V?oUMA>*kto0^;3W8FQBSZ|{ z$v~TqE=(8DZa^i$^oht&h};P1N&wMXorKh*Z68gPV&ouy>%f36Oqkwemyeas$Qbz# zV?7Jy%o7KY6^I=P@eCji%W`o5sf(5hySYo9$l4e2`(hIV_?=H-#R6}0$WVA|*(K@3 z=5?@RlcLh(meW%A4)hGzcvEpm(_w?>zhL*i&s9$2>r zAtk{8Cia|+Y+V!uX9BtpXoF%lswuRKsM!pSs!?yhlCy!269K0|b M?FSZn2B>%I-}ej|s{jB1 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/logo.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/logo.gif deleted file mode 100644 index ab690de2a1c9679f225d80560cf5e06f3ed3cab0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2114 zcmb7<`#;kQ1INFc?}kmzHeo{yGuL*6N$J$gW^>CWm!Vv8cjzehrOw<6kC^+A;}XMS z9hWqvT#jUODI~OxD7lnMhwgPeub%(l`TX$y?frVaKMZ?2s{=tJfE6$U{MhR1YFJoU z4je8LiFS5&h(zLFDJkW6ypodA(yd#)QBgD+O_H5mT3RZVNZ!4BCvQ8_ z_=gUO#bT*c8W$IbL?S&rJmy@t@grT|{Qq zh0K_oTq=kM3b=(hHB}l|Sa{x!2he3@YU}FjC zB2wPg7;jqo?5x@bucWDJKv=WFQdv1#(Jmiiu3QehM=d1M%>Y4%J=mrPWvvHdlx41Y zW{_!hs0(#@wV*PUiDa7^E4ZQ3{n41+MvK%~K&xm6t$i^2870Ve4Dr-LN8G>8!a$)k z#3;u#TMRXp#cJ*{wMpP_nt9h$(PgvvlCQ>%z1`Gcc+knd#Ox>?ik#ISUP7 z#GoF#j`(()T+*;pki7QOd2ZU0?Y^JHaexWK{?0W{_Z}wUF4j{TvesPlwUA3#aZB+{ z7)YI}-H*93NW2`4MCuAPrZFhsV^1KID+PK(qmxx9HT5C{j_CnlC~n(<81SRAjmOZ zuX!fW#(kJC!;9E#B$#R1gk4Z3$`g2l&BG|F95wx6RDusfYIzZrf6-9!GW!ob- z5RpcTnp9Vz>-kOzC5~=XgNdh_RbUiRA=>DONAs;-F0M!f=HIj;uSn5mhkNdLM+7b5 zttN!evt6#TvEIC`GlR*a77ZMsw_@D)ox!xX7K_MBKlj;Xn&yVn*X$4(SGL98H(cy5 zf&^ht)zxu~uYy^YePFgdeCt_N^KETM`kCuam-B|;BBo=y&wza0g25i{{z1s9;c@Wp ze&a9Xi9#Ln)oD&b(J~Q9+94y}IMmm!fo9$8Q7O&LW-g-snULrAq*>Yf|&p0Y!q^tJn8k z?tt)jCuQEOXsK&=#eAh|voSsiUN2D@OH%{qg&)3si-LPzC+cf{8u&i1dX~zyBg*eu z-bm{Ad)$|uB+vu0aLRKWOl$|hrg5OXRto?t> zPs;`j#YI+Ta_ntCcl=0Gh^xqT($7(jnEs-ezc#2&^Ib?Ke5DdG))S zm~`)wK)`^@k;ex?RTinBr$R8jl4C5Hx|F5vo~7Fvlqbk2V~kOpuBSdP8*NKXa5^7XcD8 z4QWsdI1r7C`5UFWdm`=0ARYoS9W+*=jQTz@E6d4j+#8f)PaQ1c(kmPH2B$~@riysB z$$I-rbHGrePNSaPD|@pR$87%nr|^CQ@#pJ3qd^@(#WO=IiuPXGuTau6W^wK!GvRWYySSZdh?2JAdxm} z4@L^i%LZu%cDL5Y!_|r^6v_Ot5!AE>=`9+=W)GB#c ztC+B+x0S*yDC=ru#=O9JeRGiAsbOSn}iGDZgXt#=z(6UXyd@4U( z9p+K1+}PylDVYqeCpV~jZunedKO8Wcsk6P?$beXTjnyac40o+ME*)eE_+<1U&jvr7 z+Dy~YW2K+-em&vy#b^9N_x0_KjWC80YkmdO^^qoUe<5Hc8J!dr=&hPb4JX4f7B{LM z>bdE^oQoKI)chgd_$2z3TiqSyiUj&8t0wh@7R^~vNn3ykwMuQi;n{m$UugJo7o*wY z%44O6^@w_RU$I_(C>NM#?PUynb#!n{pa@KQ2Ee)H7 io>#?{QxAKS722~IPR}q^pN0&Mw&!{uAI1ZK^?v~_GK-J^ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/logo.png b/forum/modules/template_loader.py/forum/skins/default/media/images/logo.png deleted file mode 100644 index 6a250e35b34cbe9113e3a62d17eba05d05c83888..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2081 zcmV++2;TRJP)00003b3#c}2nYz< z;ZNWI003-IOjJbx008gr?~jjw(EZ*psMAVX6$2C~zj0000MbVXQnLvm$dbZKvHAXI5>WdJcU zFEThUFgb%jHT(bo2Lee%K~!jg?OBPEqc{vThnq756B@|1A-n(ok1N~qO=!}S%xrb7 zs%AnXOV+av%Z4;Rgvg&Z;8pZLkpCJj0h!K4QJkm6@$+FUc8A-OQi6Xt%-^$d69qud zrxd9=oqguv19|t$ZM&498}Rn8vU-6$Am@8()7>#@-rKCLQb-rhd811lAoD5p>156A zaQ9oKkShLu{5?SC&%mNI{nR#%&ima)DWqNC#`giy7FByl+f(J+Bwkd-4HEuxPp6Gi zNSIuQ-vI>Yx~sL`VdQ_vKPShM-9{;-TM&@1CIbW`XK$8LCHH9fpT7JU80bnNT~y5d zO1ejDObukN7M4ufREgP(aGf_uIm3K-Pf>JD*4P@zxDXI3a7Hu0+wgWPQaf+h<(JZZ zU}PH*nX~?uEn`~*l+2O4o36`JlaaE9%_4i2x67|7C)fJeQQ#g!GhCw+_UcT9a+6)uG_ly+sOBy=u@=MQ8&dWkv+`CBBPl`GVBERwcyH z5Xd_~gxk}F0jV{)g`}F+q-I+RQ(ZlT>26s`7`lMzH+|#+c~FF(0%CWE)oruXT}M>4 znC`+{Sm=^_q2_NojwA1y?keBdp|y;|3$5@p;b*~4cZeSvNGLVgQU^5}_r)OH!Prc$ zGq;=ng4Ik08RR(W@ZnX-jx>+ByG=?etf*&OYHu`8i|G!ww(_ZiM=F0}WHMwvSAN4* zNT!9`SYV$xs%>UnYEFIf(_LC`J;vY=#f0?8p8j)>c@g9?{nHjgR9e^F9mXLO5&DipB* za$E!=3NWj48ecQqEF z^h|5j;;(@KlzpWQI{Pejwko_X<5n1y_QC6hMmtm?INrLqj`j8$SL(gng>9DnVBWWP@tLX2)6p(*jrgM=V0C^$Z#*eV-zMJ0l4e`w%+CuuVA44fw zXac%NR~MS1l?uP2j;ih{GBZ4-%8&+v`)D2l88UTG_K%^1LPqY^4E^m}D)j#XZ?0ibzk}2RDE|wMJc%MKJ>CmGMiea@KrJR%nT+qU74< zTzQ$d!t_qwImOWPM6{DU$%H>+`6pFolsWG@fWiNDIUQpDE-x3=HGL1iB92OuF=d2M zRq{{+HC^0xWl#9E9L^bm2@%e_4n*EtUP;e{6I$%kSOz>M+cwFhBvV(MjMRK)ew)Sy zp$Ps_(nFWd-}Q^?07Zg_rJ4<@9h9na@Kj4mfZgZ3dt}a>y}nvq19F53@)CYZaSxMY zJDL#Ai%P~CWa3bxJdc>a^BI&e(V!{`AL zgpYOR)bp+a5k};sPZF_6E#CQ|f!q>g;!r8vG7t|@L>=pg zmi0WuKtKY4u>&0}b+EK8y>fK}xMN^2NCsUm(j8SbO~%W?Q1aJD(stgQn}IYm)Az5s z@QXr_!NN+WQCMOT7?}K21M8e15b@4Y7xTln*hlzrHUleb5mhqilq&97xv2oqBe=+& za}|h3RByXb3?oEZ(tzpwjk|J59iA%@4GGC&{t2xU!@Uhk4vd&gerq0o&aFT~T5Mmw zMYLww>UJIV7ZBzp8k^$oP8y>jTswDJD}baok0pFnmG00000 LNkvXXu0mjfmiX8& diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/logo1.png b/forum/modules/template_loader.py/forum/skins/default/media/images/logo1.png deleted file mode 100644 index d79a627174b08ee90776540abad2e76f28909652..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2752 zcmcguX* z1E?4wgA2<ibF5B?oZ9u^18n1*~xFBuz3-<%yx3)#_ftUE+Qo`d)qPK67?2S(r z0zbj_1R*mtDSopsN*FIl+1W1i27nS38t4}z)g^qLp7y;lhYt7a0jSl3L8?S)fQbgp z9GIgd0|RA`d?7_d00faod_JKJpnwt1uSD7Z2a|-B1yhe(GKu=epgmLHL<<`k8h-xr z#Rdb>9oZ&!^VeQMo#r!{pg-pxO=%%wiP-5se;)6v3??meND?n)RA!O@$<(3FLWQ+$ zOH6FdOV()2Oid#y4ULJnFZpl4eYEx}KeR}+M$Gk5S zqnm}0W#xsXD4uMIn&y?8n~Sx|d}IA$=JVCuRjV$XJ}sknP^i=`V|K{Uo}IS~d2w;U zw>#2*{<@gaLWBV!hwNSpj+t{B4+|*Cyj*>2K%9^omNa`xrFm7gG6I0)*hvDZW~2n9%+MzzWk{Tzj9=GEY?tX{kpHp1&$#)S9m54a>eAI8%Q-XV);&;*9apqP&PXYp>>%+b;E;=0xznd$s;o zNiW9QI{j^mKNAYvs+E&f1KTijaz9V7?^FoLb3{g=Tb7$1e){vBP^z+Zns=jU$thc( zw2kd%$grJDyMNT!)Sct9dhWuKlacvPp`- z8Y8&LnwaoBc`{&GJVY{O#mCp`P@%=Q3Yaf}s2B6C79AD5YR#P~V>m6)bOTOOJli=W zPNp*HEQD667cH}?Hg{}+gdgp}93YjUmp*9c`gj8_aBZ0sW8avY zX6NiSFgF7CK79K0^heY)4c1V_P-sdc?>r6RHTL$J{dk^GMMm!9(tmz0dWka-lQA#W zXdf`;=ExOJv+V3vx`;W^wrWq(KyLp>!+{ofPxJF9|Ku2~4KPy`&%r!MfevTFv?hRH zP^Pv`=qS9h326iT7wKo$i=g2*B^lbLre~#DL(I(n28>2Gg^v4`z>bmBWVf432BE}! z=%dyMYS3f}wFCnuO`6FNZ&g-=WBwi8-KIYYS~6hF|43W|sCKWJaqiix73<%aT>M#5 z?iKC8)_XL&u;F5WRi;7`VW01Uz?7QJJz;?DfTU)e2~pZhZ!ORA0JzhpA(Hd7nVDJl ztq(E=8|M-c?lGfz@4u1lb$BMrC2Om_dxO4-tz2^b_1KuqlAiJtXpSQ6`8qPSH$8nC zMZpy}rL*@|27`gFMY^W63My8YCbaRwy~}3>~>!x8!nLwhyfOZXVGBycPfMA^MtwF)p}uJ zB~ORB*G&5!yTZ<$OqwMMHLF_PJ&jGd-SXLoYICY?CVF(&Vw#m#{b%s+m#mJxx&FG3 z8EpzW20O+=4wK)eCMQ3=(LXxwIZs6*uopv5ROAkrE?rPBaxA;pgO}{nULCe zHva>TDb#W^s+&*5L4WaxR#7-B1|!KkpC9{0e>FF=@ssguLF9d|wA!E~;qk9j!Nb{V z724{=IXkjH?b#LE~)Ia~*I(j^ z&q7!0`jgh#H!;;L(ylgBpXh9_2S(;HM+P(Zgj)SipDbK@^n^bC=|1xLztn?+(cTs; zL9LTzC`o)-7zuSAeKT~#fv@{a-vaYz1u)j9(QBzS8#fk8^g^SuEFbTf!OCZm@e1Hz zk~G1k6;|w?^B68VecJwAmXgBAYOPakiL>pz(w!`at=gC8Z#gHN?r?plOG7Gru6NLxkY;S=fF2z|YbO3%qJzr|R*`t+_ElUU&&^^{glpQP5mHpLzxP@1#e01HOQOj08Vo z)cfHL0^U{i&=SYTLGdn3&Ju3SY#4p@t=L7hVjDBl94p&Pms&GXe$dl$W59QduVdfz zK_DwVt5H0(psqg{TB3EPB_MT+v zLYBDN^U+I)`GZ+Th^mq2lakVw_C)=`4cD`4R&i(Ib*)VL&w?yA@5bAw@19`~{B3xY kse_>K@2>xA`@bf7AU)z?-rE%2I=lr1p}dH|I)5bN->?*N_5c6? diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/logo2.png b/forum/modules/template_loader.py/forum/skins/default/media/images/logo2.png deleted file mode 100644 index bd3cccd9f47793f86864cd068621ab07198b5ff0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2124 zcmcIm`&Uy}7Cw1j9(f?ogb*T6 zR7xF)f`B{(Do|8Luizj$s9*~MRt2>X1!+Z~1*!Hr|H7>K;heqp+UuPCt?ygs+owPh z9z-=}83O>QA;AHWSUia>UkH!w{6lRrED-njZSe!3sdpXe0oyJ}doah{1$l3>n$0jEa145Xm{l=`0 z1LOGW4g>)b$0!*Rr7zHbv%EOo9Z|$Fo71*7zJWCy1avV4C^u25yk)w+l|hG~+NP%M z5{YQYU@)jZ|6}ppWJ?dj(b2ICDyt7~YcEeqbnFp!&dzSWetl`j4p9%R#_ovkDqA); zH&^*-g-KjDYY(ZuwsyF`U!+y!<>j?5(BX=hvuhN^Uk??}&Q{n9Y4Zjg#C7RoPy$Wi z{*X1KD~4_Y4Z$7tC2Omw9FAC!5Acv66G_Q!o6uY7#pImab!WWHb~w?Z0Yl``%a$|q z+>?+r?Ts74s#CZ+-0m|}TfQ#NUh)?>(Z$J0GLxDv2Bn)2Z1H?F;I?WNsG~%EmS7Pjk|D)ZWt7A)huHmXOer^gBJH%1K9jp$`#$4x zb~w%Q?@pblQ{_46k=OZ}+xH(tNCYC#!ac#N_JOZWKf7U{DDkgy2`d$SnL*NS*Lyk0 z%meWH?Wzzz0i!T%m4v~F`SGnry4R#TIUJ1vJ3A0IipV;YRq&)YZGt}EW(eud{ zE;wK6z~y^1FP?Bu(p|Q0-uZ9VP{;H9U`&*-j-@vuhP{16BhsxE$`{EVKiAp{q~8uq zr@u2SsG*&O$?=ivqQiihvx^*$fSkYwVxu7!GvA=hX{$Q^|2i*Q5IBWivcFZ#_XbQb<4Md2}~BtK?7vNsOe@; z8A7rc8k5Y~=#YTZ36{>eteYjoWt1`AYnuXw~+sOqb zwxMU@^F4f%7!EBh=q1a|wAiZ_D+JOhUX!JJa2*$iS7#3pi1YLFdk4gKV7j*>o*xr) z>u|a52rtb9z` zL5qYJFB}IWKha&}+a4CAY57e4)62=pAG~t$p>#RjdtqsQ+_oJzW`~!f=cC-qY`D zk$bnEefjm5qa|4Mzj(KDJvR>pqy+7to)KGbH~EW!4A`pNaZ zoo-AVwbdl!!x09)Z|CpRy=ESskd{ID`jXDLfL?hW9X-=U$GpHyAgw3%zFZB{#O zNiG-P)g6G3eOSK97L?xGE4MfIYy#f`>zXaygC;%Ei~H&H6ZB;yzeOe+$gdv&7;t@C zrZ*)T@!lqtLa&6cr>4Y#2wypjY&gET2c|!nXb&Nw67mG0^=3cjK+>=HMrGJ-oxxOB?TeD9oE*q;kn@I-k&}bV{vSuh^`1%k6r<;IMd1E+ZG{w0g~MyWjA*d`_?1 z@A$la&+q&HfPsR8goTEOh-(y!jE#0PICFAzz_X{% zpFo2O9ZIyQ(W6L{DqYI7sne%Wqe>k@wW`&tShH%~%C)Q4uV7~+8cVjU*|TU7DOk(4 zt=qS7(BTJr4xw7TUm@^~T z%(=7Y&!9t#9!C>oFt6t5zwd>cgV;`7JySDAyxO3~?&AYen-@tu`Sa-0t6$H)z5Dm@NG7S| zk}d||0+o_zM{=bwNED(Iku7HVjkApih7e}UBq diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/medala_on.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/medala_on.gif deleted file mode 100644 index a18f9e8562941254941a446efad3e6edcb651d9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 957 zcmV;u148^qNk%w1VJrb40K@E)v5}!; z41e42_PDkdcy;l$Dm3n3(BTJqC>oFt6n{%wd>cgW6KueptkMXxO3~?&AYen-@t5f($n3;DZoGDB*+&RA}La7-p#9h8%Y2;fElG zDB_4DmT2OMD5j|5iU_pm;)^iGDC3MY)@b96IOeG1jy(400+o_zM{=bwNED(Iku7Ha6Bh$gD&q69SR=%bKED(R$@R%+>`m}aW!rkr-_ z>8GHED(a{Mlxpg!sHUpws;su^>Z`EED(kGY)@tjmxaO+st^xGw>#x8DE9|hu7HjOW z$R?}ovdlK??6c5DEA6xbRBP=zwb*8>?Y7)@>+QGThAZy4+ZYo f#w+i<^ww+dz4+#<@4o!@>+in+2Q2WwApih7u&Gpl diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/new.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/new.gif deleted file mode 100644 index 8a220b531225397b6a304918e4d96f6196ef40a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 635 zcmZ?wbhEHblwuHIc*el+@5|9!VKPrU6JO0wzv{&J_sfTWzkfci3%c&b^ZDfVC#}&> zyOaNZ`}}-T?z6u1zh6H-?MZpollt+%s=r@9J?->=+L`dQ-S^kCd)M4KzTZCopv3i7 zg#7c#dEf6|d^NB3$Neksx6gmOcH+A&vz~S(UH9g@mudETVb^R-1c%-`NuBSmGx$*^t}v|N3{XpZ=QLxvghB=@852m{z+->`t|DZla{DoFCJX;;C#~TaW_r#|NsA29T^4|DE?#tJ3t3Sg5rdM{YC?W zNN`JQTYE>a2m^CyU;l)Olls+yCQqLcG;PM53A6e*r27K<7?(+e+V$BkQ0bc=>K)=6 z>S?AMvXf0cM9U_`CsbZ({cMkrfKVO*0bx^n7M2ip!4S?%Tu1x7I766NnV3TOd0ax> zT^02BokLcHZqTpCs*6-yL$WVW?v z$*r&`a5&o0$QRlWP#C1jBFZZwJ5}J(3P%A63#oz=VNXx?YB3g7+`6(-c+I>yOH7zf SWil{ucTQ5<#GoL+U=08@?DshU diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/nophoto.png b/forum/modules/template_loader.py/forum/skins/default/media/images/nophoto.png deleted file mode 100644 index 2daf0ffd4333c90aafd71479510144bcdcb16c79..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 696 zcmV;p0!RIcP)FMR=<>BGs+}zyR+1b_A)zQ(>&CSip$;tWo`Nqb^+obycyPRT{LUB1#`*2@<8tPF=iD3b$&izilao_AJ$Uu| z?T7EI;9G2Ni9S*S|C71nPeS~@YXtLGZ#Xme_@@>8G%0p2sX6212og-Y1w$?e z!WtwvbPJl0Aa)A^G6(_^hxshQF(4>p2|9paHcPMx2&P29rJ}2$!H> zp6f%wU$+bD9?CDf;J*mCI1D_PzD=;|;mna;B%E*;B%w%FK=_dsy!3SVseTRsf;O0PA5l@7S3xZ$It;!i#Ky zUwupv47dxD@P=FMLIa$I+=l%s0_x#ZiV;DS09Qn^j9pByOm?A=ICBWn)?Lr=Eg7SN z03L<9;aJ866<{Oli{Qt&ARUsBlRXUURcV2;m^$aahm^dfY4!Hqk3O{)q1D z1TF3(2qBkcAppN3{)S!D3NGw#J)8~}C44zdYXvndi+CRUT0sljYWS7$P%CI+|Ayli em8wo4&)6FRqy5_K=O4cS0000${>eZ`v@813YY~Q2faPbmo5s9gt%|d4ho>o57Mp#$&^RgUuZ5eg+dZJYZnp<>ZnO zn8@79#>ir^py2~!6AQbMoJWI#lOrpaM#=_*i%myaxx_eX7A$CT;APg}>iKX$rJbGI pjAPFPVa3)-5*81xR0c3Hu?omAG~5VaYGz`Q2)lD?YqkS}H2_zIYl#2= diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/aol.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/aol.gif deleted file mode 100644 index 92373d5fb7f964fcf45245b4aa03f85eb25d6297..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2101 zcmah~2~bm46um!u*$rDji3^`SU;-gTjMZB9U5a5*7^fu(9|(RzNCM(ghovsaOhrL! zM?11;rLDCnV__^R0*Z`U7#5c*7O+f99Vue9r7r3F2}?RU?VI^8=ihtoz30B<-9$u% zi&je3!D1KyfQW+-eFzec&QGne`Ji?|+KGj-FPyUK-Knp=a=+o`ofc>s0ty@7*>*0d zs429xIeORkv3pw9m0wKW*SfK?UHa*jj3Za&M>{ut-leL&UU;&5Tm26oebrNXx_5U& zUwLEy{-)bi=kFZ3aPQdV!MgSb^_@SR>KZ!A>FD^gN0Wb!|1mZB{O@N|FJ8ZXjl{mWoTqRzfR*5^eHj%JB8~`- z@Z6|xf>Qc?+%yTAZPumCn#NMvedP<(tWos;Iinfv)Iz-Vh9 z@9q9KBMdAS>1tUH0A>onm`o?tG618O$e){ugaF`lJ=SK8QiE_2ja7Pk6^*5OT(7ey zibD{m1!1O4siOHe5EjX@B7x+ zR+26WjX`!FB>1;I$0N)}9Py^y7@FgN^aO6rN?fnU7_~JkByJk_tMbKk zT^GbTuB3Ed7}CbL3MoJV335;XsYM$BVu*lX;DHiUkP8{eB}WuFvXV3jS>>RHO>bpV z5I-A5Aw~p@p_nmUOdjN;XgYr~1jj)McQymTzs-NlAK=&UkMkc@u=6={o)XoEa#{Dj z36z(vOsk>u>NV2&X-)e4GNd*Lc`3+5)*STcnnGG<_&h^(8Hx(_tcRd$klNjG&kfon z4NCDqiW1Uo)9n`^OrbYYS8%2rEoH9M-0>l9=k}I`vp!+~Z{FBv*}2_N4iY~TJJXi_ zsOh#0k6vcLGdye(UyA$TQMd?S2?YKg9*D2OL($tRJa#rB2`QArW~5t%)Jsqg3fO|Y z(^|FvI$hA;H}s=HcPWBYkSe*1pl3k5DmOz;kvfNd`yaOf^S>ZHTlD_ae1KDGfCa)i z+f%V_j$jVmb2iOdfOp5yOz4@janO~pKL*eoAj?-3OxMG(n*bWJ5Z!x#kX+>!l{_;` zLkRf%6+{pkTO<*skokmg2?<3JI-iR3gL$oleN~4<+y`i-=o=3}|1W^Cw)LnolFQzA&CRy6V<7uxy@s8X`t2QAfPBampY6z z)bvMXi%X3y&CI z9WIHO2c&JlFl7mpe}PMfiI!ZE8dw;Jh3sZ>O1h4_j^dcnXKt*uhl<-w7B6G-m95X( z>Q2PgoeCscJ&eL^JwgkuN0=o|^F_@?M&B_jlLg+mHGincJ=V;n<=Qg9j9Ki1x7^#^ z>dO{+JHSv(^(4%5$vzxEQPj~KS#CDmP%LdP7cy~t123)Elr8w=B2@Ya9aed8_J|$_ z=hYzN^LEs4n|w?sR_Qz6?6MCEalRgtsTX&b{?y< z_?MS7JW1Z;mDMxUyOTA1rTwHZHMF?NG(L@C;ktVA!H&$KqBaZ{O<8yp8o?b^-D0Ygj=5tNsDjTQq1_`E-I1HGv}FZk1i9XQ1%?R=H#-X!)j$A`LLd$H7y$qfU;ukF V0D^(Zj8Xsq002ovPDHLkV1oPS7mNS^ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/blogger.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/blogger.ico deleted file mode 100644 index 1b9730b01c3e60a396afa4193986b7ce800784a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3638 zcmeHKJ5Iwu5Ph~|?1U(aasn#_qUHo}jTDrKiXtUdlmp}lu2BjK4iLGb^Z_VRaDbGQ zV`g{OIJ=vVkdP%LkF;y=%$twL>zy$WAVijduPI(q;0nNaEbGS@D4BQ7Jci(whr)Rj z2q%0XEZ+#_Ct;QoHXnrD7mcRRG|JxzlR06vA#8Vq`ISDkj1^wSz7qhJ~@?gP6d01s`$vw|#jWKz5eoTkwqW`2*{qEdy|l0s_pcpGac^C{l1+0Klhw_ z&&T`@fCw(|_68p%Za@V6lF2M~`8?nwT2qqAT-dS*v`8aE#9vMiv)K%5uiT>`Cu)M8Smh5Zv%QKMzFEtB5sZL;q!re*wb?jBb3)yUxCP$DlBcT zL~7f2Xc#phq4g__Pfa4yRFB|+YGk+9pkrbfljbS-=}#g^UkO?BX(*bj5Y=)P6(&8R zO&8EjIa=wQK6IBb$~`nSj@zR~h?^=9$j(D&k8U|fv8T{Z@q#Iibl^PYK8+B{A42a? zn&ISkg6Y&SAlPq3IwwFtymf2cujzUWIlJo?t9T&*_MRU`vwqzc+-Li7Ie}Z~G zw--mnb2~J18Ml|a^Y~h=%%9s4;%rO&*gS5p3SVHc(|ZoU<~DkwMeO*)pdrB+_7<^=v$j_Y602 z`C%7w+v^bCUxP0O8_{GQ#m)y;vDe(lIiw=?CYvtf$V4M<5;OZIN3pf@5@38@&kv2aagW&h{ct;C2I}#);Rf;YA$}%~j}S*U5O+@yBM+JNXeK_&iEC2g zVcl>ivG!|}cK^irokINm*mxIr#*BEg_ZQ@KT);bqU!m-;Md5=V(Ka!J&7D8s_+S%f zwxX{Zm2{3EVkhehN@9O3O&g~f%MTkGaEszaP>gr!-qHPa(2tuSAtncKmY?DrX8gCX zw~BMRcDRG{ov~M8tU)~Wgk$}8ag_SW2Q;^IUBX+vH&E1l6;o7K6S3YvHIh(0Buyvb zPq7*ES+A(4dj?Z{#(CB^!dlL7#>=UHD5w@T&X-e-SU-uNe5_A=N#7-g&KplPQnh`H zPpS5~)B`tB4GvL#c2V7C$7}`uQ3W`%9{-rZU1zsNPt=!gocjbl$bG*$0T$*uM_#og zqCg|Oj)j|ToOkqD9r=oShaixip)P)7lk0PiqG(xWk-CUfrb~sQT(xGwfh@bnZt)8{ zOS#N-`c;zh{GQn97)jX{(Yl`-r8``9*&;k6ch&`=V2(|Hv9Q?Y!17y%ns+Deleo>c zXxB?L3fq2>yTn;9_Ox^x=H#ziXLYde*Z6o(?-#8oR9PIR^3 z@paatZ5n(3g?_+M-|dv&)6MY$9@Z~3eSe{3dw@NFY^CLT4(AuNdxNbG`TGi;zmHH_ zSiDu1l`l%qOH$kZ{2ccSrA6|bw77#IFRiuQojuoJeX89Ogm8^qV@=JLQGW2-x0FoEBpTS&Fpok-w*Zs0Yeh8?4|N;Pa^L_{*;0ANBj?|Nr>K_Bzw=hOXfr;Pk5a{Oh&kHLBng*6@%0 z{`;=sA*7K8;wSd}=B?o#z2{2X@}2Mb)b9Dv%j|F9^Qpk} zEWGm~x$+v|`i;8s9l!J}H83o60001-NklYd_hr8+bqKKmwEf|DI$sP0z$SzOSgIKW(q;=3VZOk4xmq(A zPY|Z+EQCmZfG`}1A?QLI!Q?HL)EfxRmcqcOAXIC>K+G3>C~|rTN+PMIeaK`rgfhqX vc0q9!Wc>2fPp;8fYoKkH=WYk=8i_T{= zxi;G@ciLRWhGSA$QjH@~OKXWG9bbL_jPrUtAMf8^@5lSS$8)#KFQJEk&A=k?J=VKv zHl!?!XO^w^O*K{<{w>tD5m^y?7hIailF$4z_`kw_{yUftBxjA9ZRS_o>(1{SQB<>Rc(0E z{fH~-90$>toaT@i!jCXFRw_Yxpy( z>C(-n%eR^@)0>m%%~!HpuI03nb6d%IZOQrVDFyARg%8t;1?k0tj1pmHX=m2mu3KOi zozb1m=*ebw=a%*4uzK=XqJoOPqDpabwfIi8q@+etQY$H~?f>ik0LUHy>joK|!7}dO z<@G}qd}-x_;i`t=s>Vk(O^@z3kFZ-t>e`-g+n?|{p4NAa@&%&}LRn+yv*zxxR?+iT z(RiEad3*2pL-7lt7;o0AMvBf{*izBA5RU8ObtGs`uoZ2q0wpS z==88`dgR%gM`LeB#%3Om%{+NN`*eJE^u^oJmv3b+-adQvc1-^6xm@vL^1b}^+{E;U zsTt+#*^kq2SE**+sb&?QW)<`A=H?Y2<`r|F-zz`QDHlGd7L=+*)hD%TUj1p|%lv}+ z^TL;f#id2{l3M-s%hIalugl+-m%n}c_V2fUSF`f}tND)%%P%kp0IUFZ-}`+32>`JI ztRT%u98j2yFu(=(aTr}`s7-rINL*$Q&BXCot$#5i0j|9y-x6qz|-CyB?ow07_cWUYygAx{+Kn*A| zu=Xy*if+wY+IiZTDI(8W@SWEwVDJa6dwwM@w>>dP0&XPRP*#}2DZjK?BdFHNd zbTGwmJtSgE$0l>bVSbIFC3XY4HATtDW*>C*X!MYVkK(ZfK1<~wh^#zHK7Y1Q4mLs& z8!glcN8#0<=7U7=*_U2mRbYhrf@0-uz_?8i5FP>8q|8C7D}?4|)j zWsiq>;TlR3x{cWmkWQN>64CvlbLz>bI%iocJTJ?AB~qfEE6TDD-y$bpk2)z6bfI>n zFuZII)W*Q^r6_{6U1%RCEh_RLw;va+h|${0&UCnL+n^M7nbj(Cv`pDMA!&G4@JB%! z`lcbokg14;BXvW_MBN_;CIZ)u%!MUucwJG7@RiFGBI^MxrEhD6+Lvs^=4OlVcTKVd zdX-YEUNb&lrK#bW#Pc#Y{-954PE1q^NLT%pKzpm~qY!b%B}csZ@?31U1zYIGftm}r zI(S}_-y56{CYFZXVTekNI#+mHs}=QGdy$kPqBUD)M!ilJeA$p-*Av?B_F z=6*FrQz~2Us7)4V{pt(R+Q6Y~G$CkhoFV8D?IEyuG-5BBsGG0}VgL}3BqaoiS3*o- zmPk(-0ge)^gQtV=J!%ND+Oc%)xE!%lIRqtflFd^9ho5DTHBMxRF6X|6Lk$_WUTIcE zLPHRT0hm6WJVOE?g~34BJ*X$l8r+WZ1-7gM$&Nmec}cS*jDxt^H$OIA+ZR~u(EqVa zrouE1gnQ{%^&d+}DdD$dVm%x8e+Ke`=wY_TR8Nr~50fe7M}lw@Sx z)|sz}w0Z6jHaQ_AqDOitt<&SSea)PHxo<4{I(gaj_r1;9XTGktbGBaB{saBT0srj_ z{;~R31Lym74}$(bu>NSIe?gpv&bzYY@H?IKd diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/flickr.png b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/flickr.png deleted file mode 100644 index 6c443e1e536a6be39a599a1b9f280c17bd6e9f92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 270 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCijSl0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP(rfA zHKHUqKdq!Zu_%=xATcwqM9{G#8M>GS#jc3BDyw#OR%uR*2@iO~#K2P{Dxa;V!UwdH!PC{x JWt~$(69D+RP9*>U diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/google.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/google.gif deleted file mode 100644 index be451e56d4b1236c6e231d994ec64fa6625193e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1888 zcmV-m2cP&yNk%w1VNw7c0QUd@4l#clIC>&HbO>Jw4_px)T^j^r1_^!-C}k*hCK`J| zIeKRseQrEKQh5(GhZQ-85j&J0K#3Ybl@>#%7fH1wNtiTFhdWo6B1@zrQ@b-=xjbdP z7)`<)Qpzh^#X4rkH)+&JTZK_(mPux%MrycBaK2S;r&@QnYIc!kd7@!?uyB8)Luz$^*IInXP<+=9jTIA;8ylJ;DV;D*kWWv=R(pb!ZH2gVgQ|6jw_JkIT#M&rgv@4% z)@+d8aF5Y_mC1RT++>a5ZJ6wHn&^F|@O;&RmK6k=A`*%=DySC&wip7fB@@3mB$Gxv zn0pJ5d@-v-G`dGNjZ;dDZB&zSXuDiYrDIvTb7-@Db;B3|%_IxODip^t9MUBW(<%|o zIV0phC&)%L*i1OsQ$OlXHo#a(!d_6=T}#hoRK#;==UGJXTSMz*QS@R>^=nn;d1sw~ z5s`p7vyKF|oI0wQRiT)Cxu;^pn*hn80@SPm*RK=Mt|jKS0^q(d)P{V}x@qo-dH9NX z@W~VJ$|v*7Ed1Xk_|!Jvz*XAAYU0IAn%FEHu(bUk+*w)y>&g#U{@5a~m+uY;M?$6KW($(|W z-s0}q;`Zvz$>H4G_{qZX(9QSU+2G&d@9EV4`^x?G(dp>v=j{3A_UG;K`S$AR@b2*Y z`Ro4v{r~^~A^8LW00930EC2ui08#)Q000R80R0IZNU)&6g9sBUJeY4?I&}*p;*;g0 z1q&8FQkjd$v7^CSM{FFx<{-f;iEQ7LGvBOpzW@!hC_mfdr}IK>)FoL=72MBty_WVQi7aPW2EHg-!$| zvIia5^yC5xZ}rfD1cuQv8ej6TK}CfEMYBW#ofPCl2M^%b(I8D&L7hO&fU!i6k?c{$ zT>fn12OW0!Q1R}6$ zkUpFF!pkbV$U`Te1?|%Y5>(v(Lx>)894QbYc`QKA4;(~rqzeIn0x1IG_%lcsPmnWD zeF(MF0R<9#W6~-?m{NobFv?>F6R{ff#-8LHq6ZYV`qKyJp_2gx6az43iBsWnck{h63F~ zHXVU5&MfB`kwB2XtwETQ)pW2_+?Lgb)e0R$6F;6V$(myp5@ zmq6&xJfm1~MHaz$liuN($8v`qcoc&THoM&Eix4l6AUFjZ91hMUm4HGHoA;Dr1r=0S z(aBH>tyhXBm}s(+fBqfpwm08^hdch{KnFp7;er#q!at!f!Qf7iIimP)AmWHcDTH#T zh}>fz(Cf=VegOj!2n9Ur(E$Y>P%aIcFd|04041Pwj}|zfJSU9dLe3%qO;peyLU;fS zWyr&WfPh~IVF3y~s?ozD8Uz)+d%-yd(vBUZU=;H(q7(*$1QbbvAP7Q0Tpmk!l@)pHf>>S> z1vbL6JXf&Eq~nt$W+Y}?NhYbg%X2}TX`y3UlPS(H)68fPIsMMP%d)ZvOQtiO{(Js= z?m7Sef9JdZJ&(JD*bxy~wQ3b%;$cU~E2vFPBC#hV6@5-lg8iE%gba#Un|TxR-jjq} zb3h#KnTHdU;W5$jSK%T=Pj@H?K_Lo-P~nPOqSb0qGXv!dp_JW0@nc==!i$LGD~{u9 zt~8U?B2Fd~qvpC~M^KA`gqqWJF*i|=E@%ujnuad%Of!pb5`P(QC7kR#SP2OTzQ<#W zlv%8aIKD~feX!6nCX`OuQ922|4;{CsbQG#}pj5FEW=E(mRL;B7LWEq0KANYW^3Y=B z_y|vmH;?ldeDaRw*8J(~hC!qOw?4H%Oa?Y1JnqbNZuG{_4-W8zh5g(k>k33gQDw%FD{ne3XB@ z!rC7_g|Gdhw<&R;HMK*r`+|J;KQGI_{V?zIn&?P3mLE&uo!9m>GUrS3pvy(U5A^kP z_$(c0u8#D!b_R{U=43cu$bYTlSjYsNjhYF)s`QQZ*3Ky}xtxmjy4jX?u^{kLVeo`r zO$S;h4E5!2dRRN72QywCwpkgq;m=hECwm&HvGsd>T}g=BENAdX&yl^G;15ZD@oDXe za5~)ny+KtH;%e1SDcr|-+q7@ZKZGT0tS19Bm$;2T93LRj8^{4y675bB zwk%H%+bJ)|KhfTK`uexou|aVjGo#E;Z%!+~BizWLXGzMgwI!$9Yp#x{^ivH+c7UV2 ztG$yM@p8QPk{Hi9qZjA|_iy0IrBz^V2FDGCt7!c=X2YVB&%j+s%GRZq6}$VIQ&2P#@0_gE zNAUFwKQH_3h_#F3ZUXmN_F>UpAnQ~Ky-mq~NZp*1ER$dEt(TrWr;qctLx_#Sm^+j7oj?A#I7DC$ zaD!T6s6Sj3{L6HyM1HcisHVO0oT2v1d(D5PMI|R99BoZLz$4vBrg+7t)3*@)h!oupL+wwg_YH%9vj*4aIjHXba4{8xkuc);A<= z{dZS2HK=KK!_1Gt{0T^;r%|h@D@A zwEWI*^|gxqvzS+eyR}HSKjd>V18&q9+tQP_E(>?D2|U7;$hbAy$_UJGbI$ekhw(yN zQ(t@t+Lp`(@GUljJClQ+q->vynK|C(jk-g{A&xDnJEp9_2N%N}naK~`m>>4s;pgp< z9QJ=jEdleAH`nptjkB2FdOtgL+Y^|;w&WZ>d7<84e)0JS>Jtat2~yqPk^=D3P?xq0 z@f7|6Jern%&D$w>p*GAGyl#LeY+CZk`Lq2)w{GZkg^@2rdyw`F-&0YZ?HMmk^)y+7 zCvI74%WRnjCpgYpE3*5H!##ZipIx~q^<9GpuZi7A2hXs1Zk~!pO}{2J>4l}(OBYOw zFj0B(Bt6hCeb>`pT-SE@^z{x5U2Ln3-?S|8w?F!!Jf|8`_0G@Mi{w$ z=X|SDy7MOoto~1%!)>|A@LPpZ)J;^~NDC9o;+|ify5q^Z+~}r~bWFtv8#b;5N6F%T zh9Q2R{a&r|U)2@;IgyF6UTmI3tzX1!nST@^QP$V_qZVtm#9wTzwZCbi{LlWU{0Anp BEK2|Y diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/livejournal.png b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/livejournal.png deleted file mode 100644 index 9f2f6dd8d5de00d094b0a153a53f0b5c6dd0dfce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 471 zcmV;|0Vw{7P)N|JI!F%9$5NeNKtPh>ec_*P8#%n*Y|ozP5wvQL7un$7#B+5ex^|1VpTYoF3eeXvo3w3^NOqSgPI&H5)(h$BI4Enbjt zq}WS-u}^`ro6Y*6)c=~!`Y2S2X|CRRAN$TU1EXx3Z-+&Z+zTUFn^>zpT z5Q2vz!0CJ;!4>E0&33o{2_hd)rnC8CNz!b!JKbJ?FeGu7Sh-TI)f*(KG|Oaj`9hH- z7-ErVES^Y;mdow&`uqVgZZcb}HoJoWP@~o94MzC_hDVBue}eQ|#t(q`4wD!YJd6MU N002ovPDHLkV1k6v=X?MF diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/myopenid.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/myopenid.ico deleted file mode 100644 index ceb06e6a3f0d88fb97cf10475a3062fb0edab33e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2862 zcmeHJJxc>Y5S@6ZrZbS)owhjA&;jnXfl*X745tmMB3MrBW$)n`RP3b417qd6J6bL?UM{+)q(3xlv0Ik%T7j-l59$8$m>#ard~jq(8yIciUu?j(!>?&WKIe?G5c$>` zV+r!H1WS-ha)=*H^!uZEl>O1BP8%xc=fconk~~4DvKCYWn4`b_pUnoZ788}%mc>uh z9HV;s)r}P~NWtqf_p5&HGjTJoZI|S8n)uf0l05g}rdhqaIBpnv^myAWbI*7E=&N3x z95xI+0zR;x-|08c&;6Ul#XdjZARV+no-wSN`};1(+>)AIisPc*P@H*_1Kd%ys#()H z>NUmL)tL6ccj9UxPF`{LG^Rc9JypwV>?^N0yvK~LBc9f{#^OA9dQUv#8Tz7oxfa(K u#=%<%_2}PpAPx#1ZP1_K>z@;j|==^1poj5AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy8FWQhbW?9;ba!ELWdKlNX>N2bPDNB8b~7$DE;UJt{NMlp0tZP% zK~y+Tb(2ddgi#d7uZ7(#l$9x@upy<$BjwdJ~8N|A+_4N7?|l*L#uYLaN0 zqS*-9coUP&%tXk{tSDnJH8}i_?(}^gr*3`se)s&&|2%F4eVI_0%j*}my&GZMzY(t6 z0RM@OiWK?`tuSQ8i=s5G^12WJz(Q~DG;BE`O|_YXet{zEXGzmB$qU~&!!nF+koVzP zx)B53-aq(9MA!{9G$Z!b>yoN}C1lfoT=Tv(Gbsde-jBAz2aup`dnWh!7d(dG-CN000DpuL_W2YvnXbwt6`gRR3oUkOBbc3IiZR z77)(a_D)X2>fIp7{||s}FhKSn2T-u-J5|-dbZ7pv2533zC(sHx1CajH4*ka}fRvBU zaR)JlO!_)VpPHiJ$BT*~0TpgN4-)Evlo9mo>i&BY@quANPWMm2Uw~p~0Re#VmhS@7 z8y;nRY@T~4u4O4aJZeHX;-XRYlgz%F0OTqFGm8ujhOs%l%POaUYuC=vmY4_2=>TaFR z>bTo&x2<*68N033>MBZIXiK#|PzVSGLOB`Z$yV*`BQ+F<#C#_qvU0>Oh}L^8!q@DSZ@5`qw5iJUk|<<=Ek7VSp@ z_(Xl*=Dqcf$tkYXCXXEy1=(117nOv%9JFDBphq1#Z005^_(xyOkCbxe9Rm)5NF?HY zYz7d~Yq@KjXTXM$@rC85Y~xN*q)CygV^XJSh?|CB6cS1!xv2;?H9={pOV;Zp#hHo& zzgog!Qs)uvq|3eS;}#l)v~xqo_K#a`=xq}&H-Ms$5g|JO2(>0F96GLPR5N6U`N+dB zxn;k~HZ~=SGsx0(2+5Nqij5P*P!PXdFt0JF03U=^_!8!pOAV1`KZM~M7W<7~M&5bs}usrRl zl8B|yX&$=rUfWy#L_$0TtD25{vhvs^O+{Ji|Bj+z;=m`fmC#v|Al;B3tu@+LZU6k4 zw=bTkc=XYfVE7}~T{l?l&K0R4hcEP~2kwLlnNKf|7V{WYDlK>pC{Vmu5ijR`+Nk3) zsZV5u`#ycFt``m-a2xQ16JsQjQQ$^VcrH$xl%P};a}!AZt%!qcGO6X(0HL$r*4i^1 zA!SEO*_91iSQJvOAUz~AMvTw2I$W@NOV2Q!N_r$#46y`o$Ky1I%Ist zy1Yn*IPm`X!zJt^zst|xT63WGW^TL`EacBx`p;b*tiGbZuCr3eq=R3o>uwm=W{3az zWJj=o*`Xcz@T>0HHwvp7wGhmrMRF>|3&J^tLM9hyhOrr5LQ=VtxK6a0)ftj_z^u3H z5F+pen3|`1tDCQ8#Rnfh)@vz!)Ws6%ERY-z|Cjd2hLwJz&>DFeb3rm<8v z_m|}=eM-JGNd}U8U2BEDgvZ#qVG(YBY+)#*OncwR9J%eS2k;1cK@$o5zyN#IOA>cicJ!OaXjIbi%bNB1(E(I)Ob8d|Oj(%(kzK;z|0(x{XkHj> zQ8%i6vw5czwfc37NH7ocAhkg`fF?2lV|E<^o&~={46P0)u=JEl>#N@Ir0^yPgX%k1 zMI1WxL5Jsp7G4hvV)+5jv8~Nf?ykHF6%~t4aZaOKiW9(?5iJ4?4vk0ZPSA`dz?mg^#-DKvO&AbRHXTgk*W+?A(*i1Qq*9?UV<&S5E&HgnrItXf;|4z3D zEaQ+kD^o)r7;r)ue?bTjL=Ms+Em8{S-(6Ap9A7FIzHt~-InfQn6)%P3SkHEYi1n>4|R>fJWv1SJUoBCBF4|*xi_HD z*{g#m>NRU;&N{rk{mZNX3dwR)I?&0TJ=yLWy;~c&k?QJfn~e>JA8-{nc4#eI4>jZc zGi?Jn}+<*m=rcNaym^Bsea{JN@9ZQivZ19+gQT}KGf3I5l)Iy_|9`#xE4Z7R0#AY zN6f~5gb0}}-DVj6{pCEczxI<<;O%b?HXS^3OT-B<+9uqnr)yu?9Cz5*WlY<068JG- z8H4YD2LEAQdQpa-AY_o=P!S8xbbK5tV*YJ&4kW5?#@4b_P${3=;0Xkq(Kdg>3zDwe zwtLoYhL2lpw|LY|JWJD2IXs z#1E>SWTg=7FRqSvIHzZSfA0%9(ZL+>KkN`<02Zhy;b5O~qX37?q=kuDS+NoyvD5! z4aLcpeGRIc#*bcE_N{3D4KsAU*ijfjCH>I;<1tsj7di%YCda#*vO!etBN%wT;LrP@ kO^XnUx%B@F;C~4)029<&*F`myE&u=k07*qoM6N<$f?0y^*8l(j diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid-inputicon.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid-inputicon.gif deleted file mode 100644 index cde836c893f64bcfec04b9c817e3371ff122fe19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 237 zcmVb{bmUKcqz}))c5uC(7v?)v4a2P)ZNa- z@$&T2)z|&~{r~^}A^8LV00000EC2ui01yBW000GQ;3tk`X`bk)Wk@<6#nZYULKH{p zEx|?+kif!I0vIL|#ZMubBmjWH2OtmxIFVa~6JQ7!1CK!f5W#StOTv&C3=E8h2vI1s n+#cd5;2fT3B_0kF0v!+!GARoV78n&7dMN`JIW(4+BOw4gP{MS* diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/openid.gif deleted file mode 100644 index c718b0e6f37012db6c9c10d9d21c4dea0d0c01bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 740 zcmZ?wbhEHb^k$G`xXQrrKS$vIw-5i{JotZf!T-qt{~ulWe{RG7ST3!;kh({9A)7tlU&$%5*g$f^Ar># z6BXsynVh) zJ?osJf(s)D10z?npvQi179P(djPk7Va&pI%NfVlv<{V@&c*Q1S?C^%corz71;ll+1P9`Sd{~>qE3OQZcJ(5}z4)|O#`p@vJ zr9;Fsp~HjOs*vv^`}=;ISs7Cf1bMkUpV%Pi{6*$qgF{F5!;-XxTBi=%eG5gPtV^!wdin~r1kkVO&vN=8Ce+Xv z$*|MCqlY(ACp$%vPrNeV;U*4lo)c<`?yngdvl5)QWEV6rHbi?!)@MOEE;CkPT#L!!@77y7u K{UjJ!7_0#i2pVPp diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.ico deleted file mode 100644 index fa1083c116527de7cdbf5897976aae8807fce878..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2294 zcmeH}ze^lZ5XZl}d+sirdNzWcsg4x+2g0RLIAWPjuoD!tN}VeB7eq*vB1MXHX)Xi{ zAytZyMi86WScxK7SO|(gE|<@|cRuzut2sy&xMBC*%tj+A zE!c_l2H#`zaX;dYlru_mk^31KdcB@L9&W3#wIFp`YJOeP`OSr1{CK6O-`2Es@?E#T zy1MFK>-Ep~I=Vd7%e_s#J@}-Zvwh`X=4ClX_h=7BXW;)k1Ifb@+v7M5AZI7aYkiNm z$KjX;Qm=X2(~a>=Zn(6-IG8mv>sbkaBEroVrCFBdHr=3XM61uF&u!`5GI1u;Qf<+zMxU!sr1q{f@m!ic#&7x4 zjcDZqv{&NU85cGO2UiL7I^;$4kVpqJ@-E;pjlK(>l3v2Y;e5IS@q=)?(5+CX;*7LwCwnlxopJBahPURBFV+~&J eFF>coTp;}_7zqbJAQuX63TM^f{)_Klzq8-HK65Pq diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.png b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/technorati.png deleted file mode 100644 index 7216641485277b5a26152a4b7b424913c61aa9c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 422 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCijSl0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP(rfA zHKHUqKdq!Zu_%=xATcwqM9gv%S$L)}OkmW0 z7xLfVQstk0g*o#KU#mfNKdE^5na#7dVH$^Z^iG&oOc*frY9CNdhi@(JyAEi zQkQi-cS2+DqgKuEqyQ#C%Z7=uj7BnY9WTx`v-0^co`@E|_vR13kUL+>9JU4?mv3DA zOg8?%S#u?#VJF*7h9@%^CBHrR%(@{v>)efo!yKwS32Y4}jdSkR9+Y3hA+pq<=Uplf zvjbNltK7C1E}oq`9!XEP&{(_R32P89!%mSob0!ok8@4s%v@K<2n6X0ssI2H|-AX00004XF*Lt006O% z3;baP00009a7bBm000ic000ic0Tn1pfB*mh8FWQhbW?9;ba!ELWdKlNX>N2bPDNB8 zb~7$DE;UJt{NMlp2op&}K~z{r?U?s(Yeg2v^Zq6}OA$>1R-z+{=wcUG5CXJxmL?&p z0MTJ#cVP>Nj#zpZbkRU*E)e2;MI+8d=wK&&)aV zo$o1gcZo6Pe=*v<~{yncFU*}b+om2R< z5O{Geu*wPiWJ`8Fu>(_TwHoF;JT3d}*8aOL=`HFCjPHD*Z6r+v0{IO&q1)GT*|3!B z^7xGZ_s}lsT=A7650r|g$o-RnRfDCU)2g;x>%ao+u5QZtgT4`<^Pfz-5kJk#bp2|T z6-Uc~ienOzsmdio!N@=6ROyD-m{Q)TSL$+c$f|c1Rlt_o2dx7mXc%!;e_$n^wN*1m zi(upiojcfc8#nZEl+~J?+NWCf-!0dUDQnIh2$cTKgQns&&?#=zkw4v&xBhlk1=iQs zBerdGV6k?_ZcXjn+?>l-=L^+Lp_*QwZ3$D&r~TM8h23P zhl4xivn3%~gW3&A`7kG>93urPQ)_b9gxoQ%UPH6E3zDBM$&E>QDy@`J9*L4=-Ah(@ z@kzY_DPEWrVxDz7g9tQlWkUkZy9DKdlDs&tv58Iy`(#O{JLdXy7MZWe%Ncoa%9lj= z`B^D=lFIJ7a;I9;z8BB{(_Q28+^oNuL%L+7>?agRcVQzaoHwAGH&c>jA-)>E@Qw|` zmtzx(2&S{2vqN5dO0Qfw;`eJt<-MF*Yz}Ds%>E{Uk8*xen_iczN9BOdK+@!o@0QmW z6ip8xeRw4!NA8J=A$jMx+7>An_70lY7UcHvVCj#R{Ii1*Y}gDsIw83YfBcK(Kp3K> z*9GdC*vY*r7LGL$svgv-89fY5M1V}%S5#`86AD-n8PvVhh@0dVr#&J@HmHD|*Bl+= zp*g2tZb~-ylolYkKp2`2a&4gbycwEsh5|uK8^^U+7p9`QAe5n6W!}%pUmGm8Q^7%i z0CoeM$wOPni@zTp#}^Z@v}57F4K&+isGkvTM8VP5Q2KR z=D@Aq%xZrlE1a%_5??0RxxXj&sArK?toIcCpjjvs!ZAKzP1x=C4K#~YEpwg4#F|H^ z{Z5TT-AoIg1c}@U{C!S=Bh8)Avn6(J<-erl`eY#Xu2&zqv_)8iEV*2+RPt0dS_h*P zQG}>JjRcc#N%;}3IS=SRa*$I=kh6wsxNr-TXBw3Um539*IoVY5L4Kflbs-SoY@!!A z5g>3YTs-8*RA&{?K!I3ibc3V|c;q~nlB(ZBU~X=1e0+R#baZ-pn&)D%7%763HRZDA z+lQtC9fUxf_PxcRf4t;x_}P$e6G~y@s z^)X7hI>ajdDz5@m9QaYI03)~?ZMGtR7>YkFnEri1Wo~P@Je6VE`yR3*Xz;0pg#{eX zz5{d@wK}BqB$T)gt8Y&E1+`udM7}G?pU3q2$15x&9a03-dHCb7a8|rRfU=E6?LNWc z?_~8J%Q^q(?TS*OMsY5(XI1YRAZr>4QsAW(s!r6(`iFwtnraewhVojgdySsJN0CMH zW+Ky3ebtEG8*+_XIu-L3!|H?o@=6%IWNmFN;z2PE#SnH+PEJltOt>pQhsmkBj?dfo zt;NN~+1XiFHNqgiHdzZ_DG4In9;^}MSlOUgIO@t2JGW#q$*H&~=#&DnSv5aDA1h!q zL?D~ZE-fv&dW3OowmX`cgin;piUPsd&01bwZu@aVV~sU-OVAk@7$BKZ{CMXXG^{6* z^D31}k@JRzhA^6hhXP)qoxjW_7ZTJh=JRT0Wo2q=YGh;thXs13udc2#4k+m2FSA%} zY;24NUOA=6kULBrup$FMs51fmR8XlPz&MMe0!b@O%pTTf3moC_@Gx Qd$`S!l7P zw)vD{fCSLkf9A8|;NV~)k?0JyuC6Y2&VCFn6k~B;U*8_D8KBsT0Je5_cO&1^)59}% zU=XJYfytM>y}i5zStJ?9K7KiQAmA0V(8+@R{r#B12K2*Cu?XV;-2`Z?z{;!u7Ay+| z*gtEUUR$4&01oU#%#Mdm@c`?Y(iWE(XdHup-@YojhLzzJt%$U@-j^!>o34G+V^Ax} z#<-)m`-m4=3haz%?o(E{X17q~1R^WPzIE4V-a7I}?$*v@VjrTc*?5imwU5pfq4 zQ4m>QjBTZ+CRIeErNk zREwwe2CX!zp{LmSu(HSiXS0Z~ELfW_hmFlL(pSOSItLB|b75<{0z+Ju!Pzbsp04@u z^IM5gez^!5o)68~JR~M1V)|=3XwNQ8?a>Ya%3;dK~By}6c*$o zzc7z#uYNYpl*u)SjcUZ3@pYK4t;Vd>gP50g5b0^P$e34y71<3~mHQrY z^v!hsAEG!C)5bMuezljdfeI&}&sTTWohhE|ksJA(uJTd-&Q zMO2ly;NXEa9IkGqoEFsAT)_K>+aNTx;izy9$B(q(h|rGX$9{>EKmIk&oIQ<;7cbz` z_Vf7oOgqlCbl~T$U*gkC?YPwb87^PGj4!TTMMqaVuHU?hTbV;iCum zZRbOL{qcZs;#f*}wrlz{`0xBe*(I;Sz zyL{rRJv~s#3{DZZtH%`9aNO9+=O$@yE9B}Ppw5xAUn^OeZyC|qoIL(nKmn&nYY>eL zKrf+{E*!VX7~r9ZuM^b@Gr+V$Li3f}Ym!#NDK|=*KfCmKlHM?d^N_SO`K0ZlR@aaD z`$@HgRh&}Pnx=3wq}{WbyQe^@gROXtjgE@>Qu-jEKP!rl1Z1YS(s35^4X=At_Fe%L7)Z2wJ zI=BcM$Zt(2XjtYnSb8HX6)sr~HNO7Fi=k7(q*OSR;1tv-=GQtZrfwBAkrlHYyo$=k zI88HxY21*dylU_ihyn*o`a+siMM#3?z2La9_bI5tty|5m@_$Kv=M-r`DWnsuDXI|SI(OnaFs5Rj zX)H<$bK-%v#3C6u8ZzR^Dh7HHqo*OR6YUU|4ygcb%!+EsW(iDpCu}sLU`Ao=$b{)2 zqYUx~O12syWYaUKC^j&d+|rIZmK*4)3nD=!V^Y|D)97J|C?PnK9W{j|5sikK_<-~j zB9Ma7re4g!anVfBnN3BRq6!uR)Iqc*BNYKUJ~~i(NLEqh;Ss1(xyk6vj3QL-oI(}E ztJRXtBFNMQ1%(&^QRrgWCG@7zAyK_e%IJBC60Uv0=A*yw|Kz_F$NuLuvWqkMvw2)i zo$zJE=5ZUFK~Q{S_xsb>KZ5B3WHsh5CkCG#~pZKK$?_l$V}GW#u_kRkqUX z`UyTd@da8=wc+%sYiMmfjdN#zfeRNd;rz$faN&FhZrr$v&dv^;YrTU@mu}(8l`dTS zyp!h7d$`$gpJq>*C%Yct?%liirkiHU``!4q`ysx0_@`GhR*Wg zL+$LnVne>U0!F8BBDJgQ#SO&zJnpsR{N}Sv)RGX5ladO5OX7h<2Rs-#nHmcwuE~3rz z2>~NUOyad;2ZtE}qZs8M)E9^dp|1)1sQ>G$Z=aRsiI#u(rfHU-9}N`$^h{weM0ms) zh?4E1IgP=fR~iiIb_PS5COyWGoN9}0AvLQ@%8j|Cno6V=(mN3;^X49e}CBB-C$#4Y7-OMy1bZFSC*BQ-{a$nIzHmh z&khd{?BC#kGBk}tMmRY+rm3iOc6IIb^KcXvT3cHnBO)j$C}e7As#9E)GBm7te6W3h zKR`f71O(>7#)wQ&xwN%qKt*6%TcM(&Zy6lR#KxGJndR2jco!Snzrm$=eXe?ac_k@v z8XL^Nzuqr+h_y?_3ZA?%F4Kp zk=w<`bsZs3P*7_I33(wRehd$vHaM-Hq3PS&S4By@ySto~mA;&v!NS76oTDmiJof+q z0J=#;K~#8NRm?SV1W^#c&{cmJUS>2iGcz;Z|0 zhHt;Uqfl>}CHMIB{L)EKsP<;(yzR#G3$mzSduL^Ua&0g@qpK^&HGKB$CJ!*t;x;#u50MoW^i*d6mOv6X;7Hm~=WlH#ZR8 zhp=h_1%mX@0-U%a3UHfl9~?&&Gr=!V4;pT(SVj8*A0H6LW>&!400000NkvXXu0mjf DlalLa diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/vidoop.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/vidoop.ico deleted file mode 100644 index bbd9a0d50f83cba859fd46512873155397d548e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmZQzU<5(|0R|w+!H~hqz#zuJz@P!dKp_SNAO?x!0ur)~3{LLd3{na`3@%<%8Ke|v zFvu#+0OA+h%v^2+Yx zGJaHiGz3ONU|59!7au1(GXnz`A0HnV&|@H)n}q>L0s$9;ARnmIVdDT(f_z;3d|=N* zDLy_ze4rMf1_3@kMlc035Cr)7nOM2`_ymE1g8cmaK$@2aOo2_OfcXEPfdPgOHZw3Z X0PU5rU|_JTL0}LcBo2~?sfE!1%eOAT diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.ico b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.ico deleted file mode 100644 index 31b7d2c2b77c039342854190a90a8d8436992b47..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmaKqJxT*n6op^J!coBi!TOa}allq&O3PWo1c^ULbO>qe21^@jt1Q7KOpyh+ge)Q1 zK|J4huRH_#zwbc3UEA;R9AO!H&d%roag-+O5 zO!N95T@?S*G}Sgw{mN!=VmhZ5Rzf4>LLtlrZUAWLgGPY+oVrG5xo^yW`xZU-Q@wk~@ zYxS@D)yH#t7kvCm!TtK*mFh-7(+TYB+*i5pa!nc|Jf3SU=XN{`fjrfux$lA7e}n0{ zlfCqFi>Z(M`wVVG>yKK1*9rZ1`iw}=W^iIUOLNU?<8e1$!1FrglCO_u)5YTUvK?eu yI~YIj#-~XLO;hd+o2#A2S^08*UB1qS`QCUE52vFxJ9}scm-~xFcCkL1j=lhFMR`a7 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.png b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/wordpress.png deleted file mode 100644 index f2617056ba02bc3a9623b6f3df2cc1d480df8e01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 268 zcmV+n0rUQeP)#K-#>4krMuGd_4wH0>wBEN%h=_Nsl`lrrI@nIo(*}d0001& zNkl8`>{nSxxEl)jUJk%N>0IK;~Y->IYF<)dhr5F76N z7Sm*B!Cla{j*SIReSS@Qv>}RSd9EW3R_#|4y5*g4Q_QM&)+L@Me3WS)?Kl1q$Rb`r S!aRZi0000{(pi1 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/openid/yahoo.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/openid/yahoo.gif deleted file mode 100644 index 1ebaa7f46b541d1c57953b8042fa8759a0567d48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1643 zcmb```#;nB1Hke3X4W{q4w(~CX4FyPINHgazUMs9p*e>W>2#cO&gpuLOt$18m$5aM z8J}eb#bMSAL*~*kMK&gLA4|Of6$Orn2Ar#aDR&NR9co$gF$9AsR_U1#7J3>QYKOKPfXYU<(Cv@g@r z52rJ~VrIByu-sUg?wKqPR;EX0);C#MURjVQ1bIR1qil!(u?g%O-ZyT1dn4N?o8!yL zIhK>-my_$Cn-`FmcOviR$(y%M-pco=+ZS*1gZX?Sza*rjB(y{jDkvqD3c>|tm&?j8mzPJB3&}zuMOYD8Q5jiT6;*X7 z`c8FBb#-iYOqUCezzf|p&_k7oF*1C#f|BW;tX*ktMOjOy?dGW znzEXjvzqU-?>9kB&Ftou?3M?d2Q8cy2}dHykw|l;(mZMFt=6{uwzh&cS-wnGAd?l! z+6&t|xE&q54*6|)C$F=!q_eZMvrEv`UE19v?CGuO?W^qTyVKWS-LI%oC~6f0wF857 zgUWiP@-OA1za9;VhaTU5{G{oLs#&FapcDOHRDzU9Q6qi4Gi+k0ks#P0CJrQ>nV3K#Z)S|Y-jF^}*nS97*>r z#>kN1%P~05gQ=1kWS!lM>xLa_)aru6g!9mjU4Cs6c+_^Z28Izw(2T!7W6U7_!Ldp4 z?ZBXOw~c96fQue^fJZYOEP<>&VVG}RkhHeoXS;m+4Cmi z$nUo4AZ@V_zQd@~?;}srdB`3XNM<_8i9oVfW2e@`o(=_RcD^JwhPH$- z*CaGoD>Et8u~YzrapZ0oVlRg8z3U3+>!YDLrFS-7RW>Ya%!)c3-_6xqp^d=dzX3UA B28#dy diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/quest-bg.gif b/forum/modules/template_loader.py/forum/skins/default/media/images/quest-bg.gif deleted file mode 100644 index b754023882679555b5d31862f777e5f8b1877bcf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 294 zcmb79KQF^k6n#yEq+=^$FjT|RNGC(FR2r3bG9We##9%NQ3>uLbk@yBARv*JGzJSqW zdH4Uj&-?iX&Pnb)_vW6Q-0jh@w{~0$JK-|~h%skR?y5pa2$0O&vznEh|N+RO!h?sK@|HmRv z{h3y(TKyEJ2mNOMtn<{HAAUcKPwGpL&s#5zxz_#Zs$8wV{*2!`hmD)b^4H{i;qK%8 aqJF!3xj$$f?HydV+s)ZpZKm7Z3>&}3(53|d diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/user-sprite.png b/forum/modules/template_loader.py/forum/skins/default/media/images/user-sprite.png deleted file mode 100644 index f437351bb5b9cc2933900204e3b1a597141ffade..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4982 zcmW-l1yB@D7r?Kiq>mC14+)V5kuHG~_~A1N&x@>s5CXy42hDK*qmrdh&@AMr#?}T zIB2P>UH^mJj4)3eA@|ZS_a#b=f9-L!VSdcqamqA5qb28 z`(dz;@pxZqe}7c5mz7a^X3PbGVQC=aU~O(LIxo*Tf95lJvrms}dk|fUQ{9v+kJ{(i zsI;_427M$ zD;pF~&sR@yKr!>vw12iu5b)*GY!)hgw-#jF^z`81GA4R@Ix(?Z4Zp(*G|%MDCrn5= zf&|^fdwP1hPqb_K()@&g@Rmja4eH3}Hg&kl8E6HH)sN}VTvN!=$sWo=U(^?=Nsjh@ z|2|g|NC~BZf9}IRz#Q=-Ffm- zNfe_7A1a`cc<3>+KkIhYt-#TC*-b7qF;SZHZe40|BbKG}6GV`7?803QW8 z)nYe}UW+sIhzj1+e>)n45C71U&P%8AOv>x*@Ls`uam z#C-;Th5RpDdvh|?*nFm@%h*`^onup*RRR-L4m#;JQ$qg-6!c!i)#+@56ivJH@Shp2 zOn_0@^pRt+j8%Fk_a7s=T?R|wt9zgY; zCM2Uk)ap(=I_J>Q-!1kac|D2{`S5U?x}8vceH9QKh;kKOT|EKt^xIX`kwUtVZA|)q z6;Wyg*&w3hYp4a&B?d;x>+oio(P9_Ii5s6mGD* z+1p$BmKtBnQ;3qsj{;vi*y6il6k)OCH`%0;UMyEua<4Uni;#tfZ*3{7_jZKud;ycG zM0PIZ=Y>7Qj+VGhIwI2$$_4}2pQHMQ@ayj%;?p2o7w>KJ%6F)V70%sH4Yj{kgIBFK8bbi z`u-l9RsJD+2mpWi;%!FHH>8u3GnDoRGvEJk-3A5>!(e-R?tsZn3HbJ(JkOja6rxnxKEy&z+z3Eq<(_ zVv%&8Z=Sb`S_|edYn7l)vSkiC7`iy+dc1xl$i~jjKIk2|DC4=2sP0HrW zy4Ta7h*~p-U>ihCjK6HVO*t4(5R_gTISV^wK=MM~sbYv^Y z-LL#Sj&yTH)m-jk3Slvv(k!%)M<>fKu4q!PkMye=j#}30Ke4gt@RomSSGXTnY>Y7Y zUU087Gn4u>Z0Ye&tO!2xnkG^o5iicFs#;R=#6j3rF~VvtySInVT7Nekdh+8YNIonm zAi$op5asP%@))R~!0y}x9vxLssHy2T!1+C0*Lz%8_6tK}TCG2U&GMH`xS^pp+}Ae< zss9Hc_f1)Pdi3}2(ZFQVkxfL#%Gueo9CVTDov__MpHS~|iYm*_jxSb--lX@ETmSU}4BR~< z&s<>AW|_$xH@;&0Ws^xyuFj3hDM`@F>wms@0kh?rs{gdCg>9}<<);8hslN~w9}HLg zp8k(UNj|)l#thM)lZyQrP+pp9?W0YZl3B*rn+%5X3fg?}E{XJ#Ty-(CYzy#ksYLzy zIg~BtObxVY9=S7(Yzy)p=TlCDJSqpr#}8mTPkFtJrPnzT9$Rud@~0nAzkX3uWwRSm zQp@v2zk4Tz&r`5O9PA^9^QCA~K19+8l5r#pf_r*8FMehUsp7TH=qhTjE_a*<^(QVa zT6_y4LUx%BzF>LC(C-6U&~3v|In$#NeLcq z{Sy>%{AsNK-+n&Xv?U>m`#rJ}^+>`3 z3gP5buA4e+A}}f!K-=!Srbl&ghf66(^Lj7Y)W$wr`5r$bBVqpFcU2lgP;w9!tyYEV z#VuGPe&S{ccjyoM3u}X(8k(3GA0FZ&FSrU(&qro9h*O)Ezj#eB%Ef#f$xIsyuOXk& z$vRaVM&*(o@5D-K-ng$cFd>ZD6)$F-iP06WQj3(R37^`(WO+pasm`fxZvGN>fW+^R z(sU3OF*IO0x+eTp9~T%LaNd`i&igV}mc5~&$`tJF-QF%F)Nx^Ljr4WpADLynqnG4I zmYQXouXu?SVHToLRz^fl2VN1Y!!FVUX7EaH=b@pe$jF?W=*XmGbN^J$T*qaGX_y)) zDZ1#m61NdBx23GAs)cRzh*`7!XgBtOQ6MT1e|bEYA%GpYAbatWhnI=L*fhN(SCms^ zCsn;n_vq5b_Ij&nt_jSfrThI$Fratuiy(M;`SFwgQFv|7D_sXKMJere#q=gkOo0PJ zb#*ku06f5u*IOW5)Z(DQs2as;=@`2Q3 z6#vu8m1CBUn72DQs*7%IecJx9-6bQe%<5X>tMar^tlO=g#9q_C#;zEBLMv^Q$rXdLS}S zzr9^O>C4qwtN(Kt*>impCI$wE)zIZ#D9Au!sDAZgbc=*c7k+N97$R)T>R4pX@8CGFnmy9PjPZ7X^K3j03;?{cmD5M(N> z*;*g1u>@)s^KB`@xL;Ud)0v^F6DU^+`lUq5!uIwedn^-7e9R#(>3HGcXfa>>bHGP; zeOfGtNy{*;A7a()wc1yv6UDvZXKt=|*OBXBN5W3@WT2txj@mz@MFrLy+mNBgcWWy`r#F5B=Med1WxR}(K@bEm$dAl_~iD`k}6 zgTV>|NYDWi?VzbaMon^fwq)lssOKeNWkCyxUJEZXVlZHUqwPdlC`n+FlAN6U@qR;6 zcmN7Dh4&`qR7u*3t7Lo`Mtl=b_J}qn@Q97NPm<);*-)utN`v#)ZgdgY)eT;|0OG}S zqL!A{*T1TuH~rf}L!u@p&(3sm`$qVMN%;5$-7kU)DueS^@^qu@zhZoS>l#=pO);Zh zx5O{Q$~c*QR&7M(*q*vq*VI%)eh?3}gwD=96Tv_%73LbVY>(d@jgMDXANnb$Ip#P; z|N7P1s*@X)nD|wto_AnB4yyF$c@?CujU#?+6Nq+XeLx}|dVId4bj|+JthglRIUxN$ zclXmnAQG9x@jm0H(uP^4y`L;hQIYp?8d+*x2WV`Jf`TLX#S&o3FItiXkohJa#L7nQ z53eoDvOCZIxB>s9mI0)Q%DDHj}+B)k}$k1a= zm1hU2sPwt(GiauL$PH9wO`SH||NZ@$r<+{JxHB-8y~xBkPtn@wV6V67OxNz|kI-Mx zlm8Jq_ak{#6*+@{SLQr${{Dqv({58YwP{+%+vF%CQ>^jp)7(}-+rlfFQ2A#~bC(wf zxl%ie?V*H@@Fs1$$?7yB^HwEd(%DWl9B-Wvr7oEnPU3QEsm*5j_oQB=aT6axzGGsh z3YBkZnV6s=GP|7BN!bd%D-^N^&tH>%pXAiwWXuKA>~3<)TnbKFkXJ> zP&yp3JE94Byy|s$6f94I`T8<}S;U$mk>h=ii~~fh0R~`zGi6;|$ZczAf%Air{b~C? z_4hM=rleT%esrBU+*lj7Z5BmpJKP;ke?=zA2E#h~<31l>*0za1@Rzk4dUtvtCkG~6 zrjXNCR;>SaeO8OQE5cn|+}FT{r5_UQ*vS%UYCMxf#)P&$5~)$V^usH{WxSR~)pwd# zzTQZH8*ppV?jKOaR`Ah3`0Ymtp59s;HbnrlL@aCM0-lnl*LBF6T}lOMH#xjqc-HW2 zE;Col?@<>`q*7S+dWOI&izmvUnSTW0bqq^OLkR=>pIts7hu()yS+kQSvZSVp1=ov2 zs;j%X`TIZW`t~N208&u+yTY=~YR5Tz^?q}^uAeExh#>K{#whWG#Rq<2h02j{1wWB8Y}E<4HGA>;#0kUU3n@5)WX zoBxQ;=Xn2YRRbn2E;wihI1I_EswAK8jJ&?OJO>hkBMF@NxMcJxBqa1NJaM!?r0GfK zBRi8E&02g;c9$`)Xhit$8VF(zkN$FMRn3H%nEVTfM)71RhDHHG$;JeQvQkvrw7X6W zWLRK5V+Z_? ztDg^5Uce4S=G%6zrj#(TF6j7Tc<&T*P4V&ZcinQRm#lTITbv8iP43wr@O^c4BT9@Y z<-zgXhvY0FHuu^2Kzul1AyR2%qI8Ox5lBZ@R3vy4LTcM$XaxTA_lj*V#ONuFr35aX a-npcs4dn!}{2_jo0W{&dYPBkM&;Jkaho7SW diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/vote-accepted-on.png b/forum/modules/template_loader.py/forum/skins/default/media/images/vote-accepted-on.png deleted file mode 100644 index 2026f3bcc50e2738bdb6c21f32ffb2a82d088e11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1124 zcmV-q1e^PbP)(98f962%urEyvrobTSI2iWDonJaRXmcCZ2&_7W|s$8;q zX78?p{;d3j=Jt6u zRf1NRn45~bKOeQloe<4k4F*a0^w988Pn>Cnf)+6fhvK8hS8!=&g-Tr5fO=!taU4$~ zOcn}~1dq~+P+Mn_{a3^epPXDNqV_QrDaOtjsGVmiri&cVy-8sMq#8b+xcl4la{1KX zd)90%K-Mw{%5_9>cd}5B8H|=?=ws;;*H`e>Y)`)g+x+z483yu`hh? z)vUt~N$7kH$t{g&Q6XMdNY^x24}P89!Jn~piFLVw3}%z-ZxONXwNtVCms$I=Hpt<1 z;>5`C2ui916R`wY2}KWfU9>D9Dg;Y<_4cY;b#?q^Z}exPXQRCee0Tq%=HACy;vCVa z)oQ5K>nMeJcUM{?j$?G%ZU0GpPJBRg?!=6hb@~7WeF-jmZ%z`A5yxGcdRvZYk@$u9 qnpoR$QRL8vDfll$;(wNZ1Q-D2C|}A%ZKM4F00002jDb`!&=tG_0s>$|K>*|`prJ6sL73(3+qcd@u04=FA87F=kXo2eKmZ_sFf2$; zPWA&zCIel<#Ldmk0CYVA$YsbuiEN3WpdiEV-@jQtefpFN6jJ#4^XDXHW@fmf00M{! z+3>`~M022FsXRP9Oq`sYV1r>6fM^&7@nIMgTp$C5g@r+ma0TLs@87?}%>)P_xCIFb z3Bo|lB^(?aU=1+CkRuHnMz)lXj}Igk4Pmg5nWK zgM9!HKul2A3d156+4UepK$wMv1;uh~hS${8fRioA43Jqsb)q0~fB<5G=1>+`+J?D) z%9JT^&HerTa5l0y4Aj-tf${>ww{PE&GbGq-fB*uAJJ7~2AO*0T3i2vCz-BNA)YjHA z05ccZaO6}4^z~N|8z6v~pcXs;rCV4KfV@~$RYfo!V1|GF`V}PzL1I7)9)r{X1Q0AA zT!9r*AO#=|po~*pU5(RlP?-Pt@dK;cg2@4U%(nbkq83~4GrM%MlNq) zt_Q^*$WcIgHIVxmBnA*bjL2RCmZUYn2r>s2cJMME1VFhHRs;jfeUu1=7iz%L6XYu( z0EK-K5dWAvcP;}!05PGJEj>WnAAr0L$}BL~0gGY=V7brm?%g}EuaFBtSO$Xz??)hR z2I3zuIe-8{v0&c3c_1f%lFyZoA3rjH3O+6_F0kui`2-depv(ty1ju)w_yQXE94J)^ z#Ltn<1PCBTY{dew=mzBvKWLT74YCM?K^B1kDEN?45GX8n0Pzwa{)%kQf&~j000M{+ zU%3+(7sm^vtby1Jh*f}C5Gn;S=spmi2jcxe{2E;^$d?NjE@S`*AVy+~WpV*P05LJp c7ytwq03Nl7Z}J%VEdT%j07*qoM6N<$f`!tbz5oCK diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-down-on.png b/forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-down-on.png deleted file mode 100644 index 048dbb44dcf2aa3669386737e4e34503659cfa70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 905 zcmV;419tq0P)-y5{XDqL?wtw8c7i~ zN0Q6^?9Pnu+qv8Oi^-+Pz_+tI^UZtT@2q2t0Un+PKF$My_TW0l0Sr+3C>}Z+0c92j zQ&9RPZchib4JRZRISTw*?j`s&D(yi!4W!bYK|2l~#3&Yl)q=eKB*_hofA~`;xN^ut zQH^pphu&R)Hdf>y>Qg&-^&xZ21q}p#FHqmiA?Xcc?0sNEuv}tToE&x%yyA;O9n_c& ztgi)$?=eay3oI<;;0F@w=OKY#QG@aB?kYGJj-3UDF8m+(%RAuS)fP`Uv|~x*NmL4j z!2}6hSuY1_FXH@Eno4SYa2fqafZMOBtL=P?a&g3-4|twf6~U}kNf0P6+^mhu1MQ&W zQ|)VwXZi;$cy;)KStHP5wXSdC?sR7rWK_$yj`F9K-3tj+pzGE&CT^qA=z+D=Rv$@J zbvtq)#Yq4@9@OYr{|tt^${b4@Tb$voWYw^jsXJl~1l){yZ6Z~mTapgVXlRrfvI@o5R%kNt_@+gec_sFS>sC)ftV7EML$Cz1 z{=+$y6i-HJNDispz>1H>a&r@96Rxcq37>Q;^OE=LI@u)mx5b(Kd2vsyAI4-kummT= zg6^eUr{s{$(8UZkHS&32F)wd(AU!Q7(Rdg%m8GwFfuZFFfcG!1F;4WvoH_`{s8d}AU+B-V@FC#${&~nKmaj< zELga3A;YgoU<-h@djJ(F zfE2(qfH25qFg7-fEDzJi!NCC%R{)s_G8-U(SfCczf+Ro+KtNAVkHN^u2xqW7e*BnW z&z?PC3($iL1VFy|@#BXrkhujQfWSWZ{rk5XND$^Ce1?O7tgI|UVqzj#J%|QjXJ=fy@M{1qdLp4}jidfk}eE+_`fx3{6f>#t=jHft;KiJOrSj0yY~UfM6D&CG|15)01!ZM3y{4xbLLD8!_w2!F~pGdzzl|Am>fU= z!Gj1S080fK85v~z06FP`06+k-pxX?ygxFk+ZUJ&W0Reyjg8Kl3VH&1PnSx) z)Ie%~{`?8YATeO(f|~^k4S)aw`v6o-fJ#FqCMIw$Jbn5!!8)eg7&Qmi00000xCZ&X`T>s1rrok967{t#$kYGS7Vd|fw?Kji~ z;lV5VHnRYeM`{4BF0c$^a34H4Y$j8XY%{~vP4Ur0f;38Hd%(7f1L*It^x#ox6Y^@F zBDnIA8Ir>UzFOH#7SIa-feR)47XkUfbW{ysEx$_Za+(2mrv@e0$jB+NG1p<%zK%|C zDhyl)$6NrHqq@G{IrJPRPyB_8o%g~qnsOblfcn? zud345g@qRO!2EE%0Z?uLjv-MxAZ&$ojSA9F#F=yV|e*{B8pP@ zPpy`qnVS0ErfIu&a2$lel&veGH2NtLOlegf9(x9-G9&7J^nDl1oLg=Hr16Fr(Oro+ zQbLGVpQ1pj;IRb_B#w0GLze=Va%%)w6bBhuOzm9OdN+s8=o$#_ccLp*OIu$G;h>rLx z;mgpUhOxf69+e^?1Ywq=jh2GNqFYu`xESK?pEsfZhXwuLEj*_r99^_vuKcEHdY&#l z0Wa8SHm?w7E{Z_H{N^6JFTqUk){$jh)SV7SR)<^84Pbk)5p-5xEIhKMBS92|x<@3= zZ)!HBX})$JOk*s=%QA0e+p{3c*vl0e=9sUD))!9#$+3Q`u!ebIIb1s(-e@F=*U1b% z9-vyObQ;pB6zoI_#Ud071$xZ|IC*EJ6cLci_@% diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-up.png b/forum/modules/template_loader.py/forum/skins/default/media/images/vote-arrow-up.png deleted file mode 100644 index 6e9a51c7df2da30fd2e56359a93f4712077ee62d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 843 zcmV-R1GM~!P)Ze18CM!Al?Dub8&GoOqw)_0U&_j1|%mZ z3j?V-AXWlNa&mGq04*cZdym|9R2`JR?`}glckWT;thzab!KYu)chAIdN z2{HWr`xlHsmVhvfpOlou(AU?;;Ns$fQw<0U3k!q96hLNz%mxS`umwN?TMiBmxCT(X zz%UHx=;(lHFE1~+7_vH;K9D6Kvw*ZMNDV*$!7NY%c@N!iY!;y#j4TgxAjmABm>Nh7 zAb^;l8VIHqU?k#|$KnXEnE(OAf-H%y2t6WU0F?aD!Pc!?8Fud6iD4l?05Re7HZlf< zD?Z@u?ajc%#Do!S00G2;&E;unX$-o$x?py0ZZ5;*$&)b*1c~GFC9-({0mOnW3}J@j z3pQ+)=H=yK1UEncF%grAhy|b^LI(f=#DX0Dq!^ZylS5Px0R#}iRD>&trc9ZFHD1uo z0tg@`LIz>;HohQ2&zJxK#DXjV0<5g8D4IZp7&efdosDoMP(O0;g2Z7C0|+1%sG)yA zIS*DU-nemtK|@0WtN>JWV*^vCPQ{suK*a^n%pV{zfB=G7a0gg^Yk+0$lVq#(#)YQ~)1`j9~!(0t4szGKx0I>lA2$l~H18vm+Dfss78yF*}3LYLF zh6M{2fGtH24p`ms^XE@^(165%^kI-ZKmfrk*aj4E1sbd%ARqvC0Z0=pj6Z+=Ot?w| zS`LaokmG=6fn2{0Bn}Wjj4(qI5)wdFCb(AP=H>>wniTNm%NGV#&7yzfB V!E{DAJ$nEE002ovPDHLkV1i?NM1}wW diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-off.png b/forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-off.png deleted file mode 100644 index c1bef0745ea9acd1c405ac11e0d5555e8b12d7e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 930 zcmV;T16}-yP)Q zl~7{r#<-|Zx+tX^7v1(nLEMz+FA(Vu=&lr@i%_r>io5Ej3qgvws#2;kN-aKOFk(}p z#$w4mvd&mnLCfqGB`LW%tTQXT~$@pwWz4*(Z$7u`~3X;?Ck6f-uOMADC8`%H49ug9F8Y$ zw_8+IRf)E?w)=F~D6T0AgF(40thghvTO@bbp`oEcsi>%U%r*rBP;F6Pqt;fdRTLK& z>)!xC_VxAkhJ(#!6RoYS59m#UO~C*#0w5d#&H*ynH51s~l9G~3PA->Ap>jP%V%H7; z1$bs+Zcu>R9*^fGmE?+(-EJ4{?d|vr-^j>_mM?&1XlTeop!aHPYwM^Sb=B3?ZURv7 zN9E<^df;4gaBv`wkB@cT+uMthZf$OE#_0YhP1;0PS65oCtgL+9(a~Wg;GAGQS@Lv2 zkN}h`N1!eQU0hu3oSU1o(cP$Wa&nTu!eDWr*}!96BogVHo}P|wZ*Lo!n{BzQY=b5*FE0apfWSv{QAJ{HZLNQP zem;yw6#{1^;uGuZ>*=Yfskc2nJ!4n)Ad9ee={G;^@9!H;&ZqE2X`<2Sx8B~~uQ}N? z!#RA{$lSzt+5M1{!p76PmY3|<5RSAL&84NK2CzIy@&xf8fJSJCngW4N5yyPM&Jfr$uh-k@bUF=s0dG-KZhD`{`3D>TQ-Os; z#w#l;;f;+A00-HDHurrf6dIy?@=((>&<&onoKqxC$uC;-AG8mSL?SV4mQhBw zj*gB7W@ctSFDxuPr@!!0KgLYy`Z|>GFQSP5EPn+U0OR;~TRRy%rT_o{07*qoM6N<$ Ef@zSrumAu6 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-on.png b/forum/modules/template_loader.py/forum/skins/default/media/images/vote-favorite-on.png deleted file mode 100644 index 1f9c14ab0813a1aec1f66b12c3eebe7232be3d8d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1023 zcmVZd<5{Le6mt|)_<`GX($dlRu2ZJkuE zjf4$Qewch0=TDhyPWI*W3&@@n;Mrh z;ON^;+o1J6x+lSyC4yAc5*r#_RRe6^%F}2A*z}DOqn}Ca7lL#(u})I%7x#^k&|B0; z`f()bM-h)+;pZ4u$ALJ}P;Wvb3dM-H#z&Yj5-&MXQ!CKC#TXEuPEEBSJ=cPnS)ej| z2r5#+g@;jQ$TU_*6Ij=36b6CwjWTT^%5_m~{H>S28)%4W9OsGaYMC6L=yK8ysOFtZ z$a|Cc`qnVdXsKFY-eyhS#>TZMyvv&Gk-Z`#?>^Zjhh+Uaj*dLD2Glrl0XhE%M&6JK zdqZ9sxMdI+<1Dr0Qu()0dB28}pC5!-B*l|clf(rIB=P3C6)a-E6moW+nx^tEqNfk1 zhaN6W(@j2{T4UmW|9SG(9X_!#|lMVmx<&Y38Ta_F{^dJ0jyZ z^KE3Yfqc<E7fl_u~mXc`B_ShF#sjOqSPbOw6(spucpG!yqP5!xrMP zXa--)`><8~qDbZjaUY(43Ik6LqKX$#+j`!7QB^cQueWs7N thq=s2qJz(mO1EpR@jr*ce;$7X7ywPEpB^Im6SDvS002ovPDHLkV1mKF-a7yQ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/images/webfaction.png b/forum/modules/template_loader.py/forum/skins/default/media/images/webfaction.png deleted file mode 100644 index 7c19d6c2a4004919c3c6527b1d0daea3c27c4dd8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2348 zcmV+{3Dfq8P)!%u-ue>`VAw>@0%`x$0Rm^wGPnK$R%zjwa#|6YSuZ#CHhPB%8c zx&3|k*$X{Pq-)T>xb@qGOKuCoyf$gxG|V|&XZ0!r2aMkeKVL#e07jsXAy`1~glp^? z{2x}#L!b^2V3S1dBoMLn!o106`EYQi4*1cb=V0%`ngx!Sf0q94QavnbR6)K+b2SJ0 zXVCZ2nv>5ExO4Cm!w&n7uO;9@(tn{bJDemG=+_+R1s8fRFcJSAgTBQ@Gb|XNXMjgJ ztpY8w9Dr?yA449?_p721EfGHgs{tHp#ixQHecxY+1OwXO!}-PVt=V~enEvcXZx`ZU z{StmTON(@3mJ<*OTA#Nh^rIDm)PsA&zN61d<4^)iOhs^B)z|&> zQcGhi{y#Hg7iWu$5!6PYfBx>vE%?ydhT9Jpe!cy0Cyaj!=fAUg{mG_=V4ywRv~+f+ z(245+cmpU5@IbhBMC{?wq7HO}z!x>cRdAjb3XRSR?9q+`Hhlg;Cvlg zP2i^apQ)R(3tL`Xui1|mmcUdl5xI~r%-zwOLz@ts%b;<5&iU*2=3n2`9K8DXqeX{3 z{raV-leWoV0J9FFksx1|lzg8}%*6X9+?!GeYu*8bE}AFIcABqECNV(*kRftR{E}Zc z86ExdDaHB*3D2k`010}gEM4Oo8C*jKZjAY$>B8fM{P`RA+xdMkd)GkgzP-;ps17N7=)ld!=xMf z1Tnmq?xE@XnCJ-D4g?fBCgHp0?~yi-)_Q{x29q&1JA&|suS(OQl%PBfIz zR=RJJggcsJ28zMfHMzi0#EZ;Ki80W-u`{6JM0YZg8PYPbM@k_m!i=}FXjE7FIB3Jj zWMnXbH=x=T?wx?26AJnz0k9mg!kPm<{Y00;tr!6{#iGKD1gzyD3^G`zVqB7}h?D=1 z(K@z^aM=n0v7|IaKD&<3?h$xdZox^_s|>1YOF7y``5V`^4hM5;N)oFKc!+tWy(m%V zfJI58oLbx^@X-~yV^pHW`~+iM0NC@d04FqT`BV@&l0TXz4H9%T5qk*ONz%yw%&$U= z5mTa0W|A?_U>a&G!fvw+AL^trvL+io1T|l#|90|~ITf%$@;&Q9T$kv`h(T5c3sZr*l4i4#mg(W&3})Uikk}@L`Y{hF*F7}S@{#}L9Dq{_ z9TO_UrLd6qV+jy|Fi*N~%@#$zrrln-)^9#2hUXR*OaBXx76iSGEqq#Ac@yxoesD@* zBDgcpswB|EEae#oSCupB4AToT*fdDIe7l; zOko}rQG@(W(B(>hXB7^gphE8yC9qF~#t;6m0a*78h*-&8A!oO<_OKCKzZFisX8_!gA3OMY$+O=Fs9*2R5b@LW?d-EThM1 zjd2fiXR&Cri)p4I`AJ*em+fyVQX5;P^>jbMay!kBsSFXb@paBH&(FZGb;9)|%g+$h z-69|%Ff}GI2ORRZa*MNaWEhj8NTEriuy0afJ_8JZC}WZ>tr2z5+$`;%mIOqUpN3cw z*_8GbYo)M4L;KmR1a^*+^b8BCc%fiiGS8OEC&T?%fC7pOs97-agrosayd1@`@}~>z zO*)4y)fwBFAY|El#2yi# zFd+5|rb}n&5f+9AR_tBmaxlhtRN_T|i0GS+QGPZ?^Kl@4FEYXw+)AlKfsNTiC9dJM z_Ibeb+~iLeI+?GUb^?L`j1Yj+RZhO^t={VGxov3snGf+3wXTU4tYN_ZV2OF6jHtC@ zL1EX&{R&MTI2O*Y#@ARLpmj;PR&q5z2y$zo=gH(TreOG~RNsZB zS+ygs2=$Nf+>rJN)80A*M5F=YRZl{!&GNA<V{i1Z@r74l^rg=%lm@L~P&gPj!PqM^Vym9Cz?M_mD)~#4KPJnO2von)g&iQLn zz#xVnCDRvs${?iN^Ve)}Vo(_yPWY+}1C&Rbg6?+yHJ@OM zS0-VWyZ!IaAF6?8Hz?#5DMG%+WUtoGUvJfH4RsdOfvdMVaP?LPZjH8o1Q-DH6@}KP S07QrY0000KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000UQNkl$L@O9Pw)$ay~c|%Arxa845Tr|5MH80Atpf;AtDH+ ziK?V(Lz@UxC6O9bnkJ!0t(+euDpXxXDJ75)-ZI1x2O7xwfuY7Pyk2{;7klmXyyxEj zfZZ;(sXEfp%mR6s)~nQwr%fH6y=wk^9TN?l(LkRl$Qx1pG~$-(=;fG zg0WZ(Bcr3REenK@NqvapH&42}x~}hLj5)_Iwrv}xY5v0DaQuUF&Iut%-iHwKP=^x$ zP)b1vfh^18-_0Ex8*@HvBhGmyrIa$p>}1CPN-WFTXqx6)4uk=`3}E=70P5@OVObXH z>+7NGI-E`?EXzVpPEK(9_U+I#4db&!2!SL?rvcdU-<%8jEz05s;bAf?Kn_N z*R*CQ5c5tKw1eQ66gE} zjIkdZhVh)HX-joohi%*7oF_m_qWIGxU4M@Qfyr_y?B2Z_05E&@Y^+_o7I*L7MQdv- zEX(4@jvedl>gr+@6%{j6Q&UqIV~K^PX+CC}=FfCpU#n@_49l|O5rZ+7Fc3nb(P&sz zlsen8V43CvmH=Q`7V`4)P*YQbjT<*2D=Q0;NMzv5nKRv{X?izo*zkz1>kpu3jFGsb zxZ`91@hrqfNA=N>kwdm^!?LUgj3m>La}GiXoK7bIP(@K@1%tu$jIrNLojNr;IRp0r zfH4N!wiEZ{=lJ)%!Qi$2V6Z|Ego!mEiXs5GEz2t6oO>B#vtqH>0^7FB8DnL+xw($} zw3|S!c!VyO3#zIjo*~XT91ceU2&L2{k_0jtfcExwNTRqTYs!=prfCYv1(Zas@dXG; zlE4^4Boe{#HO{B|nCkzOhYKbe}H?T(8G07N1YT)cP@p->3AuA{cL7EY%Vt5&UouIrdRdp4Szn_*cN zN=izgX&UCuoqN&i^`5+O^X45v5Uy|8vPG{bFJGx?+A!l>O{S@^XU`rC4-cceySt}9 z94_+Bnzcv}1Q0@C7zVCizm5Y34nUG5Y~Q{e^XJb;ZEYG)?nnWoCXf@6ku?Sw0_%z23YculE|`yiie;!<15h5P%Q}@BQ(QC@v{MEEdCs z3l}<5J)UP~mXvr*(}XCBC@n3;oH=vw$tRy+cz75aHf(^;=fi;m2auMQhGol^ArJ^a z6h#yk7Q!$Lh@zO)bNlwdNHqGbEJ=`M`L)urvK0=e^U-i$-&dTm-gvPKZ@&5FRL*&o z&*w93+rD-B^y$pX%E~HH6u~)%X__b~D1guB!v`OH0K+g)Q&WTV^mM%Q&O30s-SBuk z5JeFM1qCn+1C&z84##p;QD!=w&YF_a(pMY~hbT!B866psRZTk*&$6&{=gteNs_ryR zbK4_x=Pq!2JaD_+KXf=8Bu*RCG*MJk1h3bNJ$v@R>2xALKObpnX*hJ~5IQs0S35Ua@06fVmXcz`2 zQ$4rajT0wM;H|gb!n}F&@X|{!p|`geJ9g}V-|t6hX(?1yom3TV+Xf*7mT4jo2y9hV z^>#x6#vuDpD7K`D@C!fT=efyA-k^;-JCiH^j zp1?VWnJTPh4}wWEy){2qfx9|w+@D3z~yow8jYg5x*D3M-2-s{`(#TF zh!6so%T=D{@yMm6rG}V1PQ{PFG|hzeCp(W@EEdC>HEUp)CIm|Fy=M%TW!;nF``tA; z`lM*!a60ocrcB97O-l=lvMdu_*W+^>|K`%Afx@C9Pi}5*ieVTNB8lH^+lCU0;rxXQ zqu(|(kj~CdPi$-q(+djl{MM}~E-p?S$t2Shjk7@P>gWg;my~3RqKKnMj4u|LeY5#tj+%W+_ zlq86hqOPv)yYlk#J5HyQiWknG|L)3_E6&l;Q5I-y{B?Rp#uwiQ0xM3PJo(p}O`Edg zj7ZKxN=gd+e*eipW8-cBx9>X#04!XvKw7e7$!XiRmodifas7Tj85kJA-wqyx|I<&e zEnT{l^@qcFH^LAb?Ve!GQsM`NbD_|NZxI@zSNM0Djfe z(=&Yb>{(9!uy-#)p%8|L?@i99PM=2j&K+cCWUQ&Ht2>^Rl||yz95?NleZ9T4{r&yB zN21Z_xpU{x*xU@mFyzM{fBej%MT;szp^(tr)a3l`>Q&qs7#IZb(e&xlf4^eIijkv7 zk78(ONEDOX?%?1c;)BD$z`(aRZrlh}RaF%riCRgOE#*#|_VbZwG*?sA=N2zs%#R#9 z2F93u+wVX8cfWrSKn8#@0Ox1SnBjl>?YD#L*RMx*b~gNeKlbk3YyB4hrReVNPA;0E zKp@amU0q!ek30?{J`pL3g0}YdjG>_+NRot{oE-G`_uBw!0el8P1rQNM5xaKn!q%-@ zK`Dh{7}&gdGghx&eNTu8A<%UlZMSYcK$(`7maDdHuZcU1FTN8Fqp`6Ob#--UZEZa# z%Q6=Q0q&HP_)-->5CGh6H+JvZg|f0ToH=z03o0s*HDwAkO+#vG>OBCmEF;+43r*7? zNm4@ng27-D=NyKvqqDOUEiEl*ZEZzwZ!ef_N2X?He>}_Q`-`F|5JeHPB%!^dBN2cs zN!azq8~D+ZC5T3&uuKz?NCX*~nTaMRN|J=Z!9iTRb`7E^f>N4jKJD%8|K7H38~XeD zpePDbQ&W2ircJv%v$*)A$K(0RW-Qp*(UCYBdt48B?Uh&X_+yV@WM~MSF=VEvqp+|r zAjxkjQr8F_G5lW#bO7P~58-Fe;D!NftR(2)b');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h1){j--}if(6*j<1){return i+(Z-i)*6*j}else{if(2*j<1){return Z}else{if(3*j<2){return i+(Z-i)*(2/3-j)*6}else{return i}}}}function Y(Z){var AE,p=1;Z=String(Z);if(Z.charAt(0)=="#"){AE=Z}else{if(/^rgb/.test(Z)){var m=g(Z);var AE="#",AF;for(var j=0;j<3;j++){if(m[j].indexOf("%")!=-1){AF=Math.floor(C(m[j])*255)}else{AF=Number(m[j])}AE+=I[N(AF,0,255)]}p=m[3]}else{if(/^hsl/.test(Z)){var m=g(Z);AE=c(m);p=m[3]}else{AE=B[Z]||Z}}}return{color:AE,alpha:p}}var L={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var f={};function X(Z){if(f[Z]){return f[Z]}var m=document.createElement("div");var j=m.style;try{j.font=Z}catch(i){}return f[Z]={style:j.fontStyle||L.style,variant:j.fontVariant||L.variant,weight:j.fontWeight||L.weight,size:j.fontSize||L.size,family:j.fontFamily||L.family}}function P(j,i){var Z={};for(var AF in j){Z[AF]=j[AF]}var AE=parseFloat(i.currentStyle.fontSize),m=parseFloat(j.size);if(typeof j.size=="number"){Z.size=j.size}else{if(j.size.indexOf("px")!=-1){Z.size=m}else{if(j.size.indexOf("em")!=-1){Z.size=AE*m}else{if(j.size.indexOf("%")!=-1){Z.size=(AE/100)*m}else{if(j.size.indexOf("pt")!=-1){Z.size=m/0.75}else{Z.size=AE}}}}}Z.size*=0.981;return Z}function AA(Z){return Z.style+" "+Z.variant+" "+Z.weight+" "+Z.size+"px "+Z.family}function t(Z){switch(Z){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function W(i){this.m_=V();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=D*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var Z=i.ownerDocument.createElement("div");Z.style.width=i.clientWidth+"px";Z.style.height=i.clientHeight+"px";Z.style.overflow="hidden";Z.style.position="absolute";i.appendChild(Z);this.element_=Z;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var M=W.prototype;M.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};M.beginPath=function(){this.currentPath_=[]};M.moveTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"moveTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.lineTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"lineTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.bezierCurveTo=function(j,i,AI,AH,AG,AE){var Z=this.getCoords_(AG,AE);var AF=this.getCoords_(j,i);var m=this.getCoords_(AI,AH);e(this,AF,m,Z)};function e(Z,m,j,i){Z.currentPath_.push({type:"bezierCurveTo",cp1x:m.x,cp1y:m.y,cp2x:j.x,cp2y:j.y,x:i.x,y:i.y});Z.currentX_=i.x;Z.currentY_=i.y}M.quadraticCurveTo=function(AG,j,i,Z){var AF=this.getCoords_(AG,j);var AE=this.getCoords_(i,Z);var AH={x:this.currentX_+2/3*(AF.x-this.currentX_),y:this.currentY_+2/3*(AF.y-this.currentY_)};var m={x:AH.x+(AE.x-this.currentX_)/3,y:AH.y+(AE.y-this.currentY_)/3};e(this,AH,m,AE)};M.arc=function(AJ,AH,AI,AE,i,j){AI*=D;var AN=j?"at":"wa";var AK=AJ+U(AE)*AI-F;var AM=AH+J(AE)*AI-F;var Z=AJ+U(i)*AI-F;var AL=AH+J(i)*AI-F;if(AK==Z&&!j){AK+=0.125}var m=this.getCoords_(AJ,AH);var AG=this.getCoords_(AK,AM);var AF=this.getCoords_(Z,AL);this.currentPath_.push({type:AN,x:m.x,y:m.y,radius:AI,xStart:AG.x,yStart:AG.y,xEnd:AF.x,yEnd:AF.y})};M.rect=function(j,i,Z,m){this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath()};M.strokeRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.stroke();this.currentPath_=p};M.fillRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.fill();this.currentPath_=p};M.createLinearGradient=function(i,m,Z,j){var p=new v("gradient");p.x0_=i;p.y0_=m;p.x1_=Z;p.y1_=j;return p};M.createRadialGradient=function(m,AE,j,i,p,Z){var AF=new v("gradientradial");AF.x0_=m;AF.y0_=AE;AF.r0_=j;AF.x1_=i;AF.y1_=p;AF.r1_=Z;return AF};M.drawImage=function(AO,j){var AH,AF,AJ,AV,AM,AK,AQ,AX;var AI=AO.runtimeStyle.width;var AN=AO.runtimeStyle.height;AO.runtimeStyle.width="auto";AO.runtimeStyle.height="auto";var AG=AO.width;var AT=AO.height;AO.runtimeStyle.width=AI;AO.runtimeStyle.height=AN;if(arguments.length==3){AH=arguments[1];AF=arguments[2];AM=AK=0;AQ=AJ=AG;AX=AV=AT}else{if(arguments.length==5){AH=arguments[1];AF=arguments[2];AJ=arguments[3];AV=arguments[4];AM=AK=0;AQ=AG;AX=AT}else{if(arguments.length==9){AM=arguments[1];AK=arguments[2];AQ=arguments[3];AX=arguments[4];AH=arguments[5];AF=arguments[6];AJ=arguments[7];AV=arguments[8]}else{throw Error("Invalid number of arguments")}}}var AW=this.getCoords_(AH,AF);var m=AQ/2;var i=AX/2;var AU=[];var Z=10;var AE=10;AU.push(" ','","");this.element_.insertAdjacentHTML("BeforeEnd",AU.join(""))};M.stroke=function(AM){var m=10;var AN=10;var AE=5000;var AG={x:null,y:null};var AL={x:null,y:null};for(var AH=0;AHAL.x){AL.x=Z.x}if(AG.y==null||Z.yAL.y){AL.y=Z.y}}}AK.push(' ">');if(!AM){R(this,AK)}else{a(this,AK,AG,AL)}AK.push("");this.element_.insertAdjacentHTML("beforeEnd",AK.join(""))}};function R(j,AE){var i=Y(j.strokeStyle);var m=i.color;var p=i.alpha*j.globalAlpha;var Z=j.lineScale_*j.lineWidth;if(Z<1){p*=Z}AE.push("')}function a(AO,AG,Ah,AP){var AH=AO.fillStyle;var AY=AO.arcScaleX_;var AX=AO.arcScaleY_;var Z=AP.x-Ah.x;var m=AP.y-Ah.y;if(AH instanceof v){var AL=0;var Ac={x:0,y:0};var AU=0;var AK=1;if(AH.type_=="gradient"){var AJ=AH.x0_/AY;var j=AH.y0_/AX;var AI=AH.x1_/AY;var Aj=AH.y1_/AX;var Ag=AO.getCoords_(AJ,j);var Af=AO.getCoords_(AI,Aj);var AE=Af.x-Ag.x;var p=Af.y-Ag.y;AL=Math.atan2(AE,p)*180/Math.PI;if(AL<0){AL+=360}if(AL<0.000001){AL=0}}else{var Ag=AO.getCoords_(AH.x0_,AH.y0_);Ac={x:(Ag.x-Ah.x)/Z,y:(Ag.y-Ah.y)/m};Z/=AY*D;m/=AX*D;var Aa=z.max(Z,m);AU=2*AH.r0_/Aa;AK=2*AH.r1_/Aa-AU}var AS=AH.colors_;AS.sort(function(Ak,i){return Ak.offset-i.offset});var AN=AS.length;var AR=AS[0].color;var AQ=AS[AN-1].color;var AW=AS[0].alpha*AO.globalAlpha;var AV=AS[AN-1].alpha*AO.globalAlpha;var Ab=[];for(var Ae=0;Ae')}else{if(AH instanceof u){if(Z&&m){var AF=-Ah.x;var AZ=-Ah.y;AG.push("')}}else{var Ai=Y(AO.fillStyle);var AT=Ai.color;var Ad=Ai.alpha*AO.globalAlpha;AG.push('')}}}M.fill=function(){this.stroke(true)};M.closePath=function(){this.currentPath_.push({type:"close"})};M.getCoords_=function(j,i){var Z=this.m_;return{x:D*(j*Z[0][0]+i*Z[1][0]+Z[2][0])-F,y:D*(j*Z[0][1]+i*Z[1][1]+Z[2][1])-F}};M.save=function(){var Z={};Q(this,Z);this.aStack_.push(Z);this.mStack_.push(this.m_);this.m_=d(V(),this.m_)};M.restore=function(){if(this.aStack_.length){Q(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function H(Z){return isFinite(Z[0][0])&&isFinite(Z[0][1])&&isFinite(Z[1][0])&&isFinite(Z[1][1])&&isFinite(Z[2][0])&&isFinite(Z[2][1])}function y(i,Z,j){if(!H(Z)){return }i.m_=Z;if(j){var p=Z[0][0]*Z[1][1]-Z[0][1]*Z[1][0];i.lineScale_=k(b(p))}}M.translate=function(j,i){var Z=[[1,0,0],[0,1,0],[j,i,1]];y(this,d(Z,this.m_),false)};M.rotate=function(i){var m=U(i);var j=J(i);var Z=[[m,j,0],[-j,m,0],[0,0,1]];y(this,d(Z,this.m_),false)};M.scale=function(j,i){this.arcScaleX_*=j;this.arcScaleY_*=i;var Z=[[j,0,0],[0,i,0],[0,0,1]];y(this,d(Z,this.m_),true)};M.transform=function(p,m,AF,AE,i,Z){var j=[[p,m,0],[AF,AE,0],[i,Z,1]];y(this,d(j,this.m_),true)};M.setTransform=function(AE,p,AG,AF,j,i){var Z=[[AE,p,0],[AG,AF,0],[j,i,1]];y(this,Z,true)};M.drawText_=function(AK,AI,AH,AN,AG){var AM=this.m_,AQ=1000,i=0,AP=AQ,AF={x:0,y:0},AE=[];var Z=P(X(this.font),this.element_);var j=AA(Z);var AR=this.element_.currentStyle;var p=this.textAlign.toLowerCase();switch(p){case"left":case"center":case"right":break;case"end":p=AR.direction=="ltr"?"right":"left";break;case"start":p=AR.direction=="rtl"?"right":"left";break;default:p="left"}switch(this.textBaseline){case"hanging":case"top":AF.y=Z.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":AF.y=-Z.size/2.25;break}switch(p){case"right":i=AQ;AP=0.05;break;case"center":i=AP=AQ/2;break}var AO=this.getCoords_(AI+AF.x,AH+AF.y);AE.push('');if(AG){R(this,AE)}else{a(this,AE,{x:-i,y:0},{x:AP,y:Z.size})}var AL=AM[0][0].toFixed(3)+","+AM[1][0].toFixed(3)+","+AM[0][1].toFixed(3)+","+AM[1][1].toFixed(3)+",0,0";var AJ=K(AO.x/D)+","+K(AO.y/D);AE.push('','','');this.element_.insertAdjacentHTML("beforeEnd",AE.join(""))};M.fillText=function(j,Z,m,i){this.drawText_(j,Z,m,i,false)};M.strokeText=function(j,Z,m,i){this.drawText_(j,Z,m,i,true)};M.measureText=function(j){if(!this.textMeasureEl_){var Z='';this.element_.insertAdjacentHTML("beforeEnd",Z);this.textMeasureEl_=this.element_.lastChild}var i=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(i.createTextNode(j));return{width:this.textMeasureEl_.offsetWidth}};M.clip=function(){};M.arcTo=function(){};M.createPattern=function(i,Z){return new u(i,Z)};function v(Z){this.type_=Z;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}v.prototype.addColorStop=function(i,Z){Z=Y(Z);this.colors_.push({offset:i,color:Z.color,alpha:Z.alpha})};function u(i,Z){q(i);switch(Z){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=Z;break;default:n("SYNTAX_ERR")}this.src_=i.src;this.width_=i.width;this.height_=i.height}function n(Z){throw new o(Z)}function q(Z){if(!Z||Z.nodeType!=1||Z.tagName!="IMG"){n("TYPE_MISMATCH_ERR")}if(Z.readyState!="complete"){n("INVALID_STATE_ERR")}}function o(Z){this.code=this[Z];this.message=Z+": DOM Exception "+this.code}var x=o.prototype=new Error;x.INDEX_SIZE_ERR=1;x.DOMSTRING_SIZE_ERR=2;x.HIERARCHY_REQUEST_ERR=3;x.WRONG_DOCUMENT_ERR=4;x.INVALID_CHARACTER_ERR=5;x.NO_DATA_ALLOWED_ERR=6;x.NO_MODIFICATION_ALLOWED_ERR=7;x.NOT_FOUND_ERR=8;x.NOT_SUPPORTED_ERR=9;x.INUSE_ATTRIBUTE_ERR=10;x.INVALID_STATE_ERR=11;x.SYNTAX_ERR=12;x.INVALID_MODIFICATION_ERR=13;x.NAMESPACE_ERR=14;x.INVALID_ACCESS_ERR=15;x.VALIDATION_ERR=16;x.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=E;CanvasRenderingContext2D=W;CanvasGradient=v;CanvasPattern=u;DOMException=o})()}; \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/flot-build.bat b/forum/modules/template_loader.py/forum/skins/default/media/js/flot-build.bat deleted file mode 100644 index f9f32cb..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/flot-build.bat +++ /dev/null @@ -1,3 +0,0 @@ -java -jar yuicompressor-2.4.2.jar --type js --charset utf-8 jquery.flot.js -o jquery.flot.pack.js - -pause diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/jquery-1.2.6.js b/forum/modules/template_loader.py/forum/skins/default/media/js/jquery-1.2.6.js deleted file mode 100644 index 88e661e..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/jquery-1.2.6.js +++ /dev/null @@ -1,3549 +0,0 @@ -(function(){ -/* - * jQuery 1.2.6 - New Wave Javascript - * - * Copyright (c) 2008 John Resig (jquery.com) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ - * $Rev: 5685 $ - */ - -// Map over jQuery in case of overwrite -var _jQuery = window.jQuery, -// Map over the $ in case of overwrite - _$ = window.$; - -var jQuery = window.jQuery = window.$ = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context ); -}; - -// A simple way to check for HTML strings or ID strings -// (both of which we optimize for) -var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/, - -// Is it a simple selector - isSimple = /^.[^:#\[\.]*$/, - -// Will speed up references to undefined, and allows munging its name. - undefined; - -jQuery.fn = jQuery.prototype = { - init: function( selector, context ) { - // Make sure that a selection was provided - selector = selector || document; - - // Handle $(DOMElement) - if ( selector.nodeType ) { - this[0] = selector; - this.length = 1; - return this; - } - // Handle HTML strings - if ( typeof selector == "string" ) { - // Are we dealing with HTML string or an ID? - var match = quickExpr.exec( selector ); - - // Verify a match, and that no context was specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) - selector = jQuery.clean( [ match[1] ], context ); - - // HANDLE: $("#id") - else { - var elem = document.getElementById( match[3] ); - - // Make sure an element was located - if ( elem ){ - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id != match[3] ) - return jQuery().find( selector ); - - // Otherwise, we inject the element directly into the jQuery object - return jQuery( elem ); - } - selector = []; - } - - // HANDLE: $(expr, [context]) - // (which is just equivalent to: $(content).find(expr) - } else - return jQuery( context ).find( selector ); - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) - return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector ); - - return this.setArray(jQuery.makeArray(selector)); - }, - - // The current version of jQuery being used - jquery: "1.2.6", - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - // The number of elements contained in the matched element set - length: 0, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == undefined ? - - // Return a 'clean' array - jQuery.makeArray( this ) : - - // Return just the object - this[ num ]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - // Build a new jQuery matched element set - var ret = jQuery( elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Force the current matched set of elements to become - // the specified array of elements (destroying the stack in the process) - // You should use pushStack() in order to do this, but maintain the stack - setArray: function( elems ) { - // Resetting the length to 0, then using the native Array push - // is a super-fast way to populate an object with array-like properties - this.length = 0; - Array.prototype.push.apply( this, elems ); - - return this; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - var ret = -1; - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem && elem.jquery ? elem[0] : elem - , this ); - }, - - attr: function( name, value, type ) { - var options = name; - - // Look for the case where we're accessing a style value - if ( name.constructor == String ) - if ( value === undefined ) - return this[0] && jQuery[ type || "attr" ]( this[0], name ); - - else { - options = {}; - options[ name ] = value; - } - - // Check to see if we're setting style values - return this.each(function(i){ - // Set all the styles - for ( name in options ) - jQuery.attr( - type ? - this.style : - this, - name, jQuery.prop( this, options[ name ], type, i, name ) - ); - }); - }, - - css: function( key, value ) { - // ignore negative width and height values - if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 ) - value = undefined; - return this.attr( key, value, "curCSS" ); - }, - - text: function( text ) { - if ( typeof text != "object" && text != null ) - return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); - - var ret = ""; - - jQuery.each( text || this, function(){ - jQuery.each( this.childNodes, function(){ - if ( this.nodeType != 8 ) - ret += this.nodeType != 1 ? - this.nodeValue : - jQuery.fn.text( [ this ] ); - }); - }); - - return ret; - }, - - wrapAll: function( html ) { - if ( this[0] ) - // The elements to wrap the target around - jQuery( html, this[0].ownerDocument ) - .clone() - .insertBefore( this[0] ) - .map(function(){ - var elem = this; - - while ( elem.firstChild ) - elem = elem.firstChild; - - return elem; - }) - .append(this); - - return this; - }, - - wrapInner: function( html ) { - return this.each(function(){ - jQuery( this ).contents().wrapAll( html ); - }); - }, - - wrap: function( html ) { - return this.each(function(){ - jQuery( this ).wrapAll( html ); - }); - }, - - append: function() { - return this.domManip(arguments, true, false, function(elem){ - if (this.nodeType == 1) - this.appendChild( elem ); - }); - }, - - prepend: function() { - return this.domManip(arguments, true, true, function(elem){ - if (this.nodeType == 1) - this.insertBefore( elem, this.firstChild ); - }); - }, - - before: function() { - return this.domManip(arguments, false, false, function(elem){ - this.parentNode.insertBefore( elem, this ); - }); - }, - - after: function() { - return this.domManip(arguments, false, true, function(elem){ - this.parentNode.insertBefore( elem, this.nextSibling ); - }); - }, - - end: function() { - return this.prevObject || jQuery( [] ); - }, - - find: function( selector ) { - var elems = jQuery.map(this, function(elem){ - return jQuery.find( selector, elem ); - }); - - return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ? - jQuery.unique( elems ) : - elems ); - }, - - clone: function( events ) { - // Do the clone - var ret = this.map(function(){ - if ( jQuery.browser.msie && !jQuery.isXMLDoc(this) ) { - // IE copies events bound via attachEvent when - // using cloneNode. Calling detachEvent on the - // clone will also remove the events from the orignal - // In order to get around this, we use innerHTML. - // Unfortunately, this means some modifications to - // attributes in IE that are actually only stored - // as properties will not be copied (such as the - // the name attribute on an input). - var clone = this.cloneNode(true), - container = document.createElement("div"); - container.appendChild(clone); - return jQuery.clean([container.innerHTML])[0]; - } else - return this.cloneNode(true); - }); - - // Need to set the expando to null on the cloned set if it exists - // removeData doesn't work here, IE removes it from the original as well - // this is primarily for IE but the data expando shouldn't be copied over in any browser - var clone = ret.find("*").andSelf().each(function(){ - if ( this[ expando ] != undefined ) - this[ expando ] = null; - }); - - // Copy the events from the original to the clone - if ( events === true ) - this.find("*").andSelf().each(function(i){ - if (this.nodeType == 3) - return; - var events = jQuery.data( this, "events" ); - - for ( var type in events ) - for ( var handler in events[ type ] ) - jQuery.event.add( clone[ i ], type, events[ type ][ handler ], events[ type ][ handler ].data ); - }); - - // Return the cloned set - return ret; - }, - - filter: function( selector ) { - return this.pushStack( - jQuery.isFunction( selector ) && - jQuery.grep(this, function(elem, i){ - return selector.call( elem, i ); - }) || - - jQuery.multiFilter( selector, this ) ); - }, - - not: function( selector ) { - if ( selector.constructor == String ) - // test special case where just one selector is passed in - if ( isSimple.test( selector ) ) - return this.pushStack( jQuery.multiFilter( selector, this, true ) ); - else - selector = jQuery.multiFilter( selector, this ); - - var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType; - return this.filter(function() { - return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector; - }); - }, - - add: function( selector ) { - return this.pushStack( jQuery.unique( jQuery.merge( - this.get(), - typeof selector == 'string' ? - jQuery( selector ) : - jQuery.makeArray( selector ) - ))); - }, - - is: function( selector ) { - return !!selector && jQuery.multiFilter( selector, this ).length > 0; - }, - - hasClass: function( selector ) { - return this.is( "." + selector ); - }, - - val: function( value ) { - if ( value == undefined ) { - - if ( this.length ) { - var elem = this[0]; - - // We need to handle select boxes special - if ( jQuery.nodeName( elem, "select" ) ) { - var index = elem.selectedIndex, - values = [], - options = elem.options, - one = elem.type == "select-one"; - - // Nothing was selected - if ( index < 0 ) - return null; - - // Loop through all the selected options - for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { - var option = options[ i ]; - - if ( option.selected ) { - // Get the specifc value for the option - value = jQuery.browser.msie && !option.attributes.value.specified ? option.text : option.value; - - // We don't need an array for one selects - if ( one ) - return value; - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - - // Everything else, we just grab the value - } else - return (this[0].value || "").replace(/\r/g, ""); - - } - - return undefined; - } - - if( value.constructor == Number ) - value += ''; - - return this.each(function(){ - if ( this.nodeType != 1 ) - return; - - if ( value.constructor == Array && /radio|checkbox/.test( this.type ) ) - this.checked = (jQuery.inArray(this.value, value) >= 0 || - jQuery.inArray(this.name, value) >= 0); - - else if ( jQuery.nodeName( this, "select" ) ) { - var values = jQuery.makeArray(value); - - jQuery( "option", this ).each(function(){ - this.selected = (jQuery.inArray( this.value, values ) >= 0 || - jQuery.inArray( this.text, values ) >= 0); - }); - - if ( !values.length ) - this.selectedIndex = -1; - - } else - this.value = value; - }); - }, - - html: function( value ) { - return value == undefined ? - (this[0] ? - this[0].innerHTML : - null) : - this.empty().append( value ); - }, - - replaceWith: function( value ) { - return this.after( value ).remove(); - }, - - eq: function( i ) { - return this.slice( i, i + 1 ); - }, - - slice: function() { - return this.pushStack( Array.prototype.slice.apply( this, arguments ) ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function(elem, i){ - return callback.call( elem, i, elem ); - })); - }, - - andSelf: function() { - return this.add( this.prevObject ); - }, - - data: function( key, value ){ - var parts = key.split("."); - parts[1] = parts[1] ? "." + parts[1] : ""; - - if ( value === undefined ) { - var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); - - if ( data === undefined && this.length ) - data = jQuery.data( this[0], key ); - - return data === undefined && parts[1] ? - this.data( parts[0] ) : - data; - } else - return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){ - jQuery.data( this, key, value ); - }); - }, - - removeData: function( key ){ - return this.each(function(){ - jQuery.removeData( this, key ); - }); - }, - - domManip: function( args, table, reverse, callback ) { - var clone = this.length > 1, elems; - - return this.each(function(){ - if ( !elems ) { - elems = jQuery.clean( args, this.ownerDocument ); - - if ( reverse ) - elems.reverse(); - } - - var obj = this; - - if ( table && jQuery.nodeName( this, "table" ) && jQuery.nodeName( elems[0], "tr" ) ) - obj = this.getElementsByTagName("tbody")[0] || this.appendChild( this.ownerDocument.createElement("tbody") ); - - var scripts = jQuery( [] ); - - jQuery.each(elems, function(){ - var elem = clone ? - jQuery( this ).clone( true )[0] : - this; - - // execute all scripts after the elements have been injected - if ( jQuery.nodeName( elem, "script" ) ) - scripts = scripts.add( elem ); - else { - // Remove any inner scripts for later evaluation - if ( elem.nodeType == 1 ) - scripts = scripts.add( jQuery( "script", elem ).remove() ); - - // Inject the elements into the document - callback.call( obj, elem ); - } - }); - - scripts.each( evalScript ); - }); - } -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -function evalScript( i, elem ) { - if ( elem.src ) - jQuery.ajax({ - url: elem.src, - async: false, - dataType: "script" - }); - - else - jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" ); - - if ( elem.parentNode ) - elem.parentNode.removeChild( elem ); -} - -function now(){ - return +new Date; -} - -jQuery.extend = jQuery.fn.extend = function() { - // copy reference to target object - var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options; - - // Handle a deep copy situation - if ( target.constructor == Boolean ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target != "object" && typeof target != "function" ) - target = {}; - - // extend jQuery itself if only one argument is passed - if ( length == i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) - // Extend the base object - for ( var name in options ) { - var src = target[ name ], copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) - continue; - - // Recurse if we're merging object values - if ( deep && copy && typeof copy == "object" && !copy.nodeType ) - target[ name ] = jQuery.extend( deep, - // Never move original objects, clone them - src || ( copy.length != null ? [ ] : { } ) - , copy ); - - // Don't bring in undefined values - else if ( copy !== undefined ) - target[ name ] = copy; - - } - - // Return the modified object - return target; -}; - -var expando = "jQuery" + now(), uuid = 0, windowData = {}, - // exclude the following css properties to add px - exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i, - // cache defaultView - defaultView = document.defaultView || {}; - -jQuery.extend({ - noConflict: function( deep ) { - window.$ = _$; - - if ( deep ) - window.jQuery = _jQuery; - - return jQuery; - }, - - // See test/unit/core.js for details concerning this function. - isFunction: function( fn ) { - return !!fn && typeof fn != "string" && !fn.nodeName && - fn.constructor != Array && /^[\s[]?function/.test( fn + "" ); - }, - - // check if an element is in a (or is an) XML document - isXMLDoc: function( elem ) { - return elem.documentElement && !elem.body || - elem.tagName && elem.ownerDocument && !elem.ownerDocument.body; - }, - - // Evalulates a script in a global context - globalEval: function( data ) { - data = jQuery.trim( data ); - - if ( data ) { - // Inspired by code by Andrea Giammarchi - // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html - var head = document.getElementsByTagName("head")[0] || document.documentElement, - script = document.createElement("script"); - - script.type = "text/javascript"; - if ( jQuery.browser.msie ) - script.text = data; - else - script.appendChild( document.createTextNode( data ) ); - - // Use insertBefore instead of appendChild to circumvent an IE6 bug. - // This arises when a base node is used (#2709). - head.insertBefore( script, head.firstChild ); - head.removeChild( script ); - } - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase(); - }, - - cache: {}, - - data: function( elem, name, data ) { - elem = elem == window ? - windowData : - elem; - - var id = elem[ expando ]; - - // Compute a unique ID for the element - if ( !id ) - id = elem[ expando ] = ++uuid; - - // Only generate the data cache if we're - // trying to access or manipulate it - if ( name && !jQuery.cache[ id ] ) - jQuery.cache[ id ] = {}; - - // Prevent overriding the named cache with undefined values - if ( data !== undefined ) - jQuery.cache[ id ][ name ] = data; - - // Return the named cache data, or the ID for the element - return name ? - jQuery.cache[ id ][ name ] : - id; - }, - - removeData: function( elem, name ) { - elem = elem == window ? - windowData : - elem; - - var id = elem[ expando ]; - - // If we want to remove a specific section of the element's data - if ( name ) { - if ( jQuery.cache[ id ] ) { - // Remove the section of cache data - delete jQuery.cache[ id ][ name ]; - - // If we've removed all the data, remove the element's cache - name = ""; - - for ( name in jQuery.cache[ id ] ) - break; - - if ( !name ) - jQuery.removeData( elem ); - } - - // Otherwise, we want to remove all of the element's data - } else { - // Clean up the element expando - try { - delete elem[ expando ]; - } catch(e){ - // IE has trouble directly removing the expando - // but it's ok with using removeAttribute - if ( elem.removeAttribute ) - elem.removeAttribute( expando ); - } - - // Completely remove the data cache - delete jQuery.cache[ id ]; - } - }, - - // args is for internal usage only - each: function( object, callback, args ) { - var name, i = 0, length = object.length; - - if ( args ) { - if ( length == undefined ) { - for ( name in object ) - if ( callback.apply( object[ name ], args ) === false ) - break; - } else - for ( ; i < length; ) - if ( callback.apply( object[ i++ ], args ) === false ) - break; - - // A special, fast, case for the most common use of each - } else { - if ( length == undefined ) { - for ( name in object ) - if ( callback.call( object[ name ], name, object[ name ] ) === false ) - break; - } else - for ( var value = object[0]; - i < length && callback.call( value, i, value ) !== false; value = object[++i] ){} - } - - return object; - }, - - prop: function( elem, value, type, i, name ) { - // Handle executable functions - if ( jQuery.isFunction( value ) ) - value = value.call( elem, i ); - - // Handle passing in a number to a CSS property - return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ? - value + "px" : - value; - }, - - className: { - // internal only, use addClass("class") - add: function( elem, classNames ) { - jQuery.each((classNames || "").split(/\s+/), function(i, className){ - if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) ) - elem.className += (elem.className ? " " : "") + className; - }); - }, - - // internal only, use removeClass("class") - remove: function( elem, classNames ) { - if (elem.nodeType == 1) - elem.className = classNames != undefined ? - jQuery.grep(elem.className.split(/\s+/), function(className){ - return !jQuery.className.has( classNames, className ); - }).join(" ") : - ""; - }, - - // internal only, use hasClass("class") - has: function( elem, className ) { - return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1; - } - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback ) { - var old = {}; - // Remember the old values, and insert the new ones - for ( var name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - callback.call( elem ); - - // Revert the old values - for ( var name in options ) - elem.style[ name ] = old[ name ]; - }, - - css: function( elem, name, force ) { - if ( name == "width" || name == "height" ) { - var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ]; - - function getWH() { - val = name == "width" ? elem.offsetWidth : elem.offsetHeight; - var padding = 0, border = 0; - jQuery.each( which, function() { - padding += parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; - border += parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0; - }); - val -= Math.round(padding + border); - } - - if ( jQuery(elem).is(":visible") ) - getWH(); - else - jQuery.swap( elem, props, getWH ); - - return Math.max(0, val); - } - - return jQuery.curCSS( elem, name, force ); - }, - - curCSS: function( elem, name, force ) { - var ret, style = elem.style; - - // A helper method for determining if an element's values are broken - function color( elem ) { - if ( !jQuery.browser.safari ) - return false; - - // defaultView is cached - var ret = defaultView.getComputedStyle( elem, null ); - return !ret || ret.getPropertyValue("color") == ""; - } - - // We need to handle opacity special in IE - if ( name == "opacity" && jQuery.browser.msie ) { - ret = jQuery.attr( style, "opacity" ); - - return ret == "" ? - "1" : - ret; - } - // Opera sometimes will give the wrong display answer, this fixes it, see #2037 - if ( jQuery.browser.opera && name == "display" ) { - var save = style.outline; - style.outline = "0 solid black"; - style.outline = save; - } - - // Make sure we're using the right name for getting the float value - if ( name.match( /float/i ) ) - name = styleFloat; - - if ( !force && style && style[ name ] ) - ret = style[ name ]; - - else if ( defaultView.getComputedStyle ) { - - // Only "float" is needed here - if ( name.match( /float/i ) ) - name = "float"; - - name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase(); - - var computedStyle = defaultView.getComputedStyle( elem, null ); - - if ( computedStyle && !color( elem ) ) - ret = computedStyle.getPropertyValue( name ); - - // If the element isn't reporting its values properly in Safari - // then some display: none elements are involved - else { - var swap = [], stack = [], a = elem, i = 0; - - // Locate all of the parent display: none elements - for ( ; a && color(a); a = a.parentNode ) - stack.unshift(a); - - // Go through and make them visible, but in reverse - // (It would be better if we knew the exact display type that they had) - for ( ; i < stack.length; i++ ) - if ( color( stack[ i ] ) ) { - swap[ i ] = stack[ i ].style.display; - stack[ i ].style.display = "block"; - } - - // Since we flip the display style, we have to handle that - // one special, otherwise get the value - ret = name == "display" && swap[ stack.length - 1 ] != null ? - "none" : - ( computedStyle && computedStyle.getPropertyValue( name ) ) || ""; - - // Finally, revert the display styles back - for ( i = 0; i < swap.length; i++ ) - if ( swap[ i ] != null ) - stack[ i ].style.display = swap[ i ]; - } - - // We should always get a number back from opacity - if ( name == "opacity" && ret == "" ) - ret = "1"; - - } else if ( elem.currentStyle ) { - var camelCase = name.replace(/\-(\w)/g, function(all, letter){ - return letter.toUpperCase(); - }); - - ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ]; - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) { - // Remember the original values - var left = style.left, rsLeft = elem.runtimeStyle.left; - - // Put in the new values to get a computed value out - elem.runtimeStyle.left = elem.currentStyle.left; - style.left = ret || 0; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - elem.runtimeStyle.left = rsLeft; - } - } - - return ret; - }, - - clean: function( elems, context ) { - var ret = []; - context = context || document; - // !context.createElement fails in IE with an error but returns typeof 'object' - if (typeof context.createElement == 'undefined') - context = context.ownerDocument || context[0] && context[0].ownerDocument || document; - - jQuery.each(elems, function(i, elem){ - if ( !elem ) - return; - - if ( elem.constructor == Number ) - elem += ''; - - // Convert html string into DOM nodes - if ( typeof elem == "string" ) { - // Fix "XHTML"-style tags in all browsers - elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){ - return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? - all : - front + ">"; - }); - - // Trim whitespace, otherwise indexOf won't work as expected - var tags = jQuery.trim( elem ).toLowerCase(), div = context.createElement("div"); - - var wrap = - // option or optgroup - !tags.indexOf("", "" ] || - - !tags.indexOf("", "" ] || - - tags.match(/^<(thead|tbody|tfoot|colg|cap)/) && - [ 1, "", "
" ] || - - !tags.indexOf("", "" ] || - - // matched above - (!tags.indexOf("", "" ] || - - !tags.indexOf("", "" ] || - - // IE can't serialize and - * - * In CSS, define the following style: - * - * .hilite { background-color: #ff0; } - * - * If Hilite.style_name_suffix is true, then define the follow styles: - * - * .hilite1 { background-color: #ff0; } - * .hilite2 { background-color: #f0f; } - * .hilite3 { background-color: #0ff; } - * .hilite4 ... - * - * @author Scott Yang - * @version 1.5 - */ - -// Configuration: -Hilite = { - /** - * Element ID to be highlighted. If set, then only content inside this DOM - * element will be highlighted, otherwise everything inside document.body - * will be searched. - */ - elementid: 'content', - - /** - * Whether we are matching an exact word. For example, searching for - * "highlight" will only match "highlight" but not "highlighting" if exact - * is set to true. - */ - exact: true, - - /** - * Maximum number of DOM nodes to test, before handing the control back to - * the GUI thread. This prevents locking up the UI when parsing and - * replacing inside a large document. - */ - max_nodes: 1000, - - /** - * Whether to automatically hilite a section of the HTML document, by - * binding the "Hilite.hilite()" to window.onload() event. If this - * attribute is set to false, you can still manually trigger the hilite by - * calling Hilite.hilite() in Javascript after document has been fully - * loaded. - */ - onload: true, - - /** - * Name of the style to be used. Default to 'hilite'. - */ - style_name: 'hilite', - - /** - * Whether to use different style names for different search keywords by - * appending a number starting from 1, i.e. hilite1, hilite2, etc. - */ - style_name_suffix: true, - - /** - * Set it to override the document.referrer string. Used for debugging - * only. - */ - debug_referrer: '' -}; - -Hilite.search_engines = [ - ['google\\.', 'q'], // Google - ['search\\.yahoo\\.', 'p'], // Yahoo - ['search\\.msn\\.', 'q'], // MSN - ['search\\.live\\.', 'query'], // MSN Live - ['search\\.aol\\.', 'userQuery'], // AOL - ['ask\\.com', 'q'], // Ask.com - ['altavista\\.', 'q'], // AltaVista - ['feedster\\.', 'q'], // Feedster - ['search\\.lycos\\.', 'q'], // Lycos - ['alltheweb\\.', 'q'], // AllTheWeb - ['technorati\\.com/search/([^\\?/]+)', 1], // Technorati - ['dogpile\\.com/info\\.dogpl/search/web/([^\\?/]+)', 1, true] // DogPile -]; - -/** - * Decode the referrer string and return a list of search keywords. - */ -Hilite.decodeReferrer = function(referrer) { - var query = null; - var regex = new RegExp(''); - - for (var i = 0; i < Hilite.search_engines.length; i ++) { - var se = Hilite.search_engines[i]; - regex.compile('^http://(www\\.)?' + se[0], 'i'); - var match = referrer.match(regex); - if (match) { - var result; - if (isNaN(se[1])) { - result = Hilite.decodeReferrerQS(referrer, se[1]); - } else { - result = match[se[1] + 1]; - } - if (result) { - result = decodeURIComponent(result); - // XXX: DogPile's URI requires decoding twice. - if (se.length > 2 && se[2]) - result = decodeURIComponent(result); - result = result.replace(/\'|"/g, ''); - result = result.split(/[\s,\+\.]+/); - return result; - } - break; - } - } - return null; -}; - -Hilite.decodeReferrerQS = function(referrer, match) { - var idx = referrer.indexOf('?'); - var idx2; - if (idx >= 0) { - var qs = new String(referrer.substring(idx + 1)); - idx = 0; - idx2 = 0; - while ((idx >= 0) && ((idx2 = qs.indexOf('=', idx)) >= 0)) { - var key, val; - key = qs.substring(idx, idx2); - idx = qs.indexOf('&', idx2) + 1; - if (key == match) { - if (idx <= 0) { - return qs.substring(idx2+1); - } else { - return qs.substring(idx2+1, idx - 1); - } - } - else if (idx <=0) { - return null; - } - } - } - return null; -}; - -/** - * Highlight a DOM element with a list of keywords. - */ -Hilite.hiliteElement = function(elm, query) { - if (!query || elm.childNodes.length == 0) - return; - - var qre = new Array(); - for (var i = 0; i < query.length; i ++) { - query[i] = query[i].toLowerCase(); - if (Hilite.exact) - qre.push('\\b'+query[i]+'\\b'); - else - qre.push(query[i]); - } - - qre = new RegExp(qre.join("|"), "i"); - - var stylemapper = {}; - for (var i = 0; i < query.length; i ++) { - if (Hilite.style_name_suffix) - stylemapper[query[i]] = Hilite.style_name+(i+1); - else - stylemapper[query[i]] = Hilite.style_name; - } - - var textproc = function(node) { - var match = qre.exec(node.data); - if (match) { - var val = match[0]; - var k = ''; - var node2 = node.splitText(match.index); - var node3 = node2.splitText(val.length); - var span = node.ownerDocument.createElement('SPAN'); - node.parentNode.replaceChild(span, node2); - span.className = stylemapper[val.toLowerCase()]; - span.appendChild(node2); - return span; - } else { - return node; - } - }; - Hilite.walkElements(elm.childNodes[0], 1, textproc); -}; - -/** - * Highlight a HTML document using keywords extracted from document.referrer. - * This is the main function to be called to perform search engine highlight - * on a document. - * - * Currently it would check for DOM element 'content', element 'container' and - * then document.body in that order, so it only highlights appropriate section - * on WordPress and Movable Type pages. - */ -Hilite.hilite = function() { - // If 'debug_referrer' then we will use that as our referrer string - // instead. - var q = Hilite.debug_referrer ? Hilite.debug_referrer : document.referrer; - var e = null; - q = Hilite.decodeReferrer(q); - if (q && ((Hilite.elementid && - (e = document.getElementById(Hilite.elementid))) || - (e = document.body))) - { - Hilite.hiliteElement(e, q); - } -}; - -Hilite.walkElements = function(node, depth, textproc) { - var skipre = /^(script|style|textarea)/i; - var count = 0; - while (node && depth > 0) { - count ++; - if (count >= Hilite.max_nodes) { - var handler = function() { - Hilite.walkElements(node, depth, textproc); - }; - setTimeout(handler, 50); - return; - } - - if (node.nodeType == 1) { // ELEMENT_NODE - if (!skipre.test(node.tagName) && node.childNodes.length > 0) { - node = node.childNodes[0]; - depth ++; - continue; - } - } else if (node.nodeType == 3) { // TEXT_NODE - node = textproc(node); - } - - if (node.nextSibling) { - node = node.nextSibling; - } else { - while (depth > 0) { - node = node.parentNode; - depth --; - if (node.nextSibling) { - node = node.nextSibling; - break; - } - } - } - } -}; - -// Trigger the highlight using the onload handler. -if (Hilite.onload) { - if (window.attachEvent) { - window.attachEvent('onload', Hilite.hilite); - } else if (window.addEventListener) { - window.addEventListener('load', Hilite.hilite, false); - } else { - var __onload = window.onload; - window.onload = function() { - Hilite.hilite(); - __onload(); - }; - } -} diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.js b/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.js deleted file mode 100644 index 5493e0a..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.js +++ /dev/null @@ -1,519 +0,0 @@ -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -;jQuery.ui || (function($) { - -var _remove = $.fn.remove, - isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9); - -//Helper functions and ui object -$.ui = { - version: "1.7.2", - - // $.ui.plugin is deprecated. Use the proxy pattern instead. - plugin: { - add: function(module, option, set) { - var proto = $.ui[module].prototype; - for(var i in set) { - proto.plugins[i] = proto.plugins[i] || []; - proto.plugins[i].push([option, set[i]]); - } - }, - call: function(instance, name, args) { - var set = instance.plugins[name]; - if(!set || !instance.element[0].parentNode) { return; } - - for (var i = 0; i < set.length; i++) { - if (instance.options[set[i][0]]) { - set[i][1].apply(instance.element, args); - } - } - } - }, - - contains: function(a, b) { - return document.compareDocumentPosition - ? a.compareDocumentPosition(b) & 16 - : a !== b && a.contains(b); - }, - - hasScroll: function(el, a) { - - //If overflow is hidden, the element might have extra content, but the user wants to hide it - if ($(el).css('overflow') == 'hidden') { return false; } - - var scroll = (a && a == 'left') ? 'scrollLeft' : 'scrollTop', - has = false; - - if (el[scroll] > 0) { return true; } - - // TODO: determine which cases actually cause this to happen - // if the element doesn't have the scroll set, see if it's possible to - // set the scroll - el[scroll] = 1; - has = (el[scroll] > 0); - el[scroll] = 0; - return has; - }, - - isOverAxis: function(x, reference, size) { - //Determines when x coordinate is over "b" element axis - return (x > reference) && (x < (reference + size)); - }, - - isOver: function(y, x, top, left, height, width) { - //Determines when x, y coordinates is over "b" element - return $.ui.isOverAxis(y, top, height) && $.ui.isOverAxis(x, left, width); - }, - - keyCode: { - BACKSPACE: 8, - CAPS_LOCK: 20, - COMMA: 188, - CONTROL: 17, - DELETE: 46, - DOWN: 40, - END: 35, - ENTER: 13, - ESCAPE: 27, - HOME: 36, - INSERT: 45, - LEFT: 37, - NUMPAD_ADD: 107, - NUMPAD_DECIMAL: 110, - NUMPAD_DIVIDE: 111, - NUMPAD_ENTER: 108, - NUMPAD_MULTIPLY: 106, - NUMPAD_SUBTRACT: 109, - PAGE_DOWN: 34, - PAGE_UP: 33, - PERIOD: 190, - RIGHT: 39, - SHIFT: 16, - SPACE: 32, - TAB: 9, - UP: 38 - } -}; - -// WAI-ARIA normalization -if (isFF2) { - var attr = $.attr, - removeAttr = $.fn.removeAttr, - ariaNS = "http://www.w3.org/2005/07/aaa", - ariaState = /^aria-/, - ariaRole = /^wairole:/; - - $.attr = function(elem, name, value) { - var set = value !== undefined; - - return (name == 'role' - ? (set - ? attr.call(this, elem, name, "wairole:" + value) - : (attr.apply(this, arguments) || "").replace(ariaRole, "")) - : (ariaState.test(name) - ? (set - ? elem.setAttributeNS(ariaNS, - name.replace(ariaState, "aaa:"), value) - : attr.call(this, elem, name.replace(ariaState, "aaa:"))) - : attr.apply(this, arguments))); - }; - - $.fn.removeAttr = function(name) { - return (ariaState.test(name) - ? this.each(function() { - this.removeAttributeNS(ariaNS, name.replace(ariaState, "")); - }) : removeAttr.call(this, name)); - }; -} - -//jQuery plugins -$.fn.extend({ - remove: function() { - // Safari has a native remove event which actually removes DOM elements, - // so we have to use triggerHandler instead of trigger (#3037). - $("*", this).add(this).each(function() { - $(this).triggerHandler("remove"); - }); - return _remove.apply(this, arguments ); - }, - - enableSelection: function() { - return this - .attr('unselectable', 'off') - .css('MozUserSelect', '') - .unbind('selectstart.ui'); - }, - - disableSelection: function() { - return this - .attr('unselectable', 'on') - .css('MozUserSelect', 'none') - .bind('selectstart.ui', function() { return false; }); - }, - - scrollParent: function() { - var scrollParent; - if(($.browser.msie && (/(static|relative)/).test(this.css('position'))) || (/absolute/).test(this.css('position'))) { - scrollParent = this.parents().filter(function() { - return (/(relative|absolute|fixed)/).test($.curCSS(this,'position',1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1)); - }).eq(0); - } else { - scrollParent = this.parents().filter(function() { - return (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1)); - }).eq(0); - } - - return (/fixed/).test(this.css('position')) || !scrollParent.length ? $(document) : scrollParent; - } -}); - - -//Additional selectors -$.extend($.expr[':'], { - data: function(elem, i, match) { - return !!$.data(elem, match[3]); - }, - - focusable: function(element) { - var nodeName = element.nodeName.toLowerCase(), - tabIndex = $.attr(element, 'tabindex'); - return (/input|select|textarea|button|object/.test(nodeName) - ? !element.disabled - : 'a' == nodeName || 'area' == nodeName - ? element.href || !isNaN(tabIndex) - : !isNaN(tabIndex)) - // the element and all of its ancestors must be visible - // the browser may report that the area is hidden - && !$(element)['area' == nodeName ? 'parents' : 'closest'](':hidden').length; - }, - - tabbable: function(element) { - var tabIndex = $.attr(element, 'tabindex'); - return (isNaN(tabIndex) || tabIndex >= 0) && $(element).is(':focusable'); - } -}); - - -// $.widget is a factory to create jQuery plugins -// taking some boilerplate code out of the plugin code -function getter(namespace, plugin, method, args) { - function getMethods(type) { - var methods = $[namespace][plugin][type] || []; - return (typeof methods == 'string' ? methods.split(/,?\s+/) : methods); - } - - var methods = getMethods('getter'); - if (args.length == 1 && typeof args[0] == 'string') { - methods = methods.concat(getMethods('getterSetter')); - } - return ($.inArray(method, methods) != -1); -} - -$.widget = function(name, prototype) { - var namespace = name.split(".")[0]; - name = name.split(".")[1]; - - // create plugin method - $.fn[name] = function(options) { - var isMethodCall = (typeof options == 'string'), - args = Array.prototype.slice.call(arguments, 1); - - // prevent calls to internal methods - if (isMethodCall && options.substring(0, 1) == '_') { - return this; - } - - // handle getter methods - if (isMethodCall && getter(namespace, name, options, args)) { - var instance = $.data(this[0], name); - return (instance ? instance[options].apply(instance, args) - : undefined); - } - - // handle initialization and non-getter methods - return this.each(function() { - var instance = $.data(this, name); - - // constructor - (!instance && !isMethodCall && - $.data(this, name, new $[namespace][name](this, options))._init()); - - // method call - (instance && isMethodCall && $.isFunction(instance[options]) && - instance[options].apply(instance, args)); - }); - }; - - // create widget constructor - $[namespace] = $[namespace] || {}; - $[namespace][name] = function(element, options) { - var self = this; - - this.namespace = namespace; - this.widgetName = name; - this.widgetEventPrefix = $[namespace][name].eventPrefix || name; - this.widgetBaseClass = namespace + '-' + name; - - this.options = $.extend({}, - $.widget.defaults, - $[namespace][name].defaults, - $.metadata && $.metadata.get(element)[name], - options); - - this.element = $(element) - .bind('setData.' + name, function(event, key, value) { - if (event.target == element) { - return self._setData(key, value); - } - }) - .bind('getData.' + name, function(event, key) { - if (event.target == element) { - return self._getData(key); - } - }) - .bind('remove', function() { - return self.destroy(); - }); - }; - - // add widget prototype - $[namespace][name].prototype = $.extend({}, $.widget.prototype, prototype); - - // TODO: merge getter and getterSetter properties from widget prototype - // and plugin prototype - $[namespace][name].getterSetter = 'option'; -}; - -$.widget.prototype = { - _init: function() {}, - destroy: function() { - this.element.removeData(this.widgetName) - .removeClass(this.widgetBaseClass + '-disabled' + ' ' + this.namespace + '-state-disabled') - .removeAttr('aria-disabled'); - }, - - option: function(key, value) { - var options = key, - self = this; - - if (typeof key == "string") { - if (value === undefined) { - return this._getData(key); - } - options = {}; - options[key] = value; - } - - $.each(options, function(key, value) { - self._setData(key, value); - }); - }, - _getData: function(key) { - return this.options[key]; - }, - _setData: function(key, value) { - this.options[key] = value; - - if (key == 'disabled') { - this.element - [value ? 'addClass' : 'removeClass']( - this.widgetBaseClass + '-disabled' + ' ' + - this.namespace + '-state-disabled') - .attr("aria-disabled", value); - } - }, - - enable: function() { - this._setData('disabled', false); - }, - disable: function() { - this._setData('disabled', true); - }, - - _trigger: function(type, event, data) { - var callback = this.options[type], - eventName = (type == this.widgetEventPrefix - ? type : this.widgetEventPrefix + type); - - event = $.Event(event); - event.type = eventName; - - // copy original event properties over to the new event - // this would happen if we could call $.event.fix instead of $.Event - // but we don't have a way to force an event to be fixed multiple times - if (event.originalEvent) { - for (var i = $.event.props.length, prop; i;) { - prop = $.event.props[--i]; - event[prop] = event.originalEvent[prop]; - } - } - - this.element.trigger(event, data); - - return !($.isFunction(callback) && callback.call(this.element[0], event, data) === false - || event.isDefaultPrevented()); - } -}; - -$.widget.defaults = { - disabled: false -}; - - -/** Mouse Interaction Plugin **/ - -$.ui.mouse = { - _mouseInit: function() { - var self = this; - - this.element - .bind('mousedown.'+this.widgetName, function(event) { - return self._mouseDown(event); - }) - .bind('click.'+this.widgetName, function(event) { - if(self._preventClickEvent) { - self._preventClickEvent = false; - event.stopImmediatePropagation(); - return false; - } - }); - - // Prevent text selection in IE - if ($.browser.msie) { - this._mouseUnselectable = this.element.attr('unselectable'); - this.element.attr('unselectable', 'on'); - } - - this.started = false; - }, - - // TODO: make sure destroying one instance of mouse doesn't mess with - // other instances of mouse - _mouseDestroy: function() { - this.element.unbind('.'+this.widgetName); - - // Restore text selection in IE - ($.browser.msie - && this.element.attr('unselectable', this._mouseUnselectable)); - }, - - _mouseDown: function(event) { - // don't let more than one widget handle mouseStart - // TODO: figure out why we have to use originalEvent - event.originalEvent = event.originalEvent || {}; - if (event.originalEvent.mouseHandled) { return; } - - // we may have missed mouseup (out of window) - (this._mouseStarted && this._mouseUp(event)); - - this._mouseDownEvent = event; - - var self = this, - btnIsLeft = (event.which == 1), - elIsCancel = (typeof this.options.cancel == "string" ? $(event.target).parents().add(event.target).filter(this.options.cancel).length : false); - if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { - return true; - } - - this.mouseDelayMet = !this.options.delay; - if (!this.mouseDelayMet) { - this._mouseDelayTimer = setTimeout(function() { - self.mouseDelayMet = true; - }, this.options.delay); - } - - if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { - this._mouseStarted = (this._mouseStart(event) !== false); - if (!this._mouseStarted) { - event.preventDefault(); - return true; - } - } - - // these delegates are required to keep context - this._mouseMoveDelegate = function(event) { - return self._mouseMove(event); - }; - this._mouseUpDelegate = function(event) { - return self._mouseUp(event); - }; - $(document) - .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate) - .bind('mouseup.'+this.widgetName, this._mouseUpDelegate); - - // preventDefault() is used to prevent the selection of text here - - // however, in Safari, this causes select boxes not to be selectable - // anymore, so this fix is needed - ($.browser.safari || event.preventDefault()); - - event.originalEvent.mouseHandled = true; - return true; - }, - - _mouseMove: function(event) { - // IE mouseup check - mouseup happened when mouse was out of window - if ($.browser.msie && !event.button) { - return this._mouseUp(event); - } - - if (this._mouseStarted) { - this._mouseDrag(event); - return event.preventDefault(); - } - - if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { - this._mouseStarted = - (this._mouseStart(this._mouseDownEvent, event) !== false); - (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); - } - - return !this._mouseStarted; - }, - - _mouseUp: function(event) { - $(document) - .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate) - .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate); - - if (this._mouseStarted) { - this._mouseStarted = false; - this._preventClickEvent = (event.target == this._mouseDownEvent.target); - this._mouseStop(event); - } - - return false; - }, - - _mouseDistanceMet: function(event) { - return (Math.max( - Math.abs(this._mouseDownEvent.pageX - event.pageX), - Math.abs(this._mouseDownEvent.pageY - event.pageY) - ) >= this.options.distance - ); - }, - - _mouseDelayMet: function(event) { - return this.mouseDelayMet; - }, - - // These are placeholder methods, to be overriden by extending plugin - _mouseStart: function(event) {}, - _mouseDrag: function(event) {}, - _mouseStop: function(event) {}, - _mouseCapture: function(event) { return true; } -}; - -$.ui.mouse.defaults = { - cancel: null, - distance: 1, - delay: 0 -}; - -})(jQuery); diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.min.js b/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.min.js deleted file mode 100644 index d6bd405..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.core.min.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery); \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.js b/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.js deleted file mode 100644 index 0ce166e..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.js +++ /dev/null @@ -1,1636 +0,0 @@ -/* - * jQuery UI Datepicker 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Datepicker - * - * Depends: - * ui.core.js - */ - -(function($) { // hide the namespace - -$.extend($.ui, { datepicker: { version: "1.7.2" } }); - -var PROP_NAME = 'datepicker'; - -/* Date picker manager. - Use the singleton instance of this class, $.datepicker, to interact with the date picker. - Settings for (groups of) date pickers are maintained in an instance object, - allowing multiple different settings on the same page. */ - -function Datepicker() { - this.debug = false; // Change this to true to start debugging - this._curInst = null; // The current instance in use - this._keyEvent = false; // If the last event was a key event - this._disabledInputs = []; // List of date picker inputs that have been disabled - this._datepickerShowing = false; // True if the popup picker is showing , false if not - this._inDialog = false; // True if showing within a "dialog", false if not - this._mainDivId = 'ui-datepicker-div'; // The ID of the main datepicker division - this._inlineClass = 'ui-datepicker-inline'; // The name of the inline marker class - this._appendClass = 'ui-datepicker-append'; // The name of the append marker class - this._triggerClass = 'ui-datepicker-trigger'; // The name of the trigger marker class - this._dialogClass = 'ui-datepicker-dialog'; // The name of the dialog marker class - this._disableClass = 'ui-datepicker-disabled'; // The name of the disabled covering marker class - this._unselectableClass = 'ui-datepicker-unselectable'; // The name of the unselectable cell marker class - this._currentClass = 'ui-datepicker-current-day'; // The name of the current day marker class - this._dayOverClass = 'ui-datepicker-days-cell-over'; // The name of the day hover marker class - this.regional = []; // Available regional settings, indexed by language code - this.regional[''] = { // Default regional settings - closeText: 'Done', // Display text for close link - prevText: 'Prev', // Display text for previous month link - nextText: 'Next', // Display text for next month link - currentText: 'Today', // Display text for current month link - monthNames: ['January','February','March','April','May','June', - 'July','August','September','October','November','December'], // Names of months for drop-down and formatting - monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting - dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], // For formatting - dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], // For formatting - dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday - dateFormat: 'mm/dd/yy', // See format options on parseDate - firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ... - isRTL: false // True if right-to-left language, false if left-to-right - }; - this._defaults = { // Global defaults for all the date picker instances - showOn: 'focus', // 'focus' for popup on focus, - // 'button' for trigger button, or 'both' for either - showAnim: 'show', // Name of jQuery animation for popup - showOptions: {}, // Options for enhanced animations - defaultDate: null, // Used when field is blank: actual date, - // +/-number for offset from today, null for today - appendText: '', // Display text following the input box, e.g. showing the format - buttonText: '...', // Text for trigger button - buttonImage: '', // URL for trigger button image - buttonImageOnly: false, // True if the image appears alone, false if it appears on a button - hideIfNoPrevNext: false, // True to hide next/previous month links - // if not applicable, false to just disable them - navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links - gotoCurrent: false, // True if today link goes back to current selection instead - changeMonth: false, // True if month can be selected directly, false if only prev/next - changeYear: false, // True if year can be selected directly, false if only prev/next - showMonthAfterYear: false, // True if the year select precedes month, false for month then year - yearRange: '-10:+10', // Range of years to display in drop-down, - // either relative to current year (-nn:+nn) or absolute (nnnn:nnnn) - showOtherMonths: false, // True to show dates in other months, false to leave blank - calculateWeek: this.iso8601Week, // How to calculate the week of the year, - // takes a Date and returns the number of the week for it - shortYearCutoff: '+10', // Short year values < this are in the current century, - // > this are in the previous century, - // string value starting with '+' for current year + value - minDate: null, // The earliest selectable date, or null for no limit - maxDate: null, // The latest selectable date, or null for no limit - duration: 'normal', // Duration of display/closure - beforeShowDay: null, // Function that takes a date and returns an array with - // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '', - // [2] = cell title (optional), e.g. $.datepicker.noWeekends - beforeShow: null, // Function that takes an input field and - // returns a set of custom settings for the date picker - onSelect: null, // Define a callback function when a date is selected - onChangeMonthYear: null, // Define a callback function when the month or year is changed - onClose: null, // Define a callback function when the datepicker is closed - numberOfMonths: 1, // Number of months to show at a time - showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0) - stepMonths: 1, // Number of months to step back/forward - stepBigMonths: 12, // Number of months to step back/forward for the big links - altField: '', // Selector for an alternate field to store selected dates into - altFormat: '', // The date format to use for the alternate field - constrainInput: true, // The input is constrained by the current date format - showButtonPanel: false // True to show button panel, false to not show it - }; - $.extend(this._defaults, this.regional['']); - this.dpDiv = $('
'); -} - -$.extend(Datepicker.prototype, { - /* Class name added to elements to indicate already configured with a date picker. */ - markerClassName: 'hasDatepicker', - - /* Debug logging (if enabled). */ - log: function () { - if (this.debug) - console.log.apply('', arguments); - }, - - /* Override the default settings for all instances of the date picker. - @param settings object - the new settings to use as defaults (anonymous object) - @return the manager object */ - setDefaults: function(settings) { - extendRemove(this._defaults, settings || {}); - return this; - }, - - /* Attach the date picker to a jQuery selection. - @param target element - the target input field or division or span - @param settings object - the new settings to use for this date picker instance (anonymous) */ - _attachDatepicker: function(target, settings) { - // check for settings on the control itself - in namespace 'date:' - var inlineSettings = null; - for (var attrName in this._defaults) { - var attrValue = target.getAttribute('date:' + attrName); - if (attrValue) { - inlineSettings = inlineSettings || {}; - try { - inlineSettings[attrName] = eval(attrValue); - } catch (err) { - inlineSettings[attrName] = attrValue; - } - } - } - var nodeName = target.nodeName.toLowerCase(); - var inline = (nodeName == 'div' || nodeName == 'span'); - if (!target.id) - target.id = 'dp' + (++this.uuid); - var inst = this._newInst($(target), inline); - inst.settings = $.extend({}, settings || {}, inlineSettings || {}); - if (nodeName == 'input') { - this._connectDatepicker(target, inst); - } else if (inline) { - this._inlineDatepicker(target, inst); - } - }, - - /* Create a new instance object. */ - _newInst: function(target, inline) { - var id = target[0].id.replace(/([:\[\]\.])/g, '\\\\$1'); // escape jQuery meta chars - return {id: id, input: target, // associated target - selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection - drawMonth: 0, drawYear: 0, // month being drawn - inline: inline, // is datepicker inline or not - dpDiv: (!inline ? this.dpDiv : // presentation div - $('
'))}; - }, - - /* Attach the date picker to an input field. */ - _connectDatepicker: function(target, inst) { - var input = $(target); - inst.append = $([]); - inst.trigger = $([]); - if (input.hasClass(this.markerClassName)) - return; - var appendText = this._get(inst, 'appendText'); - var isRTL = this._get(inst, 'isRTL'); - if (appendText) { - inst.append = $('' + appendText + ''); - input[isRTL ? 'before' : 'after'](inst.append); - } - var showOn = this._get(inst, 'showOn'); - if (showOn == 'focus' || showOn == 'both') // pop-up date picker when in the marked field - input.focus(this._showDatepicker); - if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked - var buttonText = this._get(inst, 'buttonText'); - var buttonImage = this._get(inst, 'buttonImage'); - inst.trigger = $(this._get(inst, 'buttonImageOnly') ? - $('').addClass(this._triggerClass). - attr({ src: buttonImage, alt: buttonText, title: buttonText }) : - $('').addClass(this._triggerClass). - html(buttonImage == '' ? buttonText : $('').attr( - { src:buttonImage, alt:buttonText, title:buttonText }))); - input[isRTL ? 'before' : 'after'](inst.trigger); - inst.trigger.click(function() { - if ($.datepicker._datepickerShowing && $.datepicker._lastInput == target) - $.datepicker._hideDatepicker(); - else - $.datepicker._showDatepicker(target); - return false; - }); - } - input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress). - bind("setData.datepicker", function(event, key, value) { - inst.settings[key] = value; - }).bind("getData.datepicker", function(event, key) { - return this._get(inst, key); - }); - $.data(target, PROP_NAME, inst); - }, - - /* Attach an inline date picker to a div. */ - _inlineDatepicker: function(target, inst) { - var divSpan = $(target); - if (divSpan.hasClass(this.markerClassName)) - return; - divSpan.addClass(this.markerClassName).append(inst.dpDiv). - bind("setData.datepicker", function(event, key, value){ - inst.settings[key] = value; - }).bind("getData.datepicker", function(event, key){ - return this._get(inst, key); - }); - $.data(target, PROP_NAME, inst); - this._setDate(inst, this._getDefaultDate(inst)); - this._updateDatepicker(inst); - this._updateAlternate(inst); - }, - - /* Pop-up the date picker in a "dialog" box. - @param input element - ignored - @param dateText string - the initial date to display (in the current format) - @param onSelect function - the function(dateText) to call when a date is selected - @param settings object - update the dialog date picker instance's settings (anonymous object) - @param pos int[2] - coordinates for the dialog's position within the screen or - event - with x/y coordinates or - leave empty for default (screen centre) - @return the manager object */ - _dialogDatepicker: function(input, dateText, onSelect, settings, pos) { - var inst = this._dialogInst; // internal instance - if (!inst) { - var id = 'dp' + (++this.uuid); - this._dialogInput = $(''); - this._dialogInput.keydown(this._doKeyDown); - $('body').append(this._dialogInput); - inst = this._dialogInst = this._newInst(this._dialogInput, false); - inst.settings = {}; - $.data(this._dialogInput[0], PROP_NAME, inst); - } - extendRemove(inst.settings, settings || {}); - this._dialogInput.val(dateText); - - this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null); - if (!this._pos) { - var browserWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; - var browserHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; - var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft; - var scrollY = document.documentElement.scrollTop || document.body.scrollTop; - this._pos = // should use actual width/height below - [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY]; - } - - // move input on screen for focus, but hidden behind dialog - this._dialogInput.css('left', this._pos[0] + 'px').css('top', this._pos[1] + 'px'); - inst.settings.onSelect = onSelect; - this._inDialog = true; - this.dpDiv.addClass(this._dialogClass); - this._showDatepicker(this._dialogInput[0]); - if ($.blockUI) - $.blockUI(this.dpDiv); - $.data(this._dialogInput[0], PROP_NAME, inst); - return this; - }, - - /* Detach a datepicker from its control. - @param target element - the target input field or division or span */ - _destroyDatepicker: function(target) { - var $target = $(target); - var inst = $.data(target, PROP_NAME); - if (!$target.hasClass(this.markerClassName)) { - return; - } - var nodeName = target.nodeName.toLowerCase(); - $.removeData(target, PROP_NAME); - if (nodeName == 'input') { - inst.append.remove(); - inst.trigger.remove(); - $target.removeClass(this.markerClassName). - unbind('focus', this._showDatepicker). - unbind('keydown', this._doKeyDown). - unbind('keypress', this._doKeyPress); - } else if (nodeName == 'div' || nodeName == 'span') - $target.removeClass(this.markerClassName).empty(); - }, - - /* Enable the date picker to a jQuery selection. - @param target element - the target input field or division or span */ - _enableDatepicker: function(target) { - var $target = $(target); - var inst = $.data(target, PROP_NAME); - if (!$target.hasClass(this.markerClassName)) { - return; - } - var nodeName = target.nodeName.toLowerCase(); - if (nodeName == 'input') { - target.disabled = false; - inst.trigger.filter('button'). - each(function() { this.disabled = false; }).end(). - filter('img').css({opacity: '1.0', cursor: ''}); - } - else if (nodeName == 'div' || nodeName == 'span') { - var inline = $target.children('.' + this._inlineClass); - inline.children().removeClass('ui-state-disabled'); - } - this._disabledInputs = $.map(this._disabledInputs, - function(value) { return (value == target ? null : value); }); // delete entry - }, - - /* Disable the date picker to a jQuery selection. - @param target element - the target input field or division or span */ - _disableDatepicker: function(target) { - var $target = $(target); - var inst = $.data(target, PROP_NAME); - if (!$target.hasClass(this.markerClassName)) { - return; - } - var nodeName = target.nodeName.toLowerCase(); - if (nodeName == 'input') { - target.disabled = true; - inst.trigger.filter('button'). - each(function() { this.disabled = true; }).end(). - filter('img').css({opacity: '0.5', cursor: 'default'}); - } - else if (nodeName == 'div' || nodeName == 'span') { - var inline = $target.children('.' + this._inlineClass); - inline.children().addClass('ui-state-disabled'); - } - this._disabledInputs = $.map(this._disabledInputs, - function(value) { return (value == target ? null : value); }); // delete entry - this._disabledInputs[this._disabledInputs.length] = target; - }, - - /* Is the first field in a jQuery collection disabled as a datepicker? - @param target element - the target input field or division or span - @return boolean - true if disabled, false if enabled */ - _isDisabledDatepicker: function(target) { - if (!target) { - return false; - } - for (var i = 0; i < this._disabledInputs.length; i++) { - if (this._disabledInputs[i] == target) - return true; - } - return false; - }, - - /* Retrieve the instance data for the target control. - @param target element - the target input field or division or span - @return object - the associated instance data - @throws error if a jQuery problem getting data */ - _getInst: function(target) { - try { - return $.data(target, PROP_NAME); - } - catch (err) { - throw 'Missing instance data for this datepicker'; - } - }, - - /* Update or retrieve the settings for a date picker attached to an input field or division. - @param target element - the target input field or division or span - @param name object - the new settings to update or - string - the name of the setting to change or retrieve, - when retrieving also 'all' for all instance settings or - 'defaults' for all global defaults - @param value any - the new value for the setting - (omit if above is an object or to retrieve a value) */ - _optionDatepicker: function(target, name, value) { - var inst = this._getInst(target); - if (arguments.length == 2 && typeof name == 'string') { - return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) : - (inst ? (name == 'all' ? $.extend({}, inst.settings) : - this._get(inst, name)) : null)); - } - var settings = name || {}; - if (typeof name == 'string') { - settings = {}; - settings[name] = value; - } - if (inst) { - if (this._curInst == inst) { - this._hideDatepicker(null); - } - var date = this._getDateDatepicker(target); - extendRemove(inst.settings, settings); - this._setDateDatepicker(target, date); - this._updateDatepicker(inst); - } - }, - - // change method deprecated - _changeDatepicker: function(target, name, value) { - this._optionDatepicker(target, name, value); - }, - - /* Redraw the date picker attached to an input field or division. - @param target element - the target input field or division or span */ - _refreshDatepicker: function(target) { - var inst = this._getInst(target); - if (inst) { - this._updateDatepicker(inst); - } - }, - - /* Set the dates for a jQuery selection. - @param target element - the target input field or division or span - @param date Date - the new date - @param endDate Date - the new end date for a range (optional) */ - _setDateDatepicker: function(target, date, endDate) { - var inst = this._getInst(target); - if (inst) { - this._setDate(inst, date, endDate); - this._updateDatepicker(inst); - this._updateAlternate(inst); - } - }, - - /* Get the date(s) for the first entry in a jQuery selection. - @param target element - the target input field or division or span - @return Date - the current date or - Date[2] - the current dates for a range */ - _getDateDatepicker: function(target) { - var inst = this._getInst(target); - if (inst && !inst.inline) - this._setDateFromField(inst); - return (inst ? this._getDate(inst) : null); - }, - - /* Handle keystrokes. */ - _doKeyDown: function(event) { - var inst = $.datepicker._getInst(event.target); - var handled = true; - var isRTL = inst.dpDiv.is('.ui-datepicker-rtl'); - inst._keyEvent = true; - if ($.datepicker._datepickerShowing) - switch (event.keyCode) { - case 9: $.datepicker._hideDatepicker(null, ''); - break; // hide on tab out - case 13: var sel = $('td.' + $.datepicker._dayOverClass + - ', td.' + $.datepicker._currentClass, inst.dpDiv); - if (sel[0]) - $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]); - else - $.datepicker._hideDatepicker(null, $.datepicker._get(inst, 'duration')); - return false; // don't submit the form - break; // select the value on enter - case 27: $.datepicker._hideDatepicker(null, $.datepicker._get(inst, 'duration')); - break; // hide on escape - case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ? - -$.datepicker._get(inst, 'stepBigMonths') : - -$.datepicker._get(inst, 'stepMonths')), 'M'); - break; // previous month/year on page up/+ ctrl - case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ? - +$.datepicker._get(inst, 'stepBigMonths') : - +$.datepicker._get(inst, 'stepMonths')), 'M'); - break; // next month/year on page down/+ ctrl - case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target); - handled = event.ctrlKey || event.metaKey; - break; // clear on ctrl or command +end - case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target); - handled = event.ctrlKey || event.metaKey; - break; // current on ctrl or command +home - case 37: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), 'D'); - handled = event.ctrlKey || event.metaKey; - // -1 day on ctrl or command +left - if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ? - -$.datepicker._get(inst, 'stepBigMonths') : - -$.datepicker._get(inst, 'stepMonths')), 'M'); - // next month/year on alt +left on Mac - break; - case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D'); - handled = event.ctrlKey || event.metaKey; - break; // -1 week on ctrl or command +up - case 39: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), 'D'); - handled = event.ctrlKey || event.metaKey; - // +1 day on ctrl or command +right - if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ? - +$.datepicker._get(inst, 'stepBigMonths') : - +$.datepicker._get(inst, 'stepMonths')), 'M'); - // next month/year on alt +right - break; - case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D'); - handled = event.ctrlKey || event.metaKey; - break; // +1 week on ctrl or command +down - default: handled = false; - } - else if (event.keyCode == 36 && event.ctrlKey) // display the date picker on ctrl+home - $.datepicker._showDatepicker(this); - else { - handled = false; - } - if (handled) { - event.preventDefault(); - event.stopPropagation(); - } - }, - - /* Filter entered characters - based on date format. */ - _doKeyPress: function(event) { - var inst = $.datepicker._getInst(event.target); - if ($.datepicker._get(inst, 'constrainInput')) { - var chars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')); - var chr = String.fromCharCode(event.charCode == undefined ? event.keyCode : event.charCode); - return event.ctrlKey || (chr < ' ' || !chars || chars.indexOf(chr) > -1); - } - }, - - /* Pop-up the date picker for a given input field. - @param input element - the input field attached to the date picker or - event - if triggered by focus */ - _showDatepicker: function(input) { - input = input.target || input; - if (input.nodeName.toLowerCase() != 'input') // find from button/image trigger - input = $('input', input.parentNode)[0]; - if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here - return; - var inst = $.datepicker._getInst(input); - var beforeShow = $.datepicker._get(inst, 'beforeShow'); - extendRemove(inst.settings, (beforeShow ? beforeShow.apply(input, [input, inst]) : {})); - $.datepicker._hideDatepicker(null, ''); - $.datepicker._lastInput = input; - $.datepicker._setDateFromField(inst); - if ($.datepicker._inDialog) // hide cursor - input.value = ''; - if (!$.datepicker._pos) { // position below input - $.datepicker._pos = $.datepicker._findPos(input); - $.datepicker._pos[1] += input.offsetHeight; // add the height - } - var isFixed = false; - $(input).parents().each(function() { - isFixed |= $(this).css('position') == 'fixed'; - return !isFixed; - }); - if (isFixed && $.browser.opera) { // correction for Opera when fixed and scrolled - $.datepicker._pos[0] -= document.documentElement.scrollLeft; - $.datepicker._pos[1] -= document.documentElement.scrollTop; - } - var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]}; - $.datepicker._pos = null; - inst.rangeStart = null; - // determine sizing offscreen - inst.dpDiv.css({position: 'absolute', display: 'block', top: '-1000px'}); - $.datepicker._updateDatepicker(inst); - // fix width for dynamic number of date pickers - // and adjust position before showing - offset = $.datepicker._checkOffset(inst, offset, isFixed); - inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ? - 'static' : (isFixed ? 'fixed' : 'absolute')), display: 'none', - left: offset.left + 'px', top: offset.top + 'px'}); - if (!inst.inline) { - var showAnim = $.datepicker._get(inst, 'showAnim') || 'show'; - var duration = $.datepicker._get(inst, 'duration'); - var postProcess = function() { - $.datepicker._datepickerShowing = true; - if ($.browser.msie && parseInt($.browser.version,10) < 7) // fix IE < 7 select problems - $('iframe.ui-datepicker-cover').css({width: inst.dpDiv.width() + 4, - height: inst.dpDiv.height() + 4}); - }; - if ($.effects && $.effects[showAnim]) - inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess); - else - inst.dpDiv[showAnim](duration, postProcess); - if (duration == '') - postProcess(); - if (inst.input[0].type != 'hidden') - inst.input[0].focus(); - $.datepicker._curInst = inst; - } - }, - - /* Generate the date picker content. */ - _updateDatepicker: function(inst) { - var dims = {width: inst.dpDiv.width() + 4, - height: inst.dpDiv.height() + 4}; - var self = this; - inst.dpDiv.empty().append(this._generateHTML(inst)) - .find('iframe.ui-datepicker-cover'). - css({width: dims.width, height: dims.height}) - .end() - .find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a') - .bind('mouseout', function(){ - $(this).removeClass('ui-state-hover'); - if(this.className.indexOf('ui-datepicker-prev') != -1) $(this).removeClass('ui-datepicker-prev-hover'); - if(this.className.indexOf('ui-datepicker-next') != -1) $(this).removeClass('ui-datepicker-next-hover'); - }) - .bind('mouseover', function(){ - if (!self._isDisabledDatepicker( inst.inline ? inst.dpDiv.parent()[0] : inst.input[0])) { - $(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover'); - $(this).addClass('ui-state-hover'); - if(this.className.indexOf('ui-datepicker-prev') != -1) $(this).addClass('ui-datepicker-prev-hover'); - if(this.className.indexOf('ui-datepicker-next') != -1) $(this).addClass('ui-datepicker-next-hover'); - } - }) - .end() - .find('.' + this._dayOverClass + ' a') - .trigger('mouseover') - .end(); - var numMonths = this._getNumberOfMonths(inst); - var cols = numMonths[1]; - var width = 17; - if (cols > 1) { - inst.dpDiv.addClass('ui-datepicker-multi-' + cols).css('width', (width * cols) + 'em'); - } else { - inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width(''); - } - inst.dpDiv[(numMonths[0] != 1 || numMonths[1] != 1 ? 'add' : 'remove') + - 'Class']('ui-datepicker-multi'); - inst.dpDiv[(this._get(inst, 'isRTL') ? 'add' : 'remove') + - 'Class']('ui-datepicker-rtl'); - if (inst.input && inst.input[0].type != 'hidden' && inst == $.datepicker._curInst) - $(inst.input[0]).focus(); - }, - - /* Check positioning to remain on screen. */ - _checkOffset: function(inst, offset, isFixed) { - var dpWidth = inst.dpDiv.outerWidth(); - var dpHeight = inst.dpDiv.outerHeight(); - var inputWidth = inst.input ? inst.input.outerWidth() : 0; - var inputHeight = inst.input ? inst.input.outerHeight() : 0; - var viewWidth = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) + $(document).scrollLeft(); - var viewHeight = (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight) + $(document).scrollTop(); - - offset.left -= (this._get(inst, 'isRTL') ? (dpWidth - inputWidth) : 0); - offset.left -= (isFixed && offset.left == inst.input.offset().left) ? $(document).scrollLeft() : 0; - offset.top -= (isFixed && offset.top == (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0; - - // now check if datepicker is showing outside window viewport - move to a better place if so. - offset.left -= (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ? Math.abs(offset.left + dpWidth - viewWidth) : 0; - offset.top -= (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ? Math.abs(offset.top + dpHeight + inputHeight*2 - viewHeight) : 0; - - return offset; - }, - - /* Find an object's position on the screen. */ - _findPos: function(obj) { - while (obj && (obj.type == 'hidden' || obj.nodeType != 1)) { - obj = obj.nextSibling; - } - var position = $(obj).offset(); - return [position.left, position.top]; - }, - - /* Hide the date picker from view. - @param input element - the input field attached to the date picker - @param duration string - the duration over which to close the date picker */ - _hideDatepicker: function(input, duration) { - var inst = this._curInst; - if (!inst || (input && inst != $.data(input, PROP_NAME))) - return; - if (inst.stayOpen) - this._selectDate('#' + inst.id, this._formatDate(inst, - inst.currentDay, inst.currentMonth, inst.currentYear)); - inst.stayOpen = false; - if (this._datepickerShowing) { - duration = (duration != null ? duration : this._get(inst, 'duration')); - var showAnim = this._get(inst, 'showAnim'); - var postProcess = function() { - $.datepicker._tidyDialog(inst); - }; - if (duration != '' && $.effects && $.effects[showAnim]) - inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), - duration, postProcess); - else - inst.dpDiv[(duration == '' ? 'hide' : (showAnim == 'slideDown' ? 'slideUp' : - (showAnim == 'fadeIn' ? 'fadeOut' : 'hide')))](duration, postProcess); - if (duration == '') - this._tidyDialog(inst); - var onClose = this._get(inst, 'onClose'); - if (onClose) - onClose.apply((inst.input ? inst.input[0] : null), - [(inst.input ? inst.input.val() : ''), inst]); // trigger custom callback - this._datepickerShowing = false; - this._lastInput = null; - if (this._inDialog) { - this._dialogInput.css({ position: 'absolute', left: '0', top: '-100px' }); - if ($.blockUI) { - $.unblockUI(); - $('body').append(this.dpDiv); - } - } - this._inDialog = false; - } - this._curInst = null; - }, - - /* Tidy up after a dialog display. */ - _tidyDialog: function(inst) { - inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar'); - }, - - /* Close date picker if clicked elsewhere. */ - _checkExternalClick: function(event) { - if (!$.datepicker._curInst) - return; - var $target = $(event.target); - if (($target.parents('#' + $.datepicker._mainDivId).length == 0) && - !$target.hasClass($.datepicker.markerClassName) && - !$target.hasClass($.datepicker._triggerClass) && - $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI)) - $.datepicker._hideDatepicker(null, ''); - }, - - /* Adjust one of the date sub-fields. */ - _adjustDate: function(id, offset, period) { - var target = $(id); - var inst = this._getInst(target[0]); - if (this._isDisabledDatepicker(target[0])) { - return; - } - this._adjustInstDate(inst, offset + - (period == 'M' ? this._get(inst, 'showCurrentAtPos') : 0), // undo positioning - period); - this._updateDatepicker(inst); - }, - - /* Action for current link. */ - _gotoToday: function(id) { - var target = $(id); - var inst = this._getInst(target[0]); - if (this._get(inst, 'gotoCurrent') && inst.currentDay) { - inst.selectedDay = inst.currentDay; - inst.drawMonth = inst.selectedMonth = inst.currentMonth; - inst.drawYear = inst.selectedYear = inst.currentYear; - } - else { - var date = new Date(); - inst.selectedDay = date.getDate(); - inst.drawMonth = inst.selectedMonth = date.getMonth(); - inst.drawYear = inst.selectedYear = date.getFullYear(); - } - this._notifyChange(inst); - this._adjustDate(target); - }, - - /* Action for selecting a new month/year. */ - _selectMonthYear: function(id, select, period) { - var target = $(id); - var inst = this._getInst(target[0]); - inst._selectingMonthYear = false; - inst['selected' + (period == 'M' ? 'Month' : 'Year')] = - inst['draw' + (period == 'M' ? 'Month' : 'Year')] = - parseInt(select.options[select.selectedIndex].value,10); - this._notifyChange(inst); - this._adjustDate(target); - }, - - /* Restore input focus after not changing month/year. */ - _clickMonthYear: function(id) { - var target = $(id); - var inst = this._getInst(target[0]); - if (inst.input && inst._selectingMonthYear && !$.browser.msie) - inst.input[0].focus(); - inst._selectingMonthYear = !inst._selectingMonthYear; - }, - - /* Action for selecting a day. */ - _selectDay: function(id, month, year, td) { - var target = $(id); - if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) { - return; - } - var inst = this._getInst(target[0]); - inst.selectedDay = inst.currentDay = $('a', td).html(); - inst.selectedMonth = inst.currentMonth = month; - inst.selectedYear = inst.currentYear = year; - if (inst.stayOpen) { - inst.endDay = inst.endMonth = inst.endYear = null; - } - this._selectDate(id, this._formatDate(inst, - inst.currentDay, inst.currentMonth, inst.currentYear)); - if (inst.stayOpen) { - inst.rangeStart = this._daylightSavingAdjust( - new Date(inst.currentYear, inst.currentMonth, inst.currentDay)); - this._updateDatepicker(inst); - } - }, - - /* Erase the input field and hide the date picker. */ - _clearDate: function(id) { - var target = $(id); - var inst = this._getInst(target[0]); - inst.stayOpen = false; - inst.endDay = inst.endMonth = inst.endYear = inst.rangeStart = null; - this._selectDate(target, ''); - }, - - /* Update the input field with the selected date. */ - _selectDate: function(id, dateStr) { - var target = $(id); - var inst = this._getInst(target[0]); - dateStr = (dateStr != null ? dateStr : this._formatDate(inst)); - if (inst.input) - inst.input.val(dateStr); - this._updateAlternate(inst); - var onSelect = this._get(inst, 'onSelect'); - if (onSelect) - onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback - else if (inst.input) - inst.input.trigger('change'); // fire the change event - if (inst.inline) - this._updateDatepicker(inst); - else if (!inst.stayOpen) { - this._hideDatepicker(null, this._get(inst, 'duration')); - this._lastInput = inst.input[0]; - if (typeof(inst.input[0]) != 'object') - inst.input[0].focus(); // restore focus - this._lastInput = null; - } - }, - - /* Update any alternate field to synchronise with the main field. */ - _updateAlternate: function(inst) { - var altField = this._get(inst, 'altField'); - if (altField) { // update alternate field too - var altFormat = this._get(inst, 'altFormat') || this._get(inst, 'dateFormat'); - var date = this._getDate(inst); - dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst)); - $(altField).each(function() { $(this).val(dateStr); }); - } - }, - - /* Set as beforeShowDay function to prevent selection of weekends. - @param date Date - the date to customise - @return [boolean, string] - is this date selectable?, what is its CSS class? */ - noWeekends: function(date) { - var day = date.getDay(); - return [(day > 0 && day < 6), '']; - }, - - /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition. - @param date Date - the date to get the week for - @return number - the number of the week within the year that contains this date */ - iso8601Week: function(date) { - var checkDate = new Date(date.getFullYear(), date.getMonth(), date.getDate()); - var firstMon = new Date(checkDate.getFullYear(), 1 - 1, 4); // First week always contains 4 Jan - var firstDay = firstMon.getDay() || 7; // Day of week: Mon = 1, ..., Sun = 7 - firstMon.setDate(firstMon.getDate() + 1 - firstDay); // Preceding Monday - if (firstDay < 4 && checkDate < firstMon) { // Adjust first three days in year if necessary - checkDate.setDate(checkDate.getDate() - 3); // Generate for previous year - return $.datepicker.iso8601Week(checkDate); - } else if (checkDate > new Date(checkDate.getFullYear(), 12 - 1, 28)) { // Check last three days in year - firstDay = new Date(checkDate.getFullYear() + 1, 1 - 1, 4).getDay() || 7; - if (firstDay > 4 && (checkDate.getDay() || 7) < firstDay - 3) { // Adjust if necessary - return 1; - } - } - return Math.floor(((checkDate - firstMon) / 86400000) / 7) + 1; // Weeks to given date - }, - - /* Parse a string value into a date object. - See formatDate below for the possible formats. - - @param format string - the expected format of the date - @param value string - the date in the above format - @param settings Object - attributes include: - shortYearCutoff number - the cutoff year for determining the century (optional) - dayNamesShort string[7] - abbreviated names of the days from Sunday (optional) - dayNames string[7] - names of the days from Sunday (optional) - monthNamesShort string[12] - abbreviated names of the months (optional) - monthNames string[12] - names of the months (optional) - @return Date - the extracted date value or null if value is blank */ - parseDate: function (format, value, settings) { - if (format == null || value == null) - throw 'Invalid arguments'; - value = (typeof value == 'object' ? value.toString() : value + ''); - if (value == '') - return null; - var shortYearCutoff = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff; - var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort; - var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames; - var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort; - var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames; - var year = -1; - var month = -1; - var day = -1; - var doy = -1; - var literal = false; - // Check whether a format character is doubled - var lookAhead = function(match) { - var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match); - if (matches) - iFormat++; - return matches; - }; - // Extract a number from the string value - var getNumber = function(match) { - lookAhead(match); - var origSize = (match == '@' ? 14 : (match == 'y' ? 4 : (match == 'o' ? 3 : 2))); - var size = origSize; - var num = 0; - while (size > 0 && iValue < value.length && - value.charAt(iValue) >= '0' && value.charAt(iValue) <= '9') { - num = num * 10 + parseInt(value.charAt(iValue++),10); - size--; - } - if (size == origSize) - throw 'Missing number at position ' + iValue; - return num; - }; - // Extract a name from the string value and convert to an index - var getName = function(match, shortNames, longNames) { - var names = (lookAhead(match) ? longNames : shortNames); - var size = 0; - for (var j = 0; j < names.length; j++) - size = Math.max(size, names[j].length); - var name = ''; - var iInit = iValue; - while (size > 0 && iValue < value.length) { - name += value.charAt(iValue++); - for (var i = 0; i < names.length; i++) - if (name == names[i]) - return i + 1; - size--; - } - throw 'Unknown name at position ' + iInit; - }; - // Confirm that a literal character matches the string value - var checkLiteral = function() { - if (value.charAt(iValue) != format.charAt(iFormat)) - throw 'Unexpected literal at position ' + iValue; - iValue++; - }; - var iValue = 0; - for (var iFormat = 0; iFormat < format.length; iFormat++) { - if (literal) - if (format.charAt(iFormat) == "'" && !lookAhead("'")) - literal = false; - else - checkLiteral(); - else - switch (format.charAt(iFormat)) { - case 'd': - day = getNumber('d'); - break; - case 'D': - getName('D', dayNamesShort, dayNames); - break; - case 'o': - doy = getNumber('o'); - break; - case 'm': - month = getNumber('m'); - break; - case 'M': - month = getName('M', monthNamesShort, monthNames); - break; - case 'y': - year = getNumber('y'); - break; - case '@': - var date = new Date(getNumber('@')); - year = date.getFullYear(); - month = date.getMonth() + 1; - day = date.getDate(); - break; - case "'": - if (lookAhead("'")) - checkLiteral(); - else - literal = true; - break; - default: - checkLiteral(); - } - } - if (year == -1) - year = new Date().getFullYear(); - else if (year < 100) - year += new Date().getFullYear() - new Date().getFullYear() % 100 + - (year <= shortYearCutoff ? 0 : -100); - if (doy > -1) { - month = 1; - day = doy; - do { - var dim = this._getDaysInMonth(year, month - 1); - if (day <= dim) - break; - month++; - day -= dim; - } while (true); - } - var date = this._daylightSavingAdjust(new Date(year, month - 1, day)); - if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day) - throw 'Invalid date'; // E.g. 31/02/* - return date; - }, - - /* Standard date formats. */ - ATOM: 'yy-mm-dd', // RFC 3339 (ISO 8601) - COOKIE: 'D, dd M yy', - ISO_8601: 'yy-mm-dd', - RFC_822: 'D, d M y', - RFC_850: 'DD, dd-M-y', - RFC_1036: 'D, d M y', - RFC_1123: 'D, d M yy', - RFC_2822: 'D, d M yy', - RSS: 'D, d M y', // RFC 822 - TIMESTAMP: '@', - W3C: 'yy-mm-dd', // ISO 8601 - - /* Format a date object into a string value. - The format can be combinations of the following: - d - day of month (no leading zero) - dd - day of month (two digit) - o - day of year (no leading zeros) - oo - day of year (three digit) - D - day name short - DD - day name long - m - month of year (no leading zero) - mm - month of year (two digit) - M - month name short - MM - month name long - y - year (two digit) - yy - year (four digit) - @ - Unix timestamp (ms since 01/01/1970) - '...' - literal text - '' - single quote - - @param format string - the desired format of the date - @param date Date - the date value to format - @param settings Object - attributes include: - dayNamesShort string[7] - abbreviated names of the days from Sunday (optional) - dayNames string[7] - names of the days from Sunday (optional) - monthNamesShort string[12] - abbreviated names of the months (optional) - monthNames string[12] - names of the months (optional) - @return string - the date in the above format */ - formatDate: function (format, date, settings) { - if (!date) - return ''; - var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort; - var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames; - var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort; - var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames; - // Check whether a format character is doubled - var lookAhead = function(match) { - var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match); - if (matches) - iFormat++; - return matches; - }; - // Format a number, with leading zero if necessary - var formatNumber = function(match, value, len) { - var num = '' + value; - if (lookAhead(match)) - while (num.length < len) - num = '0' + num; - return num; - }; - // Format a name, short or long as requested - var formatName = function(match, value, shortNames, longNames) { - return (lookAhead(match) ? longNames[value] : shortNames[value]); - }; - var output = ''; - var literal = false; - if (date) - for (var iFormat = 0; iFormat < format.length; iFormat++) { - if (literal) - if (format.charAt(iFormat) == "'" && !lookAhead("'")) - literal = false; - else - output += format.charAt(iFormat); - else - switch (format.charAt(iFormat)) { - case 'd': - output += formatNumber('d', date.getDate(), 2); - break; - case 'D': - output += formatName('D', date.getDay(), dayNamesShort, dayNames); - break; - case 'o': - var doy = date.getDate(); - for (var m = date.getMonth() - 1; m >= 0; m--) - doy += this._getDaysInMonth(date.getFullYear(), m); - output += formatNumber('o', doy, 3); - break; - case 'm': - output += formatNumber('m', date.getMonth() + 1, 2); - break; - case 'M': - output += formatName('M', date.getMonth(), monthNamesShort, monthNames); - break; - case 'y': - output += (lookAhead('y') ? date.getFullYear() : - (date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100); - break; - case '@': - output += date.getTime(); - break; - case "'": - if (lookAhead("'")) - output += "'"; - else - literal = true; - break; - default: - output += format.charAt(iFormat); - } - } - return output; - }, - - /* Extract all possible characters from the date format. */ - _possibleChars: function (format) { - var chars = ''; - var literal = false; - for (var iFormat = 0; iFormat < format.length; iFormat++) - if (literal) - if (format.charAt(iFormat) == "'" && !lookAhead("'")) - literal = false; - else - chars += format.charAt(iFormat); - else - switch (format.charAt(iFormat)) { - case 'd': case 'm': case 'y': case '@': - chars += '0123456789'; - break; - case 'D': case 'M': - return null; // Accept anything - case "'": - if (lookAhead("'")) - chars += "'"; - else - literal = true; - break; - default: - chars += format.charAt(iFormat); - } - return chars; - }, - - /* Get a setting value, defaulting if necessary. */ - _get: function(inst, name) { - return inst.settings[name] !== undefined ? - inst.settings[name] : this._defaults[name]; - }, - - /* Parse existing date and initialise date picker. */ - _setDateFromField: function(inst) { - var dateFormat = this._get(inst, 'dateFormat'); - var dates = inst.input ? inst.input.val() : null; - inst.endDay = inst.endMonth = inst.endYear = null; - var date = defaultDate = this._getDefaultDate(inst); - var settings = this._getFormatConfig(inst); - try { - date = this.parseDate(dateFormat, dates, settings) || defaultDate; - } catch (event) { - this.log(event); - date = defaultDate; - } - inst.selectedDay = date.getDate(); - inst.drawMonth = inst.selectedMonth = date.getMonth(); - inst.drawYear = inst.selectedYear = date.getFullYear(); - inst.currentDay = (dates ? date.getDate() : 0); - inst.currentMonth = (dates ? date.getMonth() : 0); - inst.currentYear = (dates ? date.getFullYear() : 0); - this._adjustInstDate(inst); - }, - - /* Retrieve the default date shown on opening. */ - _getDefaultDate: function(inst) { - var date = this._determineDate(this._get(inst, 'defaultDate'), new Date()); - var minDate = this._getMinMaxDate(inst, 'min', true); - var maxDate = this._getMinMaxDate(inst, 'max'); - date = (minDate && date < minDate ? minDate : date); - date = (maxDate && date > maxDate ? maxDate : date); - return date; - }, - - /* A date may be specified as an exact value or a relative one. */ - _determineDate: function(date, defaultDate) { - var offsetNumeric = function(offset) { - var date = new Date(); - date.setDate(date.getDate() + offset); - return date; - }; - var offsetString = function(offset, getDaysInMonth) { - var date = new Date(); - var year = date.getFullYear(); - var month = date.getMonth(); - var day = date.getDate(); - var pattern = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g; - var matches = pattern.exec(offset); - while (matches) { - switch (matches[2] || 'd') { - case 'd' : case 'D' : - day += parseInt(matches[1],10); break; - case 'w' : case 'W' : - day += parseInt(matches[1],10) * 7; break; - case 'm' : case 'M' : - month += parseInt(matches[1],10); - day = Math.min(day, getDaysInMonth(year, month)); - break; - case 'y': case 'Y' : - year += parseInt(matches[1],10); - day = Math.min(day, getDaysInMonth(year, month)); - break; - } - matches = pattern.exec(offset); - } - return new Date(year, month, day); - }; - date = (date == null ? defaultDate : - (typeof date == 'string' ? offsetString(date, this._getDaysInMonth) : - (typeof date == 'number' ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : date))); - date = (date && date.toString() == 'Invalid Date' ? defaultDate : date); - if (date) { - date.setHours(0); - date.setMinutes(0); - date.setSeconds(0); - date.setMilliseconds(0); - } - return this._daylightSavingAdjust(date); - }, - - /* Handle switch to/from daylight saving. - Hours may be non-zero on daylight saving cut-over: - > 12 when midnight changeover, but then cannot generate - midnight datetime, so jump to 1AM, otherwise reset. - @param date (Date) the date to check - @return (Date) the corrected date */ - _daylightSavingAdjust: function(date) { - if (!date) return null; - date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0); - return date; - }, - - /* Set the date(s) directly. */ - _setDate: function(inst, date, endDate) { - var clear = !(date); - var origMonth = inst.selectedMonth; - var origYear = inst.selectedYear; - date = this._determineDate(date, new Date()); - inst.selectedDay = inst.currentDay = date.getDate(); - inst.drawMonth = inst.selectedMonth = inst.currentMonth = date.getMonth(); - inst.drawYear = inst.selectedYear = inst.currentYear = date.getFullYear(); - if (origMonth != inst.selectedMonth || origYear != inst.selectedYear) - this._notifyChange(inst); - this._adjustInstDate(inst); - if (inst.input) { - inst.input.val(clear ? '' : this._formatDate(inst)); - } - }, - - /* Retrieve the date(s) directly. */ - _getDate: function(inst) { - var startDate = (!inst.currentYear || (inst.input && inst.input.val() == '') ? null : - this._daylightSavingAdjust(new Date( - inst.currentYear, inst.currentMonth, inst.currentDay))); - return startDate; - }, - - /* Generate the HTML for the current state of the date picker. */ - _generateHTML: function(inst) { - var today = new Date(); - today = this._daylightSavingAdjust( - new Date(today.getFullYear(), today.getMonth(), today.getDate())); // clear time - var isRTL = this._get(inst, 'isRTL'); - var showButtonPanel = this._get(inst, 'showButtonPanel'); - var hideIfNoPrevNext = this._get(inst, 'hideIfNoPrevNext'); - var navigationAsDateFormat = this._get(inst, 'navigationAsDateFormat'); - var numMonths = this._getNumberOfMonths(inst); - var showCurrentAtPos = this._get(inst, 'showCurrentAtPos'); - var stepMonths = this._get(inst, 'stepMonths'); - var stepBigMonths = this._get(inst, 'stepBigMonths'); - var isMultiMonth = (numMonths[0] != 1 || numMonths[1] != 1); - var currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) : - new Date(inst.currentYear, inst.currentMonth, inst.currentDay))); - var minDate = this._getMinMaxDate(inst, 'min', true); - var maxDate = this._getMinMaxDate(inst, 'max'); - var drawMonth = inst.drawMonth - showCurrentAtPos; - var drawYear = inst.drawYear; - if (drawMonth < 0) { - drawMonth += 12; - drawYear--; - } - if (maxDate) { - var maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(), - maxDate.getMonth() - numMonths[1] + 1, maxDate.getDate())); - maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw); - while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) { - drawMonth--; - if (drawMonth < 0) { - drawMonth = 11; - drawYear--; - } - } - } - inst.drawMonth = drawMonth; - inst.drawYear = drawYear; - var prevText = this._get(inst, 'prevText'); - prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText, - this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)), - this._getFormatConfig(inst))); - var prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ? - '' + prevText + '' : - (hideIfNoPrevNext ? '' : '' + prevText + '')); - var nextText = this._get(inst, 'nextText'); - nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText, - this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)), - this._getFormatConfig(inst))); - var next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ? - '' + nextText + '' : - (hideIfNoPrevNext ? '' : '' + nextText + '')); - var currentText = this._get(inst, 'currentText'); - var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today); - currentText = (!navigationAsDateFormat ? currentText : - this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); - var controls = (!inst.inline ? '' : ''); - var buttonPanel = (showButtonPanel) ? '
' + (isRTL ? controls : '') + - (this._isInRange(inst, gotoDate) ? '' : '') + (isRTL ? '' : controls) + '
' : ''; - var firstDay = parseInt(this._get(inst, 'firstDay'),10); - firstDay = (isNaN(firstDay) ? 0 : firstDay); - var dayNames = this._get(inst, 'dayNames'); - var dayNamesShort = this._get(inst, 'dayNamesShort'); - var dayNamesMin = this._get(inst, 'dayNamesMin'); - var monthNames = this._get(inst, 'monthNames'); - var monthNamesShort = this._get(inst, 'monthNamesShort'); - var beforeShowDay = this._get(inst, 'beforeShowDay'); - var showOtherMonths = this._get(inst, 'showOtherMonths'); - var calculateWeek = this._get(inst, 'calculateWeek') || this.iso8601Week; - var endDate = inst.endDay ? this._daylightSavingAdjust( - new Date(inst.endYear, inst.endMonth, inst.endDay)) : currentDate; - var defaultDate = this._getDefaultDate(inst); - var html = ''; - for (var row = 0; row < numMonths[0]; row++) { - var group = ''; - for (var col = 0; col < numMonths[1]; col++) { - var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay)); - var cornerClass = ' ui-corner-all'; - var calender = ''; - if (isMultiMonth) { - calender += '
'; - } - calender += '
' + - (/all|left/.test(cornerClass) && row == 0 ? (isRTL ? next : prev) : '') + - (/all|right/.test(cornerClass) && row == 0 ? (isRTL ? prev : next) : '') + - this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, - selectedDate, row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers - '
' + - ''; - var thead = ''; - for (var dow = 0; dow < 7; dow++) { // days of the week - var day = (dow + firstDay) % 7; - thead += '= 5 ? ' class="ui-datepicker-week-end"' : '') + '>' + - '' + dayNamesMin[day] + ''; - } - calender += thead + ''; - var daysInMonth = this._getDaysInMonth(drawYear, drawMonth); - if (drawYear == inst.selectedYear && drawMonth == inst.selectedMonth) - inst.selectedDay = Math.min(inst.selectedDay, daysInMonth); - var leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7; - var numRows = (isMultiMonth ? 6 : Math.ceil((leadDays + daysInMonth) / 7)); // calculate the number of rows to generate - var printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays)); - for (var dRow = 0; dRow < numRows; dRow++) { // create date picker rows - calender += ''; - var tbody = ''; - for (var dow = 0; dow < 7; dow++) { // create date picker days - var daySettings = (beforeShowDay ? - beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, '']); - var otherMonth = (printDate.getMonth() != drawMonth); - var unselectable = otherMonth || !daySettings[0] || - (minDate && printDate < minDate) || (maxDate && printDate > maxDate); - tbody += ''; // display for this month - printDate.setDate(printDate.getDate() + 1); - printDate = this._daylightSavingAdjust(printDate); - } - calender += tbody + ''; - } - drawMonth++; - if (drawMonth > 11) { - drawMonth = 0; - drawYear++; - } - calender += '
' + // actions - (otherMonth ? (showOtherMonths ? printDate.getDate() : ' ') : // display for other months - (unselectable ? '' + printDate.getDate() + '' : '' + printDate.getDate() + '')) + '
' + (isMultiMonth ? '
' + - ((numMonths[0] > 0 && col == numMonths[1]-1) ? '
' : '') : ''); - group += calender; - } - html += group; - } - html += buttonPanel + ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ? - '' : ''); - inst._keyEvent = false; - return html; - }, - - /* Generate the month and year header. */ - _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, - selectedDate, secondary, monthNames, monthNamesShort) { - minDate = (inst.rangeStart && minDate && selectedDate < minDate ? selectedDate : minDate); - var changeMonth = this._get(inst, 'changeMonth'); - var changeYear = this._get(inst, 'changeYear'); - var showMonthAfterYear = this._get(inst, 'showMonthAfterYear'); - var html = '
'; - var monthHtml = ''; - // month selection - if (secondary || !changeMonth) - monthHtml += '' + monthNames[drawMonth] + ' '; - else { - var inMinYear = (minDate && minDate.getFullYear() == drawYear); - var inMaxYear = (maxDate && maxDate.getFullYear() == drawYear); - monthHtml += ''; - } - if (!showMonthAfterYear) - html += monthHtml + ((secondary || changeMonth || changeYear) && (!(changeMonth && changeYear)) ? ' ' : ''); - // year selection - if (secondary || !changeYear) - html += '' + drawYear + ''; - else { - // determine range of years to display - var years = this._get(inst, 'yearRange').split(':'); - var year = 0; - var endYear = 0; - if (years.length != 2) { - year = drawYear - 10; - endYear = drawYear + 10; - } else if (years[0].charAt(0) == '+' || years[0].charAt(0) == '-') { - year = drawYear + parseInt(years[0], 10); - endYear = drawYear + parseInt(years[1], 10); - } else { - year = parseInt(years[0], 10); - endYear = parseInt(years[1], 10); - } - year = (minDate ? Math.max(year, minDate.getFullYear()) : year); - endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear); - html += ''; - } - if (showMonthAfterYear) - html += (secondary || changeMonth || changeYear ? ' ' : '') + monthHtml; - html += '
'; // Close datepicker_header - return html; - }, - - /* Adjust one of the date sub-fields. */ - _adjustInstDate: function(inst, offset, period) { - var year = inst.drawYear + (period == 'Y' ? offset : 0); - var month = inst.drawMonth + (period == 'M' ? offset : 0); - var day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + - (period == 'D' ? offset : 0); - var date = this._daylightSavingAdjust(new Date(year, month, day)); - // ensure it is within the bounds set - var minDate = this._getMinMaxDate(inst, 'min', true); - var maxDate = this._getMinMaxDate(inst, 'max'); - date = (minDate && date < minDate ? minDate : date); - date = (maxDate && date > maxDate ? maxDate : date); - inst.selectedDay = date.getDate(); - inst.drawMonth = inst.selectedMonth = date.getMonth(); - inst.drawYear = inst.selectedYear = date.getFullYear(); - if (period == 'M' || period == 'Y') - this._notifyChange(inst); - }, - - /* Notify change of month/year. */ - _notifyChange: function(inst) { - var onChange = this._get(inst, 'onChangeMonthYear'); - if (onChange) - onChange.apply((inst.input ? inst.input[0] : null), - [inst.selectedYear, inst.selectedMonth + 1, inst]); - }, - - /* Determine the number of months to show. */ - _getNumberOfMonths: function(inst) { - var numMonths = this._get(inst, 'numberOfMonths'); - return (numMonths == null ? [1, 1] : (typeof numMonths == 'number' ? [1, numMonths] : numMonths)); - }, - - /* Determine the current maximum date - ensure no time components are set - may be overridden for a range. */ - _getMinMaxDate: function(inst, minMax, checkRange) { - var date = this._determineDate(this._get(inst, minMax + 'Date'), null); - return (!checkRange || !inst.rangeStart ? date : - (!date || inst.rangeStart > date ? inst.rangeStart : date)); - }, - - /* Find the number of days in a given month. */ - _getDaysInMonth: function(year, month) { - return 32 - new Date(year, month, 32).getDate(); - }, - - /* Find the day of the week of the first of a month. */ - _getFirstDayOfMonth: function(year, month) { - return new Date(year, month, 1).getDay(); - }, - - /* Determines if we should allow a "next/prev" month display change. */ - _canAdjustMonth: function(inst, offset, curYear, curMonth) { - var numMonths = this._getNumberOfMonths(inst); - var date = this._daylightSavingAdjust(new Date( - curYear, curMonth + (offset < 0 ? offset : numMonths[1]), 1)); - if (offset < 0) - date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth())); - return this._isInRange(inst, date); - }, - - /* Is the given date in the accepted range? */ - _isInRange: function(inst, date) { - // during range selection, use minimum of selected date and range start - var newMinDate = (!inst.rangeStart ? null : this._daylightSavingAdjust( - new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay))); - newMinDate = (newMinDate && inst.rangeStart < newMinDate ? inst.rangeStart : newMinDate); - var minDate = newMinDate || this._getMinMaxDate(inst, 'min'); - var maxDate = this._getMinMaxDate(inst, 'max'); - return ((!minDate || date >= minDate) && (!maxDate || date <= maxDate)); - }, - - /* Provide the configuration settings for formatting/parsing. */ - _getFormatConfig: function(inst) { - var shortYearCutoff = this._get(inst, 'shortYearCutoff'); - shortYearCutoff = (typeof shortYearCutoff != 'string' ? shortYearCutoff : - new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10)); - return {shortYearCutoff: shortYearCutoff, - dayNamesShort: this._get(inst, 'dayNamesShort'), dayNames: this._get(inst, 'dayNames'), - monthNamesShort: this._get(inst, 'monthNamesShort'), monthNames: this._get(inst, 'monthNames')}; - }, - - /* Format the given date for display. */ - _formatDate: function(inst, day, month, year) { - if (!day) { - inst.currentDay = inst.selectedDay; - inst.currentMonth = inst.selectedMonth; - inst.currentYear = inst.selectedYear; - } - var date = (day ? (typeof day == 'object' ? day : - this._daylightSavingAdjust(new Date(year, month, day))) : - this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay))); - return this.formatDate(this._get(inst, 'dateFormat'), date, this._getFormatConfig(inst)); - } -}); - -/* jQuery extend now ignores nulls! */ -function extendRemove(target, props) { - $.extend(target, props); - for (var name in props) - if (props[name] == null || props[name] == undefined) - target[name] = props[name]; - return target; -}; - -/* Determine whether an object is an array. */ -function isArray(a) { - return (a && (($.browser.safari && typeof a == 'object' && a.length) || - (a.constructor && a.constructor.toString().match(/\Array\(\)/)))); -}; - -/* Invoke the datepicker functionality. - @param options string - a command, optionally followed by additional parameters or - Object - settings for attaching new datepicker functionality - @return jQuery object */ -$.fn.datepicker = function(options){ - - /* Initialise the date picker. */ - if (!$.datepicker.initialized) { - $(document).mousedown($.datepicker._checkExternalClick). - find('body').append($.datepicker.dpDiv); - $.datepicker.initialized = true; - } - - var otherArgs = Array.prototype.slice.call(arguments, 1); - if (typeof options == 'string' && (options == 'isDisabled' || options == 'getDate')) - return $.datepicker['_' + options + 'Datepicker']. - apply($.datepicker, [this[0]].concat(otherArgs)); - if (options == 'option' && arguments.length == 2 && typeof arguments[1] == 'string') - return $.datepicker['_' + options + 'Datepicker']. - apply($.datepicker, [this[0]].concat(otherArgs)); - return this.each(function() { - typeof options == 'string' ? - $.datepicker['_' + options + 'Datepicker']. - apply($.datepicker, [this].concat(otherArgs)) : - $.datepicker._attachDatepicker(this, options); - }); -}; - -$.datepicker = new Datepicker(); // singleton instance -$.datepicker.initialized = false; -$.datepicker.uuid = new Date().getTime(); -$.datepicker.version = "1.7.2"; - -// Workaround for #4055 -// Add another global to avoid noConflict issues with inline event handlers -window.DP_jQuery = $; - -})(jQuery); diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.min.js b/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.min.js deleted file mode 100644 index 8427ef7..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/ui.datepicker.min.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - * jQuery UI Datepicker 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Datepicker - * - * Depends: - * ui.core.js - */ -(function($){$.extend($.ui,{datepicker:{version:"1.7.2"}});var PROP_NAME="datepicker";function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],dateFormat:"mm/dd/yy",firstDay:0,isRTL:false};this._defaults={showOn:"focus",showAnim:"show",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,showMonthAfterYear:false,yearRange:"-10:+10",showOtherMonths:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"normal",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false};$.extend(this._defaults,this.regional[""]);this.dpDiv=$('
')}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",log:function(){if(this.debug){console.log.apply("",arguments)}},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=="div"||nodeName=="span");if(!target.id){target.id="dp"+(++this.uuid)}var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=="input"){this._connectDatepicker(target,inst)}else{if(inline){this._inlineDatepicker(target,inst)}}},_newInst:function(target,inline){var id=target[0].id.replace(/([:\[\]\.])/g,"\\\\$1");return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:$('
'))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName)){return}var appendText=this._get(inst,"appendText");var isRTL=this._get(inst,"isRTL");if(appendText){inst.append=$(''+appendText+"");input[isRTL?"before":"after"](inst.append)}var showOn=this._get(inst,"showOn");if(showOn=="focus"||showOn=="both"){input.focus(this._showDatepicker)}if(showOn=="button"||showOn=="both"){var buttonText=this._get(inst,"buttonText");var buttonImage=this._get(inst,"buttonImage");inst.trigger=$(this._get(inst,"buttonImageOnly")?$("").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('').addClass(this._triggerClass).html(buttonImage==""?buttonText:$("").attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?"before":"after"](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==target){$.datepicker._hideDatepicker()}else{$.datepicker._showDatepicker(target)}return false})}input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst)},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName)){return}divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst));this._updateDatepicker(inst);this._updateAlternate(inst)},_dialogDatepicker:function(input,dateText,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){var id="dp"+(++this.uuid);this._dialogInput=$('');this._dialogInput.keydown(this._doKeyDown);$("body").append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});this._dialogInput.val(dateText);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;var browserHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css("left",this._pos[0]+"px").css("top",this._pos[1]+"px");inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI){$.blockUI(this.dpDiv)}$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=="input"){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress)}else{if(nodeName=="div"||nodeName=="span"){$target.removeClass(this.markerClassName).empty()}}},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=false;inst.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().removeClass("ui-state-disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)})},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=true;inst.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().addClass("ui-state-disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i-1)}},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!="input"){input=$("input",input.parentNode)[0]}if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input){return}var inst=$.datepicker._getInst(input);var beforeShow=$.datepicker._get(inst,"beforeShow");extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));$.datepicker._hideDatepicker(null,"");$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog){input.value=""}if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css("position")=="fixed";return !isFixed});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop}var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.rangeStart=null;inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});if(!inst.inline){var showAnim=$.datepicker._get(inst,"showAnim")||"show";var duration=$.datepicker._get(inst,"duration");var postProcess=function(){$.datepicker._datepickerShowing=true;if($.browser.msie&&parseInt($.browser.version,10)<7){$("iframe.ui-datepicker-cover").css({width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4})}};if($.effects&&$.effects[showAnim]){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[showAnim](duration,postProcess)}if(duration==""){postProcess()}if(inst.input[0].type!="hidden"){inst.input[0].focus()}$.datepicker._curInst=inst}},_updateDatepicker:function(inst){var dims={width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4};var self=this;inst.dpDiv.empty().append(this._generateHTML(inst)).find("iframe.ui-datepicker-cover").css({width:dims.width,height:dims.height}).end().find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){$(this).removeClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!=-1){$(this).removeClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!=-1){$(this).removeClass("ui-datepicker-next-hover")}}).bind("mouseover",function(){if(!self._isDisabledDatepicker(inst.inline?inst.dpDiv.parent()[0]:inst.input[0])){$(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");$(this).addClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!=-1){$(this).addClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!=-1){$(this).addClass("ui-datepicker-next-hover")}}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;if(cols>1){inst.dpDiv.addClass("ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")}else{inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("")}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(inst.input&&inst.input[0].type!="hidden"&&inst==$.datepicker._curInst){$(inst.input[0]).focus()}},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)+$(document).scrollLeft();var viewHeight=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)+$(document).scrollTop();offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0;offset.top-=(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(offset.top+dpHeight+inputHeight*2-viewHeight):0;return offset},_findPos:function(obj){while(obj&&(obj.type=="hidden"||obj.nodeType!=1)){obj=obj.nextSibling}var position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input,duration){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME))){return}if(inst.stayOpen){this._selectDate("#"+inst.id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))}inst.stayOpen=false;if(this._datepickerShowing){duration=(duration!=null?duration:this._get(inst,"duration"));var showAnim=this._get(inst,"showAnim");var postProcess=function(){$.datepicker._tidyDialog(inst)};if(duration!=""&&$.effects&&$.effects[showAnim]){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[(duration==""?"hide":(showAnim=="slideDown"?"slideUp":(showAnim=="fadeIn"?"fadeOut":"hide")))](duration,postProcess)}if(duration==""){this._tidyDialog(inst)}var onClose=this._get(inst,"onClose");if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])}this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if($.blockUI){$.unblockUI();$("body").append(this.dpDiv)}}this._inDialog=false}this._curInst=null},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(event){if(!$.datepicker._curInst){return}var $target=$(event.target);if(($target.parents("#"+$.datepicker._mainDivId).length==0)&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)){$.datepicker._hideDatepicker(null,"")}},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period=="M"?this._get(inst,"showCurrentAtPos"):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst["selected"+(period=="M"?"Month":"Year")]=inst["draw"+(period=="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear&&!$.browser.msie){inst.input[0].focus()}inst._selectingMonthYear=!inst._selectingMonthYear},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$("a",td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;if(inst.stayOpen){inst.endDay=inst.endMonth=inst.endYear=null}this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));if(inst.stayOpen){inst.rangeStart=this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay));this._updateDatepicker(inst)}},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);inst.stayOpen=false;inst.endDay=inst.endMonth=inst.endYear=inst.rangeStart=null;this._selectDate(target,"")},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input){inst.input.val(dateStr)}this._updateAlternate(inst);var onSelect=this._get(inst,"onSelect");if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else{if(inst.input){inst.input.trigger("change")}}if(inst.inline){this._updateDatepicker(inst)}else{if(!inst.stayOpen){this._hideDatepicker(null,this._get(inst,"duration"));this._lastInput=inst.input[0];if(typeof(inst.input[0])!="object"){inst.input[0].focus()}this._lastInput=null}}},_updateAlternate:function(inst){var altField=this._get(inst,"altField");if(altField){var altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");var date=this._getDate(inst);dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),""]},iso8601Week:function(date){var checkDate=new Date(date.getFullYear(),date.getMonth(),date.getDate());var firstMon=new Date(checkDate.getFullYear(),1-1,4);var firstDay=firstMon.getDay()||7;firstMon.setDate(firstMon.getDate()+1-firstDay);if(firstDay<4&&checkDatenew Date(checkDate.getFullYear(),12-1,28)){firstDay=new Date(checkDate.getFullYear()+1,1-1,4).getDay()||7;if(firstDay>4&&(checkDate.getDay()||7)0&&iValue="0"&&value.charAt(iValue)<="9"){num=num*10+parseInt(value.charAt(iValue++),10);size--}if(size==origSize){throw"Missing number at position "+iValue}return num};var getName=function(match,shortNames,longNames){var names=(lookAhead(match)?longNames:shortNames);var size=0;for(var j=0;j0&&iValue-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim){break}month++;day-=dim}while(true)}var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day){throw"Invalid date"}return date},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TIMESTAMP:"@",W3C:"yy-mm-dd",formatDate:function(format,date,settings){if(!date){return""}var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1=0;m--){doy+=this._getDaysInMonth(date.getFullYear(),m)}output+=formatNumber("o",doy,3);break;case"m":output+=formatNumber("m",date.getMonth()+1,2);break;case"M":output+=formatName("M",date.getMonth(),monthNamesShort,monthNames);break;case"y":output+=(lookAhead("y")?date.getFullYear():(date.getYear()%100<10?"0":"")+date.getYear()%100);break;case"@":output+=date.getTime();break;case"'":if(lookAhead("'")){output+="'"}else{literal=true}break;default:output+=format.charAt(iFormat)}}}}return output},_possibleChars:function(format){var chars="";var literal=false;for(var iFormat=0;iFormatmaxDate?maxDate:date);return date},_determineDate:function(date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date};var offsetString=function(offset,getDaysInMonth){var date=new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||"d"){case"d":case"D":day+=parseInt(matches[1],10);break;case"w":case"W":day+=parseInt(matches[1],10)*7;break;case"m":case"M":month+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;case"y":case"Y":year+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day)};date=(date==null?defaultDate:(typeof date=="string"?offsetString(date,this._getDaysInMonth):(typeof date=="number"?(isNaN(date)?defaultDate:offsetNumeric(date)):date)));date=(date&&date.toString()=="Invalid Date"?defaultDate:date);if(date){date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}return this._daylightSavingAdjust(date)},_daylightSavingAdjust:function(date){if(!date){return null}date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,endDate){var clear=!(date);var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;date=this._determineDate(date,new Date());inst.selectedDay=inst.currentDay=date.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=date.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=date.getFullYear();if(origMonth!=inst.selectedMonth||origYear!=inst.selectedYear){this._notifyChange(inst)}this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?"":this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,"isRTL");var showButtonPanel=this._get(inst,"showButtonPanel");var hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext");var navigationAsDateFormat=this._get(inst,"navigationAsDateFormat");var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,"showCurrentAtPos");var stepMonths=this._get(inst,"stepMonths");var stepBigMonths=this._get(inst,"stepBigMonths");var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,"min",true);var maxDate=this._getMinMaxDate(inst,"max");var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-numMonths[1]+1,maxDate.getDate()));maxDraw=(minDate&&maxDrawmaxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,"prevText");prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?''+prevText+"":(hideIfNoPrevNext?"":''+prevText+""));var nextText=this._get(inst,"nextText");nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?''+nextText+"":(hideIfNoPrevNext?"":''+nextText+""));var currentText=this._get(inst,"currentText");var gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'":"");var buttonPanel=(showButtonPanel)?'
'+(isRTL?controls:"")+(this._isInRange(inst,gotoDate)?'":"")+(isRTL?"":controls)+"
":"";var firstDay=parseInt(this._get(inst,"firstDay"),10);firstDay=(isNaN(firstDay)?0:firstDay);var dayNames=this._get(inst,"dayNames");var dayNamesShort=this._get(inst,"dayNamesShort");var dayNamesMin=this._get(inst,"dayNamesMin");var monthNames=this._get(inst,"monthNames");var monthNamesShort=this._get(inst,"monthNamesShort");var beforeShowDay=this._get(inst,"beforeShowDay");var showOtherMonths=this._get(inst,"showOtherMonths");var calculateWeek=this._get(inst,"calculateWeek")||this.iso8601Week;var endDate=inst.endDay?this._daylightSavingAdjust(new Date(inst.endYear,inst.endMonth,inst.endDay)):currentDate;var defaultDate=this._getDefaultDate(inst);var html="";for(var row=0;row'+(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):"")+(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):"")+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,row>0||col>0,monthNames,monthNamesShort)+'';var thead="";for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+="=5?' class="ui-datepicker-week-end"':"")+'>'+dayNamesMin[day]+""}calender+=thead+"";var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)}var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var numRows=(isMultiMonth?6:Math.ceil((leadDays+daysInMonth)/7));var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow";var tbody="";for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,""]);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=otherMonth||!daySettings[0]||(minDate&&printDatemaxDate);tbody+='";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+""}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+="
=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?" "+this._currentClass:"")+(printDate.getTime()==today.getTime()?" ui-datepicker-today":""))+'"'+((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':"")+(unselectable?"":" onclick=\"DP_jQuery.datepicker._selectDay('#"+inst.id+"',"+drawMonth+","+drawYear+', this);return false;"')+">"+(otherMonth?(showOtherMonths?printDate.getDate():" "):(unselectable?''+printDate.getDate()+"":'=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?" ui-state-active":"")+'" href="#">'+printDate.getDate()+""))+"
"+(isMultiMonth?""+((numMonths[0]>0&&col==numMonths[1]-1)?'
':""):"");group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'':"");inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,secondary,monthNames,monthNamesShort){minDate=(inst.rangeStart&&minDate&&selectedDate "}else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='"}if(!showMonthAfterYear){html+=monthHtml+((secondary||changeMonth||changeYear)&&(!(changeMonth&&changeYear))?" ":"")}if(secondary||!changeYear){html+=''+drawYear+""}else{var years=this._get(inst,"yearRange").split(":");var year=0;var endYear=0;if(years.length!=2){year=drawYear-10;endYear=drawYear+10}else{if(years[0].charAt(0)=="+"||years[0].charAt(0)=="-"){year=drawYear+parseInt(years[0],10);endYear=drawYear+parseInt(years[1],10)}else{year=parseInt(years[0],10);endYear=parseInt(years[1],10)}}year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);html+='"}if(showMonthAfterYear){html+=(secondary||changeMonth||changeYear?" ":"")+monthHtml}html+="";return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=="Y"?offset:0);var month=inst.drawMonth+(period=="M"?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=="D"?offset:0);var date=this._daylightSavingAdjust(new Date(year,month,day));var minDate=this._getMinMaxDate(inst,"min",true);var maxDate=this._getMinMaxDate(inst,"max");date=(minDate&&datemaxDate?maxDate:date);inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=="M"||period=="Y"){this._notifyChange(inst)}},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths=="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax,checkRange){var date=this._determineDate(this._get(inst,minMax+"Date"),null);return(!checkRange||!inst.rangeStart?date:(!date||inst.rangeStart>date?inst.rangeStart:date))},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))}return this._isInRange(inst,date)},_isInRange:function(inst,date){var newMinDate=(!inst.rangeStart?null:this._daylightSavingAdjust(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)));newMinDate=(newMinDate&&inst.rangeStart=minDate)&&(!maxDate||date<=maxDate))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null||props[name]==undefined){target[name]=props[name]}}return target}function isArray(a){return(a&&(($.browser.safari&&typeof a=="object"&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))}$.fn.datepicker=function(options){if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=="string"&&(options=="isDisabled"||options=="getDate")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}if(options=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}return this.each(function(){typeof options=="string"?$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.7.2";window.DP_jQuery=$})(jQuery); \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg-fill.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg-fill.png deleted file mode 100644 index ec503ce588b66f85975bbffad24e18a9f87c2d2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 177 zcmeAS@N?(olHy`uVBq!ia0y~y;9mq}Gjgy2$#YGObAc2~x}&cn1H<|g=B!;Wfqcml z*NBqf{Irtt#G+IN$CUh}R0Yr6#Prml)Wnp^!jq{sKt;};E{-7;x859NWNa|tVA!Cn zc_K+RIr6y9k{uF9at)2OmDatpGyWU_REiA#oV)jX?W**&cm55G3mdKI;Vst0Jm~BiU0rr diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bg.png deleted file mode 100644 index bcaed31b1fc34c375020fb84ba5a9943d19aca9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1814 zcmZvdYgAHM6vuDli*!tzHI+GHY17KdC5@@$BZWZAS3VL=(wy-bk^-gXBSg(~ti+tg zah0ZGHf5L&Q6eofX=;V}eqtqp5~EUyrh*6t&Gnm5`@_BGto7UboPGBB?{g_Q(A(J1 z+z2x6x}pB}I)((wBy6&)kWetID+;kXY-Qv?fmK;sH|r2)Lm{uP(mWl_ z?c$1|ZJQLS{Z(ZPzmHU2nUe};&R>(O`s7nEL1S)}Y1|22aChr%i;TW>#wR2xfVn@+ zzX8=Sr6>>kW<3A^ZJQVI)1~Ngw8xRN2ySL}No3z|KV7s$+1weeXt-5hKf{WOikip2 zzAxmrwzeL^T~R&k9!!Hd#C>v-C!* z>^Lq@2INNigVc$9^}7X8hw~hdMGRwL8d<+;dgrmiX`z*HvQqlwd67wOnI#(|PM2QO zAM}KDqgRuoqoesX9;9QDdoBg#UGxRTEGKn)qFU;-vI~fr-FJM2(|N zb!7<)=iN%72U?CopqgZ@aw<8i?|MBWRjn8=5nC1PrkzD(ew-A6heb@#WC1QcbZ-D1 z!+3koaZ`sGb^4*={8EXIjt(>+AV5}rTB}w7*ACm0I@-o!IZsg3ud;t3?K%g!Y1Qjt zvIG93O&&)i})HlDqq5{r!m7 z&A8zQ*$1?jXYRrF1y#9ReJ=idS9frNNF?qvtkcn4a^y~xYmh|c9-c4mj);iZYV=hA zf4s&PDdoH<-u7zaSAiz`e!UNxk%8#;t`c$C?GW6_cSE=H*Yv#JoNTat=o>w$yDzHa zV`JYUl13YG_bt~G0FXCU<}gF^=v;%IS0BjmgF>P67!ytCpro^6X(Z<*2*J;&l(Idb zjCx14(hMf0OuI8Lxfhv<>P%6dl_U;_1IHyM+F&+oN4s8GxtGOck}Ej>nu$hcOT<|a zt8vTi+ZCs0`l|0WZq(#!(&%^@*!92BUmDgmnjs}OdN@HVVzCXVCJ5>KP!HY_U zSQ!i>c9@y1B(5$?Y#YDT!p}vuWiB9z#Q9e^i%a%_;eEMVy{H}#A%8@jIo(qsi)=~8 zwP;-wP+PM1TyK(m4jLe$#!?Wyx$@$j%GnqQ+gI{XtyWK*&B&mCsYrWw_iPrOKF@Ph z@8+z~w@t7eFTz)?3t~@EEnQRMMRWYe;m%G@+~ZpEf6Dvt<{{PrJkG}?sd$h$B-&=r z8R~A2{26rLU!WX;`!URF~F>YJd(zJZEDN-JIGZ@m;)a2i&rTocWdpKO(47O9S;iy)@q9AGz zx$2{CY8bbqkbtDlm*mO8f{{Mjgt&9Kw diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/blockquote.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/blockquote.png deleted file mode 100644 index 537864a9b4a92842e5b96436fc7da2cefde92e50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 284 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=;^K@|xskoK&=l_3uX4Qty#-N77 ztc(t88l1bCIhwyTeqAJ)z;Hx-fy7;g8F!dt*i;&1SdMTP?0CVvNoE%#R{$&jh77R- zYVCOkm{zdEQJ7 dGX{kN3{z+HzSZ8d`UlYE44$rjF6*2UngFraV@m)4 diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bold.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/bold.png deleted file mode 100644 index eac276334888bf44aaa1ad1643c02ce1f7026a7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i7lTJ!83<( xodLtoV&-X2y5D?f4S0Xxt07-S9t(#7L&Mx_uJg`imjE5d;OXk;vd$@?2>^G^RM`Lk diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/code.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/code.png deleted file mode 100644 index dc1011ce3571be1e214ad043cee13a5b28ad5f18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=0c)B=-RNOiebdifekt6%xfBS0A z$`eAGyB6Dqyb3CG3cby#BE>Kz_nV>rs`IjC3dd%AS2K9zb^6TYGL9bt$=Pv7Yd30r z{;-m(TzE~!yidn?d_I4PJ^E&v?AiL62e+_KeJ1(-pPUU74}*$n+IQB=xdlKw89ZJ6 KT-G@yGywn{QBDc~ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/h1.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/h1.png deleted file mode 100644 index 96baecbb181808e6195df19b34d30fdbe449005c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>Bdb&7@t(=e&25sC@QQxHqYPcijS=Dp xa*lmqx*KEgA<>UkLoomV diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/hr.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/hr.png deleted file mode 100644 index 08be8e56985b766a47b538a0b41994adac7e17ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 218 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>hc)B=-RNPAX^Z&m+vuXqDv4oTq zm0Kzcmi8E!3HN+_aE#Y&0*j%GFc8K++i}uAG%XUSs34d-z{Y@>7}%M3fG+LZu=Y`q*co^T7AjFtQAOL-vC}$S zQ_{lXf_l>BEZN^Lcb^m1ZnsacMRn)l&IKdvw58XNL;yp>R~uB zm4YvvVv|_Z_iDI0+ZBNnH(tImj0^^&7^T2-0%9|VEazDNRC4-dlDFyicgScV+{DkV429kB;W9Z zQSWQZ9tJL#x;@*3KQNv7DSe{%82beYfdkK3W7sqlj@mL?COXXd{ITL8(-l^>mY9Y- q2ZpFmu?)SubJz^{D)Lx33>YTKt~+03|34n+C(RCwAn zQ|nJ#br^ns=lpsuJ*PKHOR1HO$t}VdxC}Chc$qSs1l?kEny8Ce7892lFCX@S_`xsk zi!m|&154aAUSiCM*@sP$ESrUN(XHz^g`Qn>*={#Bzuzg+w(qopZCdwBExS2 zNg$|{B`{QHOUtl+KF}wQ_;X$1iYnQf(v(cERR2h>Eq&{EF`K;G4W?Gt6Hu2ow~azBTYYzQ0LI71 zuk1)_qiyZkAlrt`UQ^wUhUvXJMuIbdV%v`i2KG-0| zf?TWR#ga+TEWe)F!rAq;%M8l`CMd2knijLgN~XejTGjThuhnXD(l?t)IOf+EMXh1t zNzU!lvNK0>ZmPY~*-o1zMF$)dcGW*A;+#;`?<9(_x;=S>*tCPOPv=(bfDT0i-L^*@k?PF~hdjOkF1}3)_k;qmA^( zeNt_XOK%`Zu57{5?E-`kHNofwH>}P~Hx{Jy?~ZV)fWiY~kC7e2|9Dz^6|uCF)@;tw zr7}f3KN~u6(Thmh4|+WSyPg`$Q_vLTVLefRYhT7>xnvwC-7Q_BR^EOPinM%qw6~3S zk+zsC><|Q=4fGE-V4iFMN~gg|I04BR3J+`0-WjfYr>Lb{xfe;#6a8Ro^72kPx#ah_ zPM&`LNZa^eOJpW_6_bPxSnzexf z7Z)x^mlK*IRj9SCC>>kaP}Y|7#nsqWIXa&b6hWg|%;3pi=9NlCIl{Y{d9>TcT_A*D z*Qh88Agd<$UCoS13c^Cf)FaT7m*5dXY^~(SN002ovPDHLkV1f+J{~G`R diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ol.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ol.png deleted file mode 100644 index 3df2b9b50741b0f3832b63dc6f917f07644af1c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i=0db&7{-gIytMHI6SqrIEW;;mnc1rE z|MZ_xXM22w$4FYfZKX6@qer3F5lQYNY)Wn77ba_+WfoL8!0BZ1843z_q*Tu=3Kn@PC=mxMq zoWjJ9APAHB+Ums`G|yF`*Y}|FYYdz=AR;jMPdf%61;0jqoxm&q1fZ#~!fjK&OqKfV zhv^$c)~4Kjm^YZ4qEOe-0U$WbJ^DSqrtxOs$|JIE4+H=1#r&Fo*(()#A}<9H5HJ;psHz_ZN|9K0q;&l4CZWRNfkXD`%YwYhRCO=dXiJAg?7lCx!{iwYBYr1blMBz{Z55^&)Q zAt8v8O~>&cJ0sVV#o*9pk2Yi{&A|_<_(ULgv6#%kzjzCo!=HuN1iy3=<$t z;1KXQz=`X7aDdEt9>!6@9RGfqj+i>U07@+^`Xj&qbt>Z5V;@h400000NkvXXu0mjf Dm)R>H diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/separator.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/separator.png deleted file mode 100644 index 9cb87b9a86bc39a2a468839fafdf0b8bc997740f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl5eA+`K$W+Bi%22WQ%mvv4F FO#lb2PM!b& diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ul.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/ul.png deleted file mode 100644 index 978be7e755ee39077e8499f07c9370dc4cd47484..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(?lOI#yL zg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i>VdAc};RNPAX^Z&m+vuZFKHX%l5@eIgUAji-YmlMF$z)BM${T7#P_Y_?UEMS%Ut8 P+{57M>gTe~DWM4f1j;k$ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/undo.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/undo.png deleted file mode 100644 index 533faaf606929565258d939068f288ca80e008ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 651 zcmV;60(AX}P)ls4xaNX$Y2D{E(Jf4 zjdWd-K^iM@x8;38-&Ka}+3VG9Sb6gv^jOnBejgDNp2RnqbJt1XTNG5Vi`O1NKu(G$ zM-Mf37us=Torm=gJJ5Z%4T7>;zgGbo}S zwW}Cpz8#AjRP~-GL84{@L=uB3&4$tCNzx(TM}Z7%FwzI|tN^18G?bv6zHNQbheLaz z34{bbTYF+`-4lUzJH*~zKGlGjnW~4bYAYUMg9E!w16J9}Et|0hsbq@~IOct4)yXI42sKy?j;KB0-Gj)`DA!H59`X`41@P6j}&MRvCE6Y zl=}_{`PD`Ia{OkKq*UlV_{yFo>kEdsHAncn1V~(@nhX!o2#Rjex&P<4FdOH2aJX68 l{eOE*HUIC^{;<9XFaYm(@c91MlRW?c002ovPDHLkV1k!B7<~W$ diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-buttons.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-buttons.png deleted file mode 100644 index 50b37090363e6757e7bd0ba75cd1e0dfaabd13d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7465 zcmV+^9oFKBP)VIL00004XF*Lt006JZ zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBV3yGcYrRCwC# zT?up>)w$MaMjA<$EnD)w#7^SaWVI8Ugg7A!A!H#7G%1A^NCF%(21JT*lhDl(kkK4(Z`rct`RAXvTCFyl z4Sud$x9-(fUrkL-6$+D}Oi@u079o%bhs4)iQ&V%>ZMUJa3l=PZp8}cp9zI)V>&%&W zwr3x`?U_Scc5Ewl-E!Bs$IHf&zj|=h8H0Dv;ge!2-MMpTTU%RXO9W~UeZWZXL4t__ zj~|}S|V zCUaYtrM9WZ>Gs9Za?pwm8#W{-C$CwvX7%dTkg|2_RschcFlqhz^`Q3)7cLB5|Cuvq zK&|z9J)90@5K}z>0ATmgM<11yl?fxk&}Tl=&MsY8a_4V%(_Y1#2`ijF^U{KcRmzNJ zLx)mM+`Dw@bW!rfZ7Z(8gCbJ~Rs7sKK7?(8;#Lwe9T&YxiYGSxMH$AKxrw=Ds+8tgfT$vV&#V zrB%iEu9`lmy1*yE7RT|Q|NQ3$g8|eMegYVtc;bmL=OB&LgQY?MDTZfP#tv z&-?q1O`M!lm{dAGvy#I+zrSz$rn|rJ6S|Wf-3FWgVlQPenW`$v{{Gov0S`ER`gCX~ z)CfopdI`7?NCc}8c16S1^AHeRDkzXmCX+>tQi9ffD28^pjPwvaL(H;0CTj1|X0+dH zqBehc;_siH-BZ(W_}@*J+Im0SU%&BB)qG_?tZvwOpyBgF=TFzRHnsL{-g$EUv;S&t zH=(1S9d5qV8H2(hjR&&`JRztI5HCT>pb2zjXeBaeiG)_9=*_M?R&uJ{w(jP44_?^% z(3X`m#;z^NzuTbiVQEsKVw9wbAr#F9E1w4htQHm)hMIr4NB|);J7#EytX)`u6hGR!n^?H>Y zzklsaNZk5K?fajcdiwtP3VFCT!qLBdQrmE$^GD04B`1-8`}ma6<#oI1bn+z0uX|Gbg9y z-BAAGS^c3)CcVYk+RXe)qtf{=%uQ7mY18F)kDqe6)hcD=bppi0{7=+GF%Mq&XE+$V zwB7Axd2XP~%V@lT02kxuuh*VKj}*sM$YplQv+LjmhUG4`o0>0ntzA6zg(sG4k`-{Y z`eb`or;%f$w2fuCi~7DCt?JoFm%z^rYiGUi`koy%jTxD#e|+yNi^JX1V@Xa@#I)u? zWkB{(qtQe)l!S2TfAHYJU|}E+;*kLAC?>z%O*i#ANL*s}^^$h8Ry8d{KCiy}&GD-~ z(&@6B>JRPuEuNuyq&&Ak674~vU<@D*06>H%ED_oe6Oi%gRZ7<9ZdGrRJSpm7Iqgo# z$dgF!<2XF3b&rn(4-rVho`DZ4p_Pi+k30jzvOuDG%$DvxhsQzv{^=EWt*i(hEzC*gpB>ldyf^g%{p_`)z0;0&rO3u!BJ&y^P_V7@iWHQLs)- zita5IRlR~rb1eyUe4Zgxzs2lFtygcbIw?2pqm?qk<)K55nk=rxb4vNjE}J{y+=cGY z6q1zFKE`TsNIA~y9|T7NgD!vsiSP(CXfpr+lnD_Iz(yqJ7z$wksVGcq>%Q#s)0ETY zcKdBs+kw+RzSwc(i~WWJpVaRDOLNZTareKL{dM0<7xYb$#UT=ltQRggG*N)}qt0J} z&Q<|a>T%&t2jQadsDDle?s7_lqYa~kKw~20YJ^E}S`y<_7@MXfk`%-r{(5lBhsUpw zD=*FX{XbbZkFV^bcg>dKxa*rv)%QL-yXpV-`<#@9l%^<&44qmky3Hu&7vR9L2{b?g z^{WCN09!Gc1CUz1UO#{Sd@;=X?qyZ~IPt+{hb~#_b2wQSWp{H;%bqI6NgeI>bF4(E zmS<(E=l;yN>~~e~J@)Yp*HwiDa^U#FxITC@}P@eH*uiNw>uVqj9tZ(%#yJtbvDmL=E^U%cni-&(@BGGH%AY*07^=nqX4&-;Z3 z76t%Gf=$i8K36kF$-^1Ev^zV%88DV*Mh}4=N^jCoMxdc+l5&8`BI*oY!Dy!LUo%tq z%=g`1xud$l>+_RxVthgT({n&8fKLi=NFtK^Mjf+|^bcb5S=q42Ok|9NWXar0AMJnt z$hj5s=g*mt_Uj#V`)Nm}Moas^0JC6U({#GJk4&fb8Q%Nv?O|o1J!p&>4Y4850NcpK zVb`iVX5S|!C(Y22);;ba!6hf6UnC-*l3$y<@JFn<>WFMy8G!rOogE2%a@N$ zESNY-T8Jj#eZ@MKUAxIK$x+Nqb z2{0riAqg-fBq32{w7diDba`5O+pSzL>mX^?uOKuja`l8U*(xPD+HRTG>m5{nk|Yy) zHsW&e;>GUnz#OOC+}wS)7VC}l4H9Rq+DWC8L6%;qBL7R?P6DVj#gEa zn|bxBe)G*YAAIn^;67}FKf{iOfNoNO1+Zn(8y{EQ@Dr#?XwnKs|{d z6gD?SNTn0jf^a&n%Knd`Rnnw?HJ&9U5= z?34+G>4U24XtkT6^TH^BB`zRM&IVYhNGA=7!*WA%FwRjAl2Lz>uib9nh zE*KJvii)n%3(%7Oxq6s{cg{10U75`xjhMBHtUGLxQVzx9Udza2D0R6!wAtp$&kBU; zZZEAjSo_Q_i_Piv`r$s>DYq1p%$O7%53OAm$Ztk-F$ny;$Jf>8n0{T3Mje>y*U@7G zcaf4L6tyCa2eYW@7nBI`5~Rcc!*KCGgg=4k2npr$t2l{~@|EP>WUw}U*|;Y?d7MT) z!3AJ|7=&O6+yge&?(*?@z@tZxf;S6QdbmzN0$gWIBp_>t;-a7*2%`{DX@ev%0}u20 zrK|+wi2Ccb zSr3NI$jXOB)Um+;iUke1OS$mB_x>DQYb2D_K?S{*j- zgq%=t)@(VhCY894VQIf#7BTk$JRr0%%>N*&B*uw_J$T`t5iMtZ3CFaX&-T zHKtHba11oX=cNG$;F>v!STr;? zHVPmi1{jL^1>!A00^k9nbNI=3qBsZxNV=N5U~#KtN{-{C5N7**-KHZ9*5mXfNjRt9 z$Eng&^2@NEGpDUoUaDFX+2BHXTbcp zkaZss0zFck0SnA@;6T+dB48lu8oQ+!Rx&owT%9LP1tb-z7Iq z$^q>Xj-h>i&RS5Wk>Vs9`0#;*kV%zFS@tx~r)PF9nzAG-H9M^D3q^sU{RUxRh~!CO zdLMOQA@b-zzaVjWoRr5dC*(Ygf)2haG7b7 zwp3jz#&T94i(^U|3!xwx=vl=ioR_00Mx#si7D&E0Rdd%(cZL?PsHgz!1&Iyv01(cF zCQg|$MZB(vv7M-2RhyKdlB)@6^c%>qer13&M0o{l1PSy|Ji`!2pu` zu`y;Clon;Qc3FUR;8IMu7d1xLB}IXi6yT6VB=?Q%u|YdQhAJ$`REvp`kmP4)Ff7~B zV;Pg1ldU07wz8Dbr<9ZZ--ZHB!bk;aZu1zs+&9e#|2!?U2SPw-GhAe8X({pyu#HR{ zb{UsdDkfXxpxX$JK##UD4J+jVs~`3AVW9#UAe+tM(Q1@&*9DbOwYR5b=<3dAuzhy?%z#o6mXu6d9<9gMbpk5KXGGtHW~Z z%oSBskb4O2;01Q1nJ$AcY_&ZB* zh-F!y&sSMlnb5`Wge2a9PDnzoNa9Vmge2sO5N{r&6L%pY2}yW{gd`-yGmMgUSj?t# z`aKTKF@-^E_c}>wi4rR)E1Q*?I_lPe_BjW)4zxTeu@3aeOKr{jEwu+=XMEYhya_YX z^GZf37#hyjTID;k?ya62SO?nk%{tKcZryi4kL${&&ANJ3KeRyp=NeydAGX1tVMjyd zzMC_ZGK^+~&Md+z~m(qyth&nGbT=(oQ7 zz@*7j3aS?MTsDGQ9^3PdF1u*u`e%i}0P3EeUHHlqi-XtSak2JK&#VD>!0Av1G1Y_e zDb=Y^YyS9YPrbHZAg9e{PE$#jR$W;KdUo*&x6iyd|6#d2qp`a~)xQq(bASGjqKeh( z6uy%{Be(qKe%N_r)4#$J-IR6xf4wE}fCV&O_^8NrpxIdKK=V~0M)~3^8y}E_Z`5GV zMj6}frmmj8z&g-MO~#@{LQS%EH<>PXbzOFNyi9K4xGB@h236OtEx(4X-6Ng1_9=6p z0omy4f4;tG?PFoifr!-O(4Syy7k&Tn5B~TwR9?Ju09_1#XIYH=b?3fbyL@J*JZpSL z<@v4?8}Hd}p(K~Bm%h?>Gc?Vzp7a!E!OZfSua3@}yOhrZ0#L#6t^dVapXr7}SI)oFlsMZ~}NGXS6aj#`$GL*W!Zpz%(n=>ZxekSd4I(nO1^@j7! z-DY^$fjiYF<*;en{(rhI$a?6?9#WWQnYDl zLbDT)#)DY|o)Dx85HGnYTMRHnic%fVVjpL|{74`^2@1`)T@3eit8LA^zaMGZ_Sics zrxdKs&-zhM|2oh~YFDz-NG2&=9vhzr{NRnJAc_lBdKYB{B&gJym`Fg@4#h=5KM+PC z_-I4i>p%}B!Wm+86f^F>N&u7MvflP4hG9T!?LCcX9cUcGXH`|O414-)-PzM;Zd@=o z@{{H)!<;%@*Knb8>eR_fC3*Vf8CU;0(7Sf*T)Ao)u(m@rU#?v9ec{?ytbaDYxD3pC zFl+{am?bQtjtvG-EN}>DA6$g^>u)-92y_&+KnM&RcD~zfcbb#bc_kAza$Sec8})6b zRwMZ9w?(0dF;5K4e=wqfI3i%*lQdC-XCW}W@{^mJY7Yeqm(N`#oW_80>Ys*HsV1)J1L}+tNK*lBUuLF%R5FdvgB9MeV10PgED;2XJ-EHGFg;~+~6x1hD*=B(j5ojx%GRi3XAJcoH&lwfhJ{AR`fd1 zVA+8>BOa?#4{{x7a0LYu%Br`&0h$eg#~qKoB9b#e$PU}`xvOL5q=8v5mJeV z@%eoci>ck|e~0Z~2U@GLYtoPCJAax>yhJJ%MHcUDISX4vX}}?@`^9ExAp&q%;;@5Z zDCp-jI1Wgaf#xvruRu$V?b#-Pgcx7|vkHF@ZvjIEJV0~~KUE?q#5aUtUd){NshZ>F%PF!< z#_yMtDvq(%H9yYDkMx-GIJV1W_2*WMyX9$o-wVI#>ANXAV?tz~Z)is_)C+nK7mPrH zM1c1T4=h9;9qxFbhuzLZL(GiC<9 z?&t@h{Z&in@)f;d_RNoW>;e?Y z*aR8?u=N`P4%k|>_VJkAx}cyXW%I?gcx>=FA?@_ceV!IKFSA!{k7X;LSq85XqCo3@k(*9q1S0Uk7>w3G_&D1_*)f zduZLaOn_xw&MP0hXliWE%g;;G@^%NMrll5+Ej-_Fep>l7N#H%^+-27yG3 zl$OsE?$L=21~+930Y>b|=gi@NTM$DSK$11uCDSYZ-F9)>X>`ysDbG64%dxk% zZFupq3!%kVu7A#C&g58|%BRhgTsJ9e?I>oWhv5B?4n>-MCl-SD=LVfBG@Y;O+=~`v1383h+U5jd!<+?f&z;T z3mpL|3W^9wmA(tR=bN0}rKq>%{od#KuIvA2^|YKMzhp8q$;?T@glXpU5e@Nw47mJ* z5KRP$BYY1(8`}xfOiV>Ys0T55Izn{#M}>``!nzwt)$SYla8d5vbF@o$Zyfff-VMj^ zbeI35zroGQ#?j7G(b~@5!DZ6W>PK-y6&-9R4PC5ds%q+HV7JD>c$2%`{7rKf*lcpN z(X}0_Ke^jK8}v3fyE)r=S}AUDc5?C1+c0UUm949_ogUodV3nbYR1{CgNkcWptBqG1 zr>3SpbaFREMa6&IZCC5fGc*#Ugr`YE*LZrm>8YrAdwY-f))?>VZm*)ItE;P`s;;80 zJ`Q4x^VsO(X|-XTi^nj2Cc=CS?L2JU9o#$}TwN4#zE;+*UY?VN4#hxiKYkHyZQ5|$ zyxg5A6k8h=J10A5I~Pw66)2=iTjr4VA6px})voT&R-Tis+}xZTY^*Sf%6b>u@l;jE zyRC8cboE%{>h_OHdsG4NKPtF19ZE-49q0O8`0q-+!OE?z*e)IdWE)p!6?g$fR_$D5 z2-Guhx3ltebzk7>>NI&OZWBdwVL=rQ=Bq0%c5tzE_4fD&=g=u~JI(%Sdu3;6RcWoUUzXsHQe`+5{s*H624kBP~^REkh%Us-4qyrU|?=aq;l9aB2lar2F5dkEg@xc2VxctN6{2%!)(x%-kJ-GL&dd zR{KZghp-M6r`|1@XXoMSaX{f@X2KNv? zK|@(xS6f*_RZUq#Z2}y+%3A7hXsAONBW^@+M#YKEHH(+#yW zw5ID!)tIKOuA!r&X{4qzT~|j(TNT)VqGG3#35xx{rn2ldIQ$DA;5R?=0S?tOci3R( zw8YQ>+}B;aY0^IGV~hl@4`=CWYpL5I94K<^(NO>I}^Z z_t2PdhUV9S#-q*=_QGse;YR>5bCq5&*~&yW_*R9avlO*Kt;i_cJ6IP*hv zsQU@{tPACYGZjZy3+{E)akvgJ8=Qe9HPv(>PkhE{btmAox)X35-3d63t}YcvSB<*I zx#?25>FQ!cT`EsqToQFvHEm^JTV-H%Wo>00d+d(jZ-zRDqs;U`jO*K&0P*c;0@DDYR2ySS^1 zTz^G@zlz+&U0vk*D+>Ho&BG+G0;IATgaaR|){)z&B6}gMMy2$lc6!@#iUEI}0 zuD_zdUq$ZXt}b%@6$Sn(au;`Xk?XH0@K=$$xT}j?e?@`6irmFrUF7;J3j9^%F7E0g z*I!ZKuOfGGR~NbdiUNNXxr@8H$n{qg_^ZfW+|@;{zoNijMegFRE^_@91^y~>7k71$ z>#r#ASCN0oUESK(QQEn{;z@5n$8VW%>Hf9gYh$?j(V1$&TyjfQ+1=BVXY{RGpalF)U9ppD4j~#K!qA3mDQ`^ zjT4+j1*!NUmxwcMA?omkhL*uu7)Of=8P^^{<=G6+2)Q9d{`AKv#jk(*iu}KMhq3v~ zUSYv2je3IBukhp3fx4waRjFGh4gdI*!ZpCP!s}{9sW{?P2woKnVe~2d13~um?GV7k zp;FrsLb8Gu8VvUczZX0Yz<2aUIN_Wy?Q!1lbMbO=f(u@)D{gJ&VK>Lh*>1t~B@5u0 zi54OcWQW}09?Ai0S6ys9%&gbiz>^^LJR46nc%pC?xVkAixw_cn$oMzgZnbB}=V_j< z&VpxHBaF~I`!$01uwEGQ_kcyLb{>nIW_!RBtrHHDdI!Nh;Si%9Obk2ZEoSfT>gCoc zNYvHc0ags#xp+B48mZ~?aqh6355nMC+RDq*b%vdbojWWbwS@q*V56IzAaXZ;WE_Iu zm^j-j!sS0*e+I1j6%f8d({v6o^{^K<4nK~lm6PWJEBj8dWNhr5oEF$^@HFu-USK-g z8dlok$l}7_PLUf~TAq?9bb^2WkoNGWD(x7y0f$rElR*4w#z{v`S$VQ}Z@ zlGgUrDxwa=?ZMA~+KjdrkOa+fb-}cj@N{)E^YZkt>&Q6WoPd#j2$iyS^#q3cAzTug zc+GdwDG3^lagY=oH2oUto-b=4F%WEwkJ%0`u5^$MXBSU*ymo2H(q)Qb$soNFAdA4~ zRyH1Prt^)kY#>Y#^#EO!WVyd?P25Q4n(GzLwpTeSUL{( zzHsm4?dgWYajAP*JK}pfmY81dP(ZlvhwttA_sUcp{{0kuZ|m#={7uJYcC&T1#rMzP ze(!oO%=e7haPPO?!Ok1*-@^THCog9QxW_uPm$RJ}$f5|Q*>F!gn>BE+3ind(3+5TX zJxH;*lzoSL>kjvxz<>}J8MwM_q?$x=w9ObrSaLT((b&%0$siE+3+ z%$h(bayLT#a@)g(Uj#Mmi%>*Lhx+uv{L*0`0S7yq@tB}(zu!h^i}~+29q`6uytajR ziiUg%R>WLw0}D&N+!a0W(o)57-!t+5IAMokbts4OJiFC)?sl*gTyYU_nS+ZxG`EYb z1GOcBgG;C7fgN)AA13RN1HR?+HQdNu<)L1d<5BmNUWiedh(zQh5o5&#ctdMzx7iYl z5SF~f3MG8LhkJNWojaZA0q{uoaG-hxWH4`mqK%jPdVUlUd|^TlFN=Di{%9~7hDM`t zNFC{*iD(L%j%Fe=v;ZwdE0GOagPfsn^+sFJ4&;Xppu^|{I)ehyRdfr5p!+BiJx1~9 z1$u*0Q6|bmg{T;nqZ-tRT41CgMw6z=(fZRAXd`H2Y3j5Iw8^yTwAr+Iw57CFG<%v0 z&5O2$wu^Rvc9eF8c8PY2c8?ZCi>JM!rO|R|A8BQ@S{jGWpi9wv(Ff5-(pBga=u_#l z=nLo;bbI9zl<%zoBQ+3+d(b1_okCGWsxvFvc+^Fbo)GjAe|~ z40pyh#(u_0#$`qbBbt%G$Y2yQDi~}LQ4u*2MUinL6GeGr%^ez!VFNy(v-x{`Ax9VE9)o|e2T`BL(uBwMPdl#-Nz)Cwst zsY6mXq*zipQgzbO(j%p(NH3H2ls+VVOZutw2kB-RIhpY?CNj1%J~C%zB4pBKs$?Z( zN61chTdm;$Mi1j!{{@zk4Yb=J^_91_sQzR={ubHC=L0GR_8K^Gpv}Pj1Md&a zm8Z)q$;|g&K zUln^RPE~YLJgxXlv1W+;5aS_ULoN+T9?~*&)X;@PcMc65`hHlqVH1X}9(H`#lVLT( z6^5G*-!lBp@Z1p+BPNVkGvd^Ugb__6M~z%Oa?i-fk)@;hjWQXvY1Exj`J<&r>yKVH z`tsQ2-3(S5AT*3;JW)Vr@&J#pMb$BDNmmi{y9AG?39{!=t*=p?I2mnIcXR-C+Q z^2N!8`a|@s^e^jwnlfyP?Ud_NN~VsPx^`;N)T(K!)7+jE@*+n+!6sF}Y<@GgD{g)|t;{NzIx+ z>&&cAvz2DM&yF^wo6a;nW|}`|#2lA7k!Hxu#O#>ad-GA|>&zd`6`gB7_w3v+^VH^T znU^qMZocLG+w&V2Oj{7JAaCL5gK< z@$jTt9jJ+4ardi@YCf=&`|NL*hoIjr%s1Y%33XY9V?C*$Ytm%V4=p1{2#dmZ*B@6*^v?BngX-T(T4>VcC7S`XSBeC@C1f7+is zwE9qTfOf!z!=i^>4rd+FKXUVEkE5H879BG^7I9qh`2OSdCoE6AI;nXw@Km=`UZ)CA z&p!Q-7)~4}TF>jSPIxX!)da-;C(yqnK%>D;MJG zgCB;B3%L~9C-lHwbl2i`W=Z6S*d`@Zr*j zX;CwyoE+{Bdat5hPk0^qM*B@fqE=#fl2%f9vUYMricZSIRNd6* zw13iK)AiHiGYm6cyfu0ICUZ_^TGqm>ciAhl3*XtkE6s7r`Ifsrw9xwY8$i}aV1B?=|CO4Umrml>6%eqH{x zxZJJ0rNXbWN9DPy(N$s9Q>qhdmedq~bN@!x9<1wMccWgj{z-#*!-q!a#+Ii2&HbBi zvL~<;IEy(YE#9qSt*5zTxY4{>ynND`Bq>{?7d0Bdg8>QZ8IPcmEH*^(c;X@)BjC0W zq3Nq2d@kyTXyiMx5OtqvWMYJ9bOe4Fut>;CBt`9!WNBauF{+RZ^@MDAzvgV zE-o%1E+ru$)kCtIWRKpmQc|+L`^m}mmXqt(LyGzdF8qh@&opUCNog7B?lLmnd&$Vi z^ui~ZUi>6I{v-pEg?flXbuKb!LlM0PjnRWfz6XauH}V-xA4xRwAv#0&vO8=dMq|)L=u9zDaVA4b177xEhz#ke#+*9WN^a=79qOXJj$FDo zZP@VM^Wv>FG~IWm8HkNII=|-QHyaPFK9}$B8fkcJf$j7sS3I@*rZ43siZKp5P_O$!dR)l{q!Kn5kkhw^TL1Fel`lxJjbVKrk^yuAMg%+zq@|Ev!2i&p? zX;`<*V*b9neK*NA_$(pOuF!hNtED+1DPZXFL9E>csqFcJIXS=l2}ypP?|^+Irz#9mm@taS@O6>MOY}Z`SZ;_2qTO)X95^`K)UQRNTylQ8$Br$Z`lmOGrQ|d{hT+2p#t#@{5;(3=` zb@a0+&j=MS;>xIe4SLhR-&-?@*x(heL8khP)j3b^Z00?+XwO=d$HJC@?qvmUZ|OW55tf@9bT@DHSiNoi!XjQ@c(XP<^wk@l zM@DG+jfS{P&g4_+Zfw<{XngXOvE$D@FetaN zFv!WsS0g47h1AaWq$oYxrWJS)6~a#5e;H_&azjDEoTm<7N*VR zZEnb0bNR)#`zaB&3j?@A>sLsPC#Jr9K)Vzg7MXSL>ceA$9}H>i%T)=}AC*_}VA!Z( zBS;iv`+2F=tbG9uXGiAUwu(5aym`s0eS0Qom~Bdr(@_gty?OAATf4nZPB;4aRnweP zwSE$l=GT2E9ss+I9#-V%}RS&MHjzx<`xPP^!c{p}^oBO8LJCr8!xB2Q_M}3mx!<8<_hdGW9`y+(#0f zjSYX0vF`4==euOeRb+OLFQLR%H^|CSp~Yax?xg&t zDvw*Q?qsfSnsnh#42cTk;;)YNWe2oed%tw+ny=oTRp+uZVnU;{-YN$tI_6YveUww4 zM$C^pQ_rp6wn;2=PVlj}{SPM|802t^wP(4VON9J{`fqn@#yAfyNXy~Ova}CwIT1Yh z){b505A{EnuymnIAC#~pBYMyZUeK3!)y{|JmTefMArrZEXP~j1?B-qE88aTbJ{VS? zrS*t=;j>n7SS^X7XB}@H9J79Dn3vS;b-~*{8aQ0lJ-E)NbazN}ir4bVf!BCF!-L=I z1-{#46Mf)Y^)-D4C1<^n&YhzzvnoXL3rmtq z7{=p6l9EXz_8`Ne=OPu`xm6$QT|zS-c=T@!+I0Kb>jYiRZuuq4&1HfQ-k7*~xn=O- zyp@$FNTku|v_Ed5E=oS$_F)xx4C}sNj0% z=!-Q8JJ;(by$>&{cUhmXRpsK{*xPd({0;_jIM)|OoldGhYmvP@z2f|%=mYl{j+c_k zcn@Nf*H4NoB#{A$B+`zeV;AL5oJ|v(6-@N5Z&ALx)Z@N$gN4n(4_i$eHj$|DLQ2ib zQ>8v-*T?&isnwg3N3Jwl=yL63ADsc5e9oIuUa=QmlW1mjN2;5$ol zD?%c)GPCQKO<~yRAI&Tw(UREvUMr6sSw1G}`W-cQb$#Q+0~T@ev(|E#4-F2ttaQE2 zA<-h<`V{MT&yrrfe46meE5Ii7*2$=Y58tJ(Os&mYmf#c~_h#)~-OWb=`do?k{c=%O zhNm(sqdZKqD(c!vOOFf7N)M;?%BYub1fnl=otl{NMyKyvo$zOdMqhR^oLoXeb1M(F zHY8bj$yc0C;NJo6250iYr4NsdMe4vlnv)I@b>@%SuTxfAuv&W4KyQ#6r_K zIft_z9~kbZck*6iO!&4ypSnXld#*y+)@8nT-B_<*4IJDfqp51%#{k)+XAw*No-NM& zI{Jpvhx11aqa)vCM?A8u-14wb)i{M2HoQHYcRTzuI5FNISG0`Y@94Go-o;9(qstrD zg~t(PYS19;YdiJw^jClOQrntkT_m}pL~O#Oq?<1OXLoJ2Oa#v4$+1t&8dz@r@^xAB zE~QKBy=Dw~9wqC+nDyRt$%f=c?hUOhwTcJcR~DB#fzB{>*qV>@m#$|H_>etg{28P2 z=an8gn=cftoaiEbtwk~_f9r?9bl3E)o+QfTgmV^)QaPIoD#_ z_!hMa$1|TArzoDcU}+Q{tRYeA$?$ZgZNWXK`audGyK>PB7oB6HQ*JX)YWW_hOx4ZP zPgh#+r5v3z>-~{1{r-(HSxahIU-lQowCF4^jr8D}#=SHc++*U$m!k|UHjt?F^-SF< zWpM|xtp|$x-1_Q1?5*QKp6k`yS?t=y87Ht%B2ow`E)8 zNg962TSvENr-V5*IaK7{3JmHmop3q9OG^9f9hDJ{#abavIV-Z8&~1XgRLr&^676Z zmcQ)bvYWM2rs~Z;kJ$S;hb_&*JOPS*s`cZ}6|Qa{M6D z_f+?i$w?NEN=Mszrg>CswkXSQ61!hBqQYvv=e9ZLMR+-T$_R^q-R%b;>`T_H*NA+^Pv91jZzXBpV??FE^n!`(`elc)5n%%T6lJf z*`R4KR+#X4YrwFKmLaQLa~dBt`fl>~E}NuMqW{F_Qd96sqERL1UEl+oij~KnU3a(8IxK&!!94axVq)T6ts_x# z(VSW7)#Xn~<{Pd-UMvajEE-lDK5X_8zc z(0h%`HWDrUaLe&*X>#?pw8*#h`ehu)n;H+BQ|t=Ij5rj2o3rd%hR>a9gN%kjJz_;m zYfd@yU<5M1#ow<$S8CKdi56HiOLJf884bmNJ6x*kFlb8&noeMYhNlS;J>-MR518fqPFl zJg7T2h#~iz7>dXM%?F1*WXMMt3b%+h-qaK+!HqZ)qxGb|rsLTZh&BMe2H>a&S~~k-doDF<(2o;xC#4EF1)1oZ$e|xBVxaodF>c-!|cdnO}Exg8>5>0bb6wZL6G}H`tmrl>~Y&*YS;O^ofoSq|TWov6H z*dJaP)(vl?Yea4GFPxfW)D{AGO!GN2)HUIzn}ds|ox2l!(6_~Daap8XTurS!J?*Gz zHp0Mxp6*sI@ZleSkl$$N;JL=meX5f^%#`w613Oz&Go@s|3&wc~X6N+#Nor@96xKFb zhtleoa0)ce87A?-wVkdaf|+KR%3?5I2=AlaHie5yc^M}};?5qLFdGF?^8sbAP+`r^ zRxS=E^Ni-fQw5GY)x{9EOd=fZ2p#9Lp{Yjm+scLWFmg9>`RUv;VJfQiAr>{SjA8oz z43%oW=g()P2~$xY{Ea+1O+5o_ci~JooCz}WFme}S<0=btpKZ`iJN`Vqd9KuKJc{FR zN{TMH_lNO;^J;gPnL~{aI@DRfwP+rEW0>1ajWDR_aDtv3X4XM>2-ir zC!DtnFc-;Z@Io8|expGlK#JcV-K=5$4xV@i6O3?PPF^m!eEs0)1_LZBnBm}v>|ut3 zEAm1vi26GqP8%Jtv|y@HUq)=4tTDHWVB+IE99&j!5WJ_J9bFtJ9F05Qb^={SWF!{W?$v@wx6YMaRn&buSAkL;MdZBe4eNpuwEFH6Q`sQAPp= znhrpfHONVD6~<|&3^n8Pzf2iCcEzot2M5XL8D>7F71J71hUtJQ!(1z*44-GHd7C)W zAM;Ef{;WO4HUin%D!RLRcchXkiLQPoO<1z9c*o#>=aj9*$U{^iNA(Je%*my4nP}Q z;4f_AtOhx>g}Z;Fme_xbT7tUb3vd!eEj*d`52z*3Pw#M2`28`jiNR!2%v>ELuot8k zqqxdV$UOoIwo9M*e~Th4A^%_t>;K8W9pny@3rE-aKT847p#M+W7m0SY?SF>?T`m0o zbv@G6!d)#a)Z+ggo$@2fpY!03g*z5<;rMT#|DuE^cbw$H@!vlGMG2dBG;!hhZ=a!r z17Wp*E!qTjvlm#=TfzSE23vY9vVift3hMI?i4ESL`nBw(-+)x~O`#6?BT>ibXvgsg z{8mYU@c9&;m~! zSen3tNsDYUAJMy;O>RK+$!6VakhmhriH0nM~b&_ zo9i1J$(mlxh@qOAs>s8aLMVf%0E$P|gO7F`qwx?IMz0(|BmuD)HIp?+WLq`Vr3r~# zB+2S+-;nr4GIjhElC0@YQt=pWB$*1pt4OydB<)LNKpW~iVu31R0Ysy z><@+I^bQ?d$L;y8$|SW^g~-D?Ul@km5M#du_^fUbw?&_~n&wPW-nx6B3FRr>mq zq(lp1N|2<#ZzYdp%-urvYeM4PSE(YXX)3e}CUN&vio`UWt<1Z^l!Um{OxD-W$qD&y zrGXtTl7|8GFnRd15Qty5C`6NJ=8~c}!8rRsO12oI(P*WHM5pK6%Ev{|;E9vM^qz1xcooZrc?RV!=iAix7oFwIZ%*HEJT+aHS|E zxN;Cv`Wp~nEf>*ZTG@!!62k?r1CZsLbUk8rCsVgT*g=DE%FtDs)nG;Gy2ZpJpT9GDI%&Qe8 zfpetZjbJ0u5%0il=RxvnX~k0Yh_-zSR{)E;17+MAfjdZ60}>rroEI1Kl*b`y^%GkW zx(Kir@fqFaAZej2V$z_FoD&6ZKCU#g=NN<>jx-_W5%ABA>B*HwG;lpk0coach!ioa z0+bu+21K4imM0`M!6(&^tw>4{H}VwJow{%k0|W4oP$b)!l+QbuQQ4qVY7kv~i+mHJ z%Wn~{0JWkDG{$ld-^ee5bOJ3?N!2<;TTs(P(i$d$2uyM74%`T5_P;{3P-Ml76NgC6 z1~@9I?56Ml;Vy7|A(ZrDcc`T~Xqt;t>X2lAzn5RXek}ahL^ddWf#g`Ouza<(4j@B? zI%*L%Xpu%>%o^~V_Jbn!6RAQB$k~ktE3im$CJpLODrE@R>S((@U;(MW!2!|D3t7ND zsfhN-ARRFjc07)6engLbzON1zc>y5?pb6lQSq)wqJMaT~fo`{l)nH5E8?`yoMZNPd zeWjH2=NU{I(tK$@8FBCH427c9 z$f)oKFV7D64&}x%_IbvM5RAgpZUKr2t0DxEaaUW5+5f0gx2(uvAmhn4}B7 z$Cav09cU(Nc;oKb<|0)Lkj_ZU}Wa?;+8Lk9*(=|p?IQX79Uu(puu}YnA1`Hje zF;Ta_!st)=AH(|& zW{|Q%|6T*_*4S7(?zHJ6*^#}uTP)em4C@`F=Fj+ngL6~|Rg4*%ga>jY8q4jRJL;or zH+z8mx(yzlZg%_TF*@eXyLFNs$T$syh@Ue88;Oh^Bgmeo#0HsZ7kv^*_c6a7qB`Hf z*2ZrAioVkA86(gySa;Bo_79C-3oH%Y+8DmTliy{^LsF7stw+hp5A3P7qPvJd9SQUM z8580BI8b*k&;U9*C9FQ0Q631rM8Dp^8**~+At#d*X36+-_d3##1Pwdz2My~0Uht&|ukRITSh3NoPj27fVmz|-M-@BqR3(}7=y~Qr zji0Gln>H0|^D`AYE$HcuO?&T^G&Wz=_)f*Xe9V5rh)E;IVP>bY0lj1+P_cr{C>49e zf4xA(9@*vm6BRr9(ihh?2mF$%^FLMWfEI6WOi<)8A?$EQ=yP)X4=6%j2Niqjq^}Fi ziK0~O$-|pmtbd|n%~ET89V!cxQ(nK!dNlnzl(@U>NXEScjKZ@Ks935hLJ+C_+YmZ& zW~asMIp(GSB!&F9%$v2y%3=XRn-_KDP1$uxNl%FVH&|zmUkQC|_Z?8gb#@5jCe<(f zM8$6N-5PM()nMXOL(^Ht0OGmMWTJt=>?JEUov@nH3B>!}<$LiL5AHp4*~OD^)aXpJ z(DUr;jKE0T`3Y;&NyXZD?(ngiG|d>kgqs)v%u2ldfw7_CvMsKL(>uX99NK^4!u2x; zE68;7#Vd6>!@P)M$1$Q)Fav;e{6IFI4XB;A15~Wd+SPLnri1F6ZwwTqBU58geREe@ z%${!C33TDsUH(T;ZrKwZ_sYo}KHzoYhkxffVN)@eFEyQEVgfjer&Bm{W&)1KQsWuM zopFrZH*WLWW#h8m)ArQICHkFlVnf*xjJq#>!4b1(Ootpz5L#_+NO6Se?3vKtE;2Ow z9!Pt|RwqYGhmWNN@5{)1n|Ylobo&(hB7?Yx)!>gDfo8TEi_So33FM5qThw$mLNg6! za68uo>3Ik4wOo_;Ise1EH=KLZI{|cPrk`;G=-K(Ev-sKbOn=a`dYhjltiK)g;6Yfz z9n1Oc84Hyf9ohWQ@_ao@Gcy$^+V64&MLW*i$9jp?s>R+{7R>xn(f%|;P_$+OMLVa1 zqSgM#9HFJl%sMIB4jE92)=Z#i&4dX-(Jq|-6Gf}_-B8v6+!f0^DcVJI4V_kbyBPdL z(R!@cnZ9!1mTy7xgo;*3Br>W^%SQc7%R1kmtuBVFzBcn%b31EUvgkd#kny349E&`!9qs)^+X>`cZek_*;Bd;U z6(^!o{bzOt$$!g!$H@HBu{NEw?717EA!oPm+yhfz_w5E4;)pNoP2;=gRPa^5-JM{L zB|J^e`bzGR9Hu<<&}H*ZFuYUS*#{Uq&kF{!KahD#!I*!}emV-HUPlg(Lj;?e^QV zcOOE50lpMR_#cD^;;1hKcLtih|Kas}mwJzwpsA^6q%JPfkt4WkjM$49CXPJqpK%0z z|DN5vJ)*!xC-)2Vtp5Ro4*2?UJ42v_S6@9oH(c9fx{=}Jc^b@)5WEf+hp;Xk`2qCo zQGY@9q(3_NgQi_{?qmMQF~-vkr_a^z(XBmep%S5^s2^HiplJjA1)A2sbFQFiXRJG= zCfldC?C@za%pW!FPcsBf8z9iMhlC0fhO{eBUUyk+vN}z4m72@9KsYwbUB2( z9Ku}=;Vy@8mqWOd3xU_=5bkmacR7T+9Ku}=Vg6i=c4shl40kz%yBxw`Q3~fwbvcB) zW(ar95av(17EEUCnjzdZL%3^(aMujs_Gz_UGlaWl2*Zr1`X7$)s^ z%@F=!5k}VxVZ1PfLw3y&?wTRYpZ?zV<+5vrFn=XR*9>97YPYT#!lZ214B8&zbI68Ek6i?`Q>e!@#k zVfr4d;D<^2v`YRG?$>w;HxCwiv$dOG8F~^a9;hITkR|MCffuRM0u}Jm^}srk83*fk z^y8XI$%pMrx+5D%T4(`e5r-FTlcX3N_&)$JD%%!#?}yc`fKdzfdL`iGlk}#ySq&t; zAho`Rlqf*T){wOi280b1;&_NjrYOK-f;y6(f>fGF=`VX>efM(n_}aJc-&>V8lZ+G< zl>*p>B1J_3$|EYk#M?Shu)-DJux%a>mI zMoL&Bm3MJ4ZN3@`fLEE5BqIPJ6@U*!0RVsKUWKv3m&};BM^TAq53_NwC2WQeDr?#J zBe-xO_(51L0id|f38ZAnLy{~#OD+E1$tER(siohRxg;6!9tz@$6!1;~w1V~m1o8`D zhEkvauD7CZtTFYuc5wgEv!@+7KsZ?iC_uHWLL*gNyr%+Qk_03dE)PH0M81b*;l-p> zjl=!7uq0gh(B3ghO|Zm;J$Ka301a3Yo)|afYZEC^9hd^!8z2=-eq4JdS*=15pN6xS zvEJ`{hcZ)WlFXZWIwRHV z>q$m6QmMuQLRC1_6$%kpkLwiLNJ=j;TJ7TQz1o0UJ#N9ln_C3p6~KWd6uw~j_`&a) zD~)8<<8|Zb0CDa*K=d>L#8A9yybkgXP^rf9#OE&&XkOWBkN^c#4b?s{a+S5ini2eU zk$tY55&Q`YeBV90iYHD zY5)qTCuJV$uJf2ZOt|oTNGmB-fY~9Atfnp;l7aDfZ8AnNxNt?fK)x`Ovq5jwko4wL zrA;Kg^i*>NXsr}nSH3m@akd172GmwTDRrdu{blW|(iIbcjp72JY4Dl-BOgbHuSiqgrGI@<038Vd1tEYd38+dlQ0Oak0ijec5(>Qt0li4hwLpTvy#hs`oNFxv z?OF~b7a^b* z`I7wP;Turi1utVB=Rz+MM+DUr6GR{z3II|L*)h@yA_(Afh;)EYFKmjq)=>4i_;XQt zb~^MTIYb<=T|rgU?i1fr-lDrR>3g|_e$#*I23`R;WnFeGK&=-0U0(y~9=tbHN z=tWwh!){&A2N{pQ4Lbb}3v~MXyP-FOTc8(V6G3c2FG4U2o z6UTneU?q_tAz>u9g~^6ydY=qRG$kK4;9_%IK)DnPdJv3Q3y8IVm`2dRV}1Trng%?WLt69ozj)Ky>{8!BG_nk=pudXR?nbiXMQh?hj{w=GV-V;;TA}?fp=#(ru+~m)*DhyCM!~iF z6mvnx@vs;=j^@JjwB~erMjB|jANDFHb`V@R@cAtvw%5XZ$;`RS_N5Zvjx`bc2$8ij zW~|-KgO{0vgsUar0&!gXiGX1Y0mB)%wh;7V4ZJ2coyXnUN`MJMIj zpl?C)O@#D*Uob(In#WeA=DuI<-%K#J$jkfj@I?;FBPzfI=H$Z)O^_9QSm@#bm?Xdi zA;1J7MErg1O&2v0BKy`apYQyQkkCc)yJ3Sii2x`-3jw19g0Tqx`~tvRB8Vq#aj(c& zA^%Ny#Dja!&n{=)4UoZS3@9`~R`Kf_ zPDq_xf=!UwM+ibk={NwM7^guHN9JG?WW)*JBV8o1MF=J`66o##74<+sOqpqO=P$E% zTrXyKmOQRD zUR71eo*+(4-V0o|Z{l%+aM4s!QPnzLPtaz2w6+xh1%NTIs1Y~`jcg!f4=PQZtfwK| zm4Tg3s(9 z5oyPu*GJ1*KtYleqs0;A&IULtsa!p9dtwc#0zw1&NHjks-)nNxOzQOE4VdMp6uxNYFGq)1iU3dwMi`(!IURnmTkB{7&OL7uJ`cTl;?n16R+*-*xZ&7Zokp0;n9_4Jo6EaA$PebD0q1`LyI!1%BMDxQ;MMKHCw)=3x^KBl(T z+VYVkpBDXr3+rfd#;Z#KcN2qe-j9mGzMFq{VF|b2I?(3As`F*#!IoPl=TDo?VuSI) zS!Z(Wf;nutmHEaBJf6REVI7PPdy;lP@Y>~|{l{+jHvHhi5^lvMs4o~F>0Dkg&%OFI12jD;#&%|ICFY-0W#TkU>CSfeXt9 zjE}YhjE^Sw)pHH+!|-tXOfUt^VXIhXq@~4dv&P@JuyzJqym9C5xdYVhTwA|)VF`H} zyJdl=+nEcDk4C&N*KI&_-3^EbZ2>VB@5%)Zq+hzQE_t0hcln|tf1j>3g^=^FTv)=5 zyE<@~z=hScY>xR{<6!W0IDQ5$E4FV0AL*hwX6DPG&a_{+u)aD6967RktziGIwb_5* z!r}?H^#W%p<-%%Y)&f6ApN0|mnQ*YGYq_xZ>n~kcPrYwk-svpd(`)&kxv<*WpD$k> zTv(i&&Bg%!K2eZw!iY+$25a$yO04GfSxFhKJD$c6Rw%30Udo*s^yuPp!g zFD@)fFX3$kv3~04!m0uTr0P2t78|>;mM;4Q76|sNVHcL5SU-1R?M(kW7gocE_o>P0 z?;3yV!Yay!{klJwR%I0biwi5B>P6!J)P+^@p(OuxN?}7wYhKAOU07wG*(HqPN-`DX z0x&?M#zQX>k6l>bYM~dYuWtP#7gkeV!}F)z9Rp;KItS;3Pj~*H>1Sm)CsG`;7|=z&|kx%g9t{VgSW; zhF+wp6hylqDK_$9R3^yx=Qq)jk63T&NV25<4_sJp%d5(A(hJH9@(YWKvG3;JU0C2X zETFuGZ7wWM@|SN}&%+|#Wj&0=ta1%k`h_>l3*+Q_z22p799iI;3tR0ym=n+8y8k`ZeGF1 z&qeQ=$jaDf$v<^rl@_s!8ATOjDv&`yUx5oN9(s|s1A39xgeOs9g`m?DBSEJ}y#$^9 zDK0iL>NhSd>7?|W{PzXfsYS(Q&!XOZ@51_yr`wqedXbixhv5w)6XG-Lp2GK^U%Id;4g>b?z+plcR?NewsE7~X?|24(s9Cb% zDY#!gJ%X^9-?*?EpQUGHBtNZdto_zVetTN|2QDmuKdBHqODPu?2e`Q?3;K}kPb68- z`Hc&!%-)gJBatmYr%!Sp~_I%mu=)%fxf*zzPpZgmZR&i2E*~|AuypN2s z_fM*Uh5pEeCE&9-lJ>0zx{#Vb@?kaQWU1id{~fgJO6a>Vew$FMQg@i zH9GjPxX^>dpt=q|EJ3k4`>>KKf9Jzu?O<`?z~{Ftv5mk~}T2K^mH`o@!vxd~ZS)huM%d$r3{> z7XA+ijPMrWc+I7S1>-eVEemWAz{zLPWA27DKpBD`)vzRPqOo%!>s1)Am4yz2MaVkW z7a_o;pF_i%Skm_{gAH=fFR3!`W5w>UW)|bzuwgfO_|g~3BPzh;31Njch$9~shKT@7 zvcLvmfe(u%5=8jAY;9tRTtB?Y)|EJ2HC=9NnWOG z5Vv3!>ryBbWC7~S0$ke7_5y6+7hobf2L;%b^ybOAgSS|h&fUECcngO`zbV-l3J@mQ zw~;C?7|3vK#UvNnAg)cU_bl*Xv81AX1Mh+jVz_Oy>8!^sEUB1vChL7>gAH=~j#XF_ zOCoH;ITqA@7$!fiJ(CqSj3Pb_XD_q!!OgJv>nBd0zqW1ng^f|bImT!KfG7R$oq5dc1(HyoicmlDC??OKjIaY+*?bLr$x1vREo`IrjzQ3CEx=Kn5EY#Z%QR@L>U+QHO)WVm@+( z9fAFUgOzm+9*6SKl$Rv2~RuoxJN*Ct;SWLw+wWeYPn z8+29;=##wX|u@ye3mFVJ>aL`kX*1^MzBxSfI6Ebw6gE7!1SvEg+rT6k;~ivjsMVU#o$`IyI| zFI^U#0dH`*9NHDkSr)^$uL{Lqi7cA?m2_a#W81bi`_Ol6vuf(lTk!jg?_5~rmsW3Z zIsTyHr!K7IP5f<#?c2{B-;6l%SN^NEt%>)-SPC#;6dnbZ zM-*5dEu~+<@~A3d|B?TyG6i-fo?7D2S?>8C_^;YFOomB{V0o~aO~B1>AA{u)n*zRCm{|iJmVcjq_2z2QoBLyh`y>zj zGvAf)+ZUdG1vT&ByJ~$|3zkRi%a-5xt`aV{Z=pQk1+dT``K|<12H#aF7#^j6OMhX?_1~`W0l`uA4geuDJDJc+}&M=k3$4#5ioQJY;1%PQMZq3oMTg)2>Ya za@ti>&XZTq-xfCi)Mr)xIy5})>Kk@J*}wR#im09geDHrZ?W(dcGWZ<9g1=h!rTmvZ ztNL&3I!0|X<+B0|(4s}qa}+_(!EJ1Wo};;e`$s;j=89_KT=avlWL-l`9{aaGt8Z28 z8U{@3N(K=GSjsFc>fp1g{Zg3s85DL^(TDftf8ewF*hq#DFqNdCwx+)7<8ORcwbkrz z449FLJqiGd>kK^y2WD7tz7}StrKMw^bk&E9w71zGK)Kd{+vvB`uHHAYYhFj@@ah|C zDys8<-~ZibRrifu%Ydm|sck;1*23z>;=JUP;?HTRTu|h^Jn+V(rDbN-*Jg8m@3Z<) zTg4{7|q;pEYR#w$k-V2GiM_kDK&S%9-if1PvG zw3Jl%+l;i_0zmu(6R?<7nW-r$Fi8BR&#JJXw5+n?9&z=`rh$awgc>kSg9&O9z-F2l zgY6mn_^ap5_^VAzkv#JxTfXPs`|iDO&h@k2Mr>^@PMc5Kc4cnv@1|Z{9iP5+YbHE( zC3%XTRrP+jsJZ4B>)Wm>?lPk}&9rjwaS17uE1c>Rwq5CoKlMK*r{}}rx!HxO8>j18 zHMiW^mbdk+ss{{ZCl0D7_pEwSTiK)WiTUtcI5InS>TOr`IOEE}s#P;i)v_u)-??*R zDl|EHXY{|eU0F4Wzj|0>d&`Q?SB}!Zw5&!%x~*kZ*Xr*rtN-72h0jspCGT-`CPzN` z)PHd%8N*S^#5r_~4h)ROtNd^iUC{>Rxc>sAy&(PNSb`%Zf6{uu6ILTtBv6c)V804) z2NkanJ{|ma1&*M?ew7l;!mafS(We#QdEDY0%Xv6L35w8)lv_im0OX6}U8yGL__73Y z4jhA=gE-r88hiVBIQ5sg47w8H{Q-&|lz?RjjqDFmMUY>@85OFDo>Uv>7<*NKE2^rA zsvH#R^Hv?R+JJ4Gk8;L_<+@Jb8rZJ_`&H=JCg-5B9q~wLB6@@_pHSl(_iXD_pail? zxB^0`gb#`U;b$A1;~6=}Y*D`LtH2rZ`iwWh8^@-cEnA?{=7;d4p8$s|7Ux(f!n0v< zj+-gq$pIDd3xz5QN1~-b&{m*dM5(|;GV_$2qx5oj>(}3}0nUV1p#r*BF)VdShB=m{ z%NvKOoHg+bd=N!<_I7+vat3(Uw8#<5j zrSlz9eDCDWW~Tbn)vb^H*%B3L-e#J=*-^hvDnj{bVYKG4=(>eFpnw%g9)IILv){b%@bCJ z=!OX8(!Ymbzlx)1y8w4ya*kgZ!c$)r;kamDt8k%;p?ao&BmHZz7l^ev@+y|1-GOh$uP75)rRW5pnJk5jP~~Afhv%>N20~ z`0C*FdUa-iB6I__>F%WmvDG@~cz2VM6?TjIp|V?~%EXchD-%~{Rg-fJw<7G&nrctp z;v5eFW8{EQrhk_QRxQqv&%rUMm759(o!z5=!AKH)d3aOb-qRN68=T{vdrU(gHSmFV z(GT=A(%Q~$8EH+<@wJIL@J}DdNnmZkg!}FzAa%?KXXbLLg_s~>f`|bT$f0+6?D5L& zHqL?WgbW1@x;?-pA*;>&l90{6{0!Na%K$I3W@X?sm(nJj=_T_OD^^t6X;%`avX8}# zo>oOPi=M@H&haxtNDFXUlFP xhR%Gh2zb5g8?e5ArZxGO;R-2zR&+gr<0EaIu9`VNTsZH%F#MU>wous1#b4JYF@pdA diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-on.png b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/images/wmd-on.png deleted file mode 100644 index 4844ae917f37c5d3ff72acdde3392e64cd431521..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 477 zcmV<30V4j1P)X1^@s6b5wmq00004XF*Lt006JZ zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzZ%IT!RCwC# zSBq_fFc6Kq0V`w$ufPg)1Udp8fsQ~%2qVNJzzAf7Faq^S@1iHmCaFjjHT6j+&QEve zdp>`JS(at@3i7sl5y?a{k^fA@7&CcYymq-Gf0l@E-+(r@gjK*qE5ch~1IFspKy@rR zt=GNR6Z=Kx=eUXITNQZ_S-nVdF$Tg~V4^MI1F#0;Wkn~imk8b@=80(+)_aYO5U~_! zgMzOFy%Z5Yp0otkaV+8rBBlBEUSipCcGm2sGW-V zS@L7jNg}Dke!y3{Q^Fp-I@l%QeI)*z$U7%&Em*hvNcOyv@8+#FQo$CsBb*7k8wEf0 z`gOEQb)+LTt)P2QEoZv9EZGIl&(DdVoqf=9hnCL)_Ndk81?fOQ4|}oYK^)npf?ZX1^@s6b5wmq00004XF*Lt006JZ zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUzm`OxIRCwC# zSMN*1Fc58xWu-Ub$PZ7i*mEG?w*7DEoLk;Y1Fa|}1KWCObv zdx>EQZD4!C^MkCZWGrQDpf6AhT|o=K4t{lT{*wImwAbh!c@rW9*=E69%e){TmNIzG zB@nIx6t4sD#FL@Gc*!V$qf5*9!?AH50REWcof3fT!}1J(kFG%pl#B3M)QbH|_RENb z+ixBCk0S!-h7KtLz*Yz<55U>Pheg9?sI0ua!tT~vBCmRaRmmD(ruL`JzN0cK2#}#e zhsw&=cAqeyL-0-o!Sr+c$$noFX$kO*(%tqD>?^Cof4P1+?F%C3?F)*anF!0CZmyi> zO8RR&5lN>GQf{b!*k&gp!U4G!0>^o9(~bU#;xaJz{Xu{Y*{90JF?ax9%gyC7a__F@ zDZcD_AX@E!eF`$}hS~<@w)sx8r|}?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,function(K,M,L,J,I){M=M.toLowerCase();a[M]=h(L);if(J){return J+I}else{if(I){j[M]=I.replace(/"/g,""")}}return""});return H};var m=function(J){J=J.replace(/\n/g,"\n\n");var I="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del";var H="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math";J=J.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,x);J=J.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,x);J=J.replace(/(\n[ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,x);J=J.replace(/(\n\n[ ]{0,3}[ \t]*(?=\n{2,}))/g,x);J=J.replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,x);J=J.replace(/\n\n/g,"\n");return J};var x=function(H,I){var J=I;J=J.replace(/\n\n/g,"\n");J=J.replace(/^\n/,"");J=J.replace(/\n+$/g,"");J="\n\n~K"+(A.push(J)-1)+"K\n\n";return J};var G=function(I){I=f(I);var H=o("
");I=I.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,H);I=I.replace(/^[ ]{0,2}([ ]?-[ ]?){3,}[ \t]*$/gm,H);I=I.replace(/^[ ]{0,2}([ ]?_[ ]?){3,}[ \t]*$/gm,H);I=E(I);I=b(I);I=u(I);I=m(I);I=g(I);return I};var r=function(H){H=C(H);H=l(H);H=e(H);H=F(H);H=y(H);H=n(H);H=h(H);H=c(H);H=H.replace(/ +\n/g,"
\n");return H};var l=function(I){var H=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|)/gi;I=I.replace(H,function(K){var J=K.replace(/(.)<\/?code>(?=.)/g,"$1`");J=w(J,"\\`*_");return J});return I};var y=function(H){H=H.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,D);H=H.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,D);H=H.replace(/(\[([^\[\]]+)\])()()()()()/g,D);return H};var D=function(N,T,S,R,Q,P,M,L){if(L==undefined){L=""}var K=T;var I=S;var J=R.toLowerCase();var H=Q;var O=L;if(H==""){if(J==""){J=I.toLowerCase().replace(/ ?\n/g," ")}H="#"+J;if(a[J]!=undefined){H=a[J];if(j[J]!=undefined){O=j[J]}}else{if(K.search(/\(\s*\)$/m)>-1){H=""}else{return K}}}H=w(H,"*_");var U='";return U};var F=function(H){H=H.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,t);H=H.replace(/(!\[(.*?)\]\s?\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,t);return H};var t=function(N,T,S,R,Q,P,M,L){var K=T;var J=S;var I=R.toLowerCase();var H=Q;var O=L;if(!O){O=""}if(H==""){if(I==""){I=J.toLowerCase().replace(/ ?\n/g," ")}H="#"+I;if(a[I]!=undefined){H=a[I];if(j[I]!=undefined){O=j[I]}}else{return K}}J=J.replace(/"/g,""");H=w(H,"*_");var U=''+J+'"+r(J)+"")});H=H.replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm,function(J,I){return o("

"+r(I)+"

")});H=H.replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,function(I,L,K){var J=L.length;return o(""+r(K)+"")});return H};var p;var E=function(I){I+="~0";var H=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;if(i){I=I.replace(H,function(K,N,M){var O=N;var L=(M.search(/[*+-]/g)>-1)?"ul":"ol";O=O.replace(/\n{2,}/g,"\n\n\n");var J=p(O);J=J.replace(/\s+$/,"");J="<"+L+">"+J+"\n";return J})}else{H=/(\n\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g;I=I.replace(H,function(L,P,N,K){var O=P;var Q=N;var M=(K.search(/[*+-]/g)>-1)?"ul":"ol";var Q=Q.replace(/\n{2,}/g,"\n\n\n");var J=p(Q);J=O+"<"+M+">\n"+J+"\n";return J})}I=I.replace(/~0/,"");return I};p=function(H){i++;H=H.replace(/\n{2,}$/,"\n");H+="~0";H=H.replace(/(\n)?(^[ \t]*)([*+-]|\d+[.])[ \t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[ \t]+))/gm,function(K,M,L,J,I){var O=I;var N=M;var P=L;if(N||(O.search(/\n{2,}/)>-1)){O=G(s(O))}else{O=E(s(O));O=O.replace(/\n$/,"");O=r(O)}return"
  • "+O+"
  • \n"});H=H.replace(/~0/g,"");i--;return H};var b=function(H){H+="~0";H=H.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,function(I,K,J){var L=K;var M=J;L=v(s(L));L=z(L);L=L.replace(/^\n+/g,"");L=L.replace(/\n+$/g,"");L="
    "+L+"\n
    ";return o(L)+M});H=H.replace(/~0/,"");return H};var o=function(H){H=H.replace(/(^\n+|\n+$)/g,"");return"\n\n~K"+(A.push(H)-1)+"K\n\n"};var C=function(H){H=H.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(K,M,L,J,I){var N=J;N=N.replace(/^([ \t]*)/g,"");N=N.replace(/[ \t]*$/g,"");N=v(N);return M+""+N+""});return H};var v=function(H){H=H.replace(/&/g,"&");H=H.replace(//g,">");H=w(H,"*_{}[]\\",false);return H};var c=function(H){H=H.replace(/(\*\*|__)(?=\S)([^\r]*?\S[\*_]*)\1/g,"$2");H=H.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"$2");return H};var u=function(H){H=H.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(I,J){var K=J;K=K.replace(/^[ \t]*>[ \t]?/gm,"~0");K=K.replace(/~0/g,"");K=K.replace(/^[ \t]+$/gm,"");K=G(K);K=K.replace(/(^|\n)/g,"$1 ");K=K.replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(L,M){var N=M;N=N.replace(/^  /mg,"~0");N=N.replace(/~0/g,"");return N});return o("
    \n"+K+"\n
    ")});return H};var g=function(N){N=N.replace(/^\n+/g,"");N=N.replace(/\n+$/g,"");var M=N.split(/\n{2,}/g);var J=new Array();var H=M.length;for(var I=0;I=0){J.push(L)}else{if(L.search(/\S/)>=0){L=r(L);L=L.replace(/^([ \t]*)/g,"

    ");L+="

    ";J.push(L)}}}H=J.length;for(var I=0;I=0){var K=A[RegExp.$1];K=K.replace(/\$/g,"$$$$");J[I]=J[I].replace(/~K\d+K/,K)}}return J.join("\n\n")};var h=function(H){H=H.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&");H=H.replace(/<(?![a-z\/?\$!])/gi,"<");return H};var e=function(H){H=H.replace(/\\(\\)/g,k);H=H.replace(/\\([`*_{}\[\]()>#+-.!])/g,k);return H};var n=function(H){H=H.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,'
    $1');H=H.replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(I,J){return B(q(J))});return H};var B=function(J){function I(L){var K="0123456789ABCDEF";var M=L.charCodeAt(0);return(K.charAt(M>>4)+K.charAt(M&15))}var H=[function(K){return"&#"+K.charCodeAt(0)+";"},function(K){return"&#x"+I(K)+";"},function(K){return K}];J="mailto:"+J;J=J.replace(/./g,function(K){if(K=="@"){K=H[Math.floor(Math.random()*2)](K)}else{if(K!=":"){var L=Math.random();K=(L>0.9?H[2](K):L>0.45?H[1](K):H[0](K))}}return K});J=''+J+"";J=J.replace(/">.+:/g,'">');return J};var q=function(H){H=H.replace(/~E(\d+)E/g,function(I,K){var J=parseInt(K);return String.fromCharCode(J)});return H};var s=function(H){H=H.replace(/^(\t|[ ]{1,4})/gm,"~0");H=H.replace(/~0/g,"");return H};var z=function(H){H=H.replace(/\t(?=\t)/g," ");H=H.replace(/\t/g,"~A~B");H=H.replace(/~B(.+?)~A/g,function(I,L,K){var N=L;var J=4-N.length%4;for(var M=0;M -// -// The full source distribution is at: -// -// A A L -// T C A -// T K B -// -// -// - -// -// Wherever possible, Showdown is a straight, line-by-line port -// of the Perl version of Markdown. -// -// This is not a normal parser design; it's basically just a -// series of string substitutions. It's hard to read and -// maintain this way, but keeping Showdown close to the original -// design makes it easier to port new features. -// -// More importantly, Showdown behaves like markdown.pl in most -// edge cases. So web applications can do client-side preview -// in Javascript, and then build identical HTML on the server. -// -// This port needs the new RegExp functionality of ECMA 262, -// 3rd Edition (i.e. Javascript 1.5). Most modern web browsers -// should do fine. Even with the new regular expression features, -// We do a lot of work to emulate Perl's regex functionality. -// The tricky changes in this file mostly have the "attacklab:" -// label. Major or self-explanatory changes don't. -// -// Smart diff tools like Araxis Merge will be able to match up -// this file with markdown.pl in a useful way. A little tweaking -// helps: in a copy of markdown.pl, replace "#" with "//" and -// replace "$text" with "text". Be sure to ignore whitespace -// and line endings. -// - - -// -// Showdown usage: -// -// var text = "Markdown *rocks*."; -// -// var converter = new Attacklab.showdown.converter(); -// var html = converter.makeHtml(text); -// -// alert(html); -// -// Note: move the sample code to the bottom of this -// file before uncommenting it. -// - - -// -// Attacklab namespace -// -var Attacklab = Attacklab || {} - -// -// Showdown namespace -// -Attacklab.showdown = Attacklab.showdown || {} - -// -// converter -// -// Wraps all "globals" so that the only thing -// exposed is makeHtml(). -// -Attacklab.showdown.converter = function() { - -// -// Globals: -// - -// Global hashes, used by various utility routines -var g_urls; -var g_titles; -var g_html_blocks; - -// Used to track when we're inside an ordered or unordered list -// (see _ProcessListItems() for details): -var g_list_level = 0; - - -this.makeHtml = function(text) { -// -// Main function. The order in which other subs are called here is -// essential. Link and image substitutions need to happen before -// _EscapeSpecialCharsWithinTagAttributes(), so that any *'s or _'s in the -// and tags get encoded. -// - - // Clear the global hashes. If we don't clear these, you get conflicts - // from other articles when generating a page which contains more than - // one article (e.g. an index page that shows the N most recent - // articles): - g_urls = new Array(); - g_titles = new Array(); - g_html_blocks = new Array(); - - // attacklab: Replace ~ with ~T - // This lets us use tilde as an escape char to avoid md5 hashes - // The choice of character is arbitray; anything that isn't - // magic in Markdown will work. - text = text.replace(/~/g,"~T"); - - // attacklab: Replace $ with ~D - // RegExp interprets $ as a special character - // when it's in a replacement string - text = text.replace(/\$/g,"~D"); - - // Standardize line endings - text = text.replace(/\r\n/g,"\n"); // DOS to Unix - text = text.replace(/\r/g,"\n"); // Mac to Unix - - // Make sure text begins and ends with a couple of newlines: - text = "\n\n" + text + "\n\n"; - - // Convert all tabs to spaces. - text = _Detab(text); - - // Strip any lines consisting only of spaces and tabs. - // This makes subsequent regexen easier to write, because we can - // match consecutive blank lines with /\n+/ instead of something - // contorted like /[ \t]*\n+/ . - text = text.replace(/^[ \t]+$/mg,""); - - // Turn block-level HTML blocks into hash entries - text = _HashHTMLBlocks(text); - - // Strip link definitions, store in hashes. - text = _StripLinkDefinitions(text); - - text = _RunBlockGamut(text); - - text = _UnescapeSpecialChars(text); - - // attacklab: Restore dollar signs - text = text.replace(/~D/g,"$$"); - - // attacklab: Restore tildes - text = text.replace(/~T/g,"~"); - - return text; -} - -var _StripLinkDefinitions = function(text) { -// -// Strips link definitions from text, stores the URLs and titles in -// hash references. -// - - // Link defs are in the form: ^[id]: url "optional title" - - /* - var text = text.replace(/ - ^[ ]{0,3}\[(.+)\]: // id = $1 attacklab: g_tab_width - 1 - [ \t]* - \n? // maybe *one* newline - [ \t]* - ? // url = $2 - [ \t]* - \n? // maybe one newline - [ \t]* - (?: - (\n*) // any lines skipped = $3 attacklab: lookbehind removed - ["(] - (.+?) // title = $4 - [")] - [ \t]* - )? // title is optional - (?:\n+|$) - /gm, - function(){...}); - */ - var text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+)/gm, - function (wholeMatch,m1,m2,m3,m4) { - m1 = m1.toLowerCase(); - g_urls[m1] = _EncodeAmpsAndAngles(m2); // Link IDs are case-insensitive - if (m3) { - // Oops, found blank lines, so it's not a title. - // Put back the parenthetical statement we stole. - return m3+m4; - } else if (m4) { - g_titles[m1] = m4.replace(/"/g,"""); - } - - // Completely remove the definition from the text - return ""; - } - ); - - return text; -} - -var _HashHTMLBlocks = function(text) { - // attacklab: Double up blank lines to reduce lookaround - text = text.replace(/\n/g,"\n\n"); - - // Hashify HTML blocks: - // We only want to do this for block-level HTML tags, such as headers, - // lists, and tables. That's because we still want to wrap

    s around - // "paragraphs" that are wrapped in non-block-level tags, such as anchors, - // phrase emphasis, and spans. The list of tags we're looking for is - // hard-coded: - var block_tags_a = "p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del" - var block_tags_b = "p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math" - - // First, look for nested blocks, e.g.: - //

    - //
    - // tags for inner block must be indented. - //
    - //
    - // - // The outermost tags must start at the left margin for this to match, and - // the inner nested divs must be indented. - // We need to do this before the next, more liberal match, because the next - // match will start at the first `
    ` and stop at the first `
    `. - - // attacklab: This regex can be expensive when it fails. - /* - var text = text.replace(/ - ( // save in $1 - ^ // start of line (with /m) - <($block_tags_a) // start tag = $2 - \b // word break - // attacklab: hack around khtml/pcre bug... - [^\r]*?\n // any number of lines, minimally matching - // the matching end tag - [ \t]* // trailing spaces/tabs - (?=\n+) // followed by a newline - ) // attacklab: there are sentinel newlines at end of document - /gm,function(){...}}; - */ - text = text.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,hashElement); - - // - // Now match more liberally, simply from `\n` to `\n` - // - - /* - var text = text.replace(/ - ( // save in $1 - ^ // start of line (with /m) - <($block_tags_b) // start tag = $2 - \b // word break - // attacklab: hack around khtml/pcre bug... - [^\r]*? // any number of lines, minimally matching - .* // the matching end tag - [ \t]* // trailing spaces/tabs - (?=\n+) // followed by a newline - ) // attacklab: there are sentinel newlines at end of document - /gm,function(){...}}; - */ - text = text.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,hashElement); - - // Special case just for
    . It was easier to make a special case than - // to make the other regex more complicated. - - /* - text = text.replace(/ - ( // save in $1 - \n\n // Starting after a blank line - [ ]{0,3} - (<(hr) // start tag = $2 - \b // word break - ([^<>])*? // - \/?>) // the matching end tag - [ \t]* - (?=\n{2,}) // followed by a blank line - ) - /g,hashElement); - */ - text = text.replace(/(\n[ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,hashElement); - - // Special case for standalone HTML comments: - - /* - text = text.replace(/ - ( // save in $1 - \n\n // Starting after a blank line - [ ]{0,3} // attacklab: g_tab_width - 1 - - [ \t]* - (?=\n{2,}) // followed by a blank line - ) - /g,hashElement); - */ - text = text.replace(/(\n\n[ ]{0,3}[ \t]*(?=\n{2,}))/g,hashElement); - - // PHP and ASP-style processor instructions ( and <%...%>) - - /* - text = text.replace(/ - (?: - \n\n // Starting after a blank line - ) - ( // save in $1 - [ ]{0,3} // attacklab: g_tab_width - 1 - (?: - <([?%]) // $2 - [^\r]*? - \2> - ) - [ \t]* - (?=\n{2,}) // followed by a blank line - ) - /g,hashElement); - */ - text = text.replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,hashElement); - - // attacklab: Undo double lines (see comment at top of this function) - text = text.replace(/\n\n/g,"\n"); - return text; -} - -var hashElement = function(wholeMatch,m1) { - var blockText = m1; - - // Undo double lines - blockText = blockText.replace(/\n\n/g,"\n"); - blockText = blockText.replace(/^\n/,""); - - // strip trailing blank lines - blockText = blockText.replace(/\n+$/g,""); - - // Replace the element text with a marker ("~KxK" where x is its key) - blockText = "\n\n~K" + (g_html_blocks.push(blockText)-1) + "K\n\n"; - - return blockText; -}; - -var _RunBlockGamut = function(text) { -// -// These are all the transformations that form block-level -// tags like paragraphs, headers, and list items. -// - text = _DoHeaders(text); - - // Do Horizontal Rules: - var key = hashBlock("
    "); - text = text.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,key); - text = text.replace(/^[ ]{0,2}([ ]?-[ ]?){3,}[ \t]*$/gm,key); - text = text.replace(/^[ ]{0,2}([ ]?_[ ]?){3,}[ \t]*$/gm,key); - - text = _DoLists(text); - text = _DoCodeBlocks(text); - text = _DoBlockQuotes(text); - - // We already ran _HashHTMLBlocks() before, in Markdown(), but that - // was to escape raw HTML in the original Markdown source. This time, - // we're escaping the markup we've just created, so that we don't wrap - //

    tags around block-level tags. - text = _HashHTMLBlocks(text); - text = _FormParagraphs(text); - - return text; -} - - -var _RunSpanGamut = function(text) { -// -// These are all the transformations that occur *within* block-level -// tags like paragraphs, headers, and list items. -// - - text = _DoCodeSpans(text); - text = _EscapeSpecialCharsWithinTagAttributes(text); - text = _EncodeBackslashEscapes(text); - - // Process anchor and image tags. Images must come first, - // because ![foo][f] looks like an anchor. - text = _DoImages(text); - text = _DoAnchors(text); - - // Make links out of things like `` - // Must come after _DoAnchors(), because you can use < and > - // delimiters in inline links like [this](). - text = _DoAutoLinks(text); - text = _EncodeAmpsAndAngles(text); - text = _DoItalicsAndBold(text); - - // Do hard breaks: - text = text.replace(/ +\n/g,"
    \n"); - - return text; -} - -var _EscapeSpecialCharsWithinTagAttributes = function(text) { -// -// Within tags -- meaning between < and > -- encode [\ ` * _] so they -// don't conflict with their use in Markdown for code, italics and strong. -// - - // Build a regex to find HTML tags and comments. See Friedl's - // "Mastering Regular Expressions", 2nd Ed., pp. 200-201. - var regex = /(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|)/gi; - - text = text.replace(regex, function(wholeMatch) { - var tag = wholeMatch.replace(/(.)<\/?code>(?=.)/g,"$1`"); - tag = escapeCharacters(tag,"\\`*_"); - return tag; - }); - - return text; -} - -var _DoAnchors = function(text) { -// -// Turn Markdown link shortcuts into XHTML
    tags. -// - // - // First, handle reference-style links: [link text] [id] - // - - /* - text = text.replace(/ - ( // wrap whole match in $1 - \[ - ( - (?: - \[[^\]]*\] // allow brackets nested one level - | - [^\[] // or anything else - )* - ) - \] - - [ ]? // one optional space - (?:\n[ ]*)? // one optional newline followed by spaces - - \[ - (.*?) // id = $3 - \] - )()()()() // pad remaining backreferences - /g,_DoAnchors_callback); - */ - text = text.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,writeAnchorTag); - - // - // Next, inline-style links: [link text](url "optional title") - // - - /* - text = text.replace(/ - ( // wrap whole match in $1 - \[ - ( - (?: - \[[^\]]*\] // allow brackets nested one level - | - [^\[\]] // or anything else - ) - ) - \] - \( // literal paren - [ \t]* - () // no id, so leave $3 empty - ? // href = $4 - [ \t]* - ( // $5 - (['"]) // quote char = $6 - (.*?) // Title = $7 - \6 // matching quote - [ \t]* // ignore any spaces/tabs between closing quote and ) - )? // title is optional - \) - ) - /g,writeAnchorTag); - */ - text = text.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,writeAnchorTag); - - // - // Last, handle reference-style shortcuts: [link text] - // These must come last in case you've also got [link test][1] - // or [link test](/foo) - // - - /* - text = text.replace(/ - ( // wrap whole match in $1 - \[ - ([^\[\]]+) // link text = $2; can't contain '[' or ']' - \] - )()()()()() // pad rest of backreferences - /g, writeAnchorTag); - */ - text = text.replace(/(\[([^\[\]]+)\])()()()()()/g, writeAnchorTag); - - return text; -} - -var writeAnchorTag = function(wholeMatch,m1,m2,m3,m4,m5,m6,m7) { - if (m7 == undefined) m7 = ""; - var whole_match = m1; - var link_text = m2; - var link_id = m3.toLowerCase(); - var url = m4; - var title = m7; - - if (url == "") { - if (link_id == "") { - // lower-case and turn embedded newlines into spaces - link_id = link_text.toLowerCase().replace(/ ?\n/g," "); - } - url = "#"+link_id; - - if (g_urls[link_id] != undefined) { - url = g_urls[link_id]; - if (g_titles[link_id] != undefined) { - title = g_titles[link_id]; - } - } - else { - if (whole_match.search(/\(\s*\)$/m)>-1) { - // Special case for explicit empty url - url = ""; - } else { - return whole_match; - } - } - } - - url = escapeCharacters(url,"*_"); - var result = ""; - - return result; -} - - -var _DoImages = function(text) { -// -// Turn Markdown image shortcuts into tags. -// - - // - // First, handle reference-style labeled images: ![alt text][id] - // - - /* - text = text.replace(/ - ( // wrap whole match in $1 - !\[ - (.*?) // alt text = $2 - \] - - [ ]? // one optional space - (?:\n[ ]*)? // one optional newline followed by spaces - - \[ - (.*?) // id = $3 - \] - )()()()() // pad rest of backreferences - /g,writeImageTag); - */ - text = text.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,writeImageTag); - - // - // Next, handle inline images: ![alt text](url "optional title") - // Don't forget: encode * and _ - - /* - text = text.replace(/ - ( // wrap whole match in $1 - !\[ - (.*?) // alt text = $2 - \] - \s? // One optional whitespace character - \( // literal paren - [ \t]* - () // no id, so leave $3 empty - ? // src url = $4 - [ \t]* - ( // $5 - (['"]) // quote char = $6 - (.*?) // title = $7 - \6 // matching quote - [ \t]* - )? // title is optional - \) - ) - /g,writeImageTag); - */ - text = text.replace(/(!\[(.*?)\]\s?\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,writeImageTag); - - return text; -} - -var writeImageTag = function(wholeMatch,m1,m2,m3,m4,m5,m6,m7) { - var whole_match = m1; - var alt_text = m2; - var link_id = m3.toLowerCase(); - var url = m4; - var title = m7; - - if (!title) title = ""; - - if (url == "") { - if (link_id == "") { - // lower-case and turn embedded newlines into spaces - link_id = alt_text.toLowerCase().replace(/ ?\n/g," "); - } - url = "#"+link_id; - - if (g_urls[link_id] != undefined) { - url = g_urls[link_id]; - if (g_titles[link_id] != undefined) { - title = g_titles[link_id]; - } - } - else { - return whole_match; - } - } - - alt_text = alt_text.replace(/"/g,"""); - url = escapeCharacters(url,"*_"); - url = scriptUrl + url - var result = "\""" + _RunSpanGamut(m1) + "");}); - - text = text.replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm, - function(matchFound,m1){return hashBlock("

    " + _RunSpanGamut(m1) + "

    ");}); - - // atx-style headers: - // # Header 1 - // ## Header 2 - // ## Header 2 with closing hashes ## - // ... - // ###### Header 6 - // - - /* - text = text.replace(/ - ^(\#{1,6}) // $1 = string of #'s - [ \t]* - (.+?) // $2 = Header text - [ \t]* - \#* // optional closing #'s (not counted) - \n+ - /gm, function() {...}); - */ - - text = text.replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm, - function(wholeMatch,m1,m2) { - var h_level = m1.length; - return hashBlock("" + _RunSpanGamut(m2) + ""); - }); - - return text; -} - -// This declaration keeps Dojo compressor from outputting garbage: -var _ProcessListItems; - -var _DoLists = function(text) { -// -// Form HTML ordered (numbered) and unordered (bulleted) lists. -// - - // attacklab: add sentinel to hack around khtml/safari bug: - // http://bugs.webkit.org/show_bug.cgi?id=11231 - text += "~0"; - - // Re-usable pattern to match any entirel ul or ol list: - - /* - var whole_list = / - ( // $1 = whole list - ( // $2 - [ ]{0,3} // attacklab: g_tab_width - 1 - ([*+-]|\d+[.]) // $3 = first list item marker - [ \t]+ - ) - [^\r]+? - ( // $4 - ~0 // sentinel for workaround; should be $ - | - \n{2,} - (?=\S) - (?! // Negative lookahead for another list item marker - [ \t]* - (?:[*+-]|\d+[.])[ \t]+ - ) - ) - )/g - */ - var whole_list = /^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm; - - if (g_list_level) { - text = text.replace(whole_list,function(wholeMatch,m1,m2) { - var list = m1; - var list_type = (m2.search(/[*+-]/g)>-1) ? "ul" : "ol"; - - // Turn double returns into triple returns, so that we can make a - // paragraph for the last item in a list, if necessary: - list = list.replace(/\n{2,}/g,"\n\n\n");; - var result = _ProcessListItems(list); - - // Trim any trailing whitespace, to put the closing `` - // up on the preceding line, to get it past the current stupid - // HTML block parser. This is a hack to work around the terrible - // hack that is the HTML block parser. - result = result.replace(/\s+$/,""); - result = "<"+list_type+">" + result + "\n"; - return result; - }); - } else { - whole_list = /(\n\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g; - text = text.replace(whole_list,function(wholeMatch,m1,m2,m3) { - var runup = m1; - var list = m2; - - var list_type = (m3.search(/[*+-]/g)>-1) ? "ul" : "ol"; - // Turn double returns into triple returns, so that we can make a - // paragraph for the last item in a list, if necessary: - var list = list.replace(/\n{2,}/g,"\n\n\n");; - var result = _ProcessListItems(list); - result = runup + "<"+list_type+">\n" + result + "\n"; - return result; - }); - } - - // attacklab: strip sentinel - text = text.replace(/~0/,""); - - return text; -} - -_ProcessListItems = function(list_str) { -// -// Process the contents of a single ordered or unordered list, splitting it -// into individual list items. -// - // The $g_list_level global keeps track of when we're inside a list. - // Each time we enter a list, we increment it; when we leave a list, - // we decrement. If it's zero, we're not in a list anymore. - // - // We do this because when we're not inside a list, we want to treat - // something like this: - // - // I recommend upgrading to version - // 8. Oops, now this line is treated - // as a sub-list. - // - // As a single paragraph, despite the fact that the second line starts - // with a digit-period-space sequence. - // - // Whereas when we're inside a list (or sub-list), that line will be - // treated as the start of a sub-list. What a kludge, huh? This is - // an aspect of Markdown's syntax that's hard to parse perfectly - // without resorting to mind-reading. Perhaps the solution is to - // change the syntax rules such that sub-lists must start with a - // starting cardinal number; e.g. "1." or "a.". - - g_list_level++; - - // trim trailing blank lines: - list_str = list_str.replace(/\n{2,}$/,"\n"); - - // attacklab: add sentinel to emulate \z - list_str += "~0"; - - /* - list_str = list_str.replace(/ - (\n)? // leading line = $1 - (^[ \t]*) // leading whitespace = $2 - ([*+-]|\d+[.]) [ \t]+ // list marker = $3 - ([^\r]+? // list item text = $4 - (\n{1,2})) - (?= \n* (~0 | \2 ([*+-]|\d+[.]) [ \t]+)) - /gm, function(){...}); - */ - list_str = list_str.replace(/(\n)?(^[ \t]*)([*+-]|\d+[.])[ \t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[ \t]+))/gm, - function(wholeMatch,m1,m2,m3,m4){ - var item = m4; - var leading_line = m1; - var leading_space = m2; - - if (leading_line || (item.search(/\n{2,}/)>-1)) { - item = _RunBlockGamut(_Outdent(item)); - } - else { - // Recursion for sub-lists: - item = _DoLists(_Outdent(item)); - item = item.replace(/\n$/,""); // chomp(item) - item = _RunSpanGamut(item); - } - - return "
  • " + item + "
  • \n"; - } - ); - - // attacklab: strip sentinel - list_str = list_str.replace(/~0/g,""); - - g_list_level--; - return list_str; -} - - -var _DoCodeBlocks = function(text) { -// -// Process Markdown `
    ` blocks.
    -//  
    -
    -	/*
    -		text = text.replace(text,
    -			/(?:\n\n|^)
    -			(								// $1 = the code block -- one or more lines, starting with a space/tab
    -				(?:
    -					(?:[ ]{4}|\t)			// Lines must start with a tab or a tab-width of spaces - attacklab: g_tab_width
    -					.*\n+
    -				)+
    -			)
    -			(\n*[ ]{0,3}[^ \t\n]|(?=~0))	// attacklab: g_tab_width
    -		/g,function(){...});
    -	*/
    -
    -	// attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
    -	text += "~0";
    -	
    -	text = text.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,
    -		function(wholeMatch,m1,m2) {
    -			var codeblock = m1;
    -			var nextChar = m2;
    -		
    -			codeblock = _EncodeCode( _Outdent(codeblock));
    -			codeblock = _Detab(codeblock);
    -			codeblock = codeblock.replace(/^\n+/g,""); // trim leading newlines
    -			codeblock = codeblock.replace(/\n+$/g,""); // trim trailing whitespace
    -
    -			codeblock = "
    " + codeblock + "\n
    "; - - return hashBlock(codeblock) + nextChar; - } - ); - - // attacklab: strip sentinel - text = text.replace(/~0/,""); - - return text; -} - -var hashBlock = function(text) { - text = text.replace(/(^\n+|\n+$)/g,""); - return "\n\n~K" + (g_html_blocks.push(text)-1) + "K\n\n"; -} - - -var _DoCodeSpans = function(text) { -// -// * Backtick quotes are used for spans. -// -// * You can use multiple backticks as the delimiters if you want to -// include literal backticks in the code span. So, this input: -// -// Just type ``foo `bar` baz`` at the prompt. -// -// Will translate to: -// -//

    Just type foo `bar` baz at the prompt.

    -// -// There's no arbitrary limit to the number of backticks you -// can use as delimters. If you need three consecutive backticks -// in your code, use four for delimiters, etc. -// -// * You can use spaces to get literal backticks at the edges: -// -// ... type `` `bar` `` ... -// -// Turns to: -// -// ... type `bar` ... -// - - /* - text = text.replace(/ - (^|[^\\]) // Character before opening ` can't be a backslash - (`+) // $2 = Opening run of ` - ( // $3 = The code block - [^\r]*? - [^`] // attacklab: work around lack of lookbehind - ) - \2 // Matching closer - (?!`) - /gm, function(){...}); - */ - - text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm, - function(wholeMatch,m1,m2,m3,m4) { - var c = m3; - c = c.replace(/^([ \t]*)/g,""); // leading whitespace - c = c.replace(/[ \t]*$/g,""); // trailing whitespace - c = _EncodeCode(c); - return m1+""+c+""; - }); - - return text; -} - - -var _EncodeCode = function(text) { -// -// Encode/escape certain characters inside Markdown code runs. -// The point is that in code, these characters are literals, -// and lose their special Markdown meanings. -// - // Encode all ampersands; HTML entities are not - // entities within a Markdown code span. - text = text.replace(/&/g,"&"); - - // Do the angle bracket song and dance: - text = text.replace(//g,">"); - - // Now, escape characters that are magic in Markdown: - text = escapeCharacters(text,"\*_{}[]\\",false); - -// jj the line above breaks this: -//--- - -//* Item - -// 1. Subitem - -// special char: * -//--- - - return text; -} - - -var _DoItalicsAndBold = function(text) { - - // must go first: - text = text.replace(/(\*\*|__)(?=\S)([^\r]*?\S[\*_]*)\1/g, - "$2"); - - text = text.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g, - "$2"); - - return text; -} - - -var _DoBlockQuotes = function(text) { - - /* - text = text.replace(/ - ( // Wrap whole match in $1 - ( - ^[ \t]*>[ \t]? // '>' at the start of a line - .+\n // rest of the first line - (.+\n)* // subsequent consecutive lines - \n* // blanks - )+ - ) - /gm, function(){...}); - */ - - text = text.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm, - function(wholeMatch,m1) { - var bq = m1; - - // attacklab: hack around Konqueror 3.5.4 bug: - // "----------bug".replace(/^-/g,"") == "bug" - - bq = bq.replace(/^[ \t]*>[ \t]?/gm,"~0"); // trim one level of quoting - - // attacklab: clean up hack - bq = bq.replace(/~0/g,""); - - bq = bq.replace(/^[ \t]+$/gm,""); // trim whitespace-only lines - bq = _RunBlockGamut(bq); // recurse - - bq = bq.replace(/(^|\n)/g,"$1 "); - // These leading spaces screw with
     content, so we need to fix that:
    -			bq = bq.replace(
    -					/(\s*
    [^\r]+?<\/pre>)/gm,
    -				function(wholeMatch,m1) {
    -					var pre = m1;
    -					// attacklab: hack around Konqueror 3.5.4 bug:
    -					pre = pre.replace(/^  /mg,"~0");
    -					pre = pre.replace(/~0/g,"");
    -					return pre;
    -				});
    -			
    -			return hashBlock("
    \n" + bq + "\n
    "); - }); - return text; -} - - -var _FormParagraphs = function(text) { -// -// Params: -// $text - string to process with html

    tags -// - - // Strip leading and trailing lines: - text = text.replace(/^\n+/g,""); - text = text.replace(/\n+$/g,""); - - var grafs = text.split(/\n{2,}/g); - var grafsOut = new Array(); - - // - // Wrap

    tags. - // - var end = grafs.length; - for (var i=0; i= 0) { - grafsOut.push(str); - } - else if (str.search(/\S/) >= 0) { - str = _RunSpanGamut(str); - str = str.replace(/^([ \t]*)/g,"

    "); - str += "

    " - grafsOut.push(str); - } - - } - - // - // Unhashify HTML blocks - // - end = grafsOut.length; - for (var i=0; i= 0) { - var blockText = g_html_blocks[RegExp.$1]; - blockText = blockText.replace(/\$/g,"$$$$"); // Escape any dollar signs - grafsOut[i] = grafsOut[i].replace(/~K\d+K/,blockText); - } - } - - return grafsOut.join("\n\n"); -} - - -var _EncodeAmpsAndAngles = function(text) { -// Smart processing for ampersands and angle brackets that need to be encoded. - - // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin: - // http://bumppo.net/projects/amputator/ - text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"); - - // Encode naked <'s - text = text.replace(/<(?![a-z\/?\$!])/gi,"<"); - - return text; -} - - -var _EncodeBackslashEscapes = function(text) { -// -// Parameter: String. -// Returns: The string, with after processing the following backslash -// escape sequences. -// - - // attacklab: The polite way to do this is with the new - // escapeCharacters() function: - // - // text = escapeCharacters(text,"\\",true); - // text = escapeCharacters(text,"`*_{}[]()>#+-.!",true); - // - // ...but we're sidestepping its use of the (slow) RegExp constructor - // as an optimization for Firefox. This function gets called a LOT. - - text = text.replace(/\\(\\)/g,escapeCharacters_callback); - text = text.replace(/\\([`*_{}\[\]()>#+-.!])/g,escapeCharacters_callback); - return text; -} - - -var _DoAutoLinks = function(text) { - - text = text.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,"
    $1"); - - // Email addresses: - - /* - text = text.replace(/ - < - (?:mailto:)? - ( - [-.\w]+ - \@ - [-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+ - ) - > - /gi, _DoAutoLinks_callback()); - */ - text = text.replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi, - function(wholeMatch,m1) { - return _EncodeEmailAddress( _UnescapeSpecialChars(m1) ); - } - ); - - return text; -} - - -var _EncodeEmailAddress = function(addr) { -// -// Input: an email address, e.g. "foo@example.com" -// -// Output: the email address as a mailto link, with each character -// of the address encoded as either a decimal or hex entity, in -// the hopes of foiling most address harvesting spam bots. E.g.: -// -// foo -// @example.com -// -// Based on a filter by Matthew Wickline, posted to the BBEdit-Talk -// mailing list: -// - - // attacklab: why can't javascript speak hex? - function char2hex(ch) { - var hexDigits = '0123456789ABCDEF'; - var dec = ch.charCodeAt(0); - return(hexDigits.charAt(dec>>4) + hexDigits.charAt(dec&15)); - } - - var encode = [ - function(ch){return "&#"+ch.charCodeAt(0)+";";}, - function(ch){return "&#x"+char2hex(ch)+";";}, - function(ch){return ch;} - ]; - - addr = "mailto:" + addr; - - addr = addr.replace(/./g, function(ch) { - if (ch == "@") { - // this *must* be encoded. I insist. - ch = encode[Math.floor(Math.random()*2)](ch); - } else if (ch !=":") { - // leave ':' alone (to spot mailto: later) - var r = Math.random(); - // roughly 10% raw, 45% hex, 45% dec - ch = ( - r > .9 ? encode[2](ch) : - r > .45 ? encode[1](ch) : - encode[0](ch) - ); - } - return ch; - }); - - addr = "" + addr + ""; - addr = addr.replace(/">.+:/g,"\">"); // strip the mailto: from the visible part - - return addr; -} - - -var _UnescapeSpecialChars = function(text) { -// -// Swap back in all the special characters we've hidden. -// - text = text.replace(/~E(\d+)E/g, - function(wholeMatch,m1) { - var charCodeToReplace = parseInt(m1); - return String.fromCharCode(charCodeToReplace); - } - ); - return text; -} - - -var _Outdent = function(text) { -// -// Remove one level of line-leading tabs or spaces -// - - // attacklab: hack around Konqueror 3.5.4 bug: - // "----------bug".replace(/^-/g,"") == "bug" - - text = text.replace(/^(\t|[ ]{1,4})/gm,"~0"); // attacklab: g_tab_width - - // attacklab: clean up hack - text = text.replace(/~0/g,"") - - return text; -} - -var _Detab = function(text) { -// attacklab: Detab's completely rewritten for speed. -// In perl we could fix it by anchoring the regexp with \G. -// In javascript we're less fortunate. - - // expand first n-1 tabs - text = text.replace(/\t(?=\t)/g," "); // attacklab: g_tab_width - - // replace the nth with two sentinels - text = text.replace(/\t/g,"~A~B"); - - // use the sentinel to anchor our regex so it doesn't explode - text = text.replace(/~B(.+?)~A/g, - function(wholeMatch,m1,m2) { - var leadingText = m1; - var numSpaces = 4 - leadingText.length % 4; // attacklab: g_tab_width - - // there *must* be a better way to do this: - for (var i=0; i";var D="

    输入Web地址

    示例:
    http://www.cnprog.com/ \"我的网站\"

    ";var n='
    或者上传本地图片:

    ';var b="http://";var g="http://";var o="images/";var A=500;var x=100;var k="http://wmd-editor.com/";var r="WMD website";var w="_blank";y.PanelCollection=function(){this.buttonBar=E.getElementById("wmd-button-bar");this.preview=E.getElementById("previewer");this.output=E.getElementById("wmd-output");this.input=E.getElementById("editor")};y.panels=undefined;y.ieCachedRange=null;y.ieRetardedClick=false;a.isVisible=function(F){if(window.getComputedStyle){return window.getComputedStyle(F,null).getPropertyValue("display")!=="none"}else{if(F.currentStyle){return F.currentStyle.display!=="none"}}};a.addEvent=function(G,F,H){if(G.attachEvent){G.attachEvent("on"+F,H)}else{G.addEventListener(F,H,false)}};a.removeEvent=function(G,F,H){if(G.detachEvent){G.detachEvent("on"+F,H)}else{G.removeEventListener(F,H,false)}};a.fixEolChars=function(F){F=F.replace(/\r\n/g,"\n");F=F.replace(/\r/g,"\n");return F};a.extendRegExp=function(H,J,G){if(J===null||J===undefined){J=""}if(G===null||G===undefined){G=""}var I=H.toString();var F;I=I.replace(/\/([gim]*)$/,"");F=s.$1;I=I.replace(/(^\/|\/$)/g,"");I=J+I+G;return new s(I,F)};a.createImage=function(F){var H=o+F;var G=E.createElement("img");G.className="wmd-button";G.src=H;return G};a.prompt=function(M,P,H){var I;var F;var K;var J=0;if(arguments.length==4){J=arguments[3]}if(P===undefined){P=""}var L=function(Q){var R=(Q.charCode||Q.keyCode);if(R===27){N(true)}};var N=function(Q){a.removeEvent(E.body,"keydown",L);var R=K.value;if(Q){R=null}else{R=R.replace("http://http://","http://");R=R.replace("http://https://","https://");R=R.replace("http://ftp://","ftp://");if(R.indexOf("http://")===-1&&R.indexOf("ftp://")===-1){R="http://"+R}}I.parentNode.removeChild(I);F.parentNode.removeChild(F);H(R);return false};var G=function(){F=E.createElement("div");F.className="wmd-prompt-background";style=F.style;style.position="absolute";style.top="0";style.zIndex="1000";if(v.isKonqueror){style.backgroundColor="transparent"}else{if(v.isIE){style.filter="alpha(opacity=50)"}else{style.opacity="0.5"}}var Q=C.getPageSize();style.height=Q[1]+"px";if(v.isIE){style.left=E.documentElement.scrollLeft;style.width=E.documentElement.clientWidth}else{style.left="0";style.width="100%"}E.body.appendChild(F)};var O=function(){I=E.createElement("div");I.className="wmd-prompt-dialog";I.style.padding="10px;";I.style.position="fixed";I.style.width="400px";I.style.zIndex="1001";var Q=E.createElement("div");Q.innerHTML=M;Q.style.padding="5px";I.appendChild(Q);var S=E.createElement("form");S.onsubmit=function(){return N(false)};style=S.style;style.padding="0";style.margin="0";style.cssFloat="left";style.width="100%";style.textAlign="center";style.position="relative";I.appendChild(S);K=E.createElement("input");if(J==1){K.id="image-url"}K.type="text";K.value=P;style=K.style;style.display="block";style.width="80%";style.marginLeft=style.marginRight="auto";S.appendChild(K);if(J==1){var R=E.createElement("div");R.innerHTML=n;R.style.padding="5px";S.appendChild(R)}var U=E.createElement("input");U.type="button";U.onclick=function(){return N(false)};U.value="OK";style=U.style;style.margin="10px";style.display="inline";style.width="7em";var T=E.createElement("input");T.type="button";T.onclick=function(){return N(true)};T.value="Cancel";style=T.style;style.margin="10px";style.display="inline";style.width="7em";if(/mac/.test(l.platform.toLowerCase())){S.appendChild(T);S.appendChild(U)}else{S.appendChild(U);S.appendChild(T)}a.addEvent(E.body,"keydown",L);I.style.top="50%";I.style.left="50%";I.style.display="block";if(v.isIE_5or6){I.style.position="absolute";I.style.top=E.documentElement.scrollTop+200+"px";I.style.left="50%"}E.body.appendChild(I);I.style.marginTop=-(C.getHeight(I)/2)+"px";I.style.marginLeft=-(C.getWidth(I)/2)+"px"};G();top.setTimeout(function(){O();var R=P.length;if(K.selectionStart!==undefined){K.selectionStart=0;K.selectionEnd=R}else{if(K.createTextRange){var Q=K.createTextRange();Q.collapse(false);Q.moveStart("character",-R);Q.moveEnd("character",R);Q.select()}}K.focus()},0)};C.getTop=function(H,G){var F=H.offsetTop;if(!G){while(H=H.offsetParent){F+=H.offsetTop}}return F};C.getHeight=function(F){return F.offsetHeight||F.scrollHeight};C.getWidth=function(F){return F.offsetWidth||F.scrollWidth};C.getPageSize=function(){var G,H;var F,K;if(self.innerHeight&&self.scrollMaxY){G=E.body.scrollWidth;H=self.innerHeight+self.scrollMaxY}else{if(E.body.scrollHeight>E.body.offsetHeight){G=E.body.scrollWidth;H=E.body.scrollHeight}else{G=E.body.offsetWidth;H=E.body.offsetHeight}}if(self.innerHeight){F=self.innerWidth;K=self.innerHeight}else{if(E.documentElement&&E.documentElement.clientHeight){F=E.documentElement.clientWidth;K=E.documentElement.clientHeight}else{if(E.body){F=E.body.clientWidth;K=E.body.clientHeight}}}var J=Math.max(G,F);var I=Math.max(H,K);return[J,I,F,K]};y.inputPoller=function(O,H){var F=this;var K=y.panels.input;var G;var I;var L;var J;this.tick=function(){if(!a.isVisible(K)){return}if(K.selectionStart||K.selectionStart===0){var Q=K.selectionStart;var P=K.selectionEnd;if(Q!=G||P!=I){G=Q;I=P;if(L!=K.value){L=K.value;return true}}}return false};var N=function(){if(!a.isVisible(K)){return}if(F.tick()){O()}};var M=function(){J=top.setInterval(N,H)};this.destroy=function(){top.clearInterval(J)};M()};y.undoManager=function(Q){var U=this;var O=[];var M=0;var L="none";var G;var R;var H;var K;var F=function(W,V){if(L!=W){L=W;if(!V){I()}}if(!v.isIE||L!="moving"){H=top.setTimeout(N,1)}else{K=null}};var N=function(){K=new y.TextareaState();R.tick();H=undefined};this.setCommandMode=function(){L="command";I();H=top.setTimeout(N,0)};this.canUndo=function(){return M>1};this.canRedo=function(){if(O[M+1]){return true}return false};this.undo=function(){if(U.canUndo()){if(G){G.restore();G=null}else{O[M]=new y.TextareaState();O[--M].restore();if(Q){Q()}}}L="none";y.panels.input.focus();N()};this.redo=function(){if(U.canRedo()){O[++M].restore();if(Q){Q()}}L="none";y.panels.input.focus();N()};var I=function(){var V=K||new y.TextareaState();if(!V){return false}if(L=="moving"){if(!G){G=V}return}if(G){if(O[M-1].text!=G.text){O[M++]=G}G=null}O[M++]=V;O[M+1]=null;if(Q){Q()}};var P=function(V){var X=false;if(V.ctrlKey||V.metaKey){var W=V.charCode||V.keyCode;var Y=String.fromCharCode(W);switch(Y){case"y":U.redo();X=true;break;case"z":if(!V.shiftKey){U.undo()}else{U.redo()}X=true;break}}if(X){if(V.preventDefault){V.preventDefault()}if(top.event){top.event.returnValue=false}return}};var T=function(V){if(!V.ctrlKey&&!V.metaKey){var W=V.keyCode;if((W>=33&&W<=40)||(W>=63232&&W<=63235)){F("moving")}else{if(W==8||W==46||W==127){F("deleting")}else{if(W==13){F("newlines")}else{if(W==27){F("escape")}else{if((W<16||W>20)&&W!=91){F("typing")}}}}}}};var J=function(){a.addEvent(y.panels.input,"keypress",function(W){if((W.ctrlKey||W.metaKey)&&(W.keyCode==89||W.keyCode==90)){W.preventDefault()}});var V=function(){if(v.isIE||(K&&K.text!=y.panels.input.value)){if(H==undefined){L="paste";I();N()}}};R=new y.inputPoller(V,x);a.addEvent(y.panels.input,"keydown",P);a.addEvent(y.panels.input,"keydown",T);a.addEvent(y.panels.input,"mousedown",function(){F("moving")});y.panels.input.onpaste=V;y.panels.input.ondrop=V};var S=function(){J();N();I()};this.destroy=function(){if(R){R.destroy()}};S()};y.editor=function(O){if(!O){O=function(){}}var L=y.panels.input;var I=0;var P=this;var K;var R;var G;var M;var N;var U=function(W){L.focus();if(W.textOp){if(N){N.setCommandMode()}var Y=new y.TextareaState();if(!Y){return}var Z=Y.getChunks();var V=function(){L.focus();if(Z){Y.setChunks(Z)}Y.restore();O()};var X=W.textOp(Z,V);if(!X){V()}}if(W.execute){W.execute(P)}};var S=function(){if(N){F(document.getElementById("wmd-undo-button"),N.canUndo());F(document.getElementById("wmd-redo-button"),N.canRedo())}};var F=function(V,X){var Y="0px";var Z="-20px";var W="-40px";if(X){V.style.backgroundPosition=V.XShift+" "+Y;V.onmouseover=function(){this.style.backgroundPosition=this.XShift+" "+W};V.onmouseout=function(){this.style.backgroundPosition=this.XShift+" "+Y};if(v.isIE){V.onmousedown=function(){y.ieRetardedClick=true;y.ieCachedRange=document.selection.createRange()}}if(!V.isHelp){V.onclick=function(){if(this.onmouseout){this.onmouseout()}U(this);return false}}}else{V.style.backgroundPosition=V.XShift+" "+Z;V.onmouseover=V.onmouseout=V.onclick=function(){}}};var J=function(){var Z=document.getElementById("wmd-button-bar");var W="0px";var Y="-20px";var ae="-40px";var ak=document.createElement("ul");ak.id="wmd-button-row";ak=Z.appendChild(ak);var ad=document.createElement("li");ad.className="wmd-button";ad.id="wmd-bold-button";ad.title=c;ad.XShift="0px";ad.textOp=h.doBold;F(ad,true);ak.appendChild(ad);var ac=document.createElement("li");ac.className="wmd-button";ac.id="wmd-italic-button";ac.title=f;ac.XShift="-20px";ac.textOp=h.doItalic;F(ac,true);ak.appendChild(ac);var ah=document.createElement("li");ah.className="wmd-spacer";ah.id="wmd-spacer1";ak.appendChild(ah);var ai=document.createElement("li");ai.className="wmd-button";ai.id="wmd-link-button";ai.title=z;ai.XShift="-40px";ai.textOp=function(ap,aq){return h.doLinkOrImage(ap,aq,false)};F(ai,true);ak.appendChild(ai);var al=document.createElement("li");al.className="wmd-button";al.id="wmd-quote-button";al.title=u;al.XShift="-60px";al.textOp=h.doBlockquote;F(al,true);ak.appendChild(al);var am=document.createElement("li");am.className="wmd-button";am.id="wmd-code-button";am.title=e;am.XShift="-80px";am.textOp=h.doCode;F(am,true);ak.appendChild(am);var aa=document.createElement("li");aa.className="wmd-button";aa.id="wmd-image-button";aa.title=d;aa.XShift="-100px";aa.textOp=function(ap,aq){return h.doLinkOrImage(ap,aq,true)};F(aa,true);ak.appendChild(aa);var ag=document.createElement("li");ag.className="wmd-spacer";ag.id="wmd-spacer2";ak.appendChild(ag);var ab=document.createElement("li");ab.className="wmd-button";ab.id="wmd-olist-button";ab.title=q;ab.XShift="-120px";ab.textOp=function(ap,aq){h.doList(ap,aq,true)};F(ab,true);ak.appendChild(ab);var ao=document.createElement("li");ao.className="wmd-button";ao.id="wmd-ulist-button";ao.title=t;ao.XShift="-140px";ao.textOp=function(ap,aq){h.doList(ap,aq,false)};F(ao,true);ak.appendChild(ao);var aj=document.createElement("li");aj.className="wmd-button";aj.id="wmd-heading-button";aj.title=i;aj.XShift="-160px";aj.textOp=h.doHeading;F(aj,true);ak.appendChild(aj);var X=document.createElement("li");X.className="wmd-button";X.id="wmd-hr-button";X.title=p;X.XShift="-180px";X.textOp=h.doHorizontalRule;F(X,true);ak.appendChild(X);var af=document.createElement("li");af.className="wmd-spacer";af.id="wmd-spacer3";ak.appendChild(af);var V=document.createElement("li");V.className="wmd-button";V.id="wmd-undo-button";V.title=m;V.XShift="-200px";V.execute=function(ap){ap.undo()};F(V,true);ak.appendChild(V);var an=document.createElement("li");an.className="wmd-button";an.id="wmd-redo-button";an.title=j;if(/win/.test(l.platform.toLowerCase())){an.title=j}else{an.title="重做 - Ctrl+Shift+Z"}an.XShift="-220px";an.execute=function(ap){ap.redo()};F(an,true);ak.appendChild(an);S()};var H=function(){if(/\?noundo/.test(E.location.href)){y.nativeUndo=true}if(!y.nativeUndo){N=new y.undoManager(function(){O();S()})}J();var W="keydown";if(v.isOpera){W="keypress"}a.addEvent(L,W,function(Y){if(Y.ctrlKey||Y.metaKey){var Z=Y.charCode||Y.keyCode;var X=String.fromCharCode(Z).toLowerCase();if(Z===46){X=""}if(Z===190){X="."}switch(X){case"b":U(document.getElementById("wmd-bold-button"));break;case"i":U(document.getElementById("wmd-italic-button"));break;case"l":U(document.getElementById("wmd-link-button"));break;case".":U(document.getElementById("wmd-quote-button"));break;case"k":U(document.getElementById("wmd-code-button"));break;case"g":U(document.getElementById("wmd-image-button"));break;case"o":U(document.getElementById("wmd-olist-button"));break;case"u":U(document.getElementById("wmd-ulist-button"));break;case"h":U(document.getElementById("wmd-heading-button"));break;case"r":U(document.getElementById("wmd-hr-button"));break;case"y":U(document.getElementById("wmd-redo-button"));break;case"z":if(Y.shiftKey){U(document.getElementById("wmd-redo-button"))}else{U(document.getElementById("wmd-undo-button"))}break;default:return}if(Y.preventDefault){Y.preventDefault()}if(top.event){top.event.returnValue=false}}});a.addEvent(L,"keyup",function(X){if(X.shiftKey&&!X.ctrlKey&&!X.metaKey){var Y=X.charCode||X.keyCode;if(Y===13){fakeButton={};fakeButton.textOp=h.doAutoindent;U(fakeButton)}}});if(L.form){var V=L.form.onsubmit;L.form.onsubmit=function(){Q();if(V){return V.apply(this,arguments)}}}};var Q=function(){if(y.showdown){var V=new y.showdown.converter()}var W=L.value;var X=function(){L.value=W};if(!/markdown/.test(y.wmd_env.output.toLowerCase())){if(V){L.value=V.makeHtml(W);top.setTimeout(X,0)}}return true};this.undo=function(){if(N){N.undo()}};this.redo=function(){if(N){N.redo()}};var T=function(){H()};this.destroy=function(){if(N){N.destroy()}if(G.parentNode){G.parentNode.removeChild(G)}if(L){L.style.marginTop=""}top.clearInterval(M)};T()};y.TextareaState=function(){var F=this;var G=y.panels.input;this.init=function(){if(!a.isVisible(G)){return}this.setInputAreaSelectionStartEnd();this.scrollTop=G.scrollTop;if(!this.text&&G.selectionStart||G.selectionStart===0){this.text=G.value}};this.setInputAreaSelection=function(){if(!a.isVisible(G)){return}if(G.selectionStart!==undefined&&!v.isOpera){G.focus();G.selectionStart=F.start;G.selectionEnd=F.end;G.scrollTop=F.scrollTop}else{if(E.selection){if(E.activeElement&&E.activeElement!==G){return}G.focus();var H=G.createTextRange();H.moveStart("character",-G.value.length);H.moveEnd("character",-G.value.length);H.moveEnd("character",F.end);H.moveStart("character",F.start);H.select()}}};this.setInputAreaSelectionStartEnd=function(){if(G.selectionStart||G.selectionStart===0){F.start=G.selectionStart;F.end=G.selectionEnd}else{if(E.selection){F.text=a.fixEolChars(G.value);var K;if(y.ieRetardedClick&&y.ieCachedRange){K=y.ieCachedRange;y.ieRetardedClick=false}else{K=E.selection.createRange()}var L=a.fixEolChars(K.text);var J="\x07";var I=J+L+J;K.text=I;var M=a.fixEolChars(G.value);K.moveStart("character",-I.length);K.text=L;F.start=M.indexOf(J);F.end=M.lastIndexOf(J)-J.length;var H=F.text.length-a.fixEolChars(G.value).length;if(H){K.moveStart("character",-L.length);while(H--){L+="\n";F.end+=1}K.text=L}this.setInputAreaSelection()}}};this.restore=function(){if(F.text!=undefined&&F.text!=G.value){G.value=F.text}this.setInputAreaSelection();G.scrollTop=F.scrollTop};this.getChunks=function(){var H=new y.Chunks();H.before=a.fixEolChars(F.text.substring(0,F.start));H.startTag="";H.selection=a.fixEolChars(F.text.substring(F.start,F.end));H.endTag="";H.after=a.fixEolChars(F.text.substring(F.end));H.scrollTop=F.scrollTop;return H};this.setChunks=function(H){H.before=H.before+H.startTag;H.after=H.endTag+H.after;if(v.isOpera){H.before=H.before.replace(/\n/g,"\r\n");H.selection=H.selection.replace(/\n/g,"\r\n");H.after=H.after.replace(/\n/g,"\r\n")}this.start=H.before.length;this.end=H.before.length+H.selection.length;this.text=H.before+H.selection+H.after;this.scrollTop=H.scrollTop};this.init()};y.Chunks=function(){};y.Chunks.prototype.findTags=function(G,I){var F=this;var H;if(G){H=a.extendRegExp(G,"","$");this.before=this.before.replace(H,function(J){F.startTag=F.startTag+J;return""});H=a.extendRegExp(G,"^","");this.selection=this.selection.replace(H,function(J){F.startTag=F.startTag+J;return""})}if(I){H=a.extendRegExp(I,"","$");this.selection=this.selection.replace(H,function(J){F.endTag=J+F.endTag;return""});H=a.extendRegExp(I,"^","");this.after=this.after.replace(H,function(J){F.endTag=J+F.endTag;return""})}};y.Chunks.prototype.trimWhitespace=function(F){this.selection=this.selection.replace(/^(\s*)/,"");if(!F){this.before+=s.$1}this.selection=this.selection.replace(/(\s*)$/,"");if(!F){this.after=s.$1+this.after}};y.Chunks.prototype.skipLines=function(H,G,F){if(H===undefined){H=1}if(G===undefined){G=1}H++;G++;var I;var J;this.selection=this.selection.replace(/(^\n*)/,"");this.startTag=this.startTag+s.$1;this.selection=this.selection.replace(/(\n*$)/,"");this.endTag=this.endTag+s.$1;this.startTag=this.startTag.replace(/(^\n*)/,"");this.before=this.before+s.$1;this.endTag=this.endTag.replace(/(\n*$)/,"");this.after=this.after+s.$1;if(this.before){I=J="";while(H--){I+="\\n?";J+="\n"}if(F){I="\\n*"}this.before=this.before.replace(new s(I+"$",""),J)}if(this.after){I=J="";while(G--){I+="\\n?";J+="\n"}if(F){I="\\n*"}this.after=this.after.replace(new s(I,""),J)}};h.prefixes="(?:\\s{4,}|\\s*>|\\s*-\\s+|\\s*\\d+\\.|=|\\+|-|_|\\*|#|\\s*\\[[^\n]]+\\]:)";h.unwrap=function(G){var F=new s("([^\\n])\\n(?!(\\n|"+h.prefixes+"))","g");G.selection=G.selection.replace(F,"$1 $2")};h.wrap=function(G,F){h.unwrap(G);var H=new s("(.{1,"+F+"})( +|$\\n?)","gm");G.selection=G.selection.replace(H,function(I,J){if(new s("^"+h.prefixes,"").test(I)){return I}return J+"\n"});G.selection=G.selection.replace(/\s+$/,"")};h.doBold=function(F,G){return h.doBorI(F,G,2,"strong text")};h.doItalic=function(F,G){return h.doBorI(F,G,1,"emphasized text")};h.doBorI=function(L,J,K,F){L.trimWhitespace();L.selection=L.selection.replace(/\n{2,}/g,"\n");L.before.search(/(\**$)/);var I=s.$1;L.after.search(/(^\**)/);var G=s.$1;var M=Math.min(I.length,G.length);if((M>=K)&&(M!=2||K!=1)){L.before=L.before.replace(s("[*]{"+K+"}$",""),"");L.after=L.after.replace(s("^[*]{"+K+"}",""),"")}else{if(!L.selection&&G){L.after=L.after.replace(/^([*_]*)/,"");L.before=L.before.replace(/(\s?)$/,"");var H=s.$1;L.before=L.before+G+H}else{if(!L.selection&&!G){L.selection=F}var N=K<=1?"*":"**";L.before=L.before+N;L.after=N+L.after}}return};h.stripLinkDefs=function(G,F){G=G.replace(/^[ ]{0,3}\[(\d+)\]:[ \t]*\n?[ \t]*?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|$)/gm,function(K,L,H,I,J){F[L]=K.replace(/\s*$/,"");if(I){F[L]=K.replace(/["(](.+?)[")]$/,"");return I+J}return""});return G};h.addLinkDef=function(M,I){var F=0;var H={};M.before=h.stripLinkDefs(M.before,H);M.selection=h.stripLinkDefs(M.selection,H);M.after=h.stripLinkDefs(M.after,H);var G="";var L=/(\[(?:\[[^\]]*\]|[^\[\]])*\][ ]?(?:\n[ ]*)?\[)(\d+)(\])/g;var K=function(O){F++;O=O.replace(/^[ ]{0,3}\[(\d+)\]:/," ["+F+"]:");G+="\n"+O};var J=function(P,Q,R,O){if(H[R]){K(H[R]);return Q+F+O}return P};M.before=M.before.replace(L,J);if(I){K(I)}else{M.selection=M.selection.replace(L,J)}var N=F;M.after=M.after.replace(L,J);if(M.after){M.after=M.after.replace(/\n*$/,"")}if(!M.after){M.selection=M.selection.replace(/\n*$/,"")}M.after+="\n\n"+G;return N};h.doLinkOrImage=function(F,G,I){F.trimWhitespace();F.findTags(/\s*!?\[/,/\][ ]?(?:\n[ ]*)?(\[.*?\])?/);if(F.endTag.length>1){F.startTag=F.startTag.replace(/!?\[/,"");F.endTag="";h.addLinkDef(F,null)}else{if(/\n\n/.test(F.selection)){h.addLinkDef(F,null);return}var H=function(L){if(L!==null){F.startTag=F.endTag="";var K=" [999]: "+L;var J=h.addLinkDef(F,K);F.startTag=I?"![":"[";F.endTag="]["+J+"]";if(!F.selection){if(I){F.selection="alt text"}else{F.selection="link text"}}}G()};if(I){a.prompt(B,b,H,1)}else{a.prompt(D,g,H)}return true}};a.makeAPI=function(){y.wmd={};y.wmd.editor=y.editor;y.wmd.previewManager=y.previewManager};a.startEditor=function(){if(y.wmd_env.autostart===false){a.makeAPI();return}var G;var F;var H=function(){y.panels=new y.PanelCollection();F=new y.previewManager();var I=F.refresh;G=new y.editor(I);F.refresh(true)};a.addEvent(top,"load",H)};y.previewManager=function(){var H=this;var V;var F;var N;var M;var S;var O;var I=3000;var P="delayed";var K=function(X,Y){a.addEvent(X,"input",Y);X.onpaste=Y;X.ondrop=Y;a.addEvent(X,"keypress",Y);a.addEvent(X,"keydown",Y);F=new y.inputPoller(Y,A)};var R=function(){var X=0;if(top.innerHeight){X=top.pageYOffset}else{if(E.documentElement&&E.documentElement.scrollTop){X=E.documentElement.scrollTop}else{if(E.body){X=E.body.scrollTop}}}return X};var L=function(){if(!y.panels.preview&&!y.panels.output){return}var Z=y.panels.input.value;if(Z&&Z==S){return}else{S=Z}var Y=new Date().getTime();if(!V&&y.showdown){V=new y.showdown.converter()}if(V){Z=V.makeHtml(Z)}var X=new Date().getTime();M=X-Y;G(Z);O=Z};var U=function(){if(N){top.clearTimeout(N);N=undefined}if(P!=="manual"){var X=0;if(P==="delayed"){X=M}if(X>I){X=I}N=top.setTimeout(L,X)}};var J=function(X){if(X.scrollHeight<=X.clientHeight){return 1}return X.scrollTop/(X.scrollHeight-X.clientHeight)};var W=function(){if(y.panels.preview){y.panels.preview.scrollTop=(y.panels.preview.scrollHeight-y.panels.preview.clientHeight)*J(y.panels.preview)}if(y.panels.output){y.panels.output.scrollTop=(y.panels.output.scrollHeight-y.panels.output.clientHeight)*J(y.panels.output)}};this.refresh=function(X){if(X){S="";L()}else{U()}};this.processingTime=function(){return M};this.output=function(){return O};this.setUpdateMode=function(X){P=X;H.refresh()};var Q=true;var G=function(aa){var X=C.getTop(y.panels.input)-R();if(y.panels.output){if(y.panels.output.value!==undefined){y.panels.output.value=aa;y.panels.output.readOnly=true}else{var Z=aa.replace(/&/g,"&");Z=Z.replace(/"+Z+"
    "}}if(y.panels.preview){y.panels.preview.innerHTML=aa}W();if(Q){Q=false;return}var Y=C.getTop(y.panels.input)-R();if(v.isIE){top.setTimeout(function(){top.scrollBy(0,Y-X)},0)}else{top.scrollBy(0,Y-X)}};var T=function(){K(y.panels.input,U);L();if(y.panels.preview){y.panels.preview.scrollTop=0}if(y.panels.output){y.panels.output.scrollTop=0}};this.destroy=function(){if(F){F.destroy()}};T()};h.doAutoindent=function(F,G){F.before=F.before.replace(/(\n|^)[ ]{0,3}([*+-]|\d+[.])[ \t]*\n$/,"\n\n");F.before=F.before.replace(/(\n|^)[ ]{0,3}>[ \t]*\n$/,"\n\n");F.before=F.before.replace(/(\n|^)[ \t]+\n$/,"\n\n");if(/(\n|^)[ ]{0,3}([*+-]|\d+[.])[ \t]+.*\n$/.test(F.before)){if(h.doList){h.doList(F)}}if(/(\n|^)[ ]{0,3}>[ \t]+.*\n$/.test(F.before)){if(h.doBlockquote){h.doBlockquote(F)}}if(/(\n|^)(\t|[ ]{4,}).*\n$/.test(F.before)){if(h.doCode){h.doCode(F)}}};h.doBlockquote=function(F,G){F.selection=F.selection.replace(/^(\n*)([^\r]+?)(\n*)$/,function(L,K,J,I){F.before+=K;F.after=I+F.after;return J});F.before=F.before.replace(/(>[ \t]*)$/,function(J,I){F.selection=I+F.selection;return""});F.selection=F.selection.replace(/^(\s|>)+$/,"");F.selection=F.selection||"Blockquote";if(F.before){F.before=F.before.replace(/\n?$/,"\n")}if(F.after){F.after=F.after.replace(/^\n?/,"\n")}F.before=F.before.replace(/(((\n|^)(\n[ \t]*)*>(.+\n)*.*)+(\n[ \t]*)*$)/,function(I){F.startTag=I;return""});F.after=F.after.replace(/^(((\n|^)(\n[ \t]*)*>(.+\n)*.*)+(\n[ \t]*)*)/,function(I){F.endTag=I;return""});var H=function(J){var I=J?"> ":"";if(F.startTag){F.startTag=F.startTag.replace(/\n((>|\s)*)\n$/,function(L,K){return"\n"+K.replace(/^[ ]{0,3}>?[ \t]*$/gm,I)+"\n"})}if(F.endTag){F.endTag=F.endTag.replace(/^\n((>|\s)*)\n/,function(L,K){return"\n"+K.replace(/^[ ]{0,3}>?[ \t]*$/gm,I)+"\n"})}};if(/^(?![ ]{0,3}>)/m.test(F.selection)){h.wrap(F,y.wmd_env.lineLength-2);F.selection=F.selection.replace(/^/gm,"> ");H(true);F.skipLines()}else{F.selection=F.selection.replace(/^[ ]{0,3}> ?/gm,"");h.unwrap(F);H(false);if(!/^(\n|^)[ ]{0,3}>/.test(F.selection)&&F.startTag){F.startTag=F.startTag.replace(/\n{0,2}$/,"\n\n")}if(!/(\n|^)[ ]{0,3}>.*$/.test(F.selection)&&F.endTag){F.endTag=F.endTag.replace(/^\n{0,2}/,"\n\n")}}if(!/\n/.test(F.selection)){F.selection=F.selection.replace(/^(> *)/,function(I,J){F.startTag+=J;return""})}};h.doCode=function(F,G){var I=/\S[ ]*$/.test(F.before);var K=/^[ ]*\S/.test(F.after);if((!K&&!I)||/\n/.test(F.selection)){F.before=F.before.replace(/[ ]{4}$/,function(L){F.selection=L+F.selection;return""});var J=1;var H=1;if(/\n(\t|[ ]{4,}).*\n$/.test(F.before)){J=0}if(/^\n(\t|[ ]{4,})/.test(F.after)){H=0}F.skipLines(J,H);if(!F.selection){F.startTag=" ";F.selection="enter code here"}else{if(/^[ ]{0,3}\S/m.test(F.selection)){F.selection=F.selection.replace(/^/gm," ")}else{F.selection=F.selection.replace(/^[ ]{4}/gm,"")}}}else{F.trimWhitespace();F.findTags(/`/,/`/);if(!F.startTag&&!F.endTag){F.startTag=F.endTag="`";if(!F.selection){F.selection="enter code here"}}else{if(F.endTag&&!F.startTag){F.before+=F.endTag;F.endTag=""}else{F.startTag=F.endTag=""}}}};h.doList=function(Q,J,I){var S=/(\n|^)(([ ]{0,3}([*+-]|\d+[.])[ \t]+.*)(\n.+|\n{2,}([*+-].*|\d+[.])[ \t]+.*|\n{2,}[ \t]+\S.*)*)\n*$/;var R=/^\n*(([ ]{0,3}([*+-]|\d+[.])[ \t]+.*)(\n.+|\n{2,}([*+-].*|\d+[.])[ \t]+.*|\n{2,}[ \t]+\S.*)*)\n*/;var F="-";var N=1;var L=function(){var T;if(I){T=" "+N+". ";N++}else{T=" "+F+" "}return T};var M=function(T){if(I===undefined){I=/^\s*\d/.test(T)}T=T.replace(/^[ ]{0,3}([*+-]|\d+[.])\s/gm,function(U){return L()});return T};Q.findTags(/(\n|^)*[ ]{0,3}([*+-]|\d+[.])\s+/,null);if(Q.before&&!/\n$/.test(Q.before)&&!/^\n/.test(Q.startTag)){Q.before+=Q.startTag;Q.startTag=""}if(Q.startTag){var H=/\d+[.]/.test(Q.startTag);Q.startTag="";Q.selection=Q.selection.replace(/\n[ ]{4}/g,"\n");h.unwrap(Q);Q.skipLines();if(H){Q.after=Q.after.replace(R,M)}if(I==H){return}}var K=1;Q.before=Q.before.replace(S,function(T){if(/^\s*([*+-])/.test(T)){F=s.$1}K=/[^\n]\n\n[^\n]/.test(T)?1:0;return M(T)});if(!Q.selection){Q.selection="List item"}var O=L();var G=1;Q.after=Q.after.replace(R,function(T){G=/[^\n]\n\n[^\n]/.test(T)?1:0;return M(T)});Q.trimWhitespace(true);Q.skipLines(K,G,true);Q.startTag=O;var P=O.replace(/./g," ");h.wrap(Q,y.wmd_env.lineLength-P.length);Q.selection=Q.selection.replace(/\n/g,"\n"+P)};h.doHeading=function(H,I){H.selection=H.selection.replace(/\s+/g," ");H.selection=H.selection.replace(/(^\s+|\s+$)/g,"");if(!H.selection){H.startTag="## ";H.selection="Heading";H.endTag=" ##";return}var J=0;H.findTags(/#+[ ]*/,/[ ]*#+/);if(/#+/.test(H.startTag)){J=s.lastMatch.length}H.startTag=H.endTag="";H.findTags(null,/\s?(-+|=+)/);if(/=+/.test(H.endTag)){J=1}if(/-+/.test(H.endTag)){J=2}H.startTag=H.endTag="";H.skipLines(1,1);var K=J==0?2:J-1;if(K>0){var G=K>=2?"-":"=";var F=H.selection.length;if(F>y.wmd_env.lineLength){F=y.wmd_env.lineLength}H.endTag="\n";while(F--){H.endTag+=G}}};h.doHorizontalRule=function(F,G){F.startTag="----------\n";F.selection="";F.skipLines(2,1,true)}};Attacklab.wmd_env={};Attacklab.account_options={};Attacklab.wmd_defaults={version:1,output:"Markdown",lineLength:40,delayLoad:false};if(!Attacklab.wmd){Attacklab.wmd=function(){Attacklab.loadEnv=function(){var b=function(d){if(!d){return}for(var c in d){Attacklab.wmd_env[c]=d[c]}};b(Attacklab.wmd_defaults);b(Attacklab.account_options);b(top.wmd_options);Attacklab.full=true;var a="bold italic link blockquote code image ol ul heading hr";Attacklab.wmd_env.buttons=Attacklab.wmd_env.buttons||a};Attacklab.loadEnv()};Attacklab.wmd();Attacklab.wmdBase();Attacklab.Util.startEditor()}; \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd-test.html b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd-test.html deleted file mode 100644 index d748501..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd-test.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - Test WMD Page - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    - -

    To test that page up/down and arrow keys work, copy this above the WMD - control.

    - - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - Scroll Down!
    - - - - \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.css b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.css deleted file mode 100644 index c71ba6e..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.css +++ /dev/null @@ -1,138 +0,0 @@ -body -{ - background-color: White -} - -.wmd-panel -{ - width: 50%; - min-width: 500px; -} - -#wmd-editor -{ - background-color: Aquamarine; -} - -#wmd-button-bar -{ - width: 100%; - background-color: #ffffff; -} - -#wmd-input -{ - height: 500px; - width: 100%; - background-color: Gainsboro; - border: 1px solid DarkGray; -} - -#wmd-preview -{ - background-color: LightSkyBlue; -} - -#wmd-output -{ - background-color: Pink; -} - -#wmd-button-row -{ - position: relative; - margin-left: 5px; - margin-right: 5px; - margin-bottom: 5px; - margin-top: 10px; - padding: 0px; - height: 20px; - background-color:#ffffff; -} - -.wmd-spacer -{ - width: 1px; - height: 20px; - margin-left: 14px; - - position: absolute; - background-color:#aaaaaa; - display: inline-block; - list-style: none; -} - -.wmd-button -{ - width: 20px; - height: 20px; - margin-left: 5px; - margin-right: 5px; - background-color:#ffffff; - position: absolute; - background-image: url(images/wmd-buttons.png); - background-repeat: no-repeat; - background-position: 0px 0px; - display: inline-block; - list-style: none; -} - -.wmd-button > a -{ - width: 20px; - height: 20px; - margin-left: 5px; - margin-right: 5px; - - position: absolute; - display: inline-block; -} - - -/* sprite button slicing style information */ -#wmd-button-bar #wmd-bold-button {left: 0px; background-position: 0px 0;} -#wmd-button-bar #wmd-italic-button {left: 25px; background-position: -20px 0;} -#wmd-button-bar #wmd-spacer1 {left: 50px;} -#wmd-button-bar #wmd-link-button {left: 75px; background-position: -40px 0;} -#wmd-button-bar #wmd-quote-button {left: 100px; background-position: -60px 0;} -#wmd-button-bar #wmd-code-button {left: 125px; background-position: -80px 0;} -#wmd-button-bar #wmd-image-button {left: 150px; background-position: -100px 0;} -#wmd-button-bar #wmd-spacer2 {left: 175px;} -#wmd-button-bar #wmd-olist-button {left: 200px; background-position: -120px 0;} -#wmd-button-bar #wmd-ulist-button {left: 225px; background-position: -140px 0;} -#wmd-button-bar #wmd-heading-button {left: 250px; background-position: -160px 0;} -#wmd-button-bar #wmd-hr-button {left: 275px; background-position: -180px 0;} -#wmd-button-bar #wmd-spacer3 {left: 300px;} -#wmd-button-bar #wmd-undo-button {left: 325px; background-position: -200px 0;} -#wmd-button-bar #wmd-redo-button {left: 350px; background-position: -220px 0;} -#wmd-button-bar #wmd-help-button {right: 0px; background-position: -240px 0;} - - -.wmd-prompt-background -{ - background-color: Black; -} - -.wmd-prompt-dialog -{ - border: 1px solid #999999; - background-color: #F5F5F5; -} - -.wmd-prompt-dialog > div { - font-size: 0.8em; - font-family: arial, helvetica, sans-serif; -} - - -.wmd-prompt-dialog > form > input[type="text"] { - border: 1px solid #999999; - color: black; -} - -.wmd-prompt-dialog > form > input[type="button"]{ - border: 1px solid #888888; - font-family: trebuchet MS, helvetica, sans-serif; - font-size: 0.8em; - font-weight: bold; -} diff --git a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.js b/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.js deleted file mode 100644 index f541581..0000000 --- a/forum/modules/template_loader.py/forum/skins/default/media/js/wmd/wmd.js +++ /dev/null @@ -1,2448 +0,0 @@ -jQuery.extend({createUploadIframe:function(d,b){var a="jUploadFrame"+d;if(window.ActiveXObject){var c=document.createElement('
    - - - -""" % { - 'ApiServer' : server, - 'PublicKey' : public_key, - 'ErrorParam' : error_param, - } - - -def submit (recaptcha_challenge_field, - recaptcha_response_field, - private_key, - remoteip): - """ - Submits a reCAPTCHA request for verification. Returns RecaptchaResponse - for the request - - recaptcha_challenge_field -- The value of recaptcha_challenge_field from the form - recaptcha_response_field -- The value of recaptcha_response_field from the form - private_key -- your reCAPTCHA private key - remoteip -- the user's ip address - """ - - if not (recaptcha_response_field and recaptcha_challenge_field and - len (recaptcha_response_field) and len (recaptcha_challenge_field)): - return RecaptchaResponse (is_valid = False, error_code = 'incorrect-captcha-sol') - - - def encode_if_necessary(s): - if isinstance(s, unicode): - return s.encode('utf-8') - return s - - params = urllib.urlencode ({ - 'privatekey': encode_if_necessary(private_key), - 'remoteip' : encode_if_necessary(remoteip), - 'challenge': encode_if_necessary(recaptcha_challenge_field), - 'response' : encode_if_necessary(recaptcha_response_field), - }) - - request = urllib2.Request ( - url = "http://%s/verify" % VERIFY_SERVER, - data = params, - headers = { - "Content-type": "application/x-www-form-urlencoded", - "User-agent": "reCAPTCHA Python" - } - ) - - httpresp = urllib2.urlopen (request) - - return_values = httpresp.read ().splitlines (); - httpresp.close(); - - return_code = return_values [0] - - if (return_code == "true"): - return RecaptchaResponse (is_valid=True) - else: - return RecaptchaResponse (is_valid=False, error_code = return_values [1]) - - diff --git a/forum/modules/template_loader.py/forum_modules/recaptcha/settings.py b/forum/modules/template_loader.py/forum_modules/recaptcha/settings.py deleted file mode 100644 index ceeef72..0000000 --- a/forum/modules/template_loader.py/forum_modules/recaptcha/settings.py +++ /dev/null @@ -1,17 +0,0 @@ -from forum.settings import EXT_KEYS_SET -from forum.settings.base import Setting - -RECAPTCHA_PUB_KEY = Setting('RECAPTCHA_PUB_KEY', '', EXT_KEYS_SET, dict( -label = "Recaptch public key", -help_text = """ -Get this key at reCaptcha to enable -recaptcha anti spam through. -""", -required=False)) - -RECAPTCHA_PRIV_KEY = Setting('RECAPTCHA_PRIV_KEY', '', EXT_KEYS_SET, dict( -label = "Recaptch private key", -help_text = """ -This is the private key you'll get in the same place as the recaptcha public key. -""", -required=False)) diff --git a/forum/modules/template_loader.py/forum_modules/robotstxt/__init__.py b/forum/modules/template_loader.py/forum_modules/robotstxt/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum_modules/robotstxt/settings.py b/forum/modules/template_loader.py/forum_modules/robotstxt/settings.py deleted file mode 100644 index 44d576a..0000000 --- a/forum/modules/template_loader.py/forum_modules/robotstxt/settings.py +++ /dev/null @@ -1,23 +0,0 @@ -from forum.settings.base import Setting, SettingSet -from django.forms.widgets import Textarea -from django.core.urlresolvers import reverse -from forum.settings import APP_URL - -ROBOTS_SET = SettingSet('robots', 'Robots txt', "Set up the robots.txt file.", 3000) - -ROBOTS_FILE = Setting('ROBOTS_FILE', -"""Sitemap: %s/sitemap.xml - -User-Agent: * -Disallow: /accounts/ -Disallow: /users/ -Disallow: /revisions/ -Disallow: /search -Disallow: /matching_tags -Disallow: /*sort= -""" % APP_URL, ROBOTS_SET, dict( -label = "Robots.txt file", -help_text = """ -The robots.txt file search engine spiders will see. -""", -widget=Textarea(attrs={'rows': '20'}))) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/robotstxt/templates/robots.txt b/forum/modules/template_loader.py/forum_modules/robotstxt/templates/robots.txt deleted file mode 100644 index a93756d..0000000 --- a/forum/modules/template_loader.py/forum_modules/robotstxt/templates/robots.txt +++ /dev/null @@ -1,7 +0,0 @@ -User-Agent: * -Disallow: /accounts/ -Disallow: /users/ -Disallow: /revisions/ -Disallow: /search -Disallow: /matching_tags -Disallow: /*sort= \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/robotstxt/urls.py b/forum/modules/template_loader.py/forum_modules/robotstxt/urls.py deleted file mode 100644 index 0706886..0000000 --- a/forum/modules/template_loader.py/forum_modules/robotstxt/urls.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.conf.urls.defaults import * -from django.http import HttpResponse -import settings - -urlpatterns = patterns('', - (r'^robots.txt$', lambda r: HttpResponse(settings.ROBOTS_FILE.value)), -) diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/README.txt b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/README.txt deleted file mode 100644 index 7d65653..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/README.txt +++ /dev/null @@ -1,29 +0,0 @@ -Full text search (using sphinx search) - -Currently full text search works only with sphinx search engine -And builtin PostgreSQL (postgres only >= 8.3???) - -5.1 Instructions for Sphinx search setup -Sphinx at this time supports only MySQL and PostgreSQL databases -to enable this, install sphinx search engine and djangosphinx - -configure sphinx, sample configuration can be found in -sphinx/sphinx.conf file usually goes somewhere in /etc tree - -build osqa index first time manually - -% indexer --config /path/to/sphinx.conf --index osqa - -setup cron job to rebuild index periodically with command -your crontab entry may be something like - -0 9,15,21 * * * /usr/local/bin/indexer --config /etc/sphinx/sphinx.conf --all --rotate >/dev/null 2>&1 -adjust it as necessary this one will reindex three times a day at 9am 3pm and 9pm - -if your forum grows very big ( good luck with that :) you'll -need to two search indices one diff index and one main -please refer to online sphinx search documentation for the information -on the subject http://sphinxsearch.com/docs/ - -in settings.py look for INSTALLED_APPS -and uncomment #'djangosphinx', \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/__init__.py b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/__init__.py deleted file mode 100644 index b7250c8..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -try: - import djangosphinx - CAN_USE = True -except: - CAN_USE = False \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/dependencies.py b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/dependencies.py deleted file mode 100644 index 046ebfc..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/dependencies.py +++ /dev/null @@ -1,2 +0,0 @@ -DJANGO_APPS = ('djangosphinx', ) - diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/handlers.py b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/handlers.py deleted file mode 100644 index f00c64f..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/handlers.py +++ /dev/null @@ -1,4 +0,0 @@ -from forum.models import Question - -def question_search(keywords): - return Question.search.query(keywords) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/models.py b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/models.py deleted file mode 100644 index a188728..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/models.py +++ /dev/null @@ -1,11 +0,0 @@ -from forum.models import Question -from django.conf import settings -from djangosphinx.manager import SphinxSearch - -from djangosphinx.models import SphinxSearch - -Question.add_to_class('search', SphinxSearch( - index=' '.join(settings.SPHINX_SEARCH_INDICES), - mode='SPH_MATCH_ALL', - ) - ) diff --git a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/settings.py b/forum/modules/template_loader.py/forum_modules/sphinxfulltext/settings.py deleted file mode 100644 index 7c2da12..0000000 --- a/forum/modules/template_loader.py/forum_modules/sphinxfulltext/settings.py +++ /dev/null @@ -1,5 +0,0 @@ -SPHINX_API_VERSION = 0x113 #refer to djangosphinx documentation -SPHINX_SEARCH_INDICES=('osqa',) #a tuple of index names remember about a comma after the -#last item, especially if you have just one :) -SPHINX_SERVER='localhost' -SPHINX_PORT=3312 diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/__init__.py b/forum/modules/template_loader.py/forum_modules/sximporter/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/importer.py b/forum/modules/template_loader.py/forum_modules/sximporter/importer.py deleted file mode 100644 index 44f90d7..0000000 --- a/forum/modules/template_loader.py/forum_modules/sximporter/importer.py +++ /dev/null @@ -1,1002 +0,0 @@ -# -*- coding: utf-8 -*- - -from xml.dom import minidom -from datetime import datetime, timedelta -import time -import re -import os -import gc -from django.utils.translation import ugettext as _ -from django.template.defaultfilters import slugify -from forum.models.utils import dbsafe_encode -from orm import orm - -from django.utils.encoding import force_unicode - -try: - from cPickle import loads, dumps -except ImportError: - from pickle import loads, dumps - -from copy import deepcopy -from base64 import b64encode, b64decode -from zlib import compress, decompress - -from xml.sax import make_parser -from xml.sax.handler import ContentHandler - -class SXTableHandler(ContentHandler): - def __init__(self, fname, callback): - self.in_row = False - self.el_data = {} - self.ch_data = '' - - self.fname = fname.lower() - self.callback = callback - - def startElement(self, name, attrs): - if name.lower() == self.fname: - pass - elif name.lower() == "row": - self.in_row = True - - def characters(self, ch): - self.ch_data += ch - - def endElement(self, name): - if name.lower() == self.fname: - pass - elif name.lower() == "row": - self.callback(self.el_data) - - self.in_row = False - del self.el_data - self.el_data = {} - elif self.in_row: - self.el_data[name.lower()] = self.ch_data.strip() - del self.ch_data - self.ch_data = '' - - -def readTable(path, name, callback): - parser = make_parser() - handler = SXTableHandler(name, callback) - parser.setContentHandler(handler) - - f = os.path.join(path, "%s.xml" % name) - parser.parse(f) - - -def dbsafe_encode(value): - return force_unicode(b64encode(compress(dumps(deepcopy(value))))) - -def getText(el): - rc = "" - for node in el.childNodes: - if node.nodeType == node.TEXT_NODE: - rc = rc + node.data - return rc.strip() - -msstrip = re.compile(r'^(.*)\.\d+') -def readTime(ts): - noms = msstrip.match(ts) - if noms: - ts = noms.group(1) - - return datetime(*time.strptime(ts, '%Y-%m-%dT%H:%M:%S')[0:6]) - -#def readEl(el): -# return dict([(n.tagName.lower(), getText(n)) for n in el.childNodes if n.nodeType == el.ELEMENT_NODE]) - -#def readTable(dump, name): -# for e in minidom.parseString(dump.read("%s.xml" % name)).getElementsByTagName('row'): -# yield readEl(e) -#return [readEl(e) for e in minidom.parseString(dump.read("%s.xml" % name)).getElementsByTagName('row')] - -google_accounts_lookup = re.compile(r'^https?://www.google.com/accounts/') -yahoo_accounts_lookup = re.compile(r'^https?://me.yahoo.com/a/') - -openid_lookups = [ - re.compile(r'^https?://www.google.com/profiles/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://me.yahoo.com/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://openid.aol.com/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://(?P\w+(\.\w+)*).myopenid.com/?$'), - re.compile(r'^https?://flickr.com/(\w+/)*(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://technorati.com/people/technorati/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://(?P\w+(\.\w+)*).wordpress.com/?$'), - re.compile(r'^https?://(?P\w+(\.\w+)*).blogspot.com/?$'), - re.compile(r'^https?://(?P\w+(\.\w+)*).livejournal.com/?$'), - re.compile(r'^https?://claimid.com/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://(?P\w+(\.\w+)*).pip.verisignlabs.com/?$'), - re.compile(r'^https?://getopenid.com/(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://[\w\.]+/(\w+/)*(?P\w+(\.\w+)*)/?$'), - re.compile(r'^https?://(?P[\w\.]+)/?$'), - ] - -def final_username_attempt(sxu): - openid = sxu.get('openid', None) - - if openid: - if google_accounts_lookup.search(openid): - return UnknownGoogleUser(sxu.get('id')) - if yahoo_accounts_lookup.search(openid): - return UnknownYahooUser(sxu.get('id')) - - for lookup in openid_lookups: - if lookup.search(openid): - return lookup.search(openid).group('uname') - - return UnknownUser(sxu.get('id')) - -class UnknownUser(object): - def __init__(self, id): - self._id = id - - def __str__(self): - return _("user-%(id)s") % {'id': self._id} - - def __unicode__(self): - return self.__str__() - - def encode(self, *args): - return self.__str__() - -class UnknownGoogleUser(UnknownUser): - def __str__(self): - return _("user-%(id)s (google)") % {'id': self._id} - -class UnknownYahooUser(UnknownUser): - def __str__(self): - return _("user-%(id)s (yahoo)") % {'id': self._id} - - -class IdMapper(dict): - def __getitem__(self, key): - key = int(key) - return super(IdMapper, self).get(key, 1) - - def __setitem__(self, key, value): - super(IdMapper, self).__setitem__(int(key), int(value)) - -class IdIncrementer(): - def __init__(self, initial): - self.value = initial - - def inc(self): - self.value += 1 - -openidre = re.compile('^https?\:\/\/') -def userimport(path, options): -#users = readTable(dump, "Users") - - usernames = [] - openids = set() - uidmapper = IdMapper() - #merged_users = [] - - owneruid = options.get('owneruid', None) - #check for empty values - if not owneruid: - owneruid = None - - def callback(sxu): - create = True - - if sxu.get('id') == '-1': - return - #print "\n".join(["%s : %s" % i for i in sxu.items()]) - if int(sxu.get('id')) == int(owneruid): - osqau = orm.User.objects.get(id=1) - for assoc in orm.AuthKeyUserAssociation.objects.filter(user=osqau): - openids.add(assoc.key) - uidmapper[owneruid] = 1 - uidmapper[-1] = 1 - create = False - else: - username = unicode(sxu.get('displayname', - sxu.get('displaynamecleaned', sxu.get('realname', final_username_attempt(sxu)))))[:30] - - if username in usernames: - #if options.get('mergesimilar', False) and sxu.get('email', 'INVALID') == user_by_name[username].email: - # osqau = user_by_name[username] - # create = False - # uidmapper[sxu.get('id')] = osqau.id - #else: - inc = 0 - - while True: - inc += 1 - totest = "%s %d" % (username[:29 - len(str(inc))], inc) - - if not totest in usernames: - username = totest - break - - sxbadges = sxu.get('badgesummary', None) - badges = {'1':'0', '2':'0', '3':'0'} - - if sxbadges: - badges.update(dict([b.split('=') for b in sxbadges.split()])) - - if create: - osqau = orm.User( - id = sxu.get('id'), - username = username, - password = '!', - email = sxu.get('email', ''), - is_superuser = sxu.get('usertypeid') == '5', - is_staff = sxu.get('usertypeid') == '4', - is_active = True, - date_joined = readTime(sxu.get('creationdate')), - last_seen = readTime(sxu.get('lastaccessdate')), - about = sxu.get('aboutme', ''), - date_of_birth = sxu.get('birthday', None) and readTime(sxu['birthday']) or None, - email_isvalid = int(sxu.get('usertypeid')) > 2, - website = sxu.get('websiteurl', ''), - reputation = int(sxu.get('reputation')), - gold = int(badges['1']), - silver = int(badges['2']), - bronze = int(badges['3']), - real_name = sxu.get('realname', '')[:30], - location = sxu.get('location', ''), - ) - - osqau.save() - - user_joins = orm.Action( - action_type = "userjoins", - action_date = osqau.date_joined, - user = osqau - ) - user_joins.save() - - rep = orm.ActionRepute( - value = 1, - user = osqau, - date = osqau.date_joined, - action = user_joins - ) - rep.save() - - try: - orm.SubscriptionSettings.objects.get(user=osqau) - except: - s = orm.SubscriptionSettings(user=osqau) - s.save() - - uidmapper[osqau.id] = osqau.id - else: - new_about = sxu.get('aboutme', None) - if new_about and osqau.about != new_about: - if osqau.about: - osqau.about = "%s\n|\n%s" % (osqau.about, new_about) - else: - osqau.about = new_about - - osqau.username = sxu.get('displayname', - sxu.get('displaynamecleaned', sxu.get('realname', final_username_attempt(sxu)))) - osqau.email = sxu.get('email', '') - osqau.reputation += int(sxu.get('reputation')) - osqau.gold += int(badges['1']) - osqau.silver += int(badges['2']) - osqau.bronze += int(badges['3']) - - osqau.date_joined = readTime(sxu.get('creationdate')) - osqau.website = sxu.get('websiteurl', '') - osqau.date_of_birth = sxu.get('birthday', None) and readTime(sxu['birthday']) or None - osqau.location = sxu.get('location', '') - osqau.real_name = sxu.get('realname', '') - - #merged_users.append(osqau.id) - osqau.save() - - usernames.append(osqau.username) - - openid = sxu.get('openid', None) - if openid and openidre.match(openid) and (not openid in openids): - assoc = orm.AuthKeyUserAssociation(user=osqau, key=openid, provider="openidurl") - assoc.save() - openids.add(openid) - - openidalt = sxu.get('openidalt', None) - if openidalt and openidre.match(openidalt) and (not openidalt in openids): - assoc = orm.AuthKeyUserAssociation(user=osqau, key=openidalt, provider="openidurl") - assoc.save() - openids.add(openidalt) - - readTable(path, "Users", callback) - - if uidmapper[-1] == -1: - uidmapper[-1] = 1 - - return uidmapper - -def tagsimport(dump, uidmap): -#tags = readTable(dump, "Tags") - - tagmap = {} - - def callback(sxtag): - otag = orm.Tag( - id = int(sxtag['id']), - name = sxtag['name'], - used_count = int(sxtag['count']), - created_by_id = uidmap[sxtag.get('userid', 1)], - ) - otag.save() - - tagmap[otag.name] = otag - - readTable(dump, "Tags", callback) - - return tagmap - -def add_post_state(name, post, action): - if not "(%s)" % name in post.state_string: - post.state_string = "%s(%s)" % (post.state_string, name) - post.save() - - try: - state = orm.NodeState.objects.get(node=post, state_type=name) - state.action = action - state.save() - except: - state = orm.NodeState(node=post, state_type=name, action=action) - state.save() - -def remove_post_state(name, post): - if "(%s)" % name in post.state_string: - try: - state = orm.NodeState.objects.get(state_type=name, post=post) - state.delete() - except: - pass - post.state_string = "".join("(%s)" % s for s in re.findall('\w+', post.state_string) if s != name) - -def postimport(dump, uidmap, tagmap): -#history = {} -#accepted = {} - all = [] - - #for h in readTable(dump, "PostHistory"): - # if not history.get(h.get('postid'), None): - # history[h.get('postid')] = [] - # - # history[h.get('postid')].append(h) - - #posts = readTable(dump, "Posts") - - def callback(sxpost): - nodetype = (sxpost.get('posttypeid') == '1') and "nodetype" or "answer" - - post = orm.Node( - node_type = nodetype, - id = sxpost['id'], - added_at = readTime(sxpost['creationdate']), - body = sxpost['body'], - score = sxpost.get('score', 0), - author_id = sxpost.get('deletiondate', None) and 1 or uidmap[sxpost.get('owneruserid', 1)] - ) - - post.save() - - create_action = orm.Action( - action_type = (nodetype == "nodetype") and "ask" or "answer", - user_id = post.author_id, - node = post, - action_date = post.added_at - ) - - create_action.save() - - if sxpost.get('lasteditoruserid', None): - revise_action = orm.Action( - action_type = "revise", - user_id = uidmap[sxpost.get('lasteditoruserid')], - node = post, - action_date = readTime(sxpost['lasteditdate']), - ) - - revise_action.save() - post.last_edited = revise_action - - if sxpost.get('communityowneddate', None): - wikify_action = orm.Action( - action_type = "wikify", - user_id = 1, - node = post, - action_date = readTime(sxpost['communityowneddate']) - ) - - wikify_action.save() - add_post_state("wiki", post, wikify_action) - - if sxpost.get('lastactivityuserid', None): - post.last_activity_by_id = uidmap[sxpost['lastactivityuserid']] - post.last_activity_at = readTime(sxpost['lastactivitydate']) - - if sxpost.get('posttypeid') == '1': #question - post.node_type = "question" - post.title = sxpost['title'] - - tagnames = sxpost['tags'].replace(u'ö', '-').replace(u'é', '').replace(u'à', '') - post.tagnames = tagnames - - post.extra_count = sxpost.get('viewcount', 0) - - add_tags_to_post(post, tagmap) - - else: - post.parent_id = sxpost['parentid'] - - post.save() - - all.append(int(post.id)) - - del post - - readTable(dump, "Posts", callback) - - return all - -def comment_import(dump, uidmap, posts): -#comments = readTable(dump, "PostComments") - currid = IdIncrementer(max(posts)) - mapping = {} - - def callback(sxc): - currid.inc() - oc = orm.Node( - id = currid.value, - node_type = "comment", - added_at = readTime(sxc['creationdate']), - author_id = uidmap[sxc.get('userid', 1)], - body = sxc['text'], - parent_id = sxc.get('postid'), - ) - - if sxc.get('deletiondate', None): - delete_action = orm.Action( - action_type = "delete", - user_id = uidmap[sxc['deletionuserid']], - action_date = readTime(sxc['deletiondate']) - ) - - oc.author_id = uidmap[sxc['deletionuserid']] - oc.save() - - delete_action.node = oc - delete_action.save() - - add_post_state("deleted", oc, delete_action) - else: - oc.author_id = uidmap[sxc.get('userid', 1)] - oc.save() - - create_action = orm.Action( - action_type = "comment", - user_id = oc.author_id, - node = oc, - action_date = oc.added_at - ) - - create_action.save() - oc.save() - - posts.append(int(oc.id)) - mapping[int(sxc['id'])] = int(oc.id) - - readTable(dump, "PostComments", callback) - return posts, mapping - - -def add_tags_to_post(post, tagmap): - tags = [tag for tag in [tagmap.get(name.strip()) for name in post.tagnames.split(u' ') if name] if tag] - post.tagnames = " ".join([t.name for t in tags]).strip() - post.tags = tags - create_and_activate_revision(post) - - -def create_and_activate_revision(post): - rev = orm.NodeRevision( - author_id = post.author_id, - body = post.body, - node_id = post.id, - revised_at = post.added_at, - revision = 1, - summary = 'Initial revision', - tagnames = post.tagnames, - title = post.title, - ) - - rev.save() - post.active_revision_id = rev.id - post.save() - -def post_vote_import(dump, uidmap, posts): -#votes = readTable(dump, "Posts2Votes") - close_reasons = {} - - def close_callback(r): - close_reasons[r['id']] = r['name'] - - readTable(dump, "CloseReasons", close_callback) - - user2vote = [] - - def callback(sxv): - action = orm.Action( - user_id=uidmap[sxv['userid']], - action_date = readTime(sxv['creationdate']), - ) - - if not int(sxv['postid']) in posts: return - node = orm.Node.objects.get(id=sxv['postid']) - action.node = node - - if sxv['votetypeid'] == '1': - answer = node - question = orm.Node.objects.get(id=answer.parent_id) - - action.action_type = "acceptanswer" - action.save() - - answer.marked = True - - question.extra_ref_id = answer.id - - answer.save() - question.save() - - elif sxv['votetypeid'] in ('2', '3'): - if not (action.node.id, action.user_id) in user2vote: - user2vote.append((action.node.id, action.user_id)) - - action.action_type = (sxv['votetypeid'] == '2') and "voteup" or "votedown" - action.save() - - ov = orm.Vote( - node_id = action.node.id, - user_id = action.user_id, - voted_at = action.action_date, - value = sxv['votetypeid'] == '2' and 1 or -1, - action = action - ) - ov.save() - else: - action.action_type = "unknown" - action.save() - - elif sxv['votetypeid'] in ('4', '12', '13'): - action.action_type = "flag" - action.save() - - of = orm.Flag( - node = action.node, - user_id = action.user_id, - flagged_at = action.action_date, - reason = '', - action = action - ) - - of.save() - - elif sxv['votetypeid'] == '5': - action.action_type = "favorite" - action.save() - - elif sxv['votetypeid'] == '6': - action.action_type = "close" - action.extra = dbsafe_encode(close_reasons[sxv['comment']]) - action.save() - - node.marked = True - node.save() - - elif sxv['votetypeid'] == '7': - action.action_type = "unknown" - action.save() - - node.marked = False - node.save() - - remove_post_state("closed", node) - - elif sxv['votetypeid'] == '10': - action.action_type = "delete" - action.save() - - elif sxv['votetypeid'] == '11': - action.action_type = "unknown" - action.save() - - remove_post_state("deleted", node) - - else: - action.action_type = "unknown" - action.save() - - if sxv.get('targetrepchange', None): - rep = orm.ActionRepute( - action = action, - date = action.action_date, - user_id = uidmap[sxv['targetuserid']], - value = int(sxv['targetrepchange']) - ) - - rep.save() - - if sxv.get('voterrepchange', None): - rep = orm.ActionRepute( - action = action, - date = action.action_date, - user_id = uidmap[sxv['userid']], - value = int(sxv['voterrepchange']) - ) - - rep.save() - - if action.action_type in ("acceptanswer", "delete", "close"): - state = {"acceptanswer": "accepted", "delete": "deleted", "close": "closed"}[action.action_type] - add_post_state(state, node, action) - - readTable(dump, "Posts2Votes", callback) - - -def comment_vote_import(dump, uidmap, comments): -#votes = readTable(dump, "Comments2Votes") - user2vote = [] - comments2score = {} - - def callback(sxv): - if sxv['votetypeid'] == "2": - comment_id = comments[int(sxv['postcommentid'])] - user_id = uidmap[sxv['userid']] - - if not (comment_id, user_id) in user2vote: - user2vote.append((comment_id, user_id)) - - action = orm.Action( - action_type = "voteupcomment", - user_id = user_id, - action_date = readTime(sxv['creationdate']), - node_id = comment_id - ) - action.save() - - ov = orm.Vote( - node_id = comment_id, - user_id = user_id, - voted_at = action.action_date, - value = 1, - action = action - ) - - ov.save() - - if not comment_id in comments2score: - comments2score[comment_id] = 1 - else: - comments2score[comment_id] += 1 - - readTable(dump, "Comments2Votes", callback) - - for cid, score in comments2score.items(): - orm.Node.objects.filter(id=cid).update(score=score) - - -def badges_import(dump, uidmap, post_list): -#node_ctype = orm['contenttypes.contenttype'].objects.get(name='node') - - sxbadges = {} - - def sxcallback(b): - sxbadges[int(b['id'])] = b - - readTable(dump, "Badges", sxcallback) - - obadges = dict([(b.cls, b) for b in orm.Badge.objects.all()]) - user_badge_count = {} - - sx_to_osqa = {} - - for id, sxb in sxbadges.items(): - cls = "".join(sxb['name'].replace('&', 'And').split(' ')) - - if cls in obadges: - sx_to_osqa[id] = obadges[cls] - else: - osqab = orm.Badge( - cls = cls, - awarded_count = 0, - type = sxb['class'] - ) - osqab.save() - sx_to_osqa[id] = osqab - - osqaawards = [] - - def callback(sxa): - badge = sx_to_osqa[int(sxa['badgeid'])] - - user_id = uidmap[sxa['userid']] - if not user_badge_count.get(user_id, None): - user_badge_count[user_id] = 0 - - action = orm.Action( - action_type = "award", - user_id = user_id, - action_date = readTime(sxa['date']) - ) - - action.save() - - osqaa = orm.Award( - user_id = uidmap[sxa['userid']], - badge = badge, - node_id = post_list[user_badge_count[user_id]], - awarded_at = action.action_date, - action = action - ) - - osqaa.save() - badge.awarded_count += 1 - user_badge_count[user_id] += 1 - - readTable(dump, "Users2Badges", callback) - - for badge in obadges.values(): - badge.save() - -def pages_import(dump, currid): - currid = IdIncrementer(currid) - registry = {} - #sx_pages = readTable(dump, "FlatPages") - - def callback(sxp): - currid.inc() - page = orm.Node( - id = currid.value, - node_type = "page", - title = sxp['name'], - body = b64decode(sxp['value']), - extra = dbsafe_encode({ - 'path': sxp['url'][1:], - 'mimetype': sxp['contenttype'], - 'template': (sxp['usemaster'] == "true") and "default" or "none", - 'render': "html", - 'sidebar': "", - 'sidebar_wrap': True, - 'sidebar_render': "html", - 'comments': False - }), - author_id = 1 - ) - - page.save() - registry[sxp['url'][1:]] = page.id - - create_action = orm.Action( - action_type = "newpage", - user_id = page.author_id, - node = page - ) - - create_action.save() - - if sxp['active'] == "true" and sxp['contenttype'] == "text/html": - pub_action = orm.Action( - action_type = "publish", - user_id = page.author_id, - node = page - ) - - pub_action.save() - add_post_state("published", page, pub_action) - - readTable(dump, "FlatPages", callback) - - kv = orm.KeyValue(key='STATIC_PAGE_REGISTRY', value=dbsafe_encode(registry)) - kv.save() - -sx2osqa_set_map = { -u'theme.html.name': 'APP_TITLE', -u'theme.html.footer': 'CUSTOM_FOOTER', -u'theme.html.sidebar': 'SIDEBAR_UPPER_TEXT', -u'theme.html.sidebar-low': 'SIDEBAR_LOWER_TEXT', -u'theme.html.welcome': 'APP_INTRO', -u'theme.html.head': 'CUSTOM_HEAD', -u'theme.html.header': 'CUSTOM_HEADER', -u'theme.css': 'CUSTOM_CSS', -} - -html_codes = ( -('&', '&'), -('<', '<'), -('>', '>'), -('"', '"'), -(''', "'"), -) - -def html_decode(html): - html = force_unicode(html) - - for args in html_codes: - html = html.replace(*args) - - return html - - -def static_import(dump): -#sx_sets = readTable(dump, "ThemeTextResources") - sx_unknown = {} - - def callback(set): - if unicode(set['name']) in sx2osqa_set_map: - try: - kv = orm.KeyValue.objects.get(key=sx2osqa_set_map[set['name']]) - kv.value = dbsafe_encode(html_decode(set['value'])) - except: - kv = orm.KeyValue( - key = sx2osqa_set_map[set['name']], - value = dbsafe_encode(html_decode(set['value'])) - ) - - kv.save() - else: - sx_unknown[set['name']] = html_decode(set['value']) - - readTable(dump, "ThemeTextResources", callback) - - unknown = orm.KeyValue(key='SXIMPORT_UNKNOWN_SETS', value=dbsafe_encode(sx_unknown)) - unknown.save() - -def disable_triggers(): - from south.db import db - if db.backend_name == "postgres": - db.execute_many(PG_DISABLE_TRIGGERS) - db.commit_transaction() - db.start_transaction() - -def enable_triggers(): - from south.db import db - if db.backend_name == "postgres": - db.start_transaction() - db.execute_many(PG_ENABLE_TRIGGERS) - db.commit_transaction() - -def reset_sequences(): - from south.db import db - if db.backend_name == "postgres": - db.start_transaction() - db.execute_many(PG_SEQUENCE_RESETS) - db.commit_transaction() - -def reindex_fts(): - from south.db import db - if db.backend_name == "postgres": - db.start_transaction() - db.execute_many("UPDATE forum_noderevision set id = id WHERE TRUE;") - db.commit_transaction() - - -def sximport(dump, options): - try: - disable_triggers() - triggers_disabled = True - except: - triggers_disabled = False - - uidmap = userimport(dump, options) - tagmap = tagsimport(dump, uidmap) - gc.collect() - - posts = postimport(dump, uidmap, tagmap) - gc.collect() - - posts, comments = comment_import(dump, uidmap, posts) - gc.collect() - - post_vote_import(dump, uidmap, posts) - gc.collect() - - comment_vote_import(dump, uidmap, comments) - gc.collect() - - badges_import(dump, uidmap, posts) - - pages_import(dump, max(posts)) - static_import(dump) - gc.collect() - - from south.db import db - db.commit_transaction() - - reset_sequences() - - if triggers_disabled: - enable_triggers() - reindex_fts() - - -PG_DISABLE_TRIGGERS = """ -ALTER table auth_user DISABLE TRIGGER ALL; -ALTER table auth_user_groups DISABLE TRIGGER ALL; -ALTER table auth_user_user_permissions DISABLE TRIGGER ALL; -ALTER table forum_keyvalue DISABLE TRIGGER ALL; -ALTER table forum_action DISABLE TRIGGER ALL; -ALTER table forum_actionrepute DISABLE TRIGGER ALL; -ALTER table forum_subscriptionsettings DISABLE TRIGGER ALL; -ALTER table forum_validationhash DISABLE TRIGGER ALL; -ALTER table forum_authkeyuserassociation DISABLE TRIGGER ALL; -ALTER table forum_tag DISABLE TRIGGER ALL; -ALTER table forum_markedtag DISABLE TRIGGER ALL; -ALTER table forum_node DISABLE TRIGGER ALL; -ALTER table forum_nodestate DISABLE TRIGGER ALL; -ALTER table forum_node_tags DISABLE TRIGGER ALL; -ALTER table forum_noderevision DISABLE TRIGGER ALL; -ALTER table forum_node_tags DISABLE TRIGGER ALL; -ALTER table forum_questionsubscription DISABLE TRIGGER ALL; -ALTER table forum_vote DISABLE TRIGGER ALL; -ALTER table forum_flag DISABLE TRIGGER ALL; -ALTER table forum_badge DISABLE TRIGGER ALL; -ALTER table forum_award DISABLE TRIGGER ALL; -ALTER table forum_openidnonce DISABLE TRIGGER ALL; -ALTER table forum_openidassociation DISABLE TRIGGER ALL; -""" - -PG_ENABLE_TRIGGERS = """ -ALTER table auth_user ENABLE TRIGGER ALL; -ALTER table auth_user_groups ENABLE TRIGGER ALL; -ALTER table auth_user_user_permissions ENABLE TRIGGER ALL; -ALTER table forum_keyvalue ENABLE TRIGGER ALL; -ALTER table forum_action ENABLE TRIGGER ALL; -ALTER table forum_actionrepute ENABLE TRIGGER ALL; -ALTER table forum_subscriptionsettings ENABLE TRIGGER ALL; -ALTER table forum_validationhash ENABLE TRIGGER ALL; -ALTER table forum_authkeyuserassociation ENABLE TRIGGER ALL; -ALTER table forum_tag ENABLE TRIGGER ALL; -ALTER table forum_markedtag ENABLE TRIGGER ALL; -ALTER table forum_node ENABLE TRIGGER ALL; -ALTER table forum_nodestate ENABLE TRIGGER ALL; -ALTER table forum_node_tags ENABLE TRIGGER ALL; -ALTER table forum_noderevision ENABLE TRIGGER ALL; -ALTER table forum_node_tags ENABLE TRIGGER ALL; -ALTER table forum_questionsubscription ENABLE TRIGGER ALL; -ALTER table forum_vote ENABLE TRIGGER ALL; -ALTER table forum_flag ENABLE TRIGGER ALL; -ALTER table forum_badge ENABLE TRIGGER ALL; -ALTER table forum_award ENABLE TRIGGER ALL; -ALTER table forum_openidnonce ENABLE TRIGGER ALL; -ALTER table forum_openidassociation ENABLE TRIGGER ALL; -""" - -PG_SEQUENCE_RESETS = """ -SELECT setval('"auth_user_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "auth_user"; -SELECT setval('"auth_user_groups_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "auth_user_groups"; -SELECT setval('"auth_user_user_permissions_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "auth_user_user_permissions"; -SELECT setval('"forum_keyvalue_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_keyvalue"; -SELECT setval('"forum_action_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_action"; -SELECT setval('"forum_actionrepute_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_actionrepute"; -SELECT setval('"forum_subscriptionsettings_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_subscriptionsettings"; -SELECT setval('"forum_validationhash_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_validationhash"; -SELECT setval('"forum_authkeyuserassociation_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_authkeyuserassociation"; -SELECT setval('"forum_tag_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_tag"; -SELECT setval('"forum_markedtag_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_markedtag"; -SELECT setval('"forum_node_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_node"; -SELECT setval('"forum_nodestate_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_nodestate"; -SELECT setval('"forum_node_tags_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_node_tags"; -SELECT setval('"forum_noderevision_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_noderevision"; -SELECT setval('"forum_node_tags_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_node_tags"; -SELECT setval('"forum_questionsubscription_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_questionsubscription"; -SELECT setval('"forum_vote_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_vote"; -SELECT setval('"forum_flag_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_flag"; -SELECT setval('"forum_badge_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_badge"; -SELECT setval('"forum_award_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_award"; -SELECT setval('"forum_openidnonce_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_openidnonce"; -SELECT setval('"forum_openidassociation_id_seq"', coalesce(max("id"), 1) + 2, max("id") IS NOT null) FROM "forum_openidassociation"; -""" - - - - diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/orm.py b/forum/modules/template_loader.py/forum_modules/sximporter/orm.py deleted file mode 100644 index ff23c85..0000000 --- a/forum/modules/template_loader.py/forum_modules/sximporter/orm.py +++ /dev/null @@ -1,265 +0,0 @@ -from south.v2 import DataMigration -from south.orm import FakeORM - -class Migration(DataMigration): - def forwards(self, orm): - pass - - - def backwards(self, orm): - "Write your backwards methods here." - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'forum.action': { - 'Meta': {'object_name': 'Action'}, - 'action_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'canceled_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'canceled_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'canceled_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'canceled_ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'real_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'proxied_actions'", 'null': 'True', 'to': "orm['forum.User']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actions'", 'to': "orm['forum.User']"}) - }, - 'forum.actionrepute': { - 'Meta': {'object_name': 'ActionRepute'}, - 'action': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.Action']"}), - 'by_canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'forum.authkeyuserassociation': { - 'Meta': {'object_name': 'AuthKeyUserAssociation'}, - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"}) - }, - 'forum.award': { - 'Meta': {'unique_together': "(('user', 'badge', 'node'),)", 'object_name': 'Award'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'award'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.Badge']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'trigger': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'null': 'True', 'to': "orm['forum.Action']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.badge': { - 'Meta': {'object_name': 'Badge'}, - 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'symmetrical': 'False', 'through': "orm['forum.Award']", 'to': "orm['forum.User']"}), - 'cls': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'type': ('django.db.models.fields.SmallIntegerField', [], {}) - }, - 'forum.flag': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Flag'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'flag'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.Node']"}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flags'", 'to': "orm['forum.User']"}) - }, - 'forum.keyvalue': { - 'Meta': {'object_name': 'KeyValue'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.markedtag': { - 'Meta': {'object_name': 'MarkedTag'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"}) - }, - 'forum.node': { - 'Meta': {'object_name': 'Node'}, - 'abs_parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'all_children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}), - 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'extra': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}), - 'extra_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'extra_ref': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']", 'null': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}), - 'last_edited': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'edited_node'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.Action']"}), - 'marked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}), - 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'state_string': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'symmetrical': 'False', 'to': "orm['forum.Tag']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.noderevision': { - 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}), - 'body': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}), - 'revised_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'forum.nodestate': { - 'Meta': {'unique_together': "(('node', 'state_type'),)", 'object_name': 'NodeState'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'node_state'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'states'", 'to': "orm['forum.Node']"}), - 'state_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'forum.openidassociation': { - 'Meta': {'object_name': 'OpenIdAssociation'}, - 'assoc_type': ('django.db.models.fields.TextField', [], {'max_length': '64'}), - 'handle': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issued': ('django.db.models.fields.IntegerField', [], {}), - 'lifetime': ('django.db.models.fields.IntegerField', [], {}), - 'secret': ('django.db.models.fields.TextField', [], {'max_length': '255'}), - 'server_url': ('django.db.models.fields.TextField', [], {'max_length': '2047'}) - }, - 'forum.openidnonce': { - 'Meta': {'object_name': 'OpenIdNonce'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'salt': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'server_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'timestamp': ('django.db.models.fields.IntegerField', [], {}) - }, - 'forum.questionsubscription': { - 'Meta': {'object_name': 'QuestionSubscription'}, - 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 7, 1, 13, 6, 46, 789996)'}), - 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.subscriptionsettings': { - 'Meta': {'object_name': 'SubscriptionSettings'}, - 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}), - 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}), - 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'send_digest': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"}) - }, - 'forum.tag': { - 'Meta': {'object_name': 'Tag'}, - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'symmetrical': 'False', 'through': "orm['forum.MarkedTag']", 'to': "orm['forum.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'forum.user': { - 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'bronze': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'gold': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'silver': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'subscriptions': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscribers'", 'symmetrical': 'False', 'through': "orm['forum.QuestionSubscription']", 'to': "orm['forum.Node']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}), - 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - 'forum.userproperty': { - 'Meta': {'unique_together': "(('user', 'key'),)", 'object_name': 'UserProperty'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'properties'", 'to': "orm['forum.User']"}), - 'value': ('forum.models.utils.PickledObjectField', [], {'null': 'True'}) - }, - 'forum.validationhash': { - 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'}, - 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 7, 2, 13, 6, 46, 883626)'}), - 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"}) - }, - 'forum.vote': { - 'Meta': {'unique_together': "(('user', 'node'),)", 'object_name': 'Vote'}, - 'action': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'vote'", 'unique': 'True', 'to': "orm['forum.Action']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.Node']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}), - 'value': ('django.db.models.fields.SmallIntegerField', [], {}), - 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}) - } - } - - complete_apps = ['forum'] - -orm = FakeORM(Migration, "forum") - diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/templates/page.html b/forum/modules/template_loader.py/forum_modules/sximporter/templates/page.html deleted file mode 100644 index 0011d1d..0000000 --- a/forum/modules/template_loader.py/forum_modules/sximporter/templates/page.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "osqaadmin/base.html" %} - -{% load i18n %} -{% load user_tags %} - -{% block subtitle %} - {% trans "SX Importer" %} -{% endblock %} -{% block description %} - {% trans "Welcome to Stack Exchange dump importer." %} -{% endblock %} - -{% block admincontent %} -
    -
    - {% trans "Your user id in stack exchange" %} -
    - - - {% trans "Merge users with same user name and email" %}
    - - -
    - {% for n in names %} -

    {{ n }}

    - {% endfor %} -{% endblock %} \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/urls.py b/forum/modules/template_loader.py/forum_modules/sximporter/urls.py deleted file mode 100644 index 85fa636..0000000 --- a/forum/modules/template_loader.py/forum_modules/sximporter/urls.py +++ /dev/null @@ -1,9 +0,0 @@ -from django.conf.urls.defaults import * -from django.views.generic.simple import direct_to_template -from django.utils.translation import ugettext as _ - -from views import sximporter - -urlpatterns = patterns('', - url(r'^%s%s$' % (_('admin/'), _('sximporter/')), sximporter, name='sximporter'), -) \ No newline at end of file diff --git a/forum/modules/template_loader.py/forum_modules/sximporter/views.py b/forum/modules/template_loader.py/forum_modules/sximporter/views.py deleted file mode 100644 index dcca241..0000000 --- a/forum/modules/template_loader.py/forum_modules/sximporter/views.py +++ /dev/null @@ -1,30 +0,0 @@ -from django.shortcuts import render_to_response -from django.template import RequestContext -from forum.views.admin import super_user_required -import importer -from zipfile import ZipFile -import os - -@super_user_required -def sximporter(request): - list = [] - if request.method == "POST" and "dump" in request.FILES: - dump = ZipFile(request.FILES['dump']) - members = [f for f in dump.namelist() if f.endswith('.xml')] - extract_to = os.path.join(os.path.dirname(__file__), 'tmp') - - if not os.path.exists(extract_to): - os.makedirs(extract_to) - - for m in members: - f = open(os.path.join(extract_to, m), 'w') - f.write(dump.read(m)) - f.close() - - #dump.extractall(extract_to, members) - dump.close() - importer.sximport(extract_to, request.POST) - - return render_to_response('modules/sximporter/page.html', { - 'names': list - }, context_instance=RequestContext(request)) diff --git a/forum/modules/template_loader.py/locale/bg/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/bg/LC_MESSAGES/django.mo deleted file mode 100755 index 31395edd39847496d082685d1ec15e6a2490e57c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 42055 zcmcJY37lPJdH)ZK2w{_bmy_xv&irddYqdpNty;I%jkenV_xC*SIrrR~Nx*;mzn`4> zo%fvgyzlcq`}>|H-#K*e4@Ugnzef}u4}SE3C^})!D4KeVjz-bLqg()|gYO4V06z;(2LCaf-)~|RT|)UR zQ0?Ce-UL1fs{J>d5=G;{i^0ReCE$@@AGjZQEBHF_F7OcW9+0M^hrzwTzX0C=ehGXt z_;=t@;L(%V!0Djcoev%cz716UDyaU~f+cV}cn~-V;?>XDpxU_v)bSg@1HlR?dTs&t z0oR7(>p<1p2#QaShx4Q1{5JxAALL*3Oa2@ToMamxAi=T2Oq> zfuer{I2(KnM1;{lgY&@GpUT+4g&-o0J_DW(elL`dL};S>Tu|*?0BT%Ufa-raxIb79 z$8QG3kGnw0?|yK9a671WKM(RRdWAn~Z{k#^^K4M<_JMRAHNbJ;!{DLdC&2x|9iaOC zGI%EVO;Fbz)Zy|!9z25bDWHze1l7)^pvHG4xHq^8G`WB#SMX|%ZwJ-ip`Gv;oCu2E zrJ&^SPVfNm2~hNJ1@{9#AIc-3^zr3T{w=sK<^864e}{rG<)cB-b1o?UUI&WK9`HJ_ z3?2x61yuXr1l8a7K|(JKI3%{b#{BU^K(& zn+u*xaUu9E@JCu5;3?2Nhrx;9EuiRn43yve zORyXK1t`C<45lmtSAx>huYjU+GC@G}T?0xE?*%3Q4}qfRaZuN91|`3*f#Tyohx0!J zCEx!5MQ=3I={gvc-W&$1o#R1WHwn~uXMpPO98mSHQ2P2AP~-V3C^>u+JQdt?mXEIk)Hu!tRsTFt%*Yh`#2~)c?Q(Dz6h${?}C!^4?wl^ zb5Qd8H8=_U9SF;!iL-s2J>V&n%b?`&K~Qr3D5(Cv5YCT+lIw3l)!XMn@Bau;n@whkxoIp7r%6Ec@ zD%uXJ-YcN`i|0DOE(A5s8^F`R2f^dPFN2cj4?y+*8*m?R?|I(u{-EeN7S#Ap3gwP) z{%lb6&kN_T4wwT^>U`sRUZzaLclH-+*V zQ0=S(WAHw3A8;EeIlc&<1AYS(-G^M_{GSNos-p#<{M}j*)<#>vy}?&N+4b*1wSV}0 zr+YjIOQJKtv%q0c^*`c%t`5iV0>zj6Kuk1x926gZ0LI`?!TrF47kIzNfEwSm zp!jnWsP;b&s{d!fao~%g{N+#{3FU8v^2^{})caRZ{QNnHD~%>CbpGeT#guOW#izdl z4+Z}Qymk-l2mDjY7cRnoQ2sec>Jj}H7rhmnc7@Zs4n!2uUxMP}5lg(?i$N}lHiGK+ zUqJD3;!=DkxCp!wd=Qk}ehErGUCW3S;0+)lFZwQcEO-KyPX^BcPXVt7<+t7i?hk$t zls-NJik{Db2Y?4&<^KIxu$S^2a4z_9Q1t!`l%9{j+T;BN;J%axz`Mbf;6H-VTin0D z466U%1w8p0_Xn4O^8fvy%qyC?+10=pM#?BN1*6C17;opUI2~bD!z_*Q`8(+*Jj@jLJ^a9@=2OW^UK^x*rT^!dL)(Xnrz%i$dG zD9TGf+0l*QB=BCa0zMC(3r_8Kf6@ycNqG>Yspw9y4E_|H3|?P!zj6l{?}7b*;``G# z`n>yxpy<46h08AoO0WJX;A5ct(k4)Jy$DL4FM-m}e+Sk7AtjHSlR+I{2JQ`3!TrG@ zQ1q+?HQrBxUEtq?2ZBcpxZO+y#qR~+zF-Mdzm0(J1*Nxt9PnvyKIJcf(!)a-yvjF% zm_)P%gk{kiV4lXY3S0x;2_6IPH|XO%36$PU2i5)@@O*F?I2XJZTmXI(ybV0%CTs)z z7`PCeQ}ubr`$5U)hae^vorDs84qOAO-bHoyhxdYN=SLu}DH>>af1d+Sro8t`*S{&? z0hDKfva8F$3&9E~d)*8k4E{BED)(@)*7bssm?EdNCo1NaJp!oGMFb4k|lzsdYcsBS7D7j64yYq1|D1P^Vl7AIE7Q8ha z{}8wz*!OuP=iqP~HH>;3n`%a1=z9qP44?o?n7$=f6S8|8SI4<2o0VeCC4R0SCc- zz(pv}EbuB&eE1+JKl3NxXTa^?@!;FndOI7z4^n;%oC==%F88y&pxS#f;I@D-g5t;L zLDBJD@FDOg;Ag=1-tPRq{0^u44p8#?FnB2V1Sq|D4pck;2A&8Wbf;q{cn0OmL0xwn zD0US$R6Z{OQ`o9BJf5u(p_TVf~<9-ZW3_b&n2lu_($9XC!y}LSK6_h;Q z3(60F0$c+A8TdNz@O2(Hjs@RG`5sVub>h2Sf36OA3n)4s17mO#xHmWoir%k-mx71A z$L;QI-~!4If;sTVpyapkyIWuW@q8zmGT2A%>=08a+zgYuhYuoHX& zJPmvaJRRKYk9?i!Y*2LPLFv;wK>4KyK*{xKP}hA8)cB+Ouu_H$fNF2w`(0no1V#6y;5)&azy|mWQ2q6N*y*o>S5kfq6n|a; zF9P>|!1LwHz^f^L7_5N*4t9V&A926?esEvPe+x<;-vOtCKLbwy;|Ezw2WNqYgC7CK z$Iak{;7j0S@YsjEojKr4$_qf*$K4^^uKDjNqBf(=H@&2ZRM^nBW zJQVB$CC8h=6T!Pd(fcv*C2%u%54i48&qt4Wj2w{iJ3-ak=c8^{2ZMW1{xaLU*_jJ| zo$Xc~p3T0-3}fP!Vb{9hvMsSqXa8Mn-(_Dv++fS^|4=%T^U3e~?EIK*3ftr1 z;4eY({y#%`7I-OJp6wjAg%V4coEd+;ytR@2zax+4?xX1w4vPzj2|S_HSmJ8_J(#Uplar?bmF$lBmeJ zTfh&p9l@qwjbo^nuZx4yU)`+}?3e#Q1i zw)@%6rv44!+e5p{*GE^tq__pu#Bc|TCUDqEfM8t^aKM%nc1VEbF! z^L%pw`(I=`gu0u-7sI(7I>uJvcmZ4q>Zi4sGS~pW23`X8vURgv#a3lYelLWbCE?g# zQ66Cb3h-2L3flvrj$+Ff*lq}Qi|nro=gt5>&$cm?CsF5G_T|6d6YA^KLHfh*Vvaoz z9%CiO8S4ByPN>V4KG_kz?nA`t`6K%=RV~!mj}?qE0T9F99#0{5|mcaBK$n7LJwK^xMR?U)W#E z{z|qd+4P&i@z;YtXIsej=WHi&>^|_FY*(`X2DUkDceCmDX|`L~zcZBWAb)Pol;6RA zC)>Nj$tS>Xv;9LT3;Htq|Hgh7^%sFBfTx1ThVxSc3XWtuE0j+QDA>T(nJH&?|Bk{p z!+~YsN7-`pu?^fGd>i-?wgcHue)HM+C${sF0|Czj-x2nYp#FQ<-z!{qH2XJ(bE`Ra zDBCrmJOI9q?K>)ui!;B8lXE>ig~56uzr1^Rd8t@lF{Kvw=W6kdjaofU&c#$K*MV;}KSBguOzG6A9 z6{;(XJ%w7_s1@Rw-Lq!q;{Ix(_stXf>-E8|Y11l$g>o_9SuWJ4O_;Ta!u+{2r{!kN zoYp-nt`~ax%N5!go*EDJ7pjGLxYDS`gSlF5s8Y?xxzbQ>xE9yy`rA_}_ZIVoa=l33 z-G%y4q0k%w*D=VvU+;tsRx2y1Urmn3`AT_G9j>h`#Pv#CEesR}y6tqOPTw%6;6sik zP99_g#Z~ZlSz%zXQq5I|!)V2N&NJ33XD3cpYs(P?g&Qlyav>knmgF!vxV)SjC~*9W zQ)WZ^z(Av1tPf|eMNoz1Lw0R$C|Av=7kB6KeTC$5D>N@lYUavuVO71Fqpy{@QbQe8 z3xkb%PJ)dGp`~8aFr8ND>tc7HP^;zosM~C>r&OuYF+;A@>dW(mT8~$)7IL*pxus^M zys}V51z~8SP}V`BH;_QDl{ja^MNpYuXwI&T%Y`B2+lL5>^^$koMo}SOR8@Fes4Yi{ zr4lqPp;UT{r9x28X5;AvnIY_SR$|$GzXQ4I3hTFA$%~y>S1Pu6sJNoo*=!Uw&XtPJ zIO&4qk1gy*7Q0}7wNTIX^*JA!0%&$rEd-vo2q^BYRtAvw%3@8@o;bOPZebQv^6})f zu)Nk7m{ObKx}MhTEke21v)xdO9*6oXj6zPORwxyEB!jxVMerRQ7Y};VW7#aYbP`nw`&UbEOLAZU-QtF_=f?jOM~Xu2_n5 z`Fs`qN3OL>PtnwIs95iJmw^iv0iDt8QYl6xwRj*`@98g=`{XUFbY+e;zDE9O(NHaCXq(drLUSB#JNTn=JNP# zyk(K*Rq8AF-&z0^3-{ial+a!5aX7lrCD>c666f&H#v2!fDQ7~*_-Ib9+*2q;bNX{- zyo--JDY*h9C67p1J%HiaVJ8)nIFyv77ttIn?dC!`UYx5}EA&?+`o(h_xb``vLay8x z1dBZ@qB*#H7!#Xf^dy?05R54&MMCq$$u|*T&>3A|F(NjXpFPl5TuFeHjLrSm;$CFe zB8S@4L_@%Qys}a+)H>DVV5wk^7qvD;2~ITbEfz|7^-)Gd^+w6`l2+7-g~)Egt9OTv zHKWZKVMhJzsug@i0pe-FM-@++IN635!rP?Icus$zXN4(enmROneWO~MQkyW##u`Xh z_F!F><%jHyOB*MRIh$HYzeUy9RqUFe;u1*ak~B^sYcUM1#ju+x6CA6e06o#127VCn zraCfL-UjpPE>`RP(Og_8<mBtuJz|+;Wn;Zc^Lhl z(iP1sWA{GpXkIl()@9>S8_GCL{&*5UiVw_rv=}OM8&}NjPBkx3ks4xAE08pfUOgH& z3YOGiwewctWaI;raa>d=lxVJCc9;>DLh$k+EA7X{x{K+eBHAd&Gf=4(qKnLoY0OgD zz!3FmBaoX*`Qla8R=BFS(ne10erS2Sd=NHzCa6%d7`5FC^J8lw6n6-ZLK0 zXgi~e8`Va1NdZsK-)aE|V2!)qE|z;M@#I<^Uco_S6w0M4r8rLlI#|l}NdA{phVsKE z<)K1}48>%T%{V*bs|)dpa%D(OPok;rMvVl!R*8oSlTeHmg~FigJlbB0YehMU&S-v| z8=${S8bpNn!UAIF5IJ)_E)`eE4WlAremuEH4ld61Ob-=mX$7O+WSHtMEh(vSz^sO%g+zv-ev(&-0g2%! z?2?I-YmM$&PqjE`Sx<9jhaO39Jc%JAE5c%35|?t&qioLev%)|Zjayb9cUSVml%)B~ zh6fALLh@LAyE4Q&N>qz3uf$65LvL|zC23KvyHwB#jKA0$qPW%c2|%pSQ>Fsq#}D*M z^P@$jeCqe)I3Uim!p_W;wYj^PxQLg+TjIB5gGmmVSX5^u2X3dBcqv7wk&lF#Ny^nl z)lRaXMb*AsnE+gk7I!Y~lw>UL2{T1f+CoRYL7o7&d-_{PW&8^P>3?>$d6uqdvF0&X zE?K~in|D`CayI`W>?|ItG~iOLkjzPwvC61>Uv;7yOk9oGp2q|lrC@|q^B zrY$XbY-hZb6ZyF1AfW;SC-m4@gKl*fEME}k6MYJ9en862oGrDSgxSja6?bTit1S-7 z(49)1!u3{*%uSpy(iX0iLe+ECxHte`I^$$)nup7M=%Q9N3hI>eVXYq#O1d;jVzq{6W4_X-79k-(W>$7Iqbb%jEw<$kWSj8HYg zW%Y&@k)mZJcq}KFPg00Yl-;PT7W?{@+m#EYspKb#?`0BIEO*+a%>HSEIjMvnEo0VU zGb7)t0bve8=G!_$>c#06@?G(6sw7ih)`miGE#$2_EM>Bh%(0rY09KolsioEHB^jy= z$zf}~Dkj6%YLGaUV>B3(Vno84*11oNnYJVoZ4Hv-{V%kaD7!5;*i0jMdrfTQsG1`P z-eAH+QVEu-mV22=0STDVmbPW=^5v{uHe**PRn|%eM$UC69f!h{(M1b-Yn;p94 z5n*JqrgK~~EH|xCF4x#!C=H5!j4Z4g)kz1Y5T~`OVT)W7(&o_n6~zhYv@P|7WtdzE zE|X*yl>aj+BtKLHmmkhym*myq0$NPhZ7mM>`1IS1C<%F;@xmMlWUT=&rGx3pYmoqG z{SKJ9nLzr{<$~5xcO}9aL#y=lX{fLTI$5ugIxl2od4&S`K`m`4lPC;DSC)P0q{TyD zSyp~rj;^#tqUcI3p;!tYU8ST^Q@H_#@9Rdr@)0Dr$`3oEtC(7|I*CuA*IIOSm{wig zKWzN*sp$DpQdY1WsN{>iK3h0Hx~9_5W}2l5N^_t#IkK^sBBr(E3DZz+t3!ysIVJ5( zE52$atq|coNCR*LiFh(@#Kmt@1qrITpwu7%?bAAZInP412HKo!Chd$jI=DvkqA(Wp zq0?3x;_eb2(rcuKVgfH$Ue&l>#iGQ`Oav&DD~-N>G$UONZ>BCXJ4NNr7&FW`868Wa zoGE=gT&UZ8L5(*(g|GYGi~?x2cg(dAU7(eH`TYtJlbpJQQ+PGm=r)CJ-H1iiI4sn6 zc}bBw?A97JXs}gZt<;+P@`XDh;PUX zM-t_ad`>LyOE{QT>nC$f*5{*EXG@Wcn+$}R{fZ*oupE_{S)I(F79~lx+hP>LN?dN( z%_=62wziiZH(r{6@xVL-nUJrLb89=jy|nM4JP2$3kZnn>}+|BkIlF6eSBq$atVpLQx47 z5*v5GA_W!9HqZUUsL$emrHpR(5pk;UDVQCRR7+NaK8c7l1)f${2wRbZi%}o9Htf$B z3TCO69KL4WbcV~Us{>_VQeJo=T9V_~a3t>%DH23doiuLY;v;EMpu*JzVVGBz@>`_M zM@3soplBM}s%n8VzS@_h8)h)Uj6-7Y<0t5a`-UxLjz@R?YGp=Qkn2$31FlrrMBB=w)tlBRH>)>!NLEV>e9C zYLR%5I7te=9+U2fmeeJsH@$3j6ouqA7?7q%XuY(--3m(~)@7)c__H*sD9zEW>}DF3 zC`r{$&aBcvQtd})dO zoSv`9gkCZ#IN(b&q3u_@T4`Gt&{X8BX^wNTsQ@13QYshTlZD3$*clquiGh}9_adD1#jdD^r|;tGw_cUMP}pHiD-RRUpps3L9-N5P$eM3yTi zvsD!oI=M06d)NpPMc@@4q~I=btytoTkN{&OAT?i|GoOQBPk3r;49!KnbV@JlwHrB6 zxUe>iO$@~5Qj%jhL!vxlCB|6xlB9?n(E?+*)clmC4OW#n=Fc;voh4Z`F^Cq&yi93U z`Bg4p?ZakdxtL5!Hw&Cv49tj2D6pnvS^-m z22XLz9?1zq*~{rUxtdybt5vtn6s!uR8u@=~%nq%13+b$&$)xORiS8$a7@JO@!`zrL z+meoj^Qd0YEP)BJQQ(uVx-UE>#u`GO<_EMHnk5kB#OqiImwdbulki+zzF6yN*y425 z2rE#Ha*Nh^o=e_j^Q5k*F<7eP@|H~Nu8OVUm5Kv?_s^|SsU%DFv(BE5HYV;i@v)6T zo40AzR>Sp7p`*z^J$fN&OTpck(>I|%->UUglAP7bv(_0|e`Z3TPRXq~^3mk^1+`P-pv^cG|Fz1; zUrVmF0BE~@Ak629&e4$WKiTu9GIj*goDoA$4-4l0$eU07>;@~DQ?%2xXKD-qruQ_{ zqvvKIybqQ1_PXM0_;oB?*fDo57bBM>8RkYC{AXPQPog}>SGZ{^XSSsIy7Wa$j=sc8 zB~7lH>&i@C^rRq}gRCo9j@WUY8njlc!D7R+Zo2VxBjf6rpYON|wvkeF#fxXpxoq~u z^Wv-KEm=B$(dFZoSR&c6u+~@1cU;)$t92}^bj9NqFIv_yhtx%RNXJ};*%hBYea4KA z=`%V`KPNu@jIJ}!JZ<{v)2CChV@Zh7&3e;2W}MzJ-RjLaW84Cy+Odo|a1DM{s$KES z8}XXCa_5b?f$rSRm6aFtY22OoyIE8&_cdT?$Ff3hpetT5`|^vg6umPSEV!Ul?8L3j z8nFU$Cc8ut~h@qBvm@9ECJPdoMw9GS)FH(Yd#RIJKfwe+4%wO z(c4CLjBFoW8;{;SvLhaOadh>_wvnx>YjePzp3)xK!4*$&&1Uvi$0IL{Y|@{t;n=p( z_3_B&(RJ3)j?pzO&u8-(S@8V3czkDeCscrh zZP55GBjWic3D3iWr$@HHNv?WMOr(}qk4M*xu7hOw!e1N18l4iUHY#{;;}tjk`GiQ1 zmxbrM;mT@SQwL)73$Zo-!pQc(kw&?0f?X5DLyYz zw>}6?V^2a6yx@Y{L};^VYG)n^r|lQv+nqGZh&h*iY);fM9?rtWW(ztt@|5@>LSPM- zG3&Ia!|7{>)!!yLZyN-!ww$@f~V+hqM*7LWig!L8>3k<;a&)!I_-Z z+ID){X1em)A2A>E;tWrA+f6&g8tH4L8kyZT@}zVCBaw|x9+7&|*-AUFl29qwASg#1xGM)(4h1m88j#j7o&Nky<*D^ch-g zjNJ^$&&Vq@oJ;Jkf5AKgnh2jvO*QS>KSIdRlQ-x?_#M5KR_i z@Hgwwsi%YccupFqr`)BEE)t$~r*T>5^5xB=dg|S-*`!k=+q0GAiNay3jeJ1;;gS(W z%p>v9$bF&%W{$3jMm~xtaYS;%qF5{rp8s9e>!xVrA+FznyM%}?PBNZtxD5&RSw)IA z&xY$9y=U~!;Mw4%DJJ108o5`x!e#Kar4Y={`PGaJ7A3M3r3cukGsCG&d}?w=F7{d3 zXsqGUxs3}Nv1Do9$OewzWm>=?#-QPk-qso6qStU(t`3*x`X<5AU(?0lI!4#a)dxl) zKMZEGwZkRR$b(#&3f%P8dCoED0{xJ$}ui*mXhl0J$+rrQ_@k0EFgTQfr~ z`FqXYUazT?G&~oZtRPl9XHFZOHFI#*e7|R*^+=lv=;8_&lK(NYt7}0xouk;&s69Kt zq(Stgw2ak*Qez&AEul8pl2|qJte7ZsNE4@>&SeDGQtd$`9Lx`eawaBLU?BvtZH-3W zN8|D=k|3Ep zUZA1$D2d;lwCJWSTHIXNqnGzHaynH(9>lUGs3Wy&(NbBj_oN2gO=h?;-Yr7T1(z6n zPcZUr$pg^tkw%`!_Kalvv(0L`?YCa%G%aGCW&T{LFWoU}SiM`95RE+2*29Z%Oxy}t zWNRm_PQzL90jg^p(vKJD*uv#QvLgJ*+L7nnHSbj8UW*7%(Y|rmB#cazi@@jm-QTO= zz1$B;mRVASK;t()r1>(4F-fV4-D9)tGQ13Oq27>TI=qtg4k;LEQqxnJAlqao_Ms?J zG9~IdYqJQt*haGLYLZDiH77wGHpr)%FVPiGii74RVGJy?6q4gXoiHi}E)}AlR2Y3R z%WC@PK!6yKs4XP5J2dCGG*BKiL@;lhjL&4VnJ(NbYObJo&x}Q`jSkVOG|RO*oRM41 zkfw@Gr0(~&4B>IaqlRQeJI2R0B&I=F%(l_nbzMtxttH=V<~^yCD@3$x84PA6L)n~p zxgdR6F}xI!9VncE0o&{aiT$FHM}pcv9oh=!5M~e}(rl4S%$LbOsB;(gn4G13#Scxi z+>eC09DPA%GpD9)7^$$`GQ-m>2$6|#S+A)mdOr<|Zwkk7ULI^Kgsw%IjGojCEz+s| z;88N>CQ~7J8s(&_Ejpk+9;QjzWtyj}jelK#s5G;j9x=3ae5Eb$}?p^?g;g+y|yKe@Zi z-s&;BMTHzO%3!|VXUdV3K~6wAf}Gb%r$+CN#d&rt`HDs!*D8U|yYgkYfOoO*vqj_g zq@?+7&15|zlDrTk+FB(l&Pe?wY)wL#;82NH#9G-E+J!rCa_zWIbKEC6O-=BDWl}hp zB3I`mqoFMt+-x#fh^v{cb7apUcPTPKfxmL@(rq{*_b5@P=G3H+isti16dVHG9`ntw zBrLQzL1LozLLBy8#CaP%Y(GC9!@D&3$~#LVkCWLvt&GeVpd?29Dfo&c zc7xZJ*=&`=G@~Lvkd7u16gp7K7{OT1236GCuG6+>lTc}lqNaM<0q@>7@{HLw>rE(! z8PLdfKMZk@bi0WaL-!sBSzEM3D5`@u4M%l> zl-}563)r#=k#85#6T-!gmGH2R!?~w9W`YT?$c;P-1uwb=X?BFCS1+boHXV?6p#z%` zq-2wQK_y1X=!sTZZVAmY&!YclG%l@^yIwGm^tg$blQg-GF_}jb(aNQ4(O8+?HXH*Z zmD!q`xJx^MaW+84EsvOHUC<0InF&z1n9DZf&{peW+?4Eud_}1=z02XJGeV!m*k}W* zTN}i~JV-A-n=qdtMr(aps+*oMwU=+rBwNVXk)dM%Vgl!!E1jF4;>N%H1nWQ zt#l;0uscI>)Ki2IU4s6#aXPq8vqapwTt=es_O9Un_ik{kis4-m?*wN2i3!k@6&AR9 zvu-WH;pN!Dm&2t^Jf3Rm>iKzCwQvuhVN3rLZ_U`G|8Nb(1WXcA0vHuoWT(P{8%ny( zLe-|Ej-)`Fy4FmR$$5rg8dPGqD^a+s3payQE%jjXAZo|0-8{SZVl{RWmmQVdpY4zW zs4C1*oJz^dD3j$0O+6MBz8GO6ZVSJeIJmK0dx8g(u9^pR>6NHPXBnNEmbj)*^4jzWyF{X^IheNcM$ANc{lUb&; z4zO4SF?F5w1dvQVsW&Z~Z$q}a6`B(pilTJWxqKLQ!} zL-S?~#sar>AoqbzDr6{^R4kO~Y3`$7N8RuSr?iD8G+RT1xr$nr6fzm)sHi3|g(-rZ z)H;ilQXt5uc9X>!S7GsqmNpwt$WhFlDP+k75kF{?>uCX-xKCW$xnX)wvzu_6)kzbH zoD;pYBZ2vn$Szw_M76jrnw=6^2Yg7qZD?6hWQ>ry2`ZH-C`ZtZHuX+IPiyF++=VT$ zi!KRQVTI$0=T>?Kvk|{+Ing-GA5VVU$*_JDBy3#b`o<*7KtLhOa4+Fbz($dz$R;|Q zN~C6ML`p}jPND_$zeTed8vtPLz`Py0v>LV|Blk!m2qjPsKvEL)UM3)y^8};NoR`#1 zSxn2?pb{H=4J{?}HJs98jLRIEw}4EXm#B->2=bCU0uU9rslJkI?X_PIT|ts^2gW$l zSdya$ecUt~>`!uRT~YUdX<8=Ts!pt|VbJf2&|2yHV0O#*4h-L~DS9c+^ApQ^-qp+Z@79f?e=I zqA1C!H<42*BDO^;3CoQsyN)dNG?7@iWb*K+sj-}w#3lBG=V#hw7v!jl)S`b#mddEb zbb>^mElX>UqCoATOOedIvwGA>BtB1^Y~_i;QssG5Ce}lx!qQZ&5}3wvz@tFRGbX7k zlTwRHt#!ypVK^aivgFu#o~(jPk>%Ow(B>{k(Ue;=cgwi~i!_LEYd^ebEau8(X4cS} z)3^z^KaGWE6|Pc3Cpg26B^gF(h_)aI-SD<;!IF`APA0pxlr+i7a7%RbRA)4khZObA z4c-ZP^CZ8!Icb&!r7$eW48AuBkVHj0sN@YcaZ{8gW+4zNvTz4a0te_l5I}v^HNM1{ zj1=CZhJs6?Nya}WH-V#Jxk$2;3q+h*OUbBq2;5oK*6bG5wj75wKd}i;Fl4oaE}-M0 zM~g?GB{i;1T2C^CZ8bSsz<@P@m0wEN+AYH{9!m^r3X8_cQdtg-PRF*ea8E6He#)&d zSclCWmDXSq&7>k3Zc|feUAAraJz?SpD9Ml8ItGqG_b0TBN+zVxLnbQK4mU~eqpD4% zO?6#IlmfYqXxijS#rc+1yh>HNNFy#6Xu7&JfV2{xz-#DAo*F|=XbF~RIjg+ZbM3USH&Q2K&HKs`jVCq=V%}}I>X2qV4nvXTg#_*iB@+Noc%bl&tWsw)BV)m3g zgrpU`Bo(#L)_!L-DEN~EmvAGMR2kysT{Q?rWlO35K($ZRu+1~Mf+ndY9P@ahSpWu# zf6P{JPm>-LJuq8lklYucn5Ho5shL&c!mrg#O9G>gCMMkUls>8}f7M=1agi^RLBjQ1 zB8Mzp$9-QPxpXZRjks_N?Q7M`mfxg0t_6|h8PC`O>?a!LttZ~);EiKWFqiYWyp$lF z){6*}jZ+-8JMc&3i!3tXCtFy^h`6-6=QypS3i^Ky=+jDSS-&0t}xe?34K zgB|I_S>K`E>`K!Zm!w%!q`EZ5 z{rzc{HEAVAS&BMyZS7tkWNZxZQdMuAFJ|lWFD1Pa&$|

    N=R@N>M`mAEXntN?Pnr2=5Bbmo9~hX+en;^0;`_2+8QmiubJE1f~^{7p9c!B-oXamLE^;--sKUmaGMsP05FbRY~et{33HvgmQ-#ykEw8NS-H;F$!`>`Au7+!t#hN zaN z%OM&-OWg)+xMO*j^~7e{x3u2l3tW>lC@3=HaZPkf3VL1AK1*v4uA`j(u|LF*6XsJP zyjUjRtC!Jql260%RHZ(Oy6=#zIwnL{$ur>aff=z$(iIy*kl@wBAY{I)%csuG>6x?hFRU1G9O`yosb_ znY$(=X~JZenK#oh7l|B))j+InwJ4>}Ns{Eq-GTzT&!urtnE|+yp=XH$?}9d?<46~p z*_TsP?q^9m%ES{m@^A@#+Lut}0H2pts7C9JK|Alch4ODQ)ScT1%OzPRk+#X{G*=55 zu<{Vr$+e#GQ2RNN?yeW-*nX{6TbgOHmLHU#>Xvgeds0l-0hf%%=*#ix_i1QCs|3&Z zFqv$aIq0bZr3x*p(CI1)>`NXhNj)w6waf|`(pbADWL8ro5#~jnG6pvtE^ZkP@|Hg` zo!~whj6fJs_?nGUnl&cKlYB>)mgNW+a}f zzjQzj5OPh2JV{VQQ)E;^h_@u}*-cZ`B>Ech{&0yVFV81@2;LGI!uzdbAN`;4Ld=b$ z0znvB)IuMw9}Egl3D@$^@QA(M{xbk8mSp^iH~; zwHsbJo*qvRTSAz57QZW@YY@Utm(4iKu0puB9GEnno$c972}WX1qDvO1yxrEt%`usH z<*!=iMY4O{1uy|-hMaf2c#{c4o4uV*?4v5Og+ltiFM++xQO)qba*y| zsE}C&^Ed)OgWcP%_HdSrve**h+gIf0fG)wK{N zswymkY|jDBsLg-Uf=1BlK*nfFD*vo$3#J{KGajba6f^#iLyJK?t70sXIyj*~OMsKq zx41h*Y&^NF?2%)cdkS1a2+@rUd-#db+eJ2*(5!Of@aVK^!&xJQi&|G_6gGqHB|?Kn zJ*Hzps*UZ+d5kZX{YnFNdcvg1coZf$3R=@LMS538Nt9`i#3&DCoX9Q&am-#6_K8d+ zaRyb(K4VBegq3Kd*<3790i|(LPPsHAS~0hI3nM%qE!7hDk~Q@3gpvlBeA!8jt6-mY zf-cF{mm#DfNy*AjC|@J*tj$SAKiznL@q-1F}+0Gb~=n$8;MXw=b$qXf` z=CTU`CNq%WycwBHhwiw5%3+ld@tAQXD${D`s_HV?=4)In*P2?$C(vXj-SEdv!o)~n zq~+X(OkM)hG0#kvlc}lry3y=W!fsvJ5mC)Ms2$i;aPu@38_CN3L|5|ipxue`muSQX zw+l3xr9*VWpX7EwEm4Q?*?iZq!?IFc7{Z@eE~~X$jlsj9nJ`Hv&~D`+KW)2+{-pMS zbc@T>=ty-~+TnqWmOE#5SEtR=Fc=^m%Modi*}an>kA(At}I7f(_;e+ZVdAa^u3SFjIOwqgBkh*=FnxVYQ4Q95n70$ zMR)Y3vz{L!LSNs|fZ(xpY2l8cOP|*GY~9C%oOMikir`%ScAroJ@xbNpDTaVzL)c)# zvPa(RUJ<(NFY~&>YnGt6tE@b<91gU7VoSPbuezkqs5lGZQTxQ9-7No~8*ZI%?5H*^+!XouOkD(~AL6MIuNhIATf{Sqv-Ap-9v_vX$^>MTLq;@Z z=CtB0_r-}GLa!)Ns`o6{qC*yh+8n)T_3`L49qW_FgN&rG=9a{DXQPp!#Mv)|CdDBe z`Odi~7HZ<#MUrQlC-;b1kd+~!=3`{ARA-*Heq<6<@mJ8Z{#FXSi)vh$2D@w}nNY_H#qm1^S>EF{d>+$kxnkNya{}7gpV>{t;tVm3cwk{&yT!6$kkul0G@g%Avo-ZXZPp z-*Dvrx+>e}iMd5E!2kK<|LKC&=+n29{9{`D*D3t(8NTq;wt^Rp=x$xhbBKyOaMBzg zx{~;F4kQLjq>~q7NG*?aa#?#eC??1lX;14YV|8VkZaxGTVSX)>A@AxDOu7oU*)4op zmXo=26f{KLTC5?C?7Af=%vSWVS>WNgmYkG=TBb#>^0{PxikWR0crpSmv^{8*L{p^z7A5qt0DHE@7wE$zgfAaR%iCGV zH5U4vQne6hRr4MtO$73{&w14`TCspj4V!1-MU(;4*J^m~dCs%exn@AH(^s@eY0Ol% zL>$dNu0mZ2k``o$=4itT)EGUhnyq%ge(9B^1~%z7w##Bu4Ttp^or5-5mRZtavDyuHGIeAhk@;3EpQB^~v ztO_*eqO@eK#ZjvfwHh7@lOHzaX)>GUd1@)0hue*!)CxS2$j(&hbH{mVG05GNQ`5+% z(Q?nm(%K~chdbp1QTwR7BR6LyWx8v{m*rWa)*^YN;MP!Ps;r z?LyDaEeEkCH?L6m&{nfUrzRWBk~-1Iqoz?vSaHejqtV6K(ndd1E@ot=)-5rY-%b}l z%wodBvGBrN1=@UGgjIyc;nYiJktRYjw(iU~sZ;CvEL@|e9`z8-TI9E93wMgN?SaMF z7j!X0s#_WCf(w=@yMD?nmGp!)1T2UKbnjbE!q&%}T1m%a5o_@1s!tlEq3(#xv1(?a z_L*Tt*kSV-5RQ#8l`;{StwIqd?<*@dY(&tdZ^P>Ux6*$#%_o_Y&u^x=faT2k+NM~f z*GS-1#$eQCn^A3wJLJ>Rb#pLavh*bD5u~~W`I^!LpSh7=+Z}$i$4+VH*pWfEw zNSLUatHQaP4D^1o`%;_H(~O>T2@P|KMz>hXx>`&&p&`fJ(3H{xB~m*1M0?fL7^BsZ zU5&S8G+gaUCmjs&p8FCoPxBL;I&`=DfuK#IS-LhcuR%*3o-;7@*;U_xJv1<89Vu2@ zXR)y(#0)NyRLz#cdmvC?nk?Dg9$cLbBWkrc(^zXu^DDFU7K`L*Bh-aC7yrX0H=x6R z;=%37#lIdsRfPyfM+^;Pxn)u$h} z5C0V*OYLdqXzn8k5T<$(etMU2XNgO`C<@NblmR`JA0Z!1^i(RyIeFCdkvcJ(+^@O5 zd0WdzTkVBtsZhGkiMAzQJP1xqs@)pbWNOf%`~ts57pDE#J8HbMzT5qUmIcq`fk_kq zl6j8Uj5Lj>4Be*CG$%7BviP|dG3ijyk!?JiJSu5fS=wtd T@AoBXF, YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-01-28 23:44+0200\n" -"PO-Revision-Date: 2010-12-08 23:13\n" -"Last-Translator: \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Translated-Using: django-rosetta 0.5.6\n" - -#: forum/feed.py:70 forum/models/page.py:5 forum/utils/pagination.py:162 -#: forum/views/readers.py:166 forum/views/readers.py:282 -#, fuzzy -msgid "page" -msgstr "страница" - -#: forum/feed.py:70 forum/utils/pagination.py:158 forum/views/readers.py:166 -msgid "pagesize" -msgstr "" - -#: forum/feed.py:70 forum/utils/pagination.py:166 forum/views/readers.py:166 -msgid "sort" -msgstr "подреди" - -#: forum/feed.py:86 -#, fuzzy, python-format -msgid "Answers to: %s" -msgstr "Отговори на %s" - -#: forum/feed.py:100 -#, fuzzy, python-format -msgid "Answer by %s" -msgstr "Отговори от %s" - -#: forum/feed.py:102 -#, python-format -msgid "Comment by %(cauthor)s on %(pauthor)s's %(qora)s" -msgstr "Коментар от %(cauthor)s на %(pauthor)s %(qora)s" - -#: forum/feed.py:103 forum/models/answer.py:5 -#: forum/skins/default/templates/osqaadmin/dashboard.html:24 -#: forum/skins/default/templates/osqaadmin/index.html:26 -#: forum/skins/default/templates/question_list/item.html:15 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:24 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:26 -#: forum/skins/zapprotect/templates/question_list/item.html:15 -#: forum/views/writers.py:238 forum_modules/akismet/startup.py:59 -msgid "answer" -msgstr "отговор" - -#: forum/feed.py:103 forum/models/question.py:19 -#: forum/skins/default/templates/osqaadmin/dashboard.html:19 -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:19 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:21 -#: forum/views/writers.py:89 forum_modules/akismet/startup.py:58 -msgid "question" -msgstr "въпрос" - -#: forum/registry.py:11 forum/registry.py:46 -#: forum/skins/default/templates/index.html:15 -#: forum/skins/default/templates/question_edit_tips.html:22 -#: forum/skins/zapprotect/templates/index.html:15 -#: forum/skins/zapprotect/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "чзв" - -#: forum/registry.py:12 forum/registry.py:47 -#: forum/skins/default/templates/index.html:14 -#: forum/skins/zapprotect/templates/index.html:14 -msgid "about" -msgstr "за нас" - -#: forum/registry.py:15 -msgid "logout" -msgstr "изход" - -#: forum/registry.py:15 -msgid "login" -msgstr "вход" - -#: forum/registry.py:28 -msgid "administration" -msgstr "администрация" - -#: forum/registry.py:41 -#, fuzzy -msgid "contact" -msgstr "съдържание" - -#: forum/registry.py:44 -#, fuzzy -msgid "support" -msgstr "плюс" - -#: forum/registry.py:45 -#, fuzzy -msgid "privacy" -msgstr "privacy" - -#: forum/registry.py:60 forum/skins/default/templates/users/edit.html:33 -#: forum/skins/zapprotect/templates/users/edit.html:33 -msgid "edit profile" -msgstr "Редакция на профила" - -#: forum/registry.py:66 -#, fuzzy -msgid "authentication settings" -msgstr "Опции за оторизиране" - -#: forum/registry.py:72 -#, fuzzy -msgid "email notification settings" -msgstr "Опции за оторизиране" - -#: forum/registry.py:78 -msgid "other preferences" -msgstr "други предпочитания" - -#: forum/registry.py:82 -msgid "Moderation tools" -msgstr "Модераторски инструменти" - -#: forum/registry.py:84 -#, fuzzy -msgid "withdraw suspension" -msgstr "Изпратете Вашия отговор" - -#: forum/registry.py:84 -msgid "suspend this user" -msgstr "спри този потребител" - -#: forum/registry.py:90 -msgid "give/take karma" -msgstr "дай/вземи карма" - -#: forum/registry.py:97 -msgid "remove moderator status" -msgstr "премахване на модераторски статут" - -#: forum/registry.py:97 -msgid "grant moderator status" -msgstr "дай модераторски статут" - -#: forum/registry.py:103 -msgid "remove super user status" -msgstr "премахване на супер потребителското състояние" - -#: forum/registry.py:103 -msgid "grant super user status" -msgstr "предоставяне на статут супер потребител" - -#: forum/urls.py:34 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:43 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:48 -msgid "faq/" -msgstr "" - -#: forum/urls.py:48 -msgid "FAQ" -msgstr "" - -#: forum/urls.py:50 -msgid "about/" -msgstr "" - -#: forum/urls.py:51 -msgid "About" -msgstr "За нас" - -#: forum/urls.py:52 -msgid "markdown_help/" -msgstr "" - -#: forum/urls.py:55 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:56 -msgid "logout/" -msgstr "" - -#: forum/urls.py:57 -msgid "answers/" -msgstr "" - -#: forum/urls.py:57 forum/urls.py:69 forum/urls.py:126 forum/urls.py:200 -msgid "edit/" -msgstr "" - -#: forum/urls.py:59 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:60 forum/urls.py:61 forum/urls.py:62 forum/urls.py:65 -#: forum/urls.py:66 forum/urls.py:69 forum/urls.py:71 forum/urls.py:73 -#: forum/urls.py:75 forum/urls.py:101 forum/urls.py:102 forum/urls.py:103 -msgid "questions/" -msgstr "" - -#: forum/urls.py:61 -msgid "ask/" -msgstr "" - -#: forum/urls.py:62 -#, fuzzy -msgid "related_questions/" -msgstr "Подобни въпроси" - -#: forum/urls.py:65 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:71 -msgid "close/" -msgstr "" - -#: forum/urls.py:73 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:75 -msgid "answer/" -msgstr "" - -#: forum/urls.py:76 -msgid "pending-data/" -msgstr "" - -#: forum/urls.py:78 -msgid "vote/" -msgstr "" - -#: forum/urls.py:80 -#, fuzzy -msgid "like_comment/" -msgstr "answer comment" - -#: forum/urls.py:81 -#, fuzzy -msgid "comment/" -msgstr "post a comment" - -#: forum/urls.py:82 -#, fuzzy -msgid "delete_comment/" -msgstr "post a comment" - -#: forum/urls.py:84 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:86 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:88 -msgid "flag/" -msgstr "" - -#: forum/urls.py:89 -msgid "delete/" -msgstr "" - -#: forum/urls.py:90 forum/urls.py:91 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:92 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:93 -msgid "matching_users/" -msgstr "" - -#: forum/urls.py:94 -msgid "node_markdown/" -msgstr "" - -#: forum/urls.py:95 -#, fuzzy -msgid "convert/" -msgstr "съдържание" - -#: forum/urls.py:97 -msgid "wikify/" -msgstr "" - -#: forum/urls.py:99 -msgid "question/" -msgstr "" - -#: forum/urls.py:106 forum/urls.py:107 -msgid "tags/" -msgstr "" - -#: forum/urls.py:109 forum/urls.py:113 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:109 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:113 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:117 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:122 forum/urls.py:126 forum/urls.py:127 forum/urls.py:129 -#: forum/urls.py:131 forum/urls.py:133 forum/urls.py:135 forum/urls.py:137 -#: forum/urls.py:139 forum/urls.py:141 forum/urls.py:143 forum/urls.py:145 -msgid "users/" -msgstr "" - -#: forum/urls.py:127 -#, fuzzy -msgid "award/" -msgstr "all badges" - -#: forum/urls.py:129 -#, fuzzy -msgid "suspend/" -msgstr "You can safely re-use the same login for all OpenID-enabled websites." - -#: forum/urls.py:131 -msgid "powers/" -msgstr "" - -#: forum/urls.py:133 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:135 -msgid "preferences/" -msgstr "" - -#: forum/urls.py:137 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:139 -#, fuzzy -msgid "reputation/" -msgstr "karma" - -#: forum/urls.py:141 -msgid "votes/" -msgstr "" - -#: forum/urls.py:143 -msgid "recent/" -msgstr "" - -#: forum/urls.py:146 forum/urls.py:147 -msgid "badges/" -msgstr "" - -#: forum/urls.py:150 -msgid "upload/" -msgstr "" - -#: forum/urls.py:151 -msgid "search/" -msgstr "" - -#: forum/urls.py:152 -#, fuzzy -msgid "contact/" -msgstr "съдържание" - -#: forum/urls.py:156 forum/urls.py:157 forum/urls.py:158 forum/urls.py:160 -#: forum/urls.py:162 forum/urls.py:164 forum/urls.py:166 forum/urls.py:168 -#: forum/urls.py:170 forum/urls.py:172 forum/urls.py:174 forum/urls.py:176 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:156 forum/urls.py:158 -msgid "signin/" -msgstr "" - -#: forum/urls.py:157 -msgid "signout/" -msgstr "" - -#: forum/urls.py:160 -msgid "done/" -msgstr "" - -#: forum/urls.py:162 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:164 -msgid "validate/" -msgstr "" - -#: forum/urls.py:166 forum/urls.py:168 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:170 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:172 forum/urls.py:174 -msgid "providers/" -msgstr "" - -#: forum/urls.py:172 -msgid "remove/" -msgstr "" - -#: forum/urls.py:174 -msgid "add/" -msgstr "" - -#: forum/urls.py:176 -msgid "send-validation/" -msgstr "" - -#: forum/urls.py:179 forum/urls.py:180 forum/urls.py:182 forum/urls.py:183 -#: forum/urls.py:185 forum/urls.py:187 forum/urls.py:189 forum/urls.py:191 -#: forum/urls.py:193 forum/urls.py:195 forum/urls.py:198 forum/urls.py:200 -#: forum/urls.py:203 forum/urls.py:206 forum_modules/exporter/urls.py:8 -#: forum_modules/exporter/urls.py:9 forum_modules/exporter/urls.py:10 -#: forum_modules/exporter/urls.py:12 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:180 -msgid "switch_interface/" -msgstr "" - -#: forum/urls.py:182 -msgid "statistics/" -msgstr "" - -#: forum/urls.py:183 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:185 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:187 -msgid "go_defaults/" -msgstr "" - -#: forum/urls.py:189 forum/urls.py:206 -#, fuzzy -msgid "settings/" -msgstr "karma" - -#: forum/urls.py:191 -msgid "maintenance/" -msgstr "" - -#: forum/urls.py:193 -msgid "flagged_posts/" -msgstr "" - -#: forum/urls.py:195 forum/urls.py:198 forum/urls.py:200 -msgid "static_pages/" -msgstr "" - -#: forum/urls.py:198 -msgid "new/" -msgstr "" - -#: forum/urls.py:203 -msgid "tools/" -msgstr "" - -#: forum/actions/meta.py:39 -#, python-format -msgid "%(user)s %(vote_desc)s %(post_desc)s" -msgstr "" - -#: forum/actions/meta.py:58 -#, fuzzy -msgid "voted up" -msgstr "поддържан" - -#: forum/actions/meta.py:74 -msgid "voted down" -msgstr "отхвърлен" - -#: forum/actions/meta.py:88 -#, fuzzy -msgid "liked" -msgstr "зададено" - -#: forum/actions/meta.py:116 -msgid "No reason given" -msgstr "Без да изтъква причини" - -#: forum/actions/meta.py:121 -#, python-format -msgid "%(user)s flagged %(post_desc)s: %(reason)s" -msgstr "" - -#: forum/actions/meta.py:152 forum/actions/user.py:32 -#: forum/models/action.py:218 -msgid "your" -msgstr "твой" - -#: forum/actions/meta.py:152 forum/actions/user.py:32 -msgid "his" -msgstr "негов" - -#: forum/actions/meta.py:156 -#, python-format -msgid "" -"%(user)s accepted %(answerer)s answer on %(asker)s question %(question)s" -msgstr "" - -#: forum/actions/meta.py:172 -#, python-format -msgid "%(user)s marked %(post_desc)s as favorite" -msgstr "" - -#: forum/actions/meta.py:192 -#, python-format -msgid "%(user)s deleted %(post_desc)s" -msgstr "" - -#: forum/actions/meta.py:201 -msgid "flagged by multiple users: " -msgstr "отбелязан от няколко потребителя:" - -#: forum/actions/node.py:8 -msgid "Initial revision" -msgstr "Първоначална версия" - -#: forum/actions/node.py:19 forum/templatetags/node_tags.py:203 -msgid "asked" -msgstr "зададено" - -#: forum/actions/node.py:31 -#, fuzzy, python-format -msgid "%(user)s asked %(question)s" -msgstr "%(user)s попита %(question)s" - -#: forum/actions/node.py:37 forum/templatetags/node_tags.py:204 -msgid "answered" -msgstr "отговорено" - -#: forum/actions/node.py:49 -#, fuzzy, python-format -msgid "%(user)s answered %(asker)s on %(question)s" -msgstr "" -"

    %(num_q)s
    questions without " -"accepted answers" - -#: forum/actions/node.py:56 -#, fuzzy -msgid "commented" -msgstr "post a comment" - -#: forum/actions/node.py:64 -#, fuzzy, python-format -msgid "%(user)s commented on %(post_desc)s" -msgstr "Нов коментар на %(question_title)s" - -#: forum/actions/node.py:70 forum/actions/page.py:23 -#, fuzzy -msgid "edited" -msgstr "редактиран" - -#: forum/actions/node.py:82 -#, python-format -msgid "%(user)s edited %(post_desc)s" -msgstr "%(user)s редактира %(post_desc)s" - -#: forum/actions/node.py:91 -msgid "retagged" -msgstr "претагнато" - -#: forum/actions/node.py:95 -msgid "Retag" -msgstr "Нов таг" - -#: forum/actions/node.py:104 -#, python-format -msgid "%(user)s retagged %(post_desc)s" -msgstr "%(user)s ретагна %(post_desc)s" - -#: forum/actions/node.py:113 -#, fuzzy -msgid "reverted" -msgstr "претагнато" - -#: forum/actions/node.py:127 -#, python-format -msgid "" -"%(user)s reverted %(post_desc)s from revision %(initial)d (%(initial_sum)s) " -"to revision %(final)d (%(final_sum)s)" -msgstr "" -"%(user)s върна %(post_desc)s от ревизия %(initial)d (%(initial_sum)s) до " -"ревизия %(final)d (%(final_sum)s)" - -#: forum/actions/node.py:138 -#, fuzzy -msgid "closed" -msgstr "затворено" - -#: forum/actions/node.py:152 -#, python-format -msgid "%(user)s closed %(post_desc)s: %(reason)s" -msgstr "%(user)s затвори %(post_desc)s: %(reason)s" - -#: forum/actions/node.py:159 -#, fuzzy -msgid "converted" -msgstr "отхвърлен" - -#: forum/actions/node.py:177 -#, python-format -msgid "%(user)s converted an answer to %(question)s into a comment" -msgstr "%(user)s превърна отговора на %(question)s в коментар" - -#: forum/actions/node.py:183 -msgid "wikified" -msgstr "" - -#: forum/actions/node.py:195 -#, python-format -msgid "%(user)s marked %(node)s as community wiki." -msgstr "%(user)s отбеляза %(node)s като част от уийки общност.\t" - -#: forum/actions/page.py:6 -#, fuzzy -msgid "created" -msgstr "създадено" - -#: forum/actions/page.py:17 -#, python-format -msgid "%(user)s created a new page titled %(page)s" -msgstr "%(user)s създаде нова страница озаглавена %(page)s" - -#: forum/actions/page.py:36 -#, python-format -msgid "%(user)s edited the page titled %(page)s" -msgstr "%(user)s редактира страницата озаглавена %(page)s" - -#: forum/actions/page.py:42 -msgid "published" -msgstr "публикувано" - -#: forum/actions/page.py:55 -#, fuzzy, python-format -msgid "%(user)s published a new page titled %(page)s" -msgstr "%(username)s е нов потребител на %(app_name)s" - -#: forum/actions/user.py:10 -#, fuzzy -msgid "joined" -msgstr "игнорирано" - -#: forum/actions/user.py:20 -#, python-format -msgid "%(user)s %(have_has)s joined the %(app_name)s Q&A community" -msgstr "%(user)s %(have_has)s се присъедини към %(app_name)s Q&A общността" - -#: forum/actions/user.py:22 -msgid "have" -msgstr "има" - -#: forum/actions/user.py:22 -msgid "has" -msgstr "има" - -#: forum/actions/user.py:27 -#, fuzzy -msgid "edited profile" -msgstr "редактиран потребителски профил" - -#: forum/actions/user.py:30 -#, python-format -msgid "%(user)s edited %(hes_or_your)s %(profile_link)s" -msgstr "%(user)s редактира %(hes_or_your)s %(profile_link)s" - -#: forum/actions/user.py:33 -#, fuzzy -msgid "profile" -msgstr "профил" - -#: forum/actions/user.py:37 -msgid "gave bonus" -msgstr "даде бонус" - -#: forum/actions/user.py:49 -#, python-format -msgid "Congratulations, you have been awarded an extra %s reputation points." -msgstr "Поздравления, вие сте наградени с допълнителни %s точки." - -#: forum/actions/user.py:50 -msgid "Thank you" -msgstr "Благодаря" - -#: forum/actions/user.py:53 -#, python-format -msgid "You have been penalized in %s reputation points." -msgstr "Вие сте били санкционирани с %s точки." - -#: forum/actions/user.py:57 forum/templatetags/extra_tags.py:93 -#: forum_modules/exporter/templates/running.html:157 -msgid "unknown" -msgstr "неизвестен" - -#: forum/actions/user.py:62 -#, python-format -msgid "" -"%(user)s awarded an extra %(value)s reputation points to %(users)s: %" -"(message)s" -msgstr "%(user)s награди с %(value)s точки %(users)s: %(message)s\t" - -#: forum/actions/user.py:67 -#, python-format -msgid "" -"%(user)s penalised %(users)s in %(value)s reputation points: %(message)s" -msgstr "%(user)s наказа %(users)s с %(value)s точки: %(message)s\t" - -#: forum/actions/user.py:75 -#, fuzzy -msgid "was awarded" -msgstr "всички награди" - -#: forum/actions/user.py:103 -#, python-format -msgid "" -"Congratulations, you have received a badge '%(badge_name)s'. Check out your profile." -msgstr "" -"Честито! Получихте значка '%(badge_name)s'. Проверете във профила си.\t" - -#: forum/actions/user.py:125 -#, python-format -msgid "%(user)s %(were_was)s awarded the %(badge_name)s badge" -msgstr "%(user)s %(were_was)s спечели %(badge_name)s значка" - -#: forum/actions/user.py:127 -#, fuzzy -msgid "were" -msgstr "бяха" - -#: forum/actions/user.py:127 -msgid "was" -msgstr "беше" - -#: forum/actions/user.py:132 -#, fuzzy -msgid "suspended" -msgstr "обновено" - -#: forum/actions/user.py:150 -msgid "Your suspension has been removed." -msgstr "Вашата забрана беше отменена." - -#: forum/actions/user.py:154 -#, python-format -msgid "for %s days" -msgstr "за %s дена" - -#: forum/actions/user.py:156 -msgid "indefinetely" -msgstr "" - -#: forum/actions/user.py:158 -#, python-format -msgid "%(user)s suspended %(users)s %(suspension)s: %(msg)s" -msgstr "" - -#: forum/actions/user.py:160 forum/views/users.py:241 -msgid "Bad behaviour" -msgstr "Лошо поведение" - -#: forum/forms/admin.py:16 -#, fuzzy -msgid "Please input at least one ip address" -msgstr "въведете поне един IP адрес" - -#: forum/forms/admin.py:22 -#, python-format -msgid "Invalid ip address: %s" -msgstr "Невалиден IP адрес: %s" - -#: forum/forms/admin.py:25 -msgid "Please use the dotted quad notation for the ip addresses" -msgstr "" - -#: forum/forms/admin.py:32 -msgid "Allow ips" -msgstr "" - -#: forum/forms/admin.py:33 -msgid "" -"Comma separated list of ips allowed to access the site while in maintenance" -msgstr "" - -#: forum/forms/admin.py:37 -#: forum/skins/default/templates/users/karma_bonus.html:9 -#: forum/skins/zapprotect/templates/users/karma_bonus.html:9 -#, fuzzy -msgid "Message" -msgstr "Вашето съобщение:" - -#: forum/forms/admin.py:38 -msgid "A message to display to your site visitors while in maintainance mode" -msgstr "" - -#: forum/forms/admin.py:43 -msgid "Default" -msgstr "" - -#: forum/forms/admin.py:44 -msgid "Default with sidebar" -msgstr "" - -#: forum/forms/admin.py:45 -#, fuzzy -msgid "None" -msgstr "бронз" - -#: forum/forms/admin.py:49 forum/settings/static.py:6 -#, fuzzy -msgid "Markdown" -msgstr "Markdown съвети" - -#: forum/forms/admin.py:50 forum/settings/static.py:7 -msgid "HTML" -msgstr "" - -#: forum/forms/admin.py:51 forum/settings/static.py:8 -msgid "Escaped" -msgstr "" - -#: forum/forms/admin.py:76 -#: forum/skins/default/templates/osqaadmin/nodeman.html:284 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:284 -#, fuzzy -msgid "Title" -msgstr "заглавие" - -#: forum/forms/admin.py:78 -msgid "Page URL" -msgstr "URL адрес на страницата" - -#: forum/forms/admin.py:80 -#, fuzzy -msgid "Page Content" -msgstr "съдържание" - -#: forum/forms/admin.py:81 -msgid "Mime Type" -msgstr "Mime Тип" - -#: forum/forms/admin.py:84 -msgid "Render Mode" -msgstr "Render Mode" - -#: forum/forms/admin.py:87 -msgid "Template" -msgstr "Шаблон" - -#: forum/forms/admin.py:88 -msgid "Sidebar Content" -msgstr "" - -#: forum/forms/admin.py:89 -msgid "Wrap sidebar block" -msgstr "" - -#: forum/forms/admin.py:91 -msgid "Sidebar Render Mode" -msgstr "" - -#: forum/forms/admin.py:93 -#, fuzzy -msgid "Allow comments" -msgstr "post a comment" - -#: forum/forms/admin.py:100 -#, fuzzy -msgid "send validation email" -msgstr "Stop Email" - -#: forum/forms/admin.py:105 -#, fuzzy -msgid "email address" -msgstr "Имейл адрес (не го споделяме)" - -#: forum/forms/auth.py:21 -#, fuzzy -msgid "Your account email" -msgstr "" -"Нов имейл: (няма да бъде споделян, трябва да бъде " -"действителен)" - -#: forum/forms/auth.py:23 -msgid "You cannot leave this field blank" -msgstr "Трябва да въведете нещо" - -#: forum/forms/auth.py:24 forum/forms/general.py:103 -msgid "please enter a valid email address" -msgstr "въведете действителен имейл адрес" - -#: forum/forms/auth.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "За съжаление този имейл не е в нашата база данни." - -#: forum/forms/auth.py:40 -msgid "okay, let's try!" -msgstr "добре, ще опитам" - -#: forum/forms/auth.py:41 -msgid "no OSQA community email please, thanks" -msgstr "не искам имейли от Zapprotect" - -#: forum/forms/auth.py:44 -msgid "please choose one of the options above" -msgstr "изберете някоя от следните опции" - -#: forum/forms/auth.py:51 -msgid "Current password" -msgstr "Текуща парола" - -#: forum/forms/auth.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "Текущата парола не е вярна. Моля, въведете истинската парола." - -#: forum/forms/general.py:27 -msgid "this field is required" -msgstr "Това поле е задължително" - -#: forum/forms/general.py:40 -msgid "choose a username" -msgstr "Изберете потребителско име" - -#: forum/forms/general.py:45 -msgid "user name is required" -msgstr "потребителско име е необходимо" - -#: forum/forms/general.py:46 -msgid "sorry, this name is taken, please choose another" -msgstr "За съжаление, това име е взето, моля изберете друго" - -#: forum/forms/general.py:47 -msgid "sorry, this name is not allowed, please choose another" -msgstr "За съжаление, това име не е позволено, моля изберете друго" - -#: forum/forms/general.py:48 -msgid "sorry, there is no user with this name" -msgstr "За съжаление, няма потребител с това име" - -#: forum/forms/general.py:49 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" -"За съжаление, ние имаме една сериозна грешка - потребителско име се взема от " -"няколко потребители" - -#: forum/forms/general.py:50 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" -"потребителското име може да се състои само от букви, празно място и " -"подчертаване" - -#: forum/forms/general.py:51 -#, python-format -msgid "user name is to short, please use at least %d characters" -msgstr "потребителското име е прекалено кратко, използвайте поне %d символа" - -#: forum/forms/general.py:101 -msgid "your email address" -msgstr "Вашия имейл (не се споделя)" - -#: forum/forms/general.py:102 -msgid "email address is required" -msgstr "имейл адреса се изисква" - -#: forum/forms/general.py:104 -msgid "this email is already used by someone else, please choose another" -msgstr "този имейл вече се използва от някой друг, моля изберете друг" - -#: forum/forms/general.py:129 -msgid "choose password" -msgstr "Изберете парола" - -#: forum/forms/general.py:130 -msgid "password is required" -msgstr "Изисква се парола" - -#: forum/forms/general.py:133 -msgid "retype password" -msgstr "Парола (напишете отново)" - -#: forum/forms/general.py:134 -msgid "please, retype your password" -msgstr "Моля, въведете отново паролата си" - -#: forum/forms/general.py:135 -msgid "sorry, entered passwords did not match, please try again" -msgstr "Съжаляваме, вписаните пароли не съвпадат, опитайте отново" - -#: forum/forms/qanda.py:19 -#: forum/skins/default/templates/sidebar/markdown_help.html:12 -#: forum/skins/default/templates/sidebar/markdown_help.html:17 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:12 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:17 -msgid "title" -msgstr "заглавие" - -#: forum/forms/qanda.py:20 -msgid "please enter a descriptive title for your question" -msgstr "въведете описателно заглавие на въпроса" - -#: forum/forms/qanda.py:25 -#, fuzzy, python-format -msgid "title must be must be at least %s characters" -msgstr "заглавието трябва да бъде > 10 символа" - -#: forum/forms/qanda.py:33 -msgid "content" -msgstr "съдържание" - -#: forum/forms/qanda.py:46 -#, fuzzy, python-format -msgid "question content must be at least %s characters" -msgstr "съдържанието на въпроса трябва да бъде > 10 символа" - -#: forum/forms/qanda.py:57 -#, fuzzy, python-format -msgid "answer content must be at least %s characters" -msgstr "съдържанието на въпроса трябва да бъде > 10 символа" - -#: forum/forms/qanda.py:68 forum/skins/default/templates/header.html:35 -#: forum/skins/default/templates/search.html:20 -#: forum/skins/zapprotect/templates/header.html:35 -#: forum/skins/zapprotect/templates/search.html:20 forum/views/readers.py:218 -msgid "tags" -msgstr "тагове" - -#: forum/forms/qanda.py:70 -#, fuzzy, python-format -msgid "" -"Tags are short keywords, with no spaces within. At least %(min)s and up to %" -"(max)s tags can be used." -msgstr "" -"Таговете са кратки ключови думи, без разстояние между тях. Можете да " -"използвате до 5 тага." - -#: forum/forms/qanda.py:86 -#, python-format -msgid "please use between %(min)s and %(max)s tags" -msgstr "моля използвайте от %(min)s до %(max)s тага" - -#: forum/forms/qanda.py:92 -#, python-format -msgid "please use between %(min)s and %(max)s characters in you tags" -msgstr "използвайте от %(min)s до %(max)s символа в таговете" - -#: forum/forms/qanda.py:94 -#, fuzzy -msgid "" -"please use following characters in tags: letters , numbers, and characters " -"'.-_'" -msgstr "за таговете използвайте символите a-z, а-я, числа, знаци и '.-_#'" - -#: forum/forms/qanda.py:104 -#, python-format -msgid "" -"You don't have enough reputation to create new tags. The following tags do " -"not exist yet: %s" -msgstr "" -"Вие не разполагат с достатъчно репутация, за да създавате нови тагове. " -"Следните бележки не съществуват още: %s" - -#: forum/forms/qanda.py:114 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:26 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "уики общност" - -#: forum/forms/qanda.py:115 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "" -"ако изберете уики общност, въпроса и отговора не генерират точки и името на " -"автора няма да бъде показвано" - -#: forum/forms/qanda.py:133 -msgid "update summary:" -msgstr "основна информация за обновяването:" - -#: forum/forms/qanda.py:134 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" -"въведете кратко заключение на новата ревизия (редактиран правопис, " -"граматика, подобрен стил, това поле не е задължително)" - -#: forum/forms/qanda.py:138 -msgid "Your message:" -msgstr "Вашето съобщение:" - -#: forum/forms/qanda.py:144 -msgid "Your name:" -msgstr "Вашето име:" - -#: forum/forms/qanda.py:145 -msgid "Email (not shared with anyone):" -msgstr "Имейл (не се споделя с никой):" - -#: forum/forms/qanda.py:236 -msgid "this email does not have to be linked to gravatar" -msgstr "този имейл не е нужно да бъде свързан с gravatar" - -#: forum/forms/qanda.py:237 -msgid "Real name" -msgstr "Истинско име" - -#: forum/forms/qanda.py:238 -msgid "Website" -msgstr "Уеб сайт" - -#: forum/forms/qanda.py:239 -msgid "Location" -msgstr "Местоположение" - -#: forum/forms/qanda.py:240 -msgid "Date of birth" -msgstr "Дата на раждане" - -#: forum/forms/qanda.py:240 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" -"няма да бъде показвано, използва се за изчисляване на възрастта, формат: " -"YYYY-MM-DD" - -#: forum/forms/qanda.py:241 -#: forum/skins/default/templates/account_settings.html:21 -#: forum/skins/default/templates/osqaadmin/moderation.html:68 -#: forum/skins/zapprotect/templates/account_settings.html:21 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:68 -msgid "Profile" -msgstr "Профил" - -#: forum/forms/qanda.py:246 -msgid "Screen name" -msgstr "Публично име" - -#: forum/forms/qanda.py:273 -msgid "this email has already been registered, please use another one" -msgstr "този имейл вече е използван, моля, въведете друг" - -#: forum/forms/qanda.py:278 -msgid "Instantly" -msgstr "Моментално" - -#: forum/forms/qanda.py:281 -msgid "No notifications" -msgstr "Без известия" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "За първи път тук? Проверете ЧЗП." - -#: forum/models/action.py:215 -msgid "You" -msgstr "Вие" - -#: forum/models/action.py:230 -#, fuzzy, python-format -msgid "on %(link)s" -msgstr "в %(link)s" - -#: forum/models/action.py:234 -#, python-format -msgid "%(user)s %(node_name)s %(node_desc)s" -msgstr "" - -#: forum/models/comment.py:6 forum/views/commands.py:230 -#: forum/views/commands.py:256 forum_modules/akismet/startup.py:60 -#, fuzzy -msgid "comment" -msgstr "коментирай" - -#: forum/models/meta.py:63 -msgid "Unknown" -msgstr "Неизвестен" - -#: forum/models/meta.py:68 -msgid "No description available" -msgstr "Няма описание" - -#: forum/models/node.py:237 -#, fuzzy -msgid "post" -msgstr "добавено" - -#: forum/models/page.py:31 -#, python-format -msgid "[Unpublished] %s" -msgstr "[Непубликувани] %s" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "[изтрит]" - -#: forum/models/question.py:36 -msgid "[closed] " -msgstr "[затворен]" - -#: forum/models/tag.py:38 -msgid "interesting" -msgstr "интересно" - -#: forum/models/tag.py:38 -msgid "ignored" -msgstr "игнорирано" - -#: forum/models/user.py:201 forum/views/readers.py:115 -#, fuzzy -msgid "asked-by" -msgstr "зададено" - -#: forum/models/user.py:205 forum/views/readers.py:118 -#, fuzzy -msgid "answered-by" -msgstr "отговорено" - -#: forum/models/user.py:209 forum/views/readers.py:121 -#, fuzzy -msgid "subscribed-by" -msgstr "абонирай ме" - -#: forum/settings/__init__.py:44 -msgid "Badges config" -msgstr "Настройка на значките" - -#: forum/settings/__init__.py:44 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/accept.py:5 -#, fuzzy -msgid "Accepting answers" -msgstr "oldest" - -#: forum/settings/accept.py:5 -msgid "Settings to tweak the behaviour of accepting answers." -msgstr "" - -#: forum/settings/accept.py:8 -#, fuzzy -msgid "Disallow answers to be accepted" -msgstr "answer accepted" - -#: forum/settings/accept.py:9 -msgid "" -"Disable accepting answers feature. If you reenable it in the future, " -"currently accepted answers will still be marked as accepted." -msgstr "" - -#: forum/settings/accept.py:13 -#, fuzzy -msgid "Maximum accepted answers per question" -msgstr "не е отговор на въпроса" - -#: forum/settings/accept.py:14 -msgid "How many accepted answers are allowed per question. Use 0 for no limit." -msgstr "" - -#: forum/settings/accept.py:17 -msgid "Maximum accepted answers per user/question" -msgstr "" - -#: forum/settings/accept.py:18 -msgid "" -"If more than one accpeted answer is allowed, how many can be accepted per " -"single user per question." -msgstr "" - -#: forum/settings/accept.py:21 -#, fuzzy -msgid "Users an accept own answer" -msgstr "oldest" - -#: forum/settings/accept.py:22 -msgid "Are normal users allowed to accept theyr own answers.." -msgstr "" -"Дали обикновените потребители могат да се приемат собствените си отговори" - -#: forum/settings/basic.py:9 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:67 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:67 -#, fuzzy -msgid "Basic settings" -msgstr "" -"Adjust frequency of email updates. Receive " -"updates on interesting questions by email,
    help the community by answering questions of your colleagues. If you do not wish to " -"receive emails - select 'no email' on all items below.
    Updates are only " -"sent when there is any new activity on selected items." - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "Основните настройки за вашето приложение" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "Лого" - -#: forum/settings/basic.py:13 -#, fuzzy -msgid "Your site main logo." -msgstr "" -"Your new Email: (will not be shown to " -"anyone, must be valid)" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -#, fuzzy -msgid "Application description" -msgstr "" -"Gold badge is the highest award in this community. To obtain it have to show " -"profound knowledge and ability in addition to your active participation." - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:43 -msgid "Support URL" -msgstr "" - -#: forum/settings/basic.py:44 -msgid "" -"The URL provided for users to get support. It can be http: or mailto: or " -"whatever your preferred support scheme is." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Contact URL" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "" -"The URL provided for users to contact you. It can be http: or mailto: or " -"whatever your preferred contact scheme is." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -#, fuzzy -msgid "Site 'from' email address" -msgstr "Your email (never shared)" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -#, fuzzy -msgid "Email subject prefix" -msgstr "Welcome to the Q&A forum" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on theyr email clients." -msgstr "" - -#: forum/settings/email.py:44 -msgid "Email Footer Text" -msgstr "" - -#: forum/settings/email.py:45 -msgid "" -"Email footer text, usually \"CAN SPAM\" compliance, or the physical address " -"of the organization running the website. See this Wikipedia article for more info." -msgstr "" - -#: forum/settings/email.py:49 -msgid "Email Border color" -msgstr "" - -#: forum/settings/email.py:50 -msgid "The outter border color of the email base template" -msgstr "" - -#: forum/settings/email.py:54 -msgid "Email Paragraph style" -msgstr "" - -#: forum/settings/email.py:55 -msgid "A valid css string to be used to style email paragraphs (the P tag)." -msgstr "" - -#: forum/settings/email.py:59 -msgid "Email link style" -msgstr "" - -#: forum/settings/email.py:60 -msgid "A valid css string to be used to style email links (the A tag)." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/form.py:5 -msgid "Form settings" -msgstr "" - -#: forum/settings/form.py:5 -#, fuzzy -msgid "General settings for the OSQA forms." -msgstr "Поздрави от Zapprotect Q&A" - -#: forum/settings/form.py:8 -#, fuzzy -msgid "Enable community wiki" -msgstr "уики общност" - -#: forum/settings/form.py:9 -msgid "Can questions or answers be marked as community wiki." -msgstr "" - -#: forum/settings/form.py:13 -#, fuzzy -msgid "Limit tag creation" -msgstr "karma" - -#: forum/settings/form.py:14 -msgid "" -"Limit tag creation to super users, staff or users with a minimum reputation." -msgstr "" - -#: forum/settings/form.py:20 -msgid "Minimum number of characters for a question's title" -msgstr "" - -#: forum/settings/form.py:21 -msgid "" -"The minimum number of characters a user must enter into the title field of a " -"question." -msgstr "" - -#: forum/settings/form.py:28 -msgid "Minimum number of characters for a question's content" -msgstr "" - -#: forum/settings/form.py:29 -msgid "" -"The minimum number of characters a user must enter into the content field of " -"a question." -msgstr "" - -#: forum/settings/form.py:36 -#, fuzzy -msgid "Empty question content" -msgstr "коментар на въпроса" - -#: forum/settings/form.py:37 -msgid "If a question's content can be empty." -msgstr "" - -#: forum/settings/form.py:45 -msgid "Required number of tags per question" -msgstr "" - -#: forum/settings/form.py:46 -msgid "How many tags are required in questions." -msgstr "" - -#: forum/settings/form.py:50 -msgid "Maximum number of tags per question" -msgstr "" - -#: forum/settings/form.py:51 -msgid "How many tags are allowed in questions." -msgstr "" - -#: forum/settings/form.py:55 -msgid "Minimum length of a tag" -msgstr "" - -#: forum/settings/form.py:56 -msgid "How short a tag can be." -msgstr "" - -#: forum/settings/form.py:60 -msgid "Maximum length of a tag" -msgstr "" - -#: forum/settings/form.py:61 -msgid "How long a tag can be." -msgstr "" - -#: forum/settings/form.py:69 -msgid "Minimum number of characters for a comment" -msgstr "" - -#: forum/settings/form.py:70 -msgid "" -"The minimum number of characters a user must enter into the body of a " -"comment." -msgstr "" - -#: forum/settings/form.py:73 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/form.py:74 -msgid "" -"The maximum number of characters a user can enter into the body of a comment." -msgstr "" - -#: forum/settings/form.py:77 -msgid "Allow markdown in comments" -msgstr "" - -#: forum/settings/form.py:78 -msgid "Allow users to use markdown in comments." -msgstr "" - -#: forum/settings/form.py:82 -msgid "Show author gravatar in comments" -msgstr "" - -#: forum/settings/form.py:83 -msgid "Show the gravatar image of a comment author." -msgstr "" - -#: forum/settings/forms.py:52 -#, fuzzy -msgid "context" -msgstr "съдържание" - -#: forum/settings/forms.py:52 -msgid "default" -msgstr "" - -#: forum/settings/forms.py:65 -#, fuzzy -msgid "Change this:" -msgstr "Change Email" - -#: forum/settings/minrep.py:4 -#, fuzzy -msgid "Minimum reputation config" -msgstr "karma" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -#, fuzzy -msgid "Minimum reputation to vote down" -msgstr "user karma" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -#, fuzzy -msgid "Minimum reputation to comment" -msgstr "user karma" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -#, fuzzy -msgid "Minimum reputation to like a comment" -msgstr "user karma" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -#, fuzzy -msgid "Minimum reputation to create tags" -msgstr "user karma" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to create new tags." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:51 -#, fuzzy -msgid "Minimum reputation to mark post as community wiki" -msgstr "user karma" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to mark a post as " -"community wiki." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:63 -#, fuzzy -msgid "Minimum reputation to delete comments" -msgstr "user karma" - -#: forum/settings/minrep.py:64 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:67 -#, fuzzy -msgid "Minimum reputation to convert answers to comment" -msgstr "user karma" - -#: forum/settings/minrep.py:68 -msgid "" -"The minimum reputation an user must have to be allowed to convert an answer " -"into a comment." -msgstr "" - -#: forum/settings/minrep.py:71 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:72 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/moderation.py:7 -#, fuzzy -msgid "Moderation settings" -msgstr "Опции за оторизиране" - -#: forum/settings/moderation.py:7 -msgid "Define the moderation workflow of your site" -msgstr "" - -#: forum/settings/moderation.py:13 -msgid "Flag Reasons" -msgstr "" - -#: forum/settings/moderation.py:14 -msgid "Create some flag reasons to use in the flag post popup." -msgstr "" - -#: forum/settings/moderation.py:22 -msgid "Close Reasons" -msgstr "" - -#: forum/settings/moderation.py:23 -msgid "Create some close reasons to use in the close question popup." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -#, fuzzy -msgid "Initial reputation" -msgstr "karma" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:29 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:33 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:37 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:41 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:45 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/sidebar.py:10 -msgid "Show the Welcome box" -msgstr "" - -#: forum/settings/sidebar.py:11 -msgid "Do you want to show the welcome box when a user first visits your site." -msgstr "" - -#: forum/settings/sidebar.py:15 -msgid "Application intro" -msgstr "" - -#: forum/settings/sidebar.py:16 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/sidebar.py:46 -msgid "Upper block rendering mode" -msgstr "" - -#: forum/settings/sidebar.py:47 -msgid "How to render your upper block code." -msgstr "" - -#: forum/settings/sidebar.py:75 -msgid "Lower block rendering mode" -msgstr "" - -#: forum/settings/sidebar.py:76 -msgid "How to render your lower block code." -msgstr "" - -#: forum/settings/static.py:17 -msgid "Use custom CSS" -msgstr "" - -#: forum/settings/static.py:18 -msgid "Do you want to use custom CSS." -msgstr "" - -#: forum/settings/static.py:22 -msgid "Custom CSS" -msgstr "" - -#: forum/settings/static.py:23 -msgid "Your custom CSS." -msgstr "" - -#: forum/settings/static.py:31 -msgid "Use custom header" -msgstr "" - -#: forum/settings/static.py:32 -msgid "Do you want to use a custom header." -msgstr "" - -#: forum/settings/static.py:36 -msgid "Custom Header" -msgstr "" - -#: forum/settings/static.py:37 -msgid "Your custom header." -msgstr "" - -#: forum/settings/static.py:42 -msgid "Custom Header rendering mode" -msgstr "" - -#: forum/settings/static.py:43 -msgid "How to render your custom header code." -msgstr "" - -#: forum/settings/static.py:48 -msgid "Show announcement bar" -msgstr "" - -#: forum/settings/static.py:49 -msgid "" -"Some piece of content that goes under the search bar and can be used for " -"announcements, etc." -msgstr "" - -#: forum/settings/static.py:53 -msgid "Announcement bar" -msgstr "" - -#: forum/settings/static.py:54 -msgid "The announcement bar content." -msgstr "" - -#: forum/settings/static.py:59 -msgid "Announcement bar rendering mode" -msgstr "" - -#: forum/settings/static.py:60 -msgid "How to render your announcement bar code." -msgstr "" - -#: forum/settings/static.py:65 -msgid "Use custom footer" -msgstr "" - -#: forum/settings/static.py:66 -msgid "Do you want to use a custom footer." -msgstr "" - -#: forum/settings/static.py:70 -msgid "Custom Footer" -msgstr "" - -#: forum/settings/static.py:71 -#, fuzzy -msgid "Your custom footer." -msgstr "" -"Your new Email: (will not be shown to " -"anyone, must be valid)" - -#: forum/settings/static.py:76 -msgid "Custom footer rendering mode" -msgstr "" - -#: forum/settings/static.py:77 -msgid "How to render your custom footer code." -msgstr "" - -#: forum/settings/static.py:82 -msgid "Replace default footer" -msgstr "" - -#: forum/settings/static.py:83 -msgid "Above default footer" -msgstr "" - -#: forum/settings/static.py:84 -msgid "Below default footer" -msgstr "" - -#: forum/settings/static.py:88 -msgid "Custom Footer Mode" -msgstr "" - -#: forum/settings/static.py:89 -msgid "How your custom footer will appear." -msgstr "" - -#: forum/settings/static.py:98 -msgid "Use custom Head elements" -msgstr "" - -#: forum/settings/static.py:99 -msgid "Do you want to use custom head elements." -msgstr "" - -#: forum/settings/static.py:103 -msgid "Custom Head" -msgstr "" - -#: forum/settings/static.py:104 -msgid "Your custom Head elements." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/urls.py:4 -msgid "URL settings" -msgstr "" - -#: forum/settings/urls.py:4 -msgid "Some settings to tweak behaviour of site urls (experimental)." -msgstr "" - -#: forum/settings/urls.py:7 -msgid "Allow unicode in slugs" -msgstr "" - -#: forum/settings/urls.py:8 -msgid "Allow unicode/non-latin characters in urls." -msgstr "" - -#: forum/settings/urls.py:12 -msgid "Force single url" -msgstr "" - -#: forum/settings/urls.py:13 -msgid "" -"Redirect the request in case there is a mismatch between the slug in the url " -"and the actual slug" -msgstr "" - -#: forum/settings/users.py:7 -#, fuzzy -msgid "Users settings" -msgstr "" -"Adjust frequency of email updates. Receive " -"updates on interesting questions by email,
    help the community by answering questions of your colleagues. If you do not wish to " -"receive emails - select 'no email' on all items below.
    Updates are only " -"sent when there is any new activity on selected items." - -#: forum/settings/users.py:7 -#, fuzzy -msgid "General settings for the OSQA users." -msgstr "Поздрави от Zapprotect Q&A" - -#: forum/settings/users.py:10 -#, fuzzy -msgid "Editable screen name" -msgstr "Публично име" - -#: forum/settings/users.py:11 -msgid "Allow users to alter their screen name." -msgstr "" - -#: forum/settings/users.py:15 -msgid "Minimum username length" -msgstr "" - -#: forum/settings/users.py:16 -msgid "The minimum length (in character) of a username." -msgstr "" - -#: forum/settings/users.py:19 -msgid "fuck" -msgstr "" - -#: forum/settings/users.py:19 -msgid "shit" -msgstr "" - -#: forum/settings/users.py:19 -#, fuzzy -msgid "ass" -msgstr "отговори" - -#: forum/settings/users.py:19 -msgid "sex" -msgstr "" - -#: forum/settings/users.py:19 -#, fuzzy -msgid "add" -msgstr "Добави" - -#: forum/settings/users.py:19 forum/templatetags/node_tags.py:94 -msgid "edit" -msgstr "редактирай" - -#: forum/settings/users.py:19 forum/views/auth.py:382 forum/views/auth.py:387 -#, fuzzy -msgid "save" -msgstr "сребро" - -#: forum/settings/users.py:19 forum/templatetags/node_tags.py:118 -msgid "delete" -msgstr "" - -#: forum/settings/users.py:19 -#, fuzzy -msgid "manage" -msgstr "снимка" - -#: forum/settings/users.py:19 -#, fuzzy -msgid "update" -msgstr "обновено" - -#: forum/settings/users.py:19 -#: forum/skins/default/templates/auth/auth_settings.html:12 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "премахни" - -#: forum/settings/users.py:19 -msgid "new" -msgstr "" - -#: forum/settings/users.py:21 -#, fuzzy -msgid "Disabled usernames" -msgstr "Choose screen name" - -#: forum/settings/users.py:22 -msgid "" -"A comma separated list of disabled usernames (usernames not allowed during a " -"new user registration)." -msgstr "" - -#: forum/settings/users.py:26 -msgid "Show status diamonds" -msgstr "" - -#: forum/settings/users.py:27 -msgid "Show status \"diamonds\" next to moderators or superusers usernames." -msgstr "" - -#: forum/settings/users.py:32 -#, fuzzy -msgid "Force unique email" -msgstr "" -"Нов имейл: (няма да бъде споделян, трябва да бъде " -"действителен)" - -#: forum/settings/users.py:33 -msgid "Should each user have an unique email." -msgstr "" - -#: forum/settings/users.py:37 -msgid "Require email validation to..." -msgstr "" - -#: forum/settings/users.py:38 -msgid "" -"Which actions in this site, users without a valid email will be prevented " -"from doing." -msgstr "" - -#: forum/settings/users.py:40 -#, fuzzy -msgid "ask questions" -msgstr "задай въпрос" - -#: forum/settings/users.py:40 -#, fuzzy -msgid "provide answers" -msgstr "най-старите" - -#: forum/settings/users.py:40 -#, fuzzy -msgid "make comments" -msgstr "post a comment" - -#: forum/settings/users.py:40 -#, fuzzy -msgid "report posts" -msgstr "karma" - -#: forum/settings/users.py:45 -msgid "Don't notify to invalid emails" -msgstr "" - -#: forum/settings/users.py:46 -msgid "Do not notify users with unvalidated emails." -msgstr "" - -#: forum/settings/users.py:50 -msgid "Hold pending posts for X minutes" -msgstr "" - -#: forum/settings/users.py:51 -msgid "" -"How much time in minutes a post should be kept in session until the user " -"logs in or validates the email." -msgstr "" - -#: forum/settings/users.py:55 -msgid "Warn about pending posts afer X minutes" -msgstr "" - -#: forum/settings/users.py:56 -msgid "" -"How much time in minutes a user that just logged in or validated his email " -"should be warned about a pending post instead of publishing it automatically." -msgstr "" - -#: forum/settings/users.py:60 -msgid "suitable for display on all websites with any audience type." -msgstr "" - -#: forum/settings/users.py:61 -msgid "" -"may contain rude gestures, provocatively dressed individuals, the lesser " -"swear words, or mild violence." -msgstr "" - -#: forum/settings/users.py:62 -msgid "" -"may contain such things as harsh profanity, intense violence, nudity, or " -"hard drug use." -msgstr "" - -#: forum/settings/users.py:63 -msgid "may contain hardcore sexual imagery or extremely disturbing violence." -msgstr "" - -#: forum/settings/users.py:67 -#, fuzzy -msgid "Gravatar rating" -msgstr "" -"Gravatar means globally recognized avatar - your unique avatar image " -"associated with your email address. It's simply a picture that shows next to " -"your posts on the websites that support gravatar protocol. By default gravar " -"appears as a square filled with a snowflake-like figure. You can set " -"your image at gravatar.com" - -#: forum/settings/users.py:68 -msgid "" -"Gravatar allows users to self-rate their images so that they can indicate if " -"an image is appropriate for a certain audience." -msgstr "" - -#: forum/settings/users.py:74 -msgid "" -"(mystery-man) a simple, cartoon-style silhouetted outline of a person (does " -"not vary by email hash)" -msgstr "" - -#: forum/settings/users.py:75 -msgid "a geometric pattern based on an email hash" -msgstr "" - -#: forum/settings/users.py:76 -msgid "a generated \"monster\" with different colors, faces, etc" -msgstr "" - -#: forum/settings/users.py:77 -msgid "generated faces with differing features and backgrounds" -msgstr "" - -#: forum/settings/users.py:81 -#, fuzzy -msgid "Gravatar default" -msgstr "" -"Gravatar means globally recognized avatar - your unique avatar image " -"associated with your email address. It's simply a picture that shows next to " -"your posts on the websites that support gravatar protocol. By default gravar " -"appears as a square filled with a snowflake-like figure. You can set " -"your image at gravatar.com" - -#: forum/settings/users.py:82 -msgid "" -"Gravatar has a number of built in options which you can also use as defaults." -msgstr "" - -#: forum/settings/view.py:5 -msgid "View settings" -msgstr "" - -#: forum/settings/view.py:5 -msgid "Set up how certain parts of the site are displayed." -msgstr "" - -#: forum/settings/view.py:8 -msgid "Recent tags block size" -msgstr "" - -#: forum/settings/view.py:9 -msgid "" -"The number of tags to display in the recent tags block in the front page." -msgstr "" - -#: forum/settings/view.py:12 -#, fuzzy -msgid "Recent awards block size" -msgstr "Recent badges" - -#: forum/settings/view.py:13 -msgid "" -"The number of awards to display in the recent awards block in the front page." -msgstr "" - -#: forum/settings/view.py:16 -#, fuzzy -msgid "Limit related tags block" -msgstr "Tags" - -#: forum/settings/view.py:17 -msgid "" -"Limit related tags block size in questions list pages. Set to 0 to display " -"all all tags." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/401.html:3 -#: forum/skins/default/templates/401.html:28 -#: forum/skins/zapprotect/templates/401.html:3 -#: forum/skins/zapprotect/templates/401.html:28 -msgid "Not logged in" -msgstr "" - -#: forum/skins/default/templates/401.html:32 -#: forum/skins/zapprotect/templates/401.html:32 -msgid "You are not logged in..." -msgstr "" - -#: forum/skins/default/templates/401.html:34 -#: forum/skins/zapprotect/templates/401.html:34 -msgid "...and the resource you're trying to access is pretocted." -msgstr "" - -#: forum/skins/default/templates/401.html:36 -#: forum/skins/zapprotect/templates/401.html:36 -msgid "Redirecting to the login page." -msgstr "" - -#: forum/skins/default/templates/401.html:39 -#: forum/skins/zapprotect/templates/401.html:39 -msgid "If you're not automatically redirected in 5 seconds, please click" -msgstr "" - -#: forum/skins/default/templates/401.html:40 -#: forum/skins/default/templates/auth/signin.html:102 -#: forum/skins/default/templates/notifications/base.html:27 -#: forum/skins/zapprotect/templates/401.html:40 -#: forum/skins/zapprotect/templates/auth/signin.html:102 -#: forum/skins/zapprotect/templates/notifications/base.html:27 -msgid "here" -msgstr "тук" - -#: forum/skins/default/templates/403.html:3 -#: forum/skins/default/templates/403.html:11 -#: forum/skins/zapprotect/templates/403.html:3 -#: forum/skins/zapprotect/templates/403.html:11 -msgid "Forbidden" -msgstr "Забранено" - -#: forum/skins/default/templates/403.html:15 -#: forum/skins/zapprotect/templates/403.html:15 -msgid "Sorry, you don't have permissions to access this page." -msgstr "Съжалявам, но нямате право да разглеждате тази страница." - -#: forum/skins/default/templates/403.html:17 -#: forum/skins/default/templates/404.html:26 -#: forum/skins/zapprotect/templates/403.html:17 -#: forum/skins/zapprotect/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "Това може да е станало поради следните причини:" - -#: forum/skins/default/templates/403.html:19 -#: forum/skins/zapprotect/templates/403.html:19 -msgid "" -"you followed a link on an email, but you're currently logged in as another " -"user;" -msgstr "" -"използвахте линк от имейл, но в момента сте влезнали като друг потребител" - -#: forum/skins/default/templates/403.html:20 -#: forum/skins/zapprotect/templates/403.html:20 -msgid "there are errors in the url, please confirm it;" -msgstr "има грешки в адреса, моля проверете го;" - -#: forum/skins/default/templates/403.html:21 -#: forum/skins/zapprotect/templates/403.html:21 -#, fuzzy -msgid "if you believe you shouldn't bee seeing this error, please" -msgstr "ако смятате, че тази страница 404 не е трябвало да се показва" - -#: forum/skins/default/templates/403.html:23 -#: forum/skins/default/templates/404.html:31 -#: forum/skins/zapprotect/templates/403.html:23 -#: forum/skins/zapprotect/templates/404.html:31 -msgid "report this problem" -msgstr "оповестете за проблема" - -#: forum/skins/default/templates/403.html:29 -#: forum/skins/zapprotect/templates/403.html:29 -#, fuzzy -msgid "to home page" -msgstr "обратно на началната страница" - -#: forum/skins/default/templates/403.html:30 -#: forum/skins/default/templates/404.html:41 -#: forum/skins/zapprotect/templates/403.html:30 -#: forum/skins/zapprotect/templates/404.html:41 -msgid "see all questions" -msgstr "вижте всички въпроси" - -#: forum/skins/default/templates/403.html:31 -#: forum/skins/default/templates/404.html:42 -#: forum/skins/zapprotect/templates/403.html:31 -#: forum/skins/zapprotect/templates/404.html:42 -msgid "see all tags" -msgstr "вижте всички тагове" - -#: forum/skins/default/templates/404.html:4 -#: forum/skins/zapprotect/templates/404.html:4 -msgid "404 Error" -msgstr "Грешка 404" - -#: forum/skins/default/templates/404.html:20 -#: forum/skins/zapprotect/templates/404.html:20 -#, fuzzy -msgid "404 Not Found" -msgstr "Нищо не беше намерено" - -#: forum/skins/default/templates/404.html:24 -#: forum/skins/zapprotect/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "За съжаление търсената страница не беше намерена." - -#: forum/skins/default/templates/404.html:28 -#: forum/skins/zapprotect/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "този въпрос или отговор е бил изтрит;" - -#: forum/skins/default/templates/404.html:29 -#: forum/skins/zapprotect/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "адреса има грешка -- проверете го;" - -#: forum/skins/default/templates/404.html:30 -#: forum/skins/zapprotect/templates/404.html:30 -#, fuzzy -msgid "if you believe this error 404 should not have occurred, please" -msgstr "ако смятате, че тази страница 404 не е трябвало да се показва" - -#: forum/skins/default/templates/404.html:40 -#: forum/skins/default/templates/500.html:27 -#: forum/skins/zapprotect/templates/404.html:40 -#: forum/skins/zapprotect/templates/500.html:27 -msgid "back to previous page" -msgstr "върнете се на предишната страница" - -#: forum/skins/default/templates/500.html:22 -#: forum/skins/zapprotect/templates/500.html:22 -msgid "sorry, system error" -msgstr "съжаляваме, системна грешка" - -#: forum/skins/default/templates/500.html:24 -#: forum/skins/zapprotect/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "системния лог е записан, грешката ще бъде оправена възможно най-скоро" - -#: forum/skins/default/templates/500.html:25 -#: forum/skins/zapprotect/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "моля, споделете грешката с администраторите на сайта" - -#: forum/skins/default/templates/500.html:28 -#: forum/skins/zapprotect/templates/500.html:28 -msgid "see latest questions" -msgstr "вижте последните въпроси" - -#: forum/skins/default/templates/500.html:29 -#: forum/skins/zapprotect/templates/500.html:29 -msgid "see tags" -msgstr "виж таговете" - -#: forum/skins/default/templates/503.html:6 -#: forum/skins/default/templates/503.html:17 -#: forum/skins/zapprotect/templates/503.html:6 -#: forum/skins/zapprotect/templates/503.html:17 -msgid "System down for maintenance" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -#: forum/skins/zapprotect/templates/account_settings.html:4 -msgid "Account functions" -msgstr "Функции на профила" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:33 -#: forum/skins/zapprotect/templates/account_settings.html:29 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:33 -msgid "Change password" -msgstr "Смяна на паролата" - -#: forum/skins/default/templates/account_settings.html:30 -#: forum/skins/zapprotect/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "Предоставете нова парола за профила си." - -#: forum/skins/default/templates/account_settings.html:32 -#: forum/skins/zapprotect/templates/account_settings.html:32 -msgid "Change email " -msgstr "Промяна на имейла " - -#: forum/skins/default/templates/account_settings.html:33 -#: forum/skins/zapprotect/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "Добавете или променете имейла асоцииран с Вашия акаунт." - -#: forum/skins/default/templates/account_settings.html:35 -#: forum/skins/zapprotect/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "Промени OpenID" - -#: forum/skins/default/templates/account_settings.html:36 -#: forum/skins/zapprotect/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "Променете OpenID свързан с Вашия акаунт" - -#: forum/skins/default/templates/account_settings.html:39 -#: forum/skins/zapprotect/templates/account_settings.html:39 -msgid "Delete account" -msgstr "Изтрий профила" - -#: forum/skins/default/templates/account_settings.html:40 -#: forum/skins/zapprotect/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "Изтрий потребителя и цялата информация от сайта" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:62 -#: forum/skins/zapprotect/templates/answer_edit.html:5 -#: forum/skins/zapprotect/templates/answer_edit.html:62 -msgid "Edit answer" -msgstr "Редактирай отговора" - -#: forum/skins/default/templates/answer_edit.html:19 -#: forum/skins/default/templates/answer_edit.html:22 -#: forum/skins/default/templates/ask.html:26 -#: forum/skins/default/templates/ask.html:29 -#: forum/skins/default/templates/question.html:38 -#: forum/skins/default/templates/question.html:41 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -#: forum/skins/zapprotect/templates/answer_edit.html:19 -#: forum/skins/zapprotect/templates/answer_edit.html:22 -#: forum/skins/zapprotect/templates/ask.html:26 -#: forum/skins/zapprotect/templates/ask.html:29 -#: forum/skins/zapprotect/templates/question.html:38 -#: forum/skins/zapprotect/templates/question.html:41 -#: forum/skins/zapprotect/templates/question_edit.html:19 -#: forum/skins/zapprotect/templates/question_edit.html:22 -msgid "hide preview" -msgstr "скрий прегледа" - -#: forum/skins/default/templates/answer_edit.html:22 -#: forum/skins/default/templates/ask.html:29 -#: forum/skins/default/templates/question.html:41 -#: forum/skins/default/templates/question_edit.html:22 -#: forum/skins/zapprotect/templates/answer_edit.html:22 -#: forum/skins/zapprotect/templates/ask.html:29 -#: forum/skins/zapprotect/templates/question.html:41 -#: forum/skins/zapprotect/templates/question_edit.html:22 -msgid "show preview" -msgstr "покажи прегледа" - -#: forum/skins/default/templates/answer_edit.html:62 -#: forum/skins/default/templates/question_edit.html:91 -#: forum/skins/default/templates/question_retag.html:58 -#: forum/skins/default/templates/revisions.html:38 -#: forum/skins/zapprotect/templates/answer_edit.html:62 -#: forum/skins/zapprotect/templates/question_edit.html:91 -#: forum/skins/zapprotect/templates/question_retag.html:58 -#: forum/skins/zapprotect/templates/revisions.html:38 -msgid "back" -msgstr "назад" - -#: forum/skins/default/templates/answer_edit.html:67 -#: forum/skins/default/templates/question_edit.html:96 -#: forum/skins/default/templates/revisions.html:54 -#: forum/skins/zapprotect/templates/answer_edit.html:67 -#: forum/skins/zapprotect/templates/question_edit.html:96 -#: forum/skins/zapprotect/templates/revisions.html:54 -msgid "revision" -msgstr "ревизия" - -#: forum/skins/default/templates/answer_edit.html:70 -#: forum/skins/default/templates/question_edit.html:100 -#: forum/skins/zapprotect/templates/answer_edit.html:70 -#: forum/skins/zapprotect/templates/question_edit.html:100 -msgid "select revision" -msgstr "изберете ревизия" - -#: forum/skins/default/templates/answer_edit.html:77 -#: forum/skins/default/templates/ask.html:129 -#: forum/skins/default/templates/question.html:222 -#: forum/skins/default/templates/question_edit.html:117 -#: forum/skins/zapprotect/templates/answer_edit.html:77 -#: forum/skins/zapprotect/templates/ask.html:129 -#: forum/skins/zapprotect/templates/question.html:222 -#: forum/skins/zapprotect/templates/question_edit.html:117 -msgid "Toggle the real time Markdown editor preview" -msgstr "Покажи визуалния текстов редактор" - -#: forum/skins/default/templates/answer_edit.html:77 -#: forum/skins/default/templates/ask.html:129 -#: forum/skins/default/templates/question.html:223 -#: forum/skins/default/templates/question_edit.html:117 -#: forum/skins/zapprotect/templates/answer_edit.html:77 -#: forum/skins/zapprotect/templates/ask.html:129 -#: forum/skins/zapprotect/templates/question.html:223 -#: forum/skins/zapprotect/templates/question_edit.html:117 -msgid "toggle preview" -msgstr "покажи прегледа" - -#: forum/skins/default/templates/answer_edit.html:93 -#: forum/skins/default/templates/question_edit.html:144 -#: forum/skins/default/templates/question_retag.html:79 -#: forum/skins/zapprotect/templates/answer_edit.html:93 -#: forum/skins/zapprotect/templates/question_edit.html:144 -#: forum/skins/zapprotect/templates/question_retag.html:79 -msgid "Save edit" -msgstr "Запази промените" - -#: forum/skins/default/templates/answer_edit.html:94 -#: forum/skins/default/templates/base_content.html:34 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:145 -#: forum/skins/default/templates/question_retag.html:80 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:99 -#: forum/skins/zapprotect/templates/answer_edit.html:94 -#: forum/skins/zapprotect/templates/base_content.html:34 -#: forum/skins/zapprotect/templates/close.html:29 -#: forum/skins/zapprotect/templates/feedback.html:50 -#: forum/skins/zapprotect/templates/question_edit.html:145 -#: forum/skins/zapprotect/templates/question_retag.html:80 -#: forum/skins/zapprotect/templates/reopen.html:30 -#: forum/skins/zapprotect/templates/users/edit.html:99 -msgid "Cancel" -msgstr "Откажи" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "Съвети" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "направете отговора подходящ за общността" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "опитайте се да отговорите, а не изисквайте дискусия" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "опитайте се да предоставите детайлна информация" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:16 -#: forum/skins/zapprotect/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "бъдете кратки и ясни" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -#: forum/skins/zapprotect/templates/answer_edit_tips.html:20 -#: forum/skins/zapprotect/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "вижте често задаваните въпроси" - -#: forum/skins/default/templates/ask.html:4 -#: forum/skins/default/templates/ask.html:92 -#: forum/skins/zapprotect/templates/ask.html:4 -#: forum/skins/zapprotect/templates/ask.html:92 -msgid "Ask a question" -msgstr "Задайте въпрос" - -#: forum/skins/default/templates/ask.html:99 -#: forum/skins/zapprotect/templates/ask.html:99 -msgid "You are welcome to start submitting your question anonymously." -msgstr "" - -#: forum/skins/default/templates/ask.html:100 -#: forum/skins/zapprotect/templates/ask.html:100 -msgid "" -"\n" -" After submiting your question, you will be redirected to " -"the login/signup page.\n" -" Your question will be saved in the current session and " -"will be published after you login with your existing account,\n" -" or signup for a new account" -msgstr "" - -#: forum/skins/default/templates/ask.html:104 -#: forum/skins/zapprotect/templates/ask.html:104 -msgid "and validate your email." -msgstr "" - -#: forum/skins/default/templates/ask.html:109 -#: forum/skins/zapprotect/templates/ask.html:109 -msgid "" -"Remember, your question will not be published until you validate your email." -msgstr "" - -#: forum/skins/default/templates/ask.html:110 -#: forum/skins/default/templates/question.html:208 -#: forum/skins/default/templates/users/info.html:86 -#: forum/skins/zapprotect/templates/ask.html:110 -#: forum/skins/zapprotect/templates/question.html:208 -#: forum/skins/zapprotect/templates/users/info.html:86 -msgid "Send me a validation link." -msgstr "" - -#: forum/skins/default/templates/ask.html:145 -#: forum/skins/zapprotect/templates/ask.html:145 -msgid "(required)" -msgstr "(задължително)" - -#: forum/skins/default/templates/ask.html:152 -#: forum/skins/zapprotect/templates/ask.html:152 -msgid "Login/signup to post your question" -msgstr "Оторизирайте се за да публикувате" - -#: forum/skins/default/templates/ask.html:154 -#: forum/skins/zapprotect/templates/ask.html:154 -msgid "Ask your question" -msgstr "Задайте Вашия въпрос" - -#: forum/skins/default/templates/badge.html:7 -#: forum/skins/default/templates/badge.html:18 -#: forum/skins/zapprotect/templates/badge.html:7 -#: forum/skins/zapprotect/templates/badge.html:18 -msgid "Badge" -msgstr "Точка" - -#: forum/skins/default/templates/badge.html:27 -#: forum/skins/zapprotect/templates/badge.html:27 -msgid "The users have been awarded with badges:" -msgstr "Потребителя е награден с точки:" - -#: forum/skins/default/templates/badges.html:6 -#: forum/skins/zapprotect/templates/badges.html:6 -msgid "Badges summary" -msgstr "Обобщение за точките" - -#: forum/skins/default/templates/badges.html:9 -#: forum/skins/zapprotect/templates/badges.html:9 -msgid "Badges" -msgstr "Точки" - -#: forum/skins/default/templates/badges.html:13 -#: forum/skins/zapprotect/templates/badges.html:13 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" -"Ако Вашите отговори са ползотворни, общността ще Ви се отблагодари с точки." - -#: forum/skins/default/templates/badges.html:14 -#: forum/skins/zapprotect/templates/badges.html:14 -#, fuzzy -msgid "" -"Below is the list of available badges and number of times each type of badge " -"has been awarded.\n" -" " -msgstr "" -"Currently badges differ only by their level: gold, " -"silver and bronze (their meanings are " -"described on the right). In the future there will be many types of badges at " -"each level. Please give us your feedback - what kinds of badges would you like to see and " -"suggest the activity for which those badges might be awarded." - -#: forum/skins/default/templates/badges.html:41 -#: forum/skins/zapprotect/templates/badges.html:41 -msgid "Community badges" -msgstr "Badge levels" - -#: forum/skins/default/templates/badges.html:44 -#: forum/skins/zapprotect/templates/badges.html:44 -msgid "gold badge: the highest honor and is very rare" -msgstr "" - -#: forum/skins/default/templates/badges.html:44 -#: forum/skins/zapprotect/templates/badges.html:44 -msgid "gold" -msgstr "злато" - -#: forum/skins/default/templates/badges.html:47 -#: forum/skins/zapprotect/templates/badges.html:47 -msgid "gold badge description" -msgstr "" -"Gold badge is the highest award in this community. To obtain it have to show " -"profound knowledge and ability in addition to your active participation." - -#: forum/skins/default/templates/badges.html:51 -#: forum/skins/zapprotect/templates/badges.html:51 -msgid "" -"silver badge: occasionally awarded for the very high quality contributions" -msgstr "" - -#: forum/skins/default/templates/badges.html:52 -#: forum/skins/zapprotect/templates/badges.html:52 -msgid "silver" -msgstr "сребро" - -#: forum/skins/default/templates/badges.html:55 -#: forum/skins/zapprotect/templates/badges.html:55 -msgid "silver badge description" -msgstr "" -"Obtaining silver badge requires significant patience. If you have received " -"one, that means you have greatly contributed to this community." - -#: forum/skins/default/templates/badges.html:58 -#: forum/skins/zapprotect/templates/badges.html:58 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:59 -#: forum/skins/zapprotect/templates/badges.html:59 -msgid "bronze" -msgstr "бронз" - -#: forum/skins/default/templates/badges.html:62 -#: forum/skins/zapprotect/templates/badges.html:62 -msgid "bronze badge description" -msgstr "" -"If you are an active participant in this community, you will be recognized " -"with this badge." - -#: forum/skins/default/templates/base_content.html:30 -#: forum/skins/zapprotect/templates/base_content.html:30 -msgid "Are you sure?" -msgstr "" - -#: forum/skins/default/templates/base_content.html:31 -#: forum/skins/zapprotect/templates/base_content.html:31 -msgid "Yes" -msgstr "" - -#: forum/skins/default/templates/base_content.html:32 -#: forum/skins/zapprotect/templates/base_content.html:32 -msgid "No" -msgstr "" - -#: forum/skins/default/templates/base_content.html:33 -#: forum/skins/zapprotect/templates/base_content.html:33 -#, fuzzy -msgid "Message:" -msgstr "Вашето съобщение:" - -#: forum/skins/default/templates/base_content.html:35 -#: forum/skins/zapprotect/templates/base_content.html:35 -#, fuzzy -msgid "Close" -msgstr "[затворено]" - -#: forum/skins/default/templates/base_content.html:36 -#: forum/skins/zapprotect/templates/base_content.html:36 -msgid "Ok" -msgstr "" - -#: forum/skins/default/templates/base_content.html:38 -#: forum/skins/zapprotect/templates/base_content.html:38 -#: forum/templatetags/node_tags.py:151 -#, fuzzy -msgid "word" -msgstr "парола" - -#: forum/skins/default/templates/base_content.html:39 -#: forum/skins/zapprotect/templates/base_content.html:39 -#, fuzzy -msgid "words" -msgstr "парола" - -#: forum/skins/default/templates/base_content.html:40 -#: forum/skins/zapprotect/templates/base_content.html:40 -#: forum/templatetags/node_tags.py:150 -#, fuzzy -msgid "character" -msgstr "" -"#-#-#-#-# django.pot (PACKAGE VERSION) #-#-#-#-#\n" -"#-#-#-#-# django.pot (PACKAGE VERSION) #-#-#-#-#\n" - -#: forum/skins/default/templates/base_content.html:41 -#: forum/skins/zapprotect/templates/base_content.html:41 -msgid "characters" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -#: forum/skins/zapprotect/templates/close.html:6 -#: forum/skins/zapprotect/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -#: forum/skins/zapprotect/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -#: forum/skins/zapprotect/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -#: forum/skins/zapprotect/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:32 -#: forum/skins/zapprotect/templates/email_base.html:32 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -#: forum/skins/zapprotect/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -#: forum/skins/zapprotect/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#: forum/skins/zapprotect/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -#: forum/skins/zapprotect/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -#: forum/skins/zapprotect/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -#: forum/skins/zapprotect/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:8 -#: forum/skins/zapprotect/templates/header.html:8 -msgid "back to home page" -msgstr "обратно на началната страница" - -#: forum/skins/default/templates/header.html:20 -#: forum/skins/zapprotect/templates/header.html:20 -msgid "ask a question" -msgstr "задай въпрос" - -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/opensearch.html:7 -#: forum/skins/default/templates/search.html:15 -#: forum/skins/zapprotect/templates/header.html:30 -#: forum/skins/zapprotect/templates/opensearch.html:7 -#: forum/skins/zapprotect/templates/search.html:15 -msgid "search" -msgstr "търсене" - -#: forum/skins/default/templates/header.html:34 -#: forum/skins/default/templates/search.html:19 -#: forum/skins/zapprotect/templates/header.html:34 -#: forum/skins/zapprotect/templates/search.html:19 forum/views/readers.py:98 -#: forum/views/readers.py:100 forum/views/readers.py:139 -#: forum/views/users.py:317 -msgid "questions" -msgstr "въпроси" - -#: forum/skins/default/templates/header.html:36 -#: forum/skins/default/templates/search.html:21 -#: forum/skins/zapprotect/templates/header.html:36 -#: forum/skins/zapprotect/templates/search.html:21 forum/views/users.py:59 -msgid "users" -msgstr "потребители" - -#: forum/skins/default/templates/index.html:11 -#: forum/skins/zapprotect/templates/index.html:11 -#, fuzzy -msgid "welcome to " -msgstr "Добре дошли в Zapprotect Q&A" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -#: forum/skins/zapprotect/templates/logout.html:6 -#: forum/skins/zapprotect/templates/logout.html:16 -msgid "Logout" -msgstr "Изход" - -#: forum/skins/default/templates/logout.html:19 -#: forum/skins/zapprotect/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" -"Clicking Logout will log you out from the forum, but will " -"not sign you off from your OpenID provider.

    If you wish to sign off " -"completely - please make sure to log out from your OpenID provider as well." - -#: forum/skins/default/templates/logout.html:20 -#: forum/skins/zapprotect/templates/logout.html:20 -msgid "Logout now" -msgstr "Излез сега" - -#: forum/skins/default/templates/markdown_help.html:6 -#: forum/skins/zapprotect/templates/markdown_help.html:6 -#, fuzzy -msgid "Markdown Help" -msgstr "Markdown съвети" - -#: forum/skins/default/templates/markdown_help.html:15 -#: forum/skins/zapprotect/templates/markdown_help.html:15 -#, fuzzy -msgid "Markdown Syntax" -msgstr "Markdown съвети" - -#: forum/skins/default/templates/markdown_help.html:16 -#: forum/skins/zapprotect/templates/markdown_help.html:16 -msgid "" -"This document describes some of the more important parts of Markdown (for " -"writers, that is). There's a lot more to the syntax than is mentioned here, " -"though. To get the full syntax documentation, go to John Gruber's Markdown Syntax page" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:20 -#: forum/skins/zapprotect/templates/markdown_help.html:20 -#, fuzzy -msgid "Headers" -msgstr "Точки" - -#: forum/skins/default/templates/markdown_help.html:22 -#: forum/skins/zapprotect/templates/markdown_help.html:22 -msgid "" -"For top-level headers underline the text with equal signs. For second-level " -"headers use dashes to underline." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:26 -#: forum/skins/default/templates/markdown_help.html:30 -#: forum/skins/default/templates/markdown_help.html:49 -#: forum/skins/default/templates/markdown_help.html:52 -#: forum/skins/zapprotect/templates/markdown_help.html:26 -#: forum/skins/zapprotect/templates/markdown_help.html:30 -#: forum/skins/zapprotect/templates/markdown_help.html:49 -#: forum/skins/zapprotect/templates/markdown_help.html:52 -msgid "This is an H1" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:36 -#: forum/skins/default/templates/markdown_help.html:40 -#: forum/skins/default/templates/markdown_help.html:58 -#: forum/skins/default/templates/markdown_help.html:61 -#: forum/skins/zapprotect/templates/markdown_help.html:36 -#: forum/skins/zapprotect/templates/markdown_help.html:40 -#: forum/skins/zapprotect/templates/markdown_help.html:58 -#: forum/skins/zapprotect/templates/markdown_help.html:61 -msgid "This is an H2" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:45 -#: forum/skins/zapprotect/templates/markdown_help.html:45 -msgid "" -"If you would rather, you can prefix headers with a hash (#) symbol instead. " -"The number of hash symbols indicates the header level. For example, a " -"single hash indicates a header level of one while two indicates the second " -"header level:" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:67 -#: forum/skins/default/templates/markdown_help.html:70 -#: forum/skins/zapprotect/templates/markdown_help.html:67 -#: forum/skins/zapprotect/templates/markdown_help.html:70 -msgid "This is an H3" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:75 -#: forum/skins/zapprotect/templates/markdown_help.html:75 -msgid "" -"Which you choose is a matter of style. Whichever you thinks looks better in " -"the text document. In both cases, the final, fully formatted, document " -"looks the same." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:80 -#: forum/skins/zapprotect/templates/markdown_help.html:80 -msgid "Paragraphs" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:82 -#: forum/skins/zapprotect/templates/markdown_help.html:82 -msgid "Paragraphs are surrounded by blank lines." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:85 -#: forum/skins/zapprotect/templates/markdown_help.html:85 -msgid "This is paragraph one." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:88 -#: forum/skins/zapprotect/templates/markdown_help.html:88 -msgid "This is paragraph two." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:93 -#: forum/skins/zapprotect/templates/markdown_help.html:93 -#, fuzzy -msgid "Links" -msgstr "Вход" - -#: forum/skins/default/templates/markdown_help.html:95 -#: forum/skins/zapprotect/templates/markdown_help.html:95 -msgid "" -"\n" -" There are two parts to every link.\n" -" The first is the actual text that the user will see and it " -"is surrounded by brackets.\n" -" The second is address of the page you wish to link to and it " -"is surrounded in parenthesis.\n" -" " -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:103 -#: forum/skins/default/templates/markdown_help.html:106 -#: forum/skins/zapprotect/templates/markdown_help.html:103 -#: forum/skins/zapprotect/templates/markdown_help.html:106 -msgid "link text" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:103 -#: forum/skins/zapprotect/templates/markdown_help.html:103 -msgid "http://example.com/" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:112 -#: forum/skins/zapprotect/templates/markdown_help.html:112 -msgid "Formatting" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:114 -#: forum/skins/zapprotect/templates/markdown_help.html:114 -msgid "" -"To indicate bold text surround the text with two star (*) symbols or two " -"underscore (_) symbols:" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:118 -#: forum/skins/default/templates/markdown_help.html:121 -#: forum/skins/zapprotect/templates/markdown_help.html:118 -#: forum/skins/zapprotect/templates/markdown_help.html:121 -msgid "This is bold" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:126 -#: forum/skins/default/templates/markdown_help.html:129 -#: forum/skins/zapprotect/templates/markdown_help.html:126 -#: forum/skins/zapprotect/templates/markdown_help.html:129 -msgid "This is also bold" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:134 -#: forum/skins/zapprotect/templates/markdown_help.html:134 -msgid "" -"To indicate italicized text surround the text with a single star (*) symbol " -"or underscore (_) symbol:" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:138 -#: forum/skins/default/templates/markdown_help.html:141 -#: forum/skins/zapprotect/templates/markdown_help.html:138 -#: forum/skins/zapprotect/templates/markdown_help.html:141 -msgid "This is italics" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:146 -#: forum/skins/default/templates/markdown_help.html:149 -#: forum/skins/zapprotect/templates/markdown_help.html:146 -#: forum/skins/zapprotect/templates/markdown_help.html:149 -msgid "This is also italics" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:154 -#: forum/skins/zapprotect/templates/markdown_help.html:154 -msgid "" -"To indicate italicized and bold text surround the text with three star (*) " -"symbol or underscore (_) symbol:" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:158 -#: forum/skins/default/templates/markdown_help.html:161 -#: forum/skins/zapprotect/templates/markdown_help.html:158 -#: forum/skins/zapprotect/templates/markdown_help.html:161 -msgid "This is bold and italics" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:166 -#: forum/skins/default/templates/markdown_help.html:169 -#: forum/skins/zapprotect/templates/markdown_help.html:166 -#: forum/skins/zapprotect/templates/markdown_help.html:169 -msgid "This is also bold and italics" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:176 -#: forum/skins/zapprotect/templates/markdown_help.html:176 -msgid "Blockquotes" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:178 -#: forum/skins/zapprotect/templates/markdown_help.html:178 -msgid "" -"To create an indented area use the right angle bracket (>) character " -"before each line to be included in the blockquote." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:182 -#: forum/skins/default/templates/markdown_help.html:186 -#: forum/skins/default/templates/markdown_help.html:195 -#: forum/skins/default/templates/markdown_help.html:200 -#: forum/skins/zapprotect/templates/markdown_help.html:182 -#: forum/skins/zapprotect/templates/markdown_help.html:186 -#: forum/skins/zapprotect/templates/markdown_help.html:195 -#: forum/skins/zapprotect/templates/markdown_help.html:200 -msgid "This is part of a blockquote." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:183 -#: forum/skins/default/templates/markdown_help.html:186 -#: forum/skins/zapprotect/templates/markdown_help.html:183 -#: forum/skins/zapprotect/templates/markdown_help.html:186 -msgid "This is part of the same blockquote." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:191 -#: forum/skins/zapprotect/templates/markdown_help.html:191 -msgid "" -"Rather than putting it in front of each line to include in the block quote " -"you can put it at the beginning and end the quote with a newline." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:196 -#: forum/skins/default/templates/markdown_help.html:200 -#: forum/skins/zapprotect/templates/markdown_help.html:196 -#: forum/skins/zapprotect/templates/markdown_help.html:200 -msgid "This continues the blockquote even though there's no bracket." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:197 -#: forum/skins/default/templates/markdown_help.html:201 -#: forum/skins/zapprotect/templates/markdown_help.html:197 -#: forum/skins/zapprotect/templates/markdown_help.html:201 -msgid "The blank line ends the blockquote." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:207 -#: forum/skins/zapprotect/templates/markdown_help.html:207 -msgid "Lists" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:209 -#: forum/skins/zapprotect/templates/markdown_help.html:209 -msgid "" -"To create a numbered list in Markdown, prefix each item in the list with a " -"number followed by a period and space. The number you use actually doesn't " -"matter." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:213 -#: forum/skins/default/templates/markdown_help.html:214 -#: forum/skins/default/templates/markdown_help.html:215 -#: forum/skins/default/templates/markdown_help.html:219 -#: forum/skins/default/templates/markdown_help.html:220 -#: forum/skins/default/templates/markdown_help.html:221 -#: forum/skins/zapprotect/templates/markdown_help.html:213 -#: forum/skins/zapprotect/templates/markdown_help.html:214 -#: forum/skins/zapprotect/templates/markdown_help.html:215 -#: forum/skins/zapprotect/templates/markdown_help.html:219 -#: forum/skins/zapprotect/templates/markdown_help.html:220 -#: forum/skins/zapprotect/templates/markdown_help.html:221 -msgid "Item" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:227 -#: forum/skins/zapprotect/templates/markdown_help.html:227 -msgid "" -"To create a bulleted list, prefix each item in the list with a star (*) " -"character." -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:231 -#: forum/skins/default/templates/markdown_help.html:237 -#: forum/skins/zapprotect/templates/markdown_help.html:231 -#: forum/skins/zapprotect/templates/markdown_help.html:237 -msgid "A list item" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:232 -#: forum/skins/default/templates/markdown_help.html:238 -#: forum/skins/zapprotect/templates/markdown_help.html:232 -#: forum/skins/zapprotect/templates/markdown_help.html:238 -msgid "Another list item" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:233 -#: forum/skins/default/templates/markdown_help.html:239 -#: forum/skins/zapprotect/templates/markdown_help.html:233 -#: forum/skins/zapprotect/templates/markdown_help.html:239 -msgid "A third list item" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:246 -#: forum/skins/zapprotect/templates/markdown_help.html:246 -msgid "A Lot More" -msgstr "" - -#: forum/skins/default/templates/markdown_help.html:247 -#: forum/skins/zapprotect/templates/markdown_help.html:247 -msgid "" -"There's a lot more to the Markdown syntax than is mentioned here. But for " -"creative writers, this covers a lot of the necessities. To find out more " -"about Markdown than you'd ever want to really know, go to the Markdown page where it all started." -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -#: forum/skins/zapprotect/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "Моля, покажете, че сте Човек" - -#: forum/skins/default/templates/notarobot.html:10 -#: forum/skins/zapprotect/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "Аз съм Човек" - -#: forum/skins/default/templates/opensearch.html:4 -#: forum/skins/default/templates/opensearch.html:5 -#: forum/skins/default/templates/osqaadmin/nodeman.html:275 -#: forum/skins/zapprotect/templates/opensearch.html:4 -#: forum/skins/zapprotect/templates/opensearch.html:5 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:275 -#: rosetta/templates/rosetta/pofile.html:42 -#, fuzzy -msgid "Search" -msgstr "търсене" - -#: forum/skins/default/templates/opensearch.html:5 -#: forum/skins/zapprotect/templates/opensearch.html:5 -msgid "using your browser." -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -#: forum/skins/default/templates/paginator/page_sizes.html:4 -#: forum/skins/zapprotect/templates/pagesize.html:6 -#: forum/skins/zapprotect/templates/paginator/page_sizes.html:4 -msgid "posts per page" -msgstr "публикации на страница" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -#: forum/skins/default/templates/paginator/page_numbers.html:6 -#: forum/skins/zapprotect/templates/paginator.html:6 -#: forum/skins/zapprotect/templates/paginator.html:7 -#: forum/skins/zapprotect/templates/paginator/page_numbers.html:6 -msgid "previous" -msgstr "предишна" - -#: forum/skins/default/templates/paginator.html:19 -#: forum/skins/zapprotect/templates/paginator.html:19 -msgid "current page" -msgstr "текуща страница" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -#: forum/skins/zapprotect/templates/paginator.html:22 -#: forum/skins/zapprotect/templates/paginator.html:29 -msgid "page number " -msgstr "номер на страницата " - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -#: forum/skins/zapprotect/templates/paginator.html:22 -#: forum/skins/zapprotect/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -#: forum/skins/default/templates/paginator/page_numbers.html:22 -#: forum/skins/zapprotect/templates/paginator.html:33 -#: forum/skins/zapprotect/templates/paginator/page_numbers.html:22 -msgid "next page" -msgstr "следваща страница" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -#: forum/skins/zapprotect/templates/privacy.html:6 -#: forum/skins/zapprotect/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "Декларация за поверителност" - -#: forum/skins/default/templates/privacy.html:15 -#: forum/skins/zapprotect/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" -"Respecting users privacy is an important core principle of this Q&A " -"forum. Information on this page details how this forum protects your " -"privacy, and what type of information is collected." - -#: forum/skins/default/templates/privacy.html:18 -#: forum/skins/zapprotect/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -#: forum/skins/zapprotect/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" -"Information on question views, revisions of questions and answers - both " -"times and content are recorded for each user in order to correctly count " -"number of views, maintain data integrity and report relevant updates." - -#: forum/skins/default/templates/privacy.html:23 -#: forum/skins/zapprotect/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -#: forum/skins/zapprotect/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" -"Members of this community may choose to display personally identifiable " -"information in their profiles. Forum will never display such information " -"without a request from the user." - -#: forum/skins/default/templates/privacy.html:28 -#: forum/skins/zapprotect/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -#: forum/skins/zapprotect/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" -"None of the data that is not openly shown on the forum by the choice of the " -"user is shared with any third party." - -#: forum/skins/default/templates/privacy.html:35 -#: forum/skins/zapprotect/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" -"Forum software relies on the internet cookie technology to keep track of " -"user sessions. Cookies must be enabled in your browser so that forum can " -"work for you." - -#: forum/skins/default/templates/privacy.html:37 -#: forum/skins/zapprotect/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -#: forum/skins/zapprotect/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" -"These policies may be adjusted to improve protection of user's privacy. " -"Whenever such changes occur, users will be notified via the internal " -"messaging system. " - -#: forum/skins/default/templates/question.html:110 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#: forum/skins/zapprotect/templates/question.html:110 -#: forum/skins/zapprotect/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "още въпроси с таг '%(tagname)s'" - -#: forum/skins/default/templates/question.html:129 -#: forum/skins/zapprotect/templates/question.html:129 -#, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "Въпроса беше затворен поради \"%(close_reason)s\" от" - -#: forum/skins/default/templates/question.html:140 -#: forum/skins/zapprotect/templates/question.html:140 -#, fuzzy, python-format -msgid "One Answer:" -msgid_plural "%(counter)s Answers:" -msgstr[0] "най-новите" -msgstr[1] "най-новите" - -#: forum/skins/default/templates/question.html:189 -#: forum/skins/zapprotect/templates/question.html:189 -msgid "Your answer" -msgstr "Вашия отговор" - -#: forum/skins/default/templates/question.html:191 -#: forum/skins/zapprotect/templates/question.html:191 -msgid "Be the first one to answer this question!" -msgstr "Бъдете първия отговорил на този въпрос!" - -#: forum/skins/default/templates/question.html:198 -#: forum/skins/zapprotect/templates/question.html:198 -#, fuzzy -msgid "You can answer anonymously and then login." -msgstr "" -"Започнете да добавяте анонимно - Вашия " -"отговор ще бъда запазен в сесията докато влезнете или си направите акаунт. " -"Моля използвайте неутрални отговори, за дискусия, " -"използвайте само коментарите и моля, гласувайте (след като се оторизирате)!" - -#: forum/skins/default/templates/question.html:202 -#: forum/skins/zapprotect/templates/question.html:202 -#, fuzzy -msgid "Answer your own question only to give an answer." -msgstr "" -"Вие можете да отговорите на Вашия въпрос, но " -"се уверете че предоставяте отговор. Запомнете, че винаги " -"можете да промените първоначалния въпрос. Моля " -"използвайте коментари за дискутиране и не " -"забравяйте да гласувате за отговорите, които харесвате (или не " -"харесвате)" - -#: forum/skins/default/templates/question.html:204 -#: forum/skins/zapprotect/templates/question.html:204 -#, fuzzy -msgid "Please only give an answer, no discussions." -msgstr "" -"Отговора трябва да съдържа само съществена " -"информация. Ако искате да коментирате, просто използвайте " -"опцията за коментиране. Запомнете, че винаги можете да " -"промените Вашите отговори - не е нужно да отговаряте на " -"същите въпроси два пъти. Защо така не забравяйте да гласувате - наистина помага да бъдат избрани най-добрите въпроси и отговори!" - -#: forum/skins/default/templates/question.html:207 -#: forum/skins/zapprotect/templates/question.html:207 -msgid "" -"Remember, your answer will not be published until you validate your email." -msgstr "" - -#: forum/skins/default/templates/question.html:246 -#: forum/skins/zapprotect/templates/question.html:246 -msgid "Login/Signup to Post Your Answer" -msgstr "Оторизирайте се за да добавите Вашия отговор" - -#: forum/skins/default/templates/question.html:249 -#: forum/skins/zapprotect/templates/question.html:249 -msgid "Answer Your Own Question" -msgstr "Отговорете на Вашия въпрос" - -#: forum/skins/default/templates/question.html:251 -#: forum/skins/zapprotect/templates/question.html:251 -msgid "Answer the question" -msgstr "Изпратете Вашия отговор" - -#: forum/skins/default/templates/question.html:269 -#: forum/skins/zapprotect/templates/question.html:269 -msgid "Question tags" -msgstr "Тагове" - -#: forum/skins/default/templates/question.html:274 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:45 -#: forum/skins/default/templates/question_list/item.html:31 -#: forum/skins/zapprotect/templates/question.html:274 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:52 -#: forum/skins/zapprotect/templates/tags.html:45 -#: forum/skins/zapprotect/templates/question_list/item.html:31 -msgid "see questions tagged" -msgstr "виж въпросите по тагове" - -#: forum/skins/default/templates/question.html:274 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:45 -#: forum/skins/default/templates/question_list/item.html:31 -#: forum/skins/zapprotect/templates/question.html:274 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:52 -#: forum/skins/zapprotect/templates/tags.html:45 -#: forum/skins/zapprotect/templates/question_list/item.html:31 -msgid "using tags" -msgstr "използва тагове" - -#: forum/skins/default/templates/question.html:279 -#: forum/skins/zapprotect/templates/question.html:279 -msgid "question asked" -msgstr "Зададен въпрос" - -#: forum/skins/default/templates/question.html:282 -#: forum/skins/zapprotect/templates/question.html:282 -msgid "question was seen" -msgstr "Въпроса е видян" - -#: forum/skins/default/templates/question.html:282 -#: forum/skins/zapprotect/templates/question.html:282 -msgid "times" -msgstr "пъти" - -#: forum/skins/default/templates/question.html:285 -#: forum/skins/zapprotect/templates/question.html:285 -msgid "last updated" -msgstr "Последно обновен" - -#: forum/skins/default/templates/question.html:291 -#: forum/skins/zapprotect/templates/question.html:291 -msgid "Related questions" -msgstr "Подобни въпроси" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:91 -#: forum/skins/zapprotect/templates/question_edit.html:5 -#: forum/skins/zapprotect/templates/question_edit.html:91 -msgid "Edit question" -msgstr "Редактирай въпроса" - -#: forum/skins/default/templates/question_edit_tips.html:4 -#: forum/skins/zapprotect/templates/question_edit_tips.html:4 -msgid "Title Tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#: forum/skins/zapprotect/templates/question_edit_tips.html:9 -#, fuzzy, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/question_edit_tips.html:15 -#: forum/skins/zapprotect/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "уверете се, че уточнявате всички аспекти" - -#: forum/skins/default/templates/question_edit_tips.html:30 -#: forum/skins/zapprotect/templates/question_edit_tips.html:30 -msgid "What Are Tags" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:33 -#: forum/skins/zapprotect/templates/question_edit_tips.html:33 -msgid "Tags are words that will tell others what this question is about." -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:36 -#: forum/skins/zapprotect/templates/question_edit_tips.html:36 -msgid "They will help other find your question." -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:39 -#: forum/skins/zapprotect/templates/question_edit_tips.html:39 -#, python-format -msgid "" -"\n" -" A question can have up to %(max_number_of_tags)s tags, but " -"it must have at least %(min_number_of_tags)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:58 -#: forum/skins/zapprotect/templates/question_retag.html:5 -#: forum/skins/zapprotect/templates/question_retag.html:58 -msgid "Change tags" -msgstr "Промени таговете" - -#: forum/skins/default/templates/question_retag.html:43 -#: forum/skins/zapprotect/templates/question_retag.html:43 -msgid "tags are required" -msgstr "таговете са задължителни" - -#: forum/skins/default/templates/question_retag.html:44 -#: forum/skins/zapprotect/templates/question_retag.html:44 -#, fuzzy, python-format -msgid "" -"\n" -" maxlength: \"up to %(max_number_of_tags)s tags, less " -"than %(max_length_of_tags)s characters each\"\n" -" " -msgstr "" -"\n" -"

    %(q_num)s

    question with title " -"containing %(searchtitle)s" - -#: forum/skins/default/templates/question_retag.html:88 -#: forum/skins/zapprotect/templates/question_retag.html:88 -msgid "Why use and modify tags?" -msgstr "Защо да използваме тагове?" - -#: forum/skins/default/templates/question_retag.html:91 -#: forum/skins/zapprotect/templates/question_retag.html:91 -msgid "tags help us keep Questions organized" -msgstr "таговете ни помагат да организираме въпросите" - -#: forum/skins/default/templates/question_retag.html:99 -#: forum/skins/zapprotect/templates/question_retag.html:99 -msgid "tag editors receive special awards from the community" -msgstr "редакторите на тагове получават специални награди от общността" - -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/count.html:15 -#: forum/skins/default/templates/question_list/item.html:15 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:13 -#: forum/skins/zapprotect/templates/question_list/count.html:15 -#: forum/skins/zapprotect/templates/question_list/item.html:15 -#: forum/views/users.py:55 -msgid "answers" -msgstr "отговори" - -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:11 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:14 -#: forum/skins/zapprotect/templates/question_list/item.html:11 -#: forum/views/commands.py:77 forum/views/readers.py:62 -#: forum/views/readers.py:63 forum/views/readers.py:265 -#: forum/views/users.py:54 forum/views/users.py:55 forum/views/users.py:356 -msgid "votes" -msgstr "гласове" - -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:19 -#: forum/skins/zapprotect/templates/question_summary_list_roll.html:15 -#: forum/skins/zapprotect/templates/question_list/item.html:19 -msgid "views" -msgstr "преглеждания" - -#: forum/skins/default/templates/questions.html:18 -#: forum/skins/default/templates/users/stats.html:19 -#: forum/skins/zapprotect/templates/questions.html:18 -#: forum/skins/zapprotect/templates/users/stats.html:19 -#, fuzzy -msgid "subscribe to question RSS feed" -msgstr "Вие сте абониран за този въпрос." - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -#: forum/skins/zapprotect/templates/reopen.html:6 -#: forum/skins/zapprotect/templates/reopen.html:16 -msgid "Reopen question" -msgstr "Отвори отново въпроса" - -#: forum/skins/default/templates/reopen.html:19 -#: forum/skins/zapprotect/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "Отвори преди затворения въпрос" - -#: forum/skins/default/templates/reopen.html:22 -#: forum/skins/zapprotect/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "Въпроса е бил затворен поради следната причина " - -#: forum/skins/default/templates/reopen.html:22 -#: forum/skins/zapprotect/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "причина - остави празно" - -#: forum/skins/default/templates/reopen.html:22 -#: forum/skins/zapprotect/templates/reopen.html:22 -msgid "on " -msgstr "на " - -#: forum/skins/default/templates/reopen.html:22 -#: forum/skins/zapprotect/templates/reopen.html:22 -msgid "date closed" -msgstr "дата на затваряне" - -#: forum/skins/default/templates/reopen.html:29 -#: forum/skins/zapprotect/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "Отвори отново този въпрос" - -#: forum/skins/default/templates/revisions.html:7 -#: forum/skins/default/templates/revisions.html:38 -#: forum/skins/zapprotect/templates/revisions.html:7 -#: forum/skins/zapprotect/templates/revisions.html:38 -msgid "Revision history" -msgstr "История на ревизиите" - -#: forum/skins/default/templates/revisions.html:52 -#: forum/skins/zapprotect/templates/revisions.html:52 -msgid "click to hide/show revision" -msgstr "скрий/покажи ревизиите" - -#: forum/skins/default/templates/search.html:7 -#: forum/skins/zapprotect/templates/search.html:7 -#, python-format -msgid "" -"\n" -"\t Search in %(app_name)s\n" -"\t" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -#: forum/skins/zapprotect/templates/subscription_status.html:3 -#, fuzzy -msgid "Follow this question" -msgstr "Отвори отново този въпрос" - -#: forum/skins/default/templates/subscription_status.html:4 -#: forum/skins/zapprotect/templates/subscription_status.html:4 -#, fuzzy -msgid "By Email" -msgstr "" -"Your Email (must be valid, never shown to others)" - -#: forum/skins/default/templates/subscription_status.html:9 -#: forum/skins/zapprotect/templates/subscription_status.html:9 -msgid "You were automatically subscribed to this question." -msgstr "Вие бяхте автоматично абониран за този въпрос." - -#: forum/skins/default/templates/subscription_status.html:11 -#: forum/skins/zapprotect/templates/subscription_status.html:11 -msgid "You are subscribed to this question." -msgstr "Вие сте абониран за този въпрос." - -#: forum/skins/default/templates/subscription_status.html:14 -#: forum/skins/zapprotect/templates/subscription_status.html:14 -msgid "You are not subscribed to this question." -msgstr "Вие не сте абониран за този въпрос." - -#: forum/skins/default/templates/subscription_status.html:19 -#: forum/skins/zapprotect/templates/subscription_status.html:19 -#: forum/views/commands.py:463 -msgid "unsubscribe me" -msgstr "махни абонамента ми" - -#: forum/skins/default/templates/subscription_status.html:21 -#: forum/skins/zapprotect/templates/subscription_status.html:21 -#: forum/views/commands.py:463 -msgid "subscribe me" -msgstr "абонирай ме" - -#: forum/skins/default/templates/subscription_status.html:26 -#: forum/skins/zapprotect/templates/subscription_status.html:26 -#, fuzzy, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" -"(можете да промените абонаментните настройки в Вашия профил)\n" - -#: forum/skins/default/templates/subscription_status.html:31 -#: forum/skins/zapprotect/templates/subscription_status.html:31 -#, fuzzy -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" -"Тук (след като се оторизирате) ще можете да се " -"абонирате за периодични известявания по този въпрос." - -#: forum/skins/default/templates/subscription_status.html:33 -#: forum/skins/zapprotect/templates/subscription_status.html:33 -msgid "By RSS" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:36 -#: forum/skins/zapprotect/templates/subscription_status.html:36 -#, fuzzy -msgid "subscribe to answers" -msgstr "абонирай ме" - -#: forum/skins/default/templates/subscription_status.html:37 -#: forum/skins/zapprotect/templates/subscription_status.html:37 -#, fuzzy -msgid "Answers" -msgstr "отговори" - -#: forum/skins/default/templates/subscription_status.html:41 -#: forum/skins/zapprotect/templates/subscription_status.html:41 -#, fuzzy -msgid "subscribe to comments and answers" -msgstr "най-старите" - -#: forum/skins/default/templates/subscription_status.html:42 -#: forum/skins/zapprotect/templates/subscription_status.html:42 -#, fuzzy -msgid "Answers and Comments" -msgstr "добави коментари" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -#: forum/skins/zapprotect/templates/tag_selector.html:4 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "Интересни тагове" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#: forum/skins/zapprotect/templates/tag_selector.html:10 -#: forum/skins/zapprotect/templates/tag_selector.html:27 -#: forum/skins/zapprotect/templates/question_list/related_tags.html:9 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:12 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "виж въпросите с таг '%(tag_name)s'" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#: forum/skins/zapprotect/templates/tag_selector.html:14 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "премахни '%(tag_name)s' от списъка с интересни тагове" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -#: forum/skins/zapprotect/templates/tag_selector.html:20 -#: forum/skins/zapprotect/templates/tag_selector.html:37 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:22 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "Добави" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -#: forum/skins/zapprotect/templates/tag_selector.html:21 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "Игнорирани тагове" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#: forum/skins/zapprotect/templates/tag_selector.html:31 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "премахни '%(tag_name)s' от списъка с игнорирани тагове" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:43 -#: forum/skins/zapprotect/templates/tag_selector.html:40 -#: forum/skins/zapprotect/templates/question_list/tag_selector.html:43 -msgid "keep ignored questions hidden" -msgstr "скривай игнорираните въпроси" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:29 -#: forum/skins/zapprotect/templates/tags.html:6 -#: forum/skins/zapprotect/templates/tags.html:29 -msgid "Tag list" -msgstr "Списък тагове" - -#: forum/skins/default/templates/tags.html:35 -#: forum/skins/zapprotect/templates/tags.html:35 -msgid "All tags matching query" -msgstr "Всички тагове отговарящи на заявката" - -#: forum/skins/default/templates/tags.html:38 -#: forum/skins/zapprotect/templates/tags.html:38 -msgid "Nothing found" -msgstr "Нищо не беше намерено" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:5 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "Опции за оторизиране" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "Това са външни оторизатори свързани с Вашия акаунт" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "В момента нямате външни оторизатори свързани с Вашия акаунт." - -#: forum/skins/default/templates/auth/auth_settings.html:20 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:20 -msgid "Add new provider" -msgstr "Добави нов оторизатор" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:24 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" -"За да промените паролата попълнете и изпратете " -"формата." - -#: forum/skins/default/templates/auth/auth_settings.html:26 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:26 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" -"Можете да зададете парола за Вашия акаунт, така че да използвате стандартно " -"потребителско име и парола!" - -#: forum/skins/default/templates/auth/auth_settings.html:33 -#: forum/skins/zapprotect/templates/auth/auth_settings.html:33 -#, fuzzy -msgid "Create password" -msgstr "Парола (напишете отново)" - -#: forum/skins/default/templates/auth/complete.html:5 -#: forum/skins/zapprotect/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "Свържете OpenID към този сайт" - -#: forum/skins/default/templates/auth/complete.html:8 -#: forum/skins/zapprotect/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "Нова потребителска регистрация" - -#: forum/skins/default/templates/auth/complete.html:12 -#: forum/skins/zapprotect/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "Вие сте тук за пръв път от " - -#: forum/skins/default/templates/auth/complete.html:13 -#: forum/skins/zapprotect/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" -"Създайте Вашето публично име и запазете имейла си. Запазените имейл адреси " -"ще можете да използвате за да се абонирате за известия за най-интересните " -"въпроси." - -#: forum/skins/default/templates/auth/complete.html:15 -#: forum/skins/zapprotect/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "Този акаунт вече съществува, изплозвайте друг." - -#: forum/skins/default/templates/auth/complete.html:70 -#: forum/skins/zapprotect/templates/auth/complete.html:70 -msgid "receive updates motivational blurb" -msgstr "" -"Получавайте ъпдейти по имейл - това ще помогне на нашата " -"общност да помогне и да стане по-ползотворна.
    По подразбиране, се " -"изпраща само един имейл на седмица с цялата най-важна информация.
    Ако " -"желаете, можете да промените тази опция сега или по всяко едно време през " -"настройките на Вашия акаунт." - -#: forum/skins/default/templates/auth/complete.html:74 -#: forum/skins/zapprotect/templates/auth/complete.html:74 -msgid "please select one of the options above" -msgstr "изберете една от посочените опции" - -#: forum/skins/default/templates/auth/complete.html:77 -#: forum/skins/zapprotect/templates/auth/complete.html:77 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "Инстромент за филтриране на тагове, намира се отдясно след оторизация." - -#: forum/skins/default/templates/auth/complete.html:78 -#: forum/skins/zapprotect/templates/auth/complete.html:78 -msgid "create account" -msgstr "Регистрация" - -#: forum/skins/default/templates/auth/complete.html:87 -#: forum/skins/zapprotect/templates/auth/complete.html:87 -msgid "Existing account" -msgstr "Съществуващ акаунт" - -#: forum/skins/default/templates/auth/complete.html:88 -#: forum/skins/zapprotect/templates/auth/complete.html:88 -msgid "user name" -msgstr "потребителско име" - -#: forum/skins/default/templates/auth/complete.html:89 -#: forum/skins/zapprotect/templates/auth/complete.html:89 -msgid "password" -msgstr "парола" - -#: forum/skins/default/templates/auth/complete.html:96 -#: forum/skins/zapprotect/templates/auth/complete.html:96 -msgid "Register" -msgstr "Регистрация" - -#: forum/skins/default/templates/auth/complete.html:97 -#: forum/skins/zapprotect/templates/auth/complete.html:97 -#: forum_modules/localauth/templates/loginform.html:27 -msgid "Forgot your password?" -msgstr "Забравена парола?" - -#: forum/skins/default/templates/auth/mail_validation.html:11 -#: forum/skins/zapprotect/templates/auth/mail_validation.html:11 -#, python-format -msgid "%(prefix)s Your email validation link %(app_name)s" -msgstr "" - -#: forum/skins/default/templates/auth/mail_validation.html:14 -#: forum/skins/zapprotect/templates/auth/mail_validation.html:14 -#, fuzzy -msgid "Please use the following link to help us verify your email address:" -msgstr "Използването на посочения линк ще потвърди Вашия имейл." - -#: forum/skins/default/templates/auth/mail_validation.html:16 -#: forum/skins/default/templates/auth/welcome_email.html:26 -#: forum/skins/zapprotect/templates/auth/mail_validation.html:16 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:26 -#, fuzzy -msgid "Validate my email address" -msgstr "Your email (never shared)" - -#: forum/skins/default/templates/auth/mail_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:19 -#: forum/skins/default/templates/auth/welcome_email.html:28 -#: forum/skins/zapprotect/templates/auth/mail_validation.html:18 -#: forum/skins/zapprotect/templates/auth/temp_login_email.html:19 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:28 -msgid "" -"If the above link is not clickable, copy and paste this url into your web " -"browser's address bar:" -msgstr "" - -#: forum/skins/default/templates/auth/mail_validation.html:24 -#: forum/skins/default/templates/auth/welcome_email.html:40 -#: forum/skins/zapprotect/templates/auth/mail_validation.html:24 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:40 -msgid "" -"Copy and paste this url into your web browser's address bar to help us " -"verify your email address:" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -#: forum/skins/zapprotect/templates/auth/signin.html:6 -#: forum_modules/localauth/templates/loginform.html:24 -#: forum_modules/openidauth/templates/openidurl.html:15 -msgid "Login" -msgstr "Вход" - -#: forum/skins/default/templates/auth/signin.html:24 -#: forum/skins/zapprotect/templates/auth/signin.html:24 -msgid "User login" -msgstr "Потребителски вход" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:93 -#: forum/skins/default/templates/auth/signin.html:99 -#: forum/skins/zapprotect/templates/auth/signin.html:36 -#: forum/skins/zapprotect/templates/auth/signin.html:93 -#: forum/skins/zapprotect/templates/auth/signin.html:99 -msgid "Or..." -msgstr "Или..." - -#: forum/skins/default/templates/auth/signin.html:39 -#: forum/skins/zapprotect/templates/auth/signin.html:39 -msgid "" -"\n" -" External login services use OpenID technology, where your password always stays confidential " -"between\n" -" you and your login provider and you don't have to remember another " -"one.\n" -" " -msgstr "" -"\n" -"Външните услуги за оторизация използват OpenID технология, като цялата информация между клиента и сървъра " -"остава защитена. " - -#: forum/skins/default/templates/auth/signin.html:47 -#: forum/skins/zapprotect/templates/auth/signin.html:47 -msgid "Validate my email after I login." -msgstr "Потвърди моя имейл след като влезна." - -#: forum/skins/default/templates/auth/signin.html:102 -#: forum/skins/zapprotect/templates/auth/signin.html:102 -msgid "Click" -msgstr "Кликнете" - -#: forum/skins/default/templates/auth/signin.html:102 -#: forum/skins/zapprotect/templates/auth/signin.html:102 -msgid "if you're having troubles signing in." -msgstr "ако имате проблем с влизането." - -#: forum/skins/default/templates/auth/signin.html:107 -#: forum/skins/zapprotect/templates/auth/signin.html:107 -msgid "Enter your " -msgstr "Въведете Вашия " - -#: forum/skins/default/templates/auth/signin.html:163 -#: forum/skins/zapprotect/templates/auth/signin.html:163 -msgid "Why use OpenID?" -msgstr "Защо да използваме OpenID?" - -#: forum/skins/default/templates/auth/signin.html:166 -#: forum/skins/zapprotect/templates/auth/signin.html:166 -msgid "with openid it is easier" -msgstr "Използвайки OpenID не е нужно да създавате нов потребител." - -#: forum/skins/default/templates/auth/signin.html:169 -#: forum/skins/zapprotect/templates/auth/signin.html:169 -msgid "reuse openid" -msgstr "" -"Можете спокойно да използвате същия OpenID профил за останалите сайтове, " -"поддържащи технологията." - -#: forum/skins/default/templates/auth/signin.html:172 -#: forum/skins/zapprotect/templates/auth/signin.html:172 -msgid "openid is widely adopted" -msgstr "" -"Има повече от 200 000 000 OpenID профила и повече от 15 000 сайта поддържащи " -"технологията." - -#: forum/skins/default/templates/auth/signin.html:175 -#: forum/skins/zapprotect/templates/auth/signin.html:175 -msgid "openid is supported open standard" -msgstr "OpenID е базиран на отворен стандарт, поддържан от много компании." - -#: forum/skins/default/templates/auth/signin.html:180 -#: forum/skins/zapprotect/templates/auth/signin.html:180 -msgid "Find out more" -msgstr "Разбери повече" - -#: forum/skins/default/templates/auth/signin.html:181 -#: forum/skins/zapprotect/templates/auth/signin.html:181 -msgid "Get OpenID" -msgstr "Вземи OpenID" - -#: forum/skins/default/templates/auth/temp_login_email.html:11 -#: forum/skins/zapprotect/templates/auth/temp_login_email.html:11 -#, python-format -msgid "%(prefix)s Temporary login link" -msgstr "%(prefix)s Временен линк за вход" - -#: forum/skins/default/templates/auth/temp_login_email.html:15 -#: forum/skins/zapprotect/templates/auth/temp_login_email.html:15 -#, python-format -msgid "" -"The following link grants you a one time access to your account at %" -"(app_name)s." -msgstr "" -"Следния линк предоставя възможност за еднократна оторизация на %(app_name)s" - -#: forum/skins/default/templates/auth/temp_login_email.html:17 -#: forum/skins/zapprotect/templates/auth/temp_login_email.html:17 -#, fuzzy -msgid "Go to your account" -msgstr "" -"Нов имейл: (няма да бъде споделян, трябва да бъде " -"действителен)" - -#: forum/skins/default/templates/auth/temp_login_email.html:25 -#: forum/skins/zapprotect/templates/auth/temp_login_email.html:25 -#, python-format -msgid "" -"The following url grants you a one time access to your account at %(app_name)" -"s." -msgstr "" -"Следния адрес предоставя права за еднократна оторизация във Вашия профил на %" -"(app_name)s" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -#: forum/skins/zapprotect/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "Поискай временен ключ за достъп" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -#: forum/skins/zapprotect/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "Профил: поискай временен ключ за достъп" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -#: forum/skins/zapprotect/templates/auth/temp_login_request.html:8 -#, fuzzy -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" -"Ако изпитвате проблеми с достъпа до Вашия акаунт или сте забравили паролата " -"си, тук можете да поискате временен код за достъп. Попълнете Вашия имейл " -"адрес и ние ще изпратим временна връзка, предоставяща достъп до профила. " -"Това ще Ви даде шанс да получите достъп до профила си. Този код е достъпен " -"само веднъж и за определен интервал от време.\n" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -#: forum/skins/zapprotect/templates/auth/temp_login_request.html:25 -#, fuzzy -msgid "Send link" -msgstr "Изпрати връзка" - -#: forum/skins/default/templates/auth/welcome_email.html:12 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:12 -#, fuzzy, python-format -msgid "%(prefix)s Welcome to %(app_name)s" -msgstr "%(username)s е нов потребител на %(app_name)s" - -#: forum/skins/default/templates/auth/welcome_email.html:16 -#: forum/skins/default/templates/auth/welcome_email.html:34 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:16 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:34 -#, python-format -msgid "" -"Howdy and welcome to %(app_name)s. We know you're busy, so we'll keep this " -"real simple." -msgstr "" -"Добре дошли на %(app_name)s. Знаем, че сте заети, за това обещаваме всичко " -"да бъде максимално просто." - -#: forum/skins/default/templates/auth/welcome_email.html:19 -#: forum/skins/default/templates/auth/welcome_email.html:35 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:19 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:35 -msgid "Here's your login info (store it in a cool dry place):" -msgstr "Това е Вашата информация за логин (запазете я на сигурно място):" - -#: forum/skins/default/templates/auth/welcome_email.html:21 -#: forum/skins/default/templates/auth/welcome_email.html:37 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:21 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:37 -#, fuzzy -msgid "Username: " -msgstr "Потребителско име: " - -#: forum/skins/default/templates/auth/welcome_email.html:22 -#: forum/skins/default/templates/auth/welcome_email.html:38 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:22 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:38 -msgid "Password: As IF we would send your password in cleartext!" -msgstr "Парола: " - -#: forum/skins/default/templates/auth/welcome_email.html:24 -#: forum/skins/zapprotect/templates/auth/welcome_email.html:24 -#, fuzzy -msgid "The following link will help us verify your email address:" -msgstr "Използването на посочения линк ще потвърди Вашия имейл." - -#: forum/skins/default/templates/feeds/rss_answer_title.html:2 -#: forum/skins/zapprotect/templates/feeds/rss_answer_title.html:2 -#, python-format -msgid "Answer by %(author)s" -msgstr "Отговор от %(author)s" - -#: forum/skins/default/templates/node/accept_button.html:5 -#: forum/skins/zapprotect/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "%(who)s избра този отговор за верен" - -#: forum/skins/default/templates/node/accept_button.html:5 -#: forum/skins/zapprotect/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "отбележи този отговор като приет" - -#: forum/skins/default/templates/node/comments.html:13 -#: forum/skins/zapprotect/templates/node/comments.html:13 -msgid "I like this comment (click again to cancel)" -msgstr "Аз харесвам този коментар" - -#: forum/skins/default/templates/node/comments.html:17 -#: forum/skins/zapprotect/templates/node/comments.html:17 -#, fuzzy -msgid "Edit comment" -msgstr "Редактирай" - -#: forum/skins/default/templates/node/comments.html:21 -#: forum/skins/zapprotect/templates/node/comments.html:21 -#, fuzzy -msgid "Delete comment" -msgstr "Изтрий" - -#: forum/skins/default/templates/node/comments.html:34 -#: forum/skins/zapprotect/templates/node/comments.html:34 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "показани %(showing)s от %(total)s" - -#: forum/skins/default/templates/node/comments.html:36 -#: forum/skins/zapprotect/templates/node/comments.html:36 -msgid "show all" -msgstr "покажи всички" - -#: forum/skins/default/templates/node/comments.html:39 -#: forum/skins/zapprotect/templates/node/comments.html:39 -#, fuzzy -msgid "add new comment" -msgstr "добави коментар" - -#: forum/skins/default/templates/node/comments.html:50 -#: forum/skins/zapprotect/templates/node/comments.html:50 -msgid "characters needed" -msgstr "необходими символи" - -#: forum/skins/default/templates/node/comments.html:51 -#: forum/skins/zapprotect/templates/node/comments.html:51 -msgid "characters left" -msgstr "оставащи символи" - -#: forum/skins/default/templates/node/comments.html:53 -#: forum/skins/zapprotect/templates/node/comments.html:53 -#, fuzzy -msgid " comment" -msgstr " коментар" - -#: forum/skins/default/templates/node/comments.html:54 -#: forum/skins/zapprotect/templates/node/comments.html:54 -#, fuzzy -msgid " cancel" -msgstr "Откажи" - -#: forum/skins/default/templates/node/comments.html:66 -#: forum/skins/zapprotect/templates/node/comments.html:66 -#, fuzzy -msgid "just now" -msgstr "Logout Now" - -#: forum/skins/default/templates/node/convert_to_comment.html:4 -#: forum/skins/zapprotect/templates/node/convert_to_comment.html:4 -#, fuzzy -msgid "Place the comment under:" -msgstr "Постави коментара под:" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -#: forum/skins/zapprotect/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "отбележи въпроса като любим" - -#: forum/skins/default/templates/node/post_controls.html:14 -#: forum/skins/zapprotect/templates/node/post_controls.html:14 -#, fuzzy -msgid "more" -msgstr "повече" - -#: forum/skins/default/templates/node/report.html:3 -#: forum/skins/zapprotect/templates/node/report.html:3 -msgid "" -"Please select a reason bellow or use the text box to input your own reason." -msgstr "Изберете някоя от посочените причини или използвайте поле." - -#: forum/skins/default/templates/node/vote_buttons.html:3 -#: forum/skins/zapprotect/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "Аз харесвам тази публикация" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -#: forum/skins/zapprotect/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "количество гласове" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -#: forum/skins/zapprotect/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "Аз не харесвам тази публикация" - -#: forum/skins/default/templates/node/wiki_symbol.html:5 -#: forum/skins/zapprotect/templates/node/wiki_symbol.html:5 -#, python-format -msgid "This %(post_type)s is marked \"community wiki\"." -msgstr "Този %(post_type)s е маркиран като \"уики общност\"" - -#: forum/skins/default/templates/node/wiki_symbol.html:7 -#: forum/skins/zapprotect/templates/node/wiki_symbol.html:7 -#, python-format -msgid "Feel free to edit it." -msgstr "Чуствайте се свободни да редактирате" - -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/zapprotect/templates/notifications/answeraccepted.html:15 -#, fuzzy, python-format -msgid "%(prefix)s An answer to: %(question_title)s has been accepted" -msgstr "Отговора на въпроса '%(question_title)s' беше приет" - -#: forum/skins/default/templates/notifications/answeraccepted.html:19 -#: forum/skins/zapprotect/templates/notifications/answeraccepted.html:19 -#, python-format -msgid "" -"\n" -" %(accepted_by_link)s has just accepted %(answer_author_link)s's " -"answer on his question\n" -" %(question_link)s.\n" -" " -msgstr "" -"\n" -" %(accepted_by_link)s току що прие %(answer_author_link)s's " -"отговор на неговия въпрос\n" -" %(question_link)s.\n" -" " - -#: forum/skins/default/templates/notifications/answeraccepted.html:27 -#: forum/skins/zapprotect/templates/notifications/answeraccepted.html:27 -#, python-format -msgid "" -"\n" -"%(accepted_by)s has just accepted %(answer_author)s's answer on his " -"question\n" -"\"%(question_title)s\".\n" -msgstr "" - -#: forum/skins/default/templates/notifications/base.html:21 -#: forum/skins/default/templates/notifications/base_text.html:4 -#: forum/skins/zapprotect/templates/notifications/base.html:21 -#: forum/skins/zapprotect/templates/notifications/base_text.html:4 -msgid "Hello" -msgstr "Здравейте" - -#: forum/skins/default/templates/notifications/base.html:24 -#: forum/skins/default/templates/notifications/base_text.html:9 -#: forum/skins/zapprotect/templates/notifications/base.html:24 -#: forum/skins/zapprotect/templates/notifications/base_text.html:9 -msgid "Thanks" -msgstr "Поздрави" - -#: forum/skins/default/templates/notifications/base.html:26 -#: forum/skins/zapprotect/templates/notifications/base.html:26 -msgid "P.S. You can always fine-tune which notifications you receive" -msgstr "P.S. Винаги можете да изберете кои известия да получавате" - -#: forum/skins/default/templates/notifications/base_text.html:13 -#: forum/skins/zapprotect/templates/notifications/base_text.html:13 -msgid "P.S. You can always fine-tune which notifications you receive here:" -msgstr "P.S. Винаги можете да изберете кои известия да получавате тук:" - -#: forum/skins/default/templates/notifications/digest.html:14 -#: forum/skins/zapprotect/templates/notifications/digest.html:14 -#, fuzzy, python-format -msgid "%(prefix)s Daily digest" -msgstr "%(prefix)s Дневен бюлетин" - -#: forum/skins/default/templates/notifications/digest.html:18 -#: forum/skins/zapprotect/templates/notifications/digest.html:18 -#, fuzzy, python-format -msgid "" -"\n" -" This is a brief of what's going on the %(app_name)s community " -"since our last update.\n" -" " -msgstr "" -"\n" -"(един коментар)" - -#: forum/skins/default/templates/notifications/digest.html:26 -#: forum/skins/zapprotect/templates/notifications/digest.html:26 -#, fuzzy, python-format -msgid "" -"\n" -" There are %(new_member_count)s new members in the community. %" -"(new_member_links)s were the most active so far.\n" -" " -msgstr "" -"Има %(new_member_count)s нови потребители в общността. %(new_member_links)s " -"са били най-активни до сега.\n" - -#: forum/skins/default/templates/notifications/digest.html:30 -#: forum/skins/zapprotect/templates/notifications/digest.html:30 -#, fuzzy, python-format -msgid "" -"\n" -" %(new_member_links)s have joined the %(app_name)s community.\n" -" " -msgstr "" -"\n" -"

    %(q_num)s

    тагнати въпроса

    %(tagname)s

    " - -#: forum/skins/default/templates/notifications/digest.html:46 -#: forum/skins/zapprotect/templates/notifications/digest.html:46 -#, fuzzy, python-format -msgid "" -"\n" -" %(new_question_count)s %(new_questions_link)s were posted since " -"our last update.\n" -" " -msgstr "" -"\n" -"(един коментар)" - -#: forum/skins/default/templates/notifications/digest.html:53 -#: forum/skins/zapprotect/templates/notifications/digest.html:53 -#, fuzzy -msgid "We think you might like the following questions:" -msgstr "Това може да е станало поради следните причини:" - -#: forum/skins/default/templates/notifications/digest.html:66 -#: forum/skins/zapprotect/templates/notifications/digest.html:66 -msgid "" -"These new questions didn't get many attention from the community, but we " -"think you may be able to help:" -msgstr "" -"Тези въпроси не са предизвикали много внимание в общността, но ние смятаме, " -"че Вие бихте могли да помогнете:" - -#: forum/skins/default/templates/notifications/digest.html:78 -#: forum/skins/zapprotect/templates/notifications/digest.html:78 -#, python-format -msgid "" -"Meanwhile, some of your %(subscriptions_link)s have new updates since you " -"last visited them:" -msgstr "" -"Междувременно, някои от Вашите %(subscriptions_link)s абонаменти имат " -"обновявания след като последно сте ги прегледали:" - -#: forum/skins/default/templates/notifications/feedback.html:12 -#: forum/skins/zapprotect/templates/notifications/feedback.html:12 -#, fuzzy, python-format -msgid "%(prefix)s Feedback message from %(app_name)s" -msgstr "%(prefix)s съобщение за Обратна Връзка от %(app_name)s" - -#: forum/skins/default/templates/notifications/feedback.html:16 -#: forum/skins/default/templates/notifications/feedback.html:29 -#: forum/skins/zapprotect/templates/notifications/feedback.html:16 -#: forum/skins/zapprotect/templates/notifications/feedback.html:29 -msgid "Sender" -msgstr "Изпратил" - -#: forum/skins/default/templates/notifications/feedback.html:16 -#: forum/skins/default/templates/notifications/feedback.html:29 -#: forum/skins/zapprotect/templates/notifications/feedback.html:16 -#: forum/skins/zapprotect/templates/notifications/feedback.html:29 -msgid "anonymous" -msgstr "анонимен" - -#: forum/skins/default/templates/notifications/feedback.html:17 -#: forum/skins/default/templates/notifications/feedback.html:30 -#: forum/skins/default/templates/users/info.html:80 -#: forum/skins/zapprotect/templates/notifications/feedback.html:17 -#: forum/skins/zapprotect/templates/notifications/feedback.html:30 -#: forum/skins/zapprotect/templates/users/info.html:80 -msgid "email" -msgstr "имейл" - -#: forum/skins/default/templates/notifications/feedback.html:23 -#: forum/skins/default/templates/notifications/feedback.html:33 -#: forum/skins/zapprotect/templates/notifications/feedback.html:23 -#: forum/skins/zapprotect/templates/notifications/feedback.html:33 -msgid "Message body:" -msgstr "Съдържание:" - -#: forum/skins/default/templates/notifications/newanswer.html:16 -#: forum/skins/zapprotect/templates/notifications/newanswer.html:16 -#, fuzzy, python-format -msgid "%(prefix)s New answer to: %(question_title)s" -msgstr "%(prefix)s Нов отговор до: %(question_title)s" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/zapprotect/templates/notifications/newanswer.html:20 -#, fuzzy, python-format -msgid "" -"\n" -" %(author_link)s has just posted a new answer on %(app_name)s to " -"the question\n" -" %(question_link)s:\n" -" " -msgstr "" -"\n" -" %(author_link)s току що публикува нов отговор в %(app_name)s на " -"въпроса \n" -" %(question_link)s:\n" -" " - -#: forum/skins/default/templates/notifications/newanswer.html:30 -#: forum/skins/default/templates/notifications/newanswer.html:40 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newcomment.html:43 -#: forum/skins/default/templates/notifications/newquestion.html:33 -#: forum/skins/default/templates/notifications/newquestion.html:43 -#: forum/skins/zapprotect/templates/notifications/newanswer.html:30 -#: forum/skins/zapprotect/templates/notifications/newanswer.html:40 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:32 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:43 -#: forum/skins/zapprotect/templates/notifications/newquestion.html:33 -#: forum/skins/zapprotect/templates/notifications/newquestion.html:43 -msgid "Don't forget to come over and cast your vote." -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:34 -#: forum/skins/zapprotect/templates/notifications/newanswer.html:34 -#, python-format -msgid "" -"\n" -"%(answer_author)s has just posted a new answer on %(safe_app_name)s to the " -"question\n" -"\"%(question_title)s\":\n" -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:17 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:17 -#, fuzzy, python-format -msgid "%(prefix)s New comment on: %(question_title)s" -msgstr "Нов коментар на %(question_title)s" - -#: forum/skins/default/templates/notifications/newcomment.html:21 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:21 -#, fuzzy, python-format -msgid "%(author_link)s has just posted a comment on " -msgstr "" -"\n" -"
    %(q_num)s

    question tagged

    %(tagname)s

    " - -#: forum/skins/default/templates/notifications/newcomment.html:23 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:23 -#, python-format -msgid "the answer posted by %(post_author)s to " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:25 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:25 -#, fuzzy, python-format -msgid "the question %(question_link)s" -msgstr "Нов коментар на %(question_title)s" - -#: forum/skins/default/templates/notifications/newcomment.html:36 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:36 -#, fuzzy, python-format -msgid "%(comment_author)s has just posted a comment on " -msgstr "" -"\n" -"
    %(q_num)s

    question tagged

    %(tagname)s

    " - -#: forum/skins/default/templates/notifications/newcomment.html:38 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:38 -#, python-format -msgid "the answer posted by %(safe_post_author)s to " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:40 -#: forum/skins/zapprotect/templates/notifications/newcomment.html:40 -#, fuzzy, python-format -msgid "the question \"%(question_title)s\"" -msgstr "Нов коментар на %(question_title)s" - -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/zapprotect/templates/notifications/newmember.html:15 -#, fuzzy, python-format -msgid "%(prefix)s %(safe_newmember_name)s is a new member on %(safe_app_name)s" -msgstr "%(username)s е нов потребител на %(app_name)s" - -#: forum/skins/default/templates/notifications/newmember.html:19 -#: forum/skins/zapprotect/templates/notifications/newmember.html:19 -#, python-format -msgid "" -"\n" -" %(newmember_link)s has just joined %(app_name)s.\n" -" View %(newmember_name)s's profile.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:27 -#: forum/skins/zapprotect/templates/notifications/newmember.html:27 -#, python-format -msgid "" -"\n" -"%(safe_newmember_name)s has just joined %(safe_app_name)s. You can visit %" -"(safe_newmember_name)s's profile using the following url:\n" -"%(app_url)s%(newmember_url)s\n" -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:18 -#: forum/skins/zapprotect/templates/notifications/newquestion.html:18 -#, fuzzy, python-format -msgid "%(prefix)s New question: %(question_title)s on %(safe_app_name)s" -msgstr "Нов въпрос на %(app_name)s" - -#: forum/skins/default/templates/notifications/newquestion.html:22 -#: forum/skins/zapprotect/templates/notifications/newquestion.html:22 -#, python-format -msgid "" -"\n" -" %(author_link)s has just posted a new question on %(app_name)s, " -"entitled\n" -" %(question_link)s\n" -" and tagged \"%(tag_links)s\". Here's what it says:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:37 -#: forum/skins/zapprotect/templates/notifications/newquestion.html:37 -#, python-format -msgid "" -"\n" -"%(question_author)s has just posted a new question on %(safe_app_name)s, " -"entitled\n" -"\"%(question_title)s\" and tagged %(question_tags)s:\n" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:22 -#: forum/skins/zapprotect/templates/osqaadmin/base.html:13 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:22 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -#: forum/skins/zapprotect/templates/osqaadmin/base.html:26 -msgid "Switch to django style interface" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:27 -#: forum/skins/zapprotect/templates/osqaadmin/base.html:27 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/createuser.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/createuser.html:7 -#, fuzzy -msgid "Create User" -msgstr "Парола (напишете отново)" - -#: forum/skins/default/templates/osqaadmin/createuser.html:10 -#: forum/skins/zapprotect/templates/osqaadmin/createuser.html:10 -#, fuzzy -msgid "Quick creation of a new user" -msgstr "answer" - -#: forum/skins/default/templates/osqaadmin/createuser.html:17 -#: forum/skins/default/templates/osqaadmin/edit_page.html:25 -#: forum/skins/default/templates/osqaadmin/nodeman.html:397 -#: forum/skins/default/templates/osqaadmin/set.html:16 -#: forum/skins/default/templates/users/preferences.html:25 -#: forum/skins/zapprotect/templates/osqaadmin/createuser.html:17 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:25 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:397 -#: forum/skins/zapprotect/templates/osqaadmin/set.html:16 -#: forum/skins/zapprotect/templates/users/preferences.html:25 -#, fuzzy -msgid "Save" -msgstr "Запази промените" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:7 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:42 -#: forum/skins/default/templates/osqaadmin/index.html:7 -#: forum/skins/default/templates/osqaadmin/statistics.html:25 -#: forum/skins/default/templates/osqaadmin/statistics.html:26 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:42 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/statistics.html:25 -#: forum/skins/zapprotect/templates/osqaadmin/statistics.html:26 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:10 -#: forum/skins/default/templates/osqaadmin/index.html:10 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:10 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:16 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:16 -msgid "Quick statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:19 -#: forum/skins/default/templates/osqaadmin/dashboard.html:24 -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:19 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:24 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:21 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:29 -#: forum/skins/default/templates/osqaadmin/index.html:31 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:29 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:29 -#: forum/skins/default/templates/osqaadmin/index.html:31 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:29 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:36 -#: forum/skins/default/templates/osqaadmin/index.html:37 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:36 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:40 -#: forum/skins/default/templates/osqaadmin/index.html:42 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:40 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button below to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:43 -#: forum/skins/default/templates/osqaadmin/index.html:45 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:43 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button below to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:45 -#: forum/skins/default/templates/osqaadmin/index.html:47 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:45 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons below " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:49 -#: forum/skins/default/templates/osqaadmin/index.html:51 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:49 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:49 -#: forum/skins/default/templates/osqaadmin/index.html:51 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:49 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:52 -#: forum/skins/default/templates/osqaadmin/index.html:54 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:52 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:52 -#: forum/skins/default/templates/osqaadmin/index.html:54 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:52 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/dashboard.html:66 -#: forum/skins/default/templates/osqaadmin/index.html:71 -#: forum/skins/zapprotect/templates/osqaadmin/dashboard.html:66 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:71 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:29 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:29 -#, fuzzy -msgid "Administration Area" -msgstr "администрация" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:33 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:33 -#, fuzzy -msgid "Welcome," -msgstr "Добре дошли в Zapprotect Q&A" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:35 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:35 -msgid "To standard interface" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:36 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:36 -#, fuzzy -msgid "Back to home page" -msgstr "обратно на началната страница" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:37 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:37 -#, fuzzy -msgid "Log out" -msgstr "Изход" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:41 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:41 -#: rosetta/templates/rosetta/languages.html:6 -#: rosetta/templates/rosetta/pofile.html:18 -msgid "Home" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:59 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:59 -msgid "Unpublished changes" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:62 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:62 -msgid "Items marked with this icon have unpublished changes." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:78 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:78 -msgid "Workflow settings" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:88 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:88 -msgid "Forum settings" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:96 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:96 -#, fuzzy -msgid "Static content" -msgstr "съдържание" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:98 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:98 -#, fuzzy -msgid "Custom Pages" -msgstr "Тагове" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:104 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:108 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:112 -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:122 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:104 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:108 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:112 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:122 -msgid "Unsaved changes" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:117 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:117 -#, fuzzy -msgid "Other settings" -msgstr "Опции за оторизиране" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:128 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:128 -msgid "Tools" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:130 -#: forum/skins/default/templates/osqaadmin/maintenance.html:5 -#: forum/skins/default/templates/osqaadmin/maintenance.html:6 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:130 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:5 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:6 -msgid "Maintenance mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/djstyle_base.html:131 -#: forum/skins/default/templates/osqaadmin/flagged_posts.html:6 -#: forum/skins/default/templates/osqaadmin/flagged_posts.html:7 -#: forum/skins/default/templates/osqaadmin/flagged_posts.html:13 -#: forum/skins/zapprotect/templates/osqaadmin/djstyle_base.html:131 -#: forum/skins/zapprotect/templates/osqaadmin/flagged_posts.html:6 -#: forum/skins/zapprotect/templates/osqaadmin/flagged_posts.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/flagged_posts.html:13 -msgid "Flagged Posts" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:5 -#: forum/skins/default/templates/osqaadmin/edit_page.html:8 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:5 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:8 -#, fuzzy -msgid "Editing page" -msgstr "Редактирай отговора" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:7 -msgid "Static Pages" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:8 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:8 -#, fuzzy -msgid "Creating page" -msgstr "текуща страница" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:11 -#: forum/skins/default/templates/osqaadmin/static_pages.html:12 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:11 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:12 -#, fuzzy -msgid "New page" -msgstr "следваща страница" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:12 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:12 -msgid "Published" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:12 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:12 -msgid "Unpublished" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:23 -#: forum/skins/default/templates/osqaadmin/static_pages.html:21 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:23 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:21 -#, fuzzy -msgid "Edit" -msgstr "редактирай" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:28 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:28 -msgid "Unpublish" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/edit_page.html:30 -#: forum/skins/zapprotect/templates/osqaadmin/edit_page.html:30 -msgid "Publish" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/flagged_posts.html:8 -#: forum/skins/zapprotect/templates/osqaadmin/flagged_posts.html:8 -msgid "This are the posts that have been flagged by users." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:65 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:66 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:66 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:66 -#: forum/skins/zapprotect/templates/osqaadmin/index.html:66 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/maintenance.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:7 -msgid "" -"Maintainance mode allows you to close your site for maintainance, allowing " -"only a predetermined set of ip addresses to access it normally." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/maintenance.html:12 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:12 -msgid "Your site is currently running on maintenance mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/maintenance.html:13 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:13 -msgid "You can adjust the settings bellow" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/maintenance.html:19 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:19 -#, fuzzy -msgid "Adjust settings" -msgstr "" -"Adjust frequency of email updates. Receive " -"updates on interesting questions by email,
    help the community by answering questions of your colleagues. If you do not wish to " -"receive emails - select 'no email' on all items below.
    Updates are only " -"sent when there is any new activity on selected items." - -#: forum/skins/default/templates/osqaadmin/maintenance.html:20 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:20 -#, fuzzy -msgid "Open site" -msgstr "Уеб сайт" - -#: forum/skins/default/templates/osqaadmin/maintenance.html:22 -#: forum/skins/zapprotect/templates/osqaadmin/maintenance.html:22 -msgid "Close for maintenance" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:5 -#: forum/skins/default/templates/osqaadmin/moderation.html:6 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:5 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:6 -#, fuzzy -msgid "Moderation" -msgstr "Местоположение" - -#: forum/skins/default/templates/osqaadmin/moderation.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:7 -msgid "" -"These tools allow you to search for undesired behaviours and cheating " -"patterns." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:13 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:13 -msgid "Verify:" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:16 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:16 -msgid "highest ranking users" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:17 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:17 -#, fuzzy -msgid "newer users" -msgstr "най-новите" - -#: forum/skins/default/templates/osqaadmin/moderation.html:18 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:18 -#, fuzzy -msgid "older users" -msgstr "най-старите" - -#: forum/skins/default/templates/osqaadmin/moderation.html:19 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:19 -msgid "users with these ids" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:23 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:23 -msgid "(Comma separated list of user ids)" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:25 -#: forum/skins/default/templates/osqaadmin/nodeman.html:419 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:25 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:419 -#: rosetta/templates/rosetta/pofile.html:44 -msgid "Go" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:50 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:50 -msgid "Possible cheaters" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:56 -#: forum/skins/default/templates/osqaadmin/moderation.html:69 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:56 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:69 -#, fuzzy -msgid "Email" -msgstr "" -"Your Email (must be valid, never shown to others)" - -#: forum/skins/default/templates/osqaadmin/moderation.html:58 -#: forum/skins/default/templates/osqaadmin/moderation.html:82 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:58 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:82 -#, fuzzy -msgid "Validated" -msgstr "обновено" - -#: forum/skins/default/templates/osqaadmin/moderation.html:60 -#: forum/skins/default/templates/osqaadmin/moderation.html:84 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:60 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:84 -msgid "Not validated" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:63 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:63 -#, fuzzy -msgid "Reputation:" -msgstr "karma" - -#: forum/skins/default/templates/osqaadmin/moderation.html:70 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:70 -#, fuzzy -msgid "Reputation" -msgstr "karma" - -#: forum/skins/default/templates/osqaadmin/moderation.html:71 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:71 -msgid "Affecting actions" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:72 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:72 -msgid "Cross ips" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/moderation.html:73 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:73 -#, fuzzy -msgid "Cheating score" -msgstr "Смяна на паролата" - -#: forum/skins/default/templates/osqaadmin/moderation.html:76 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:76 -#, fuzzy -msgid "Possible fake accounts" -msgstr "Изтрий профила" - -#: forum/skins/default/templates/osqaadmin/moderation.html:89 -#: forum/skins/default/templates/osqaadmin/moderation.html:90 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:89 -#: forum/skins/zapprotect/templates/osqaadmin/moderation.html:90 -#, fuzzy -msgid "out of" -msgstr "Излез сега" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:73 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:73 -msgid "rep" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:102 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:102 -#, fuzzy -msgid "uses" -msgstr "потребители" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:261 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:261 -#, fuzzy -msgid "Node manager" -msgstr "най-старите" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:264 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:264 -msgid "Nodes bulk management" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:277 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:277 -msgid "reset text filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:289 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:289 -msgid "Body" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:294 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:294 -msgid "Title and Body" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:324 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:324 -#, fuzzy -msgid "Filter" -msgstr "сребро" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:324 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:324 -msgid "Click to show/hide" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:326 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:326 -msgid "By type" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:329 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:329 -msgid "click to clear the type filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:329 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:329 -msgid "all" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:332 -#: forum/skins/default/templates/osqaadmin/nodeman.html:343 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:332 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:343 -msgid "click to remove from the filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:332 -#: forum/skins/default/templates/osqaadmin/nodeman.html:343 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:332 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:343 -msgid "click to add to the filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:337 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:337 -msgid "By state" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:340 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:340 -msgid "click to clear the state filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:340 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:340 -msgid "any" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:349 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:349 -msgid "Match any selected" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:350 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:350 -msgid "Match all selected" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:354 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:354 -msgid "By author(s)" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:356 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:356 -msgid "No users selected, use the box bellow to add users to the filter." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:366 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:366 -msgid "Click on the cross next to a user name to remove it from the filter." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:370 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:370 -#, fuzzy -msgid "By tag(s)" -msgstr "тагове" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:372 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:372 -msgid "No tags selected, use the box bellow to add tags to the filter." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:382 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:382 -msgid "Click on the cross next to a tag name to remove it from the filter." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:386 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:386 -msgid "Pre defined" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:388 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:388 -msgid "There are no saved filters. Click bellow to add." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:396 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:396 -#, fuzzy -msgid "Filter name..." -msgstr "потребителско име" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:397 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:397 -msgid "Click to save the current filter" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:400 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:400 -msgid "Show" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:403 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:403 -msgid "Refresh" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:410 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:410 -#, fuzzy -msgid "Action" -msgstr "Местоположение" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:413 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:413 -#, fuzzy -msgid "Mark deleted" -msgstr "[изтрито]" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:414 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:414 -#, fuzzy -msgid "Undelete" -msgstr "[изтрито]" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:415 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:415 -#, fuzzy -msgid "Delete completely" -msgstr "post a comment" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:416 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:416 -#, fuzzy -msgid "Close (questions only)" -msgstr "Newest questions are shown first." - -#: forum/skins/default/templates/osqaadmin/nodeman.html:419 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:419 -msgid "Run the selected action" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:442 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:442 -msgid "Type" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:443 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:443 -msgid "Summary" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:445 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:445 -#, fuzzy -msgid "State" -msgstr "заглавие" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:447 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:447 -msgid "Author" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:450 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:450 -msgid "Added at" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:453 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:453 -msgid "Score" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:456 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:456 -msgid "Last activity by" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:459 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:459 -msgid "Last activity at" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:461 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:461 -#: forum_modules/exporter/exporter.py:326 -#: forum_modules/exporter/importer.py:357 -#, fuzzy -msgid "Tags" -msgstr "тагове" - -#: forum/skins/default/templates/osqaadmin/nodeman.html:490 -#: forum/skins/zapprotect/templates/osqaadmin/nodeman.html:490 -msgid "by" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/set.html:18 -#: forum/skins/zapprotect/templates/osqaadmin/set.html:18 -#, fuzzy -msgid "Preview" -msgstr "преглеждания" - -#: forum/skins/default/templates/osqaadmin/set.html:20 -#: forum/skins/zapprotect/templates/osqaadmin/set.html:20 -msgid "Reset Changes" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/static_pages.html:5 -#: forum/skins/default/templates/osqaadmin/static_pages.html:6 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:5 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:6 -msgid "Static pages" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/static_pages.html:7 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:7 -msgid "Allows you to create a set of static pages" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/static_pages.html:10 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:10 -msgid "Select page to edit" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/static_pages.html:16 -#: forum/skins/zapprotect/templates/osqaadmin/static_pages.html:16 -#, fuzzy -msgid "Pages" -msgstr "Точки" - -#: forum/skins/default/templates/osqaadmin/statistics.html:27 -#: forum/skins/zapprotect/templates/osqaadmin/statistics.html:27 -msgid "" -"Some simple graphics to help you get a notion of whats going on in your site." -msgstr "" - -#: forum/skins/default/templates/paginator/sort_tabs.html:9 -#: forum/skins/zapprotect/templates/paginator/sort_tabs.html:9 -msgid "Check to make the sort order sticky" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:11 -#: forum/skins/zapprotect/templates/question_list/item.html:11 -#: forum/views/commands.py:66 forum/views/commands.py:69 -#: forum/views/commands.py:112 -msgid "vote" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:13 -#: forum/skins/zapprotect/templates/question_list/item.html:13 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:19 -#: forum/skins/zapprotect/templates/question_list/item.html:19 -#, fuzzy -msgid "view" -msgstr "преглеждания" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -#: forum/skins/zapprotect/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "Tags" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:4 -#: forum/views/readers.py:44 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:5 -#: forum/views/readers.py:45 forum/views/readers.py:61 -#: forum/views/readers.py:263 forum/views/users.py:40 forum/views/users.py:53 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:6 -#: forum/views/readers.py:46 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -#: forum/skins/zapprotect/templates/question_list/sort_tabs.html:7 -#: forum/views/readers.py:47 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/subscription_item.html:4 -#: forum/skins/zapprotect/templates/question_list/subscription_item.html:4 -#, fuzzy -msgid "Unsubscribe" -msgstr "махни абонамента ми" - -#: forum/skins/default/templates/question_list/subscription_item.html:8 -#: forum/skins/zapprotect/templates/question_list/subscription_item.html:8 -msgid "Last checked" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -#: forum/skins/zapprotect/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "Tagged questions" - -#: forum/skins/default/templates/question_list/title.html:9 -#: forum/skins/zapprotect/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -#: forum/skins/zapprotect/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -#: forum/skins/zapprotect/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "Въпроси без отговор" - -#: forum/skins/default/templates/question_list/title.html:20 -#: forum/skins/zapprotect/templates/question_list/title.html:20 -#: forum/views/readers.py:141 -#, fuzzy -msgid "All Questions" -msgstr "Въпроси" - -#: forum/skins/default/templates/sidebar/markdown_help.html:3 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:3 -#, fuzzy -msgid "Markdown Basics" -msgstr "Markdown съвети" - -#: forum/skins/default/templates/sidebar/markdown_help.html:6 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:6 -msgid "*italic* or __italic__" -msgstr "*италик* или __италик__" - -#: forum/skins/default/templates/sidebar/markdown_help.html:9 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:9 -msgid "**bold** or __bold__" -msgstr "**дебел** или __дебел__" - -#: forum/skins/default/templates/sidebar/markdown_help.html:12 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:12 -msgid "link" -msgstr "връзка" - -#: forum/skins/default/templates/sidebar/markdown_help.html:12 -#: forum/skins/default/templates/sidebar/markdown_help.html:17 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:12 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:17 -msgid "text" -msgstr "текст" - -#: forum/skins/default/templates/sidebar/markdown_help.html:17 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:17 -msgid "image" -msgstr "снимка" - -#: forum/skins/default/templates/sidebar/markdown_help.html:21 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:21 -msgid "numbered list:" -msgstr "подреден лист:" - -#: forum/skins/default/templates/sidebar/markdown_help.html:26 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:26 -msgid "" -"to add a line break simply add two spaces to where you would like the new " -"line to be." -msgstr "" - -#: forum/skins/default/templates/sidebar/markdown_help.html:29 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:29 -msgid "basic HTML tags are also supported" -msgstr "основни HTML тагове също се поддържат" - -#: forum/skins/default/templates/sidebar/markdown_help.html:33 -#: forum/skins/zapprotect/templates/sidebar/markdown_help.html:33 -msgid "learn more about Markdown" -msgstr "научете повече относно Markdown" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -#: forum/skins/zapprotect/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "Последни точки" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -#: forum/skins/zapprotect/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "всички точки" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -#: forum/skins/zapprotect/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "Последни тагове" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -#: forum/skins/zapprotect/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "популярни тагове" - -#: forum/skins/default/templates/users/edit.html:6 -#: forum/skins/zapprotect/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "Редактирай потребителския профил" - -#: forum/skins/default/templates/users/edit.html:45 -#: forum/skins/zapprotect/templates/users/edit.html:45 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:45 -#: forum/skins/zapprotect/templates/users/edit.html:45 -#, fuzzy -msgid "gravatar" -msgstr "Какво е Gravatar?" - -#: forum/skins/default/templates/users/edit.html:50 -#: forum/skins/default/templates/users/info.html:39 -#: forum/skins/zapprotect/templates/users/edit.html:50 -#: forum/skins/zapprotect/templates/users/info.html:39 -msgid "Registered user" -msgstr "Регистриран потребител" - -#: forum/skins/default/templates/users/edit.html:57 -#: forum/skins/zapprotect/templates/users/edit.html:57 -msgid "Screen Name" -msgstr "Публично име" - -#: forum/skins/default/templates/users/edit.html:98 -#: forum/skins/default/templates/users/subscriptions_settings.html:119 -#: forum/skins/zapprotect/templates/users/edit.html:98 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:119 -msgid "Update" -msgstr "Обнови" - -#: forum/skins/default/templates/users/info.html:26 -#: forum/skins/default/templates/users/signature.html:8 -#: forum/skins/zapprotect/templates/users/info.html:26 -#: forum/skins/zapprotect/templates/users/signature.html:8 -#: forum/views/users.py:39 -msgid "reputation" -msgstr "Карма" - -#: forum/skins/default/templates/users/info.html:28 -#: forum/skins/zapprotect/templates/users/info.html:28 -#, fuzzy -msgid "Suspended" -msgstr "Преостановено" - -#: forum/skins/default/templates/users/info.html:43 -#: forum/skins/zapprotect/templates/users/info.html:43 -msgid "real name" -msgstr "Истинско име" - -#: forum/skins/default/templates/users/info.html:48 -#: forum/skins/zapprotect/templates/users/info.html:48 -msgid "member for" -msgstr "member since" - -#: forum/skins/default/templates/users/info.html:53 -#: forum/skins/zapprotect/templates/users/info.html:53 -msgid "last seen" -msgstr "последно видян" - -#: forum/skins/default/templates/users/info.html:59 -#: forum/skins/zapprotect/templates/users/info.html:59 -msgid "user's website" -msgstr "потребителски сайт" - -#: forum/skins/default/templates/users/info.html:65 -#: forum/skins/zapprotect/templates/users/info.html:65 -msgid "location" -msgstr "местоположение" - -#: forum/skins/default/templates/users/info.html:73 -#: forum/skins/zapprotect/templates/users/info.html:73 -msgid "age" -msgstr "възраст" - -#: forum/skins/default/templates/users/info.html:74 -#: forum/skins/zapprotect/templates/users/info.html:74 -msgid "age unit" -msgstr "years old" - -#: forum/skins/default/templates/users/info.html:84 -#: forum/skins/zapprotect/templates/users/info.html:84 -msgid "not validated" -msgstr "не е проверено" - -#: forum/skins/default/templates/users/info.html:95 -#: forum/skins/zapprotect/templates/users/info.html:95 -msgid "todays unused votes" -msgstr "неизползвани гласове днес" - -#: forum/skins/default/templates/users/info.html:96 -#: forum/skins/zapprotect/templates/users/info.html:96 -msgid "votes left" -msgstr "останали гласове" - -#: forum/skins/default/templates/users/karma_bonus.html:5 -#: forum/skins/zapprotect/templates/users/karma_bonus.html:5 -msgid "Points" -msgstr "Точки" - -#: forum/skins/default/templates/users/menu.html:4 -#: forum/skins/zapprotect/templates/users/menu.html:4 -#, fuzzy -msgid "User tools" -msgstr "Потребителски вход" - -#: forum/skins/default/templates/users/online_users.html:6 -#: forum/skins/default/templates/users/online_users.html:23 -#: forum/skins/zapprotect/templates/users/online_users.html:6 -#: forum/skins/zapprotect/templates/users/online_users.html:23 -#, fuzzy -msgid "Users Online" -msgstr "Потребителски вход" - -#: forum/skins/default/templates/users/online_users.html:29 -#: forum/skins/default/templates/users/users.html:29 -#: forum/skins/zapprotect/templates/users/online_users.html:29 -#: forum/skins/zapprotect/templates/users/users.html:29 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/online_users.html:33 -#: forum/skins/default/templates/users/users.html:33 -#: forum/skins/zapprotect/templates/users/online_users.html:33 -#: forum/skins/zapprotect/templates/users/users.html:33 -msgid "Nothing found." -msgstr "" - -#: forum/skins/default/templates/users/preferences.html:6 -#: forum/skins/zapprotect/templates/users/preferences.html:6 -msgid "Preferences" -msgstr "" - -#: forum/skins/default/templates/users/preferences.html:10 -#: forum/skins/zapprotect/templates/users/preferences.html:10 -msgid "Here you can set some personal preferences." -msgstr "" - -#: forum/skins/default/templates/users/preferences.html:16 -#: forum/skins/zapprotect/templates/users/preferences.html:16 -msgid "Navigation:" -msgstr "" - -#: forum/skins/default/templates/users/preferences.html:21 -#: forum/skins/zapprotect/templates/users/preferences.html:21 -msgid "Allways remember the sort order I apply to the lists I view" -msgstr "" - -#: forum/skins/default/templates/users/signature.html:11 -#: forum/skins/default/templates/users/signature.html:17 -#: forum/skins/default/templates/users/signature.html:23 -#: forum/skins/zapprotect/templates/users/signature.html:11 -#: forum/skins/zapprotect/templates/users/signature.html:17 -#: forum/skins/zapprotect/templates/users/signature.html:23 -#: forum/templatetags/extra_tags.py:76 forum/views/meta.py:81 -msgid "badges" -msgstr "точки" - -#: forum/skins/default/templates/users/signature.html:31 -#: forum/skins/zapprotect/templates/users/signature.html:31 -#: forum/templatetags/extra_tags.py:49 -msgid "(suspended)" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#: forum/skins/zapprotect/templates/users/stats.html:13 -#, fuzzy, python-format -msgid "" -"\n" -" %(counter)s Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -"\n" -"
    %(q_num)s

    question without an " -"accepted answer

    " -msgstr[1] "" -"\n" -"
    %(q_num)s

    questions without an " -"accepted answer

    " - -#: forum/skins/default/templates/users/stats.html:35 -#: forum/skins/zapprotect/templates/users/stats.html:35 -#, fuzzy, python-format -msgid "" -"\n" -" %(counter)s Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -"\n" -"(one comment)" -msgstr[1] "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/users/stats.html:49 -#: forum/skins/zapprotect/templates/users/stats.html:49 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:49 -#: forum/skins/zapprotect/templates/users/stats.html:49 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:67 -#: forum/skins/zapprotect/templates/users/stats.html:67 -#, fuzzy, python-format -msgid "" -"\n" -" %(cnt)s Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -"\n" -"(one comment)" -msgstr[1] "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/users/stats.html:78 -#: forum/skins/zapprotect/templates/users/stats.html:78 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:79 -#: forum/skins/zapprotect/templates/users/stats.html:79 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:83 -#: forum/skins/zapprotect/templates/users/stats.html:83 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#: forum/skins/zapprotect/templates/users/stats.html:84 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:93 -#: forum/skins/zapprotect/templates/users/stats.html:93 -#, fuzzy, python-format -msgid "" -"\n" -" %(counter)s Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -"\n" -"(one comment)" -msgstr[1] "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/users/stats.html:106 -#: forum/skins/zapprotect/templates/users/stats.html:106 -#, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:121 -#: forum/skins/zapprotect/templates/users/stats.html:121 -#, python-format -msgid "" -"\n" -" %(counter)s Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions_management.html:6 -#: forum/skins/zapprotect/templates/users/subscriptions_management.html:6 -msgid "Manage your current subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_management.html:9 -#: forum/skins/zapprotect/templates/users/subscriptions_management.html:9 -msgid "don't show auto-subscribe" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_management.html:11 -#: forum/skins/zapprotect/templates/users/subscriptions_management.html:11 -#, fuzzy -msgid "show auto-subscribe" -msgstr "махни абонамента ми" - -#: forum/skins/default/templates/users/subscriptions_settings.html:5 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:5 -#, fuzzy -msgid "Notifications and subscription settings" -msgstr "" -"Adjust frequency of email updates. Receive " -"updates on interesting questions by email,
    help the community by answering questions of your colleagues. If you do not wish to " -"receive emails - select 'no email' on all items below.
    Updates are only " -"sent when there is any new activity on selected items." - -#: forum/skins/default/templates/users/subscriptions_settings.html:7 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:7 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to receive, " -"and their frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:11 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:11 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without losing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:15 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:15 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them by " -"clicking on the Start notifications button below.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:26 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:26 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:30 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:30 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:34 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:34 -#, fuzzy -msgid "A new question is posted" -msgstr "Tips" - -#: forum/skins/default/templates/users/subscriptions_settings.html:38 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:38 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:42 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:42 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:50 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:50 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:55 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:55 -#, fuzzy -msgid "Questions I ask" -msgstr "Tags" - -#: forum/skins/default/templates/users/subscriptions_settings.html:58 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:58 -#, fuzzy -msgid "Questions I answer" -msgstr "answer" - -#: forum/skins/default/templates/users/subscriptions_settings.html:61 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:61 -#, fuzzy -msgid "Questions I comment" -msgstr "question comment" - -#: forum/skins/default/templates/users/subscriptions_settings.html:66 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:66 -#, fuzzy -msgid "Questions I view" -msgstr "Tags" - -#: forum/skins/default/templates/users/subscriptions_settings.html:69 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:69 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:72 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:72 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:80 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:80 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:85 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:85 -#, fuzzy -msgid "An answer is posted" -msgstr "Tips" - -#: forum/skins/default/templates/users/subscriptions_settings.html:88 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:88 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:93 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:93 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:96 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:96 -#, fuzzy -msgid "An answer is accepted" -msgstr "answer accepted" - -#: forum/skins/default/templates/users/subscriptions_settings.html:104 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:104 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:109 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:109 -msgid "" -"Notify me when someone replies to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:114 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:114 -msgid "Send me the daily digest with information about the site activity" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:121 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:121 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions_settings.html:123 -#: forum/skins/zapprotect/templates/users/subscriptions_settings.html:123 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:4 -#: forum/skins/zapprotect/templates/users/suspend_user.html:4 -msgid "Suspend user" -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:8 -#: forum/skins/zapprotect/templates/users/suspend_user.html:8 -#, fuzzy -msgid "Indefinetly" -msgstr "Моментално" - -#: forum/skins/default/templates/users/suspend_user.html:9 -#: forum/skins/zapprotect/templates/users/suspend_user.html:9 -msgid "For X days" -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:15 -#: forum/skins/zapprotect/templates/users/suspend_user.html:15 -msgid "Suspend for" -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:15 -#: forum/skins/zapprotect/templates/users/suspend_user.html:15 -msgid "days" -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:20 -#: forum/skins/zapprotect/templates/users/suspend_user.html:20 -#, fuzzy -msgid "Public message" -msgstr "Вашето съобщение:" - -#: forum/skins/default/templates/users/suspend_user.html:26 -#: forum/skins/zapprotect/templates/users/suspend_user.html:26 -msgid "This message will be visible through the user activity log." -msgstr "" - -#: forum/skins/default/templates/users/suspend_user.html:31 -#: forum/skins/zapprotect/templates/users/suspend_user.html:31 -#, fuzzy -msgid "Private message" -msgstr "Вашето съобщение:" - -#: forum/skins/default/templates/users/suspend_user.html:37 -#: forum/skins/zapprotect/templates/users/suspend_user.html:37 -msgid "If set, only the suspended user will see this message." -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:23 -#: forum/skins/zapprotect/templates/users/users.html:6 -#: forum/skins/zapprotect/templates/users/users.html:23 -#: forum_modules/exporter/exporter.py:334 -#: forum_modules/exporter/importer.py:300 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/votes.html:15 -#: forum/skins/zapprotect/templates/users/votes.html:15 -#: forum/views/commands.py:72 -msgid "upvote" -msgstr "плюс" - -#: forum/skins/default/templates/users/votes.html:17 -#: forum/skins/zapprotect/templates/users/votes.html:17 -#: forum/views/commands.py:72 -msgid "downvote" -msgstr "минус" - -#: forum/templatetags/extra_tags.py:77 -msgid "reputation points" -msgstr "karma" - -#: forum/templatetags/extra_tags.py:107 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:109 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:111 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:113 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:115 -#, python-format -msgid "%(sec)d sec ago" -msgid_plural "%(sec)d secs ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:90 -msgid "permanent link" -msgstr "link" - -#: forum/templatetags/node_tags.py:90 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:96 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:100 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:102 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:105 -msgid "report" -msgstr "" - -#: forum/templatetags/node_tags.py:111 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:115 -#, fuzzy -msgid "undelete" -msgstr "[изтрито]" - -#: forum/templatetags/node_tags.py:122 -#, fuzzy -msgid "see revisions" -msgstr "изберете ревизия" - -#: forum/templatetags/node_tags.py:129 -#, fuzzy -msgid "mark as community wiki" -msgstr "уики общност" - -#: forum/templatetags/node_tags.py:133 -#, fuzzy -msgid "cancel community wiki" -msgstr "уики общност" - -#: forum/templatetags/node_tags.py:137 -#, fuzzy -msgid "convert to comment" -msgstr "post a comment" - -#: forum/templatetags/node_tags.py:204 -msgid "posted" -msgstr "добавено" - -#: forum/views/admin.py:116 -#, fuzzy -msgid "Questions Graph" -msgstr "Въпроси" - -#: forum/views/admin.py:120 -msgid "Users Graph" -msgstr "" - -#: forum/views/admin.py:159 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:266 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:280 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:296 -msgid "All values recalculated" -msgstr "" - -#: forum/views/admin.py:311 -msgid "Maintenance mode enabled" -msgstr "" - -#: forum/views/admin.py:313 -msgid "Settings adjusted" -msgstr "" - -#: forum/views/admin.py:320 -msgid "Your site is now running normally" -msgstr "" - -#: forum/views/admin.py:324 -msgid "Currently down for maintenance. We'll be back soon" -msgstr "" - -#: forum/views/admin.py:384 -msgid "createuser" -msgstr "" - -#: forum/views/admin.py:384 -#, fuzzy -msgid "Create new user" -msgstr "Парола (напишете отново)" - -#: forum/views/admin.py:399 -#, python-format -msgid "New user created sucessfully. %s." -msgstr "" - -#: forum/views/admin.py:400 -#, fuzzy, python-format -msgid "See %s profile" -msgstr "завършен потребителски профил" - -#: forum/views/admin.py:413 -msgid "added_at" -msgstr "" - -#: forum/views/admin.py:414 -msgid "added_at_asc" -msgstr "" - -#: forum/views/admin.py:415 -msgid "author" -msgstr "" - -#: forum/views/admin.py:416 -msgid "author_asc" -msgstr "" - -#: forum/views/admin.py:417 -msgid "score" -msgstr "" - -#: forum/views/admin.py:418 -msgid "score_asc" -msgstr "" - -#: forum/views/admin.py:419 -msgid "act_at" -msgstr "" - -#: forum/views/admin.py:420 -msgid "act_at_asc" -msgstr "" - -#: forum/views/admin.py:421 -msgid "act_by" -msgstr "" - -#: forum/views/admin.py:422 -msgid "act_by_asc" -msgstr "" - -#: forum/views/admin.py:425 -msgid "nodeman" -msgstr "" - -#: forum/views/admin.py:425 -msgid "Bulk management" -msgstr "" - -#: forum/views/admin.py:431 -#, fuzzy -msgid "filter" -msgstr "сребро" - -#: forum/views/admin.py:444 -msgid "No action performed" -msgstr "" - -#: forum/views/admin.py:451 -msgid "All selected nodes marked as deleted" -msgstr "" - -#: forum/views/admin.py:458 -msgid "All selected nodes undeleted" -msgstr "" - -#: forum/views/admin.py:463 -msgid "bulk close" -msgstr "" - -#: forum/views/admin.py:465 -#, fuzzy -msgid "Selected questions were closed" -msgstr "изтрит въпрос" - -#: forum/views/admin.py:477 -msgid "All selected nodes deleted" -msgstr "" - -#: forum/views/auth.py:111 forum/views/auth.py:123 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:114 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:120 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:129 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:170 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again. " -"Note that you need to have cookies enabled for the authentication to work." -msgstr "" - -#: forum/views/auth.py:186 forum_modules/localauth/views.py:35 -msgid "A welcome email has been sent to your email address. " -msgstr "" - -#: forum/views/auth.py:191 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:247 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:263 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:279 -msgid "A message with an email validation link was just sent to your address." -msgstr "" - -#: forum/views/auth.py:290 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:315 -#, fuzzy -msgid "New password set" -msgstr "Recover password" - -#: forum/views/auth.py:319 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:355 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:367 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/auth.py:381 -#, python-format -msgid "You have a %s pending submission." -msgstr "" - -#: forum/views/auth.py:382 -#, fuzzy -msgid "save it" -msgstr "Запази промените" - -#: forum/views/auth.py:383 forum/views/writers.py:264 -#, fuzzy -msgid "review" -msgstr "преглеждания" - -#: forum/views/auth.py:384 forum/views/writers.py:261 -#, fuzzy -msgid "cancel" -msgstr "Откажи" - -#: forum/views/auth.py:392 -msgid "Sorry, but this account is suspended" -msgstr "" - -#: forum/views/commands.py:23 -#, python-format -msgid "" -"Sorry, but you don't have enough reputation points to %(action)s.
    Please check the faq" -msgstr "" - -#: forum/views/commands.py:31 -#, python-format -msgid "" -"Sorry but you cannot %(action)s your own post.
    Please check the faq" -msgstr "" - -#: forum/views/commands.py:39 -#, python-format -msgid "" -"Sorry but anonymous users cannot %(action)s.
    Please login or create an " -"account here." -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"Sorry, but you don't have enough %(action)s left for today..
    The limit " -"is %(limit)s per day..
    Please check the faq" -msgstr "" - -#: forum/views/commands.py:55 -#, python-format -msgid "" -"Sorry, but you cannot %(action)s twice the same post.
    Please check the " -"faq" -msgstr "" - -#: forum/views/commands.py:87 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:89 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:111 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:125 forum/views/commands.py:131 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:128 -msgid "flag" -msgstr "" - -#: forum/views/commands.py:136 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:141 -#, python-format -msgid "You already flagged this post with the following reason: %(reason)s" -msgstr "" - -#: forum/views/commands.py:146 forum/views/commands.py:374 -#, fuzzy -msgid "Reason is empty" -msgstr "История на ревизиите" - -#: forum/views/commands.py:150 -msgid "" -"Thank you for your report. A moderator will review your submission shortly." -msgstr "" - -#: forum/views/commands.py:158 forum/views/commands.py:164 -#, fuzzy -msgid "like comments" -msgstr "post a comment" - -#: forum/views/commands.py:161 -msgid "like" -msgstr "" - -#: forum/views/commands.py:188 forum/views/commands.py:191 -#, fuzzy -msgid "delete comments" -msgstr "post a comment" - -#: forum/views/commands.py:207 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:233 forum/views/commands.py:491 -#: forum/views/commands.py:502 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:238 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:241 -#, python-format -msgid "At least %d characters required on comment body." -msgstr "" - -#: forum/views/commands.py:244 -#, python-format -msgid "No more than %d characters on comment body." -msgstr "" - -#: forum/views/commands.py:250 -#, fuzzy -msgid "edit comments" -msgstr "post a comment" - -#: forum/views/commands.py:283 forum/views/commands.py:297 -#, fuzzy -msgid "accept answers" -msgstr "oldest" - -#: forum/views/commands.py:303 -msgid "Sorry but you cannot accept the answer" -msgstr "" - -#: forum/views/commands.py:312 -#, fuzzy -msgid "This question already has an accepted answer." -msgid_plural "" -"Sorry but this question has reached the limit of accepted answers." -msgstr[0] "въпроса е отговорен, приет е верен отговор" -msgstr[1] "въпроса е отговорен, приет е верен отговор" - -#: forum/views/commands.py:319 -msgid "" -"The author of this answer already has an accepted answer in this question." -msgid_plural "" -"Sorry but the author of this answer has reached the limit of accepted " -"answers per question." -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:334 forum/views/commands.py:337 -msgid "delete posts" -msgstr "" - -#: forum/views/commands.py:360 forum/views/commands.py:369 -#, fuzzy -msgid "close questions" -msgstr "последни въпроси" - -#: forum/views/commands.py:364 -#, fuzzy -msgid "reopen questions" -msgstr "Отвори отново въпроса" - -#: forum/views/commands.py:386 forum/views/commands.py:398 -#, fuzzy -msgid "mark posts as community wiki" -msgstr "уики общност" - -#: forum/views/commands.py:390 -#, fuzzy -msgid "cancel a community wiki post" -msgstr "уики общност" - -#: forum/views/commands.py:411 -#, python-format -msgid "Answer by %(uname)s: %(snippet)s..." -msgstr "" - -#: forum/views/commands.py:413 -#, fuzzy -msgid "Question" -msgstr "Въпроси" - -#: forum/views/commands.py:420 forum/views/commands.py:423 -#, fuzzy -msgid "convert answers to comments" -msgstr "коментар на отговора" - -#: forum/views/commands.py:428 forum/views/commands.py:431 -msgid "That is an invalid post to put the comment under" -msgstr "" - -#: forum/views/commands.py:446 -msgid "You do not have the correct credentials to preform this action." -msgstr "" - -#: forum/views/decorators.py:73 -msgid "" -"We're sorry, but an unknown error ocurred.
    Please try again in a while." -msgstr "" - -#: forum/views/meta.py:62 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:70 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:44 -#, fuzzy -msgid "Most recently updated questions" -msgstr " " - -#: forum/views/readers.py:45 -#, fuzzy -msgid "most recently asked questions" -msgstr "вижте често задаваните въпроси" - -#: forum/views/readers.py:46 -#, fuzzy -msgid "most active questions in the last 24 hours
    " -msgstr " " - -#: forum/views/readers.py:47 -#, fuzzy -msgid "mostvoted" -msgstr "отхвърлен" - -#: forum/views/readers.py:47 -#, fuzzy -msgid "most voted questions" -msgstr " " - -#: forum/views/readers.py:60 forum/views/readers.py:261 -#: forum/views/users.py:41 forum/views/users.py:52 -msgid "oldest" -msgstr "" - -#: forum/views/readers.py:60 forum/views/users.py:52 -msgid "oldest answers" -msgstr "най-старите" - -#: forum/views/readers.py:60 forum/views/users.py:52 -msgid "oldest answers will be shown first" -msgstr "най-старите отговори ще бъдат показани първи" - -#: forum/views/readers.py:61 forum/views/users.py:53 -msgid "newest answers" -msgstr "най-новите" - -#: forum/views/readers.py:61 forum/views/users.py:53 -msgid "newest answers will be shown first" -msgstr "най-новите отговори ще бъдат показани първи" - -#: forum/views/readers.py:62 forum/views/users.py:54 -msgid "popular answers" -msgstr "с най-много гласове" - -#: forum/views/readers.py:62 forum/views/users.py:54 -msgid "most voted answers will be shown first" -msgstr "отговорите с най-много гласове ще бъдат показани първи" - -#: forum/views/readers.py:68 forum/views/users.py:42 -#, fuzzy -msgid "name" -msgstr "по име" - -#: forum/views/readers.py:68 -msgid "by name" -msgstr "по име" - -#: forum/views/readers.py:68 -msgid "sorted alphabetically" -msgstr "сортирай по азбучен ред" - -#: forum/views/readers.py:69 forum/views/readers.py:70 -#, fuzzy -msgid "used" -msgstr "зададено" - -#: forum/views/readers.py:69 -msgid "by popularity" -msgstr "по популярност" - -#: forum/views/readers.py:69 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/views/readers.py:77 -msgid " - " -msgstr "" - -#: forum/views/readers.py:77 -msgid "latest questions" -msgstr "последни въпроси" - -#: forum/views/readers.py:90 -#, fuzzy -msgid "unanswered" -msgstr "неотговорени" - -#: forum/views/readers.py:94 -#, fuzzy -msgid "open questions without an accepted answer" -msgstr "въпроса е отговорен, приет е верен отговор" - -#: forum/views/readers.py:96 -#, fuzzy -msgid "Unanswered Questions" -msgstr "Неотговорени въпроси" - -#: forum/views/readers.py:106 -#, python-format -msgid "questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:108 -#, fuzzy, python-format -msgid "Questions Tagged With %(tag)s" -msgstr "още въпроси с таг '%(tagname)s'" - -#: forum/views/readers.py:117 -#, fuzzy, python-format -msgid "Questions asked by %s" -msgstr "Зададен въпрос" - -#: forum/views/readers.py:120 -#, fuzzy, python-format -msgid "Questions answered by %s" -msgstr "answer" - -#: forum/views/readers.py:127 -#, fuzzy, python-format -msgid "Questions you subscribed %s" -msgstr "Tags" - -#: forum/views/readers.py:129 -#, fuzzy, python-format -msgid "Questions subscribed by %s" -msgstr "махни абонамента ми" - -#: forum/views/readers.py:152 -msgid "Questions" -msgstr "Въпроси" - -#: forum/views/readers.py:206 forum/views/readers.py:207 -msgid "ranking" -msgstr "" - -#: forum/views/readers.py:206 -msgid "relevance" -msgstr "" - -#: forum/views/readers.py:206 -#, fuzzy -msgid "most relevant questions" -msgstr "ask a question relevant to the CNPROG community" - -#: forum/views/readers.py:212 forum/views/readers.py:214 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/readers.py:362 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/views/users.py:39 -#, fuzzy -msgid "sorted by reputation" -msgstr "karma" - -#: forum/views/users.py:40 -msgid "recent" -msgstr "" - -#: forum/views/users.py:40 -#, fuzzy -msgid "newest members" -msgstr "най-новите" - -#: forum/views/users.py:41 -msgid "last" -msgstr "" - -#: forum/views/users.py:41 -#, fuzzy -msgid "oldest members" -msgstr "най-старите" - -#: forum/views/users.py:42 -msgid "by username" -msgstr "" - -#: forum/views/users.py:42 -#, fuzzy -msgid "sorted by username" -msgstr "Choose screen name" - -#: forum/views/users.py:73 -msgid "Online Users" -msgstr "" - -#: forum/views/users.py:167 -#, fuzzy -msgid "Profile updated." -msgstr "Последно обновен" - -#: forum/views/users.py:181 -msgid "Only superusers are allowed to alter other users permissions." -msgstr "" - -#: forum/views/users.py:184 -msgid "Only the site owner can remove the super user status from other user." -msgstr "" - -#: forum/views/users.py:206 -msgid "Only superusers are allowed to award reputation points" -msgstr "" - -#: forum/views/users.py:211 -msgid "Invalid number of points to award." -msgstr "" - -#: forum/views/users.py:229 -msgid "Only superusers can suspend other users" -msgstr "" - -#: forum/views/users.py:250 -msgid "Invalid numeric argument for the number of days." -msgstr "" - -#: forum/views/users.py:300 -msgid "overview" -msgstr "" - -#: forum/views/users.py:300 -msgid "user overview" -msgstr "" - -#: forum/views/users.py:332 -msgid "recent activity" -msgstr "" - -#: forum/views/users.py:332 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:341 -#, fuzzy -msgid "karma history" -msgstr "karma history" - -#: forum/views/users.py:341 -#, fuzzy -msgid "graph of user karma" -msgstr "Graph of user karma" - -#: forum/views/users.py:356 -msgid "user vote record" -msgstr "" - -#: forum/views/users.py:363 -msgid "favorites" -msgstr "" - -#: forum/views/users.py:363 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/views/users.py:369 -#, fuzzy -msgid "subscription" -msgstr "Абонамент" - -#: forum/views/users.py:369 -msgid "subscriptions" -msgstr "" - -#: forum/views/users.py:383 -#, fuzzy -msgid "New subscription settings are now saved" -msgstr "" -"Adjust frequency of email updates. Receive " -"updates on interesting questions by email,
    help the community by answering questions of your colleagues. If you do not wish to " -"receive emails - select 'no email' on all items below.
    Updates are only " -"sent when there is any new activity on selected items." - -#: forum/views/users.py:389 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:391 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:435 -msgid "preferences" -msgstr "" - -#: forum/views/users.py:442 -msgid "New preferences saved" -msgstr "" - -#: forum/views/writers.py:59 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "sorry, file uploading requires karma >60" - -#: forum/views/writers.py:61 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:63 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:65 -#, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:96 -#, python-format -msgid "Your question is pending until you %s." -msgstr "" - -#: forum/views/writers.py:97 forum/views/writers.py:246 -#, fuzzy -msgid "validate your email" -msgstr "How to validate email and why?" - -#: forum/views/writers.py:245 -#, python-format -msgid "Your answer is pending until you %s." -msgstr "" - -#: forum_modules/akismet/settings.py:7 -msgid "WordPress API key" -msgstr "" - -#: forum_modules/akismet/settings.py:8 -msgid "" -"Your WordPress API key. You can get one at http://wordpress.com/" -msgstr "" - -#: forum_modules/akismet/settings.py:12 -#, fuzzy -msgid "Minimum reputation to not have your posts checked" -msgstr "user karma" - -#: forum_modules/akismet/settings.py:13 -msgid "" -"The minimum reputation a user must have so that when they post a question, " -"answer or comment it is not checked for spam." -msgstr "" - -#: forum_modules/akismet/startup.py:45 -#, python-format -msgid "Sorry, but akismet thinks your %s is spam." -msgstr "" - -#: forum_modules/akismet/templates/foundspam.html:3 -msgid "Akismet message" -msgstr "" - -#: forum_modules/akismet/templates/foundspam.html:7 -#, python-format -msgid "Akismet believes your %(action_name)s is spam." -msgstr "" - -#: forum_modules/akismet/templates/foundspam.html:10 -#, python-format -msgid "" -"\n" -"We're sorry, but Akismet believes your %(action_name)s is spam.
    \n" -"If you believe this is an error, please contact the forum administrator.\n" -msgstr "" - -#: forum_modules/default_badges/badges.py:16 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:24 -#, fuzzy -msgid "Popular Question" -msgstr "Задайте Вашия въпрос" - -#: forum_modules/default_badges/badges.py:30 -#, fuzzy -msgid "Notable Question" -msgstr "коментиран въпрос" - -#: forum_modules/default_badges/badges.py:35 -#, fuzzy -msgid "Famous Question" -msgstr "задай въпрос" - -#: forum_modules/default_badges/badges.py:54 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:58 -#, fuzzy -msgid "Nice Question" -msgstr "Tags" - -#: forum_modules/default_badges/badges.py:63 -#, fuzzy -msgid "Good Question" -msgstr "Tags" - -#: forum_modules/default_badges/badges.py:68 -#, fuzzy -msgid "Great Question" -msgstr "Tags" - -#: forum_modules/default_badges/badges.py:77 -#, fuzzy, python-format -msgid "Answer voted up %s times" -msgstr "Post Your Answer" - -#: forum_modules/default_badges/badges.py:81 -#, fuzzy -msgid "Nice Answer" -msgstr "редактиран отговор" - -#: forum_modules/default_badges/badges.py:86 -#, fuzzy -msgid "Good Answer" -msgstr "най-старите" - -#: forum_modules/default_badges/badges.py:91 -#, fuzzy -msgid "Great Answer" -msgstr "отговор" - -#: forum_modules/default_badges/badges.py:100 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, fuzzy -msgid "Favorite Question" -msgstr "редактиран въпрос" - -#: forum_modules/default_badges/badges.py:113 -#, fuzzy -msgid "Stellar Question" -msgstr "Изпратете Вашия отговор" - -#: forum_modules/default_badges/badges.py:119 -msgid "Disciplined" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:128 -msgid "Peer Pressure" -msgstr "" - -#: forum_modules/default_badges/badges.py:129 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:139 -msgid "Critic" -msgstr "Критичен" - -#: forum_modules/default_badges/badges.py:140 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:150 -#, fuzzy -msgid "Supporter" -msgstr "плюс" - -#: forum_modules/default_badges/badges.py:151 -msgid "First up vote" -msgstr "Първи положителен вот" - -#: forum_modules/default_badges/badges.py:168 -msgid "Citizen Patrol" -msgstr "Граждански Патрул" - -#: forum_modules/default_badges/badges.py:169 -msgid "First flagged post" -msgstr "Първа маркирана публикация" - -#: forum_modules/default_badges/badges.py:173 -msgid "Organizer" -msgstr "Организатор" - -#: forum_modules/default_badges/badges.py:174 -msgid "First retag" -msgstr "Първи ретаг" - -#: forum_modules/default_badges/badges.py:178 -#, fuzzy -msgid "Editor" -msgstr "Редактор" - -#: forum_modules/default_badges/badges.py:179 -msgid "First edit" -msgstr "Първа редакция" - -#: forum_modules/default_badges/badges.py:183 -msgid "Scholar" -msgstr "Учен" - -#: forum_modules/default_badges/badges.py:184 -msgid "First accepted answer on your own question" -msgstr "Първи приет отговор на Вашия собствен въпрос" - -#: forum_modules/default_badges/badges.py:188 -msgid "Cleanup" -msgstr "Почистване" - -#: forum_modules/default_badges/badges.py:189 -msgid "First rollback" -msgstr "Първо почистване" - -#: forum_modules/default_badges/badges.py:195 -msgid "Autobiographer" -msgstr "Автобиографист" - -#: forum_modules/default_badges/badges.py:196 -msgid "Completed all user profile fields" -msgstr "Попълнил е всички полета на потребителския профил" - -#: forum_modules/default_badges/badges.py:209 -msgid "Civic Duty" -msgstr "Граждански Дълг" - -#: forum_modules/default_badges/badges.py:210 -#, python-format -msgid "Voted %s times" -msgstr "Гласувал %s пъти" - -#: forum_modules/default_badges/badges.py:220 -#, fuzzy -msgid "Pundit" -msgstr "Учена глава" - -#: forum_modules/default_badges/badges.py:221 -#, python-format -msgid "Left %s comments" -msgstr "Остават %s коментара" - -#: forum_modules/default_badges/badges.py:231 -msgid "Self Learner" -msgstr "Самоучка" - -#: forum_modules/default_badges/badges.py:232 -#, fuzzy, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "Отговорил на собствения си въпрос с поне %s положителни гласа" - -#: forum_modules/default_badges/badges.py:244 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:245 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:255 -msgid "Student" -msgstr "Студент" - -#: forum_modules/default_badges/badges.py:256 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:267 -#, fuzzy -msgid "Teacher" -msgstr "търсене" - -#: forum_modules/default_badges/badges.py:268 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:280 -msgid "Enlightened" -msgstr "" - -#: forum_modules/default_badges/badges.py:281 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:292 -msgid "Guru" -msgstr "Гуру" - -#: forum_modules/default_badges/badges.py:293 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:304 -msgid "Necromancer" -msgstr "" - -#: forum_modules/default_badges/badges.py:305 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:317 -msgid "Taxonomist" -msgstr "" - -#: forum_modules/default_badges/badges.py:318 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "Създаде таг използван от %s въпроса" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -#, fuzzy -msgid "Nice Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -#, fuzzy -msgid "Good Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -#, fuzzy -msgid "Great Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/exporter/exporter.py:139 -msgid "Compressing xml files" -msgstr "" - -#: forum_modules/exporter/exporter.py:146 -msgid "Importing uploaded files" -msgstr "" - -#: forum_modules/exporter/exporter.py:151 -msgid "Importing skins folder" -msgstr "" - -#: forum_modules/exporter/exporter.py:155 -msgid "Writing inf file." -msgstr "" - -#: forum_modules/exporter/exporter.py:191 -msgid "Saving backup file" -msgstr "" - -#: forum_modules/exporter/exporter.py:225 -#: forum_modules/exporter/importer.py:214 -msgid "Queued" -msgstr "" - -#: forum_modules/exporter/exporter.py:228 -#: forum_modules/exporter/importer.py:217 -#, fuzzy -msgid "Starting" -msgstr "интересно" - -#: forum_modules/exporter/exporter.py:249 -#, python-format -msgid "Exporting %s" -msgstr "" - -#: forum_modules/exporter/exporter.py:250 -msgid "Exporting" -msgstr "" - -#: forum_modules/exporter/exporter.py:254 -msgid "Writing temp file" -msgstr "" - -#: forum_modules/exporter/exporter.py:255 -#, python-format -msgid "Writing %s temp file" -msgstr "" - -#: forum_modules/exporter/exporter.py:260 -#: forum_modules/exporter/exporter.py:278 -#: forum_modules/exporter/importer.py:244 -#, fuzzy -msgid "Done" -msgstr "бронз" - -#: forum_modules/exporter/exporter.py:272 -msgid "Compressing files" -msgstr "" - -#: forum_modules/exporter/exporter.py:391 -#: forum_modules/exporter/importer.py:367 -#, fuzzy -msgid "Nodes" -msgstr "гласове" - -#: forum_modules/exporter/exporter.py:436 -#: forum_modules/exporter/importer.py:440 -#, fuzzy -msgid "Actions" -msgstr "Местоположение" - -#: forum_modules/exporter/exporter.py:482 -#: forum_modules/exporter/importer.py:509 -#, fuzzy -msgid "Awards" -msgstr "all badges" - -#: forum_modules/exporter/exporter.py:490 -#: forum_modules/exporter/importer.py:528 -msgid "Settings" -msgstr "" - -#: forum_modules/exporter/forms.py:5 -msgid "Anonymized data" -msgstr "" - -#: forum_modules/exporter/forms.py:5 -msgid "Don't export user data and make all content anonymous" -msgstr "" - -#: forum_modules/exporter/forms.py:6 -msgid "Uploaded files" -msgstr "" - -#: forum_modules/exporter/forms.py:6 -msgid "Include uploaded files in the backup" -msgstr "" - -#: forum_modules/exporter/forms.py:7 -msgid "Skins folder" -msgstr "" - -#: forum_modules/exporter/forms.py:7 -msgid "Include skins folder in the backup" -msgstr "" - -#: forum_modules/exporter/importer.py:238 -#, python-format -msgid "Importing %s" -msgstr "" - -#: forum_modules/exporter/importer.py:239 -msgid "Importing" -msgstr "" - -#: forum_modules/exporter/settings.py:7 -msgid "Exporter settings" -msgstr "" - -#: forum_modules/exporter/settings.py:7 -msgid "Data export settings" -msgstr "" - -#: forum_modules/exporter/settings.py:10 -msgid "Backups storage" -msgstr "" - -#: forum_modules/exporter/settings.py:11 -msgid "A folder to keep your backups organized." -msgstr "" - -#: forum_modules/exporter/urls.py:8 forum_modules/exporter/urls.py:10 -#: forum_modules/exporter/urls.py:12 -msgid "exporter/" -msgstr "" - -#: forum_modules/exporter/urls.py:8 -msgid "state/" -msgstr "" - -#: forum_modules/exporter/urls.py:9 -msgid "running/" -msgstr "" - -#: forum_modules/exporter/urls.py:10 -#, fuzzy -msgid "download/" -msgstr "отхвърлен" - -#: forum_modules/exporter/urls.py:12 -msgid "import/" -msgstr "" - -#: forum_modules/exporter/views.py:20 forum_modules/exporter/views.py:68 -msgid "exporter" -msgstr "" - -#: forum_modules/exporter/views.py:20 -msgid "XML data export" -msgstr "" - -#: forum_modules/exporter/templates/exporter.html:6 -#: forum_modules/exporter/templates/running.html:6 -msgid "XML data exporter" -msgstr "" - -#: forum_modules/exporter/templates/exporter.html:9 -#: forum_modules/exporter/templates/running.html:9 -msgid "Export database to XML format" -msgstr "" - -#: forum_modules/exporter/templates/exporter.html:14 -msgid "Available backups" -msgstr "" - -#: forum_modules/exporter/templates/exporter.html:25 -msgid "Start new backup" -msgstr "" - -#: forum_modules/exporter/templates/exporter.html:31 -msgid "Start" -msgstr "" - -#: forum_modules/exporter/templates/importer.html:6 -#: forum_modules/exporter/templates/running.html:6 -msgid "XML data importer" -msgstr "" - -#: forum_modules/exporter/templates/importer.html:9 -msgid "Import data from dump file" -msgstr "" - -#: forum_modules/exporter/templates/running.html:9 -msgid "Restore data from a previouus export" -msgstr "" - -#: forum_modules/exporter/templates/running.html:60 -msgid "Skiped" -msgstr "" - -#: forum_modules/exporter/templates/running.html:96 -msgid "Your backup is ready to be downloaded." -msgstr "" - -#: forum_modules/exporter/templates/running.html:99 -msgid "All data sucessfully imported." -msgstr "" - -#: forum_modules/exporter/templates/running.html:104 -msgid "An error has occurred during de export proccess" -msgstr "" - -#: forum_modules/exporter/templates/running.html:106 -msgid "An error has occurred during de import proccess" -msgstr "" - -#: forum_modules/exporter/templates/running.html:109 -msgid "Please check the log file for a full stack trace." -msgstr "" - -#: forum_modules/exporter/templates/running.html:134 -msgid "Please wait while we prepare your backup file to download." -msgstr "" - -#: forum_modules/exporter/templates/running.html:136 -msgid "Please wait while we import your data." -msgstr "" - -#: forum_modules/exporter/templates/running.html:138 -msgid "" -"\n" -" Started \n" -" " -msgstr "" - -#: forum_modules/exporter/templates/running.html:142 -msgid "Download file" -msgstr "" - -#: forum_modules/exporter/templates/running.html:147 -msgid "Total progress" -msgstr "" - -#: forum_modules/exporter/templates/running.html:157 -msgid " of " -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:83 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:86 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/templates/loginform.html:4 -#, fuzzy -msgid "Enter your local user name and password" -msgstr "" -"Enter your CNPROG login and password
    (or select your OpenID provider above)" - -#: forum_modules/localauth/templates/loginform.html:4 -msgid "or select your external provider above" -msgstr "или изберете външен доставчик" - -#: forum_modules/localauth/templates/loginform.html:8 -#, fuzzy -msgid "Login name" -msgstr "Вход" - -#: forum_modules/localauth/templates/loginform.html:16 -#, fuzzy -msgid "Password" -msgstr "парола" - -#: forum_modules/localauth/templates/loginform.html:27 -#, fuzzy -msgid "Create account" -msgstr "Регистрация" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "Грешка, Auth Token не е на сървъра" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "Нещо се обърка! Auth символите не съвпадат" - -#: forum_modules/openidauth/consumer.py:51 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "За съжаление вашия вход не е валиден OpenID" - -#: forum_modules/openidauth/consumer.py:125 -msgid "The OpenId authentication request was canceled" -msgstr "Удостоверяването с OpenID беше отменено" - -#: forum_modules/openidauth/consumer.py:127 -msgid "The OpenId authentication failed: " -msgstr "Удостоверяването с OpenID се провали:" - -#: forum_modules/openidauth/consumer.py:129 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:131 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -msgid "Bug Buster" -msgstr "" - -#: forum_modules/project_badges/badges.py:10 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:137 -#, fuzzy, python-format -msgid "user-%(id)s" -msgstr "потребители" - -#: forum_modules/sximporter/importer.py:147 -#, python-format -msgid "user-%(id)s (google)" -msgstr "" - -#: forum_modules/sximporter/importer.py:151 -#, python-format -msgid "user-%(id)s (yahoo)" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" - -#: rosetta/templates/rosetta/languages.html:4 -#: rosetta/templates/rosetta/languages.html:6 -msgid "Language selection" -msgstr "" - -#: rosetta/templates/rosetta/languages.html:17 -#, fuzzy -msgid "Application" -msgstr "Лого" - -#: rosetta/templates/rosetta/languages.html:18 -#, fuzzy -msgid "Progress" -msgstr "Точки" - -#: rosetta/templates/rosetta/languages.html:19 -#, fuzzy -msgid "Messages" -msgstr "Вашето съобщение:" - -#: rosetta/templates/rosetta/languages.html:20 -#, fuzzy -msgid "Translated" -msgstr "обновено" - -#: rosetta/templates/rosetta/languages.html:21 -#: rosetta/templates/rosetta/pofile.html:57 -msgid "Fuzzy" -msgstr "" - -#: rosetta/templates/rosetta/languages.html:22 -msgid "Obsolete" -msgstr "" - -#: rosetta/templates/rosetta/languages.html:23 -#, fuzzy -msgid "File" -msgstr "сребро" - -#: rosetta/templates/rosetta/languages.html:44 -msgid "Nothing to translate!" -msgstr "" - -#: rosetta/templates/rosetta/languages.html:45 -msgid "" -"You haven't specified any languages in your settings file, or haven't yet " -"generated a batch of translation catalogs." -msgstr "" - -#: rosetta/templates/rosetta/languages.html:46 -#, python-format -msgid "" -"Please refer to Django's I18N documentation for a guide on how to set up internationalization for your project." -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:8 -msgid "Pick another file" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:9 -msgid "Download this catalog" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:21 -#, python-format -msgid "Progress: %(percent_translated)s%%" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:23 -msgid "File is read-only: download the file when done editing!" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:24 -msgid "" -"Some items in your last translation block couldn't be saved: this usually " -"happens when the catalog file changes on disk after you last loaded it." -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:28 -#, python-format -msgid "Translate into %(rosetta_i18n_lang_name)s" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:31 -#, fuzzy -msgid "Display:" -msgstr "Дневно" - -#: rosetta/templates/rosetta/pofile.html:32 -msgid "Untranslated only" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:33 -msgid "Translated only" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:34 -msgid "Fuzzy only" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:35 -msgid "All" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:54 -msgid "Original" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:58 -msgid "Occurrences(s)" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:82 -msgid "suggest" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:93 -#, python-format -msgid "%(more_count)s more" -msgid_plural "%(more_count)s more" -msgstr[0] "" -msgstr[1] "" - -#: rosetta/templates/rosetta/pofile.html:105 -msgid "Save and translate next block" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:109 -#, fuzzy -msgid "Skip to page:" -msgstr "обратно на началната страница" - -#: rosetta/templates/rosetta/pofile.html:122 -msgid "Displaying:" -msgstr "" - -#: rosetta/templates/rosetta/pofile.html:124 -#, python-format -msgid "%(hits)s/%(message_number)s message" -msgid_plural "%(hits)s/%(message_number)s messages" -msgstr[0] "" -msgstr[1] "" - -#~ msgid "duplicate question" -#~ msgstr "повтарящ се въпрос" - -#~ msgid "question is off-topic or not relevant" -#~ msgstr "въпроса е извън темата или е нерелевантен" - -#~ msgid "too subjective and argumentative" -#~ msgstr "прекалено субективен и спорен" - -#~ msgid "commented answer" -#~ msgstr "коментиран отговор" - -#~ msgid "received award" -#~ msgstr "получена награда" - -#~ msgid "marked best answer" -#~ msgstr "маркиран за най-добър отговор" - -#~ msgid "upvote canceled" -#~ msgstr "поддръжката е отменена" - -#~ msgid "downvote canceled" -#~ msgstr "отхвърлянето е отменено" - -#~ msgid "deleted answer" -#~ msgstr "изтрит отговор" - -#~ msgid "marked offensive" -#~ msgstr "маркирано за обидно" - -#~ msgid "updated tags" -#~ msgstr "обновени тагове" - -#~ msgid "selected favorite" -#~ msgstr "избрано за любимо" - -#~ msgid "email update sent to user" -#~ msgstr "изпратено е имейл известяване до потребителя" - -#~ msgid "question_answered" -#~ msgstr "отговор" - -#~ msgid "answer_accepted" -#~ msgstr "приет отговор" - -#~ msgid "initial version" -#~ msgstr "първоначална версия" - -#~ msgid "Weekly" -#~ msgstr "Седмично" - -#~ msgid "please use 5 tags or less" -#~ msgstr "моля, използвайте до 5 тага" - -#~ msgid "tags must be shorter than 20 characters" -#~ msgstr "таговете трябва да са по-кратки от 20 символа" - -#~ msgid "Automatically accept user's contributions for the email updates" -#~ msgstr "Автоматично приемай потребителските добавяния за имейл ъпдейтите" - -#~ msgid "marked an answer" -#~ msgstr "маркирано като прочетено" - -#~ msgid "commented a question" -#~ msgstr "списък на всички въпроси" - -#~ msgid "edited an answer" -#~ msgstr "най-старите" - -#~ msgid "received badge" -#~ msgstr "получена точка" - -#~ msgid "" -#~ "the page you tried to visit is protected or you don't have sufficient " -#~ "points, see" -#~ msgstr "" -#~ "страницата е защитена или нямате подходящите права за да я преглеждате" - -#~ msgid "this answer has been accepted to be correct" -#~ msgstr "този въпрос" - -#~ msgid "login to post question info" -#~ msgstr "" -#~ "Вие сте свободни да задавате Вашите въпроси " -#~ "анонимно. Когато изберете да изпратите публикацията, тя ще бъде " -#~ "запазена в сесията и след като се оторизирате ще можете да продължите " -#~ "добавянето. Процеса на регистрация и оторизиране е много прост. Отнема по-" -#~ "малко от минута." - -#~ msgid "" -#~ "must have valid %(email)s to post, \n" -#~ " see %(email_validation_faq_url)s\n" -#~ " " -#~ msgstr "" -#~ "Изглежда, че имейла Ви, %(email)s не е бил " -#~ "потвърден. За да добавяте информация, трябва да потвърдите имейла " -#~ "си, можете да намерите повече информация на страницата за потвърждение на имейла." -#~ "
    Можете да изпратите съобщението си и да потвърдите имейла след това, " -#~ "но съобщението няма да бъде визуализирано. " - -#~ msgid "" -#~ "Before asking the question - please make sure to use search to see " -#~ "whether your question has alredy been answered." -#~ msgstr "" -#~ "Before you ask - please make sure to search for a similar question. You " -#~ "can search questions by their title or tags." - -#~ msgid "What questions should I avoid asking?" -#~ msgstr "What kinds of questions should be avoided?" - -#~ msgid "" -#~ "is a Q&A site, not a discussion group. Therefore - please avoid having " -#~ "discussions in your answers, comment facility allows some space for brief " -#~ "discussions." -#~ msgstr "" -#~ "is a question and answer site - it is not a " -#~ "discussion group. Please avoid holding debates in your answers " -#~ "as they tend to dilute the essense of questions and answers. For the " -#~ "brief discussions please use commenting facility." - -#~ msgid "" -#~ "The reputation system allows users earn the authorization to perform a " -#~ "variety of moderation tasks." -#~ msgstr "" -#~ "Karma system allows users to earn rights to perform a variety of " -#~ "moderation tasks" - -#~ msgid "How does reputation system work?" -#~ msgstr "How does karma system work?" - -#~ msgid "Rep system summary" -#~ msgstr "" -#~ "When a question or answer is upvoted, the user who posted them will gain " -#~ "some points, which are called \"karma points\". These points serve as a " -#~ "rough measure of the community trust to him/her. Various moderation tasks " -#~ "are gradually assigned to the users based on those points." - -#~ msgid "use tags" -#~ msgstr "използвай тагове" - -#~ msgid "" -#~ "how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)" -#~ "s" -#~ msgstr "" -#~ "

    How? If you have just set or " -#~ "changed your email address - check your email and click the " -#~ "included link.
    The link contains a key generated specifically " -#~ "for you. You can also and check your " -#~ "email again.

    Why? Email " -#~ "validation is required to make sure that only you can post " -#~ "messages on your behalf and to minimize spam " -#~ "posts.
    With email you can subscribe for updates on " -#~ "the most interesting questions. Also, when you sign up for the first time " -#~ "- create a unique gravatar personal image.

    " - -#~ msgid "" -#~ "Please ask your question at %(ask_question_url)s, help make our community " -#~ "better!" -#~ msgstr "" -#~ "Please ask your question, help make " -#~ "our community better!" - -#~ msgid "give feedback" -#~ msgstr "остави отзив" - -#~ msgid "close date %(closed_at)s" -#~ msgstr "дата на затваряне %(closed_at)s" - -#~ msgid "question tips" -#~ msgstr "Съвети" - -#~ msgid "up to 5 tags, less than 20 characters each" -#~ msgstr "до 5 тага, с дължина до 20 символа всеки" - -#~ msgid "all tags - make this empty in english" -#~ msgstr "всички тагове" - -#~ msgid "Sorry, looks like we have some errors:" -#~ msgstr "Изглежда е станала грешка:" - -#~ msgid "Screen name label" -#~ msgstr "" -#~ "Публично име (ще бъде показано на останалите)" - -#~ msgid "Email address label" -#~ msgstr "" -#~ "Имейл адрес (няма да бъде споделяно с " -#~ "никой, трябва да бъде валиден)" - -#~ msgid "To make use of the Forum, please follow the link below:" -#~ msgstr "За да използвате Zapprotect Q&A, използвайте следния линк:" - -#~ msgid "" -#~ "Sincerely,
    \n" -#~ " Forum Administrator" -#~ msgstr "" -#~ "Sincerely,\n" -#~ "Q&A Forum Administrator" - -#~ msgid "Click to sign in through any of these services." -#~ msgstr "" -#~ "

    Please select your favorite login method " -#~ "below.

    External login services use OpenID technology, where your " -#~ "password always stays confidential between you and your login provider " -#~ "and you don't have to remember another one. CNPROG option requires your " -#~ "login name and password entered here.

    " - -#~ msgid "Traditional signup info" -#~ msgstr "" -#~ "If you prefer, create your forum login name and " -#~ "password here. However, please keep in mind that we also support " -#~ "OpenID login method. With OpenID you " -#~ "can simply reuse your external login (e.g. Gmail or AOL) without ever " -#~ "sharing your login details with anyone and having to remember yet another " -#~ "password." - -#~ msgid " add comment" -#~ msgstr "post a comment" - -#~ msgid "On question " -#~ msgstr "Tips" - -#~ msgid "" -#~ "\n" -#~ " %(comment_count)s new comment%" -#~ "(comment_count_pluralize)s\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "(one comment)" - -#~ msgid "" -#~ "\n" -#~ " Posted by %(author_name)s in %(question_time)s\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "
    %(q_num)s

    question

    " - -#~ msgid "avatar, see %(gravatar_faq_url)s" -#~ msgstr "gravatar" - -#~ msgid "casted votes" -#~ msgstr "votes" - -#~ msgid "Questions sorted by number of responses." -#~ msgstr "Questions sorted by the number of answers." - -#~ msgid "user reputation in the community" -#~ msgstr "user karma" - -#~ msgid "profile - user reputation" -#~ msgstr "Profile - User's Karma" - -#~ msgid "profile - subscriptions" -#~ msgstr "Profile - User's Karma" - -#~ msgid "email update message subject" -#~ msgstr "news from Q&A forum" - -#~ msgid "%(name)s, this is an update message header for a question" -#~ msgid_plural "" -#~ "%(name)s, this is an update message header for %(num)d questions" -#~ msgstr[0] "" -#~ "

    Dear %(name)s,

    The following question has been updated on the " -#~ "Q&A forum:

    " -#~ msgstr[1] "" -#~ "

    Dear %(name)s,

    The following %(num)d questions have been updated " -#~ "on the Q&A forum:

    " - -#~ msgid "" -#~ "go to %(link)s to change frequency of email updates or %(email)s " -#~ "administrator" -#~ msgstr "" -#~ "

    Please remember that you can always adjust " -#~ "frequency of the email updates or turn them off entirely.
    If you " -#~ "believe that this message was sent in an error, please email about it the " -#~ "forum administrator at %(email)s.

    Sincerely,

    Your friendly " -#~ "Q&A forum server.

    " - -#~ msgid "Account: change password" -#~ msgstr "Change your password" - -#~ msgid "list of unanswered questions" -#~ msgstr "unanswered questions" - -#~ msgid "Notify me once a day when there are any new answers" -#~ msgstr "" -#~ "Notify me once a day by email when there are any new " -#~ "answers or updates" - -#~ msgid "Notify me weekly when there are any new answers" -#~ msgstr "" -#~ "Notify me weekly when there are any new answers or " -#~ "updates" - -#~ msgid "" -#~ "\n" -#~ " You can always adjust frequency of email updates from " -#~ "your %(profile_url)s\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "(note: you can always adjust frequency of email updates)" - -#~ msgid "" -#~ "\n" -#~ " have total %(q_num)s questions containing %" -#~ "(searchtitle)s in full text\n" -#~ " " -#~ msgid_plural "" -#~ "\n" -#~ " have total %(q_num)s questions containing %" -#~ "(searchtitle)s in full text\n" -#~ " " -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question containing " -#~ "%(searchtitle)s

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions containing " -#~ "%(searchtitle)s

    " - -#~ msgid "Most recently answered ones are shown first." -#~ msgstr "Most recently answered questions are shown first." - -#~ msgid "change %(email)s info" -#~ msgstr "" -#~ "Enter your new email into the box below " -#~ "if you'd like to use another email for update subscriptions.
    Currently you are using %(email)s" - -#~ msgid "here is why email is required, see %(gravatar_faq_url)s" -#~ msgstr "" -#~ "Please enter your email address in the box below." -#~ " Valid email address is required on this Q&A forum. If you " -#~ "like, you can receive updates on interesting questions " -#~ "or entire forum via email. Also, your email is used to create a unique gravatar image for your " -#~ "account. Email addresses are never shown or otherwise shared with anybody " -#~ "else." - -#~ msgid "validate %(email)s info or go to %(change_email_url)s" -#~ msgstr "" -#~ "An email with a validation link has been sent " -#~ "to %(email)s. Please follow the emailed link with " -#~ "your web browser. Email validation is necessary to help insure the proper " -#~ "use of email on Q&A. If you would like " -#~ "to use another email, please change it again." - -#~ msgid "old %(email)s kept, if you like go to %(change_email_url)s" -#~ msgstr "" -#~ "Your email address %(email)s has not been " -#~ "changed. If you decide to change it later - you can always do it " -#~ "by editing it in your user profile or by using the previous form again." - -#~ msgid "your current %(email)s can be used for this" -#~ msgstr "" -#~ "Your email address is now set to %(email)s. Updates on the questions that you like most will be sent to this " -#~ "address. Email notifications are sent once a day or less frequently - " -#~ "only when there are any news." - -#~ msgid "thanks for verifying email" -#~ msgstr "" -#~ "Thank you for verifying your email! Now " -#~ "you can ask and answer questions. Also " -#~ "if you find a very interesting question you can subscribe for the " -#~ "updates - then will be notified about changes once a " -#~ "day or less frequently." - -#~ msgid "email key not sent" -#~ msgstr "Validation email not sent" - -#~ msgid "email key not sent %(email)s change email here %(change_link)s" -#~ msgstr "" -#~ "Your current email address %(email)s has been " -#~ "validated before so the new key was not sent. You can change email used for update subscriptions if " -#~ "necessary." - -#~ msgid "register new %(provider)s account info, see %(gravatar_faq_url)s" -#~ msgstr "" -#~ "

    You are here for the first time with your %" -#~ "(provider)s login. Please create your screen name " -#~ "and save your email address. Saved email address will " -#~ "let you subscribe for the updates on the most " -#~ "interesting questions and will be used to create and retrieve your unique " -#~ "avatar image - gravatar.

    " - -#~ msgid "" -#~ "%(username)s already exists, choose another name for \n" -#~ " %(provider)s. Email is required too, see %" -#~ "(gravatar_faq_url)s\n" -#~ " " -#~ msgstr "" -#~ "

    Oops... looks like screen name %(username)s " -#~ "is already used in another account.

    Please choose another " -#~ "screen name to use with your %(provider)s login. Also, a valid email " -#~ "address is required on the Q&A forum. " -#~ "Your email is used to create a unique gravatar image for your account. If you like, you " -#~ "can receive updates on the interesting questions or " -#~ "entire forum by email. Email addresses are never shown or otherwise " -#~ "shared with anybody else.

    " - -#~ msgid "" -#~ "register new external %(provider)s account info, see %(gravatar_faq_url)s" -#~ msgstr "" -#~ "

    You are here for the first time with your %" -#~ "(provider)s login.

    You can either keep your screen " -#~ "name the same as your %(provider)s login name or choose some " -#~ "other nickname.

    Also, please save a valid email " -#~ "address. With the email you can subscribe for the updates on the most interesting questions. Email address is also used to " -#~ "create and retrieve your unique avatar image - gravatar.

    " - -#~ msgid "register new Facebook connect account info, see %(gravatar_faq_url)s" -#~ msgstr "" -#~ "

    You are here for the first time with your " -#~ "Facebook login. Please create your screen name " -#~ "and save your email address. Saved email address will " -#~ "let you subscribe for the updates on the most " -#~ "interesting questions and will be used to create and retrieve your unique " -#~ "avatar image - gravatar.

    " - -#~ msgid "password recovery information" -#~ msgstr "" -#~ "Forgot you password? No problems - just get a " -#~ "new one!
    Please follow the following steps:
    • submit " -#~ "your user name below and check your email
    follow the " -#~ "activation link for the new password - sent to you by email and " -#~ "login with the suggested password
    • at this you might want to " -#~ "change your password to something you can remember better" - -#~ msgid "Reset password" -#~ msgstr "Send me a new password" - -#~ msgid "" -#~ "email explanation how to use new %(password)s for %(username)s\n" -#~ "with the %(key_link)s" -#~ msgstr "" -#~ "To change your password, please follow these steps:\n" -#~ "* visit this link: %(key_link)s\n" -#~ "* login with user name %(username)s and password %(password)s\n" -#~ "* go to your user profile and set the password to something you can " -#~ "remember" - -#~ msgid "" -#~ "\n" -#~ " Your answer to %(title)s %(summary)s will be posted once " -#~ "you log in\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "Your answer to \"%(title)s %(summary)s...\" is saved and will " -#~ "be posted once you log in." - -#~ msgid "" -#~ "Your question \n" -#~ " %(title)s %(summary)s will be posted once you log in\n" -#~ " " -#~ msgstr "" -#~ "Your question \"%(title)s %(summary)s...\" is saved and will " -#~ "be posted once you log in." - -#~ msgid "Enter your Provider user name" -#~ msgstr "" -#~ "Enter your Provider user name
    (or " -#~ "select another login method above)" - -#~ msgid "" -#~ "Enter your
    OpenID " -#~ "web address" -#~ msgstr "" -#~ "Enter your OpenID web address
    (or choose another login method above)" - -#~ msgid "subscription saved, %(email)s needs validation, see %(details_url)s" -#~ msgstr "" -#~ "Your subscription is saved, but email address %(email)s needs to be " -#~ "validated, please see more details here" - -#~ msgid "Incorrect username." -#~ msgstr "sorry, there is no such user name" - -#~ msgid "your email needs to be validated see %(details_url)s" -#~ msgstr "" -#~ "Your email needs to be validated. Please see details here." - -#~ msgid "Email verification subject line" -#~ msgstr "Verification Email from Q&A forum" - -#~ msgid "first time greeting with %(url)s" -#~ msgstr "Hello and welcome to OSQA - please join us!" - -#~ msgid "" -#~ "\n" -#~ "\t\t\t\thave total %(q_num)s questions\n" -#~ "\t\t\t\t" -#~ msgid_plural "" -#~ "\n" -#~ "\t\t\t\thave total %(q_num)s questions\n" -#~ "\t\t\t\t" -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions

    " diff --git a/forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index e69de29..0000000 diff --git a/forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index 1b2e4f7..0000000 --- a/forum/modules/template_loader.py/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,4428 +0,0 @@ -#: forum/const.py:8 -msgid "duplicate question" -msgstr "" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "" - -#: forum/const.py:73 -msgid "commented question" -msgstr "" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "" - -#: forum/const.py:75 -msgid "edited question" -msgstr "" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "" - -#: forum/const.py:77 -msgid "received award" -msgstr "" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "" - -#: forum/const.py:102 -msgid "initial version" -msgstr "" - -#: forum/const.py:103 -msgid "retagged" -msgstr "" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "" -"Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "" -"please use following characters in tags: letters 'a-z', numbers, and " -"characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, python-format -msgid "New answer to '%(question_title)s'" -msgstr "" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -msgid "like_comment/" -msgstr "" - -#: forum/urls.py:65 -msgid "comment/" -msgstr "" - -#: forum/urls.py:66 -msgid "delete_comment/" -msgstr "" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -msgid "reputation/" -msgstr "" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -msgid "Your account email" -msgstr "" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -msgid "edited a question" -msgstr "" - -#: forum/models/user.py:263 -msgid "commented a question" -msgstr "" - -#: forum/models/user.py:265 -msgid "commented an answer" -msgstr "" - -#: forum/models/user.py:267 -msgid "edited an answer" -msgstr "" - -#: forum/models/user.py:269 -msgid "received badge" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -msgid "Application description" -msgstr "" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -msgid "Site 'from' email address" -msgstr "" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -msgid "Change this:" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Minimum reputation config" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -msgid "Minimum reputation to vote down" -msgstr "" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -msgid "Minimum reputation to comment" -msgstr "" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -msgid "Minimum reputation to like a comment" -msgstr "" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to delete comments" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -msgid "Initial reputation" -msgstr "" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "" -"Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "" -"Reputation a user gains for having one of the downvotes on his posts " -"canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "" -"Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "" -"the page you tried to visit is protected or you don't have sufficient " -"points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %" -"(feedback_faq_url)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "" - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "" -"Most importantly - questions should be relevant to this " -"community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "" -"Before asking the question - please make sure to use search to see whether " -"your question has alredy been answered." -msgstr "" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "" - -#: forum/skins/default/templates/faq.html:22 -msgid "" -"Please avoid asking questions that are not relevant to this community, too " -"subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "" -"is a Q&A site, not a discussion group. Therefore - please avoid having " -"discussions in your answers, comment facility allows some space for brief " -"discussions." -msgstr "" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "" -"The reputation system allows users earn the authorization to perform a " -"variety of moderation tasks." -msgstr "" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "" - -#: forum/skins/default/templates/faq.html:42 -msgid "" -"For example, if you ask an interesting question or give a helpful answer, " -"your input will be upvoted. On the other hand if the answer is misleading - " -"it will be downvoted. Each vote in favor will generate 10 " -"points, each vote against will subtract 2 points. There is " -"a limit of 200 points that can be accumulated per question " -"or answer. The table below explains reputation point requirements for each " -"type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "" -"how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "" -"No, you don't have to. You can login through any service that supports " -"OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "" -"So questions and answers can be edited like wiki pages by experienced users " -"of this site and this improves the overall quality of the knowledge base " -"content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "" -"Please ask your question at %(ask_question_url)s, help make our community " -"better!" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -msgid "welcome to " -msgstr "" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Create password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having trouble signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -msgid "Send link" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -msgid "Edit comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:30 -msgid "Delete comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -msgid "add new comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:55 -msgid " add comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)" -"s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -msgid "just now" -msgstr "" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %" -"(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %" -"(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -msgid "On question " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)" -"s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -msgid "an answer was accepted" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the " -"question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %" -"(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %" -"(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %" -"(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, " -"with title\n" -" %(question_title)s and " -"tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button bellow to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button bellow to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons bellow " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to " -"receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them " -"clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -msgid "A new question is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -msgid "Questions I ask" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:60 -msgid "Questions I answer" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:63 -msgid "Questions I comment" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:68 -msgid "Questions I view" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -msgid "An answer is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "" -"Notify me when someone replys to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -msgid "Newest questions are shown first. " -msgstr "" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -msgid "New password set" -msgstr "" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s." -"
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the
    faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -msgid "like comments" -msgstr "" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -msgid "delete comments" -msgstr "" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -msgid "comment" -msgstr "" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -msgid "edit comments" -msgstr "" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -msgid "accept answers" -msgstr "" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -msgid "subscription settings" -msgstr "" - -#: forum/views/users.py:220 -msgid "profile - subscriptions" -msgstr "" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, python-format -msgid "Answer voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -msgid "Nice Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -msgid "Good Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -msgid "Great Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" diff --git a/forum/modules/template_loader.py/locale/en/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 42da2871a14b3ca7dd59997639e76db159a58394..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13334 zcma)?TZ|;vS;r4JamWV8NoA=y8Co@ zd8(`0Rn^mJi`#>dki{i}@Z>}w;Rle6zz;ka5yT4!q2z@;z(a&0fx-hQZxI41!0-Fc zIn_NE1FPBjrm9Yz%Xj&IxBADAz3+Dn|6bz%C;9)KAC;@czpuUDnESZ=Iy8g61N|uU zQ+FFvLN}nl1^s>KI`rHJjQI$30NsYppr@ekLLY;E2P*U3`(wu31APc;p=Y2nZU=e- zIt|Z%8G4KB-w4;=g?^6f?}zKv4;u61T%Ut}40;hN`+EV}gN~rjK)(t73Fv)HF7rRi zuZN-MpiE`H816ghhq#_V1KUBs)0(}5_ z4*Fr}Rp=`83((I%Ux)rQ^pBw*hkgqx^Zhea=J_G?A?UqK{v7ly^rxV|1pPYnO(;L+ zb1+fvKLceerVITA=ol*N{%fHB2|da62e~QhJPMWPPxDLma~mqpe-SGC|2?S8|0hs> z%s2S;AoQEz`g>5OG(UjKe(&NXp$|Ys4l7WR=O&aP=I5ZYzbrhTL1p|KP=3tU_$BMT z4VC@93%wuuchC#ae}P))3PKP$Jj<_h(3hby{wvVa&_9IA`rn5B?2j1pJt#kBo15Q- z?m%VTvnXK=y##%WaeoH=HRv6LCj0m|gz^UTKcFmaUPpO^eib@^z6F(eKg8m~|4%|? zzfVBroY$Z-{w3%ap(E(~pnnB@68g7L;osdbRqo#py^r-Dgr4WR^^;!j_n^n+fY>7`~_6*{|!{;`!;mO_%i&AVN4YMbUx2;|#iY%@ zLxpcYgo-_U!{uIj8=KUDKT|ECZRQSA#&~mOHhsyO^9O@d^??7eU|7Np7?_NVz(0ib}(A!Ws z=N~}7!uUUeiXC;@o)6DM<@uMOK#p-xc|L~9d0!9D-w5?5gA~)NWO>F6gX;r(@_3gA`#Jrf=UXt6a7^b zB^)f{M04A9F1LxE-Syk%DVG&9n^wA7#<}Gf$$pY%NjG!0oAif{ck{l@r{gXYpRoLs zqo!jXxI~toPdM?w57xE(BD19IvxdE#a`tIu2hR1oNpH_4wS9OsUfmfauilxK+3BjS zbDN7<${0CMI?OFBuSaDu9gf(=JTO_0UGAqnSGCQ>VmzMaY0cSmw@WvMtX!!86WI(~ zKrkx2$n$C~FvA~mzo`9`dG30(AL`}o1z(R~l}MOH-eZVPAB1cR*?oNF(ipbdq~9-H zRaqG9GV=_&(6`;Wt&?G8o<$b@f-RSBGOZKQNn6cP#<86h<=zEzRdjG&7&Dy+izWpU zJ8&QwBHEZ2GjlB|_xi<*J*1P$-1G{Bb{%}fi-X&DB2&CL*6he-6R&Wh@4W?|U5$O5 zG`E7?_|3;F7*v!s*2Af`s=6%lVJ9dLO2XMEMP9jTYdt(`n;qA~POO&^S6L#jD@S(R zByymdj>kzkH@ADG=y0BlU0~uaHhh$0Nrq}yYQv(arHBIKn%1MDOkeZN6&AV@tr%nY z`$?HP)QDY)R_>Ws&v+I9xCZ%Zk<;ju|=U z&Du*l{H?knDi9|`B>^PPEw+K~2lY38{2dh6P2hgK7NH{>xv`(rNx7yd^YH4h^w$gP zHC-hAT7V4OcU7-UCyJ`Q1P$(6wJp;d6$R#-s9Z#b@lIr)=@rFZ>QHTPV9rD}R#O>- zj#k)USSH*S14Dq7@>3WI=Bm}`+o`LT2Ua5l46yb&NMp`r-%gUUmZ3wJBlOGyY?ZJ# z>53su%5*>J&CRet3W_iX4hJJ9BT*Uk6$>pikwX@I^D-V`-C;I=Iu=ze>N@Kcsc&Qq z!r4!q${D5V%Juqp8f z8a1d6RN!%q6$aewX4A53!VnNqTsxQ1V=nz^0qwfLXDps#d1+o(+|jV5L7mb`Fy+Ny zsx;dNkB?gWG>^M(0JSpHNmhXBAWJ$1H`GmJ>6j=1C#FGKiQka8v2$+29^J|zF*Xr6?<-dx)B*GZIp!t~Ak| z`NN?PMLr)F(@OM^@C3gZ!e1F#22cutjJa7BudrO}O2732P>j)R+MC-KpWD8C$-Z!D z=k}Ew*H7#?(fZc4YMAz0PfdqaYq!|6CvM)@ZCw;#=cU%uSo@}ZY~##EYvZ%6$DXif z&TT$^mcKVP7}(lza*jje9&erbtUdGi=Gn6+u7VjY+-qJDJ{0Aq-H|YIry$hYD*5yC z{nv`zwc%=qvH5U{s9L)&8E@LF+t)8YFWcR^diC>J+Ahjr=ft%u*Dfs%bf&#=f{?Gq z7q)hZcQ-kC_^j~31MXSU&)_A9l_T%ldC(KO=?_L&`Z)?QvV`I^@7+CpeuZg8lGr|E7QzH~{ zUxTt3Yv2P$PRDDu%RL<=kgpN82)`H%{79AW4b5yKYLxA*^+{)I(z!CwS!ZeG(+vsF zjyOhxN_!UAD#2Im86}Bg^ z7O|%-EL2AuhQ$Y!2Hqo=k_L)bl(bE-kDOv!mOgb08BjkRAW0uQNwlsnWp3YPn~f|a zLTDth*4*}B(mYU$isJJz)8g5xpLpz&94X_Yi8XyF)y14On;_Iphoky*+g|Yz?OWUr)Ji)CjTz={B~l;jmi6kjXAQcZ{8W$gp=9uO~4f(UUoN+q!zNvIe$ zKbBLIzIwcu+!dAFB8a(d7ZL!*VQx0 zeAE=+o(jtECpdU<<$9kiGG7Vd5d3aZ5Re@W6Fqiqd-3|sog0_&c^Wa7?$v2ZcD6jN z=2$XivpdNJq%tBKhik$p<(hd)a&N1eRT+;I3k&qgwf8PwsYgf?ypWurzvh?ZtaX`! zPk_8Ai6+js9!bWNC$|M-LXsaf9RFVo^Yk?~qkfHZEoX3EYue_zoB4>vC(TE$qb2&} zeA_4I3zc5oN;|q@90vmzPtit6D&iKfIT*WUH5BEUhLKzAY3H=rP0;jy14&D%{$4`P z5_8<;EdO?s<%=7LdHwa}yuOS3?lqZx)I)6cXg0sn;hrj>s!fEz|2xTN=T(#GqnAE< z^%&Sd$RfWFLT-4}WcOYm!ib6#7d1{AZV2xB_aw@hPJ&j5L^U>=jeGvl-0QUxGoUB*2mf`SKE=t93PiOIBWJTwO|P zfkuwf@j8m%wl9!K5*{5X6X@aqMt{l%h@Hr#hPmuowAmj9pF@nAm-XkGDpTj}f; zAyf4x8)1Qs3Vg;IC5b|&4&P&Zmr&SSGtfRhZej~`uf+Ibg5Plz8bZde>Z-v@z}};v zq+nzzp5c$nu$Q&CnLS4d2~`>6mDmOTX@=Od3NPeyu||m_PzOOA@DpwOq6F|!NQZ|C zBukB$&|`w&eKMgtCrVs)9ILK9q#~+WJzBqg{^erT!(7JBmpVmt=g=ZnUR(#WE4X;ljGm2d{{c+uA(qChl) zWp?v)vy_H60tNvny-LdNB{=HaRkVVff0RrrvU$qxgz56+^hs+1FAvq|;zrF9{>Myl zQNCE|#Czfdf`?XNNexh9FQ7;YVZ9VnCOMSgQj^Kxc-2dL=tWD8dSAw>jBAixd`ArsL9=BvP?>0A-p9$$70}KCzCQD*i z5z%Pr5L_0(W|uCPE(V2{P?{p#o=Kq<<5#8eup)*ljyHA(+Qz$Hb4}~E8pyA^ zAk<1GdqO!#1SzwGN+by2gSJ7cU6cd)xd!cI9HF4Xu01!@spX0RalUGbKU;oT5I~SZ znpCR9i}X&wo@j^oL--;Jre#h&CZZ8FlDL$uVd~U_1G7B`f;ZUw$gP=q6D z5sIdBaqiWG2wM=#yPH@x;zigB91<^xKJ}!t#lsx^l1xkX$e0-4={_W-;g3+l)g3Zq zBDL6vfm+j)7yZUzBI<#SD!zoZrKLkqC{Q0;Q_D=`<)%W?HkTJ=T^bv|ms>DI&9#r0eUSyg|`K%m1Rvy63~DC($pvI#5;C zFb351y%e5lDSiPdk}gu^2+xPjgRJOk91@?1Z}f94V(0km@SH8bJz5MXnsfvy{`>lt zgf&GkmD;S2y!9NuP#tPQ2(n&5bG$c9>?G}l92J=er%*^7W5Wb#V>R|ab6x4Mi7;ez zaMBUIgvWJ(0NeH{=?)B%X;%Bn7(wJ@qE1Vry6V-bfQtkpai_%D2xgGcpJ{0>I!K4) z&Wi#;4sJHJagw)Xt?1rH#eS~h~iSg+IVtBy+x5rY2dhC1UxvJ zmk$MWLu&qPF}nauG++!RB`w_LYQ2v>$*KCU7fX>xXxHx()$#r}cj*Pn;A1Qk* zv-ic(ykW0TY8TxMNv}elubQ@0r4w6=jMeS}2iAZ}Tg;&)wiNqtaOHg0jgpK{1|+yH zni&YTDZef9%_EUAd#eDTRemJ8d~yQFi$@$S!h4Lhj+!VA8p(azT--6c-^jrb?hH8TZH5nmz^`5y0`VDViJJ z(jALh9u9B&)WWof0vqJ~nu^6QFC-*UG+30ln#j1K1sTEyj_d2lz?yHXs@NqvM!P4| zE+5>C7@Q1HW8D<1pww-9b@@9F`~V-iXj_R4kpNEID(mYY3f6l_(sz2!Zm<%V)~EZ5 z1!~n$v|m0J@xvqy7Lj6E8FRKx=%CVt=(z*D4>`Y2&94$z^T~>oZ(wqWA6GQ(VM21P;gd+x3-F(-=w~RLNYl0s{jrU;jSc-DK1Pe5M<9F& z0owM4loZbRAwH;*kjQVP6|y7R?b2CZw!4+(q&^^s^pUXzpO%aD$gWkxJOVTp7TZKT zMYnk+*nCVm8kVDj{?#?BzCStu!3iuMKNkg<^GonK)|YICh(u8 zdCqrfvQPh1m#*aFqGqG@jI=1a6--ZR6>+o2<@?L?1Jg7(C5n)*skHtUni6uvt|S_9 zodbA!(nt_^Ow(Q+pH@hX^r{%MZ%AQoxG4NJ!B;i#W#GYKb50m>~xK8u(&q@mrS**7L2 zZa1HE1RN33nBP;-T!Fa;d3<1wQmC_?`BF8OAkhPjX4cXUtD++3L#5;Qo%j#=h9P`3 zWPB2*znjkz{JmHfvGf{NgL?VT6DS*{9n;`eGLRl?=~~f3R87@0X>fy@9kOj0;ghMh zxuGemocF-j4Ncoe{DellBt~v6v-pa_&`v06gz2Xxi|;6!O?h_l*@RKvdVc8#a)=}5SQpHpvO%NV`>C7Z z3bhC*6{7cyUeJ&(RZ|tKH$yoB)jx$=4$gOdoJ9gs?V##z09myhH=lIov(Z2 z*Rn)QVGmS%HP!HC83|m6G$Z}@6?_sxm4t25K9gEWu)4Opq4Ok1V>OdK`f8X!r!1mIuWA(tANEPQemI?qkB9_YQY7 z;R~PlX=)TrC, YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: 2010-05-14 15:33\n" -"Last-Translator: Rick Ross \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Translated-Using: django-rosetta 0.5.3\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "" - -#: forum/const.py:73 -msgid "commented question" -msgstr "" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "" - -#: forum/const.py:75 -msgid "edited question" -msgstr "" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "" - -#: forum/const.py:77 -msgid "received award" -msgstr "received badge" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "answer" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "question comment" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "answer comment" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "answer accepted" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "" - -#: forum/const.py:102 -msgid "initial version" -msgstr "" - -#: forum/const.py:103 -msgid "retagged" -msgstr "" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "please use following characters in tags: letters 'a-z', numbers, and characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "if you choose community wiki option, the question and answer do not generate points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "enter a brief summary of your revision (e.g. fixed spelling, grammar, improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, fuzzy, python-format -msgid "New answer to '%(question_title)s'" -msgstr "Post Your Answer" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -#, fuzzy -msgid "like_comment/" -msgstr "answer comment" - -#: forum/urls.py:65 -#, fuzzy -msgid "comment/" -msgstr "post a comment" - -#: forum/urls.py:66 -#, fuzzy -msgid "delete_comment/" -msgstr "post a comment" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -#, fuzzy -msgid "reputation/" -msgstr "karma" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -#, fuzzy -msgid "Your account email" -msgstr "Your new Email: (will not be shown to anyone, must be valid)" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "Old password is incorrect. Please enter the correct password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -#, fuzzy -msgid "edited a question" -msgstr "Post Your Answer" - -#: forum/models/user.py:263 -#, fuzzy -msgid "commented a question" -msgstr "list of all questions" - -#: forum/models/user.py:265 -#, fuzzy -msgid "commented an answer" -msgstr "oldest" - -#: forum/models/user.py:267 -#, fuzzy -msgid "edited an answer" -msgstr "oldest" - -#: forum/models/user.py:269 -#, fuzzy -msgid "received badge" -msgstr "received badge" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -#, fuzzy -msgid "Your site main logo." -msgstr "Your new Email: (will not be shown to anyone, must be valid)" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -#, fuzzy -msgid "Application description" -msgstr "Gold badge is the highest award in this community. To obtain it have to show profound knowledge and ability in addition to your active participation." - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "The port on which your SMTP server is listening to. Usually this is 25, but can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -#, fuzzy -msgid "Site 'from' email address" -msgstr "Your email (never shared)" - -#: forum/settings/email.py:35 -msgid "The address that will show up on the 'from' field on emails sent by your website." -msgstr "" - -#: forum/settings/email.py:39 -#, fuzzy -msgid "Email subject prefix" -msgstr "Welcome to the Q&A forum" - -#: forum/settings/email.py:40 -msgid "Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -#, fuzzy -msgid "Change this:" -msgstr "Change Email" - -#: forum/settings/minrep.py:4 -#, fuzzy -msgid "Minimum reputation config" -msgstr "karma" - -#: forum/settings/minrep.py:4 -msgid "Configure the minimum reputation required to perform certain actions on your site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -#, fuzzy -msgid "Minimum reputation to vote down" -msgstr "user karma" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -#, fuzzy -msgid "Minimum reputation to comment" -msgstr "user karma" - -#: forum/settings/minrep.py:20 -msgid "The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -#, fuzzy -msgid "Minimum reputation to like a comment" -msgstr "user karma" - -#: forum/settings/minrep.py:24 -msgid "The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "The minimum reputation an user must have to be allowed to close his own question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "The minimum reputation an user must have to be allowed to reopen his own question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "The minimum reputation an user must have to be allowed to retag others questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "The minimum reputation an user must have to be allowed to edit community wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -#, fuzzy -msgid "Minimum reputation to delete comments" -msgstr "user karma" - -#: forum/settings/minrep.py:56 -msgid "The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -#, fuzzy -msgid "Initial reputation" -msgstr "karma" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "Reputation a user gains for having one of the downvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "The filesystem path where uploaded files will be stored. Please note that this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "The url alias for uploaded files. Notice that if you change this setting, you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "the page you tried to visit is protected or you don't have sufficient points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "Tips" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "Markdown basics" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "You are welcome to start submitting your question anonymously. When you submit the post, you will be redirected to the login/signup page. Your question will be saved in the current session and will be published after you log in. Login/signup process is very simple. Login takes about 30 seconds, initial signup takes a minute or less." - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "Looks like your email address, %(email)s has not yet been validated. To post messages you must verify your email, please see more details here.
    You can submit your question now and validate email after that. Your question will saved as pending meanwhile. " - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "Login/Signup to Post" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "Ask Your Question" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "If your questions and answers are highly voted, your contribution to this Q&A community will be recognized with the variety of badges." - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %(feedback_faq_url)s.\n" -" " -msgstr "Currently badges differ only by their level: gold, silver and bronze (their meanings are described on the right). In the future there will be many types of badges at each level. Please give us your feedback - what kinds of badges would you like to see and suggest the activity for which those badges might be awarded." - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "Badge levels" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "Gold badge is the highest award in this community. To obtain it have to show profound knowledge and ability in addition to your active participation." - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "Obtaining silver badge requires significant patience. If you have received one, that means you have greatly contributed to this community." - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "If you are an active participant in this community, you will be recognized with this badge." - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "Most importantly - questions should be relevant to this community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "Before asking the question - please make sure to use search to see whether your question has alredy been answered." -msgstr "Before you ask - please make sure to search for a similar question. You can search questions by their title or tags." - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "What kinds of questions should be avoided?" - -#: forum/skins/default/templates/faq.html:22 -msgid "Please avoid asking questions that are not relevant to this community, too subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "is a Q&A site, not a discussion group. Therefore - please avoid having discussions in your answers, comment facility allows some space for brief discussions." -msgstr "is a question and answer site - it is not a discussion group. Please avoid holding debates in your answers as they tend to dilute the essense of questions and answers. For the brief discussions please use commenting facility." - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "The reputation system allows users earn the authorization to perform a variety of moderation tasks." -msgstr "Karma system allows users to earn rights to perform a variety of moderation tasks" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "How does karma system work?" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "When a question or answer is upvoted, the user who posted them will gain some points, which are called \"karma points\". These points serve as a rough measure of the community trust to him/her. Various moderation tasks are gradually assigned to the users based on those points." - -#: forum/skins/default/templates/faq.html:42 -msgid "For example, if you ask an interesting question or give a helpful answer, your input will be upvoted. On the other hand if the answer is misleading - it will be downvoted. Each vote in favor will generate 10 points, each vote against will subtract 2 points. There is a limit of 200 points that can be accumulated per question or answer. The table below explains reputation point requirements for each type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "How to validate email and why?" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "

    How? If you have just set or changed your email address - check your email and click the included link.
    The link contains a key generated specifically for you. You can also and check your email again.

    Why? Email validation is required to make sure that only you can post messages on your behalf and to minimize spam posts.
    With email you can subscribe for updates on the most interesting questions. Also, when you sign up for the first time - create a unique gravatar personal image.

    " - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "What is gravatar?" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "Gravatar means globally recognized avatar - your unique avatar image associated with your email address. It's simply a picture that shows next to your posts on the websites that support gravatar protocol. By default gravar appears as a square filled with a snowflake-like figure. You can set your image at gravatar.com" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "No, you don't have to. You can login through any service that supports OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "So questions and answers can be edited like wiki pages by experienced users of this site and this improves the overall quality of the knowledge base content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "Please ask your question at %(ask_question_url)s, help make our community better!" -msgstr "Please ask your question, help make our community better!" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "privacy" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "unanswered" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -#, fuzzy -msgid "welcome to " -msgstr "Welcome to Q&A forum" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "As a registered user you can login with your OpenID, log out of the site or permanently remove your account." -msgstr "Clicking Logout will log you out from the forum, but will not sign you off from your OpenID provider.

    If you wish to sign off completely - please make sure to log out from your OpenID provider as well." - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "Logout Now" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "Respecting users privacy is an important core principle of this Q&A forum. Information on this page details how this forum protects your privacy, and what type of information is collected." - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "Information on question views, revisions of questions and answers - both times and content are recorded for each user in order to correctly count number of views, maintain data integrity and report relevant updates." - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "Members of this community may choose to display personally identifiable information in their profiles. Forum will never display such information without a request from the user." - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "None of the data that is not openly shown on the forum by the choice of the user is shared with any third party." - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "Forum software relies on the internet cookie technology to keep track of user sessions. Cookies must be enabled in your browser so that forum can work for you." - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "These policies may be adjusted to improve protection of user's privacy. Whenever such changes occur, users will be notified via the internal messaging system. " - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "oldest" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "newest" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "most voted" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "You are welcome to answer your own question, but please make sure to give an answer. Remember that you can always revise your original question. Please use comments for discussions and please don't forget to vote :) for the answers that you liked (or perhaps did not like)! " - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "Post Your Answer" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "Tags" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "Asked" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "Seen" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "Last updated" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "Tips" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, fuzzy, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "provide enough details" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -#, fuzzy -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "Here (once you log in) you will be able to sign up for the periodic email updates about this question." - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "These are the external authentication providers currently associated with your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "You currently have no external authentication provider associated with your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "To change your password please fill out and submit this form" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "You can set up a password for your account, so you can login using standard username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -#, fuzzy -msgid "Create password" -msgstr "Password (please retype)" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "New user signup" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "New user signup" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "Screen Name (will be shown to others)" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "Email Address (will not be shared with anyone, must be valid)" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "Receive forum updates by email - this will help our community grow and become more useful.
    By default Q&A forum sends up to one email digest per week - only when there is anything new.
    If you like, please adjust this now or any time later from your user account." - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "Signup" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -#, fuzzy -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" -"Sincerely,\n" -"Q&A Forum Administrator" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "User login" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "

    Please select your favorite login method below.

    External login services use OpenID technology, where your password always stays confidential between you and your login provider and you don't have to remember another one. CNPROG option requires your login name and password entered here.

    " - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "With the OpenID you don't need to create new username and password." - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "You can safely re-use the same login for all OpenID-enabled websites." - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "There are > 160,000,000 OpenID account in use. Over 10,000 sites are OpenID-enabled." - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "OpenID is based on an open standard, supported by many organizations." - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "If you prefer, create your forum login name and password here. However, please keep in mind that we also support OpenID login method. With OpenID you can simply reuse your external login (e.g. Gmail or AOL) without ever sharing your login details with anyone and having to remember yet another password." - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot your password,\n" -" here you can request a temporary login key. Fill out your account email and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -#, fuzzy -msgid "Send link" -msgstr "link" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -#, fuzzy -msgid "Edit comment" -msgstr "post a comment" - -#: forum/skins/default/templates/node/comments.html:30 -#, fuzzy -msgid "Delete comment" -msgstr "post a comment" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -#, fuzzy -msgid "add new comment" -msgstr "post a comment" - -#: forum/skins/default/templates/node/comments.html:55 -#, fuzzy -msgid " add comment" -msgstr "post a comment" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -#, fuzzy -msgid "just now" -msgstr "Logout Now" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -#, fuzzy -msgid "On question " -msgstr "Tips" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, fuzzy, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, fuzzy, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)s\n" -" " -msgstr "" -"\n" -"(one comment)" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -#, fuzzy -msgid "an answer was accepted" -msgstr "answer accepted" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, fuzzy, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" -"\n" -"
    %(q_num)s

    question

    " - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, fuzzy, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" -"\n" -"
    %(q_num)s

    question tagged

    %(tagname)s

    " - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, with title\n" -" %(question_title)s and tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "Your site is running in bootstrap mode, click the button bellow to revert to defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "Your site is running in standard mode, click the button bellow to run in bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "Your site is running with some customized settings, click the buttons bellow to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "Tags" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "Tagged questions" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "Recent badges" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "all badges" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "tags" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "gravatar" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "karma" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "member since" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "years old" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -#, fuzzy -msgid "Notifications and subscription settings" -msgstr "Adjust frequency of email updates. Receive updates on interesting questions by email,
    help the community
    by answering questions of your colleagues. If you do not wish to receive emails - select 'no email' on all items below.
    Updates are only sent when there is any new activity on selected items." - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -#, fuzzy -msgid "A new question is posted" -msgstr "Tips" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -#, fuzzy -msgid "Questions I ask" -msgstr "Tags" - -#: forum/skins/default/templates/users/subscriptions.html:60 -#, fuzzy -msgid "Questions I answer" -msgstr "answer" - -#: forum/skins/default/templates/users/subscriptions.html:63 -#, fuzzy -msgid "Questions I comment" -msgstr "question comment" - -#: forum/skins/default/templates/users/subscriptions.html:68 -#, fuzzy -msgid "Questions I view" -msgstr "Tags" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -#, fuzzy -msgid "An answer is posted" -msgstr "Tips" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -#, fuzzy -msgid "An answer is accepted" -msgstr "answer accepted" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "Notify me when someone replys to one of my comments on any post using the
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "Graph of user karma" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "karma history" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "votes" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "karma" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "link" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -#, fuzzy -msgid "Newest questions are shown first. " -msgstr " " - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "Questions sorted by the number of answers." - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "Choose screen name" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "Your email (never shared)" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "Password" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "Password (please retype)" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "Sorry, these login credentials belong to anoother user. Plese terminate your current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "You are logged in with a temporary access key, please take the time to fix your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -#, fuzzy -msgid "New password set" -msgstr "Recover password" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -#, fuzzy -msgid "like comments" -msgstr "post a comment" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -#, fuzzy -msgid "delete comments" -msgstr "post a comment" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -#, fuzzy -msgid "comment" -msgstr "post a comment" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -#, fuzzy -msgid "edit comments" -msgstr "post a comment" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -#, fuzzy -msgid "accept answers" -msgstr "oldest" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "user karma" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "Profile - User's Karma" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -#, fuzzy -msgid "subscription settings" -msgstr "Adjust frequency of email updates. Receive updates on interesting questions by email,
    help the community
    by answering questions of your colleagues. If you do not wish to receive emails - select 'no email' on all items below.
    Updates are only sent when there is any new activity on selected items." - -#: forum/views/users.py:220 -#, fuzzy -msgid "profile - subscriptions" -msgstr "Profile - User's Karma" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -#, fuzzy -msgid "New subscription settings are now saved" -msgstr "Adjust frequency of email updates. Receive updates on interesting questions by email,
    help the community
    by answering questions of your colleagues. If you do not wish to receive emails - select 'no email' on all items below.
    Updates are only sent when there is any new activity on selected items." - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "sorry, file uploading requires karma >60" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, fuzzy, python-format -msgid "Answer voted up %s times" -msgstr "Post Your Answer" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, fuzzy, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "You are welcome to answer your own question, but please make sure to give an answer. Remember that you can always revise your original question. Please use comments for discussions and please don't forget to vote :) for the answers that you liked (or perhaps did not like)! " - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "Answered a question more than %(dif_days)s days later with at least %(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -#, fuzzy -msgid "Nice Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -#, fuzzy -msgid "Good Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -#, fuzzy -msgid "Great Question up votes" -msgstr "Tags" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "The authentication with Facebook connect failed, cannot find authentication tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" - -#~ msgid "email update message subject" -#~ msgstr "news from Q&A forum" - -#~ msgid "%(name)s, this is an update message header for a question" -#~ msgid_plural "%(name)s, this is an update message header for %(num)d questions" -#~ msgstr[0] "

    Dear %(name)s,

    The following question has been updated on the Q&A forum:

    " -#~ msgstr[1] "

    Dear %(name)s,

    The following %(num)d questions have been updated on the Q&A forum:

    " - -#~ msgid "go to %(link)s to change frequency of email updates or %(email)s administrator" -#~ msgstr "

    Please remember that you can always adjust frequency of the email updates or turn them off entirely.
    If you believe that this message was sent in an error, please email about it the forum administrator at %(email)s.

    Sincerely,

    Your friendly Q&A forum server.

    " - -#~ msgid "Account: change password" -#~ msgstr "Change your password" - -#~ msgid "list of unanswered questions" -#~ msgstr "unanswered questions" - -#~ msgid "Notify me once a day when there are any new answers" -#~ msgstr "Notify me once a day by email when there are any new answers or updates" - -#~ msgid "Notify me weekly when there are any new answers" -#~ msgstr "Notify me weekly when there are any new answers or updates" - -#~ msgid "" -#~ "\n" -#~ " You can always adjust frequency of email updates from your %(profile_url)s\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "(note: you can always adjust frequency of email updates)" - -#~ msgid "please ask a relevant question" -#~ msgstr "ask a question relevant to the CNPROG community" - -#~ msgid "" -#~ "\n" -#~ " have total %(q_num)s questions containing %(searchtitle)s in full text\n" -#~ " " -#~ msgid_plural "" -#~ "\n" -#~ " have total %(q_num)s questions containing %(searchtitle)s in full text\n" -#~ " " -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question containing %(searchtitle)s

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions containing %(searchtitle)s

    " - -#~ msgid "" -#~ "\n" -#~ " have total %(q_num)s questions containing %(searchtitle)s\n" -#~ " " -#~ msgid_plural "" -#~ "\n" -#~ " have total %(q_num)s questions containing %(searchtitle)s\n" -#~ " " -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question with title containing %(searchtitle)s

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions with title containing %(searchtitle)s

    " - -#~ msgid "" -#~ "\n" -#~ " have total %(q_num)s unanswered questions\n" -#~ " " -#~ msgid_plural "" -#~ "\n" -#~ " have total %(q_num)s unanswered questions\n" -#~ " " -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question without an accepted answer

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions without an accepted answer

    " - -#~ msgid "latest questions info" -#~ msgstr "Newest questions are shown first." - -#~ msgid "Most recently answered ones are shown first." -#~ msgstr "Most recently answered questions are shown first." - -#~ msgid "Stop sending email" -#~ msgstr "Stop Email" - -#~ msgid "change %(email)s info" -#~ msgstr "Enter your new email into the box below if you'd like to use another email for update subscriptions.
    Currently you are using %(email)s" - -#~ msgid "here is why email is required, see %(gravatar_faq_url)s" -#~ msgstr "Please enter your email address in the box below. Valid email address is required on this Q&A forum. If you like, you can receive updates on interesting questions or entire forum via email. Also, your email is used to create a unique gravatar image for your account. Email addresses are never shown or otherwise shared with anybody else." - -#~ msgid "Your Email" -#~ msgstr "Your Email (must be valid, never shown to others)" - -#~ msgid "validate %(email)s info or go to %(change_email_url)s" -#~ msgstr "An email with a validation link has been sent to %(email)s. Please follow the emailed link with your web browser. Email validation is necessary to help insure the proper use of email on Q&A. If you would like to use another email, please change it again." - -#~ msgid "old %(email)s kept, if you like go to %(change_email_url)s" -#~ msgstr "Your email address %(email)s has not been changed. If you decide to change it later - you can always do it by editing it in your user profile or by using the previous form again." - -#~ msgid "your current %(email)s can be used for this" -#~ msgstr "Your email address is now set to %(email)s. Updates on the questions that you like most will be sent to this address. Email notifications are sent once a day or less frequently - only when there are any news." - -#~ msgid "thanks for verifying email" -#~ msgstr "Thank you for verifying your email! Now you can ask and answer questions. Also if you find a very interesting question you can subscribe for the updates - then will be notified about changes once a day or less frequently." - -#~ msgid "email key not sent" -#~ msgstr "Validation email not sent" - -#~ msgid "email key not sent %(email)s change email here %(change_link)s" -#~ msgstr "Your current email address %(email)s has been validated before so the new key was not sent. You can change email used for update subscriptions if necessary." - -#~ msgid "register new %(provider)s account info, see %(gravatar_faq_url)s" -#~ msgstr "

    You are here for the first time with your %(provider)s login. Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image - gravatar.

    " - -#~ msgid "" -#~ "%(username)s already exists, choose another name for \n" -#~ " %(provider)s. Email is required too, see %(gravatar_faq_url)s\n" -#~ " " -#~ msgstr "

    Oops... looks like screen name %(username)s is already used in another account.

    Please choose another screen name to use with your %(provider)s login. Also, a valid email address is required on the Q&A forum. Your email is used to create a unique gravatar image for your account. If you like, you can receive updates on the interesting questions or entire forum by email. Email addresses are never shown or otherwise shared with anybody else.

    " - -#~ msgid "register new external %(provider)s account info, see %(gravatar_faq_url)s" -#~ msgstr "

    You are here for the first time with your %(provider)s login.

    You can either keep your screen name the same as your %(provider)s login name or choose some other nickname.

    Also, please save a valid email address. With the email you can subscribe for the updates on the most interesting questions. Email address is also used to create and retrieve your unique avatar image - gravatar.

    " - -#~ msgid "register new Facebook connect account info, see %(gravatar_faq_url)s" -#~ msgstr "

    You are here for the first time with your Facebook login. Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image - gravatar.

    " - -#~ msgid "password recovery information" -#~ msgstr "Forgot you password? No problems - just get a new one!
    Please follow the following steps:
    • submit your user name below and check your email
    follow the activation link for the new password - sent to you by email and login with the suggested password
    • at this you might want to change your password to something you can remember better" - -#~ msgid "Reset password" -#~ msgstr "Send me a new password" - -#~ msgid "" -#~ "email explanation how to use new %(password)s for %(username)s\n" -#~ "with the %(key_link)s" -#~ msgstr "" -#~ "To change your password, please follow these steps:\n" -#~ "* visit this link: %(key_link)s\n" -#~ "* login with user name %(username)s and password %(password)s\n" -#~ "* go to your user profile and set the password to something you can remember" - -#~ msgid "" -#~ "\n" -#~ " Your answer to %(title)s %(summary)s will be posted once you log in\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "Your answer to \"%(title)s %(summary)s...\" is saved and will be posted once you log in." - -#~ msgid "" -#~ "Your question \n" -#~ " %(title)s %(summary)s will be posted once you log in\n" -#~ " " -#~ msgstr "Your question \"%(title)s %(summary)s...\" is saved and will be posted once you log in." - -#~ msgid "Enter your Provider user name" -#~ msgstr "Enter your Provider user name
    (or select another login method above)" - -#~ msgid "Enter your OpenID web address" -#~ msgstr "Enter your OpenID web address
    (or choose another login method above)" - -#~ msgid "Enter your login name and password" -#~ msgstr "Enter your CNPROG login and password
    (or select your OpenID provider above)" - -#~ msgid "subscription saved, %(email)s needs validation, see %(details_url)s" -#~ msgstr "Your subscription is saved, but email address %(email)s needs to be validated, please see more details here" - -#~ msgid "Incorrect username." -#~ msgstr "sorry, there is no such user name" - -#~ msgid "your email needs to be validated see %(details_url)s" -#~ msgstr "Your email needs to be validated. Please see details here." - -#~ msgid "Email verification subject line" -#~ msgstr "Verification Email from Q&A forum" - -#~ msgid "first time greeting with %(url)s" -#~ msgstr "Hello and welcome to OSQA - please join us!" - -#~ msgid "have %(num_q)s unanswered questions" -#~ msgstr "
    %(num_q)s
    questions without accepted answers" - -#~ msgid "" -#~ "\n" -#~ "\t\t\t\thave total %(q_num)s questions\n" -#~ "\t\t\t\t" -#~ msgid_plural "" -#~ "\n" -#~ "\t\t\t\thave total %(q_num)s questions\n" -#~ "\t\t\t\t" -#~ msgstr[0] "" -#~ "\n" -#~ "
    %(q_num)s

    question

    " -#~ msgstr[1] "" -#~ "\n" -#~ "
    %(q_num)s

    questions

    " diff --git a/forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index bcf4a2657da7d262d21c8bc1044c9ff5bc23b998..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2626 zcmaKtPiP%Q9LGnktv;)@6)g1+jA&7`o4z!ygxA_OCb5ksX>5}yMhTOhd9Ty%&a5-D zFHOOdAfgvN2p&`@B6v}Rp1g=yym(Mh4|-5RJP18_5IhKi-`{()`(98QNIpBWzxn;X z^PAake%`g^Ery?m@Ouw_pTCYqgP(VG}(#xNZ1D``iKE0`7_9y&&b=4^sRw zkn}A?rr=!|cR|wiX52~ZhGL3dT3&kPc;ReYXNtvI)xv66FOzoNbZt;P6()r) z$*LJVl|@FoP`nOTQbSOcEsh3nbM%6jg`_ne+Ig@&IZPWJw8(f@IZtY}rzRm!Ohtj= z>`ttLTQDA-HG}i2+^|`?AwJkk&ifa2h5mm&>B-lcy6iRz>=w26BppIJYAJ&k7)%x6+ zQ>nrp(8_h;B!)qBItca1l2VJ?qH7(R&3qwpsv#tr7qr)=!-iW$Vya5}xYM1pRmb?c zz^m$31#7u4*Ulk53S$XsyG}`03>Ovc?4O(DP~tJzd@K56$rhZY49Sd4miuSf;tLa# zPfeVd=F8Kk&&-^fZ=6@)n<+m_M;ZDv!+09?$fMb)BP)xtY1?!9GSunvF@^40I$}+$f+gs0(3# zk>RQw=IL4Cyb6ykEk2Qq58_BeTe)P~q*mf=T6}y>hsLwDIwg}OIi z;LVXkBV!FVrG?YBGLS2m4CK;h&*p0%!7Vh(vopAcMr3SdQaLB2g_WEsaba^!&rbP* z%s{aIZMe3dpu&~QxUgWx z32H~cRlzb;F32{}uZCHois$Of$d diff --git a/forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index 57b8ba9..0000000 --- a/forum/modules/template_loader.py/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,4285 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: 2010-04-28 18:14\n" -"Last-Translator: \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Translated-Using: django-rosetta 0.5.3\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "cuestión duplicado" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "pregunta es fuera de tema o no pertinentes" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "demasiado subjetivo y argumentativo" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "no es una respuesta a la pregunta" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "la pregunta es contestada, respuesta correcta fue aceptada" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "problema no es reproducible o no actualizados" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "cuestión contiene inadecuado ofensivo o los comentarios maliciosos" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "spam o publicidad" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "cuestión" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "respuesta" - -#: forum/const.py:73 -msgid "commented question" -msgstr "comentó cuestión" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "comentó respuesta" - -#: forum/const.py:75 -msgid "edited question" -msgstr "cuestión editado" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "editado respuesta" - -#: forum/const.py:77 -msgid "received award" -msgstr "premio recibido" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "marcada mejor respuesta" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "upvoted" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "downvoted" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "upvote cancela" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "downvote cancela" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "cuestión eliminado" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "respuesta eliminado" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "marcado ofensiva" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "etiquetas de actualización" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "marcados como favoritos" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "Perfil de usuario completa" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "correo electrónico de actualización enviado al usuario" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "question_answered" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "question_commented" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "answer_commented" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "answer_accepted" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "[Cerrado]" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "[Suprimido]" - -#: forum/const.py:102 -msgid "initial version" -msgstr "versión inicial" - -#: forum/const.py:103 -msgid "retagged" -msgstr "retagged" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "Instantáneamente" - -#: forum/const.py:112 -msgid "Daily" -msgstr "Diario" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "Semanal" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "N notificaciones" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "please use following characters in tags: letters 'a-z', numbers, and characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "if you choose community wiki option, the question and answer do not generate points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "enter a brief summary of your revision (e.g. fixed spelling, grammar, improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, python-format -msgid "New answer to '%(question_title)s'" -msgstr "" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -msgid "like_comment/" -msgstr "" - -#: forum/urls.py:65 -msgid "comment/" -msgstr "" - -#: forum/urls.py:66 -msgid "delete_comment/" -msgstr "" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -msgid "reputation/" -msgstr "" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -msgid "Your account email" -msgstr "" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "Old password is incorrect. Please enter the correct password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -msgid "edited a question" -msgstr "" - -#: forum/models/user.py:263 -msgid "commented a question" -msgstr "" - -#: forum/models/user.py:265 -msgid "commented an answer" -msgstr "" - -#: forum/models/user.py:267 -msgid "edited an answer" -msgstr "" - -#: forum/models/user.py:269 -msgid "received badge" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -msgid "Application description" -msgstr "" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "The port on which your SMTP server is listening to. Usually this is 25, but can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -msgid "Site 'from' email address" -msgstr "" - -#: forum/settings/email.py:35 -msgid "The address that will show up on the 'from' field on emails sent by your website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -msgid "Change this:" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Minimum reputation config" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Configure the minimum reputation required to perform certain actions on your site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -msgid "Minimum reputation to vote down" -msgstr "" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -msgid "Minimum reputation to comment" -msgstr "" - -#: forum/settings/minrep.py:20 -msgid "The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -msgid "Minimum reputation to like a comment" -msgstr "" - -#: forum/settings/minrep.py:24 -msgid "The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "The minimum reputation an user must have to be allowed to close his own question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "The minimum reputation an user must have to be allowed to reopen his own question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "The minimum reputation an user must have to be allowed to retag others questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "The minimum reputation an user must have to be allowed to edit community wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to delete comments" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -msgid "Initial reputation" -msgstr "" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "Reputation a user gains for having one of the downvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "Reputation a user loses by having the last revision of one of his posts flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "The filesystem path where uploaded files will be stored. Please note that this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "The url alias for uploaded files. Notice that if you change this setting, you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "the page you tried to visit is protected or you don't have sufficient points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %(feedback_faq_url)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "" - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "Most importantly - questions should be relevant to this community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "Before asking the question - please make sure to use search to see whether your question has alredy been answered." -msgstr "" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "" - -#: forum/skins/default/templates/faq.html:22 -msgid "Please avoid asking questions that are not relevant to this community, too subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "is a Q&A site, not a discussion group. Therefore - please avoid having discussions in your answers, comment facility allows some space for brief discussions." -msgstr "" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "The reputation system allows users earn the authorization to perform a variety of moderation tasks." -msgstr "" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "" - -#: forum/skins/default/templates/faq.html:42 -msgid "For example, if you ask an interesting question or give a helpful answer, your input will be upvoted. On the other hand if the answer is misleading - it will be downvoted. Each vote in favor will generate 10 points, each vote against will subtract 2 points. There is a limit of 200 points that can be accumulated per question or answer. The table below explains reputation point requirements for each type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "No, you don't have to. You can login through any service that supports OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "So questions and answers can be edited like wiki pages by experienced users of this site and this improves the overall quality of the knowledge base content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "Please ask your question at %(ask_question_url)s, help make our community better!" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -msgid "welcome to " -msgstr "" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "As a registered user you can login with your OpenID, log out of the site or permanently remove your account." -msgstr "" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "These are the external authentication providers currently associated with your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "You currently have no external authentication provider associated with your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "You can set up a password for your account, so you can login using standard username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Create password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot your password,\n" -" here you can request a temporary login key. Fill out your account email and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -msgid "Send link" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -msgid "Edit comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:30 -msgid "Delete comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -msgid "add new comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:55 -msgid " add comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -msgid "just now" -msgstr "" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -msgid "On question " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -msgid "an answer was accepted" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, with title\n" -" %(question_title)s and tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "Your site is running in bootstrap mode, click the button bellow to revert to defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "Your site is running in standard mode, click the button bellow to run in bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "Your site is running with some customized settings, click the buttons bellow to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -msgid "A new question is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -msgid "Questions I ask" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:60 -msgid "Questions I answer" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:63 -msgid "Questions I comment" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:68 -msgid "Questions I view" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -msgid "An answer is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "Notify me when someone replys to one of my comments on any post using the
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -msgid "Newest questions are shown first. " -msgstr "" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "Sorry, these login credentials belong to anoother user. Plese terminate your current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "You are logged in with a temporary access key, please take the time to fix your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -msgid "New password set" -msgstr "" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -msgid "like comments" -msgstr "" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -msgid "delete comments" -msgstr "" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -msgid "comment" -msgstr "" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -msgid "edit comments" -msgstr "" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -msgid "accept answers" -msgstr "" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -msgid "subscription settings" -msgstr "" - -#: forum/views/users.py:220 -msgid "profile - subscriptions" -msgstr "" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, python-format -msgid "Answer voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "Answered a question more than %(dif_days)s days later with at least %(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -msgid "Nice Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -msgid "Good Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -msgid "Great Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "The authentication with Facebook connect failed, cannot find authentication tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" diff --git a/forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 345109f9a05f085b139f682498a5b022e61d8658..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 367 zcmYL^K~KUk7=|%=+R?Lz9=z#?1I5gWgvtsot{WMHL~j-9tihIah3F6Q@A+H&mKb@H zCvDQFU*G;5AAPql2gnI>iX0;6NRtTZ;o%Lgjq{(Wv+ru@Az8sfxmsI8$&`&A*@Tk? zFJ?)e1%=vJ=Rwq!Ucvpgs-d)$1k=2PkyFy+C5WY0lyt*R2;miUBhtC1y-VDOA&O9_ zooH!sH!?Y*YUt8&22(yp|rD2ZOQ4_dzjk7Bj} diff --git a/forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index 7a76e84..0000000 --- a/forum/modules/template_loader.py/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,4446 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "" - -#: forum/const.py:73 -msgid "commented question" -msgstr "" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "" - -#: forum/const.py:75 -msgid "edited question" -msgstr "" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "" - -#: forum/const.py:77 -msgid "received award" -msgstr "" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "" - -#: forum/const.py:102 -msgid "initial version" -msgstr "" - -#: forum/const.py:103 -msgid "retagged" -msgstr "" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "" -"Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "" -"please use following characters in tags: letters 'a-z', numbers, and " -"characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, python-format -msgid "New answer to '%(question_title)s'" -msgstr "" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -msgid "like_comment/" -msgstr "" - -#: forum/urls.py:65 -msgid "comment/" -msgstr "" - -#: forum/urls.py:66 -msgid "delete_comment/" -msgstr "" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -msgid "reputation/" -msgstr "" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -msgid "Your account email" -msgstr "" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -msgid "edited a question" -msgstr "" - -#: forum/models/user.py:263 -msgid "commented a question" -msgstr "" - -#: forum/models/user.py:265 -msgid "commented an answer" -msgstr "" - -#: forum/models/user.py:267 -msgid "edited an answer" -msgstr "" - -#: forum/models/user.py:269 -msgid "received badge" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -msgid "Application description" -msgstr "" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -msgid "Site 'from' email address" -msgstr "" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -msgid "Change this:" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Minimum reputation config" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -msgid "Minimum reputation to vote down" -msgstr "" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -msgid "Minimum reputation to comment" -msgstr "" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -msgid "Minimum reputation to like a comment" -msgstr "" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to delete comments" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -msgid "Initial reputation" -msgstr "" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "" -"Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "" -"Reputation a user gains for having one of the downvotes on his posts " -"canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "" -"Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "" -"the page you tried to visit is protected or you don't have sufficient " -"points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %" -"(feedback_faq_url)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "" - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "" -"Most importantly - questions should be relevant to this " -"community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "" -"Before asking the question - please make sure to use search to see whether " -"your question has alredy been answered." -msgstr "" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "" - -#: forum/skins/default/templates/faq.html:22 -msgid "" -"Please avoid asking questions that are not relevant to this community, too " -"subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "" -"is a Q&A site, not a discussion group. Therefore - please avoid having " -"discussions in your answers, comment facility allows some space for brief " -"discussions." -msgstr "" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "" -"The reputation system allows users earn the authorization to perform a " -"variety of moderation tasks." -msgstr "" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "" - -#: forum/skins/default/templates/faq.html:42 -msgid "" -"For example, if you ask an interesting question or give a helpful answer, " -"your input will be upvoted. On the other hand if the answer is misleading - " -"it will be downvoted. Each vote in favor will generate 10 " -"points, each vote against will subtract 2 points. There is " -"a limit of 200 points that can be accumulated per question " -"or answer. The table below explains reputation point requirements for each " -"type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "" -"how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "" -"No, you don't have to. You can login through any service that supports " -"OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "" -"So questions and answers can be edited like wiki pages by experienced users " -"of this site and this improves the overall quality of the knowledge base " -"content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "" -"Please ask your question at %(ask_question_url)s, help make our community " -"better!" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -msgid "welcome to " -msgstr "" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Create password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -msgid "Send link" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -msgid "Edit comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:30 -msgid "Delete comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -msgid "add new comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:55 -msgid " add comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)" -"s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -msgid "just now" -msgstr "" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %" -"(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %" -"(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -msgid "On question " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)" -"s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -msgid "an answer was accepted" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the " -"question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %" -"(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %" -"(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %" -"(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, " -"with title\n" -" %(question_title)s and " -"tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button bellow to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button bellow to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons bellow " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to " -"receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them " -"clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -msgid "A new question is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -msgid "Questions I ask" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:60 -msgid "Questions I answer" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:63 -msgid "Questions I comment" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:68 -msgid "Questions I view" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -msgid "An answer is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "" -"Notify me when someone replys to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -msgid "Newest questions are shown first. " -msgstr "" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -msgid "New password set" -msgstr "" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s." -"
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the
    faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -msgid "like comments" -msgstr "" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -msgid "delete comments" -msgstr "" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -msgid "comment" -msgstr "" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -msgid "edit comments" -msgstr "" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -msgid "accept answers" -msgstr "" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -msgid "subscription settings" -msgstr "" - -#: forum/views/users.py:220 -msgid "profile - subscriptions" -msgstr "" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, python-format -msgid "Answer voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -msgid "Nice Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -msgid "Good Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -msgid "Great Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" diff --git a/forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.mo deleted file mode 100644 index 345109f9a05f085b139f682498a5b022e61d8658..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 367 zcmYL^K~KUk7=|%=+R?Lz9=z#?1I5gWgvtsot{WMHL~j-9tihIah3F6Q@A+H&mKb@H zCvDQFU*G;5AAPql2gnI>iX0;6NRtTZ;o%Lgjq{(Wv+ru@Az8sfxmsI8$&`&A*@Tk? zFJ?)e1%=vJ=Rwq!Ucvpgs-d)$1k=2PkyFy+C5WY0lyt*R2;miUBhtC1y-VDOA&O9_ zooH!sH!?Y*YUt8&22(yp|rD2ZOQ4_dzjk7Bj} diff --git a/forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.po deleted file mode 100644 index 7a76e84..0000000 --- a/forum/modules/template_loader.py/locale/l/LC_MESSAGES/django.po +++ /dev/null @@ -1,4446 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "" - -#: forum/const.py:73 -msgid "commented question" -msgstr "" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "" - -#: forum/const.py:75 -msgid "edited question" -msgstr "" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "" - -#: forum/const.py:77 -msgid "received award" -msgstr "" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "" - -#: forum/const.py:102 -msgid "initial version" -msgstr "" - -#: forum/const.py:103 -msgid "retagged" -msgstr "" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "" -"Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "" -"please use following characters in tags: letters 'a-z', numbers, and " -"characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, python-format -msgid "New answer to '%(question_title)s'" -msgstr "" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -msgid "like_comment/" -msgstr "" - -#: forum/urls.py:65 -msgid "comment/" -msgstr "" - -#: forum/urls.py:66 -msgid "delete_comment/" -msgstr "" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -msgid "reputation/" -msgstr "" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -msgid "Your account email" -msgstr "" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -msgid "edited a question" -msgstr "" - -#: forum/models/user.py:263 -msgid "commented a question" -msgstr "" - -#: forum/models/user.py:265 -msgid "commented an answer" -msgstr "" - -#: forum/models/user.py:267 -msgid "edited an answer" -msgstr "" - -#: forum/models/user.py:269 -msgid "received badge" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -msgid "Application description" -msgstr "" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -msgid "Site 'from' email address" -msgstr "" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -msgid "Change this:" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Minimum reputation config" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -msgid "Minimum reputation to vote down" -msgstr "" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -msgid "Minimum reputation to comment" -msgstr "" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -msgid "Minimum reputation to like a comment" -msgstr "" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to delete comments" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -msgid "Initial reputation" -msgstr "" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "" -"Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "" -"Reputation a user gains for having one of the downvotes on his posts " -"canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "" -"Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "" -"the page you tried to visit is protected or you don't have sufficient " -"points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %" -"(feedback_faq_url)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "" - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "" -"Most importantly - questions should be relevant to this " -"community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "" -"Before asking the question - please make sure to use search to see whether " -"your question has alredy been answered." -msgstr "" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "" - -#: forum/skins/default/templates/faq.html:22 -msgid "" -"Please avoid asking questions that are not relevant to this community, too " -"subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "" -"is a Q&A site, not a discussion group. Therefore - please avoid having " -"discussions in your answers, comment facility allows some space for brief " -"discussions." -msgstr "" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "" -"The reputation system allows users earn the authorization to perform a " -"variety of moderation tasks." -msgstr "" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "" - -#: forum/skins/default/templates/faq.html:42 -msgid "" -"For example, if you ask an interesting question or give a helpful answer, " -"your input will be upvoted. On the other hand if the answer is misleading - " -"it will be downvoted. Each vote in favor will generate 10 " -"points, each vote against will subtract 2 points. There is " -"a limit of 200 points that can be accumulated per question " -"or answer. The table below explains reputation point requirements for each " -"type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "" -"how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "" -"No, you don't have to. You can login through any service that supports " -"OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "" -"So questions and answers can be edited like wiki pages by experienced users " -"of this site and this improves the overall quality of the knowledge base " -"content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "" -"Please ask your question at %(ask_question_url)s, help make our community " -"better!" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -msgid "welcome to " -msgstr "" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Create password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -msgid "Send link" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -msgid "Edit comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:30 -msgid "Delete comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -msgid "add new comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:55 -msgid " add comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)" -"s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -msgid "just now" -msgstr "" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %" -"(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %" -"(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -msgid "On question " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)" -"s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -msgid "an answer was accepted" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the " -"question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %" -"(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %" -"(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %" -"(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, " -"with title\n" -" %(question_title)s and " -"tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button bellow to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button bellow to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons bellow " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to " -"receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them " -"clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -msgid "A new question is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -msgid "Questions I ask" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:60 -msgid "Questions I answer" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:63 -msgid "Questions I comment" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:68 -msgid "Questions I view" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -msgid "An answer is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "" -"Notify me when someone replys to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -msgid "Newest questions are shown first. " -msgstr "" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -msgid "New password set" -msgstr "" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s." -"
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the
    faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -msgid "like comments" -msgstr "" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -msgid "delete comments" -msgstr "" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -msgid "comment" -msgstr "" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -msgid "edit comments" -msgstr "" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -msgid "accept answers" -msgstr "" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -msgid "subscription settings" -msgstr "" - -#: forum/views/users.py:220 -msgid "profile - subscriptions" -msgstr "" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, python-format -msgid "Answer voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -msgid "Nice Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -msgid "Good Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -msgid "Great Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" diff --git a/forum/modules/template_loader.py/locale/phrases.py b/forum/modules/template_loader.py/locale/phrases.py deleted file mode 100644 index be378cc..0000000 --- a/forum/modules/template_loader.py/locale/phrases.py +++ /dev/null @@ -1,4 +0,0 @@ -_("Test Phrase 1") -_("Test Phrase 2") -_("Test Phrase 3") -_("Test Phrase n") \ No newline at end of file diff --git a/forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index 345109f9a05f085b139f682498a5b022e61d8658..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 367 zcmYL^K~KUk7=|%=+R?Lz9=z#?1I5gWgvtsot{WMHL~j-9tihIah3F6Q@A+H&mKb@H zCvDQFU*G;5AAPql2gnI>iX0;6NRtTZ;o%Lgjq{(Wv+ru@Az8sfxmsI8$&`&A*@Tk? zFJ?)e1%=vJ=Rwq!Ucvpgs-d)$1k=2PkyFy+C5WY0lyt*R2;miUBhtC1y-VDOA&O9_ zooH!sH!?Y*YUt8&22(yp|rD2ZOQ4_dzjk7Bj} diff --git a/forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 7a76e84..0000000 --- a/forum/modules/template_loader.py/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,4446 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "" - -#: forum/const.py:9 -msgid "question is off-topic or not relevant" -msgstr "" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "" - -#: forum/const.py:73 -msgid "commented question" -msgstr "" - -#: forum/const.py:74 -msgid "commented answer" -msgstr "" - -#: forum/const.py:75 -msgid "edited question" -msgstr "" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "" - -#: forum/const.py:77 -msgid "received award" -msgstr "" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "" - -#: forum/const.py:81 -msgid "upvote canceled" -msgstr "" - -#: forum/const.py:82 -msgid "downvote canceled" -msgstr "" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -msgid "question_answered" -msgstr "" - -#: forum/const.py:94 -msgid "question_commented" -msgstr "" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "" - -#: forum/const.py:102 -msgid "initial version" -msgstr "" - -#: forum/const.py:103 -msgid "retagged" -msgstr "" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "" - -#: forum/forms.py:36 -msgid "content" -msgstr "" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "" - -#: forum/forms.py:54 -msgid "" -"Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr "" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "" - -#: forum/forms.py:74 -msgid "" -"please use following characters in tags: letters 'a-z', numbers, and " -"characters '.-_#'" -msgstr "" - -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "" - -#: forum/forms.py:85 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "" - -#: forum/forms.py:102 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -msgid "Your name:" -msgstr "" - -#: forum/forms.py:119 -msgid "Email (not shared with anyone):" -msgstr "" - -#: forum/forms.py:120 -msgid "Your message:" -msgstr "" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "" - -#: forum/forms.py:204 -msgid "Screen name" -msgstr "" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "" - -#: forum/forms.py:206 -msgid "Website" -msgstr "" - -#: forum/forms.py:207 -msgid "Location" -msgstr "" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "" - -#: forum/subscriptions.py:41 -#, python-format -msgid "New question on %(app_name)s" -msgstr "" - -#: forum/subscriptions.py:73 -#, python-format -msgid "New answer to '%(question_title)s'" -msgstr "" - -#: forum/subscriptions.py:112 -#, python-format -msgid "New comment on %(question_title)s" -msgstr "" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -msgid "upfiles/" -msgstr "" - -#: forum/urls.py:49 -msgid "about/" -msgstr "" - -#: forum/urls.py:50 -msgid "faq/" -msgstr "" - -#: forum/urls.py:51 -msgid "privacy/" -msgstr "" - -#: forum/urls.py:52 -msgid "logout/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:54 -msgid "answers/" -msgstr "" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -msgid "edit/" -msgstr "" - -#: forum/urls.py:54 forum/urls.py:74 -msgid "revisions/" -msgstr "" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -msgid "questions/" -msgstr "" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -msgid "ask/" -msgstr "" - -#: forum/urls.py:57 -msgid "unanswered/" -msgstr "" - -#: forum/urls.py:59 -msgid "close/" -msgstr "" - -#: forum/urls.py:60 -msgid "reopen/" -msgstr "" - -#: forum/urls.py:61 -msgid "answer/" -msgstr "" - -#: forum/urls.py:63 -msgid "vote/" -msgstr "" - -#: forum/urls.py:64 -msgid "like_comment/" -msgstr "" - -#: forum/urls.py:65 -msgid "comment/" -msgstr "" - -#: forum/urls.py:66 -msgid "delete_comment/" -msgstr "" - -#: forum/urls.py:67 -msgid "accept_answer/" -msgstr "" - -#: forum/urls.py:68 -msgid "mark_favorite/" -msgstr "" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -msgid "command/" -msgstr "" - -#: forum/urls.py:78 -msgid "question/" -msgstr "" - -#: forum/urls.py:79 forum/urls.py:80 -msgid "tags/" -msgstr "" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -msgid "users/" -msgstr "" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -msgid "subscriptions/" -msgstr "" - -#: forum/urls.py:101 -msgid "favorites/" -msgstr "" - -#: forum/urls.py:102 -msgid "reputation/" -msgstr "" - -#: forum/urls.py:103 -msgid "votes/" -msgstr "" - -#: forum/urls.py:104 -msgid "recent/" -msgstr "" - -#: forum/urls.py:107 forum/urls.py:108 -msgid "badges/" -msgstr "" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -msgid "search/" -msgstr "" - -#: forum/urls.py:115 -msgid "feedback/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -msgid "account/" -msgstr "" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -msgid "done/" -msgstr "" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -msgid "register/" -msgstr "" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -msgid "authsettings/" -msgstr "" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -msgid "remove/" -msgstr "" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -msgid "Your account email" -msgstr "" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -msgid "Current password" -msgstr "" - -#: forum/authentication/forms.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -msgid "[closed] " -msgstr "" - -#: forum/models/question.py:33 -msgid "[deleted] " -msgstr "" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -msgid "interesting" -msgstr "" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -msgid "answered" -msgstr "" - -#: forum/models/user.py:259 -msgid "marked an answer" -msgstr "" - -#: forum/models/user.py:261 -msgid "edited a question" -msgstr "" - -#: forum/models/user.py:263 -msgid "commented a question" -msgstr "" - -#: forum/models/user.py:265 -msgid "commented an answer" -msgstr "" - -#: forum/models/user.py:267 -msgid "edited an answer" -msgstr "" - -#: forum/models/user.py:269 -msgid "received badge" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Badges config" -msgstr "" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -msgid "Basic Settings" -msgstr "" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -msgid "Application title" -msgstr "" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -msgid "Application short name" -msgstr "" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -msgid "Application description" -msgstr "" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -msgid "Application intro" -msgstr "" - -#: forum/settings/basic.py:40 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -msgid "Copyright notice" -msgstr "" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email Settings" -msgstr "" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -msgid "Email Password" -msgstr "" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -msgid "Use TLS" -msgstr "" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -msgid "Site 'from' email address" -msgstr "" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -msgid "Change this:" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "Minimum reputation config" -msgstr "" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -msgid "Minimum reputation to vote down" -msgstr "" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -msgid "Minimum reputation to comment" -msgstr "" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -msgid "Minimum reputation to like a comment" -msgstr "" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -msgid "Minimum reputation to retag others questions" -msgstr "" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -msgid "Minimum reputation to delete comments" -msgstr "" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -msgid "Initial reputation" -msgstr "" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "" -"Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -msgid "Rep lost by downvoted" -msgstr "" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "" -"Reputation a user gains for having one of the downvotes on his posts " -"canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -msgid "Rep gain by accepted answer" -msgstr "" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "" -"Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -msgid "The maximum allowed file size for uploads in mb." -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -msgid "Flag count to delete post" -msgstr "" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -msgid "Days to cancel a vote" -msgstr "" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "" - -#: forum/skins/default/templates/404.html:30 -msgid "" -"the page you tried to visit is protected or you don't have sufficient " -"points, see" -msgstr "" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -msgid "see latest questions" -msgstr "" - -#: forum/skins/default/templates/500.html:29 -msgid "see tags" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:14 -msgid "this answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "" - -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "" - -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -msgid "About" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -msgid "please try to provide details" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -msgid "*italic* or __italic__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "" - -#: forum/skins/default/templates/ask.html:64 -msgid "login to post question info" -msgstr "" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "" - -#: forum/skins/default/templates/badges.html:6 -msgid "Badges summary" -msgstr "" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" - -#: forum/skins/default/templates/badges.html:22 -#, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %" -"(feedback_faq_url)s.\n" -" " -msgstr "" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "" - -#: forum/skins/default/templates/badges.html:71 -msgid "bronze badge description" -msgstr "" - -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "" - -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "" - -#: forum/skins/default/templates/email_base.html:31 -msgid "home" -msgstr "" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "" - -#: forum/skins/default/templates/faq.html:17 -msgid "" -"Most importantly - questions should be relevant to this " -"community." -msgstr "" - -#: forum/skins/default/templates/faq.html:18 -msgid "" -"Before asking the question - please make sure to use search to see whether " -"your question has alredy been answered." -msgstr "" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "" - -#: forum/skins/default/templates/faq.html:22 -msgid "" -"Please avoid asking questions that are not relevant to this community, too " -"subjective and argumentative." -msgstr "" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:28 -msgid "" -"is a Q&A site, not a discussion group. Therefore - please avoid having " -"discussions in your answers, comment facility allows some space for brief " -"discussions." -msgstr "" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "" - -#: forum/skins/default/templates/faq.html:35 -msgid "" -"The reputation system allows users earn the authorization to perform a " -"variety of moderation tasks." -msgstr "" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "" - -#: forum/skins/default/templates/faq.html:41 -msgid "Rep system summary" -msgstr "" - -#: forum/skins/default/templates/faq.html:42 -msgid "" -"For example, if you ask an interesting question or give a helpful answer, " -"your input will be upvoted. On the other hand if the answer is misleading - " -"it will be downvoted. Each vote in favor will generate 10 " -"points, each vote against will subtract 2 points. There is " -"a limit of 200 points that can be accumulated per question " -"or answer. The table below explains reputation point requirements for each " -"type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:57 -msgid "use tags" -msgstr "" - -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "" - -#: forum/skins/default/templates/faq.html:69 -msgid "open and close own questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "" - -#: forum/skins/default/templates/faq.html:87 -msgid "open any closed question" -msgstr "" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "" -"how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "" - -#: forum/skins/default/templates/faq.html:115 -msgid "" -"No, you don't have to. You can login through any service that supports " -"OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "" - -#: forum/skins/default/templates/faq.html:122 -msgid "" -"So questions and answers can be edited like wiki pages by experienced users " -"of this site and this improves the overall quality of the knowledge base " -"content." -msgstr "" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "" - -#: forum/skins/default/templates/faq.html:128 -#, python-format -msgid "" -"Please ask your question at %(ask_question_url)s, help make our community " -"better!" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "" - -#: forum/skins/default/templates/feedback.html:6 -msgid "Feedback" -msgstr "" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -msgid "(this field is required)" -msgstr "" - -#: forum/skins/default/templates/feedback.html:49 -msgid "Send Feedback" -msgstr "" - -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "" - -#: forum/skins/default/templates/footer.html:18 -msgid "give feedback" -msgstr "" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "" - -#: forum/skins/default/templates/index.html:9 -msgid "welcome to " -msgstr "" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "" - -#: forum/skins/default/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -msgid "posted" -msgstr "" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "" - -#: forum/skins/default/templates/privacy.html:38 -msgid "how privacy policies can be changed" -msgstr "" - -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "" - -#: forum/skins/default/templates/question.html:87 -#, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "" - -#: forum/skins/default/templates/question.html:89 -#, python-format -msgid "close date %(closed_at)s" -msgstr "" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "" - -#: forum/skins/default/templates/question.html:159 -msgid "Be the first one to answer this question!" -msgstr "" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -msgid "please only give an answer, no discussions" -msgstr "" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -msgid "Answer Your Own Question" -msgstr "" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "" - -#: forum/skins/default/templates/question.html:239 -msgid "question asked" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "" - -#: forum/skins/default/templates/question.html:250 -msgid "Related questions" -msgstr "" - -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -msgid "please try provide enough details" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:89 -msgid "tags help us keep Questions organized" -msgstr "" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "The question was closed for the following reason " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "on " -msgstr "" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "" - -#: forum/skins/default/templates/reopen.html:29 -msgid "Reopen this question" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:3 -msgid "Subscription" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -msgid "You are subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:13 -msgid "You are not subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -msgid "Interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -msgid "Ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -msgid "keep ignored questions hidden" -msgstr "" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "" - -#: forum/skins/default/templates/tags.html:33 -msgid "by popularity" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "" - -#: forum/skins/default/templates/tags.html:42 -msgid "Nothing found" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -msgid "remove" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Create password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -msgid "Email address label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "Click" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:8 -msgid "Create login name and password" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -msgid "Create Account" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:33 -msgid "return to login page" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -msgid "Send link" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "" - -#: forum/skins/default/templates/node/accept_button.html:5 -msgid "mark this answer as the accepted answer" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:22 -msgid "I like this comment (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:26 -msgid "Edit comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:30 -msgid "Delete comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -msgid "add new comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:55 -msgid " add comment" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)" -"s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -msgid "just now" -msgstr "" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -msgid "I like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -msgid "I dont like this post (click again to cancel)" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %" -"(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %" -"(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -msgid "On question " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)" -"s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -msgid "on your own post(s)" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:50 -msgid "an answer was accepted" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -msgid "posted :" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the " -"question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %" -"(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %" -"(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %" -"(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, " -"with title\n" -" %(question_title)s and " -"tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -msgid "Site statistics" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "user" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -msgid "Site status" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button bellow to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button bellow to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons bellow " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "Recalculate" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -msgid "Recent activity" -msgstr "" - -#: forum/skins/default/templates/question_list/item.html:12 -msgid "this question has an accepted answer" -msgstr "" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "active" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:43 -msgid "Screen Name" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "" - -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -msgid "user voted down this many times" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to " -"receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them " -"clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:36 -msgid "A new question is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -msgid "Questions I ask" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:60 -msgid "Questions I answer" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:63 -msgid "Questions I comment" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:68 -msgid "Questions I view" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -msgid "An answer is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "" -"Notify me when someone replys to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -msgid "subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "" - -#: forum/skins/default/templates/users/users.html:35 -#, python-format -msgid "users matching query %(suser)s:" -msgstr "" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -msgid "reputation points" -msgstr "" - -#: forum/templatetags/extra_tags.py:248 -msgid "2 days ago" -msgstr "" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "" - -#: forum/templatetags/node_tags.py:64 -msgid "retag" -msgstr "" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "" - -#: forum/templatetags/question_list_tags.py:57 -msgid "Newest questions are shown first. " -msgstr "" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -msgid "this field is required" -msgstr "" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "" - -#: forum/utils/forms.py:52 -msgid "user name is required" -msgstr "" - -#: forum/utils/forms.py:53 -msgid "sorry, this name is taken, please choose another" -msgstr "" - -#: forum/utils/forms.py:54 -msgid "sorry, this name is not allowed, please choose another" -msgstr "" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "" - -#: forum/utils/forms.py:106 -msgid "email address is required" -msgstr "" - -#: forum/utils/forms.py:108 -msgid "this email is already used by someone else, please choose another" -msgstr "" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "" - -#: forum/utils/forms.py:134 -msgid "password is required" -msgstr "" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "" - -#: forum/utils/forms.py:138 -msgid "please, retype your password" -msgstr "" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -msgid "An email has been sent with your temporary login key" -msgstr "" - -#: forum/views/auth.py:239 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -msgid "Your password was changed" -msgstr "" - -#: forum/views/auth.py:282 -msgid "New password set" -msgstr "" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s." -"
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the
    faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -msgid "vote" -msgid_plural "votes" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:89 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -msgid "flags" -msgstr "" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -msgid "like comments" -msgstr "" - -#: forum/views/commands.py:152 -msgid "like" -msgstr "" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -msgid "delete comments" -msgstr "" - -#: forum/views/commands.py:197 -msgid "mark a question as favorite" -msgstr "" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -msgid "comment" -msgstr "" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -#: forum/views/commands.py:230 -msgid "edit comments" -msgstr "" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -msgid "accept answers" -msgstr "" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -msgid "delete posts" -msgstr "" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -msgid "Open questions without an accepted answer" -msgstr "" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile" -msgstr "" - -#: forum/views/users.py:152 -msgid "user profile overview" -msgstr "" - -#: forum/views/users.py:186 -msgid "recent user activity" -msgstr "" - -#: forum/views/users.py:186 -msgid "profile - recent activity" -msgstr "" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "" - -#: forum/views/users.py:214 -msgid "favorite questions" -msgstr "" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "" - -#: forum/views/users.py:220 -msgid "subscription settings" -msgstr "" - -#: forum/views/users.py:220 -msgid "profile - subscriptions" -msgstr "" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "" - -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "" - -#: forum/views/writers.py:72 -#, python-format -msgid "maximum upload file size is %sM" -msgstr "" - -#: forum/views/writers.py:74 -#, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "" - -#: forum/views/writers.py:85 -msgid "Initial revision" -msgstr "" - -#: forum/views/writers.py:143 -msgid "Retag" -msgstr "" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -msgid "books/" -msgstr "" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, python-format -msgid "Asked a question with %s views" -msgstr "" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, python-format -msgid "Answer voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, python-format -msgid "Question voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, python-format -msgid "Question favorited by %s users" -msgstr "" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -msgid "First down vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -msgid "First up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -msgid "First accepted answer on your own question" -msgstr "" - -#: forum_modules/default_badges/badges.py:162 -msgid "Completed all user profile fields" -msgstr "" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, python-format -msgid "Left %s comments" -msgstr "" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, python-format -msgid "Edited %s entries" -msgstr "" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, python-format -msgid "Accepted answer and voted up %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, python-format -msgid "Created a tag used by %s questions" -msgstr "" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -msgid "Notable Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -msgid "Famous Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -msgid "Nice Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -msgid "Nice Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -msgid "Good Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -msgid "Good Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -msgid "Great Answer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -msgid "Great Question up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -msgid "Favorite Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -msgid "Pundit number of comments" -msgstr "" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -msgid "Guru up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -msgid "Necromancer up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -msgid "Login failed." -msgstr "" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -msgid "Please enter username and password" -msgstr "" - -#: forum_modules/localauth/forms.py:90 -msgid "Please enter your password" -msgstr "" - -#: forum_modules/localauth/forms.py:92 -msgid "Please enter user name" -msgstr "" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -msgid "A validation email has been sent to your email address. " -msgstr "" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -msgid "Enter your OpenId Url" -msgstr "" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" diff --git a/forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.mo b/forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index 66452b7fb8dd50295c1b86b69a622e27c382283e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24187 zcma)?33y!9dG~MF5)26;EP;@cfh4S!7eWXzU}9_oPP`B=P)aBnNn>eZNu$h+Y@D{K zyi2xa$#{_$883LlizM(SOSaXGHqDo$U$%bznkG$y?#u|%LX);x+NAyc&wK97$dIR* z$H)JB&OOU}-t%tfz52oXF4`3E``9~z;Dg}tOM_r5&(p6`YY_Ba9|RYIFM(HsCqP~Y zUj^R{ehqv-`1hcO`~<86FZnFZsf#vcNiGB^#60>2At-#-Ln;LpK(!Rvn~2;K$G2DRU(K=qG<+IO9=XF$>M zWl;QD3u>KTfTHtVHwM9n!K*>F-wTTWkASt{=Y0Ds9=`*=llE6Z&HFmYQ3k&N9{?}> zknw2}_(|%^K)pW;YTRFe8uvG#*8e`JeGG#-ho69#gBQfCeg!DLeF)S%<3R0i0;qW= zfjhuiUmG~yaRj%ybXL490y*{p?(bfG>!9Yl^mdb* z_kfz`R`8wR-Jtk%KllJR6MPn23yNPCLo8DSmw}?^Zg2-U1&o0|0xtzGywm1=H>mx7 z0L1hLcY<1fD)=t&)1c;^1B!o7g4*}zL5<6Rqrl~$=x+y6_28&)|2oJK1b+ugF8&+T zJXeo4e%}B}Zteg@*9;Jo6FdQm{)M2=AG5B><$ zJljBxKMtz@Uw{vSUk7gk-#ymk;vP`vIR(`I9|vW(J`ak&>%l9)J)qvd42r*J!1sXv z0E#cKgI9n*@%0OsWIFXrLHX6kL7meVK%HL`sQxXW=-cA!yFu~mCEtDy)ck)1iq3EN z_df)6PX7$*TrVGQ^W6lh-*`~-Oa?XnF;IH?1gLTKpy*l);=+Snp!PKYejNNB==6$1 zx{~^}p!j?nsP@M|L^+rTeim#7W#_*IiocgoVTxcZI1!A4w}ZRDTfnb^lIwr<_%l%Q z`z!D&@P@mMzhl7|^@-qp;4|RW;C4{!_kucy?}6gyYoPS>m!S540h`geUjd2_vp~In z9E^d#4@!Rj7}WXh_U(tk_fr2FsCm8*ir&{io#UIn{+}M-agVjX6Xaj;KK{EOoCZoS zR)X&XcY@cv133bL;47c7eSZ~{Jt}}&@5dg00cu~D+>7l8uLbpflgB-v_SFN5{*&Mz zfPdoK?K z9pE+K3%>m{sD1pUum7#bS3SPz@mJt%`ihT+(*8LuM zHTW;!O7KDk-vF)#)qg)IxjE+RKL9oEb#Ms$wQqkF26T`o&jp!DsU&*2y%qMdncLRe;QOh3El+00BW9Bz>k1G1@8i{d&uVd3@CczpysXh z*yM4k$97Qjbb0(LD0}g9Q2dYK>`}?!e(*-{i=f_jfSR|@<1650)W7BN2fqC^k3R!- zUKdRN4Ql=$`SyPYHUEEs z8h7bb)3fVAwSO4Y_;J4e36E1i>Ema?o582Rx!{-m`)~X9ANu-*58M3j1vM@PYTi3Q zo$GjCf5hWVQ0vbFWsfRB(O>W1uLOVm4&pUX{l4_5&A$rN{GH$>;BJoxL5=SLB_Ch$ z?H5e5@t1nM7QE~N_6`0A{l>yX&40^u!;gWY_fw$ee;m~LKMl&RF9t6M+dOXbcmQmo z{kX5+F~i1x0=$WRO!W27&$Rh!z{}~s%wq>A`gefR)05yV@Si}@F`mjz;Ju*6{T`TS z-WpJHI14AHb6@0fHK=|&zz=|jK+W@t$FF((HmH7o4{CfKyaN0scquq)w$XbvDEh{M z;?Fct>ptV(uL3pC3m$tx>B(78^ZWxSInIHa|25zKOHku3nqzn+sBt%fh*t0bhzbVF zK+*q~9={H1zVG<@-+`LvAHh2C$DsK2Btm;V_y^!);3iQ0a^U;GpMs+2l6gkwwV>X| zz>k0x;5FcEkF_4Z42qtOp!#nI#pi>d=KXVze+#PLFnA64CaC_GJZ^XusP{2nztz|8 z_VxQbKI+@&frv!#IZ*2y_U-39z5+^KzXobw1yJk#9K_@X7e8U^P4ze()I4)M&iA+& z)VQ@Cw}PT`zpo$l^?p!%`cqK+&iVK6`dvH6Yrv~$zZ?7*_$a7({t&ztTn5I#ZN7Z~ z)O>#i-UH@A>BEgr+WgZ%$=w3*li&tW{k{%rzZdp!RtHlpKE#)VN=Qn(v~| z8NMIXJa>Si^An)@P4x9gLCN-kyAowSdoT*Nc%4wg~$`xnYW%C{;1P8mzN+RwqG`+d~c72}=% z`v~v$(U_zp{L9zDkNfBMczgxCg+gdl{7IH1FN2gW%1Vml?~9Z-DY7AdL-|vR;^5~& z{SHz%;@}&U_fjTNF5|twIm!!^0m>qZ ze$yy7`?c5c{NI%8sm}zrQ*Pn;cK^POdi47v{~*1-%fDa3^A$Yf?t^*${VMPgO0%!8 z2hUR8>FbBU1^#)wpXVa*LfWpP{5_?bavg2=fj5A!f>SB_{W)bZrIKi7T z_Zkm(Q~rYTGfEvLO?e-4Z3ItJen|OGihkQDALiXx!Jkr|p?r|~Z15$@2FlMVwUl?# z{vTk5@^-&CjbkY7luPORG4LA7EXrLJ{Zf=G+>_bmU-;*Dd5qxQjQQr<(K&w>w8E~iYSe4la$?eCz}^Zb5LztJB1dEQCsp?r{X{_po`xYqa8 zyFa9aln+pjQS{qIxq#9~xskpf1*6}~Jp2P?9Oc)P0!6>e{hYUfYpMSwe%4&*!b19cF{$}thKi>qNAEfB_F5h;6$I-O?t$X9|<~%p~dN=rE z%A=Gq^#7)B4`LOu;Ep>gQ+3sM+!0HqW6wOJ=VzYbgeTS2#lF~-$YhhLhK#Fa<29LB zeLP!Ln{24jyY%8{MiH2!YMyoxRYRbk^^W9{bWHup!8WZXIctfHgTep}g>r)F8HY{FM zm1=6pLS|+Gt3`yms++gi@=(0GCK0&*Gr>cN`Kfdw7SAlu7RsrH6ODC=cqYLP7bIet zCc0%)qCJ*L#M4!^s$~+1*rM75w*JtmkOZ>UPt z1(R#z4K)eB-KdtRk0r>iqDc5nQPCd`cXq(Xi}b!=fOo5(`~G-hsRo!F4Ve>-XY@!SB7{yav<79|*)X)H3msy3CZN{k7nr>fj^JfJuBKO-02q(^q_K~2Go zczQu~Y7s0?HfDmEsnPD_t5XfPW|2=cCz~1*dvb&xW^2=_rkYw9zZl_8FJw&!jc1Yn z#>P}SniKnm#&~$X1PEF}BBn%omf#1hYOPZK;yz z22yaRX^rW`!epu`gC@H-)g`H(N$MYSqRG?OVuT- z7RO9sAts$%7^mLonyH!$Mgn5u6xA|8@hK*1GVl;-lGI@#@6Tk@sfL<~4NdixSP)df z>D&EdefyZ-YIHVP@6@O+p2^0V8mrN&x1FK1_FLDLtYOv@nX-|y6L7pCUY`hfg8vz? z3bw?|c0@I&KC``br*VXtr(Op=)y9?CiIfgMIwf8%OlG7Ts6sY{_n0H8OrZI}oMcTy zQzL*$c$`kW&IEH(#j$3d%&KObBdN5JtW}r9U@uB8NX8oD*gtVQ@hpxbnZWXz`^k*d zTA4a07|D9{Q8rS?!$Ugmyk5Lc=G42Q1?W~?0?Ueh#S~Yi8nSR@4AiC5i$_y$s;f3- zmKD-OBE#vPvnrSYRKoYJOQjZMJjDsq%1ny$Or+E7ctS8In}h2?7f_p)%}JZI`b8EcDqZZL;kGpfdHr*wGIxqG zCbpw7+p%e}h6J5tv6u@1Y)CBP49ywC{8SA_&n?R9I;<<_RkXE|Ud1UgZiz*~yoSj0 zmqa(1=ae*DcW&)H_C8k&@ke++Hrbi7T0(7CD<3OUm5&eKuiG~_9uT}$6 zizI&pAhGP?Mr=kL1Aprm8f$JHEl4=5NzPZbvc6H!*x(wo$@%kd4U9z|N`Wnk-LN2P zb)MVvGSFF5=6nR`^Dd730+Rri8BTm!*3$2o+(8@NQOk~PCW@_;fSXXuvFUJ09NQ$Skt}B72jwn#XsfX&Ix~b7AX4!Sc z`F3Y5w0BRRtB*XL;;Cf<_cl5mRXDM-f#oNx14k@lm3XuHNNjz5Jnh`JyMxFgyJ+J! z7rV|+KFe4nu@1?r86B%h$JKvy%*Oz{%Pv-M>-2wqGJ!S46s8*G8{>7i2lL}!q%6dx zaz_ek@J2)nvHCgs7+QQY2IVhrn1bJ4Lp`{ zB01j$5tWI$WJ1xqEVGLfVt0?bTP`{ZJY2YtszM4A)sZ_5{AjO0=ds&%rM;F83ob{T zmRD3DZJR`#8&gS4sOupe)uz1VS)_PHeK8Y|w5TCS*30U+|Iz+T3eDFUmahDE>%}$` zg=T^z=2*6Y;7g|!u*rDrv$srg*UZsw>Nu7rQ`MAlr&+^|rEyGbuDl?@K%#VUH_rz% zoZJ>iWMsyjM0mrhn9W&>*!*}^(uI0Hf^wl)rZLVfNO6YARcUR4BdF76No3e$cEu<$ zF>p~id4dLeviQ83iVnH#aAi^P!!8>kUsa4K0_P9vqI;jk3;ZvChP>)>TB)hLPWYzO z{P~H73>G)2Pq@nk^au4R`eCBc6E0oOVU$rY@~tQI{P(8WuB&_W%Vs!E&OJJFykZ&= zF6$QAo=iY6CGj?hhM!k`+u0ft&t}b6d2{Rib7ft;VL`cTE?HxRW~}J0SMW(8^Mn9Z z6afZB0!CKfmH=H|xNCCcMQ4aPz^7%hs0vYTQ0lP=l@^by(JV|M%-3zgg@o=l;Asqs zZVN+fi7oU0J_e2~8WdNhlb9aqy)qO|9-RzImXK74D?m}+dQ zbD@LMge>Fhnu`kIzdVwiaulBg-iTs!bP=bTs;ncE;#ChjnodbWykDZK&z zrIV$J+;~L|^-ZWFDl;)Qeq0%^iYr>)rnu}PLMLZPqL$K>KHuTClHs^HBTP59uw-Ve zLiLCN0T&jocV&D~gUlmGMT)OZ9sH%ACn5u^DV7PTdyAIIjv$V#qYEAbWmY_JwL?_7 zGgFsN0LmVTq!Q0=OOCPIGrSZD*x7orkJac&7Dp|gTw-Dt<+t3@?a^e;|8ZIp2DSM_ zTiIhVuaG9-aT#i#y>|5)WP}GocjV1yTGI(hys0rSEno;N;R`4hF3*BTElzw@nP18q zo^M|Dx_EL@Hmz@m6)RiGA71gqO|QK+;(6HLapCvJ{Z-M4=eg zN6F=Ms@_Eu#b86DGVVWjSrW6jGPudOo_lp*$0W>H-O}H9|8a1%bQs*k=Z1*)7RX zRh5vTb^DN15tmn4S7&aqhp{YCq3fVi&B}ZrJXzBf_@XXlxzSA1{P`%b^wff#(NaFQ zcyx-I!o04+th7r`_$WZS$|b?k#F%17@*QZKIT{MgrRqC(aU1?YsPM}OKE}nSLIJ7D2K+ z_P#(9x*is)X?GGu;tcraLL=A1-LlaMR+uED3*T!jtFY};NH z>SO|Qq3(a!IX@dLQZ@^vt8I|g;#`PJEuk-FRFTB<&dbHXPE(cneao$4bd2SlHZx5X zF$HvS(4!R>G2evPll&@X%&3?$g~5DWj6yS~__($tcGN{lBX1v%rBnJ8P%*8#;&D!c z3&@1nW0NL-X3`^5V~BvD`tDw;`=>0b<*sL8M7*;Oo}}^Yr>3a zcmCe2nNvqiC-G4+H;qoRy;OQa?BRLSr^jYanlUwY|I`_ircM9Uq$yKoPn|PoB3&D5 zn%IBE+(f*7LTvh^nUBm9$@fp6{;9g;7(Rea95rLwjH#tfjUO{^)MQItSIor+PT*9Y z&5muX!yDh{qLEA@`@p=p4_Dkfif{0D+!3zcm4CUD&%(Ku&4uO_d>XcvXP$`#uQo3Y za;?p|uGZns?%_RKf^hBW;T3JUo%;$sdxCKL^ZBD23qAY%%iPj~xh*~UV*~kto%wCc z{nrRmBzWNmZYGdkfKRx2V(!?%aOK)!b~(TCV6NrV8)w#r?L9*S`-Zo*=Q>XgogJio z79qy8DPdnn*nTR%bs#*u$tE{SnP+%ov$Z=yThn^p$Ym=6vhg zAou*X=*e{&I=v=rZPUstR)j4p!1Io`&YuK-0l{U8MbfEoooqm z+mGkk_V^uk^@cl|eN%qpiSTI0@Y3#~fs?_|V0Uig>9A*Ie%BITv5AeGAY5^5xbvvz ze}3ajL;dUE;ZWb2aNW*u`!1*)I=c(5Sii#H)}g*bQSZIy!nOS+hJ>s7?TxlJuyv@v z#m<*%ZuKVKG86mC?>k8BIC&-tRTCRJvu*gfmaykE?_hV{O-ZN1?t>hFMy_jNBE9Wc zo_}e;RudQU1M9=?ZMOXp6+7)9zj0@-b6*g)>>A#>*SC3QIH?=K3}0byL;d}Q6U%d( zw+411;n6Lk3$mS*1stc&Z2R$W@3tTu+*0W7HRir?W@lhL_3SYj&ktM0CeSL)k zOZ=O{x>KB?C*3mwDH!VO=bXd7?r`;s`Gaf1{`PSFmcoG-!j;Ety&`v2UA-%}`Sj4a zK{3nqvA1H)&_MIh=@w~{vGYI=!YTT~{YxPREgR}<3paP=j_lz;^9S0PDLm6IZnvx- z8aNX6t{z_1W~VjW+?reSq7%EF>%u)fTSa%|4w_^&cJ@ zI6E}BJGZ1KxSx=_Au?-=$up)FRo2`*aj0)y@!YXcxz*Uso?PcHre|*UAD-D%IB{yI zzcuVQL5Fbfp~B!QX>8v>;lR>d^8q+f7~D}OLc6a7FCA{Iv6=C;jwuI4S>4~|n zBl*Ky!-4+%VcDN@$qV-$7&_Bgq{Cz@?0$ZD>k1>NB!x~`>SrX(n4(5+; zmX+FgIvC#8kw37+nmkAH-OWP-YXaH)qc6zRo@g%|Xemw+b{v-BbGFFaDqA^h>BKq& zR>`exjlNl9V=yfo-temSqHoA;IhWttpIi4F+N2YG>!_~guw$L5+}w-X816j&+mFS( zg?ronmlg9}J7G?EU_;o^7MM{Da$U_V7gY zP6&m`pV?eEx89`B8;8ENxvuRdUxj67y}5G6G52z7?o=~cnLp5zKi*?Ti$j!CM3?3B zS8Bb1_TfWobsDn!eQk)eOi!5}A`^w4Q@NLxN*Z>b7~X-mToS11*umWLb`y%>jav&n zJ#U=Z78C}zu!ghN?gpmas6`F?6jsv4diCVQ_n4_gc149^bHeb9zv20x5PlChC=QwkTq>q7}0SCZ-ehae7 zM>^JHim*fGEQzN~v>b2FZ3tKFgP|e_nRB6#4}aFKl67-|N72n$2OW-B+TOzv%RrQc z1Yysa!m8t%+gojSa6^6ja=Xsxa847#tk!vV@6LCulnZmFFF<_ER+w-jVsIIfjL~67 zr#m!fUX4EER^&U3iQ!gf&bptMuI|C}5eK>Ti(L1rVH!;opx7|-OeUrKmui?_){KeS z=)BVt5o)diqlBR!UbWVuK<`$|f-_P4)>i2WQq3uh9DjaqBiWhXwy?d^dE<33PW=kK zOL$=nF6X72gE+x?c$0V{7Vp_ysK@FIFfNR>B}NRgGbs0wBVN1BAL7)_kk~wt%oE`_ zL9%HH?xjdrlvkVA2TvhLc4B;5*Ru<}o>nJR7$d1p8ZmGRLGcwu4cM^GeYvikBbwN` zuiM(HFgw1^Tvw1gH9!bd=viLq?hnG#$A`}?55kx6I_|RJO)HGBy0@-j`=M~fl0tVM z5;}Bd*KhwxUXkbXYc$>FRYcXYMxF;cW*1M2=^M`F)^X}C7B4^1=oVptCoC>qGs2Gb z#zWu7i(3CW;tjDjY}*!g@4>`vWEm|=m@>S7Gc5IOTtHN@9q0BFYVPb8kG3t>w|d+7 z(CM8>lSN0okc1QF<<=c6v~_Tz77`8h9c6d9_V&VHZ)8O=a$C8Lcy&0}$>L_!nFW(2 z@7L8&3@>{zbb5dOrMCR`Zf;q@@P;lfOcT&jB3~cFpI(!1J)P@bU1)ouaHusv+c<{8 z@uNehdjtG9{xN@`*Iad^ow!W1qJhPsW;7y;fj_l-jmaGjLek(3fa#8$SrB#;*mjtX zn><7zz6*;2^NbdVL$REZV-OqTcueFASTmxjE_7}EaPtyxy%d9O)5Lunh6%Jb9z;Op zI~f*YG5JldH*vVW-WWf&UvwnyUC3PWRdEHN7w6UVoA z^FJp!?7UgH^dM&2Gh<16xbG}3rf_O!A#z?}^Ev2e#i4U+6#Bb+C$WC+*rqqm;MDd> z*bZ;8&1z;BuojLVB!YqfB0+YiXxK$&-t@NY2oJ0w1j(Q64tJ~~a+JuocX~46-O$;U z$eS0L-jx_BVitO<>ze2C13T;pqJ1fjCHUKT64@%Yb)JMY0yn6TDIHwJymooXyZFDf zT5e~@Q2+LD^-jei+^yXfSX_Rqa~C^RaLMIsumfi;F*PslBct%_2J|P_JYbPyV0EWY z&Q<&CqX)ZW*uh1X$62}Z7v5sFY&MrJ!rNDyrS=}t(K>QwZ%oW)dI5$j=C@1^Ogwc; zF7?1(ZIErfTx?}rURr9Supsp3R#ns)g&|IB6quA{3UrBbw-cD;Rbk`F;q63ATV?&6 z?KKrLe-0(qAEWAgm@cnIuwAZn%RSd=WEhbQF%f17uVH;{rewxJ&nCOIZahdr=@e9Y z#f76sxO285z{Ab$!(A_%irHo?VkqBFaWj7BmK$=nSuRR4(z_3bE4SKPvj@esED#W< zoMX|0yZjb;R5TIDt?@`g=&Xs|rEJ^KFR|RaQ%1A~?a)wuwEmpn z(b@G#U{RPQw00mS)-cRgr3ZO3873Fkm=!bkC^6Z;G+ZgaYj;^Q0nmN^R4+8=POPyF z>soSR33|ft;bjMv(Q>j{l!zh$;ff>Ng8k*nW&J$$16zxSTL1B_JrVHWCm zpYWS=L z%)|dkE-6UXQrZTRoI8$%D@ae`IF(N+E@Nj%utY3Lri>d6i*Zd}uY|2JN5q$9!lL`K z^CbQfkzYm*^q`jqWpwOnPjX=IHir8b=7N+M+uaQTKFTMCUDwMWT16MqwOmwvykg5r z+HwbXTZ)aT@C+L2A_}{bvQy=TJKFG^yfVeI0MIr{vaRMr#A}yhGEX9QJ1fb25=|1(NB2o&54>ReCyzmJAX+WE z>+*PtCw8~cC`azJvOFEh5;nQS(Ve1^WD$( zrY7#?Hi`w2X)T&51LmtH_2m&&mDOj)bt0@*75FH&OD zDp^5VxHawA<1ZItNm;+LnajAK^^K{H(5>67@-~xVxi|?0kt#!H+f1Up?Y4xJ(kCKg zMN4V(s`wkCy>XSdS->vuXsONyH@xv2Obu6&;$O?>qM^Qxv|G|p^1ZWP#&BSHet^rJ zLP5I+a-HTgz~=lWEJW-0G4~Ah58AvI8k?|>A2)j3xN%tA5t((&>EW%U`MF2xgI^%` zqKwLsBhiH{*V{LAdWDw{%%QnX9J%o}Tycs;?W&2Z!l+1%cCF$AA)khjSY;Ilw{p$S zA3u<5-bXl#r=W@qdnIa`Hgbsw+ZQ>&LY_ z%dHwft`A+-yoCG2f9HDijnChYE!x@COMCJ1hT|Ut;m^cA94lUZT*}EfaYc8bF0fn~!G9y`0}_biJk3 zu`GKyrKL2WN&kuj+6I{PS}|%7v<^euf8Y|v-z|IClz)eSCD(iw2pK2cfS7T3QIQP zQ+)nvu$evjq#f#KiAwL}?Oq>!nH*ue?PH~Vc(zQZeZL&>Insa9bap<9Tik~QKH<1< zGwkSrR39k~Z#d~bg+~b+9g$NJnXis@!@K+W)Z()^WOckw?Kx~ZMQ?9y-6xsA`vG?v z0e@mv=-xBDWra(sokJQp-jXM>cQj2bwOOQXi!iszzG6%F+1T<;YIotE&kFjZi5X%~ zFa*d+{zau50?YmvXB^%%81|E(X)Byufd<|+E>M!J>j;w9Y90;kbg6e`L70XxpF{S} z&hBIofSTiP=x0GPhSPkxi4fCsNtDSYq&l#~D~(rs_i5^k%!r0^ zhs)%}YZlYMB0}zP@9}V1yICIpof4*(-=F=q+@D%746A4DIv=tK>*uU34`3aY8gRSvGuv_XPSF zYQ4&DW|5n4Iea@=wxjD_Wbxd@LGiEx^EH78S0R5#08q+=I6LW-O@9qkN_1M%kUMAp zph>^apIP>B>p>L8{(48D>e)?p2jlSUj-U)Df4txr%hr*vX^+|dFc&f{Y&Sv}E5 zd8C~7orP2WFx=LPTR_Ck>cKASuTOz3C+V-Nc*GV-;(7K1kx~ZAzN_2UAeSVQXzx11 zEe=|c&a%I<%RRpwO=DW`zwDyay|>UqYENGZm9uhx^Tixutoy4F?4wDkJ`qBd`*11x e+m1;;-Jf@PMnr!vX1>zyOg<1CVbScv%>Mv1{Te3# diff --git a/forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.po b/forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.po deleted file mode 100644 index fedf00e..0000000 --- a/forum/modules/template_loader.py/locale/zh_CN/LC_MESSAGES/django.po +++ /dev/null @@ -1,5202 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-28 16:53-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" - -#: forum/const.py:8 -msgid "duplicate question" -msgstr "完全重复的问题" - -# chinese translation is domain specific -#: forum/const.py:9 -#, fuzzy -msgid "question is off-topic or not relevant" -msgstr "不是编程技术问题" - -#: forum/const.py:10 -msgid "too subjective and argumentative" -msgstr "太主观性、引起争吵的问题" - -#: forum/const.py:11 -msgid "is not an answer to the question" -msgstr "不是一个可以回答的“问题”" - -#: forum/const.py:12 -msgid "the question is answered, right answer was accepted" -msgstr "问题已经解决,已得到正确答案" - -#: forum/const.py:13 -msgid "problem is not reproducible or outdated" -msgstr "已经过时、不可重现的问题" - -#: forum/const.py:14 -msgid "question contains offensive inappropriate, or malicious remarks" -msgstr "恶意言论" - -#: forum/const.py:15 -msgid "spam or advertising" -msgstr "垃圾广告" - -#: forum/const.py:71 forum/skins/default/templates/osqaadmin/index.html:21 -msgid "question" -msgstr "提问" - -#: forum/const.py:72 forum/skins/default/templates/book.html:110 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "answer" -msgstr "回答" - -#: forum/const.py:73 -msgid "commented question" -msgstr "评论问题" - -#: forum/const.py:74 -#, fuzzy -msgid "commented answer" -msgstr "修改回答" - -#: forum/const.py:75 -msgid "edited question" -msgstr "修改问题" - -#: forum/const.py:76 -msgid "edited answer" -msgstr "修改回答" - -#: forum/const.py:77 -msgid "received award" -msgstr "获奖" - -#: forum/const.py:78 -msgid "marked best answer" -msgstr "标记最佳答案" - -#: forum/const.py:79 -msgid "upvoted" -msgstr "投赞成票" - -#: forum/const.py:80 -msgid "downvoted" -msgstr "投反对票" - -#: forum/const.py:81 -#, fuzzy -msgid "upvote canceled" -msgstr "投赞成票" - -#: forum/const.py:82 -#, fuzzy -msgid "downvote canceled" -msgstr "投反对票" - -#: forum/const.py:83 -msgid "deleted question" -msgstr "删除问题" - -#: forum/const.py:84 -msgid "deleted answer" -msgstr "删除回答" - -#: forum/const.py:85 -msgid "marked offensive" -msgstr "标记垃圾帖" - -#: forum/const.py:86 -msgid "updated tags" -msgstr "更新标签" - -#: forum/const.py:87 -msgid "selected favorite" -msgstr "收藏" - -#: forum/const.py:88 -msgid "completed user profile" -msgstr "完成个人所有资料" - -#: forum/const.py:89 -msgid "email update sent to user" -msgstr "" - -#: forum/const.py:93 -#, fuzzy -msgid "question_answered" -msgstr "提问时间" - -#: forum/const.py:94 -#, fuzzy -msgid "question_commented" -msgstr "提问时间" - -#: forum/const.py:95 -msgid "answer_commented" -msgstr "" - -#: forum/const.py:96 -msgid "answer_accepted" -msgstr "" - -#: forum/const.py:100 -msgid "[closed]" -msgstr "[已关闭]" - -#: forum/const.py:101 -msgid "[deleted]" -msgstr "[已删除]" - -#: forum/const.py:102 -msgid "initial version" -msgstr "初始版本" - -#: forum/const.py:103 -msgid "retagged" -msgstr "更新了标签" - -#: forum/const.py:111 -msgid "Instantly" -msgstr "" - -#: forum/const.py:112 -msgid "Daily" -msgstr "" - -#: forum/const.py:113 -msgid "Weekly" -msgstr "" - -#: forum/const.py:114 -msgid "No notifications" -msgstr "" - -#: forum/feed.py:18 -msgid " - " -msgstr "-" - -#: forum/feed.py:18 -msgid "latest questions" -msgstr "最新问题" - -#: forum/forms.py:21 forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "title" -msgstr "标题" - -#: forum/forms.py:22 -msgid "please enter a descriptive title for your question" -msgstr "" -"请输入对问题具有描述性质的标题 - “帮忙!紧急求助!”不是建议的提问方式。" - -#: forum/forms.py:27 -msgid "title must be > 10 characters" -msgstr "标题的长度必须大于10" - -#: forum/forms.py:36 -msgid "content" -msgstr "内容" - -#: forum/forms.py:42 -msgid "question content must be > 10 characters" -msgstr "内容至少要10个字符" - -#: forum/forms.py:52 forum/skins/default/templates/header.html:31 -#: forum/skins/default/templates/header.html:56 -msgid "tags" -msgstr "标签" - -#: forum/forms.py:54 -msgid "" -"Tags are short keywords, with no spaces within. Up to five tags can be used." -msgstr "" - -#: forum/forms.py:61 forum/skins/default/templates/question_retag.html:43 -msgid "tags are required" -msgstr " 标签不能为空。" - -#: forum/forms.py:67 -msgid "please use 5 tags or less" -msgstr "最多只能有5个标签" - -#: forum/forms.py:72 -msgid "tags must be shorter than 20 characters" -msgstr "每个标签的长度不超过20" - -#: forum/forms.py:74 -msgid "" -"please use following characters in tags: letters 'a-z', numbers, and " -"characters '.-_#'" -msgstr "标签请使用英文字母,中文或者数字字符串(. - _ # 也可以)" - -# index.html -#: forum/forms.py:84 -#: forum/skins/default/templates/post_contributor_info.html:7 -#: forum/skins/default/templates/question_summary_list_roll.html:26 -#: forum/skins/default/templates/question_summary_list_roll.html:38 -msgid "community wiki" -msgstr "社区Wiki" - -#: forum/forms.py:85 -msgid "" -"if you choose community wiki option, the question and answer do not generate " -"points and name of author will not be shown" -msgstr "选择社区wiki模式,问答不计算积分,签名也不显示作者信息" - -#: forum/forms.py:101 -msgid "update summary:" -msgstr "更新概要:" - -#: forum/forms.py:102 -msgid "" -"enter a brief summary of your revision (e.g. fixed spelling, grammar, " -"improved style, this field is optional)" -msgstr "" -"输入本次修改的简单概述(如:修改了别字,修正了语法,改进了样式等。非必填" -"项。)" - -#: forum/forms.py:105 -msgid "Automatically accept user's contributions for the email updates" -msgstr "" - -#: forum/forms.py:118 -#, fuzzy -msgid "Your name:" -msgstr "用户名" - -#: forum/forms.py:119 -#, fuzzy -msgid "Email (not shared with anyone):" -msgstr "电子邮件(用于头像显示服务)" - -#: forum/forms.py:120 -#, fuzzy -msgid "Your message:" -msgstr "Copyright(c)2009.CNPROG.COM" - -#: forum/forms.py:202 -msgid "this email does not have to be linked to gravatar" -msgstr "不会公开,用于头像显示服务" - -#: forum/forms.py:204 -#, fuzzy -msgid "Screen name" -msgstr "姓名" - -#: forum/forms.py:205 -msgid "Real name" -msgstr "真实姓名" - -#: forum/forms.py:206 -msgid "Website" -msgstr "个人网站" - -#: forum/forms.py:207 -msgid "Location" -msgstr "城市" - -#: forum/forms.py:208 -msgid "Date of birth" -msgstr "生日" - -#: forum/forms.py:208 -msgid "will not be shown, used to calculate age, format: YYYY-MM-DD" -msgstr "不会公开,只会显示您的年龄,格式为:YYYY-MM-DD" - -#: forum/forms.py:209 forum/skins/default/templates/account_settings.html:21 -msgid "Profile" -msgstr "个人简介" - -#: forum/forms.py:240 forum/forms.py:241 -msgid "this email has already been registered, please use another one" -msgstr "该电子邮件已被注册,请选择另一个再试。" - -# this is how above two are supposed to be -#: forum/subscriptions.py:41 -#, fuzzy, python-format -msgid "New question on %(app_name)s" -msgstr "查看有关'%(tagname)s'的问题" - -#: forum/subscriptions.py:73 -#, fuzzy, python-format -msgid "New answer to '%(question_title)s'" -msgstr "回答该问题" - -#: forum/subscriptions.py:112 -#, fuzzy, python-format -msgid "New comment on %(question_title)s" -msgstr "评论问题" - -#: forum/subscriptions.py:136 -#, python-format -msgid "An answer to '%(question_title)s' was accepted" -msgstr "" - -#: forum/subscriptions.py:156 -#, python-format -msgid "%(username)s is a new member on %(app_name)s" -msgstr "" - -#: forum/urls.py:44 -#, fuzzy -msgid "upfiles/" -msgstr "个人资料" - -# footer.html -#: forum/urls.py:49 -#, fuzzy -msgid "about/" -msgstr "关于本站" - -#: forum/urls.py:50 -#, fuzzy -msgid "faq/" -msgstr "常见问题" - -#: forum/urls.py:51 -#, fuzzy -msgid "privacy/" -msgstr "隐私政策" - -#: forum/urls.py:52 -#, fuzzy -msgid "logout/" -msgstr "退出登录" - -#: forum/urls.py:53 forum/urls.py:54 -#, fuzzy -msgid "answers/" -msgstr "回答" - -#: forum/urls.py:53 forum/urls.py:58 forum/urls.py:98 -#: forum/skins/default/templates/users/info.html:44 -#, fuzzy -msgid "edit/" -msgstr "编辑" - -#: forum/urls.py:54 forum/urls.py:74 -#, fuzzy -msgid "revisions/" -msgstr "版本" - -#: forum/urls.py:55 forum/urls.py:56 forum/urls.py:57 forum/urls.py:58 -#: forum/urls.py:59 forum/urls.py:60 forum/urls.py:61 forum/urls.py:74 -#, fuzzy -msgid "questions/" -msgstr "问题" - -#: forum/urls.py:56 forum_modules/books/urls.py:8 -#, fuzzy -msgid "ask/" -msgstr "提问于" - -#: forum/urls.py:57 -#, fuzzy -msgid "unanswered/" -msgstr "回答" - -#: forum/urls.py:59 -#, fuzzy -msgid "close/" -msgstr "关闭" - -#: forum/urls.py:60 -#, fuzzy -msgid "reopen/" -msgstr "打开" - -#: forum/urls.py:61 -#, fuzzy -msgid "answer/" -msgstr "回答" - -#: forum/urls.py:63 -#, fuzzy -msgid "vote/" -msgstr "票" - -#: forum/urls.py:64 -#, fuzzy -msgid "like_comment/" -msgstr "评论" - -#: forum/urls.py:65 -#, fuzzy -msgid "comment/" -msgstr "评论" - -#: forum/urls.py:66 -#, fuzzy -msgid "delete_comment/" -msgstr "删除任何一个评论" - -#: forum/urls.py:67 -#, fuzzy -msgid "accept_answer/" -msgstr "回答" - -#: forum/urls.py:68 -#, fuzzy -msgid "mark_favorite/" -msgstr "收藏" - -#: forum/urls.py:69 -msgid "flag/" -msgstr "" - -#: forum/urls.py:70 -msgid "delete/" -msgstr "删除" - -#: forum/urls.py:71 -msgid "subscribe/" -msgstr "" - -#: forum/urls.py:72 -msgid "matching_tags/" -msgstr "" - -#: forum/urls.py:75 -#, fuzzy -msgid "command/" -msgstr "评论" - -#: forum/urls.py:78 -#, fuzzy -msgid "question/" -msgstr "提问" - -#: forum/urls.py:79 forum/urls.py:80 -#, fuzzy -msgid "tags/" -msgstr "标签" - -#: forum/urls.py:82 forum/urls.py:86 -msgid "mark-tag/" -msgstr "" - -#: forum/urls.py:82 -msgid "interesting/" -msgstr "" - -#: forum/urls.py:86 -msgid "ignored/" -msgstr "" - -#: forum/urls.py:90 -msgid "unmark-tag/" -msgstr "" - -#: forum/urls.py:96 forum/urls.py:98 forum/urls.py:100 forum/urls.py:101 -#: forum/urls.py:102 forum/urls.py:103 forum/urls.py:104 forum/urls.py:105 -#: forum/models/user.py:124 -#, fuzzy -msgid "users/" -msgstr "用户" - -#: forum/urls.py:97 -msgid "moderate-user/" -msgstr "" - -#: forum/urls.py:100 -#, fuzzy -msgid "subscriptions/" -msgstr "问题" - -#: forum/urls.py:101 -#, fuzzy -msgid "favorites/" -msgstr "收藏" - -#: forum/urls.py:102 -#, fuzzy -msgid "reputation/" -msgstr "积分" - -#: forum/urls.py:103 -#, fuzzy -msgid "votes/" -msgstr "票" - -#: forum/urls.py:104 -#, fuzzy -msgid "recent/" -msgstr "最新加入" - -#: forum/urls.py:107 forum/urls.py:108 -#, fuzzy -msgid "badges/" -msgstr "奖牌榜" - -#: forum/urls.py:109 -msgid "messages/" -msgstr "" - -#: forum/urls.py:109 -msgid "markread/" -msgstr "" - -#: forum/urls.py:111 -msgid "nimda/" -msgstr "" - -#: forum/urls.py:113 -msgid "upload/" -msgstr "" - -#: forum/urls.py:114 -#, fuzzy -msgid "search/" -msgstr "搜索" - -#: forum/urls.py:115 -#, fuzzy -msgid "feedback/" -msgstr "问题反馈" - -#: forum/urls.py:119 forum/urls.py:120 forum/urls.py:121 forum/urls.py:122 -#: forum/urls.py:123 forum/urls.py:124 forum/urls.py:125 forum/urls.py:126 -#: forum/urls.py:127 forum/urls.py:128 forum/urls.py:129 forum/urls.py:130 -#: forum_modules/localauth/urls.py:7 -#, fuzzy -msgid "account/" -msgstr "新帐号" - -#: forum/urls.py:119 forum/urls.py:121 forum/urls.py:122 -msgid "signin/" -msgstr "" - -#: forum/urls.py:120 -msgid "signout/" -msgstr "" - -#: forum/urls.py:123 -#, fuzzy -msgid "done/" -msgstr "投反对票" - -#: forum/urls.py:124 forum_modules/localauth/urls.py:7 -#, fuzzy -msgid "register/" -msgstr "确认" - -#: forum/urls.py:125 -msgid "validate/" -msgstr "" - -#: forum/urls.py:126 forum/urls.py:127 -msgid "tempsignin/" -msgstr "" - -#: forum/urls.py:128 -#, fuzzy -msgid "authsettings/" -msgstr "设置" - -#: forum/urls.py:129 forum/urls.py:130 -msgid "providers/" -msgstr "" - -#: forum/urls.py:129 -#, fuzzy -msgid "remove/" -msgstr "打开" - -#: forum/urls.py:130 -msgid "add/" -msgstr "" - -#: forum/urls.py:133 forum/urls.py:134 forum/urls.py:135 forum/urls.py:136 -#: forum/urls.py:137 forum_modules/sximporter/urls.py:8 -msgid "admin/" -msgstr "" - -#: forum/urls.py:134 -msgid "denormalize/" -msgstr "" - -#: forum/urls.py:135 -msgid "go_bootstrap/" -msgstr "" - -#: forum/urls.py:136 -msgid "go_defaults/" -msgstr "" - -#: forum/authentication/forms.py:21 -#, fuzzy -msgid "Your account email" -msgstr "修改电子邮件" - -#: forum/authentication/forms.py:23 -msgid "You cannot leave this field blank" -msgstr "" - -#: forum/authentication/forms.py:24 forum/utils/forms.py:107 -msgid "please enter a valid email address" -msgstr "" - -#: forum/authentication/forms.py:32 -msgid "Sorry, but this email is not on our database." -msgstr "" - -#: forum/authentication/forms.py:40 -msgid "okay, let's try!" -msgstr "" - -#: forum/authentication/forms.py:41 -msgid "no OSQA community email please, thanks" -msgstr "" - -#: forum/authentication/forms.py:44 -msgid "please choose one of the options above" -msgstr "" - -#: forum/authentication/forms.py:51 -#, fuzzy -msgid "Current password" -msgstr "确认密码" - -#: forum/authentication/forms.py:62 -msgid "" -"Old password is incorrect. Please enter the correct " -"password." -msgstr "" - -#: forum/management/commands/send_email_alerts.py:56 -msgid "Daily digest" -msgstr "" - -#: forum/middleware/anon_user.py:34 -#, python-format -msgid "First time here? Check out the FAQ!" -msgstr "" - -#: forum/models/question.py:30 -#, fuzzy -msgid "[closed] " -msgstr "[已关闭]" - -#: forum/models/question.py:33 -#, fuzzy -msgid "[deleted] " -msgstr "[已删除]" - -#: forum/models/repute.py:13 forum/skins/default/templates/badges.html:53 -msgid "gold" -msgstr "金牌" - -#: forum/models/repute.py:14 forum/skins/default/templates/badges.html:61 -msgid "silver" -msgstr "银牌" - -#: forum/models/repute.py:15 forum/skins/default/templates/badges.html:68 -msgid "bronze" -msgstr "" - -#: forum/models/tag.py:28 -#, fuzzy -msgid "interesting" -msgstr "修改问题" - -#: forum/models/tag.py:28 -msgid "ignored" -msgstr "" - -#: forum/models/user.py:255 -#: forum/skins/default/templates/post_contributor_info.html:19 -msgid "asked" -msgstr "提问于" - -#: forum/models/user.py:257 -#: forum/skins/default/templates/post_contributor_info.html:22 -#, fuzzy -msgid "answered" -msgstr "回答" - -#: forum/models/user.py:259 -#, fuzzy -msgid "marked an answer" -msgstr "标记最佳答案" - -#: forum/models/user.py:261 -#, fuzzy -msgid "edited a question" -msgstr "修改问题" - -#: forum/models/user.py:263 -#, fuzzy -msgid "commented a question" -msgstr "评论问题" - -#: forum/models/user.py:265 -#, fuzzy -msgid "commented an answer" -msgstr "修改回答" - -#: forum/models/user.py:267 -#, fuzzy -msgid "edited an answer" -msgstr "编辑任何问题或答案" - -#: forum/models/user.py:269 -#, fuzzy -msgid "received badge" -msgstr "获奖" - -#: forum/settings/__init__.py:20 -#, fuzzy -msgid "Badges config" -msgstr "枚奖牌" - -#: forum/settings/__init__.py:20 -msgid "Configure badges on your OSQA site." -msgstr "" - -#: forum/settings/basic.py:9 -#, fuzzy -msgid "Basic Settings" -msgstr "设置" - -#: forum/settings/basic.py:9 -msgid "The basic settings for your application" -msgstr "" - -#: forum/settings/basic.py:12 -msgid "Application logo" -msgstr "" - -#: forum/settings/basic.py:13 -msgid "Your site main logo." -msgstr "" - -#: forum/settings/basic.py:17 -msgid "Favicon" -msgstr "" - -#: forum/settings/basic.py:18 -msgid "Your site favicon." -msgstr "" - -#: forum/settings/basic.py:22 -#, fuzzy -msgid "Application title" -msgstr "【出版日期】" - -#: forum/settings/basic.py:23 -msgid "The title of your application that will show in the browsers title bar" -msgstr "" - -#: forum/settings/basic.py:26 -#, fuzzy -msgid "Application short name" -msgstr "【出版日期】" - -#: forum/settings/basic.py:30 -msgid "Application keywords" -msgstr "" - -#: forum/settings/basic.py:31 -msgid "The meta keywords that will be available through the HTML meta tags." -msgstr "" - -#: forum/settings/basic.py:34 -#, fuzzy -msgid "Application description" -msgstr "完全重复的问题" - -#: forum/settings/basic.py:35 -msgid "The description of your application" -msgstr "" - -#: forum/settings/basic.py:39 -#, fuzzy -msgid "Application intro" -msgstr "【出版日期】" - -#: forum/settings/basic.py:40 -msgid "" -"The introductory page that is visible in the sidebar for anonymous users." -msgstr "" - -#: forum/settings/basic.py:44 -#, fuzzy -msgid "Copyright notice" -msgstr "Copyright(c)2009.CNPROG.COM" - -#: forum/settings/basic.py:45 -msgid "The copyright notice visible at the footer of your page." -msgstr "" - -#: forum/settings/basic.py:48 -msgid "Maximum length of comment" -msgstr "" - -#: forum/settings/basic.py:49 -msgid "The maximum length a user can enter for a comment." -msgstr "" - -#: forum/settings/email.py:5 -#, fuzzy -msgid "Email Settings" -msgstr "设置" - -#: forum/settings/email.py:5 -msgid "Email server and other email related settings." -msgstr "" - -#: forum/settings/email.py:8 -msgid "Email Server" -msgstr "" - -#: forum/settings/email.py:9 -msgid "The SMTP server through which your application will be sending emails." -msgstr "" - -#: forum/settings/email.py:13 -msgid "Email Port" -msgstr "" - -#: forum/settings/email.py:14 -msgid "" -"The port on which your SMTP server is listening to. Usually this is 25, but " -"can be something else." -msgstr "" - -#: forum/settings/email.py:18 -msgid "Email User" -msgstr "" - -#: forum/settings/email.py:19 -msgid "The username for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:23 -#, fuzzy -msgid "Email Password" -msgstr "密码" - -#: forum/settings/email.py:24 -msgid "The password for your SMTP connection." -msgstr "" - -#: forum/settings/email.py:29 -#, fuzzy -msgid "Use TLS" -msgstr "使用" - -#: forum/settings/email.py:30 -msgid "Does your SMTP server usFes TLS for authentication." -msgstr "" - -#: forum/settings/email.py:34 -#, fuzzy -msgid "Site 'from' email address" -msgstr "您的电子邮件地址" - -#: forum/settings/email.py:35 -msgid "" -"The address that will show up on the 'from' field on emails sent by your " -"website." -msgstr "" - -#: forum/settings/email.py:39 -msgid "Email subject prefix" -msgstr "" - -#: forum/settings/email.py:40 -msgid "" -"Every email sent through your website will have the subject prefixed by this " -"string. It's usually a good idea to have such a prefix so your users can " -"easilly set up a filter on their email clients." -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "External Keys" -msgstr "" - -#: forum/settings/extkeys.py:4 -msgid "" -"Keys for various external providers that your application may optionally use." -msgstr "" - -#: forum/settings/extkeys.py:7 -msgid "Google sitemap code" -msgstr "" - -#: forum/settings/extkeys.py:8 -msgid "" -"This is the code you get when you register your site at Google webmaster central." -msgstr "" - -#: forum/settings/extkeys.py:12 -msgid "Google analytics key" -msgstr "" - -#: forum/settings/extkeys.py:13 -msgid "" -"Your Google analytics key. You can get one at the Google analytics official website" -msgstr "" - -#: forum/settings/forms.py:40 -#, fuzzy -msgid "Change this:" -msgstr "修改问题标签" - -#: forum/settings/minrep.py:4 -#, fuzzy -msgid "Minimum reputation config" -msgstr "积分" - -#: forum/settings/minrep.py:4 -msgid "" -"Configure the minimum reputation required to perform certain actions on your " -"site." -msgstr "" - -#: forum/settings/minrep.py:7 -msgid "Minimum reputation to vote up" -msgstr "" - -#: forum/settings/minrep.py:8 -msgid "The minimum reputation an user must have to be allowed to vote up." -msgstr "" - -#: forum/settings/minrep.py:11 -#, fuzzy -msgid "Minimum reputation to vote down" -msgstr "用户社区积分" - -#: forum/settings/minrep.py:12 -msgid "The minimum reputation an user must have to be allowed to vote down." -msgstr "" - -#: forum/settings/minrep.py:15 -msgid "Minimum reputation to flag a post" -msgstr "" - -#: forum/settings/minrep.py:16 -msgid "The minimum reputation an user must have to be allowed to flag a post." -msgstr "" - -#: forum/settings/minrep.py:19 -#, fuzzy -msgid "Minimum reputation to comment" -msgstr "用户社区积分" - -#: forum/settings/minrep.py:20 -msgid "" -"The minimum reputation an user must have to be allowed to comment a post." -msgstr "" - -#: forum/settings/minrep.py:23 -#, fuzzy -msgid "Minimum reputation to like a comment" -msgstr "用户社区积分" - -#: forum/settings/minrep.py:24 -msgid "" -"The minimum reputation an user must have to be allowed to \"like\" a comment." -msgstr "" - -#: forum/settings/minrep.py:27 -msgid "Minimum reputation to upload" -msgstr "" - -#: forum/settings/minrep.py:28 -msgid "" -"The minimum reputation an user must have to be allowed to upload a file." -msgstr "" - -#: forum/settings/minrep.py:31 -msgid "Minimum reputation to close own question" -msgstr "" - -#: forum/settings/minrep.py:32 -msgid "" -"The minimum reputation an user must have to be allowed to close his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:35 -msgid "Minimum reputation to reopen own question" -msgstr "" - -#: forum/settings/minrep.py:36 -msgid "" -"The minimum reputation an user must have to be allowed to reopen his own " -"question." -msgstr "" - -#: forum/settings/minrep.py:39 -#, fuzzy -msgid "Minimum reputation to retag others questions" -msgstr "其他用户的回复和评论" - -#: forum/settings/minrep.py:40 -msgid "" -"The minimum reputation an user must have to be allowed to retag others " -"questions." -msgstr "" - -#: forum/settings/minrep.py:43 -msgid "Minimum reputation to edit wiki posts" -msgstr "" - -#: forum/settings/minrep.py:44 -msgid "" -"The minimum reputation an user must have to be allowed to edit community " -"wiki posts." -msgstr "" - -#: forum/settings/minrep.py:47 -msgid "Minimum reputation to edit others posts" -msgstr "" - -#: forum/settings/minrep.py:48 -msgid "" -"The minimum reputation an user must have to be allowed to edit others posts." -msgstr "" - -#: forum/settings/minrep.py:51 -msgid "Minimum reputation to close others posts" -msgstr "" - -#: forum/settings/minrep.py:52 -msgid "" -"The minimum reputation an user must have to be allowed to close others posts." -msgstr "" - -#: forum/settings/minrep.py:55 -#, fuzzy -msgid "Minimum reputation to delete comments" -msgstr "用户社区积分" - -#: forum/settings/minrep.py:56 -msgid "" -"The minimum reputation an user must have to be allowed to delete comments." -msgstr "" - -#: forum/settings/minrep.py:59 -msgid "Minimum reputation to view offensive flags" -msgstr "" - -#: forum/settings/minrep.py:60 -msgid "The minimum reputation an user must have to view offensive flags." -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "Reputation gains and losses config" -msgstr "" - -#: forum/settings/repgain.py:4 -msgid "" -"Configure the reputation points a user may gain or lose upon certain actions." -msgstr "" - -#: forum/settings/repgain.py:7 -#, fuzzy -msgid "Initial reputation" -msgstr "积分" - -#: forum/settings/repgain.py:8 -msgid "The initial reputation an user gets when he first signs in." -msgstr "" - -#: forum/settings/repgain.py:12 -msgid "Maximum reputation a user can gain in one day for being upvoted." -msgstr "" - -#: forum/settings/repgain.py:15 -msgid "Rep gain by upvoted" -msgstr "" - -#: forum/settings/repgain.py:16 -msgid "Reputation a user gains for having one of his posts up voted." -msgstr "" - -#: forum/settings/repgain.py:19 -msgid "Rep lost bu upvote canceled" -msgstr "" - -#: forum/settings/repgain.py:20 -msgid "" -"Reputation a user loses for having one of the upvotes on his posts canceled." -msgstr "" - -#: forum/settings/repgain.py:23 -#, fuzzy -msgid "Rep lost by downvoted" -msgstr "投反对票" - -#: forum/settings/repgain.py:24 -msgid "Reputation a user loses for having one of his posts down voted." -msgstr "" - -#: forum/settings/repgain.py:27 -msgid "Rep lost by downvoting" -msgstr "" - -#: forum/settings/repgain.py:28 -msgid "Reputation a user loses for down voting a post." -msgstr "" - -#: forum/settings/repgain.py:31 -msgid "Rep gain by downvote canceled" -msgstr "" - -#: forum/settings/repgain.py:32 -msgid "" -"Reputation a user gains for having one of the downvotes on his posts " -"canceled." -msgstr "" - -#: forum/settings/repgain.py:35 -msgid "Rep gain by canceling downvote" -msgstr "" - -#: forum/settings/repgain.py:36 -msgid "Reputation a user gains for canceling a downvote." -msgstr "" - -#: forum/settings/repgain.py:39 -#, fuzzy -msgid "Rep gain by accepted answer" -msgstr "修改回答" - -#: forum/settings/repgain.py:40 -msgid "Reputation a user gains for having one of his answers accepted." -msgstr "" - -#: forum/settings/repgain.py:43 -msgid "Rep lost by accepted canceled" -msgstr "" - -#: forum/settings/repgain.py:44 -msgid "" -"Reputation a user loses for having one of his accepted answers canceled." -msgstr "" - -#: forum/settings/repgain.py:47 -msgid "Rep gain by accepting answer" -msgstr "" - -#: forum/settings/repgain.py:48 -msgid "" -"Reputation a user gains for accepting an answer to one of his questions." -msgstr "" - -#: forum/settings/repgain.py:51 -msgid "Rep lost by canceling accepted" -msgstr "" - -#: forum/settings/repgain.py:52 -msgid "Reputation a user loses by canceling an accepted answer." -msgstr "" - -#: forum/settings/repgain.py:55 -msgid "Rep lost by post flagged" -msgstr "" - -#: forum/settings/repgain.py:56 -msgid "Reputation a user loses by having one of his posts flagged." -msgstr "" - -#: forum/settings/repgain.py:59 -msgid "Rep lost by post flagged and hidden" -msgstr "" - -#: forum/settings/repgain.py:60 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to hide the post." -msgstr "" - -#: forum/settings/repgain.py:63 -msgid "Rep lost by post flagged and deleted" -msgstr "" - -#: forum/settings/repgain.py:64 -msgid "" -"Reputation a user loses by having the last revision of one of his posts " -"flagged the enough number of times to delete the post." -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File upload settings" -msgstr "" - -#: forum/settings/upload.py:5 -msgid "File uploads related settings." -msgstr "" - -#: forum/settings/upload.py:8 -msgid "Uploaded files folder" -msgstr "" - -#: forum/settings/upload.py:9 -msgid "" -"The filesystem path where uploaded files will be stored. Please note that " -"this folder must exist." -msgstr "" - -#: forum/settings/upload.py:12 -msgid "Uploaded files alias" -msgstr "" - -#: forum/settings/upload.py:13 -msgid "" -"The url alias for uploaded files. Notice that if you change this setting, " -"you'll need to restart your site." -msgstr "" - -#: forum/settings/upload.py:16 -msgid "Max file size" -msgstr "" - -#: forum/settings/upload.py:17 -#, fuzzy -msgid "The maximum allowed file size for uploads in mb." -msgstr "只允许上传%sK大小的文件!" - -#: forum/settings/voting.py:4 -msgid "Voting rules" -msgstr "" - -#: forum/settings/voting.py:4 -msgid "Configure the voting rules on your site." -msgstr "" - -#: forum/settings/voting.py:7 -msgid "Maximum votes per day" -msgstr "" - -#: forum/settings/voting.py:8 -msgid "The maximum number of votes an user can cast per day." -msgstr "" - -#: forum/settings/voting.py:11 -msgid "Start warning about votes left" -msgstr "" - -#: forum/settings/voting.py:12 -msgid "From how many votes left should an user start to be warned about it." -msgstr "" - -#: forum/settings/voting.py:15 -msgid "Maximum flags per day" -msgstr "" - -#: forum/settings/voting.py:16 -msgid "The maximum number of times an can flag a post per day." -msgstr "" - -#: forum/settings/voting.py:19 -msgid "Flag count to hide post" -msgstr "" - -#: forum/settings/voting.py:20 -msgid "" -"How many times a post needs to be flagged to be hidden from the main page." -msgstr "" - -#: forum/settings/voting.py:23 -#, fuzzy -msgid "Flag count to delete post" -msgstr "删除帐号" - -#: forum/settings/voting.py:24 -msgid "How many times a post needs to be flagged to be deleted." -msgstr "" - -#: forum/settings/voting.py:27 -#, fuzzy -msgid "Days to cancel a vote" -msgstr "撤销投票" - -#: forum/settings/voting.py:28 -msgid "How many days an user can cancel a vote after he originaly casted it." -msgstr "" - -#: forum/skins/default/templates/404.html:24 -msgid "Sorry, could not find the page you requested." -msgstr "对不起,没有找到您请求的页面!" - -#: forum/skins/default/templates/404.html:26 -msgid "This might have happened for the following reasons:" -msgstr "有可能是以下原因导致:" - -#: forum/skins/default/templates/404.html:28 -msgid "this question or answer has been deleted;" -msgstr "你正在查看的问题或者回答已经被删除;" - -#: forum/skins/default/templates/404.html:29 -msgid "url has error - please check it;" -msgstr "请求的地址有误 - 请核实原始URL地址;" - -#: forum/skins/default/templates/404.html:30 -msgid "" -"the page you tried to visit is protected or you don't have sufficient " -"points, see" -msgstr "访问的页面被保护或你的积分不够,参见" - -#: forum/skins/default/templates/404.html:31 -msgid "if you believe this error 404 should not have occured, please" -msgstr "如果你确信不该出现404错误,请" - -#: forum/skins/default/templates/404.html:32 -msgid "report this problem" -msgstr "报告这个问题" - -#: forum/skins/default/templates/404.html:41 -#: forum/skins/default/templates/500.html:27 -msgid "back to previous page" -msgstr "返回前页" - -#: forum/skins/default/templates/404.html:42 -msgid "see all questions" -msgstr "查看最新问题" - -#: forum/skins/default/templates/404.html:43 -msgid "see all tags" -msgstr "查看标签列表" - -#: forum/skins/default/templates/500.html:22 -msgid "sorry, system error" -msgstr "" - -#: forum/skins/default/templates/500.html:24 -msgid "system error log is recorded, error will be fixed as soon as possible" -msgstr "" - -#: forum/skins/default/templates/500.html:25 -msgid "please report the error to the site administrators if you wish" -msgstr "" - -#: forum/skins/default/templates/500.html:28 -#, fuzzy -msgid "see latest questions" -msgstr "最新问题" - -#: forum/skins/default/templates/500.html:29 -#, fuzzy -msgid "see tags" -msgstr "标记垃圾帖" - -#: forum/skins/default/templates/_question_list.html:12 -#: forum/skins/default/templates/book.html:105 -#: forum/skins/default/templates/question_summary_list_roll.html:14 -#: forum/skins/default/templates/question_list/item.html:10 -#: forum/views/commands.py:82 -msgid "votes" -msgstr "票" - -#: forum/skins/default/templates/_question_list.html:14 -#, fuzzy -msgid "this answer has been accepted to be correct" -msgstr "有答案已被接受为正确答案" - -#: forum/skins/default/templates/_question_list.html:16 -#: forum/skins/default/templates/question_summary_list_roll.html:13 -#: forum/skins/default/templates/question_list/item.html:14 -msgid "answers" -msgstr "回答" - -#: forum/skins/default/templates/_question_list.html:20 -#: forum/skins/default/templates/book.html:115 -#: forum/skins/default/templates/question_summary_list_roll.html:15 -#: forum/skins/default/templates/question_list/item.html:18 -msgid "views" -msgstr "浏览" - -# must have extra space after in english -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "see questions tagged" -msgstr "查看有关" - -# book.html line 123 must be empty in english -#: forum/skins/default/templates/_question_list.html:34 -#: forum/skins/default/templates/book.html:125 -#: forum/skins/default/templates/question.html:234 -#: forum/skins/default/templates/question_summary_list_roll.html:52 -#: forum/skins/default/templates/tags.html:49 -#: forum/skins/default/templates/question_list/item.html:29 -msgid "using tags" -msgstr "的问题" - -# footer.html -#: forum/skins/default/templates/about.html:5 -#: forum/skins/default/templates/about.html:9 -#, fuzzy -msgid "About" -msgstr "关于本站" - -#: forum/skins/default/templates/account_settings.html:4 -msgid "Account functions" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:29 -#: forum/skins/default/templates/auth/auth_settings.html:31 -msgid "Change password" -msgstr "修改密码" - -#: forum/skins/default/templates/account_settings.html:30 -msgid "Give your account a new password." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:32 -msgid "Change email " -msgstr "更换电子邮件" - -#: forum/skins/default/templates/account_settings.html:33 -msgid "Add or update the email address associated with your account." -msgstr "" - -#: forum/skins/default/templates/account_settings.html:35 -msgid "Change OpenID" -msgstr "更换OpenID地址" - -#: forum/skins/default/templates/account_settings.html:36 -msgid "Change openid associated to your account" -msgstr "" - -#: forum/skins/default/templates/account_settings.html:39 -msgid "Delete account" -msgstr "删除帐号" - -#: forum/skins/default/templates/account_settings.html:40 -msgid "Erase your username and all your data from website" -msgstr "" - -#: forum/skins/default/templates/answer_edit.html:5 -#: forum/skins/default/templates/answer_edit.html:39 -msgid "Edit answer" -msgstr "修改回答" - -#: forum/skins/default/templates/answer_edit.html:18 -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:19 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:19 -#: forum/skins/default/templates/question_edit.html:22 -msgid "hide preview" -msgstr "禁用预览" - -#: forum/skins/default/templates/answer_edit.html:21 -#: forum/skins/default/templates/ask.html:22 -#: forum/skins/default/templates/question_edit.html:22 -msgid "show preview" -msgstr "启用预览" - -#: forum/skins/default/templates/answer_edit.html:39 -#: forum/skins/default/templates/question_edit.html:63 -#: forum/skins/default/templates/question_retag.html:56 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "back" -msgstr "返回" - -#: forum/skins/default/templates/answer_edit.html:44 -#: forum/skins/default/templates/question_edit.html:68 -#: forum/skins/default/templates/revisions_answer.html:50 -#: forum/skins/default/templates/revisions_question.html:49 -msgid "revision" -msgstr "版本" - -#: forum/skins/default/templates/answer_edit.html:47 -#: forum/skins/default/templates/question_edit.html:72 -msgid "select revision" -msgstr "选择版本" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:184 -#: forum/skins/default/templates/question_edit.html:89 -msgid "Toggle the real time Markdown editor preview" -msgstr "打开或者关闭Markdown编辑器的实时预览" - -#: forum/skins/default/templates/answer_edit.html:54 -#: forum/skins/default/templates/ask.html:93 -#: forum/skins/default/templates/question.html:185 -#: forum/skins/default/templates/question_edit.html:89 -msgid "toggle preview" -msgstr "预览开关" - -# synonym of above in Edit question -#: forum/skins/default/templates/answer_edit.html:63 -#: forum/skins/default/templates/question_edit.html:115 -#: forum/skins/default/templates/question_retag.html:77 -msgid "Save edit" -msgstr "现在修改" - -#: forum/skins/default/templates/answer_edit.html:64 -#: forum/skins/default/templates/close.html:29 -#: forum/skins/default/templates/feedback.html:50 -#: forum/skins/default/templates/question_edit.html:116 -#: forum/skins/default/templates/question_retag.html:78 -#: forum/skins/default/templates/reopen.html:30 -#: forum/skins/default/templates/users/edit.html:87 -msgid "Cancel" -msgstr "取消" - -#: forum/skins/default/templates/answer_edit_tips.html:4 -msgid "answer tips" -msgstr "受欢迎的提问" - -#: forum/skins/default/templates/answer_edit_tips.html:7 -msgid "please make your answer relevant to this community" -msgstr "您的问题与编程相关吗?" - -#: forum/skins/default/templates/answer_edit_tips.html:10 -msgid "try to give an answer, rather than engage into a discussion" -msgstr "建议您提的问题是可以被答复的,而不仅仅是可以讨论。" - -#: forum/skins/default/templates/answer_edit_tips.html:13 -#, fuzzy -msgid "please try to provide details" -msgstr "请详细描述您的问题。" - -#: forum/skins/default/templates/answer_edit_tips.html:16 -#: forum/skins/default/templates/question_edit_tips.html:18 -msgid "be clear and concise" -msgstr "我们推荐您使用中文描述问题,这样可以得到更多的答复机会。" - -#: forum/skins/default/templates/answer_edit_tips.html:20 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "see frequently asked questions" -msgstr "查看常见问题" - -#: forum/skins/default/templates/answer_edit_tips.html:26 -#: forum/skins/default/templates/question_edit_tips.html:28 -msgid "Markdown tips" -msgstr "Markdown快速参考" - -#: forum/skins/default/templates/answer_edit_tips.html:29 -#: forum/skins/default/templates/question_edit_tips.html:31 -#, fuzzy -msgid "*italic* or __italic__" -msgstr "*斜体* 或者 _斜体_" - -#: forum/skins/default/templates/answer_edit_tips.html:32 -#: forum/skins/default/templates/question_edit_tips.html:34 -msgid "**bold** or __bold__" -msgstr "**加粗** 或者 __加粗__ " - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/question_edit_tips.html:37 -msgid "link" -msgstr "链接" - -#: forum/skins/default/templates/answer_edit_tips.html:35 -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:37 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "text" -msgstr "文本" - -#: forum/skins/default/templates/answer_edit_tips.html:39 -#: forum/skins/default/templates/question_edit_tips.html:42 -msgid "image" -msgstr "图片" - -#: forum/skins/default/templates/answer_edit_tips.html:43 -#: forum/skins/default/templates/question_edit_tips.html:46 -msgid "numbered list:" -msgstr "列表:" - -#: forum/skins/default/templates/answer_edit_tips.html:48 -#: forum/skins/default/templates/question_edit_tips.html:51 -msgid "basic HTML tags are also supported" -msgstr "基本的HTML标签也是支持的" - -#: forum/skins/default/templates/answer_edit_tips.html:52 -#: forum/skins/default/templates/question_edit_tips.html:55 -msgid "learn more about Markdown" -msgstr "有关Markdown详细说明" - -#: forum/skins/default/templates/ask.html:5 -#: forum/skins/default/templates/ask.html:57 -msgid "Ask a question" -msgstr "我要提问" - -#: forum/skins/default/templates/ask.html:64 -#, fuzzy -msgid "login to post question info" -msgstr "问题按提问时间显示排序。新加入的问题将显示在最前面。" - -#: forum/skins/default/templates/ask.html:70 -#, python-format -msgid "" -"must have valid %(email)s to post, \n" -" see %(email_validation_faq_url)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/ask.html:108 -msgid "(required)" -msgstr "" - -#: forum/skins/default/templates/ask.html:115 -msgid "Login/signup to post your question" -msgstr "" - -#: forum/skins/default/templates/ask.html:117 -msgid "Ask your question" -msgstr "现在提问" - -#: forum/skins/default/templates/badge.html:6 -#: forum/skins/default/templates/badge.html:17 -msgid "Badge" -msgstr "奖牌" - -#: forum/skins/default/templates/badge.html:26 -msgid "The users have been awarded with badges:" -msgstr "用户已被授予该奖牌:" - -#: forum/skins/default/templates/badges.html:6 -#, fuzzy -msgid "Badges summary" -msgstr "奖牌列表" - -#: forum/skins/default/templates/badges.html:17 -msgid "Badges" -msgstr "枚奖牌" - -#: forum/skins/default/templates/badges.html:21 -msgid "Community gives you awards for your questions, answers and votes." -msgstr "" -"提出问题,给予回答,投出你的票 - CNProg 会针对你在社区的表现,授予你各类奖" -"牌。" - -#: forum/skins/default/templates/badges.html:22 -#, fuzzy, python-format -msgid "" -"Below is the list of available badges and number \n" -" of times each type of badge has been awarded. Give us feedback at %" -"(feedback_faq_url)s.\n" -" " -msgstr "这里列出社区所有的奖牌,以及到目前为此,每个奖牌被授予的用户人数。" - -#: forum/skins/default/templates/badges.html:50 -msgid "Community badges" -msgstr "社区奖牌" - -#: forum/skins/default/templates/badges.html:56 -msgid "gold badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:64 -msgid "silver badge description" -msgstr "" - -#: forum/skins/default/templates/badges.html:67 -msgid "bronze badge: often given as a special honor" -msgstr "铜牌:时常授予之特殊荣誉" - -#: forum/skins/default/templates/badges.html:71 -#, fuzzy -msgid "bronze badge description" -msgstr "答读者问" - -# templates/book.html 78 -#: forum/skins/default/templates/book.html:7 -msgid "reading channel" -msgstr "读书频道" - -#: forum/skins/default/templates/book.html:26 -msgid "[author]" -msgstr "【作者】" - -#: forum/skins/default/templates/book.html:30 -msgid "[publisher]" -msgstr "【出版社】" - -#: forum/skins/default/templates/book.html:34 -msgid "[publication date]" -msgstr "【出版日期】" - -#: forum/skins/default/templates/book.html:38 -msgid "[price]" -msgstr "【价格】" - -#: forum/skins/default/templates/book.html:39 -msgid "currency unit" -msgstr "" - -#: forum/skins/default/templates/book.html:42 -msgid "[pages]" -msgstr "【页数】" - -#: forum/skins/default/templates/book.html:43 -msgid "pages abbreviation" -msgstr "" - -#: forum/skins/default/templates/book.html:46 -msgid "[tags]" -msgstr "【标签】" - -#: forum/skins/default/templates/book.html:56 -msgid "author blog" -msgstr "作者博客" - -#: forum/skins/default/templates/book.html:62 -msgid "book directory" -msgstr "书籍目录" - -#: forum/skins/default/templates/book.html:66 -msgid "buy online" -msgstr "网上购买" - -#: forum/skins/default/templates/book.html:79 -msgid "reader questions" -msgstr "答读者问" - -#: forum/skins/default/templates/book.html:82 -msgid "ask the author" -msgstr "向作者提问" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "this question was selected as favorite" -msgstr "这个问题被" - -#: forum/skins/default/templates/book.html:88 -#: forum/skins/default/templates/book.html:93 -msgid "number of times" -msgstr "位用户收藏" - -#: forum/skins/default/templates/book.html:108 -msgid "the answer has been accepted to be correct" -msgstr "有答案已被接受为正确答案" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to book RSS feed" -msgstr "RSS订阅该图书最新问题" - -#: forum/skins/default/templates/book.html:147 -msgid "subscribe to the questions feed" -msgstr "订阅最>新问题" - -# close.html -#: forum/skins/default/templates/close.html:6 -#: forum/skins/default/templates/close.html:16 -msgid "Close question" -msgstr "关闭问题" - -#: forum/skins/default/templates/close.html:19 -msgid "Close the question" -msgstr "由于以下原因,你要关闭这个问题" - -#: forum/skins/default/templates/close.html:25 -msgid "Reasons" -msgstr "原因" - -#: forum/skins/default/templates/close.html:28 -msgid "OK to close" -msgstr "确定关闭" - -#: forum/skins/default/templates/email_base.html:31 -#, fuzzy -msgid "home" -msgstr "首页" - -#: forum/skins/default/templates/faq.html:11 -msgid "Frequently Asked Questions " -msgstr "常见问题" - -#: forum/skins/default/templates/faq.html:16 -msgid "What kinds of questions can I ask here?" -msgstr "我可以在这里提问什么样的问题?" - -#: forum/skins/default/templates/faq.html:17 -#, fuzzy -msgid "" -"Most importantly - questions should be relevant to this " -"community." -msgstr "毫无疑问,首先必须是技术编程问题!" - -#: forum/skins/default/templates/faq.html:18 -msgid "" -"Before asking the question - please make sure to use search to see whether " -"your question has alredy been answered." -msgstr "" -"提问之前,充分利用系统的自动查找、标签和搜索,看看是否已经有一样的问题并有了" -"答案。" - -#: forum/skins/default/templates/faq.html:21 -msgid "What questions should I avoid asking?" -msgstr "什么样的问题我不该在这里提问?" - -#: forum/skins/default/templates/faq.html:22 -msgid "" -"Please avoid asking questions that are not relevant to this community, too " -"subjective and argumentative." -msgstr "" -"与程序员或技术无关的,引起争吵或太过于主观性等违背社" -"区宗旨的内容。本站建立是为了帮助大众程序员解决实际技术问题,我们需要实" -"际的问题!" - -#: forum/skins/default/templates/faq.html:27 -msgid "What should I avoid in my answers?" -msgstr "什么样的回答是不受欢迎的?" - -#: forum/skins/default/templates/faq.html:28 -msgid "" -"is a Q&A site, not a discussion group. Therefore - please avoid having " -"discussions in your answers, comment facility allows some space for brief " -"discussions." -msgstr "" -"希望用户提供针对提问的技术回答,可以是进一步了解问题实质,给予参考方案,或完" -"全解决问题的回答。我们希望通过问答的形式解决用户的实际问题。因此,我们不>欢迎在回答中出现不是回答问题的内容,包括针对他人回" -"答的讨论,和其他无意义的浪费网络资源行为。CNProg建议您使用评论功能来讨论你的意见和想法。" - -#: forum/skins/default/templates/faq.html:32 -msgid "Who moderates this community?" -msgstr "谁是社区的管理员?" - -#: forum/skins/default/templates/faq.html:33 -msgid "The short answer is: you." -msgstr "答案是:每个用户。" - -#: forum/skins/default/templates/faq.html:34 -msgid "This website is moderated by the users." -msgstr "社区没有严格意义上的管理员身份" - -#: forum/skins/default/templates/faq.html:35 -msgid "" -"The reputation system allows users earn the authorization to perform a " -"variety of moderation tasks." -msgstr "" -"通过积分运作,每个用户都有权限创建标签,进行对所有问" -"题、回答的投票、编辑、关闭等操作。" - -#: forum/skins/default/templates/faq.html:40 -msgid "How does reputation system work?" -msgstr "什么是社区积分?" - -#: forum/skins/default/templates/faq.html:41 -#, fuzzy -msgid "Rep system summary" -msgstr "更新概要:" - -#: forum/skins/default/templates/faq.html:42 -msgid "" -"For example, if you ask an interesting question or give a helpful answer, " -"your input will be upvoted. On the other hand if the answer is misleading - " -"it will be downvoted. Each vote in favor will generate 10 " -"points, each vote against will subtract 2 points. There is " -"a limit of 200 points that can be accumulated per question " -"or answer. The table below explains reputation point requirements for each " -"type of moderation task." -msgstr "" - -#: forum/skins/default/templates/faq.html:53 -#: forum/skins/default/templates/users/votes.html:15 -#: forum/views/commands.py:77 -msgid "upvote" -msgstr "投赞成票" - -#: forum/skins/default/templates/faq.html:57 -#, fuzzy -msgid "use tags" -msgstr "标记垃圾帖" - -# todo - check if it's indeed plural -#: forum/skins/default/templates/faq.html:62 -msgid "add comments" -msgstr "添加评论" - -#: forum/skins/default/templates/faq.html:66 -#: forum/skins/default/templates/users/votes.html:17 -#: forum/views/commands.py:77 -msgid "downvote" -msgstr "投反对票" - -#: forum/skins/default/templates/faq.html:69 -#, fuzzy -msgid "open and close own questions" -msgstr "打开关闭任何人的问题" - -#: forum/skins/default/templates/faq.html:73 -msgid "retag questions" -msgstr "给任何问题整理标签" - -#: forum/skins/default/templates/faq.html:78 -msgid "edit community wiki questions" -msgstr "编辑wiki类问题" - -#: forum/skins/default/templates/faq.html:83 -msgid "edit any answer" -msgstr "编辑任何问题或答案" - -#: forum/skins/default/templates/faq.html:87 -#, fuzzy -msgid "open any closed question" -msgstr "打开关闭任何人的问题" - -#: forum/skins/default/templates/faq.html:91 -msgid "delete any comment" -msgstr "删除任何一个评论" - -#: forum/skins/default/templates/faq.html:95 -msgid "delete any questions and answers and perform other moderation tasks" -msgstr "删除任何一个问题或答案,及其他管理功能" - -#: forum/skins/default/templates/faq.html:103 -msgid "how to validate email title" -msgstr "" - -#: forum/skins/default/templates/faq.html:105 -#, python-format -msgid "" -"how to validate email info with %(send_email_key_url)s %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/faq.html:110 -msgid "what is gravatar" -msgstr "" - -#: forum/skins/default/templates/faq.html:111 -msgid "gravatar faq info" -msgstr "" - -#: forum/skins/default/templates/faq.html:114 -msgid "To register, do I need to create new password?" -msgstr "我需要注册一个新用户吗?" - -#: forum/skins/default/templates/faq.html:115 -msgid "" -"No, you don't have to. You can login through any service that supports " -"OpenID, e.g. Google, Yahoo, AOL, etc." -msgstr "" -"不需要。社区提供了OpenID的登录支持,你要用Google、Yahoo等任何支持OpenID登录的" -"帐号就可以使用系统。" - -#: forum/skins/default/templates/faq.html:116 -msgid "Login now!" -msgstr "马上登录" - -#: forum/skins/default/templates/faq.html:121 -msgid "Why other people can edit my questions/answers?" -msgstr "为什么其他人可以修改我的问题/回答?" - -#: forum/skins/default/templates/faq.html:122 -msgid "Goal of this site is..." -msgstr "CNProg 是为了帮助程序员解决更多问题,更加方便的解决问题。" - -#: forum/skins/default/templates/faq.html:122 -msgid "" -"So questions and answers can be edited like wiki pages by experienced users " -"of this site and this improves the overall quality of the knowledge base " -"content." -msgstr "" -"所以问题和答案都是如Wiki一样可编辑的,我们希望社区能帮助用户沉淀、积累更多有" -"用的知识和经验。" - -#: forum/skins/default/templates/faq.html:123 -msgid "If this approach is not for you, we respect your choice." -msgstr "如果您不喜欢这种方式,我们尊重你的选择。" - -#: forum/skins/default/templates/faq.html:127 -msgid "Still have questions?" -msgstr "还有其他问题?" - -#: forum/skins/default/templates/faq.html:128 -#, fuzzy, python-format -msgid "" -"Please ask your question at %(ask_question_url)s, help make our community " -"better!" -msgstr "如果您对社区还有其他疑问,请一起来完善我们的" - -#: forum/skins/default/templates/faq.html:130 -#: forum/skins/default/templates/header.html:30 -#: forum/skins/default/templates/header.html:55 forum/views/readers.py:76 -msgid "questions" -msgstr "问题" - -#: forum/skins/default/templates/faq.html:130 -msgid "." -msgstr "。" - -#: forum/skins/default/templates/feedback.html:6 -#, fuzzy -msgid "Feedback" -msgstr "问题反馈" - -#: forum/skins/default/templates/feedback.html:11 -msgid "Give us your feedback!" -msgstr "" - -#: forum/skins/default/templates/feedback.html:17 -#, python-format -msgid "" -"\n" -" Dear %(user_name)s, we look " -"forward to hearing your feedback. \n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:24 -msgid "" -"\n" -" Dear visitor, we look forward to " -"hearing your feedback.\n" -" Please type and send us your message below.\n" -" " -msgstr "" - -#: forum/skins/default/templates/feedback.html:41 -#, fuzzy -msgid "(this field is required)" -msgstr " 标签不能为空。" - -#: forum/skins/default/templates/feedback.html:49 -#, fuzzy -msgid "Send Feedback" -msgstr "问题反馈" - -# footer.html -#: forum/skins/default/templates/footer.html:7 -#: forum/skins/default/templates/header.html:16 -#: forum/skins/default/templates/index.html:12 -msgid "about" -msgstr "关于本站" - -#: forum/skins/default/templates/footer.html:8 -#: forum/skins/default/templates/header.html:17 -#: forum/skins/default/templates/index.html:13 -#: forum/skins/default/templates/question_edit_tips.html:22 -msgid "faq" -msgstr "常见问题" - -#: forum/skins/default/templates/footer.html:9 -msgid "privacy policy" -msgstr "隐私政策" - -#: forum/skins/default/templates/footer.html:18 -#, fuzzy -msgid "give feedback" -msgstr "问题反馈" - -#: forum/skins/default/templates/header.html:9 -msgid "administration" -msgstr "" - -#: forum/skins/default/templates/header.html:12 -msgid "logout" -msgstr "退出登录" - -#: forum/skins/default/templates/header.html:14 -msgid "login" -msgstr "登录" - -#: forum/skins/default/templates/header.html:24 -msgid "back to home page" -msgstr "回到首页" - -#: forum/skins/default/templates/header.html:32 -#: forum/skins/default/templates/header.html:57 -msgid "users" -msgstr "用户" - -#: forum/skins/default/templates/header.html:33 -#: forum/skins/default/templates/users/signature.html:9 -#: forum/skins/default/templates/users/signature.html:15 -#: forum/skins/default/templates/users/signature.html:21 -#: forum/templatetags/extra_tags.py:167 forum/templatetags/extra_tags.py:196 -msgid "badges" -msgstr "奖牌榜" - -#: forum/skins/default/templates/header.html:34 -msgid "unanswered questions" -msgstr "没有回答的问题" - -#: forum/skins/default/templates/header.html:36 -msgid "ask a question" -msgstr "我要提问" - -#: forum/skins/default/templates/header.html:51 -msgid "search" -msgstr "搜索" - -#: forum/skins/default/templates/index.html:9 -#, fuzzy -msgid "welcome to " -msgstr "CNProg欢迎您!" - -#: forum/skins/default/templates/logout.html:6 -#: forum/skins/default/templates/logout.html:16 -msgid "Logout" -msgstr "退出登录" - -#: forum/skins/default/templates/logout.html:19 -msgid "" -"As a registered user you can login with your OpenID, log out of the site or " -"permanently remove your account." -msgstr "" -"您是系统的注册用户,可以随时使用OpenID帐号" -"登录系统或者注销登录。" - -#: forum/skins/default/templates/logout.html:20 -msgid "Logout now" -msgstr "点击退出登录" - -#: forum/skins/default/templates/notarobot.html:3 -msgid "Please prove that you are a Human Being" -msgstr "" - -#: forum/skins/default/templates/notarobot.html:10 -msgid "I am a Human Being" -msgstr "" - -#: forum/skins/default/templates/pagesize.html:6 -msgid "posts per page" -msgstr "每页显示:" - -#: forum/skins/default/templates/paginator.html:6 -#: forum/skins/default/templates/paginator.html:7 -msgid "previous" -msgstr "上一页" - -#: forum/skins/default/templates/paginator.html:19 -msgid "current page" -msgstr "当前页" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "page number " -msgstr "第" - -#: forum/skins/default/templates/paginator.html:22 -#: forum/skins/default/templates/paginator.html:29 -msgid "number - make blank in english" -msgstr "页" - -#: forum/skins/default/templates/paginator.html:33 -msgid "next page" -msgstr "下一页" - -#: forum/skins/default/templates/post_contributor_info.html:9 -#, python-format -msgid "" -"\n" -" one revision\n" -" " -msgid_plural "" -"\n" -" %(rev_count)s revisions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/post_contributor_info.html:24 -#, fuzzy -msgid "posted" -msgstr "投赞成票" - -#: forum/skins/default/templates/post_contributor_info.html:45 -msgid "updated" -msgstr "更新于" - -#: forum/skins/default/templates/privacy.html:6 -#: forum/skins/default/templates/privacy.html:11 -msgid "Privacy policy" -msgstr "隐私政策" - -#: forum/skins/default/templates/privacy.html:15 -msgid "general message about privacy" -msgstr "" -"CNProg承认用户隐私的重要性。本文件概述在您浏览CNProg过程中所接收和收集的个人" -"信息的种类,以及CNProg所采取的保护信息的一些措施。CNProg希望这将有助于您在知" -"情的情况下,就和我们 共享个人信息的问题作出决定。" - -#: forum/skins/default/templates/privacy.html:18 -msgid "Site Visitors" -msgstr "网站访问者" - -#: forum/skins/default/templates/privacy.html:20 -msgid "what technical information is collected about visitors" -msgstr "" -"当您访问本网站或使用我们的某些在线服务时,服务器会自动记录信息,包括但不限于" -"URL、IP地址、浏览器的类型、屏幕分辨率、系统类型和使用的语言以及访问日期和时" -"间。我们的目的是为了向您>提供更好的用户服务,包括可能为您提供定制的在线服务。" - -#: forum/skins/default/templates/privacy.html:23 -msgid "Personal Information" -msgstr "个人身份信息" - -#: forum/skins/default/templates/privacy.html:25 -msgid "details on personal information policies" -msgstr "" -"在登录使用CNProg的提问和回答功能时,我们要求使用者提供用户名、密码、电子邮件" -"等信息。CNProg收集这类关于个人身份的信息只是为了登录系统获得使用功能的目的。" -"我们不会向任何其他社区用 户、个人或第三方透露您的密码或者电子邮件信息。用户可" -"以选择性地填写用户资料、个人网站、年龄、城市等信息,我们收集这些内容为了使用" -"户能够更容易和更满意地使用CNProg提供的网页和服务。" - -#: forum/skins/default/templates/privacy.html:28 -msgid "Other Services" -msgstr "其他服务" - -#: forum/skins/default/templates/privacy.html:30 -msgid "details on sharing data with third parties" -msgstr "" -"CNProg可能会收集和统计用户访问本站的概况数据。例如,CNProg可能会检测网站最流" -"行的部分功能。CNProg可能会公开显示或者提供给第三方使用该数据。但是,CNProg不" -"会公开您的身份信息。" - -#: forum/skins/default/templates/privacy.html:35 -msgid "cookie policy details" -msgstr "" -"访问CNProg时,我们会向您的计算机发送一个或多个专门用于识别您的浏览器的Cookie" -"(包含一个字符串的小文件)。 使用 Cookie 的目的是通过储存用户偏好、跟踪用户倾" -"向(例如搜索方法)来提高我们的服务质量。大多数浏览器的初始设置均为接受 " -"Cookie,但也可以将其重置为拒绝所有 Cookie 或在收到 Cookie 时提示。不过,如果" -"禁用 Cookie,某些功能和服务可能无法正常运行。" - -#: forum/skins/default/templates/privacy.html:37 -msgid "Policy Changes" -msgstr "政策更改" - -#: forum/skins/default/templates/privacy.html:38 -#, fuzzy -msgid "how privacy policies can be changed" -msgstr "" -"我们可能在事先通知或不通知的情况下随时更改此'隐私政策',我们建议用户时常查看" -"CNProg隐私政策的改动,在任何改动生效后您的继续访问和使用本站,我们假设您已同" -"意了CNProg以上的所有条款。" - -# this is how above two are supposed to be -#: forum/skins/default/templates/question.html:70 -#: forum/skins/default/templates/sidebar/recent_tags.html:9 -#, fuzzy, python-format -msgid "see questions tagged '%(tagname)s'" -msgstr "查看有关'%(tagname)s'的问题" - -#: forum/skins/default/templates/question.html:87 -#, fuzzy, python-format -msgid "" -"The question has been closed for the following reason \"%(close_reason)s\" by" -msgstr "问题以“%s”的原因已被" - -#: forum/skins/default/templates/question.html:89 -#, fuzzy, python-format -msgid "close date %(closed_at)s" -msgstr "由于以下原因,你要关闭这个问题" - -#: forum/skins/default/templates/question.html:97 -#, python-format -msgid "" -"\n" -" One Answer:\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers:\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers will be shown first" -msgstr "最先回答显示在最前面" - -#: forum/skins/default/templates/question.html:105 -msgid "oldest answers" -msgstr "最先回答" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers will be shown first" -msgstr "最晚回答显示在最前面" - -#: forum/skins/default/templates/question.html:107 -msgid "newest answers" -msgstr "最近回答" - -#: forum/skins/default/templates/question.html:109 -msgid "most voted answers will be shown first" -msgstr "投票次数最多的显示在最前面" - -#: forum/skins/default/templates/question.html:109 -msgid "popular answers" -msgstr "投票最多" - -#: forum/skins/default/templates/question.html:157 -msgid "Your answer" -msgstr "您的回答" - -#: forum/skins/default/templates/question.html:159 -#, fuzzy -msgid "Be the first one to answer this question!" -msgstr "不是一个可以回答的“问题”" - -#: forum/skins/default/templates/question.html:165 -msgid "you can answer anonymously and then login" -msgstr "" - -#: forum/skins/default/templates/question.html:169 -msgid "answer your own question only to give an answer" -msgstr "" - -#: forum/skins/default/templates/question.html:171 -#, fuzzy -msgid "please only give an answer, no discussions" -msgstr "建议您提的问题是可以被答复的,而不仅仅是可以讨论。" - -#: forum/skins/default/templates/question.html:207 -msgid "Login/Signup to Post Your Answer" -msgstr "" - -#: forum/skins/default/templates/question.html:210 -#, fuzzy -msgid "Answer Your Own Question" -msgstr "回答该问题" - -#: forum/skins/default/templates/question.html:212 -msgid "Answer the question" -msgstr "回答该问题" - -#: forum/skins/default/templates/question.html:229 -msgid "Question tags" -msgstr "您正在浏览的问题含有以下标签" - -#: forum/skins/default/templates/question.html:239 -#, fuzzy -msgid "question asked" -msgstr "提问时间" - -#: forum/skins/default/templates/question.html:242 -msgid "question was seen" -msgstr "目前浏览数量" - -#: forum/skins/default/templates/question.html:242 -msgid "times" -msgstr "次" - -#: forum/skins/default/templates/question.html:245 -msgid "last updated" -msgstr "最后更新时间" - -#: forum/skins/default/templates/question.html:250 -#, fuzzy -msgid "Related questions" -msgstr "相似的问题" - -# page title -#: forum/skins/default/templates/question_edit.html:5 -#: forum/skins/default/templates/question_edit.html:63 -msgid "Edit question" -msgstr "修改问题" - -#: forum/skins/default/templates/question_edit_tips.html:4 -msgid "question tips" -msgstr "受欢迎的提问" - -#: forum/skins/default/templates/question_edit_tips.html:9 -#, python-format -msgid "" -"\n" -" ask a question relevant to the %(app_title)s community \n" -" " -msgstr "" - -#: forum/skins/default/templates/question_edit_tips.html:15 -#, fuzzy -msgid "please try provide enough details" -msgstr "请详细描述您的问题。" - -#: forum/skins/default/templates/question_retag.html:5 -#: forum/skins/default/templates/question_retag.html:56 -msgid "Change tags" -msgstr "修改问题标签" - -# todo: remove magic numbers from this file -#: forum/skins/default/templates/question_retag.html:44 -msgid "up to 5 tags, less than 20 characters each" -msgstr "最多5个标签,每个标签长度小于20个字符。" - -#: forum/skins/default/templates/question_retag.html:86 -msgid "Why use and modify tags?" -msgstr "为什么我只能修改问题标签?" - -#: forum/skins/default/templates/question_retag.html:89 -#, fuzzy -msgid "tags help us keep Questions organized" -msgstr "CNProg用标签来分类系统的信息" - -#: forum/skins/default/templates/question_retag.html:97 -msgid "tag editors receive special awards from the community" -msgstr "修改标签的用户将授予特殊的社区奖牌" - -#: forum/skins/default/templates/questions.html:7 -msgid "Questions" -msgstr "问题列表" - -#: forum/skins/default/templates/reopen.html:6 -#: forum/skins/default/templates/reopen.html:16 -msgid "Reopen question" -msgstr "重设问题" - -#: forum/skins/default/templates/reopen.html:19 -msgid "Open the previously closed question" -msgstr "你将打开这个已经被关闭的问题" - -#: forum/skins/default/templates/reopen.html:22 -#, fuzzy -msgid "The question was closed for the following reason " -msgstr "问题曾以" - -#: forum/skins/default/templates/reopen.html:22 -msgid "reason - leave blank in english" -msgstr "的原因被" - -#: forum/skins/default/templates/reopen.html:22 -#, fuzzy -msgid "on " -msgstr "于" - -#: forum/skins/default/templates/reopen.html:22 -msgid "date closed" -msgstr "关闭" - -#: forum/skins/default/templates/reopen.html:29 -#, fuzzy -msgid "Reopen this question" -msgstr "确定打开这个问题" - -# revisions_answer.html -#: forum/skins/default/templates/revisions_answer.html:7 -#: forum/skins/default/templates/revisions_answer.html:36 -#: forum/skins/default/templates/revisions_question.html:7 -#: forum/skins/default/templates/revisions_question.html:35 -msgid "Revision history" -msgstr "版本历史" - -#: forum/skins/default/templates/revisions_answer.html:48 -#: forum/skins/default/templates/revisions_question.html:47 -msgid "click to hide/show revision" -msgstr "" - -#: forum/skins/default/templates/revisions_answer.html:56 -#: forum/templatetags/node_tags.py:62 -msgid "edit" -msgstr "编辑" - -#: forum/skins/default/templates/subscription_status.html:3 -#, fuzzy -msgid "Subscription" -msgstr "提问" - -#: forum/skins/default/templates/subscription_status.html:8 -msgid "You were automatically subscribed to this question." -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:10 -#, fuzzy -msgid "You are subscribed to this question." -msgstr "订阅最>新问题" - -#: forum/skins/default/templates/subscription_status.html:13 -#, fuzzy -msgid "You are not subscribed to this question." -msgstr "订阅最>新问题" - -#: forum/skins/default/templates/subscription_status.html:18 -#: forum/views/commands.py:323 -msgid "unsubscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:20 -#: forum/views/commands.py:323 -msgid "subscribe me" -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:24 -#, python-format -msgid "" -"\n" -" (you can adjust your notification settings on your profile)\n" -" " -msgstr "" - -#: forum/skins/default/templates/subscription_status.html:29 -msgid "Once you sign in you will be able to subscribe for any updates here" -msgstr "" - -# book.html line 123 must be empty in english -#: forum/skins/default/templates/tag_selector.html:4 -#: forum/skins/default/templates/question_list/tag_selector.html:6 -#, fuzzy -msgid "Interesting tags" -msgstr "的问题" - -# this is how above two are supposed to be -#: forum/skins/default/templates/tag_selector.html:10 -#: forum/skins/default/templates/tag_selector.html:27 -#: forum/skins/default/templates/question_list/related_tags.html:9 -#: forum/skins/default/templates/question_list/tag_selector.html:12 -#: forum/skins/default/templates/question_list/tag_selector.html:29 -#, fuzzy, python-format -msgid "see questions tagged '%(tag_name)s'" -msgstr "查看有关'%(tagname)s'的问题" - -#: forum/skins/default/templates/tag_selector.html:14 -#: forum/skins/default/templates/question_list/tag_selector.html:16 -#, python-format -msgid "remove '%(tag_name)s' from the list of interesting tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:20 -#: forum/skins/default/templates/tag_selector.html:37 -#: forum/skins/default/templates/question_list/tag_selector.html:22 -#: forum/skins/default/templates/question_list/tag_selector.html:39 -msgid "Add" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:21 -#: forum/skins/default/templates/question_list/tag_selector.html:23 -#, fuzzy -msgid "Ignored tags" -msgstr "修改问题标签" - -#: forum/skins/default/templates/tag_selector.html:31 -#: forum/skins/default/templates/question_list/tag_selector.html:33 -#, python-format -msgid "remove '%(tag_name)s' from the list of ignored tags" -msgstr "" - -#: forum/skins/default/templates/tag_selector.html:40 -#: forum/skins/default/templates/question_list/tag_selector.html:42 -#, fuzzy -msgid "keep ignored questions hidden" -msgstr "打开关闭任何人的问题" - -#: forum/skins/default/templates/tags.html:6 -#: forum/skins/default/templates/tags.html:30 -msgid "Tag list" -msgstr "标签列表" - -#: forum/skins/default/templates/tags.html:32 -msgid "sorted alphabetically" -msgstr "按名称的字母先后顺序排序" - -#: forum/skins/default/templates/tags.html:32 -msgid "by name" -msgstr "按名称排序" - -#: forum/skins/default/templates/tags.html:33 -msgid "sorted by frequency of tag use" -msgstr "按标签被使用的次数排序" - -#: forum/skins/default/templates/tags.html:33 -#, fuzzy -msgid "by popularity" -msgstr "按流行程度排序" - -#: forum/skins/default/templates/tags.html:39 -msgid "All tags matching query" -msgstr "匹配查询" - -#: forum/skins/default/templates/tags.html:39 -msgid "all tags - make this empty in english" -msgstr "的所有标签" - -#: forum/skins/default/templates/tags.html:42 -#, fuzzy -msgid "Nothing found" -msgstr "没有找到相关数据。" - -#: forum/skins/default/templates/auth/auth_settings.html:5 -#: forum/skins/default/templates/auth/auth_settings.html:7 -msgid "Authentication settings" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:9 -msgid "" -"These are the external authentication providers currently associated with " -"your account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:12 -#, fuzzy -msgid "remove" -msgstr "打开" - -#: forum/skins/default/templates/auth/auth_settings.html:17 -msgid "" -"You currently have no external authentication provider associated with your " -"account." -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:19 -msgid "Add new provider" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:21 -msgid "This is where you can change your password. Make sure you remember it!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:24 -msgid "" -"You can set up a password for your account, so you can login using standard " -"username and password!" -msgstr "" - -#: forum/skins/default/templates/auth/auth_settings.html:31 -#, fuzzy -msgid "Create password" -msgstr "确认密码" - -#: forum/skins/default/templates/auth/complete.html:5 -msgid "Connect your OpenID with this site" -msgstr "绑定OpenID" - -#: forum/skins/default/templates/auth/complete.html:8 -msgid "Connect your OpenID with your account on this site" -msgstr "绑定OpenID帐号" - -#: forum/skins/default/templates/auth/complete.html:12 -msgid "You are here for the first time with " -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:13 -msgid "" -"Please create your screen name and save your email address. Saved email " -"address will let you subscribe for the updates on the most interesting " -"questions and will be used to create and retrieve your unique avatar image. " -msgstr "" - -# todo: review this message may be confusing user -#: forum/skins/default/templates/auth/complete.html:15 -msgid "This account already exists, please use another." -msgstr "输入您的新帐号或者指定已经存在的帐号。" - -#: forum/skins/default/templates/auth/complete.html:30 -msgid "Sorry, looks like we have some errors:" -msgstr "请注意以下错误:" - -#: forum/skins/default/templates/auth/complete.html:47 -msgid "Screen name label" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:54 -#, fuzzy -msgid "Email address label" -msgstr "您的电子邮件地址" - -#: forum/skins/default/templates/auth/complete.html:60 -#: forum/skins/default/templates/auth/signup.html:18 -msgid "receive updates motivational blurb" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:64 -#: forum/skins/default/templates/auth/signup.html:22 -msgid "please select one of the options above" -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:67 -msgid "Tag filter tool will be your right panel, once you log in." -msgstr "" - -#: forum/skins/default/templates/auth/complete.html:68 -msgid "create account" -msgstr "创建帐号" - -#: forum/skins/default/templates/auth/complete.html:77 -msgid "Existing account" -msgstr "已经存在的用户" - -#: forum/skins/default/templates/auth/complete.html:78 -msgid "user name" -msgstr "用户名" - -#: forum/skins/default/templates/auth/complete.html:79 -msgid "password" -msgstr "密码" - -#: forum/skins/default/templates/auth/complete.html:86 -msgid "Register" -msgstr "确认" - -#: forum/skins/default/templates/auth/complete.html:87 -msgid "Forgot your password?" -msgstr "忘记密码?" - -#: forum/skins/default/templates/auth/email_validation.html:6 -#: forum/skins/default/templates/auth/temp_login_email.html:6 -msgid "Greetings from the Q&A forum" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:8 -msgid "To make use of the Forum, please follow the link below:" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:12 -msgid "Following the link above will help us verify your email address." -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:14 -#: forum/skins/default/templates/auth/temp_login_email.html:14 -msgid "" -"If you beleive that this message was sent in mistake -\n" -" no further action is needed. Just ingore this email, we apologize\n" -" for any inconvenience" -msgstr "" - -#: forum/skins/default/templates/auth/email_validation.html:18 -#: forum/skins/default/templates/auth/temp_login_email.html:18 -#: forum/skins/default/templates/notifications/answeraccepted.html:15 -#: forum/skins/default/templates/notifications/newanswer.html:25 -#: forum/skins/default/templates/notifications/newcomment.html:32 -#: forum/skins/default/templates/notifications/newmember.html:15 -#: forum/skins/default/templates/notifications/newquestion.html:25 -msgid "" -"Sincerely,
    \n" -" Forum Administrator" -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:6 -msgid "Login" -msgstr "登录" - -#: forum/skins/default/templates/auth/signin.html:24 -msgid "User login" -msgstr "用户登录" - -#: forum/skins/default/templates/auth/signin.html:36 -#: forum/skins/default/templates/auth/signin.html:86 -#: forum/skins/default/templates/auth/signin.html:92 -msgid "Or..." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:39 -msgid "Click to sign in through any of these services." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:44 -msgid "Validate my email after I login." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:94 -#, fuzzy -msgid "Click" -msgstr "链接" - -#: forum/skins/default/templates/auth/signin.html:94 -msgid "if you're having troubles signing in." -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:98 -msgid "Enter your " -msgstr "" - -#: forum/skins/default/templates/auth/signin.html:154 -msgid "Why use OpenID?" -msgstr "为什么需要OpenID登录?" - -#: forum/skins/default/templates/auth/signin.html:157 -msgid "with openid it is easier" -msgstr "" -"构建在OpenID网络认证上的本系统,不需要你注册新的帐号,即可使用我们系统的所有" -"功能" - -#: forum/skins/default/templates/auth/signin.html:160 -msgid "reuse openid" -msgstr "用同一个帐号可登录互联网所有激活OpenID的网站" - -#: forum/skins/default/templates/auth/signin.html:163 -msgid "openid is widely adopted" -msgstr "全世界有1.6亿OpenID帐号,和10,000个支持OpenID的站点" - -#: forum/skins/default/templates/auth/signin.html:166 -msgid "openid is supported open standard" -msgstr "OpenID是有开放标准,并且有相关的基金组织提供支持" - -#: forum/skins/default/templates/auth/signin.html:171 -msgid "Find out more" -msgstr "查看更多" - -#: forum/skins/default/templates/auth/signin.html:172 -msgid "Get OpenID" -msgstr "获取OpenID" - -#: forum/skins/default/templates/auth/signup.html:4 -msgid "Signup" -msgstr "注册帐号" - -#: forum/skins/default/templates/auth/signup.html:8 -#, fuzzy -msgid "Create login name and password" -msgstr "使用帐号密码登录" - -#: forum/skins/default/templates/auth/signup.html:10 -msgid "Traditional signup info" -msgstr "" - -#: forum/skins/default/templates/auth/signup.html:31 -#, fuzzy -msgid "Create Account" -msgstr "创建帐号" - -#: forum/skins/default/templates/auth/signup.html:32 -msgid "or" -msgstr "或者" - -#: forum/skins/default/templates/auth/signup.html:33 -#, fuzzy -msgid "return to login page" -msgstr "返回登录" - -#: forum/skins/default/templates/auth/temp_login_email.html:8 -msgid "You're seeing this because someone requested a temporary login link" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_email.html:12 -msgid "Following the link above will give you access to your account." -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:5 -msgid "Request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:7 -msgid "Account: request temporary login key" -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:8 -msgid "" -"\n" -" If you're experiencing problems accessing your account, or if you forgot " -"your password,\n" -" here you can request a temporary login key. Fill out your account email " -"and we'll send you a temporary access link that\n" -" will enable you to access your account. This token is valid only once " -"and for a limited period of time.\n" -" " -msgstr "" - -#: forum/skins/default/templates/auth/temp_login_request.html:25 -#, fuzzy -msgid "Send link" -msgstr "链接" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, fuzzy, python-format -msgid "%(who)s has selected this answer as the correct answer" -msgstr "这个答案已经被提问作者标记为最佳答案" - -#: forum/skins/default/templates/node/accept_button.html:5 -#, fuzzy -msgid "mark this answer as the accepted answer" -msgstr "有答案已被接受为正确答案" - -#: forum/skins/default/templates/node/comments.html:22 -#, fuzzy -msgid "I like this comment (click again to cancel)" -msgstr "这篇帖子有价值(再次点击取消操作)" - -#: forum/skins/default/templates/node/comments.html:26 -#, fuzzy -msgid "Edit comment" -msgstr "添加评论" - -#: forum/skins/default/templates/node/comments.html:30 -#, fuzzy -msgid "Delete comment" -msgstr "删除任何一个评论" - -#: forum/skins/default/templates/node/comments.html:42 -#, python-format -msgid "showing %(showing)s of %(total)s" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:44 -msgid "show all" -msgstr "" - -#: forum/skins/default/templates/node/comments.html:47 -#, fuzzy -msgid "add new comment" -msgstr "添加评论" - -#: forum/skins/default/templates/node/comments.html:55 -#, fuzzy -msgid " add comment" -msgstr "添加评论" - -#: forum/skins/default/templates/node/comments.html:58 -#, python-format -msgid "" -"\n" -" have %(max_length)" -"s characters left\n" -" " -msgstr "" - -#: forum/skins/default/templates/node/comments.html:71 -#, fuzzy -msgid "just now" -msgstr "点击退出登录" - -#: forum/skins/default/templates/node/favorite_mark.html:3 -#, fuzzy -msgid "mark/unmark this question as favorite (click again to cancel)" -msgstr "我要收藏这个问题(再次点击取消操作)" - -#: forum/skins/default/templates/node/vote_buttons.html:3 -#, fuzzy -msgid "I like this post (click again to cancel)" -msgstr "这篇帖子有价值(再次点击取消操作)" - -#: forum/skins/default/templates/node/vote_buttons.html:7 -msgid "current number of votes" -msgstr "当前总票数" - -#: forum/skins/default/templates/node/vote_buttons.html:10 -#, fuzzy -msgid "I dont like this post (click again to cancel)" -msgstr "这篇帖子没有价值(再次点击取消操作)" - -#: forum/skins/default/templates/notifications/answeraccepted.html:6 -#: forum/skins/default/templates/notifications/digest.html:7 -#: forum/skins/default/templates/notifications/newanswer.html:6 -#: forum/skins/default/templates/notifications/newcomment.html:6 -#: forum/skins/default/templates/notifications/newmember.html:6 -#: forum/skins/default/templates/notifications/newquestion.html:6 -msgid "Hello" -msgstr "" - -#: forum/skins/default/templates/notifications/answeraccepted.html:9 -#, python-format -msgid "" -"\n" -" Just to let you know that %(accepter)s has just accepted %" -"(answer_author)s's answer on his question\n" -" %(question_title)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:9 -#, python-format -msgid "" -"\n" -" This is the %(digest_type)s activity digest for %(app_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:15 -#, python-format -msgid "" -"\n" -" %(nusers_count)s new user%(nusers_count_pluralize)s joined the %" -"(app_title)s community:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:28 -#, python-format -msgid "" -"\n" -" %(question_count)s of your subscriptions have updates:\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:35 -#, fuzzy -msgid "On question " -msgstr "提问" - -#: forum/skins/default/templates/notifications/digest.html:37 -#, python-format -msgid "" -"\n" -" %(answer_count)s new answer%(answer_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:42 -#, python-format -msgid "" -"\n" -" %(comment_count)s new comment%(comment_count_pluralize)" -"s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:46 -#, fuzzy -msgid "on your own post(s)" -msgstr "获取您自己的" - -#: forum/skins/default/templates/notifications/digest.html:50 -#, fuzzy -msgid "an answer was accepted" -msgstr "问题已经解决,已得到正确答案" - -#: forum/skins/default/templates/notifications/digest.html:59 -#, python-format -msgid "" -"\n" -" %(question_count)s new question%(question_count_pluralize)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:63 -msgid "matching your interesting tags" -msgstr "" - -#: forum/skins/default/templates/notifications/digest.html:65 -#, fuzzy -msgid "posted :" -msgstr "投赞成票" - -#: forum/skins/default/templates/notifications/digest.html:71 -#, python-format -msgid "" -"\n" -" Posted by %(author_name)s in %(question_time)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:7 -#, python-format -msgid "" -"\n" -" Hello, this is a %(site_title)s forum feedback message\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:13 -msgid "Sender" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:15 -#: forum/skins/default/templates/notifications/feedback.html:18 -#: forum/skins/default/templates/users/info.html:93 -msgid "email" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:17 -msgid "anonymous" -msgstr "" - -#: forum/skins/default/templates/notifications/feedback.html:25 -msgid "Message body:" -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new answer on %(app_title)s to the " -"question\n" -" %(question_title)s\":\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newanswer.html:20 -#: forum/skins/default/templates/notifications/newcomment.html:28 -#: forum/skins/default/templates/notifications/newquestion.html:20 -msgid "" -"\n" -" Don't forget to come over and cast your vote.\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a comment on\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:14 -#, python-format -msgid "" -"\n" -" the answer posted by %" -"(poster_name)s to\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newcomment.html:19 -#, python-format -msgid "" -"\n" -" the question %" -"(question_title)s\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newmember.html:9 -#, python-format -msgid "" -"\n" -" %(newmember_name)s has just joined %(app_title)s. You can visit %" -"(newmember_name)s's profile using the following link:
    \n" -" %(newmember_name)s profile\n" -" " -msgstr "" - -#: forum/skins/default/templates/notifications/newquestion.html:9 -#, python-format -msgid "" -"\n" -" %(author_name)s has just posted a new question on %(app_title)s, " -"with title\n" -" %(question_title)s and " -"tagged %(question_tags)s:\n" -" " -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:13 -msgid "OSQA administration area" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/base.html:26 -msgid "Administration menu" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:7 -msgid "Dashboard" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:10 -msgid "Welcome to the OSQA administration area." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:17 -#, fuzzy -msgid "Site statistics" -msgstr "网站访问者" - -#: forum/skins/default/templates/osqaadmin/index.html:21 -#: forum/skins/default/templates/osqaadmin/index.html:26 -msgid "in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -#, fuzzy -msgid "user" -msgstr "用户" - -#: forum/skins/default/templates/osqaadmin/index.html:31 -msgid "joined in the last 24 hours" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:37 -#, fuzzy -msgid "Site status" -msgstr "网站访问者" - -#: forum/skins/default/templates/osqaadmin/index.html:42 -msgid "" -"Your site is running in bootstrap mode, click the button bellow to revert to " -"defaults." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:45 -msgid "" -"Your site is running in standard mode, click the button bellow to run in " -"bootstrap mode." -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:47 -msgid "" -"Your site is running with some customized settings, click the buttons bellow " -"to run with defaults or in bootstrap mode" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "Are you sure you want to revert to the defaults?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:51 -msgid "revert to defaults" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "Are you sure you want to run bootstrap mode?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:54 -msgid "go bootstrap" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:59 -msgid "Recalculate scores and reputation" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -msgid "This is a heavy operation, are you sure?" -msgstr "" - -#: forum/skins/default/templates/osqaadmin/index.html:60 -#, fuzzy -msgid "Recalculate" -msgstr "真实姓名" - -#: forum/skins/default/templates/osqaadmin/index.html:65 -#, fuzzy -msgid "Recent activity" -msgstr "最近活动" - -#: forum/skins/default/templates/question_list/item.html:12 -#, fuzzy -msgid "this question has an accepted answer" -msgstr "这个问题被" - -#: forum/skins/default/templates/question_list/related_tags.html:6 -msgid "Related tags" -msgstr "相关标签" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -msgid "most recently updated questions" -msgstr "最近被更新的问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:4 -#, fuzzy -msgid "active" -msgstr "活跃问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "most recently asked questions" -msgstr "最新加入系统的问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:5 -msgid "newest" -msgstr "最新问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest questions" -msgstr "被回复最多的问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:6 -msgid "hottest" -msgstr "热门问题" - -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted questions" -msgstr "投票次数最多的问题" - -# "最有价值问题" -# "最新问题" -#: forum/skins/default/templates/question_list/sort_tabs.html:7 -msgid "most voted" -msgstr "最有价值的问题" - -#: forum/skins/default/templates/question_list/title.html:5 -msgid "Found by tags" -msgstr "标签问题" - -#: forum/skins/default/templates/question_list/title.html:9 -msgid "Search results" -msgstr "" - -#: forum/skins/default/templates/question_list/title.html:11 -msgid "Found by title" -msgstr "查询结果" - -#: forum/skins/default/templates/question_list/title.html:15 -msgid "Unanswered questions" -msgstr "没有回答的问题" - -#: forum/skins/default/templates/question_list/title.html:17 -#: forum/skins/default/templates/users/subscriptions.html:74 -msgid "All questions" -msgstr "所有问题" - -#: forum/skins/default/templates/sidebar/recent_awards.html:4 -msgid "Recent awards" -msgstr "最新奖牌" - -#: forum/skins/default/templates/sidebar/recent_awards.html:15 -msgid "all awards" -msgstr "所有奖牌" - -#: forum/skins/default/templates/sidebar/recent_tags.html:4 -msgid "Recent tags" -msgstr "最新标签" - -#: forum/skins/default/templates/sidebar/recent_tags.html:12 -msgid "popular tags" -msgstr "受欢迎的标签" - -#: forum/skins/default/templates/users/edit.html:6 -msgid "Edit user profile" -msgstr "修改个人资料" - -#: forum/skins/default/templates/users/edit.html:19 -msgid "edit profile" -msgstr "修改资料" - -#: forum/skins/default/templates/users/edit.html:31 -msgid "image associated with your email address" -msgstr "和您的邮件地址是绑定的" - -#: forum/skins/default/templates/users/edit.html:31 -#, python-format -msgid "avatar, see %(gravatar_faq_url)s" -msgstr "" - -#: forum/skins/default/templates/users/edit.html:36 -#: forum/skins/default/templates/users/info.html:52 -msgid "Registered user" -msgstr "注册用户" - -#: forum/skins/default/templates/users/edit.html:43 -#, fuzzy -msgid "Screen Name" -msgstr "当前页" - -#: forum/skins/default/templates/users/edit.html:86 -#: forum/skins/default/templates/users/subscriptions.html:116 -msgid "Update" -msgstr "更新" - -#: forum/skins/default/templates/users/info.html:22 -#: forum/skins/default/templates/users/signature.html:6 -#: forum/skins/default/templates/users/users.html:26 -msgid "reputation" -msgstr "积分" - -#: forum/skins/default/templates/users/info.html:32 -msgid "Moderate this user" -msgstr "" - -#: forum/skins/default/templates/users/info.html:44 -msgid "update profile" -msgstr "更新我的资料" - -#: forum/skins/default/templates/users/info.html:56 -msgid "real name" -msgstr "姓名" - -#: forum/skins/default/templates/users/info.html:61 -msgid "member for" -msgstr "已加入" - -#: forum/skins/default/templates/users/info.html:66 -msgid "last seen" -msgstr "上次活动时间" - -#: forum/skins/default/templates/users/info.html:72 -msgid "user website" -msgstr "个人网站" - -#: forum/skins/default/templates/users/info.html:78 -msgid "location" -msgstr "城市" - -# user_info.html -#: forum/skins/default/templates/users/info.html:86 -msgid "age" -msgstr "年龄" - -#: forum/skins/default/templates/users/info.html:87 -msgid "age unit" -msgstr "岁" - -#: forum/skins/default/templates/users/info.html:100 -msgid "todays unused votes" -msgstr "今日剩余投票数" - -#: forum/skins/default/templates/users/info.html:101 -msgid "votes left" -msgstr "票" - -#: forum/skins/default/templates/users/stats.html:13 -#, python-format -msgid "" -"\n" -" 1 Question\n" -" " -msgid_plural "" -"\n" -" %(counter)s Questions\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:29 -#, python-format -msgid "" -"\n" -" 1 Answer\n" -" " -msgid_plural "" -"\n" -" %(counter)s Answers\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:42 -#, fuzzy, python-format -msgid "the answer has been voted for %(vote_count)s times" -msgstr "该回答总共有%d个投票" - -#: forum/skins/default/templates/users/stats.html:42 -msgid "this answer has been selected as correct" -msgstr "该回答已被设为最佳答案" - -#: forum/skins/default/templates/users/stats.html:58 -#, python-format -msgid "" -"\n" -" 1 Vote\n" -" " -msgid_plural "" -"\n" -" %(cnt)s Votes\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:69 -msgid "thumb up" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:70 -msgid "user has voted up this many times" -msgstr "该用户投的赞成票总数" - -#: forum/skins/default/templates/users/stats.html:74 -msgid "thumb down" -msgstr "" - -#: forum/skins/default/templates/users/stats.html:75 -#, fuzzy -msgid "user voted down this many times" -msgstr "用户投的反对票总数" - -#: forum/skins/default/templates/users/stats.html:84 -#, python-format -msgid "" -"\n" -" 1 Tag\n" -" " -msgid_plural "" -"\n" -" %(counter)s Tags\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/stats.html:97 -#, fuzzy, python-format -msgid "" -"see other questions with %(view_user)s's contributions tagged '%(tag_name)s' " -msgstr "查看有关'%s'的问题" - -#: forum/skins/default/templates/users/stats.html:112 -#, python-format -msgid "" -"\n" -" 1 Badge\n" -" " -msgid_plural "" -"\n" -" %(counter)s Badges\n" -" " -msgstr[0] "" -msgstr[1] "" - -#: forum/skins/default/templates/users/subscriptions.html:8 -msgid "Notifications and subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:10 -msgid "" -"\n" -" Here you can decide which types of notifications you wish to " -"receive, and it's frequency.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:14 -msgid "" -"\n" -" Currently you have notifications enabled. You can always stop all " -"notifications without loosing your settings and restart them afterwards.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:18 -msgid "" -"\n" -" Currently you have notifications disabled. You can enable them " -"clicking on the Start notifications button bellow.
    \n" -" " -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:28 -msgid "Notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:32 -msgid "A new member joins" -msgstr "" - -# must have extra space after in english -#: forum/skins/default/templates/users/subscriptions.html:36 -#, fuzzy -msgid "A new question is posted" -msgstr "查看有关" - -#: forum/skins/default/templates/users/subscriptions.html:40 -msgid "A new question matching my interesting tags is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:44 -msgid "There's an update on one of my subscriptions" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:52 -msgid "Auto subscribe me to:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:57 -#, fuzzy -msgid "Questions I ask" -msgstr "您正在浏览的问题含有以下标签" - -#: forum/skins/default/templates/users/subscriptions.html:60 -#, fuzzy -msgid "Questions I answer" -msgstr "您正在浏览的问题含有以下标签" - -#: forum/skins/default/templates/users/subscriptions.html:63 -#, fuzzy -msgid "Questions I comment" -msgstr "问题列表" - -#: forum/skins/default/templates/users/subscriptions.html:68 -#, fuzzy -msgid "Questions I view" -msgstr "问题列表" - -#: forum/skins/default/templates/users/subscriptions.html:71 -msgid "All questions matching my interesting tags" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:82 -msgid "On my subscriptions, notify me when:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:87 -#, fuzzy -msgid "An answer is posted" -msgstr "受欢迎的提问" - -#: forum/skins/default/templates/users/subscriptions.html:90 -msgid "A comment on one of my posts is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:95 -msgid "A comment is posted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:98 -msgid "An answer is accepted" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:106 -msgid "More:" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:111 -msgid "" -"Notify me when someone replys to one of my comments on any post using the " -"
    @username
    notation" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:118 -msgid "Stop notifications" -msgstr "" - -#: forum/skins/default/templates/users/subscriptions.html:120 -msgid "Start notifications" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "User profile" -msgstr "用户概览" - -#: forum/skins/default/templates/users/tabs.html:7 -msgid "overview" -msgstr "概览" - -#: forum/skins/default/templates/users/tabs.html:9 -msgid "recent activity" -msgstr "最近活动" - -#: forum/skins/default/templates/users/tabs.html:11 -msgid "graph of user reputation" -msgstr "用户的社区积分历史" - -#: forum/skins/default/templates/users/tabs.html:12 -msgid "reputation history" -msgstr "积分" - -#: forum/skins/default/templates/users/tabs.html:15 forum/views/users.py:196 -msgid "user vote record" -msgstr "用户所有投票" - -#: forum/skins/default/templates/users/tabs.html:15 -msgid "casted votes" -msgstr "投票" - -#: forum/skins/default/templates/users/tabs.html:18 -msgid "questions that user selected as his/her favorite" -msgstr "用户收藏的问题" - -#: forum/skins/default/templates/users/tabs.html:19 -msgid "favorites" -msgstr "收藏" - -#: forum/skins/default/templates/users/tabs.html:22 -msgid "email subscription settings" -msgstr "" - -#: forum/skins/default/templates/users/tabs.html:23 -#, fuzzy -msgid "subscriptions" -msgstr "问题" - -#: forum/skins/default/templates/users/users.html:6 -#: forum/skins/default/templates/users/users.html:24 -msgid "Users" -msgstr "用户列表" - -#: forum/skins/default/templates/users/users.html:27 -msgid "recent" -msgstr "最新加入" - -#: forum/skins/default/templates/users/users.html:28 -msgid "oldest" -msgstr "最先加入" - -#: forum/skins/default/templates/users/users.html:29 -msgid "by username" -msgstr "用户名" - -#: forum/skins/default/templates/users/users.html:35 -#, fuzzy, python-format -msgid "users matching query %(suser)s:" -msgstr "" -"匹配查询 '%s' 的所有用户名:" - -#: forum/skins/default/templates/users/users.html:39 -msgid "Nothing found." -msgstr "没有找到相关数据。" - -#: forum/templatetags/extra_tags.py:168 forum/templatetags/extra_tags.py:195 -#, fuzzy -msgid "reputation points" -msgstr "积分" - -#: forum/templatetags/extra_tags.py:248 -#, fuzzy -msgid "2 days ago" -msgstr "于%s关闭" - -#: forum/templatetags/extra_tags.py:250 -msgid "yesterday" -msgstr "" - -#: forum/templatetags/extra_tags.py:252 -#, python-format -msgid "%(hr)d hour ago" -msgid_plural "%(hr)d hours ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/extra_tags.py:254 -#, python-format -msgid "%(min)d min ago" -msgid_plural "%(min)d mins ago" -msgstr[0] "" -msgstr[1] "" - -#: forum/templatetags/node_tags.py:58 -msgid "permanent link" -msgstr "永久链接" - -#: forum/templatetags/node_tags.py:58 -msgid "answer permanent link" -msgstr "该回答的链接地址" - -#: forum/templatetags/node_tags.py:64 -#, fuzzy -msgid "retag" -msgstr "更新了标签" - -#: forum/templatetags/node_tags.py:68 -msgid "reopen" -msgstr "打开" - -#: forum/templatetags/node_tags.py:70 -msgid "close" -msgstr "关闭" - -#: forum/templatetags/node_tags.py:73 forum/views/commands.py:124 -#: forum/views/commands.py:136 -msgid "flag" -msgstr "" - -#: forum/templatetags/node_tags.py:79 -msgid "" -"report as offensive (i.e containing spam, advertising, malicious text, etc.)" -msgstr "检举该帖为垃“水帖”(含广告、人身攻击、恶意言论等)" - -#: forum/templatetags/node_tags.py:82 -msgid "delete" -msgstr "删除" - -#: forum/templatetags/question_list_tags.py:57 -#, fuzzy -msgid "Newest questions are shown first. " -msgstr "回复最多的问题将显示在最前面。" - -#: forum/templatetags/question_list_tags.py:58 -msgid "Questions are sorted by the time of last update." -msgstr "问题按最后更新时间显示排序。" - -#: forum/templatetags/question_list_tags.py:59 -msgid "Questions sorted by number of responses." -msgstr "问题按回复数量显示排序。" - -#: forum/templatetags/question_list_tags.py:60 -msgid "Questions are sorted by the number of votes." -msgstr "问题按投票数量显示排序。" - -#: forum/templatetags/user_tags.py:58 forum/views/readers.py:293 -#, python-format -msgid "Revision n. %(rev_number)d" -msgstr "" - -#: forum/utils/forms.py:32 -#, fuzzy -msgid "this field is required" -msgstr " 标签不能为空。" - -#: forum/utils/forms.py:47 -msgid "choose a username" -msgstr "选择一个用户名" - -#: forum/utils/forms.py:52 -#, fuzzy -msgid "user name is required" -msgstr " 标签不能为空。" - -#: forum/utils/forms.py:53 -#, fuzzy -msgid "sorry, this name is taken, please choose another" -msgstr "对不起,您不能注册该用户名,请换一个试试" - -#: forum/utils/forms.py:54 -#, fuzzy -msgid "sorry, this name is not allowed, please choose another" -msgstr "对不起,您不能注册该用户名,请换一个试试" - -#: forum/utils/forms.py:55 -msgid "sorry, there is no user with this name" -msgstr "" - -#: forum/utils/forms.py:56 -msgid "sorry, we have a serious error - user name is taken by several users" -msgstr "" - -#: forum/utils/forms.py:57 -msgid "user name can only consist of letters, empty space and underscore" -msgstr "" - -#: forum/utils/forms.py:105 -msgid "your email address" -msgstr "您的电子邮件地址" - -#: forum/utils/forms.py:106 -#, fuzzy -msgid "email address is required" -msgstr " 标签不能为空。" - -#: forum/utils/forms.py:108 -#, fuzzy -msgid "this email is already used by someone else, please choose another" -msgstr "该电子邮件已被注册,请选择另一个再试。" - -#: forum/utils/forms.py:133 -msgid "choose password" -msgstr "密码" - -#: forum/utils/forms.py:134 -#, fuzzy -msgid "password is required" -msgstr " 标签不能为空。" - -#: forum/utils/forms.py:137 -msgid "retype password" -msgstr "确认密码" - -#: forum/utils/forms.py:138 -#, fuzzy -msgid "please, retype your password" -msgstr "确认密码" - -#: forum/utils/forms.py:139 -msgid "sorry, entered passwords did not match, please try again" -msgstr "" - -#: forum/views/admin.py:47 -#, python-format -msgid "'%s' settings saved succesfully" -msgstr "" - -#: forum/views/admin.py:141 -msgid "Bootstrap mode enabled" -msgstr "" - -#: forum/views/admin.py:155 -msgid "All values reverted to defaults" -msgstr "" - -#: forum/views/admin.py:171 -msgid "All values recalculated" -msgstr "" - -#: forum/views/auth.py:103 forum/views/auth.py:112 -msgid "" -"Sorry, these login credentials belong to anoother user. Plese terminate your " -"current session and try again." -msgstr "" - -#: forum/views/auth.py:105 -msgid "You are already logged in with that user." -msgstr "" - -#: forum/views/auth.py:110 -msgid "These login credentials are already associated with your account." -msgstr "" - -#: forum/views/auth.py:116 -msgid "The new credentials are now associated with your account" -msgstr "" - -#: forum/views/auth.py:157 -msgid "" -"Oops, something went wrong in the middle of this process. Please try again." -msgstr "" - -#: forum/views/auth.py:219 -msgid "Temporary login link" -msgstr "" - -#: forum/views/auth.py:224 -#, fuzzy -msgid "An email has been sent with your temporary login key" -msgstr "和您的邮件地址是绑定的" - -#: forum/views/auth.py:239 -msgid "" -"You are logged in with a temporary access key, please take the time to fix " -"your issue with authentication." -msgstr "" - -#: forum/views/auth.py:245 -msgid "Email Validation" -msgstr "" - -#: forum/views/auth.py:256 -msgid "Thank you, your email is now validated." -msgstr "" - -#: forum/views/auth.py:280 -#, fuzzy -msgid "Your password was changed" -msgstr "密码" - -#: forum/views/auth.py:282 -#, fuzzy -msgid "New password set" -msgstr "密码" - -#: forum/views/auth.py:315 -#, python-format -msgid "You removed the association with %s" -msgstr "" - -#: forum/views/auth.py:353 -#, python-format -msgid "Welcome back %s, you are now logged in" -msgstr "" - -#: forum/views/commands.py:20 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough reputation points to %(action)s." -"
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:29 -#, python-format -msgid "" -"\n" -" Sorry but you cannot %(action)s your own post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:38 -#, python-format -msgid "" -"\n" -" Sorry but anonymous users cannot %(action)s.
    \n" -" Please login or create an account here.\n" -" " -msgstr "" - -#: forum/views/commands.py:47 -#, python-format -msgid "" -"\n" -" Sorry, but you don't have enough %(action)s left for today..
    \n" -" The limit is %(limit)s per day..
    \n" -" Please check the
    faq\n" -" " -msgstr "" - -#: forum/views/commands.py:57 -#, python-format -msgid "" -"\n" -" Sorry, but you cannot %(action)s twice the same post.
    \n" -" Please check the faq\n" -" " -msgstr "" - -#: forum/views/commands.py:71 forum/views/commands.py:74 -#: forum/views/commands.py:111 -#, fuzzy -msgid "vote" -msgid_plural "votes" -msgstr[0] "票" -msgstr[1] "票" - -#: forum/views/commands.py:89 -#, python-format -msgid "" -"Sorry but you cannot cancel a vote after %(ndays)d %(tdays)s from the " -"original vote" -msgstr "" - -#: forum/views/commands.py:90 -msgid "day" -msgid_plural "days" -msgstr[0] "" -msgstr[1] "" - -#: forum/views/commands.py:110 -#, python-format -msgid "You have %(nvotes)s %(tvotes)s left today." -msgstr "" - -#: forum/views/commands.py:121 forum/views/commands.py:127 -msgid "flag posts" -msgstr "" - -#: forum/views/commands.py:132 -#, fuzzy -msgid "flags" -msgstr "标签" - -#: forum/views/commands.py:149 forum/views/commands.py:155 -#, fuzzy -msgid "like comments" -msgstr "评论" - -#: forum/views/commands.py:152 -#, fuzzy -msgid "like" -msgstr "链接" - -#: forum/views/commands.py:179 forum/views/commands.py:182 -#, fuzzy -msgid "delete comments" -msgstr "删除任何一个评论" - -#: forum/views/commands.py:197 -#, fuzzy -msgid "mark a question as favorite" -msgstr "这个问题被" - -#: forum/views/commands.py:221 forum/views/commands.py:233 -#, fuzzy -msgid "comment" -msgstr "评论" - -#: forum/views/commands.py:224 forum/views/commands.py:351 -msgid "Invalid request" -msgstr "" - -# todo - check if it's indeed plural -#: forum/views/commands.py:230 -#, fuzzy -msgid "edit comments" -msgstr "添加评论" - -#: forum/views/commands.py:240 -msgid "Comment is empty" -msgstr "" - -#: forum/views/commands.py:265 -#, fuzzy -msgid "accept answers" -msgstr "最先回答" - -#: forum/views/commands.py:271 -msgid "Sorry but only the question author can accept an answer" -msgstr "" - -#: forum/views/commands.py:295 forum/views/commands.py:298 -#, fuzzy -msgid "delete posts" -msgstr "删除" - -#: forum/views/meta.py:43 -#, python-format -msgid "Feedback message from %(site_name)s" -msgstr "" - -#: forum/views/meta.py:46 -msgid "Thanks for the feedback!" -msgstr "" - -#: forum/views/meta.py:53 -msgid "We look forward to hearing your feedback! Please, give it next time :)" -msgstr "" - -#: forum/views/readers.py:64 -#, fuzzy -msgid "Open questions without an accepted answer" -msgstr "您正在浏览的问题含有以下标签" - -#: forum/views/readers.py:73 -#, python-format -msgid "Questions tagged %(tag)s" -msgstr "" - -#: forum/views/readers.py:131 -#, python-format -msgid "questions matching '%(keywords)s'" -msgstr "" - -#: forum/views/users.py:152 -#, fuzzy -msgid "user profile" -msgstr "用户概览" - -#: forum/views/users.py:152 -#, fuzzy -msgid "user profile overview" -msgstr "用户概览" - -#: forum/views/users.py:186 -#, fuzzy -msgid "recent user activity" -msgstr "最近活动" - -#: forum/views/users.py:186 -#, fuzzy -msgid "profile - recent activity" -msgstr "最近活动" - -#: forum/views/users.py:196 -msgid "profile - votes" -msgstr "投票 - 用户资料" - -#: forum/views/users.py:203 -msgid "user reputation in the community" -msgstr "用户社区积分" - -#: forum/views/users.py:203 -msgid "profile - user reputation" -msgstr "积分 - 用户资料" - -#: forum/views/users.py:214 -#, fuzzy -msgid "favorite questions" -msgstr "收藏" - -#: forum/views/users.py:214 -msgid "profile - favorite questions" -msgstr "收藏 - 用户资料" - -#: forum/views/users.py:220 -#, fuzzy -msgid "subscription settings" -msgstr "用户参数的设置" - -#: forum/views/users.py:220 -#, fuzzy -msgid "profile - subscriptions" -msgstr "积分 - 用户资料" - -#: forum/views/users.py:230 -msgid "Notifications are now enabled" -msgstr "" - -#: forum/views/users.py:232 -msgid "Notifications are now disabled" -msgstr "" - -#: forum/views/users.py:239 -msgid "New subscription settings are now saved" -msgstr "" - -#: forum/views/writers.py:68 -msgid "uploading images is limited to users with >60 reputation points" -msgstr "上传图片只限于积分+60以上注册用户!" - -# todo take these out of settings -#: forum/views/writers.py:70 -msgid "allowed file types are 'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'" -msgstr "只允许上传'jpg', 'jpeg', 'gif', 'bmp', 'png', 'tiff'类型的文件!" - -#: forum/views/writers.py:72 -#, fuzzy, python-format -msgid "maximum upload file size is %sM" -msgstr "只允许上传%sK大小的文件!" - -#: forum/views/writers.py:74 -#, fuzzy, python-format -msgid "" -"Error uploading file. Please contact the site administrator. Thank you. %s" -msgstr "在文件上传过程中产生了错误,请联系管理员,谢谢^_^" - -#: forum/views/writers.py:85 -#, fuzzy -msgid "Initial revision" -msgstr "初始版本" - -#: forum/views/writers.py:143 -#, fuzzy -msgid "Retag" -msgstr "标签" - -#: forum_modules/books/urls.py:7 forum_modules/books/urls.py:8 -#: forum_modules/books/urls.py:9 -#, fuzzy -msgid "books/" -msgstr "读书" - -#: forum_modules/default_badges/badges.py:17 -#: forum_modules/default_badges/badges.py:24 -#: forum_modules/default_badges/badges.py:31 -#, fuzzy, python-format -msgid "Asked a question with %s views" -msgstr "我要提问" - -#: forum_modules/default_badges/badges.py:39 -#: forum_modules/default_badges/badges.py:53 -#: forum_modules/default_badges/badges.py:67 -#, fuzzy, python-format -msgid "Answer voted up %s times" -msgstr "该用户投的赞成票总数" - -#: forum_modules/default_badges/badges.py:46 -#: forum_modules/default_badges/badges.py:60 -#: forum_modules/default_badges/badges.py:74 -#, fuzzy, python-format -msgid "Question voted up %s times" -msgstr "该用户投的赞成票总数" - -#: forum_modules/default_badges/badges.py:82 -#: forum_modules/default_badges/badges.py:89 -#, fuzzy, python-format -msgid "Question favorited by %s users" -msgstr "您正在浏览的问题含有以下标签" - -#: forum_modules/default_badges/badges.py:97 -#, python-format -msgid "Deleted own post with score of %s or higher" -msgstr "" - -#: forum_modules/default_badges/badges.py:108 -#, python-format -msgid "Deleted own post with score of %s or lower" -msgstr "" - -#: forum_modules/default_badges/badges.py:120 -msgid "First flagged post" -msgstr "" - -#: forum_modules/default_badges/badges.py:127 -#, fuzzy -msgid "First down vote" -msgstr "投反对票" - -#: forum_modules/default_badges/badges.py:134 -msgid "First retag" -msgstr "" - -#: forum_modules/default_badges/badges.py:141 -#, fuzzy -msgid "First up vote" -msgstr "投赞成票" - -#: forum_modules/default_badges/badges.py:148 -msgid "First edit" -msgstr "" - -#: forum_modules/default_badges/badges.py:155 -#, fuzzy -msgid "First accepted answer on your own question" -msgstr "不是一个可以回答的“问题”" - -#: forum_modules/default_badges/badges.py:162 -#, fuzzy -msgid "Completed all user profile fields" -msgstr "完成个人所有资料" - -#: forum_modules/default_badges/badges.py:169 -msgid "First rollback" -msgstr "" - -#: forum_modules/default_badges/badges.py:177 -#, python-format -msgid "Voted %s times" -msgstr "" - -#: forum_modules/default_badges/badges.py:184 -#, fuzzy, python-format -msgid "Left %s comments" -msgstr "评论" - -#: forum_modules/default_badges/badges.py:192 -#, python-format -msgid "Answered your own question with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:205 -msgid "Strunk & White" -msgstr "" - -#: forum_modules/default_badges/badges.py:206 -#, fuzzy, python-format -msgid "Edited %s entries" -msgstr "修改回答" - -#: forum_modules/default_badges/badges.py:217 -msgid "Asked first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:228 -msgid "Answered first question with at least one up vote" -msgstr "" - -#: forum_modules/default_badges/badges.py:260 -#, python-format -msgid "First answer was accepted with at least %s up votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:271 -#, fuzzy, python-format -msgid "Accepted answer and voted up %s times" -msgstr "该回答总共有%d个投票" - -#: forum_modules/default_badges/badges.py:282 -#, python-format -msgid "" -"Answered a question more than %(dif_days)s days later with at least %" -"(up_votes)s votes" -msgstr "" - -#: forum_modules/default_badges/badges.py:295 -#, fuzzy, python-format -msgid "Created a tag used by %s questions" -msgstr "最新问题" - -#: forum_modules/default_badges/settings.py:6 -msgid "Popular Question views" -msgstr "" - -#: forum_modules/default_badges/settings.py:7 -msgid "" -"\n" -"Number of question views required to award a Popular Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:12 -#, fuzzy -msgid "Notable Question views" -msgstr "全部问题" - -#: forum_modules/default_badges/settings.py:13 -msgid "" -"\n" -"Number of question views required to award a Notable Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:18 -#, fuzzy -msgid "Famous Question views" -msgstr "问题列表" - -#: forum_modules/default_badges/settings.py:19 -msgid "" -"\n" -"Number of question views required to award a Famous Question badge to the " -"question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:24 -#, fuzzy -msgid "Nice Answer up votes" -msgstr "当前总票数" - -#: forum_modules/default_badges/settings.py:25 -msgid "" -"\n" -"Number of up votes required to award a Nice Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:30 -#, fuzzy -msgid "Nice Question up votes" -msgstr "您正在浏览的问题含有以下标签" - -#: forum_modules/default_badges/settings.py:31 -msgid "" -"\n" -"Number of up votes required to award a Nice Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:36 -#, fuzzy -msgid "Good Answer up votes" -msgstr "今日剩余投票数" - -#: forum_modules/default_badges/settings.py:37 -msgid "" -"\n" -"Number of up votes required to award a Good Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:42 -#, fuzzy -msgid "Good Question up votes" -msgstr "您正在浏览的问题含有以下标签" - -#: forum_modules/default_badges/settings.py:43 -msgid "" -"\n" -"Number of up votes required to award a Good Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:48 -#, fuzzy -msgid "Great Answer up votes" -msgstr "当前总票数" - -#: forum_modules/default_badges/settings.py:49 -msgid "" -"\n" -"Number of up votes required to award a Great Answer badge to the answer " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:54 -#, fuzzy -msgid "Great Question up votes" -msgstr "给任何问题整理标签" - -#: forum_modules/default_badges/settings.py:55 -msgid "" -"\n" -"Number of up votes required to award a Great Question badge to the question " -"author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:60 -#, fuzzy -msgid "Favorite Question favorite count" -msgstr "收藏" - -#: forum_modules/default_badges/settings.py:61 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Favorite Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:66 -msgid "Stellar Question favorite count" -msgstr "" - -#: forum_modules/default_badges/settings.py:67 -msgid "" -"\n" -"How many times a question needs to be favorited by other users to award a " -"Stellar Question badge to the question author\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:72 -msgid "Disciplined minimum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:73 -msgid "" -"\n" -"Minimum score a question needs to have to award the Disciplined badge to an " -"author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:78 -msgid "Peer Pressure maximum score" -msgstr "" - -#: forum_modules/default_badges/settings.py:79 -msgid "" -"\n" -"Maximum score a question needs to have to award the Peer Pressure badge to " -"an author of a question who deletes it.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:84 -msgid "Civic Duty votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:85 -msgid "" -"\n" -"Number of votes an user needs to cast to be awarded the Civic Duty badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:90 -#, fuzzy -msgid "Pundit number of comments" -msgstr "当前总票数" - -#: forum_modules/default_badges/settings.py:91 -msgid "" -"\n" -"Number of comments an user needs to post to be awarded the Pundit badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:96 -msgid "Self Learner up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:97 -msgid "" -"\n" -"Number of up votes an answer from the question author needs to have for the " -"author to be awarded the Self Learner badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:102 -msgid "Strunk and White updates" -msgstr "" - -#: forum_modules/default_badges/settings.py:103 -msgid "" -"\n" -"Number of question or answer updates an user needs to make to be awarded the " -"Strunk & White badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:108 -msgid "Enlightened up votes" -msgstr "" - -#: forum_modules/default_badges/settings.py:109 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Enlightened badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:114 -#, fuzzy -msgid "Guru up votes" -msgstr "票数" - -#: forum_modules/default_badges/settings.py:115 -msgid "" -"\n" -"Number of up votes an accepted answer needs to have for the author to be " -"awarded the Guru badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:120 -#, fuzzy -msgid "Necromancer up votes" -msgstr "撤销投票" - -#: forum_modules/default_badges/settings.py:121 -msgid "" -"\n" -"Number of up votes an answer needs to have for the author to be awarded the " -"Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:126 -msgid "Necromancer difference in days" -msgstr "" - -#: forum_modules/default_badges/settings.py:127 -msgid "" -"\n" -"Difference in days betwen the posted date of a question and an answer for " -"the answer author to be awarded the Necromancer badge.\n" -msgstr "" - -#: forum_modules/default_badges/settings.py:132 -msgid "Taxonomist usage count" -msgstr "" - -#: forum_modules/default_badges/settings.py:133 -msgid "" -"\n" -"How many usages a tag needs to have for the tag creator to be awarded the " -"Taxonomist badge. \n" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:31 -msgid "Sorry, your Facebook session has expired, please try again" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:33 -msgid "" -"The authentication with Facebook connect failed due to an invalid signature" -msgstr "" - -#: forum_modules/facebookauth/authentication.py:35 -msgid "" -"The authentication with Facebook connect failed, cannot find authentication " -"tokens" -msgstr "" - -#: forum_modules/localauth/forms.py:75 -msgid "Please enter valid username and password (both are case-sensitive)." -msgstr "" - -#: forum_modules/localauth/forms.py:79 -msgid "This account is inactive." -msgstr "" - -#: forum_modules/localauth/forms.py:81 -#, fuzzy -msgid "Login failed." -msgstr "用户名" - -#: forum_modules/localauth/forms.py:85 -msgid "This user is not a valid user" -msgstr "" - -#: forum_modules/localauth/forms.py:88 -#, fuzzy -msgid "Please enter username and password" -msgstr "使用帐号密码登录" - -#: forum_modules/localauth/forms.py:90 -#, fuzzy -msgid "Please enter your password" -msgstr "重设密码" - -#: forum_modules/localauth/forms.py:92 -#, fuzzy -msgid "Please enter user name" -msgstr "请帮助我们回答" - -#: forum_modules/localauth/urls.py:7 -msgid "local/" -msgstr "" - -#: forum_modules/localauth/views.py:33 -#, fuzzy -msgid "A validation email has been sent to your email address. " -msgstr "和您的邮件地址是绑定的" - -#: forum_modules/oauthauth/consumer.py:33 -msgid "Error, the oauth token is not on the server" -msgstr "" - -#: forum_modules/oauthauth/consumer.py:38 -msgid "Something went wrong! Auth tokens do not match" -msgstr "" - -#: forum_modules/openidauth/consumer.py:40 -msgid "Sorry, but your input is not a valid OpenId" -msgstr "" - -#: forum_modules/openidauth/consumer.py:92 -msgid "The OpenId authentication request was canceled" -msgstr "" - -#: forum_modules/openidauth/consumer.py:94 -msgid "The OpenId authentication failed: " -msgstr "" - -#: forum_modules/openidauth/consumer.py:96 -msgid "Setup needed" -msgstr "" - -#: forum_modules/openidauth/consumer.py:98 -msgid "The OpenId authentication failed with an unknown status: " -msgstr "" - -#: forum_modules/openidauth/templates/openidurl.html:7 -#, fuzzy -msgid "Enter your OpenId Url" -msgstr "使用OpenID注册" - -#: forum_modules/project_badges/badges.py:9 -#, python-format -msgid "Got %s upvotes in a question tagged with \"bug\"" -msgstr "" - -#: forum_modules/recaptcha/formfield.py:20 -msgid "Invalid captcha" -msgstr "" - -#: forum_modules/sximporter/importer.py:39 -#, python-format -msgid "Unknown user %(number)d" -msgstr "" - -#: forum_modules/sximporter/urls.py:8 -msgid "sximporter/" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:7 -msgid "SX Importer" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:10 -msgid "Welcome to Stack Exchange dump importer." -msgstr "" - -#: forum_modules/sximporter/templates/page.html:16 -msgid "Your user id in stack exchange" -msgstr "" - -#: forum_modules/sximporter/templates/page.html:20 -msgid "Merge users with same user name and email" -msgstr "" - -#: locale/phrases.py:1 -msgid "Test Phrase 1" -msgstr "" - -#: locale/phrases.py:2 -msgid "Test Phrase 2" -msgstr "" - -#: locale/phrases.py:3 -msgid "Test Phrase 3" -msgstr "" - -#: locale/phrases.py:4 -msgid "Test Phrase n" -msgstr "" - -#, fuzzy -#~ msgid "i-names are not supported" -#~ msgstr "基本的HTML标签也是支持的" - -# translation and user name validation are language-specific -#~ msgid "invalid user name" -#~ msgstr "用户名只能包含英文字母、数字和下划线" - -# minimal length of user name may be language specific -#~ msgid "username too short" -#~ msgstr "用户名太短,请使用三个或三个以上字符" - -#~ msgid "this name is already in use - please try anoter" -#~ msgstr "该用户名已被注册,请换一个试试" - -#~ msgid "" -#~ "This email is already registered in our database. Please " -#~ "choose another." -#~ msgstr "该电子邮件已被注册,请选择另一个再试。" - -#~ msgid "Incorrect username." -#~ msgstr "选择一个用户名" - -#, fuzzy -#~ msgid "signup/" -#~ msgstr "注册帐号" - -# todo please check this in chinese -#, fuzzy -#~ msgid "Account deleted." -#~ msgstr "取消" - -#, fuzzy -#~ msgid "Request for new password" -#~ msgstr "重设密码" - -#~ msgid "site title" -#~ msgstr "CNProg.com" - -#~ msgid "site slogan" -#~ msgstr "程序员问答社区" - -#~ msgid "meta site content" -#~ msgstr "" -#~ "中国程序员的编程技术问答社区。我们做专业的、可协作编辑的技术问答社区。" - -#~ msgid "" -#~ "please use space to separate tags (this enables autocomplete feature)" -#~ msgstr "多个标签请用空格间隔-最多5个标签。(优先使用自动匹配的英文标签。)" - -#~ msgid "responses" -#~ msgstr "回应" - -#~ msgid "profile - responses" -#~ msgstr "回应 - 用户资料" - -#~ msgid "users favorite questions" -#~ msgstr "用户收藏的问题" - -#~ msgid "preferences" -#~ msgstr "设置" - -#~ msgid "profile - user preferences" -#~ msgstr "设置 - 用户资料" - -#, fuzzy -#~ msgid " ago" -#~ msgstr "前" - -#~ msgid "Save" -#~ msgstr "保存" - -#~ msgid "learn more about OpenID" -#~ msgstr "了解更多有关OpenID的信息" - -#~ msgid "User name" -#~ msgstr "您的大名" - -#~ msgid "Email: (won't be shown to anyone)" -#~ msgstr "电子邮件:(不会公开显示)" - -#~ msgid "" -#~ "gold badge descriptionGold badge is very rare. To obtain it you have to " -#~ "show profound knowledge and ability in addition to actively participating " -#~ "in the community. Gold badge is the highest award in this community." -#~ msgstr "" -#~ "金牌是十分罕见的。你不仅要参与社区的提问、回答、投票等活动,而且需要有高深" -#~ "的知识和能力才能获得。" - -#~ msgid "" -#~ "silver badge descriptionObtaining silver badge requires significant " -#~ "patience. If you got one, you've very significantly contributed to this " -#~ "community" -#~ msgstr "它是不同寻常的荣誉,只要你付出足够的努力就会得到。" - -#~ msgid "Connect with Twitter" -#~ msgstr "同步Twitter消息" - -#~ msgid "Twitter account name:" -#~ msgstr "账号:" - -#~ msgid "Twitter password:" -#~ msgstr "密码:" - -#~ msgid "Send my Questions to Twitter" -#~ msgstr "发布我的提问到我的Twitter" - -#~ msgid "Send my Answers to Twitter" -#~ msgstr "发布我的回答到我的Twitter" - -#, fuzzy -#~ msgid "" -#~ "bronze badge descriptionIf you are active in this community, you will get " -#~ "this medal - still it is a special honor." -#~ msgstr "铜牌会在你活跃于社区时产生,它相对容易获得,但也是一种特殊的荣誉。" - -# base_content.html -#~ msgid "congratulations, community gave you a badge" -#~ msgstr "恭喜您,社区给您颁发了奖牌" - -#~ msgid "see" -#~ msgstr "查看" - -#, fuzzy -#~ msgid "About us" -#~ msgstr "关于本站" - -#, fuzzy -#~ msgid "Contact" -#~ msgstr "联系我们" - -#~ msgid "my profile" -#~ msgstr "我的资料" - -#~ msgid "last updated questions" -#~ msgstr "最新更新的问题" - -#~ msgid "given to" -#~ msgstr "授予" - -#~ msgid "subscribe to last 30 questions by RSS" -#~ msgstr "RSS订阅最新30个问题" - -#~ msgid "Still looking for more? See" -#~ msgstr "在寻找更多问题吗?请查阅" - -#, fuzzy -#~ msgid "complete list of quesionts" -#~ msgstr "全部问题列表" - -#, fuzzy -#~ msgid "Size per page:" -#~ msgstr "每页显示" - -#~ msgid "" -#~ "remove favorite mark from this question (click again to restore mark)" -#~ msgstr "我要收藏这个问题(再次点击取消操作)" - -#~ msgid "flag offensive" -#~ msgstr "垃圾帖?" - -#~ msgid "Answers" -#~ msgstr "个回答" - -#~ msgid "i like this answer (click again to cancel)" -#~ msgstr "这篇帖子有价值(再次点击取消操作)" - -#~ msgid "i dont like this answer (click again to cancel)" -#~ msgstr "这篇帖子没有价值(再次点击取消操作)" - -#~ msgid "mark this answer as favorite (click again to undo)" -#~ msgstr "最佳答案(再次点击取消操作)" - -# todo please check this in chinese -#~ msgid "undelete" -#~ msgstr "取消" - -#~ msgid "Login to answer" -#~ msgstr "登录并回答该问题" - -#~ msgid "ago" -#~ msgstr "前" - -#, fuzzy -#~ msgid "please ask a relevant question" -#~ msgstr "我要提问" - -# index.html -#~ msgid "Community wiki" -#~ msgstr "社区Wiki" - -# must have extra space after in english -#, fuzzy -#~ msgid "Browse questions with tag of " -#~ msgstr "查看有关" - -#~ msgid "have %(num_q)s unanswered questions" -#~ msgstr "" -#~ "您正在浏览所有
    %(num_q)s
    个

    问题" -#~ "按 问题创建时间 排序。最新加入的问题将显示在最前面。

    " - -# in unanswered.html and somewhere else -#~ msgid "Have a total of" -#~ msgstr "您正在浏览所有" - -#~ msgid "avatar" -#~ msgstr "修改头像" - -#~ msgid "User questions" -#~ msgstr "个问题" - -#, fuzzy -#~ msgid "" -#~ "the answer has been commented %(answered_question.comment_count)s times" -#~ msgstr "该回答有%d条评论" - -#~ msgid "votes total" -#~ msgstr "个投票" - -#~ msgid "Tags" -#~ msgstr "个标签" - -#, fuzzy -#~ msgid "this questions was selected as favorite" -#~ msgstr "这个问题被" - -#~ msgid "Change email" -#~ msgstr "更换电子邮件" - -#, fuzzy -#~ msgid "Account: change OpenID URL" -#~ msgstr "更换OpenID地址" - -#, fuzzy -#~ msgid "Account: change password" -#~ msgstr "修改密码" - -#, fuzzy -#~ msgid "New password again" -#~ msgstr "发送新密码" - -#, fuzzy -#~ msgid "" -#~ "Your OpenID is accepted. Please complete this to finish registration." -#~ msgstr "您的OpenID帐号已经验证通过! 请完成最后一步 - 绑定OpenID到您的帐号。" - -#~ msgid "New account" -#~ msgstr "新帐号" - -#~ msgid "User name (will be shown to others, cannot be modified)" -#~ msgstr "用户名(在社区显示友好名称,不可更改)" - -#, fuzzy -#~ msgid "Password:" -#~ msgstr "密码" - -#, fuzzy -#~ msgid "Delete account permanently" -#~ msgstr "删除帐号" - -#~ msgid "Send new password" -#~ msgstr "发送新密码" - -#~ msgid "Lost your password? No problem - here you can reset it." -#~ msgstr "丢失了您的密码? 你可以在这里重设密码。" - -#~ msgid "" -#~ "Please enter your username below and new password will be sent to your " -#~ "registered e-mail" -#~ msgstr "请输入用户名,新的密码会发送到你注册时候填写的电子邮件。" - -# todo - check translation or see if it's indeed true -#~ msgid "" -#~ "Note: your new password will be activated only after you click the " -#~ "activation link in the email message" -#~ msgstr "注意: 新的密码只有您在激活邮件中的链接后才会被激活。" - -#~ msgid "we support two login modes" -#~ msgstr "" -#~ "CNProg支持两种登录模式。您可以使用帐号、密码登录,或者使用OpenID登" -#~ "录。" - -#~ msgid "Login with your OpenID" -#~ msgstr "使用OpenID登录" - -#~ msgid "select openid provider" -#~ msgstr "1)请选择您的帐号类:" - -#~ msgid "verify openid link and login" -#~ msgstr "2)型并完成正确的OpenID地址(如:替换“{username}”为您的对应帐号):" - -#, fuzzy -#~ msgid "Create new acccount" -#~ msgstr "注册新帐号" - -#~ msgid "" -#~ "We support two types of user registration: conventional username/" -#~ "password, and" -#~ msgstr "我们支持两种注册方式,你可以使用常规的用户名、密码方式注册,或者" - -#~ msgid "the OpenID method" -#~ msgstr "使用OpenID帐号注册" - -#, fuzzy -#~ msgid "Sorry, looks like we have some errors" -#~ msgstr "请注意以下错误:" - -#~ msgid "Conventional registration" -#~ msgstr "请注意以下错误:" - -#~ msgid "choose a user name" -#~ msgstr "选择一个用户名" - -#~ msgid "back to login" -#~ msgstr "返回登录" - -#~ msgid "meta site keywords, comma separated" -#~ msgstr "" -#~ "技术问答社区,中国程序员,编程技术社区,程序员社区,程序员论坛,程序员" -#~ "wiki,程序员博客" - -#~ msgid "what is this website" -#~ msgstr "" -#~ "CNProg是一个面向程序员的可协作编辑的开放源代码问" -#~ "答社区。" - -#~ msgid "what can one do on this website" -#~ msgstr "" -#~ "您可以在这里提问各类程序技术问题 - 问题不分语言和平台。 " -#~ "同时也希望您对力所能及的问题,给予您的宝贵答案。" - -#~ msgid "book technical Q&A" -#~ msgstr "图书相关的技术答疑" - -#~ msgid "blog" -#~ msgstr "Blog" - -#~ msgid "current revision" -#~ msgstr "当前版本" - -#~ msgid "Change now" -#~ msgstr "现在修改" - -#~ msgid "uses tags for the classification of questions" -#~ msgstr "用标签来分类系统的信息" - -#~ msgid "Found by tag" -#~ msgstr "标签问题" - -#~ msgid "" -#~ "\n" -#~ "\t\t\thave total %(q_num)s questions tagged %(tagname)s\n" -#~ "\t\t\t" -#~ msgid_plural "" -#~ "\n" -#~ "\t\t\thave total %(q_num)s questions tagged %(tagname)s\n" -#~ "\t\t\t" -#~ msgstr[0] "" -#~ "\n" -#~ "您正在浏览所有
    %(q_num)s
    个标记为%(tagname)s

    " -#~ msgstr[1] "" -#~ "\n" -#~ "您正在浏览所有
    %(q_num)s
    个标记为%(tagname)s

    " - -#~ msgid "" -#~ "\n" -#~ "\t\t\thave total %(q_num)s questions containing %(searchtitle)s\n" -#~ "\t\t\t" -#~ msgid_plural "" -#~ "\n" -#~ "\t\t\thave total %(q_num)s questions containing %(searchtitle)s\n" -#~ "\t\t\t" -#~ msgstr[0] "" -#~ "\n" -#~ "您正在浏览所有
    %(q_num)s
    个标题含有" -#~ "%(searchtitle)s

    " -#~ msgstr[1] "" -#~ "\n" -#~ "您正在浏览所有
    %(q_num)s
    个标题含有" -#~ "%(searchtitle)s

    " - -#~ msgid "number of questions" -#~ msgstr "个" - -#~ msgid "number of unanswered questions" -#~ msgstr "" -#~ "个 没有回答的 问题。" - -#~ msgid "tagged with" -#~ msgstr "标记为" - -#~ msgid "whose title contains" -#~ msgstr "标题含有" - -#~ msgid "number of questions end of sentence" -#~ msgstr "的问题。" - -#~ msgid "Most recently answered ones are shown first." -#~ msgstr "最后被回答或者>更新的问题将显示在最前面。" - -#~ msgid "Most voted questions are shown first" -#~ msgstr "投票最多的问题将显示在最前面。" - -#~ msgid "" -#~ "Anyone can ask questions and give answers, points are not necessary for " -#~ "that." -#~ msgstr "对于正常使用社区进行提问、回答而言,积分不是必须的。" - -#~ msgid "" -#~ "As we've said before, users help running this site. Point system helps " -#~ "select users who can administer this community." -#~ msgstr "" -#~ "我们一再声明,CNProg由你来运行和维护。如果你想帮助我们来运作CNProg,你需要" -#~ "一定的积分等级。" - -#~ msgid "" -#~ "Reputation points roughly measure how community trusts you. These points " -#~ "are given to you directly by other members of the community." -#~ msgstr "" -#~ "积分是一种用来粗略衡量社区对你有多信任的数据。积分不是有谁来支付或直接给予你的,而是你通过获得其他用户的支持和信" -#~ "任“赚得”的。" - -#~ msgid "" -#~ "For example, if you ask an interesting question or give a helpful answer, " -#~ "your input will be upvoted and you will gain more trust in the community." -#~ msgstr "" -#~ "举例来说,如果你提了一个非常有帮助的问题或者做了很有用的回答,你将会被其他" -#~ "用户投赞成票。" - -#~ msgid "" -#~ "If on the other hand someone gives a misleading answer, the answer will " -#~ "be voted down and he/she loses some points." -#~ msgstr "" -#~ "相反,你提了不受欢迎的问题,或者误导用户的回答,你将可能被其他用户投反对" -#~ "票。每个赞成" - -#~ msgid "" -#~ "Each vote in favor will generate 10 points, each vote " -#~ "against will subtract 2 points." -#~ msgstr "" -#~ "票会帮你产生10个社区积分,每个反对票会相应扣除你" -#~ "2个积分。" - -#~ msgid "" -#~ "Through the votes of other people you can accumulate a maximum of " -#~ "200 points." -#~ msgstr "" -#~ "每天通过别人投赞成票,你最多只能产生200个积分,这是上限。" - -#~ msgid "After accumulating certain number of points, you can do more:" -#~ msgstr "当你累计到一定>积分,你可以在社区做更多的事情:" - -#~ msgid "gold badge: the highest honor and is very rare" -#~ msgstr "金牌:十分罕见之最高荣耀" - -#~ msgid "" -#~ "silver badge: occasionally awarded for the very high quality contributions" -#~ msgstr "银牌:偶尔颁发之优质奖章" - -#~ msgid "Gold badge is very rare." -#~ msgstr "金牌是十分罕见的。" - -#~ msgid "Gold badge is the highest award in this community." -#~ msgstr "获得金牌意味着你在某个层次上已经达到了顶峰。" - -#~ msgid "Obtaining silver badge requires significant patience." -#~ msgstr "银牌需要经过长时间的奋斗才能获得。" diff --git a/forum/modules/template_loader.py/log/README.TXT b/forum/modules/template_loader.py/log/README.TXT deleted file mode 100644 index 54247a8..0000000 --- a/forum/modules/template_loader.py/log/README.TXT +++ /dev/null @@ -1 +0,0 @@ -this file is just a placeholder so the empty directory is not ignored by version control \ No newline at end of file diff --git a/forum/modules/template_loader.py/manage.py b/forum/modules/template_loader.py/manage.py deleted file mode 100644 index f9894f5..0000000 --- a/forum/modules/template_loader.py/manage.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python -from django.core.management import execute_manager -try: - import settings # Assumed to be in the same directory. -except ImportError, e: - import traceback - traceback.print_exc() - import sys - sys.stderr.write("Error: Can't find the file 'forms.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file forms.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) - sys.exit(1) - -if __name__ == "__main__": - execute_manager(settings) diff --git a/forum/modules/template_loader.py/osqa.iml b/forum/modules/template_loader.py/osqa.iml deleted file mode 100644 index aa15d10..0000000 --- a/forum/modules/template_loader.py/osqa.iml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/forum/modules/template_loader.py/osqa.wsgi.dist b/forum/modules/template_loader.py/osqa.wsgi.dist deleted file mode 100644 index 70c0da8..0000000 --- a/forum/modules/template_loader.py/osqa.wsgi.dist +++ /dev/null @@ -1,11 +0,0 @@ -import os -import sys -sys.path.append('/path/to_dir_above') -sys.path.append('/path/to_dir_above/osqa') -# The first part of this module name should be identical to the directory name -# of the OSQA source. For instance, if the full path to OSQA is -# /home/osqa/osqa-server, then the DJANGO_SETTINGS_MODULE should have a value -# of 'osqa-server.settings'. -os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings' -import django.core.handlers.wsgi -application = django.core.handlers.wsgi.WSGIHandler() diff --git a/forum/modules/template_loader.py/rmpyc b/forum/modules/template_loader.py/rmpyc deleted file mode 100644 index 014575f..0000000 --- a/forum/modules/template_loader.py/rmpyc +++ /dev/null @@ -1 +0,0 @@ -rm `find . -name '*.pyc'` diff --git a/forum/modules/template_loader.py/settings.py b/forum/modules/template_loader.py/settings.py deleted file mode 100644 index bd76b22..0000000 --- a/forum/modules/template_loader.py/settings.py +++ /dev/null @@ -1,115 +0,0 @@ -# encoding:utf-8 -# Django settings for lanai project. -import os.path -import sys - -SITE_ID = 1 - -ADMIN_MEDIA_PREFIX = '/admin_media/' -SECRET_KEY = '$oo^&_m&qwbib=(_4m_n*zn-d=g#s0he5fx9xonnym#8p6yigm' -# List of callables that know how to import templates from various sources. -TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.load_template_source', - 'django.template.loaders.app_directories.load_template_source', - 'forum.modules.module_templates_loader', - 'forum.skins.load_template_source', -# 'django.template.loaders.eggs.load_template_source', -) - -MIDDLEWARE_CLASSES = [ - #'django.middleware.gzip.GZipMiddleware', - 'django.contrib.sessions.middleware.SessionMiddleware', - #'django.middleware.locale.LocaleMiddleware', - #'django.middleware.cache.UpdateCacheMiddleware', - 'django.middleware.common.CommonMiddleware', - #'django.middleware.cache.FetchFromCacheMiddleware', - 'forum.middleware.extended_user.ExtendedUser', - #'django.middleware.sqlprint.SqlPrintingMiddleware', - 'forum.middleware.anon_user.ConnectToSessionMessagesMiddleware', - 'forum.middleware.request_utils.RequestUtils', - 'forum.middleware.cancel.CancelActionMiddleware', - #'recaptcha_django.middleware.ReCaptchaMiddleware', - 'django.middleware.transaction.TransactionMiddleware', -] - -TEMPLATE_CONTEXT_PROCESSORS = ( - 'django.core.context_processors.request', - 'forum.context.application_settings', - #'django.core.context_processors.i18n', - 'forum.user_messages.context_processors.user_messages',#must be before auth - 'django.core.context_processors.auth', #this is required for admin -) - -ROOT_URLCONF = 'urls' - -TEMPLATE_DIRS = ( - os.path.join(os.path.dirname(__file__),'forum','skins').replace('\\','/'), -) - -#UPLOAD SETTINGS -FILE_UPLOAD_TEMP_DIR = os.path.join(os.path.dirname(__file__), 'tmp').replace('\\','/') -FILE_UPLOAD_HANDLERS = ("django.core.files.uploadhandler.MemoryFileUploadHandler", - "django.core.files.uploadhandler.TemporaryFileUploadHandler",) -DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' -# for user upload -ALLOW_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff') -# unit byte -ALLOW_MAX_FILE_SIZE = 1024 * 1024 - -# User settings -from settings_local import * - -try: - if len(FORUM_SCRIPT_ALIAS) > 0: - APP_URL = '%s/%s' % (APP_URL, FORUM_SCRIPT_ALIAS[:-1]) -except NameError: - pass - -app_url_split = APP_URL.split("://") - -APP_PROTOCOL = app_url_split[0] -APP_DOMAIN = app_url_split[1].split('/')[0] -APP_BASE_URL = '%s://%s' % (APP_PROTOCOL, APP_DOMAIN) - -FORCE_SCRIPT_NAME = '' - -for path in app_url_split[1].split('/')[1:]: - FORCE_SCRIPT_NAME = FORCE_SCRIPT_NAME + '/' + path - -if FORCE_SCRIPT_NAME.endswith('/'): - FORCE_SCRIPT_NAME = FORCE_SCRIPT_NAME[:-1] - -INSTALLED_APPS = [ - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.sites', - 'django.contrib.admin', - 'django.contrib.humanize', - 'django.contrib.sitemaps', - 'django.contrib.markup', - 'forum', -] - -if DEBUG: - try: - import debug_toolbar - MIDDLEWARE_CLASSES.append('debug_toolbar.middleware.DebugToolbarMiddleware') - INSTALLED_APPS.append('debug_toolbar') - except: - pass - -try: - import south - INSTALLED_APPS.append('south') -except: - pass - -if not DEBUG: - try: - import rosetta - INSTALLED_APPS.append('rosetta') - except: - pass - -AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',] diff --git a/forum/modules/template_loader.py/settings_local.py.dist b/forum/modules/template_loader.py/settings_local.py.dist deleted file mode 100644 index 9768cfa..0000000 --- a/forum/modules/template_loader.py/settings_local.py.dist +++ /dev/null @@ -1,54 +0,0 @@ -# encoding:utf-8 -import os.path - -SITE_SRC_ROOT = os.path.dirname(__file__) -LOG_FILENAME = 'django.osqa.log' - -#for logging -import logging -logging.basicConfig( - filename=os.path.join(SITE_SRC_ROOT, 'log', LOG_FILENAME), - level=logging.ERROR, - format='%(pathname)s TIME: %(asctime)s MSG: %(filename)s:%(funcName)s:%(lineno)d %(message)s', -) - -#ADMINS and MANAGERS -ADMINS = () -MANAGERS = ADMINS - -DEBUG = False -DEBUG_TOOLBAR_CONFIG = { - 'INTERCEPT_REDIRECTS': True -} -TEMPLATE_DEBUG = DEBUG -INTERNAL_IPS = ('127.0.0.1',) - - -DATABASE_NAME = '' # Or path to database file if using sqlite3. -DATABASE_USER = '' # Not used with sqlite3. -DATABASE_PASSWORD = '' # Not used with sqlite3. -DATABASE_ENGINE = '' #mysql, etc -DATABASE_HOST = '' -DATABASE_PORT = '' - -CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/') -#CACHE_BACKEND = 'dummy://' -SESSION_ENGINE = 'django.contrib.sessions.backends.db' - -# This should be equal to your domain name, plus the web application context. -# This shouldn't be followed by a trailing slash. -# I.e., http://www.yoursite.com or http://www.hostedsite.com/yourhostapp -APP_URL = 'http://' - -#LOCALIZATIONS -TIME_ZONE = 'America/New_York' - -#OTHER SETTINGS - -USE_I18N = True -LANGUAGE_CODE = 'en' - -DJANGO_VERSION = 1.1 -OSQA_DEFAULT_SKIN = 'default' - -DISABLED_MODULES = ['books', 'recaptcha', 'project_badges'] diff --git a/forum/modules/template_loader.py/tmp/README b/forum/modules/template_loader.py/tmp/README deleted file mode 100644 index 708174a..0000000 --- a/forum/modules/template_loader.py/tmp/README +++ /dev/null @@ -1 +0,0 @@ -Just an empty placeholder. \ No newline at end of file diff --git a/forum/modules/template_loader.py/urls.py b/forum/modules/template_loader.py/urls.py deleted file mode 100644 index 0355657..0000000 --- a/forum/modules/template_loader.py/urls.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.conf.urls.defaults import * -from django.utils.translation import ugettext as _ -from django.conf import settings - -urlpatterns = patterns('', - (r'', include('forum.urls')), -) - -if 'rosetta' in settings.INSTALLED_APPS: - urlpatterns += patterns('', - url(r'^rosetta/', include('rosetta.urls')), - ) - -- 2.39.5