Code Monkey home page Code Monkey logo

run-and-fun's Introduction

Hi there ๐Ÿ‘‹

GitHub stats

Top Langs

run-and-fun's People

Contributors

cmrhdl avatar dependabot[bot] avatar inpercima avatar sepe81 avatar snyk-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

sepe81 cmrhdl

run-and-fun's Issues

Manage global login

Currently the login page is shown when you logged in. It will be better if after the login the dashboard (dash page) will be shown.

So the login should be saved in cookies I think. What did you mean?

FYI @sepe81

name convention and file management

  • name of pages in js (plural?)
    • label: Activities, html: activities, controller: ActivityController, service: ActivityService -> should be renamed to Activities
    • label: Graphs, html: graphs, controller: GraphsController, service: GraphsService -> check ok
  • what about subdirs in js
    • subdirs for page like 'activities', 'dash' or for type 'controller', 'service' -> I prefer for page
  • what about subdirs in html
    • subdirs for page like 'activities', 'dash' or for type like 'pages', 'includes' -> I prefer for part
      #49

correct using of validthis and ignoreline

While reading some lines about the topic validthis I desided to change back to ignoreline because validthis applies to the hole function not only to the next line.

fix eslint issues

There are some issues they can be fixed. Code climate use eslint. We should check them and either use eslint or configure jshint/jscs.

Upgrade spring-boot to 1.5.x

At the moment we use spring-boot 1.4.6. When updating to 1.5.3 there is an exception when calling findAllByTypeOrderByDateDesc

10:34:50.689 INFO  n.i.r.service.RunAndFunServiceImpl:196 - {
  "bool" : {
    "must" : {
      "bool" : {
        "should" : {
          "term" : {
            "type" : "running"
          }
        }
      }
    }
  }
}
10:34:51.003 WARN  o.s.w.s.m.s.DefaultHandlerExceptionResolver:407 - Failed to write HTTP message: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON document: (was java.lang.NullPointerException) (through reference chain: org.springframework.data.elasticsearch.core.aggregation.impl.AggregatedPageImpl["facets"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.springframework.data.elasticsearch.core.aggregation.impl.AggregatedPageImpl["facets"])

pie chart will not load every time

It seems that the pie chart will not load correct if the internet connect is not stable enough. Sitting in the train with hotspot it loads the graphic either not or not completely.
chart

Fetch only new activities from runkeeper

After login to runkeeper it's possible to index all activities through the given rest api. Every activity gets dowloaded and inserted/updated into elasticsearch (ES). It would be better to fetch only new activities after the first indexing has taken place.

enable or disable debug by url

It should be possible to activate an deactivate the debugmode by an paramter in the url. Default should be false - no debugmode. #46

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.