Code Monkey home page Code Monkey logo

cellularcoverage's People

Contributors

mringelborn avatar nitzel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cellularcoverage's Issues

Developer API - measurements

implement /api/addmeasurement as described in the wiki

  • area as rectangle
  • area as polygon if supported by PostGIS

OAuth Login and Logout

  • Login/Logout button
  • Login functional
    • creation of user in table users
  • Logout functional

Geoserver GetFeatureRequest

When clicking on the maps you can perform a GetFeatureRequest to find out more about the object you just clicked.

  • CORS enabled on Geoserver #15
  • Sending the request onClick
  • Displaying the data
    • do it pretty

Associate measurement with user

On submission of a measurement by a logged-in-user save the relation between measurement id and user id in table measurement2user

Speedtest

  • Speedtest working
  • Geolocation working
  • Upload data to the database
    • Security/Validity checks (server-side)

test

  • create the website
  • submit link to the prof

401 Unauthorized from Twitter

When sending the request for the initial token to Twitters API according to the instructions given by Twitter Sign-In dev docs, with help of oauth, omniauth and omniauth-twitter gems, we get a 401 Unauthorized with the following header:

{
    "cache-control" : [
        "no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
    ],"connection":[
        "close"
    ],
    "content-disposition":[
        "attachment; filename=json.json"
    ],
    "content-length":[
        "89"
    ],
    "content-type":[
        "application/json; charset=utf-8"
    ],
    "date":[
        "Wed, 09 Dec 2015 14:06:22 GMT"
    ],
    "expires":[
        "Tue, 31 Mar 1981 05:00:00 GMT"
    ],
    "last-modified":[
        "Wed, 09 Dec 2015 14:06:22 GMT"
    ],
    "pragma":[
        "no-cache"
    ],
    "server":[
        "tsa_b"
    ],
    "set-cookie":[
        "guest_id=v1%3A144966998241171180; Domain=.twitter.com; Path=/; Expires=Fri, 08-Dec-2017 14:06:22 UTC"
    ],
    "status":[
        "401 Unauthorized"
    ],
    "strict-transport-security":[
        "max-age=631138519"
    ],
    "www-authenticate":[
        "OAuth realm=\"https://api.twitter.com\""
    ],
    "x-connection-hash":[
        "abe5ee55f325a37df9b6737ed850e36a"
    ],
    "x-content-type-options":[
        "nosniff"
    ],
    "x-frame-options":["SAMEORIGIN"],
    "x-response-time":["8"],
    "x-transaction":["7ecc34ff643e2eb4"],
    "x-twitter-response-tags":["BouncerCompliant"],
    "x-xss-protection":["1; mode=block"]
}

CORS for API & GetFeatureRequest

Allowing Cross-Origin-Resource-Sharing is necessary for

  • using the Geoserver GetFeatureRequest
    • CORS on the Geoserver
  • allowing access to the API to others
    • CORS on the main server

Map not loading at other page than /

Access the view welcome#index from another url than "/" results in the map not loading.
For example accessing it from "/welcome/index" if route "get 'welcome/index' => 'welcome#index'" exists.

Set up databases

  • Set up the 3 databases and their tables as described in the wiki
  • add config/database.yml to .gitignore
  • configure it differently for all 3 subdomains
  • Set up Geoserver layers and stores for each db

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.