-
-
Notifications
You must be signed in to change notification settings - Fork 205
Rest subset fields #2016
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
Merged
Merged
Rest subset fields #2016
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
aef5338
Send only subset of fields to remote Server for JSON hooks
noliveleger f178159
Refactoring: Changed 'filtered_fields' to 'subset_fields'
noliveleger 59f367f
Refactoring: Changed 'filtered_fields' to 'subset_fields' - forgotten…
noliveleger 7574c3e
user final prop name
magicznyleszek 0c36180
Added XML parser for subset of fields
noliveleger 0d5e38e
Merge branch 'rest_subset_fields' of github.com:kobotoolbox/kpi into …
noliveleger 4c27419
Added unittests for XML parsing
noliveleger eedac96
Updated json parser test
noliveleger c0c8cc2
Merged rest_email_notification branch into rest_subset_fields
noliveleger 92ce1e4
Fixed bad merge
noliveleger 1653cb5
Stop exposing asset_id in Hook Viewset
noliveleger 5db4246
remove dev fallbacks
magicznyleszek f00ac2c
add / to api calls
magicznyleszek 16f3da8
Updated API doc
noliveleger 5b5eb82
Merge branch 'rest_subset_fields' of github.com:kobotoolbox/kpi into …
noliveleger d8b45fa
Merge branch 'rest_email_notification' into rest_subset_fields
noliveleger e2188e1
Merge rest_email_notification branch into rest_subset_field
noliveleger 94f8003
Merged rest_email_notification branch into rest_subset_fields
noliveleger 0563544
Merge pull request #1864 from kobotoolbox/REST-UI
jnm 797aca2
Merged rest_email_notification branch into rest_subset_field
noliveleger 112c17f
Merge branch 'rest_email_notification' into rest_subset_fields
noliveleger b07f538
Merge remote-tracking branch 'origin/master' into rest_subset_fields
jnm cca149f
Add failing test case for subgroup whose name...
jnm 8bc1141
Applied requested changes for PR#2016
noliveleger 36cbad2
Merge branch 'rest_subset_fields' of github.com:kobotoolbox/kpi into …
noliveleger 6ffe18c
Fixed xml parser bug when 2 names of groups start with the same strin…
noliveleger 5318fa1
Added some comments
noliveleger c40dfa3
Added better comments for group detection logic
noliveleger bff0de7
Fixed bad PR#2016 change
noliveleger 7d9ee31
Fix typo
jnm 1b351c5
Remove more magic; tidy up some minor things
jnm 697777d
Merge remote-tracking branch 'origin/rest_email_notification' into re…
jnm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
20 changes: 20 additions & 0 deletions
20
kobo/apps/hook/migrations/0003_add_subset_fields_to_hook_model.py
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # -*- coding: utf-8 -*- | ||
| from __future__ import unicode_literals | ||
|
|
||
| from django.db import migrations, models | ||
| import django.contrib.postgres.fields | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('hook', '0002_add_email_notifications_field'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name='hook', | ||
| name='subset_fields', | ||
| field=django.contrib.postgres.fields.ArrayField(default=[], base_field=models.CharField(max_length=500), size=None), | ||
| ), | ||
| ] |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.