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

278 Коммитов

Автор SHA1 Сообщение Дата
Ricky Rosario 1a59ed6cc4 [bug 971000] Protect login with django-axes. 2014-02-26 15:40:25 -05:00
Ricky Rosario f1f14c6984 [bug 785856] Upgrade celery to v3.0.24.
* Updates celery to v3.0.24
* Updates django-celery to v3.0.23 (there is no v3.0.24 for django-celery)
* Adds amqp v1.4.2 replacing amqplib v1.0.2
* Small code changes to match the new API for celery
* Migration that adds missing tables for celery
2014-02-10 14:15:27 -05:00
Ricky Rosario e71a64bfe8 Update django-tidings to master tip.
Includes schematic migration to add tidings to South.
2013-12-16 18:10:38 -05:00
Ricky Rosario f9dd0ea535 Move questions config things into config.py
from question_config.py and __init__.py.
2013-12-03 19:33:47 -05:00
Ricky Rosario 3e223b1272 Convert wiki app to south. 2013-10-16 19:15:11 -04:00
Will Kahn-Greene fa412aa2c0 [bug 911831] Add initial South migrations
* adds South to INSTALLED_APPS
* adds initial migrations for all Kitsune apps that have models
* adds some inspection hints to things that cause problems
* adds last schematic migration to switch us to South
2013-09-11 14:50:58 -04:00
Will Kahn-Greene b3a42acdff [bug 896137] Badges infrastructure
* adds kbadge django app which will centralize badge-related things
* adds notification for badge awarding which will email the awardee
* adds "award list", "award details" and "badge details" pages
* adds some really basic tests

At this point, you can:

1. create a badge in the admin
2. award a badge to someone in the admin
3. see the list of recently awarded badges (/badges/awards/)
4. see the details for a specific badge
   (/badges/badge/<badgeslug>/)
5. see the details for a specific award
   (/badges/badge/<badgeslug>/awards/<id>/)
2013-09-05 12:55:51 -04:00
Will Kahn-Greene aae1e64890 [bug 896137] Add django-badger
* add django-badger to vendor/
* add badger to INSTALLED_APPS
* add migration for django-badger related tables
* add django-badger strings extraction to settings.py

  Note that we only want specific .py files. We don't need to translate
  strings in the example or test code.
2013-09-05 12:55:16 -04:00
Rehan Dalal 77d34733b5 Add migration to remove `_new_topics` tables 2013-08-23 09:26:15 -04:00
Rehan Dalal e035b76dca Add migration to remove old topics 2013-08-23 09:26:15 -04:00
Rehan Dalal 291e080192 [bug 901664] Remove old topics for good 2013-08-23 09:26:15 -04:00
Will Kahn-Greene a3f08a6c2f [bug 889271] Fix migration 226
This adds the missing product that migration 226 balks at plus
adds a note to migration 226 about how to add products in the future if
it dies again.
2013-08-15 20:54:35 -04:00
Ricky Rosario 199c203d48 [bug 896484] Track the number of active contributors per locale/product.
* Added a new utility function to get # of active contributors
  per locale+product
* Added a new monthly cron job that calls it for each locale+product
  and saves the results to the WikiMetric table
* Created a new migration that backfills the data for this year
* Tests for the utility and cron job
2013-08-01 11:10:08 -04:00
Rehan Dalal b3810eaf7f [bug 889814] Setup infrastructure for Persona auth 2013-07-25 17:19:28 -04:00
Mike Cooper f26ffebf6e [Bug 889903] Make Questions use the new topics. 2013-07-22 19:40:31 -07:00
Ricky Rosario 88cdfc6d07 [bug 889913] Track l10n coverage % for all locale/product combos.
* Created new model for these metrics
* Added cronjob to calculate and store values
2013-07-22 13:23:46 -04:00
Rehan Dalal 058fad130a [bug 890268] Remove old topics from templates 2013-07-16 09:20:03 -04:00
Mike Cooper 57d7fb98c6 [Bug 867221] Show hot questions on product pages. 2013-07-11 13:29:44 -07:00
Gaurav Dadhania 00a7f018b8 Fix wrong module name in migrations 2013-07-03 07:22:53 -04:00
Gaurav Dadhania d09a3dfae9 Fix wrong module name in migrations 2013-07-03 07:22:53 -04:00
Gaurav Dadhania a95393e1e8 Fix wrong module name in migrations 2013-07-03 07:22:53 -04:00
Rehan Dalal 9595304603 [bug 867701] New topic and subtopic landing pages 2013-06-25 14:25:28 -04:00
Ricky Rosario 2dbc7c19e3 [bug 884818] Remove code for old topics along with new-topics flag. 2013-06-24 09:40:39 -04:00
Ricky Rosario 3949c08ba7 Drop unused tables. 2013-06-18 12:03:08 -04:00
Ricky Rosario a30928bdca Use uncached in migration. 2013-06-13 13:59:40 -04:00
Ricky Rosario 49cdee384b fix typo in migration 2013-06-13 13:10:14 -04:00
Ricky Rosario f79346ce04 [bug 881433] Add new product-specific topics.
* New models
* Show them in admin
* Flag to switch between old and new topics
* Add new topics to document model and form
* Support for new topics in our views
* Migration to create new topics and assign them
* Add new topics to db strings
* Better admin filtering of documents
2013-06-13 12:41:52 -04:00
Ricky Rosario 54ddbae078 [bug 872538] Move apps from apps/ to kitsune/ 2013-06-06 11:22:30 -04:00
Ricky Rosario 8cd1303d8f [bug 720226] Wiki permissions overhaul.
This moves all the permission checks related to documents and
revisions to a mixin in permissions.py.

All permissions are now checked off the document as:
    document.allows(user, 'action')

Includes a migration to remove no longer needed delete_document_*
permissions by locale.
2013-05-22 16:30:50 -04:00
Ricky Rosario c018da8210 [bug 865705] Add permission to change needs_change* fields. 2013-05-15 19:02:19 -04:00
Ricky Rosario 83b8cafec9 [bug 846813] Add Sakha (sah) locale. 2013-05-15 18:58:20 -04:00
Ricky Rosario 8c96e6a01a [bug 857534] Get and save question views from google analytics.
* New QuestionVisits model
* Cron job to get data from Google Analytics and stick it in
  QuestionVisits
* Display it on question page
2013-05-14 15:35:52 -04:00
Mike Cooper 31026ac2d5 .save() in migrations breaks things. Stop that.
Weird.
2013-05-14 10:43:43 -07:00
Mike Cooper b2854df273 Fix migration 211 to handle lack of data. 2013-05-14 10:02:15 -07:00
Mike Cooper d87fb331a3 [Bug 858575] Add category for canned responses. 2013-05-14 08:50:38 -07:00
Rehan Dalal 9118f4bd4a [bug 867233] Upgrade django-waffle to 0.9.1 2013-05-01 09:15:50 -04:00
Ricky Rosario c2a4a76165 [bug 863528] Add sampling to redirecting inproduct to HTTPS. 2013-04-29 13:51:16 -04:00
Berker Peksag 4ad1693fcd [Bug 864856] Remove chat app. 2013-04-23 20:09:51 -04:00
Ricky Rosario a399cb8a76 [bug 668794][bug 846801] Add new locales: az, sw 2013-04-17 15:39:23 -04:00
Ricky Rosario 0021b54571 [bug 862347] Add permission to bypass answer ratelimit. 2013-04-17 10:35:15 -04:00
Ricky Rosario e1864b1856 Add missing comma in SQL migration. 2013-04-16 09:46:28 -04:00
Mike Cooper 2de9fcd055 [Bug 641503] What links to this?
At render time, record the network of links in the KB, and add a view to
show them. This includes Template usage.
2013-04-15 18:37:15 -07:00
Ricky Rosario ac0b3bd6a7 [bug 851207] Fix locale code casing of sr-Latn and sr-Cyrl. 2013-04-09 12:56:03 -04:00
Ricky Rosario fdd60f5fa5 [bug 851225] Add ready for l10n date to Revision model/table 2013-03-18 20:41:29 -04:00
Ricky Rosario e8560010a4 [bug 850816] Add Optimizely script behind "optimizely" flag. 2013-03-18 20:40:53 -04:00
Rehan Dalal 3a1d976be4 [bug 837851] Add permission to edit keywords field 2013-03-06 16:53:53 -05:00
Rehan Dalal a2a85134db [bug 783707] Allow disabling of users 2013-02-21 13:16:27 -05:00
Berker Peksag e907c54754 [bug 821043] Change password disabling to use User.set_unusable_password() r=willkg 2013-02-15 17:08:00 -05:00
Mike Cooper 8a7a52d54a Add locale field. Do DB migration. 2013-02-08 11:13:23 -08:00
Rehan Dalal 8f4a94b9c4 [bug 823587] Remove old mobile theme 2013-01-18 17:26:38 -05:00