-
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
APIv2 Tags & UIGroups #289
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
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
2 times, most recently
from
June 9, 2016 21:45
1055587
to
c929b4c
Compare
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
2 times, most recently
from
June 30, 2016 10:01
60d6dff
to
30826a5
Compare
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
from
July 14, 2016 16:30
30826a5
to
aa7d515
Compare
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
from
July 28, 2016 14:32
aa7d515
to
ddc2155
Compare
Weird Travis errors. Looks like the MongoDB package is offline:
Some days, I appreciate the modern developer ecosystem. Some days, stuff like this happens. |
I'm not sure if there is a better solution: Amend and force push to run travis again. I'm surprised they don't have a local cache/proxy of the mongo packages and that Travis is installing them by default in the first place. |
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
from
July 28, 2016 18:15
ddc2155
to
b3a5970
Compare
- Added eight new endpoints: /api/2/projects/:id/tags/ /api/2/projects/:id/uigroups/ /api/2/uigroups/ /api/2/uigroups/ /api/2/uigroups/:id/ /api/2/uiitems/ /api/2/uiitems/:id/ /api/2/tags/ See roundware.api2.filters for available params - Renamed MasterUI to UIGroup - Renamed UIMapping to UIItem - Changed all mentions of MasterUI and UIMapping in the codebase - Added new fields as per the docs: - Asset.loc_alt_text - Asset.loc_caption - UIItem.parent - Tag.location - Tag.project - Deprecated Tag.relationships into Tag.relationships_old It should be accessible via APIv1 as before - Added new TagRelationship model: {id,tag,parent} - TR.tag points to a Tag object - TR.parent points to another TR, or null - This allows for complex tag trees - Added new Tag.relationships serialization Added basic UIGroup and UIItem serialization - As per the docs, Tags returns id i/o tag_id - Added TagRelationshipAdmin to admin.py - Split get_project_tags into *_old and *_new IAPI/1 aliases *_old, API/2 aliases *_new - Adjusted Django admin to reflect these changes - Fixed the APIv2 tests to account for the responses More tests for APIv2 should be written!
IllyaMoskvin
force-pushed
the
APIv2-tags-uigroups
branch
from
August 12, 2016 16:38
b3a5970
to
56397ff
Compare
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.
See roundware.api2.filters for available params.
It should be accessible via APIv1 as before
Added basic UIGroup and UIItem serialization
IAPI/1 aliases *_old, API/2 aliases *_new
More tests for APIv2 should be written
Depends on #283.