Git Product home page Git Product logo

angular-sdk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-sdk's Issues

Search filter works only for first page

Example:
Searching for "an" in the Address book returns more hits than displayed on the first page.
Clicking on "NEXT" clears the filtered list and displays the "normal" unfiltered page 2.

Is this behaviour wanted?

typos in documentations

Hi guys

seems like there is a typos in this description

angular.module('your-app', [ 'ngResource' ])

.factory('Model', [
    '$resource',

    function ($resource) {
        return $resource('/api/v2/_table/Model', {
            query: {
                method: 'GET',
                isArray: false // true if response is an array
            },
            create: {
                method: 'POST',
                // url: '/api/v2/Model/create' // You can provide different urls for different CRUD operations
            },
            update: {
                method: 'PUT'
            },
            remove: {
                method: 'DELETE'
            }
        })
    }
])

Should be
return $resource('/api/v2/_table/Model', {}, {

otherwise we will have error

Error: [$resource:badcfg] Error in resource configuration for action query. Expected response to contain an array but got an object

Upgrade project to Angular 1.6

The current version of the sdk still uses Angular 1.3 which is quite old. I believe we should upgrade it to 1.6 which has lot of awesome support like components and other fixes.
Components is the feature why I believe we should upgrade this sdk, where we can show some good examples of Angular Components communicating with DF api.

400 response when trying to add a contact or group

  • New instance on enterprise.dreamfactory.com
  • Followed the configuration procedure from the readme file.
  • Registered as a new user via the app

Now, when I try to add a contact or a group, the POST request is sent but the response is a 400 with the message: No record(s) detected in request.

Authorization fails

Authorization fails, same error and details as for the javascript-sdk example. (Existing user details confirmed via dreamfactory interface, but rejected at login).

ajax post request to:
https://.enterprise.dreamfactory.com/api/v2/user/session/

params include username and password.

There must be some extra config step required?

Issues with CSS sent with MIME type "text/html"

  • Windows as client
  • Firefox 42.0, Chrom 46.0.2490.86 m
  • dreamfactory reasently built and running inside a docker container on a ubuntu 14.04 host

Probably same type of error as in dreamfactorysoftware/javascript-sdk#1

I just started playing with dreamfactory and imported the angular app and think I have everything set up OK. The registration/login page shows but app.css is not used because it was sent using "text/html" and not "text/css" as it should.

Chrome reports Resource interpreted as Stylesheet but transferred with MIME type text/html:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.