Skip to content

Commit

Permalink
functioning server
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyalaribe committed Nov 23, 2016
0 parents commit 2227a8e
Show file tree
Hide file tree
Showing 74 changed files with 2,132 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
static
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: monitor-server
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Work Time Monitor
An employee monitoring system that takes screenshots of user systems on a network, and archives the screenshots as compiled videos. While also tracking user login and logout time.

THe server is built to work out of a raspberry pi, but any unix based computer like linux or a mac should work fine.

A major dependency is ffmpeg for dealing with videos. Make sure you have it compiled with libx64 support
44 changes: 44 additions & 0 deletions client/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<ifModule mod_rewrite.c>


#######################################################################
# GENERAL #
#######################################################################

# Make apache follow sym links to files
Options +FollowSymLinks
# If somebody opens a folder, hide all files from the resulting folder list
IndexIgnore */*


#######################################################################
# REWRITING #
#######################################################################

# Enable rewriting
RewriteEngine On

# If its not HTTPS
RewriteCond %{HTTPS} off

# Comment out the RewriteCond above, and uncomment the RewriteCond below if you're using a load balancer (e.g. CloudFlare) for SSL
# RewriteCond %{HTTP:X-Forwarded-Proto} !https

# Redirect to the same URL with https://, ignoring all further rules if this one is in effect
RewriteRule ^(.*) https://%{HTTP_HOST}/$1 [R,L]

# If we get to here, it means we are on https://

# If the file with the specified name in the browser doesn't exist
RewriteCond %{REQUEST_FILENAME} !-f

# and the directory with the specified name in the browser doesn't exist
RewriteCond %{REQUEST_FILENAME} !-d

# and we are not opening the root already (otherwise we get a redirect loop)
RewriteCond %{REQUEST_FILENAME} !\/$

# Rewrite all requests to the root
RewriteRule ^(.*) /

</ifModule>
13 changes: 13 additions & 0 deletions client/0.c36ba10b413efe70e0b9.chunk.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions client/1.45cc5445e47882d3ecd8.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/10.51aa498834bc135dc111.chunk.js

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

1 change: 1 addition & 0 deletions client/11.e807e814082b25079589.chunk.js

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

1 change: 1 addition & 0 deletions client/12.58e3ec8254cfd407cfc8.chunk.js

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

1 change: 1 addition & 0 deletions client/13.a819634f6c77f2d56b3e.chunk.js

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

1 change: 1 addition & 0 deletions client/14.7631b017d33d0baf1cab.chunk.js

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

1 change: 1 addition & 0 deletions client/15.609da03325b6e2ae82e5.chunk.js

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

1 change: 1 addition & 0 deletions client/16.89d884db79357826c130.chunk.js

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

1 change: 1 addition & 0 deletions client/17.48d5daf36cbba9ce2beb.chunk.js

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

1 change: 1 addition & 0 deletions client/18.7206c78cc7793445bd63.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/19.644ad64446c82e394f3d.chunk.js

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

3 changes: 3 additions & 0 deletions client/2.6952d619d0cfc4dbe6eb.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/20.6191cee0b662763648a6.chunk.js

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

1 change: 1 addition & 0 deletions client/21.6c3a9311d5291691b596.chunk.js

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

6 changes: 6 additions & 0 deletions client/3.83f578e7dfc1d7c39ec5.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/4.25d8ec55e6914682f871.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/5.4689d7ef022b58e1f76e.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/6.81b06f89924de3372dea.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/7.2395082b8e2807e2179c.chunk.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/8.5e2de7a0f028f070bf02.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/9.5c3a47a4e58ac1040d38.chunk.js

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

44 changes: 44 additions & 0 deletions client/a6ec304eb3193059730b1acc5e16ed72.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions client/ca82bc743710e8f84904d035d92bf5cd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions client/d23df87c10131d54f7b5a3e7388b2226.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="manifest" href="manifest.json"><meta name="mobile-web-app-capable" content="yes"><title>monitor</title><link href="/main.afb540b747109a4408f37c09711ae03a.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="/main.5dac17fd46e4a930e005.js"></script></body></html>
31 changes: 31 additions & 0 deletions client/main.5dac17fd46e4a930e005.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/main.afb540b747109a4408f37c09711ae03a.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.container{display:block}
33 changes: 33 additions & 0 deletions client/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "React Boilerplate",
"icons": [
{
"src": "favicon.png",
"sizes": "48x48",
"type": "image/png",
"density": 1.0
},
{
"src": "favicon.png",
"sizes": "96x96",
"type": "image/png",
"density": 2.0
},
{
"src": "favicon.png",
"sizes": "144x144",
"type": "image/png",
"density": 3.0
},
{
"src": "favicon.png",
"sizes": "192x192",
"type": "image/png",
"density": 4.0
}
],
"start_url": "index.html",
"display": "standalone",
"orientation": "portrait",
"background_color": "#FFFFFF"
}
Loading

0 comments on commit 2227a8e

Please sign in to comment.