melshaabiny / ebshare Goto Github PK
View Code? Open in Web Editor NEWCSC 322, Software Engineering, project.
CSC 322, Software Engineering, project.
Each RU can check his/her reading history/stats; any one, including a VS, can browse the stats for each book.
request.user might be a SimpleLazyObject instead of a User or Anonymous
A book that no one read for a certain time will be removed and 5 points are deducted from the contributing RU.
deploy the current version of the project to heroku to test live functionalities
Provide a catalog of available E-books, each E-book should have a cover-page and summary to be displayed in the catalog, and the number of points needed to read the book for a certain time, e.g., 10 pts for 10 min, 20 for 30 min and 30 for 1 hour (in your system the time units should be seconds instead of minutes to make it easy to test).
Your system should have a function to search for bad words in the books. Any RU can have their own choice of bad words, the RU can complain the book based on his/her search. An RU can also complain a book after s/he read the book. A book receiving 3 complaints will be removed automatically, the point B for this book when the RU contributed this book will be deducted from his/her account with additional -100 points as penalty. If the complaint is very serious, e.g., copyright violations, the SU can choose to punish the contributing RU even with only 1 complaint. An RU whose books are removed twice or who contributed one copyrighted book will be ejected from the system and put in the blacklist who can never register again.
An RU can invite another RU to read a book, once accepted, they both can read the book for their purchased time, and they split the asking points.
Every time an RU log into the system, 5 books that are similar to the ones s/he read before will be recommended. If an RU never read any book, then the top five books that were most read in the system will be recommended.
Unhandled exception in thread started by <function wrapper at 0x7f98f3475ed8>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 229, in wrapper
fn(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 107, in inner_run
autoreload.raise_last_exception()
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 252, in raise_last_exception
six.reraise(__exception)
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 229, in wrapper
fn(_args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named widget_tweaks
The RU can review and rate a book only if s/he read it before, each review and rating is weighted by the amount of time the reviewer reads the book—the rating of an RU who reads the book with 2 hours should have a larger confidence that that by another RU who only read it 10 min.
A new creative feature worth 10% of the total project credit based on each team’s own choice.
Super-users (SU): all RU’s allowed operations, new-user approval decisions, book approvals/updates and complaints processing, set up the points for different reading durations.
Registered users (RU): all VS’s allowed operations, contribute books, read and rate/review books/reviews, send complaints to SU on book contents.
Visitors (VS): browse available E-book catalog and the reviews/ratings, apply to be a new RU.
Using ghi found here: https://github.com/stephencelis/ghi
For any RU to read a book, s/he should have points in the system >= the pts asked by the book for a certain amount of time. Once the RU start to read the book, a timer is set according to the time the RU purchased, the book can be closed by the RU before the purchased time, or the system will close it when the time comes. The duration of the reading time for one book by one RU is accumulative.
It should append to the list of comments the one that was just entered. But, the ajax response, won't allow access to the JSON object's properties...
The RU can contribute a book to the system and asks for a certain number A of points to be deposited to his/her account (this is the only way an RU can get points), the SU decides the number B of points to be rewarded to the contributing user. If B < A, the RU will be notified for approval, if not, the contribution will be denied.
Download and use Boostrap framework for front-end (http://getbootstrap.com/)
The home page app extends the index file from the main ebshare app. They both use Bootsrap.
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.