csc309-a5's Issues
Develop front end of the project
All the basic html, beautify it from the back end.
Proper password serialization
Use bcrypt its very easy
read me file which clearly states the instruction of how to run the application.
documentation
comment store date and user
"Create server" for a registered user
- Have a registration for server that conforms to minecraft policies
regex expression to eliminate Mojangs colour coding characters
When saving the model in 'createServer.js' fix the name so it ignores the Mojangs Colour coding character as Roman mentioned.
Roman"
This regex will sdtrip it:
\u00A7[0-9a-fk-r]/gi
The regex is \u00A7[0-9a-fk-r] and g and i are flags
We do a regex replace of that with "" and we are good to go"
reference on regex flags for reference https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Duplicate object ID's when user likes twice on same page
Server Recommendation
Comment system
Title
Server route to get a specific server model
The server route should be /getServer/:ip_port which would return the server port (This will make our API stronger)
so the ip_port is a param, use req.body.param to get the parameters
Test everything
- Login
- Login with various accounts (Minecraft and Google)
- Google - deny permission
- Add server
- Long names
- Blank names
- Invalid IPs [U]
- Unqueryable IPs [U]
- Server page
- Comment persistance
- Rating persistance
- All pages with ids as URL params:
- pass a bad id (like abcdef)
UI for likes and recommendations
Title
get_info from server
If invalid IP gets entered into create server bad things happen
If you try to query an invalid ip (like 'asdasdasd')
then somehow, by some sorcery I do not understand, the callback for query.connect in
server-info.stat_server gets run twice. server-updater.server-info.stat_server runs once, but
somehow query.connect's callback runs two times and thus runs the stat_server callback twice causing problems.
Someone please investigate. Debugger may be required. It might be that query.connect auto retries for some reason (although briefly going over mcquery's code for this it does not seem it does).
do heroku
get all servers (route) /getAllServers
You'll be simply using serverDB.find({}, function(err, servers){ ...}) Fairly straight forward, and just return all the servers in the DB.
Make a brand new route file for it.
A r eport.pdf f ile that describes the following:
A s e c t i o n t h a t i n c l u d e s t h e t i t l e o f y o u r p r o j e c t , y o u r t e a m i n f o r m a t i o n ( n a m e and CDF of each member) and a brief description of your project (within sharing economy space).
A sectiont hat includes the detailed design of your application. This section must include the following items:
i. A high-level view of your software (i.e., not MVC or N-tier, different section of your system).
ii. The description of all these different sections of your system and how they interact with one another.
iii. The list of pages and UI elements of your project.
A section that explains how you have taken care of security vulnerability and how you have tested it in your application. If you use any framework that take care of those, describe that too.
A section describing how much performance you have improved after applying optimization techniques.
A section that Includes a youtube link o f a three minutes video demo of your application(provide username and password if it private).
Anything else you want to include about your project!
Mocha/testing
Fix the issue
Merge getServer into server route
Why is this a thing AGAIN
Code refactoring
Server page
The server page will be a get request when you click on one of the tables, and redirect you to a new page (Calling getServer/:ip_route) to get the model
Like system
Server view page table headers/filters are gone again
Change routes to match our RESTful structure (Minor)
- for example, /servers is now changed to server/list to list al the servers
- to be updated when I find out more about the other routes
Add more things to performance and security - low priority
They will be looking for shit from these:
http://www.cs.toronto.edu/~mashiyat/csc309/Tutorial/Performance.pdf
http://www.cs.toronto.edu/~mashiyat/csc309/Lectures/Security11.pdf
We should try to find things that are quick to add, and toss them in
Registration
- Implement Google Passport authentication
- Integrate with Minecraft accounts Optional
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.