systers / macc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from peacecorps/app-web-server
Server side support platform for Peace Corps mobile applications.
Home Page: http://macc.systers.org/
This project forked from peacecorps/app-web-server
Server side support platform for Peace Corps mobile applications.
Home Page: http://macc.systers.org/
I was thinking that while installation guide is already in a steady process to get updated, we might also add a separate 'Contribution' file explaining and guiding the people for the following:
@Neetuj @medhach I would like to send a PR for this. Can I go ahead ? :)
Fix the change password functionality so that it checks that the New Password field and Confirm Password field match. Currently, the form is not checking whether the input to these 2 fields match.
Fix profile button so that it's still visible on small screens and windows.
Rename malaria to malaria_web to make it more clear that the code in this Django app implements functionality to be accessed on the user's browser (and is not API code).
Try to get a relevant picture to add in the Dashboard for PCSA app
Right now, gender is entered in a text field. Gender should be selected from a dropdown (or radio buttons) instead.
@MeepyMay @AngieSky
Since this repository is for the project Mobile App Control Center, I think we should change the name so it can be more apt and easy to find.
In various forms there are certain problems. eg in edit profile form-
Bootstrap or further improvement in UI ?
Adding material fonts
separate css folder.
bootstrapping views
Rename infohub (the app that contains project settings) to macc, since MACC is the name of the project.
Unit tests will help improve the application performance.
Peace Corps wants an additional field so that they can add an article or link from an external source. It would be nice to have them enter a URL in a new field (maybe call it "external resource", we can get the confirmed label name from them) and then if there is a default image associated with the article, we post it like a Facebook post or Twitter post.
For better cohesiveness and less coupling.
Separate web app PeaceTrack functionality and PeaceTrack API functionality for better cohesiveness.
Steps to fix.
To Do:
Need to implement in such a way that we do not have to import everytime.
The title_change
and description_change
boolean fields in the RevPost model are no longer required/being used so they should be removed from the RevPost model.
Fix logout button so that it's still visible on small screens and windows.
Currently, the project uses a local copy of bootstrap on the server side instead of Bootstrap CDN.
Avantage of using the Bootstrap CDN:
Many users already have downloaded Bootstrap from MaxCDN when visiting another site. As a result, it will be loaded from cache when they visit your site, which leads to faster loading time. Also, most CDN's will make sure that once a user requests a file from it, it will be served from the server closest to them, which also leads to faster loading time.
I propose to add CDN by adding few lines in the html pages and also keep the local copy in case of a fallback.
More can be read here - http://stackoverflow.com/questions/26192897/should-i-use-bootstrap-from-cdn-or-make-a-copy-on-my-server
@medhach @Neetuj Should I send a PR?
Separate web app Malaria functionality and Malaria API functionality for better cohesiveness.
It improves the quality of the page. :)
When user is logged out and inputs a URL that requires login credentials, user is taken to the login page. After logging in, however, the application does not navigate to the intended page.
When the application is installed for the first time, the user creates a superuser and is required to create a Pcuser in the Django admin interface (that corresponds to the superuser). This should be done automatically.
The link to Installation Guide given on the README.md does not point to the Installation guide. It rather opens up the API documentation. Also, API documentation link does not point to the API documentation given in the project, but to a google doc guide. I would like to send a PR fixing this @medhach @desaivaibhavi .
Add input validation for the following fields:
Input validation includes not allowing certain special characters, having a maximum length for each field and following a specific format/regex for applicable fields (for example, the phone number field).
When the user logs in for the first time, and has not set his/her name the welcome button displays "Welcome, " which looks incomplete . Instead it should display something like "Welcome, User" if the until the user has not set his/her name.
@medhach I would like to send a PR.
Currently no contact can be saved. The same has to be implemented via pcsa_GHN app. @medhach Can I work on this? :)
This will let us add some compulsory features for various Pcuser fields and regex validations. @medhach
Can I go ahead with it?
This way we can check several things related to the profiles. @medhach Shall I continue?
Write tasks for Google Code-In 2015 (https://developers.google.com/open-source/gci/?hl=en) which Systers will be participating in. Assigning this to myself since I'm planning on being a mentor.
The welcome and logout buttons are not buttons, but rather hyperlinks with borders. I would like to change then to button of appropriate types.
@medhach I would like to work on this.
How is this design for the homepage? Can I send a PR to make it look like this? @medhach :)
Clicking on the Cancel button in the Edit Profile form will submit the form (instead of canceling).
There are 2 problems with the installation guide-
1.The instruction to be followed when not using the Peacecorps VM are a bit unclear and can be improved. The document clearly explains the approach which uses the Peacecorps VM, but the one without it gets lost after the third step. I myself faced a bit of difficulty while using the second approach.Hence, I would like to add instructions about which steps to skip and what extra steps to take when using python's own virtual environment after the third steps of the document.
2.The URLs to be entered in the browser are given as http://localhost:8001 and http://localhost:8001/admin, where as they should be http://localhost:8000 and http://localhost:8000/admin respectively.
@medhach @desaivaibhavi I would like to send a PR for this.
We can add automated tests for the app as well. Can someone please approve for the same?
Move styling into CSS files instead of embedded in HTML to separate the content (HTML) from the presentation (CSS).
For better cohesiveness and less coupling.
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
self.finish_response()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 128, in finish_response
self.write(data)
File "/usr/lib/python2.7/wsgiref/handlers.py", line 212, in write
self.send_headers()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 270, in send_headers
self.send_preamble()
File "/usr/lib/python2.7/wsgiref/handlers.py", line 194, in send_preamble
'Date: %s\r\n' % format_date_time(time.time())
File "/usr/lib/python2.7/socket.py", line 324, in write
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
Currently the field types are as follows
I want to change the field types and add regex validators too. Then it would be easier to write tests for user as well.
Also, I think it would be nice if there were utility tests added which could create posts, users and pcusers on their own. We can use them at once and just add mock data rather than writing everything again and again. @medhach Can I go ahead?
To test proper functioning of the app.
For better cohesiveness and less coupling.
webhub
pcsa
pcsa_GHN
Input validation is currently not allowing the ' character in the Post description field.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.