| 
						
					 | 
					
						
						
						
						
							
						
						
							bccca3a9ae
							
						
					 | 
					
						
						
							
							Update README.md
						
						
						
						
						
					 | 
					
						2025-03-21 18:20:04 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f5f64e1ff9
							
						
					 | 
					
						
						
							
							Add LICENSE
						
						
						
						
						
					 | 
					
						2025-03-21 18:14:32 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							52244556b1
							
						
					 | 
					
						
						
							
							Remove sqlite3 since no longer used; remove vim and git packages since i don't need hot-reload from running container anymore (and to make image smaller; specify nodemon version to be concurrent w/rest of old stuff in order to do re-builds.
						
						
						
						
						
					 | 
					
						2023-10-05 14:00:34 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							16eb6980ea
							
						
					 | 
					
						
						
							
							Check in node version upgrade from long ago
						
						
						
						
						
					 | 
					
						2022-12-02 21:46:29 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							cab17d28c5
							
						
					 | 
					
						
						
							
							Fix undefined checks left over from sqlite, use postgres-friendly result.rowCount.
						
						
						
						
						
					 | 
					
						2015-12-10 13:04:10 -05:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e138b3f8d1
							
						
					 | 
					
						
						
							
							Add 204 response code to endpoints receiving POST requests.
						
						
						
						
						
					 | 
					
						2015-10-19 13:01:00 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							da4f2fcbf6
							
						
					 | 
					
						
						
							
							Upgrade to LTS node version; move npm install down after copy in hopes of avoiding previous errors with sqlite3 package.
						
						
						
						
						
					 | 
					
						2015-10-15 09:01:34 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							336bc8a844
							
						
					 | 
					
						
						
							
							All DB functions transferred to Postgres; tested ok, but haven't checked new device data going into alerts table, or core-edit when device not yet in cores table.
						
						
						
						
						
					 | 
					
						2015-10-11 16:11:32 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							45a9a42f2e
							
						
					 | 
					
						
						
							
							Continue Postgres conversion in server.js and templates.
						
						
						
						
						
					 | 
					
						2015-10-08 12:05:03 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							0ab6af8e57
							
						
					 | 
					
						
						
							
							Fix COPY of .vimrc, today I learned that /root is the root users home dir.
						
						
						
						
						
					 | 
					
						2015-10-07 10:52:52 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							7129f10f56
							
						
					 | 
					
						
						
							
							Fix casing in field names in index.hbs; improve node-dev container workflow.
						
						
						
						
						
					 | 
					
						2015-10-06 14:27:17 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f7a68e8823
							
						
					 | 
					
						
						
							
							Replace GET / with postgres code, had to account for all lower-case object naming in postgres, so column names in view/index.hbs had to match also.
						
						
						
						
						
					 | 
					
						2015-10-05 21:44:03 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							fbfbdd0835
							
						
					 | 
					
						
						
							
							Getting data back via postgres connection.
						
						
						
						
						
					 | 
					
						2015-10-03 19:03:17 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							44765a46a4
							
						
					 | 
					
						
						
							
							Start conversion to postgresql; got connection to pg database without error linking alertmon-dev contianer to pg container.
						
						
						
						
						
					 | 
					
						2015-10-03 18:42:28 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							0c19cf7913
							
						
					 | 
					
						
						
							
							Fix create table statements, multiple creates not allowed in one batch; closes #31.
						
						
						
						
						
					 | 
					
						2015-08-24 13:40:41 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8c22d38f57
							
						
					 | 
					
						
						
							
							change name of sqlite db file from test.db to alertmon.db, closes issue #29
						
						
						
						
						
					 | 
					
						2015-08-13 12:34:19 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							4c24454041
							
						
					 | 
					
						
						
							
							Add button to go back to device listing; fix query of most recent status; add alert row highlighting to index template, closes issue #30.
						
						
						
						
						
					 | 
					
						2015-08-08 09:47:21 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8c29423d6d
							
						
					 | 
					
						
						
							
							Rows turning red...finally, might want to pick a less blinding red.
						
						
						
						
						
					 | 
					
						2015-08-07 12:00:08 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							11d8d76cc0
							
						
					 | 
					
						
						
							
							Interim commit, email code in a good spot if untested; back to alert row highlighting now that server not running in production mode (and thus not showimg template changes due to caching).
						
						
						
						
						
					 | 
					
						2015-08-07 11:20:22 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							9d7345bee2
							
						
					 | 
					
						
						
							
							Add db param to core name lookup function.
						
						
						
						
						
					 | 
					
						2015-08-05 15:29:42 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							2a897e0bef
							
						
					 | 
					
						
						
							
							Add local time/date and devcie name conversions to alert email.
						
						
						
						
						
					 | 
					
						2015-08-05 14:46:33 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							722fb44f7c
							
						
					 | 
					
						
						
							
							Split local time and date calculations into their own module.
						
						
						
						
						
					 | 
					
						2015-08-05 14:31:22 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							1590fb9f17
							
						
					 | 
					
						
						
							
							Added more detail to alert email, but still needs work, relates to issue #14.
						
						
						
						
						
					 | 
					
						2015-08-04 19:44:06 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8155a05d7c
							
						
					 | 
					
						
						
							
							Fix extra string concat.
						
						
						
						
						
					 | 
					
						2015-08-03 14:21:26 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							49ec80a780
							
						
					 | 
					
						
						
							
							Add Cores table to DB creation script, closes issue #26
						
						
						
						
						
					 | 
					
						2015-07-30 12:52:25 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							31da09399d
							
						
					 | 
					
						
						
							
							Basic fix for issue #26, still need to test new device.
						
						
						
						
						
					 | 
					
						2015-07-30 10:08:09 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							788c446916
							
						
					 | 
					
						
						
							
							In the middle of changs to split out separate Cores table, upates on edit screen are broken; interim checkin to view code on bitbucket.
						
						
						
						
						
					 | 
					
						2015-07-30 08:28:16 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a47e0c2fbd
							
						
					 | 
					
						
						
							
							Add don@gettner.com to alert emails.
						
						
						
						
						
					 | 
					
						2015-07-29 14:08:29 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							544f8ad54f
							
						
					 | 
					
						
						
							
							Convert to local time on index.hbs, split date and time values. Closes #24, #27
						
						
						
						
						
					 | 
					
						2015-07-28 14:07:56 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							5f4a1ccac7
							
						
					 | 
					
						
						
							
							Change moment.js invocation to avoid deprecation warning (again), closes issue #13
						
						
						
						
						
					 | 
					
						2015-07-28 12:37:30 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8b460770a7
							
						
					 | 
					
						
						
							
							Fix device detail page only showing one message, Device Name still broken, though, related to issue #26.
						
						
						
						
						
					 | 
					
						2015-07-26 15:52:29 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							35f34fedbb
							
						
					 | 
					
						
						
							
							Split date and time on device detail screen, relates to issue #24.
						
						
						
						
						
					 | 
					
						2015-07-24 14:41:00 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							76fd5ef9a1
							
						
					 | 
					
						
						
							
							Changes to queries to try and fix coreName/locationDesc display bugs, but still broken. Works slightly better than last broken version though. Relates to issue #26
						
						
						
						
						
					 | 
					
						2015-07-24 14:23:34 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8ae19ac07f
							
						
					 | 
					
						
						
							
							Take min() deviceName and location on index; big assumption here that user edits apply to all historical rows; closes #26.
						
						
						
						
						
					 | 
					
						2015-07-23 21:09:50 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ba5b091c54
							
						
					 | 
					
						
						
							
							Fixed edit button on device detail screen, closes issue #25.
						
						
						
						
						
					 | 
					
						2015-07-23 16:48:44 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							dd28b44c19
							
						
					 | 
					
						
						
							
							Remove double-quotes from all prev published_at values in DB; now that new published_at values no longer stored with double-quotes, ugly incantation of moment.js no longer needed and warning message in log is avoided; closes issue #13
						
						
						
						
						
					 | 
					
						2015-07-21 13:46:06 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							41e739aeec
							
						
					 | 
					
						
						
							
							Add more space between device name link and button on index; add edit button to core.hbs.
						
						
						
						
						
					 | 
					
						2015-07-20 13:28:53 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							7223da2596
							
						
					 | 
					
						
						
							
							Add some background color when current DB value displayed under input field.
						
						
						
						
						
					 | 
					
						2015-07-19 10:12:12 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							d1e94a6d0d
							
						
					 | 
					
						
						
							
							Show current value (if any) from DB on core-edit.hbs; after editing device name or location, redirect back to index.
						
						
						
						
						
					 | 
					
						2015-07-19 09:50:18 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							5929ee6add
							
						
					 | 
					
						
						
							
							Add new core-edit template file, issue #16.
						
						
						
						
						
					 | 
					
						2015-07-18 15:15:03 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							cbf095ead1
							
						
					 | 
					
						
						
							
							Basic/working version of device name and location editing, relates to issue #16.
						
						
						
						
						
					 | 
					
						2015-07-18 15:13:10 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							9915256f77
							
						
					 | 
					
						
						
							
							Change jumbotron text; use html table on device listing template, closes issue #19
						
						
						
						
						
					 | 
					
						2015-07-17 13:02:31 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ac76f02337
							
						
					 | 
					
						
						
							
							Remove Patrick's name from jumbotron.
						
						
						
						
						
					 | 
					
						2015-07-16 14:15:50 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							5f07c25ade
							
						
					 | 
					
						
						
							
							Remove SQL injection on GET /core/:id endpoint with parameterized statement.
						
						
						
						
						
					 | 
					
						2015-07-16 14:15:06 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f919c51f33
							
						
					 | 
					
						
						
							
							Merge branch 'master' of bitbucket.org:jkaplon/alertmon
						
						
						
						
						
						
						
						Merge README changes. 
						
					 | 
					
						2015-07-16 13:31:38 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							c1867cc47f
							
						
					 | 
					
						
						
							
							Add most recent status message and published_at date to device index.
						
						
						
						
						
					 | 
					
						2015-07-16 13:31:21 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							773dc0965f
							
						
					 | 
					
						
						
							
							README.md edited online with Bitbucket
						
						
						
						
						
					 | 
					
						2015-07-15 16:58:37 +00:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							6f856f006c
							
						
					 | 
					
						
						
							
							Use .slice() to get rid of leading and trailing double quotes for values going into DB, closes issue #7
						
						
						
						
						
					 | 
					
						2015-07-15 12:47:21 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b5e874235e
							
						
					 | 
					
						
						
							
							Make alert email more efficient and case insenstiive; magic word is still 'alert'.
						
						
						
						
						
					 | 
					
						2015-07-14 17:54:08 -04:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e1652a8d90
							
						
					 | 
					
						
						
							
							Parse status message out of inner JSON and include value in DB insert; show alert status in email
						
						
						
						
						
					 | 
					
						2015-07-14 17:40:23 -04:00 | 
					
					
						
						
							
							
							
						
					 |