Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
cb089be
HTML cleanup
kassssc Mar 22, 2018
f61d523
Fixed bug with button padding
kassssc Mar 22, 2018
a93cf5a
Merge branch 'setup_app_structure' of https://github.com/DineIn2018/d…
kassssc Mar 22, 2018
6282882
?
KameronYoung Mar 22, 2018
a0c0f79
Merge branch 'setup_app_structure' of https://github.com/DineIn2018/d…
KameronYoung Mar 22, 2018
1015351
Fixed date time bug, scss changes, code cleanup
kassssc Apr 3, 2018
e27e36a
Implemented Party sorting algo
kassssc Apr 6, 2018
3e138f0
Added Server Selecting
kassssc Apr 6, 2018
d3f0f15
moved some files
kassssc Apr 9, 2018
b9d9b0e
calendar structure with tutorial from http://devdactic.com/ionic-cale…
KameronYoung Apr 9, 2018
5d3d708
management add functionality of update information
Suzykong220 Apr 9, 2018
a1394c0
changes to calendar page
KameronYoung Apr 9, 2018
f04d902
Structure changes
kassssc Apr 10, 2018
5dcfe72
removed icon from Add Event button on Event Modal page and changed th…
KameronYoung Apr 10, 2018
2f5f56d
Commit to pull updated code.
bsuzan06 Apr 10, 2018
b6e6efb
Merge branch 'calendar' of https://github.com/DineIn2018/dinein into …
bsuzan06 Apr 10, 2018
f69faa6
fixed timezone issue on dates on event-modal page
KameronYoung Apr 10, 2018
021a4db
Modified event details after addition.
bsuzan06 Apr 10, 2018
b7f44d3
added a button to calendar to immediately return to current date
KameronYoung Apr 10, 2018
f6c323c
Merge branch 'calendar' of https://github.com/DineIn2018/dinein into …
bsuzan06 Apr 10, 2018
a7052bb
Merge branch 'calendar' of https://github.com/DineIn2018/dinein into …
KameronYoung Apr 10, 2018
d9758ea
Merge branch 'management-page' into MERGE_management_page
kassssc Apr 11, 2018
24b30d9
create restaurant page
kassssc Apr 11, 2018
5bf9e30
Attempted to add the Edit Event Modal, but it doesn't seem to work. S…
bsuzan06 Apr 11, 2018
33949e4
Merge branch 'calendar' of https://github.com/DineIn2018/dinein into …
bsuzan06 Apr 11, 2018
bf119b1
started working on image upload for editing employees.
KameronYoung Apr 11, 2018
3193b04
edit modal fields are now prepopulated with the event details and the…
KameronYoung Apr 11, 2018
dcae9ba
added delete event functionality to calendar
KameronYoung Apr 11, 2018
13ad1f7
Added Tests
kassssc Apr 12, 2018
739ccf5
added ID tests
kassssc Apr 12, 2018
2753a10
Merge branch 'calendar' into MERGE_calendar
kassssc Apr 12, 2018
793dc8f
json fixes
kassssc Apr 12, 2018
042d902
minor fix
kassssc Apr 13, 2018
772c425
add DB
kassssc Apr 13, 2018
a799c42
small fix
kassssc Apr 13, 2018
f2a15a7
Added employee shift logic
kassssc Apr 13, 2018
9471c60
fixes
kassssc Apr 16, 2018
2e48819
Added InteractJS drag drop
kassssc Apr 17, 2018
9675208
bug fixes
kassssc Apr 18, 2018
c8f1ec0
Started timepunch page implementation
kassssc Apr 18, 2018
514e7ee
on Employee page, changed ID to type number instead of string to fix …
KameronYoung Apr 19, 2018
01f4fb7
changed some get and set functions for ID and Pay to use numbers inst…
KameronYoung Apr 19, 2018
b4d6c24
HUGE CHANGES
kassssc Apr 19, 2018
6077588
Merge branch 'drag_drop_interact' of https://github.com/DineIn2018/di…
kassssc Apr 19, 2018
e1321c9
huge overhaul, shift filter working to an extent
kassssc Apr 20, 2018
f05270b
still a trillion bugs in employee shift filter
kassssc Apr 21, 2018
79838dc
my changes
bsuzan06 Apr 21, 2018
78a01ae
created ui_ux branch, made changes to the punch card, working on cale…
bsuzan06 Apr 21, 2018
13cec30
filter finally working
kassssc Apr 21, 2018
f29a415
transparency and numpad
kassssc Apr 22, 2018
e8fa0a8
add table button
kassssc Apr 22, 2018
6815cc8
final shift filter fixes
kassssc Apr 22, 2018
3102ec4
big fixes
kassssc Apr 23, 2018
a555d7e
Added the logo to the log-in page
bsuzan06 Apr 23, 2018
4e10790
fix employee bugs
kassssc Apr 23, 2018
c252281
fixed conflicts
bsuzan06 Apr 23, 2018
d4d08f9
movement of html and css, mostly punch card
bsuzan06 Apr 23, 2018
ac67eaa
fix bugs
kassssc Apr 23, 2018
6f5ab09
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 23, 2018
8b2b546
commented out code with the "name" error
KameronYoung Apr 24, 2018
b233b2c
fix modal list issues
kassssc Apr 24, 2018
d3fe231
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 24, 2018
ed69a89
removed toFixed on employees page bc it returns a string instead of a…
KameronYoung Apr 24, 2018
25e66c2
fix float bug
kassssc Apr 24, 2018
0d27f4e
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 24, 2018
ce422cb
punch card styling with filter buttons
bsuzan06 Apr 24, 2018
bd17854
minor bug fixes
kassssc Apr 24, 2018
7548944
Update README
kassssc Apr 24, 2018
78103fd
tiny phone number formatting
kassssc Apr 24, 2018
8134c3c
added suzy's code to management
bsuzan06 Apr 24, 2018
00d337d
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
bsuzan06 Apr 24, 2018
e55a9f1
modal fixes and pay display decimals
kassssc Apr 24, 2018
5dc0ee8
changed the logo, again.
bsuzan06 Apr 24, 2018
4979bfb
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
bsuzan06 Apr 24, 2018
17a563d
styling changes
kassssc Apr 24, 2018
9aa66bf
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 24, 2018
0566faf
made things prettier
kassssc Apr 25, 2018
5287203
Employee page made prettier :D
kassssc Apr 25, 2018
8d89f47
cleaned restaurant page's html and css.
bsuzan06 Apr 26, 2018
a55f169
pay string employee fix
kassssc Apr 26, 2018
bb38b8b
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 26, 2018
1ea096d
fixed employees title
bsuzan06 Apr 26, 2018
8601d2a
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
bsuzan06 Apr 26, 2018
24eae53
fixed stupid mistake i made when styling
bsuzan06 Apr 26, 2018
034be03
fix
kassssc Apr 27, 2018
3efe7b9
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 27, 2018
c8d9fc8
fix bugs
kassssc Apr 27, 2018
55d9130
merge
bsuzan06 Apr 27, 2018
99a6cd6
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
bsuzan06 Apr 27, 2018
a21d53b
timepunch prettier ID displays always 4 digit
kassssc Apr 27, 2018
4c0319f
fixed the tables as best as i could :(
bsuzan06 Apr 27, 2018
4d6e2ca
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
bsuzan06 Apr 27, 2018
ee67003
timepunch changes
kassssc Apr 28, 2018
7cec34f
Merge branch 'ui_ux' of https://github.com/DineIn2018/dinein into ui_ux
kassssc Apr 28, 2018
5755ecb
management page updates
kassssc Apr 29, 2018
e0138ca
locked screen orientation, fixed typo bugs
kassssc Apr 29, 2018
c01de4c
added and fixed some employees
bsuzan06 Apr 30, 2018
31a9789
changed format for displaying pay on employee page
KameronYoung May 1, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ log.txt
npm-debug.log*

.idea/
.sourcemaps/
.sourcemaps/*
.sass-cache/
.tmp/
.versions/
Expand All @@ -33,3 +33,6 @@ $RECYCLE.BIN/
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
*.js.map
.DS_Store
src/.DS_Store
2 changes: 1 addition & 1 deletion .sourcemaps/0.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .sourcemaps/1.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .sourcemaps/2.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .sourcemaps/main.js.map

This file was deleted.

60 changes: 51 additions & 9 deletions README
Original file line number Diff line number Diff line change
@@ -1,13 +1,55 @@
NOTE: You must have Node.js installed
DineIn: How to Run

To download Ionic, run
npm install -g ionic
1) Install node.js (if you don't already have it)
https://nodejs.org/en/

2) Install Ionic
Run:
$ npm install -g ionic cordova

3) Clone our Github repo
https://github.com/DineIn2018/dinein.git

4) Checkout the branch "TEST"

From within the repository, run
npm install
to install the dependencies. Then, still in the repository, run
ionic serve
5) In terminal, cd to the directory where you have the repo cloned

This will open a tab in your browser, running the app.
6) Install all the node.js dependencies
Run:
$ npm install

7.1) If you don't have an iPad
Run:
$ ionic serve
This will open a tab in your browser, running the app.

* Note:
At the login page, it is not necessary to enter a username or password.
This will look real ugly, our application is meant to be deployed on an iPad, it will look better there
Some scrolling also won't work in the browser, it will work on the iPad
The browser is just a debugging platform

**********************************************************************************************************
* IMPORTANT:
* When the browser is opened with the app, an error will show initially
* This is due to a bug in a plugin we used to handle drag and drop called interactJS (not our fault!)
* The program's functionality works fine though, even with this bug, it just affects it at compile time
* To make the error go away, while ionic is serving and your browser showing the error page,
* open up any typescript (.ts) file within the pages folder in our project and save it (no need to modify)
* The error should go away and the app will run smoothly
**********************************************************************************************************

7.2) If you have an iPad
Download the Ionic Dev App from the app store on your iPad
On your laptop, in the project directory, run:
$ ionic serve -c
Make sure your laptop and iPad are on the same Wifi network
Open the Ionic Dev App, DineIn should pop up, tap it to run the app

* Note: If you are on UW Wifi, you will have to add the IP address manually
See the terminal running the serve for the IP address and port is always 8100

Note: from the login page, it is not necessary to enter a username or password.
Our Bug Tracker (it's github issues):
https://github.com/DineIn2018/dinein/issues

If you have any problems getting it running, send us an e-mail!
10 changes: 8 additions & 2 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="orientation" value="landscape" />
<platform name="android">
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
Expand Down Expand Up @@ -81,9 +82,14 @@
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^1.1.16" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<plugin name="cordova-plugin-screen-orientation" spec="^3.0.1" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<engine name="ios" spec="~4.5.4" />
<allow-navigation href="http://172.16.92.37:8100" />
<allow-navigation href="http://192.168.1.14:8101" />
<plugin name="cordova-plugin-camera" spec="^4.0.2" />
<plugin name="cordova-plugin-file" spec="^6.0.1" />
<plugin name="cordova-plugin-file-transfer" spec="^1.7.1" />
<plugin name="cordova-plugin-filepath" spec="^1.3.0" />
<engine name="ios" spec="~4.5.4" />
<plugin name="cordova-plugin-screen-orientation" spec="^3.0.1" />
<engine name="browser" spec="~5.0.3" />
</widget>
Binary file modified hooks/.DS_Store
Binary file not shown.
4 changes: 0 additions & 4 deletions ionic_emulate_iOS

This file was deleted.

4 changes: 4 additions & 0 deletions npm_test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

cd "$(dirname "$0")"
npm test
4 changes: 4 additions & 0 deletions npm_testcoverage
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

cd "$(dirname "$0")"
npm testcoverage
Loading