Needs review
Project:
DrupalGap
Version:
8.x-1.x-dev
Component:
Module Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2014 at 16:37 UTC
Updated:
24 Jul 2015 at 04:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marthinal commentedWe need to apply the patch from #2381693 and then this one.
Comment #2
marthinal commenteddataType:"html" should be "text".
Comment #3
marthinal commentedChanged dataType to "text".
Fixed path for token request.
Comment #4
marthinal commentedAdded system connect operations as a new route. Not sure if here is the best place but anyway let's do this for the moment.
Comment #5
marthinal commentedFor the routing system _content needs to be replaced with _controller.
The json requested within the system connect probably should be obtained from Rest Resource.
Comment #6
marthinal commentedI was diving into the new rest module for d8 and I think Rest Resources are used only for entities with a canonical path.
At this point I have added a method that returns a json (systemConnect) and a method that obtains info about the current user (userSystemResources).
From the app side I can load the main default page with the menus(main,home,login...) and I have modified drupalGap app and jdrupal a little bit.
I'll try to do a pull request with these changes and hope it helps with the new version :)
So this patch is about config + system connect.
Comment #7
marthinal commentedAttach js using the libraries yaml
Comment #8
marthinal commentedAdding register setting from Config.
Comment #9
marthinal commentedComment #10
marthinal commentedI'm creating a new resource to register users (anonymous registration) for the d8 rest module. I think that probably system connect should be a new resource. But I'm learning how it works.
Comment #12
juampynr commented@tyler.frankenstein, please in the future respect commit authorship as it encourages more contributions. You can find details on how to do it at https://www.drupal.org/node/1146430.
Comment #14
tyler.frankenstein commented@juampy, thanks for pointing this out. I thought placing the user name in the commit message was sufficient. I've ammended the author attribution for @marthinal.
P.S. Thanks for the RESTUI module!
P.S.S. Ha, I see drupal.org provides a template commit message to use right here in the issue key, that makes it easy!