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

[#991] Join 'develop' with 'feature/rsr_v3' #1090

Merged
merged 135 commits into from
Feb 12, 2015
Merged

Conversation

kardan
Copy link
Contributor

@kardan kardan commented Feb 12, 2015

After this we should be able to merge feature/rsr_v3 with develop and get one line of development.

adriancollier and others added 30 commits September 2, 2014 15:05
The middleware adds a response header of the format:

X-RSR-Verision: "Tag:<tag name> Commit:<commit hash> Branch:<git branch name>"
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.
[#745] Add exclude keyword option to Akvo Pages
_publish() now published projects that have both an image and a location other than 0, 0.

Add logging for this too.
Add filtering to project_update_extra that returns only updates newer than the time queried for.

The querystring is on the form created_at__gt=YYYY-MM-DDTHH:MM:SS
kardan and others added 20 commits February 4, 2015 16:31
- Made sure to add auth_groups if the required onces
  are not there in save() on Employmen.
- Updated type checks in permissions
- Changed order on permission middleware
- Added a setting for required auth_groups
- In the add update template moved JS from the head to
  the jq block where $ is defined.
- Updated README with quick instructions on how to get started.
- Fixed a typo in the Vagrantfile
… This will use the newest RSR basebox but also move the insertion of testdata into the RSR codebase
Since some BSDs allow . (dot) in the username & we can just as well
use the more common : between group and user.
To be able to load and dump user images (db folder) and database content
we need two matching script. The dump script should be used to create
what we want to host on files.akvo-ops.org.
- Updated load.sh and dump.sh to now work properly
- Updated load_test_db.sh provisioning script to use load.sh
- Added short README text
- Updated to latest sorl-thumbnail to get clear_delete_all management
  command.
- Updated curl to follow redirects (for Dropbox).
- Now downloading data from akvo-ops server
- Removed old code
- Generated new datafile, that is now referenced.
- Enabled migrations at the end of load_test_db.
- Removed commented code
- Updated local settings template
- Documented how to get started.
- Added Copyright headers
- Changed to more portable shebang in load/dump scripts
@iperdomo
Copy link
Contributor

Checklist

  • Test plan
  • Copyright header
  • Code formatting

@KasperBrandt KasperBrandt changed the title 991/join [#991] Join 'develop' with 'feature/rsr_v3' Feb 12, 2015
@kardan kardan mentioned this pull request Feb 12, 2015
3 tasks
KasperBrandt added a commit that referenced this pull request Feb 12, 2015
[#991] Join 'develop' with 'feature/rsr_v3'
@KasperBrandt KasperBrandt merged commit a04cdab into feature/rsr_v3 Feb 12, 2015
@kardan kardan deleted the 991/join branch February 26, 2015 07:31
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.

8 participants