Git Product home page Git Product logo

systers / firstaide-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peacecorps/pcsa-web

11.0 9.0 47.0 9.79 MB

FirstAide is a application to help the Peace Corps Volunteers who are victims of sexual harassment.

Home Page: http://systers.io/FirstAide-web/

License: GNU Affero General Public License v3.0

PHP 7.00% CSS 43.34% JavaScript 44.72% Shell 0.04% HTML 4.90%
php7 php web javascript html css mysql

firstaide-web's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firstaide-web's Issues

Making application Responsive

It would be great if we can make the application responsive for mobile devices also.

p4

Fixes

We can do it in 2 ways

  • Add the third party libraries like bootstrap, Material design lite etc. This will require a lot of changes to be done in our part i.e in css and php files. [Easy to manage in large projects]
  • Second one is to restyle our own css classes and add the media queries into it.

missing link for sign in registration.php

screenshot 112
A link for sign in should be provided on the registration page too.
Otherwise a user has to use back button of the browser to get the sign in page.(in case of no account creation)

Forget Password Link and allowing Users to login with username too

Telling a user to log in using only his/her email is really stressful,most users will prefer being able to log in using both username and email, and lastly I think there should be a forget password link that allows users who forgot their password to be able to recover them

Recreating the Login and Registration Page-adding more advanced technologies

I think technology is advancing everyday,and as a result of that I think a lot of stuffs need to be remove and added to the login page
*Hashing Passwords
*Creating a direct table for users
*Stop the use of CALL functions
*Create a new database with new columns in user table
*Forget Password feature
*Remember me feature
*Email verification
*Adopt the use of a PHP framework eg codeigniter
etc

Refactor Registraction Page and adding a User ID to user table

Going through the registration page and I saw some things that need to be corrected, first is the use of CALL in our mysql command,I think the normal SELECT statement should be used,and we should use the filter_var function to validate that correct emails are inserted, and also we will need to add some more columns to the database,id column, column for resetPasswordToken,and also resetPasswordCompleted

Unnecessary redirection on index.php

index.php redirects to login.php after 2 seconds of delay which is an unnecessary redirect. login.php can be integrated with index.php and a loading screen with Peace Corps logo can be integrated.

Confirm password field missing on signup page

An extra field for confirm password must be there because human typing errors are inevitable. The double entry of password ensures that the user has entered the right and desired password. It also prevents him from making more mistakes and signing up again. @AkankshaBodhankar

screen shot 2017-02-08 at 00 03 07

Deployment of Web App on the Server.

The web app is not deployed anywhere for a live demo. When a new user visits, the person needs to download the zip or clone the repository and run it on local host, which makes it cumbersome. Deployment on a web server will ease the access and anyone can keep a track of implemented modules easily. @AkankshaBodhankar

Disable same username registering

Like the feature when same email address cannot register, i think the same username should not be able to register twice, as it will affect the login page, when different users with the same usernames, but different emails try logging in
img

Email Verification

There is no method for email verification. Anyone will any fake or non-existant email id can create can account. Proper verification check needs to be applied.

Add check for country field

There is no check for value accepted in the country field on the signup page. It is accepting any value, as shown in the screenshot.

screen shot 2017-02-07 at 23 45 51

screen shot 2017-02-07 at 23 46 19

I would suggest we can use a dropdown that enlists all the countries. @AkankshaBodhankar

Validation of Contact no. according to selected country

Any length of contact no. is accepted without checking if it is correct according to the selected country or not on the page of editComrades.php.( Circle of trust / My Trustees)

screenshot 156
screenshot 158

So, we can have many solution like dropdown for selecting the country first and after that validating it. but we have another solution like user has already selected the host_country at the time of registration. So, we don't have to ask again and again to user about country and we can directly select the country code by fetching the data from the database.

Auto Detect Location using mobile network.

The mobile application can automatically detect the location after the launch with the help of network connectivity, with or without gps. In case the the location is not Uganda, Syria or Tunisia the location, the user will be asked for their location.

Create Contributing.md file

CONTRIBUTING.md file can be created in this repo so that we can write all our coding standards there and other the contributers can follow it

Unwanted styling on window resize

firstaide - google chrome

As it can be observed that we get unwanted results on resizing window. Therefore, the website is not responsive. Best way to resolve this is to use BootStrap to make website mobile friendly. I can strap working on it by applying on few pages.

No password encryption

localhost 127 0 0 1 pcsa_web user phpmyadmin 4 5 1 - google chrome_2

This is a major issue needs to be address. For the start md5 encryption can be used. This will be done at the time of both login and registration.

Validation and strength checker for password

During registration add a password strength checker and add validation.
For example,
The password should have minimum 8 characters. Display appropriate message to the right of the textbox alerting the user
A password strength checker something like this:

ajax-password-strength-meter-script

hashing the passwords

Right now the passwords are saved in database in plain text. It would be better if we hash the password and then save it to database. It will improves the security.

p23

Gremlins

FirstAide-web
Random Characters show up in pages when the preview of the website is seen . This can be avoided by using UTF-8 .
screen shot 2016-12-29 at 1 10 16 pm
screen shot 2016-12-29 at 12 42 05 pm

Requirement for feature 'User Persona'

User persona is a new feature and there is no mention of it in the PCSA mobile apps. There is just one mockup in the initial prototype posted by @MeepyMay. However, the ambiguity still exists as the mobile ans web apps must be in sync and there is no such requirement in mobile apps.
@MeepyMay Do we need to implement this feature? And if yes, then what are the specific requirements ? Do they want another tab called profile or it'll just be in setting? Is there a detailed design already created which may be used? And also, is the profile visible only to the user or it is like facebook where everyone can see each other's profile?
Urgent response required if to be covered in GSOC16

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.