Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.20 Bogotá #2510

Merged
merged 181 commits into from
Jan 19, 2017
Merged

Release 3.20 Bogotá #2510

merged 181 commits into from
Jan 19, 2017

Conversation

punchagan
Copy link
Contributor

  • Test plan | Unit test | Integration test
  • Copyright header
  • Code formatting
  • Documentation
  • Change log entry

damienallen and others added 30 commits July 27, 2016 11:12
Update the branch with a recent version of develop and fix what's broken.

The main fix is the removal of most of the custom pagination that was added to support Tastypie in DRF 2.3. This is replaced by two new pagination classes, LimitSizePageNumberPagination and TastypieOffsetPagination as well as a rewite of BaseRSRViewSet.paginate_queryset().
Add related models in querysets for slow DRF endpoints
A syntactically incorrect filter might result in a SyntaxError. Catch this and ignore the filter.
to support how to create nested objects in DRF 3
punchagan and others added 26 commits December 9, 2016 12:32
Previous js code assumed this to be relative, and did URL munging which breaks
now.  This commit gets rid of that.
[#2475] Call FuzzyDate explicitly with an end_date
Code reviewed.
React.createElement is incorrectly passed a text field as the `children`
argument.  This causes invalid HTML (`<input>user-input</input>`) to be
generated and causes the input element to lose focus while typing.

Thanks to @gabemart for the fix!

Closes #2473
AdministrativeLocation should be deletable from the project editor, by everyone
who has the permissions to edit a project.

Closes #2482
This fixes the problem of some `ProjectUpdate`s not having a location, since
Chrome >= v50 has disabled GeoLocation API on insecure origins.

Closes #2479
With the DRF 3 update, the serializers behave slightly differently -- Default
values are not returned for data not passed explicitly to the serializer as
initial data.  This commit explicitly adds required values to the initial data.
[#2298] Fix requesting organization from UP app
Code reviewed
[#2298] With the DRF3 update changes, IATI file path is absolute
Code reviewed
[#2482] Add permissions for AdministrativeLocation
Code reviewed
[#2484] Importing Results does not import IndicatorReferences
Code reviewed
[#2479] Prompt using a different browser if geolocation disabled
Code reviewed
[#2473] Test environment password dialog loses focus
Code reviewed
[#2403] Clicking on Read more in project summary broken sometimes
Code reviewed
[#2298] Allow updates to be posted with no photo_{caption,credit}
Code reviewed
To get the list of projects where a user has `change` permissions, use DB
queries instead of a loop wrapping DB queries to make the response much faster.
This fixes timeouts for users who are not rsr admins but have change
permissions for a lot of projects.

Closes #2494
[#2494] Switch to DB queries to get allow_edit_projects
Code reviewed
…bjects for typeaheads"

This reverts commit e07906f.

The commit was added to speed up the project editor page, a little bit, since
the typeaheads were being fetched on that page.  But, this change actually
breaks the typeahead in the "All updates" page.  The speed gain isn't critical
to have, and can be done without.
@punchagan punchagan merged commit 5b4e812 into master Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants