Coder Social home page Coder Social logo

gtgonline's People

Contributors

gangelop avatar parinporecha avatar

Stargazers

 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

gtgonline's Issues

Mixed content errors

When attempting to access the demo [1], my browser (iceweasel=31.0~b3-1 (debian)) uses https, which is great, but unfortunately, the demo does not appear to work with https due to it loading content over http.

This can be worked around by changing the protocol in the initial request.

1: https://gtgonline-parinporecha.rhcloud.com/

Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Ubuntu:300,400,500"
Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"
Blocked loading mixed active content "http://ajax.aspnetcdn.com/ajax/knockout/knockout-2.2.1.js"
Blocked loading mixed active content "http://www.myersdaily.org/joseph/javascript/md5.js"
Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Ubuntu:300,400,500"
Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"
Blocked loading mixed active content "http://ajax.aspnetcdn.com/ajax/knockout/knockout-2.2.1.js"
Blocked loading mixed active content "http://www.myersdaily.org/joseph/javascript/md5.js"

API: task status should be a text constant

Currently, when retrieving the tasks, the status is given this way:

status (integer) = ['0' or '1' or '2']: Status of the Task

0, 1 or 2 should be replaced by text values (I guess they are "new", "dismissed", โ€ฆ), which would be:

  • more clear
  • more update-proof: what about introducing a new state, semantically between 0 and 1? Should it be named 3, or 1 and rename 1 and 2?

Registration page is not shown entirely

When registering with an email not linked to a Gravatar account, fields for first name and last name are added. However, the form is still in a specifically-sized div, with a scrollbar, even if there's still room on the screen. I didn't noticed there was something under the new fields at first. The div should resize.

login to gtgonline 2013-09-28 13-58-44

API: register a new account

Add a method to create a new account directly from the API, allowing any app to create an account without redirecting the user to the website.

Incorrect credentials make the app fail

Try to log in with non-existing credentials. You get the following error:

Environment:

Request Method: POST
Request URL: http://gtgonline-parinporecha.rhcloud.com/user/authenticate/

Django Version: 1.5.1
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'demo',
'Task_backend',
'Tag_backend',
'User_backend')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')

Traceback:
File "/var/lib/openshift/518740634382ec0f460001d2/python-2.7/virtenv/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/handlers/base.py" in get_response

  1.             response = middleware_method(request, response)
    
    File "/var/lib/openshift/518740634382ec0f460001d2/python-2.7/virtenv/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/middleware/common.py" in process_response
  2.     if response.status_code == 404:
    

Exception Type: AttributeError at /user/authenticate/
Exception Value: 'str' object has no attribute 'status_code'
`

Left action menu is not scrollable

On a 1366ร—768 screen, the left menu doesn't fit. The page is scrollable, but the menu position is fixed, so it doesn't move on scroll.

See the screenshot showing the visible part:
capture d cran de 2013-09-28 13 45 42

API: should use an identity token

The API currently uses the email/password in each request to identify the user. A better way to do it would be:

  • Replace the POST user/auth_gtg method by a GET method, taking as parameters the email and password, and returning an API token if auth is successful, null if unsuccessful.
  • Replace the email/password couple by the token in every other call

Ideally, the user/auth_gtg method should take an additional parameter, an app ID. If not used right now, it could be useful later to let the user revoke specific tokens.

Help: Run as a daemon?

Hello. I've just set up GTGOnline with a simple sqlite3 backend. This might be a silly question since I'm unfamiliar with django but...

How do I run this as a daemon, in the background, on boot, like a proper service?

This is a general question but I'm currently setting this up on ubuntu 14.04

Search filter is not always resetting

When searching something, the search filter is not always resetting properly - even if the UI doesn't show it anymore.

Steps to reproduce:

  • Click on "All" to display all tasks
  • Search for something returning a subset of all tasks
  • Click on "All" again

Result: "All Tasks" is shown again, but only the subset of all tasks returned by the previous search is shown.

Expected: "All Tasks" shown again, but all tasks displayed.

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.