It would be great if we can make the application responsive for mobile devices also.
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.
Change font to Avenir Next, with "regular" as the main weight for content while "bold" used for buttons. (An alternative is Lato if we can't find a free one (https://www.google.com/fonts/specimen/Lato)
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)
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
@AkankshaBodhankar Can we give such option like Stay Signed In to user whether wants to keep logged in untill he/she logout or allow him to logout after some time automatically? If it is then Can i start my work for this?
Pick only one file at a time.
This is a beginner task. You can claim one css file and start working on it
Make sure the format you use while adding comments is according to this http://usejsdoc.org/about-getting-started.html.
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
After setting the SID, authtoken, fromnumber and tonumber, Can not send the message or do voice call on given Tonumber. Showing error like :Form submission canceled because the form is not connected in get help now section.
There is no documentation for initial database setup. For new users, it will not be easy to setup all the tables in database. We can add documentation for the same.
While going through the codes, I did not find comments on PHP files and there is no other issue opened to take care of this. Is it okay if I go ahead with it @AkankshaBodhankar ?
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
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.
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
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
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
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.
Currently this particular option or button ("Set your peer counselling preferences") has a different background color in comparison to the rest of the options.
Is this how it's supposed to be or is it a bug that has to be fixed?
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)
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.
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.
I have designed a mockup and created a login page ( Dummy Login Page )
to show how material UI can improvise the user experience and subsequently contribute to the success of this project.
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.
The comrade numbers is accepting any length of digits and also there is no validation on correct format of phone number
On hold according to discussion in https://github.com/systers/PCSA-Android/issues/84
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:
Captcha helps form submission to be more secure and won't allow automated scripts to fill forms or someone to create robot to fill your form. It is highly recommended to use Captcha. @AkankshaBodhankar
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.
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