-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMilestoneBACKUP
executable file
·126 lines (82 loc) · 7.06 KB
/
MilestoneBACKUP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
//////////README
Overview
Our project aims to make the printing service at School of Computing (SoC) simpler and easier. (refer to https://docs.comp.nus.edu.sg/services to find out more about SoC’s printing service) We plan to develop a website such that SoC students can perform most of printing related tasks here. Our project is targeting Project Gemini.
Ideation
For our ignition slide, refer to https://drive.google.com/open?id=0Bx9_BeddO0qzSDJLbU9YWlo2UWc&authuser=0
For our 1-minute pitch during Ignition, refer to https://youtu.be/osQjStOAci0?t=2h29m26s
Our project’s target audience is SoC students. We have been wondering why we can’t make SoC printing experience much simpler and easier. Current problems include 1) need to set up every printer in SoC, 2) inconvenient UNIX commands to view remaining quota (page allowance for students), see print queue in each printer, and delete print jobs in printer. To put it simple, the problem is that the current SoC printing service is too troublesome for lazy people like us. We make it simpler and easier.
User Stories
As an SOC student having some lecture notes to print, I want to print them without installing anything, straight from the browser itself.
As an SOC student, I want to find out if there are any documents that are currently printing or is in queue from a printer.
As an SOC student, I want to find out my print quota in my account.
Planned Features
Features already implemented
We have implemented a basic SSH communication between our server and SoC’s Sunfire UNIX server which handles printing jobs. please refer to
Prototype website: http://52.74.219.251/
In addition, we have also implemented Sunfire account login, Select printer, Select file, and View printer queues.
Features planned to be implemented for June sprint
We are planning to implement following features before next milestone
With regard to printing: upload file to server, convert PDF into PS, print on Sunfire
With regard to web presentation: hide login credentials after login, show print quota, show more print queues, window overlay for print uploading
With regard to design: refer to the design sketch:
https://docs.google.com/presentation/d/10QTNu5Yt9WHFfHIHAIg7LgsbKODvv1tyBK2NyH5bzUg/edit?usp=sharing
For detailed tasks related to these features, please refer the Trello cards below.
https://drive.google.com/file/d/0Bx9_BeddO0qzVXRJZVJxZFdULUE/view?usp=sharing
References Used:
For learning:
Wikipedia (https://en.wikipedia.org) first-stop knowledge centre
Code Academy (http://www.codecademy.com/) for PHP, HTML, JavaScript
W3Schools (http://www.w3schools.com/) for HTML, CSS, PHP, JavaScript, AJAX
For research
Yeo Meng Keng’s Blog (http://yeokhengmeng.com/2014/12/nus-soc-print-androidios-background-technical-aspects-and-learning-points/) for process on printing from Sunfire
Printer Monitor (https://www.comp.nus.edu.sg/~siglabs/pm/) for existing similar solution to ours
For creating documentation of the project:
Google drive (https://drive.google.com/) for record keeping, discussions and project logging
Trello (https://trello.com/) for creating user stories and progress monitoring
TinyMCE online full featured version (http://www.tinymce.com/tryit/full.php) to create HTML documentation.
For development of SOCPrint:
PHPSecLib (http://phpseclib.sourceforge.net/) the SSH library for PHP
Ubuntu forums (http://ubuntuforums.org/) for troubleshooting on our main development platform
GitHub (https://github.com/) for version control
SOC Docs Repository (https://docs.comp.nus.edu.sg/) for sunfire and printing related issues
Amazon EC2 (http://aws.amazon.com/ec2/) for virtual server hosting
Notepad++ (https://notepad-plus-plus.org/) for the editor of choice
Google Chrome (http://www.google.com/chrome/) for the broswer utilized to preview the website
////LOG
Ken's total hours: 70 from spreadsheet. Github contributions: https://github.com/KenLSM
Juho's total hours: 28 from spreadsheet. Github contributions: https://github.com/chlee0925
Hours logged
Date Ken Date Juho
Total 70.5 28.5
Attended Workshop Day 1 May 11 8 May 11 8
Learn CSS on CodeAcademy May 11 2 May 14 1
Attended Workshop Day 2 May 12 8 May 12 8
Learn Ruby on CodeAcademy May 12 1
Learn JavaScript on CodeAcademy May 13 2
Learn HTML on CodeAcademy May 13 2 May 14 3
Figuring out ubuntu and apache server May 13 1
Learn HTML on W3School May 14 2
Learn JavaScript on W3School May 14 2
Learn PHP on W3School May 14 1
Discussion with Gerald Yeo (Print queue maker) May 14 1
Researching SSH2 connection using PHP + setup on server May 14 4 requires installation of php ssh2 protocol into server using ubuntu & lamp
Wrote check login page with UNIX account in HTML and PHP May 14 1
Researching SSH2 connection using secphplib May 15 4 does not require any installation, buthave to add in codes and folders into the server Update: Currently using this library for future use
Fixing: unable to connect to sunfire with ssh2 from server May 15 - 21 8 works from localhost but doesnt work from server. Server resides in SG. Checked with yanhao on possible points of failure
Might be due to server being outside of SOC (but my local host is also outside).
Possible fix, setup VPN for server (VPN for server possible?) Update: Switching to localhost for now. Configured my router to forward all html requests to IP of host Update2: Doesnt work again for localhost. Worked for a day before router not responded
Learn GitHub May 17 1 May 27 1 Using command line
Read on Responsive Web Design May 17 1 Read about SASS as well Use media query to create responsive websites...
Switch to local host May 17 1
Added issues and repo to github May 18 1 We switched to trello for further user stories
Read on NUSSOCPrint blog on printing May 18 2 Following his steps
Learnt and added JS scripts to index.html for input May 19 1 Prevents incomplete forms
Added xmlhttprequest with JS script for username/pw check May 19 2 Added disable to prevent user from editing once logged in
Trying out AWS EC2 for server hosting May 20 3 Obtained a server which runs ubuntu. Installed LAMP on it. Can host server, have not checked if able to connect to sunfire Changed a few network setting for web hosting.
Unable to do FTP to transfer files, using filezilla. See server progress for details
Added temp logo and redesigning webpage with margins May 25 4 Just playing and exploring on what css can do
Readup on sftp for uploading May 25 2 Might be uploading to either EC2 or sunfire to process into pdf then postscript
Checked out bootstrap May 26 1 Might have to redo webpage if we are using this... However, we might not be catering for mobile users (use the app) Works by gridding..
Meeting (27 May) May 27 2.5 2.5 Progress update / Github issuees / Server / Design / Possible additional features to be worked on / Datelines
Produced Design sketch May 28 2 Design using Google Slides
Writing report for milestone 1 May 30 2 May 30 3