-
Notifications
You must be signed in to change notification settings - Fork 20
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
[#756] Astana hotfix 2.4.2 #757
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Akvo Pages, a boolean field 'exclude_keywords' has been added. When set to False (default), the keywords act as usual. However, when set to True, projects with the indicated keywords will be excluded from the project list on the Akvo Page. E.g. For the YEP Water page, we want to exclude the internal Akvo projects. By setting this option to True and indicating a new keyword ('akvo internal') on both the Akvo Page and the internal Akvo project(s), the project will not be shown on YEP's page.
ProjectResource.get_object_list() does not return unpublished projects when the API is queried by an authenticated user. Fix by calling ApiKeyAuthentication.is_authenticated() to check if the user is authorized to view unpublished projects.
The xpath for those two methods is searching from the root (xpath search string starts with "//") in the belief that the tree only encompassed one activity. But this seems not to be the case resulting in _all_ activities being searched. Fix by removing the "//".
Add settings for the URLs to use when fetching the RAIN organisations and activities XML. Add settings for a pair of log labels.
Add load_xml(). This function is moved from rain_project_upload.py Also add save_xml() to allow saving of the fetched XML for logging purposes.
Fetch organisation XML from the RAIN website. The XML fetched is saved for logging/debugging in the same folder as the import logfiles.
Fetch activities XML from the RAIN website. The XML fetched is saved for logging/debugging in the same folder as the import logfiles.
Add methods for setting the category, sync_owner and publishing status of all imported RAIN projects.
Fetch activities XML from the RAIN website.
[#748] Continent code for 'BQ' added
[#745] Add exclude keyword option to Akvo Pages
[#710] rain iati import
KasperBrandt
added a commit
that referenced
this pull request
Sep 30, 2014
[#756] Astana hotfix 2.4.2
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.