Jeremy Bowman
68902a2f3f
TE-2689 Remove useless pylint suppressions part 3
2018-08-16 09:57:01 -04:00
Jeremy Bowman
4e8668d3be
TE-2524 Stop using nose.plugins - LMS 2
2018-08-01 13:54:06 -04:00
Brian Mesick
832f6a7157
Merge pull request #18320 from edx/bmedx/remove_111_test_marks
...
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 11:15:26 -04:00
bmedx
c125ff6a57
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 09:58:38 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
bmedx
5fbbf4979a
Tag LMS Unit 1 tests that fail in Django 1.11
2017-11-22 15:46:45 -05:00
Jeremy Bowman
fd6af6b05e
ddt usage cleanup
2017-09-05 17:25:51 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Jeff LaJoie
d66e323d42
TNL-6186 changes field used in CourseTeamMembership emit to be correct team_id and fixes tests
2017-01-06 08:10:31 -05:00
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