Giter Site home page Giter Site logo

rosedu-people's Introduction

Public Profiles and Activities

Build status: Build status

How to test it

    pip install -r requirements.txt # installs `django` and `pil` packages
    cd rppl
    mkdir data
    ./manage.py syncdb #select no for superuser
    ./manage.py migrate
	./manage.py loaddata ../initial.json
    ./manage.py runserver localhost:8000

How to use South

	./manage.py schemamigration people --auto
	./manage.py migrate people

rosedu-people's People

Contributors

17thfox avatar alexef avatar amelledot avatar ancadiana23 avatar andra-maria avatar andreiduma avatar bobocdiana avatar dependabot[bot] avatar dorinrotarescu avatar dranov avatar ds012012 avatar maria avatar mateiuli avatar mihaibivol avatar mihaimaruseac avatar palcu avatar piatra avatar tiriplicamihai avatar topliceanu avatar valenting avatar victorgruescu avatar xiodine32 avatar

Stargazers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rosedu-people's Issues

Enable People to store all Organisation Data

Need

In order to make People a reliable information source
As a ROSEdu stalker
I want to see accurate information about projects and people

TODOs

  • Add unnactivated accounts for everyone that ever participated in an activity #106
  • Add request account form
  • Display only activated accounts
  • Make the app accessible without login

Future Development

  • Add Social Auth

[UI] Remove redundant text from Activity

Instead of "Content Creator at WoUSO - 2009 - 2010", the text should be "Content Creator at 2009 - 2010 edition". The pattern should be "[ROLE] at [EDITION-NAME] edition". The project name is already visible in the left side, above the picture.

screenshot from 2013-09-17 14 24 26

Facebook Engagement

Story

In order to have a bigger visibillity
As an user
I want to share my activity on Facebook

Scenarios

Given I am a ROSEdu community member
And I have a Facebook Account
Then I can login to rppl using Facebook Account
Given I am a ROSEdu community member
When I see a cool project
Then I can share it on Facebook
Given I am a ROSEdu community member
When I see a cool project
Then I can give a Like to that project's Facebook Page

Solution

  • [logical step in completing this story]

TODO

  • [logical step in completing this story]

Files

  • [path to a file involved in this story]

Insights

  • [peculiar aspect relevant this story]

Prerequisites

#ETA [0-2]p

[UI] Gray out empty grid items on search

When filtering the person grid by name, the empty grid items should also have their opacity lowered, along with the persons that don't match the filter.

Expected behaviour:
expected-behavior

Actual behaviour:
actual-behavior

people.rosedu.org displays CDL 2013 home page

I know that people.rosedu.org is not ready yet and I just tried the address to see what happens, but showing the CDL page does not seem quite right. Not sure if this is a bug or a feature though.

Allow community users to register without admin support

Need

In order not to forget about my People account
As a user
I want to register quickly

Deliverables

  • Quick way to register to People
  • A secure way to register that repells spam

    Solution

  • Ask user to click an activation link when creates account
  • Allow social auth (Fb, G+)

Ask user to click an activation link when creates account

Need

In order to have honest content
As a ROSEdu People admin
I want people to be asked to click an activation link

Deliverables

  • Users are asked to click a confirmation link

Solution

??

Prerequisites

  • django.contrib.admin
  • Authentication Managers
    ...

Order Projects by latest role in profile page

The projects should be ordered by the latest role a person had.
Currently the projects are sorted alphabetically and the roles descending by the timestamp.

Ex.
Project A -
role2 2000
role1 1999
project B -
role1 2012
role2 1803

should be displayed as
Project B - roles...
Project A - roles...

Add content to people.rosedu.org

Need

In order to get something from this site
As a ROSEdu stalker
I want to view all the projects ROSEdu ever had

Deliverables

Solution

Use admin page and add content for all projects and editions.

Go to http://people.rosedu.org/admin
Click Projects to add projects and editions
Go back to admin and click to Editions to add people to an edition

Next steps

Currently we have an invitation command. You can share a txt file in the following format and those users will receive invites.

Last Name First Name email username

Allow users to reset their password if forgotten

Need

In order to log in to ROSEdu people and add activity
As a user
I want to be able to reset my password when I forgot it

Deliverables

A way for users to reset their passwords when they forgot it.

Solution

Use django default reset_password

TODO

  • Add reset_password from django.contrib.auth

Howto

  • Check change_password.html and urls.py

ETA .5p

Allow social auth (Fb, G+)

Need

In order to have access to ROSEdu People
As a user
I want to login fast with an existing account

Deliverables

  • A single step login using facebook and G+
  • A single/two-step signup using social accounts.

Bonus points: GitHub.

Solution

??

Prerequisites

Passing Test Suite

Need

In order to check I don't introduce bugs
As a developer
I want a stable test suite

Deliverables

  • Passing test suite when running ./manage.py test
  • Code coverage in tests for all models and views

Solution

Abstract

In order to achieve a good test suite we need to do the following:

  • Fix the current failing tests
  • Add tests for all models and views

Prerequisites

https://docs.djangoproject.com/en/1.0/topics/testing/
http://www.realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/#.UlFRMpwW2bU

TODO

  • Fix django.contrib.auth failing test. Currently we use the default django.contrib.auth default login view with another template and url. This makes the test fail. A solution might be this one
  • Create a tests module for the people app
  • Add unit tests for models
  • Add unit tests for views
  • Add unit tests for forms

Broken link to course

Need

As a user
I want to click on CDL from http://people.rosedu.org/project/2/
So that I can stay on the same page
But it actually redirects me to http://people.rosedu.org/project/2/cdl.rosedu.org
And it can't be resolved

Deliverables

  • Remove or update the correct link

Solution

Prerequisites

Stacktrace:

Using the URLconf defined in rppl.urls, Django tried these URL patterns, in this order:
^$ [name='overview']
login/$
logout/$
password_change/
^profile_create$ [name='profile-create']
^profile/(?P<pk>\d+)/$ [name='profile']
^project/$ [name='project-list']
^project/(?P<pk>\d+)/$ [name='project-detail']
^profile_set/(?P<pk>\d+) [name='profile-setup']
^admin/
^resources/(?P<path>.*)$
The current URL, project/2/cdl.rosedu.org, didn't match any of these.

TODO

  • Remove DEBUG = True from production
  • Add 404.html page

Files

  • /

#ETA [0-2]p

Stay on profile page after editing

Currently, the user is redirected to the 'Overview' page after save his edits on a profile. He should be sent back to the profile he edited.

Add migration system

Need

In order to develop without the fear of affecting live data
As a ROSEdu People developer
I want to be able add migrations to the database

Deliverables

A way to migrate the database when the Django models change

Solution

  • Add South to ROSEdu People

Prerequisites

  • Migrations using south

TODO

?

Test

Test for hub API

Import csv

Lista membrilor de pe GDocs să intre direct în rpeople.

Permission denied when trying to upload an edition photo

@mihaibivol , @alexef , @alexandrujuncu
I think it's a setup issue.

OSError at /admin/people/edition/3/

[Errno 13] Permission denied: '/home/people/rosedu-people/rppl/resources/upload/2009-2010.jpg'

Request Method: POST
Request URL: http://people.rosedu.org/admin/people/edition/3/
Django Version: 1.4.2
Exception Type: OSError
Exception Value:

[Errno 13] Permission denied: '/home/people/rosedu-people/rppl/resources/upload/2009-2010.jpg'

Exception Location: /home/people/rosedu-people/env/lib/python2.6/site-packages/django/core/files/storage.py in _save, line 192
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path:

['/home/people/rosedu-people/env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg',
'/home/people/rosedu-people/env/lib/python2.6/site-packages/pip-1.4.1-py2.6.egg',
'/home/people/rosedu-people',
'/home/people/rosedu-people/env/lib/python2.6/site-packages',
'/home/people/rosedu-people/env/lib/python2.6/site-packages/PIL',
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/local/lib/python2.6/dist-packages']

Impose coding style

Currently the coding style isn't consistent. eg. class=foo-bar vs class=foo_bar

A wiki page should be created with the used conventions

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.