Граф коммитов

309 Коммитов

Автор SHA1 Сообщение Дата
Les Orchard 4ba07b6a9e Ignore test virtualenv and uploads test artifact 2013-01-02 13:38:39 -05:00
Les Orchard b3544906d7 fix issue 138: New badger_example app and standalone test scaffolding
* Moved badger_example out of tests directory and up to package root
* Clean out playdoh / jinja templates, since they live in badg.us
* Misc tweaks to get tests working standalone
2013-01-01 21:58:18 -05:00
Les Orchard 3bab1afb3b Bugfix for when profile has no avatar attribute 2012-12-31 15:49:07 -05:00
Les Orchard 2e5cd8cdcd Experiments in getting `setup.py test` working 2012-12-30 22:25:11 -05:00
Les Orchard 3167f23ace Notifications app is optional; temporarily disable claim codes test that fails in sqlite3 2012-12-30 22:25:11 -05:00
Les Orchard 926e87b984 Unneeded tower calls 2012-12-30 22:25:11 -05:00
Les Orchard f27d9d23e2 Django 1.2 tweaks, bugfixes
* Try to better support Django 1.2, and missing user_logged_in signal
* Look for PngImagePlugin outside of PIL
* Silently fail if deferred_award email templates missing
2012-12-30 22:25:11 -05:00
Les Orchard aa7ba628e5 Middleware to make request.recent_awards available for notifications of awards received since last visit 2012-12-30 22:25:11 -05:00
Les Orchard a37033eb7e Add urlparams filter 2012-12-30 22:24:50 -05:00
Les Orchard 3b97c21491 Clean up unused import 2012-12-30 22:24:50 -05:00
Les Orchard fdd37d51c2 The taggit app is optional, so should the tag field be 2012-12-30 22:24:50 -05:00
Les Orchard 3f1cb940f8 Make template base path configurable in views 2012-12-30 22:24:50 -05:00
Les Orchard 31acad05a4 Image can be missing in admin 2012-12-29 22:54:10 -05:00
Les Orchard 7adb2f1779 register_signals and update_badges are each optional in badges.py 2012-12-29 22:53:27 -05:00
Les Orchard 44f7ec9863 issue #47: wiring up view to reject nominations 2012-12-24 00:18:36 -05:00
Les Orchard 353f165661 issue #47: model changes for nomination rejection 2012-12-23 22:27:01 -05:00
Les Orchard 7352a29a01 fix #40: Award description / explanation field 2012-12-23 16:52:18 -05:00
Les Orchard d41805b32f issue #10: View test for award deletion 2012-12-23 15:59:39 -05:00
Les Orchard 5fb77065af Quick bugfix for previous bugfix. Run tests, dummy 2012-12-23 15:54:42 -05:00
Les Orchard 8a776c3d48 Merge pull request #136 from lmorchard/10-award-deletion
fix #10: Implement award deletion
2012-12-23 12:47:15 -08:00
Les Orchard b085b870c9 fix #10: Implement award deletion 2012-12-23 15:45:16 -05:00
Les Orchard 32b3fe0b8c fix #124, unicode-friendly slugifier; bugfix for valid OBI JSON where optional image is missing 2012-12-23 15:06:16 -05:00
Les Orchard bf13516b9e fix #133: Change wording on button to accept nomination on behalf of nominee, for admins 2012-12-22 22:46:00 -05:00
Les Orchard cb3838b0cc Fix #135: Lingering badger_multiplayer reference in feeds.py 2012-12-21 22:22:57 -05:00
Les Orchard 74f44dc6b3 Merge branch 'absorb-multiplayer' 2012-12-21 16:26:24 -05:00
Les Orchard b8f39ffad6 Fixes #15: Absorb badger_multplayer fully into badger 2012-12-21 16:21:09 -05:00
Les Orchard 4642f10542 Merge the django-badger-multiplayer subproject into core 2012-12-20 18:10:57 -05:00
Les Orchard 1292be634a Tweak to multiple emails form field 2012-12-20 17:39:28 -05:00
Les Orchard 1bbc738bac Bugfix: Edits no longer change the creator of a badge 2012-12-20 17:39:28 -05:00
Les Orchard d254c698e7 Add nominations_accepted flag to badge editing form, disallow nominations when false 2012-12-20 17:39:28 -05:00
Les Orchard 2829d1bcac Move more forms to badge detail page, layout tweaks, test fixes 2012-12-20 17:39:28 -05:00
Les Orchard 4f6d036ccb Badge deletion 2012-12-20 17:39:28 -05:00
Les Orchard 25d4e63f68 Accept initial value to pre-fill tags field 2012-12-20 17:39:28 -05:00
Les Orchard 4826730c90 Initial stab at adding tags 2012-12-20 17:39:28 -05:00
Les Orchard ec3a2d1f4d Tweak to nominations template 2012-12-20 17:39:28 -05:00
Les Orchard b704b4caa0 Nomination accepts multiple email addresses; admin upgrades 2012-12-20 17:39:28 -05:00
Les Orchard 15b8bb492b Enforce {add,change}_badge permissions
* Enforce {add,change}_badge permissions in view

* Helper function to check add_badge permission in templates

* BADGER_ALLOW_ADD_BY_ANYONE setting to shortcircuit add permission
  enforcement, for permissive multiplayer setup
2012-12-20 17:39:28 -05:00
Les Orchard 9342056ad8 Multiplayer remix for DeferredAward; Notification bugfix 2012-12-20 17:39:27 -05:00
Les Orchard a17087ef5d Bugfix for case where badge has no creator and notification breaks things 2012-12-20 17:39:27 -05:00
Les Orchard 9661df6570 Initial steps toward notifications 2012-12-20 17:39:27 -05:00
Les Orchard 7138da8f34 Broken test fixes; funfactory tweaks 2012-12-20 17:39:27 -05:00
Les Orchard 5ad9e441f2 Bugfix for badge create urlpattern 2012-12-20 17:39:27 -05:00
Les Orchard e3ebb183b4 Helpers for listing nominations on profile 2012-12-20 17:39:27 -05:00
Les Orchard 4b7a568626 Add view and feed listing badges created by user 2012-12-20 17:39:27 -05:00
Les Orchard efec5fef12 Convert app to use South 2012-12-20 17:39:27 -05:00
Les Orchard 84abb3a449 Badge nominations and misc tweaks
* Nomination submission view, to create new nominations
* Nomination detail view, affords approval and acceptance
* Award model proxy that produces multiplayer Badge proxies
2012-12-20 17:39:27 -05:00
Les Orchard f66d12bac2 Accept image upload on Badge create 2012-12-20 17:39:27 -05:00
Les Orchard 2c7972b960 Move test app into tests directory 2012-12-20 17:39:27 -05:00
Les Orchard 3760e81450 Feed for all recent badges, needs a test still though 2012-12-20 17:39:27 -05:00
Les Orchard 53d44c0302 Don't need these templates anymore 2012-12-20 17:39:27 -05:00