Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
John Eskew
b777530dac
Add SharedModuleStoreTestCase.setUpClassAndTestData() context manager
...
for use when a test class has a setUpTestData() method which uses
variables set up in the setUpClass() method.
Change base teams API test class to use the context manager.
2016-02-29 18:02:57 -05:00
Qubad786
b669765cee
TNL-4136 fix topic detail endpoint's url to support alphanumeric and period characters
2016-02-23 02:39:22 +05:00
Peter Fogg
75bef91e17
Fix query counts after Django 1.8 merge.
2016-02-03 13:58:23 -05:00
Nimisha Asthagiri
f3cb692472
Safe Session Cookies Middleware
2016-01-26 17:23:03 -05:00
Mushtaq Ali
1d57ef220e
Fix course specific user teams in teams dashboard page
2015-12-07 18:46:01 +05:00
muhammad-ammar
29acc3acfc
resolve merge conflicts
...
test fixes
2015-11-18 19:13:54 +05:00
muhammad-ammar
8d5f153201
Merge remote-tracking branch 'origin/release' into dj18-release-merge
...
Conflicts:
common/djangoapps/util/testing.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/teams/tests/test_views.py
openedx/core/djangoapps/programs/models.py
openedx/core/djangoapps/user_api/accounts/tests/test_views.py
requirements/edx/github.txt
2015-11-18 17:53:44 +05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
J. Cliff Dyer
00b3051b73
Make sure proper logic is used for getting account privacy.
2015-11-06 15:53:08 +00:00
Ned Batchelder
a0c25f88c3
Merge pull request #10279 from edx/ned/cleaner-django-meta
...
No need for docstrings on "class Meta"
2015-10-21 09:35:40 -04:00
Ned Batchelder
322ca34b20
Remove pylint pragmas from "class Meta"
...
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
wajeeha-khalid
017477a8d7
MA-1281 User Account: added account_privacy field in GET and PATCH
2015-10-21 11:33:38 +05:00
Diana Huang
7bfb1127f5
Merge pull request #9771 from edx/diana/add-team-to-reports
...
Add team column to grade reports.
2015-10-02 09:35:25 -04:00
Peter Fogg
ffe2aef41e
Fix displaying wrong membership on "My Team" view.
...
The heart of this fix is to change the "My Team" view to use a
collection of teams instead of memberships. The team card is
refactored to only take a team, rather than attempt to be polymorphic
over teams and team memberships. This change enabled removing a good
amount of old code. This also requires adding a `username` parameter
to the teams list endpoint which allows getting a list of all teams
for a single user, in order to allow refreshing the "My Teams" view
correctly. Currently this list is of length at most one.
TNL-3410
2015-10-01 11:56:15 -04:00
Brian Beggs
144c347387
Fixes for rebasing of the release on 2015-09-23
2015-09-25 12:40:58 -04:00
Will Daly
8555630df7
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-25 12:40:57 -04:00
Diana Huang
a53903c46a
Add team column to grade reports.
2015-09-23 12:21:13 -04:00
Muhammad Ammar
edf88962b5
Merge pull request #9534 from edx/ammar/update-factory-boy
...
Update factory_boy
2015-09-18 19:04:48 +05:00
muhammad-ammar
6a5ce5d544
Upgrade factory_boy
...
TNL-3179
2015-09-18 18:02:38 +05:00
cahrens
0d99449899
Emit event when last_activity_at is updated.
...
TNL-3303
2015-09-17 17:19:17 -04:00
John Eskew
7c0663f25e
Merge remote-tracking branch 'origin/release' into jeskew/resolve_issues_with_release
2015-09-16 15:58:08 -04:00
Peter Fogg
33f559b04a
Remove membership field from teams when serializing memberships.
...
TNL-3281
2015-09-15 13:05:10 -04:00
Peter Fogg
ca124354ba
Add error handling for elastic search.
2015-09-14 16:15:17 -04:00
Peter Fogg
12c9d6b52f
Merge pull request #9714 from edx/peter-fogg/fix-slow-memberships
...
Prevent over-expansion of team memberships.
2015-09-11 13:37:50 -04:00
Peter Fogg
48f72612c3
Prevent over-expansion of team memberships.
...
TNL-3202
2015-09-11 12:55:39 -04:00
Diana Huang
f37ffc2f03
Add the course as part of the context for teams events.
...
TNL-3248
2015-09-10 17:24:54 -04:00
Eric Fischer
65cbab739a
Team deleted and learner removed events
...
Now emitting `edx.team.deleted` event where relevant. Includes tests.
Also includes tests to cover learner_removed events that are fired
as part of the deletion process, as well as learner_removed events
fired from the edit membership view.
Adding these deleted events has brought about a change in the teams
API - the DELETE membership endpoint now takes an optional `admin`
query parameter to differentiate between admin removal and self
removal for analytics purposes.
Also includes some changes needed to get page viewed events working
with admin tools changes made in this PR.
2015-09-10 16:37:04 -04:00
Peter Fogg
0c3be8e121
Delete Team functionality and tests
...
TNL-3164 TNL-3163
2015-09-10 12:42:33 -04:00
Andy Armstrong
439ddfa97e
Merge pull request #9668 from edx/andya/team-search-i18n-bug
...
Improve support for Chinese characters in team search
2015-09-10 11:09:17 -04:00
Andy Armstrong
321a0ea6a0
Fix searching with Chinese characters
...
TNL-3228
2015-09-09 14:16:05 -04:00
Andy Armstrong
72ea41f9c7
Don't localize search indexes for teams
...
TNL-3239
2015-09-08 18:26:12 -04:00
Diana Huang
0b78ffdf83
Merge pull request #9632 from edx/diana/teams-changed-event
...
Add events for tracking when teams are edited.
2015-09-08 15:21:49 -04:00
Diana Huang
8c1bf2cd3a
Add events for tracking when teams are edited.
...
TNL-3190
2015-09-04 15:27:40 -04:00
Peter Fogg
86cce5f0ef
Add teams eventing for search.
...
TNL-3187
2015-09-04 12:40:37 -04:00
Diana Huang
a743f4a642
Add teams eventing and tests.
2015-09-04 10:45:01 -04:00
cahrens
9992ba66df
Name teams in a more meaningful way
2015-08-28 12:42:50 -04:00
Peter Fogg
17253ead24
Cache team_size on CourseTeam model and remove is_active field.
...
TNL-3112 TNL-3154
2015-08-28 12:29:42 -04:00
cahrens
cd4916b68a
MySQL order_by is case insensitive.
...
Tests run with SQLlite though, which is case sensitive.
2015-08-28 12:16:38 -04:00
Bill DeRusha
24a41dc59e
Improve teams test run times by skipping signals
...
TNL-3126
add **kwargs to skip_signal method
2015-08-27 16:08:54 -04:00
Peter Fogg
5d26938158
Merge pull request #9366 from edx/peter-fogg/team-signals
...
Add signals for user's discussion activity.
2015-08-27 14:07:29 -04:00
Christina Roberts
df76994ea5
Merge pull request #9415 from edx/christina/insensitive-check
...
Do a case insensitive check for conflicts to improve performance.
2015-08-27 12:57:29 -04:00
cahrens
41ac90fa7a
Use team name prefix and UUID for team_id.
...
TNL-3107
2015-08-27 11:22:35 -04:00
Peter Fogg
38fb6eaede
Add signals for user's discussion activity.
...
These signals are caught by the Teams app and used to update
`last_activity_at` on both teams and individual users.
TNL-2497
2015-08-26 12:07:54 -04:00
Bill DeRusha
973314de7b
Add basic elasticsearch search for teams
...
TNL-3014
Add tests for search
Add text_search to TeamsListView
Add reindex command line tool for course teams
Add Search Pagination and update comments
Move paginate_search_results to common library
2015-08-24 09:22:06 -04:00
cahrens
295108c9a4
Add sorting by last_activity_at.
...
TNL-3011
2015-08-19 14:23:38 -04:00
Christina Roberts
276cba90c6
Merge pull request #9262 from edx/christina/search-sort
...
Add sorting by team_count, as well as secondary sort (by name).
2015-08-19 12:25:07 -04:00
cahrens
c5f5a58c28
Allow course staff and privileged users to create multiple teams.
...
TNL-3071
2015-08-19 11:07:15 -04:00
Eric Fischer
da3ac3e65b
Validating team size on join, server-side
...
By doing this, we can prevent the bug where multiple users can join
a team simutaneously and push its enrollment over the defined
maximum value. Tests have also been added to confirm this behavior.
TNL-3061
2015-08-19 11:07:14 -04:00
cahrens
1bd4b1d60c
Add sorting by team_count, as well as secondary sort.
...
TNL-3012
2015-08-19 10:52:50 -04:00