matches/MCTX3420.git
11 years agocomment
Callum [Mon, 28 Oct 2013 14:20:16 +0000 (22:20 +0800)]
comment

11 years agoedited dilatometer
Callum [Mon, 28 Oct 2013 13:35:53 +0000 (21:35 +0800)]
edited dilatometer

11 years agoMerge branch 'master' of github:szmoore/MCTX3420 into report
Sam Moore [Mon, 28 Oct 2013 07:48:35 +0000 (15:48 +0800)]
Merge branch 'master' of github:szmoore/MCTX3420 into report

Conflicts:
server/fastcgi.c
server/parameters

Also... calibrated sensors

11 years agoAutomatic commit of irc logs
Sam Moore [Sun, 27 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoWork on report
Sam Moore [Sun, 27 Oct 2013 08:39:59 +0000 (16:39 +0800)]
Work on report

Blergh

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420
Jeremy Tan [Sun, 27 Oct 2013 07:47:35 +0000 (15:47 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420

11 years agoDisallow control codes in urldecode
Jeremy Tan [Sun, 27 Oct 2013 07:45:46 +0000 (15:45 +0800)]
Disallow control codes in urldecode

11 years agoAutomatic commit of irc logs
Sam Moore [Sat, 26 Oct 2013 17:00:10 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMerge pull request #67 from Callum-/master
Callum [Sat, 26 Oct 2013 07:27:13 +0000 (00:27 -0700)]
Merge pull request #67 from Callum-/master

Added some more tests

11 years agoAdded some more tests
Callum [Sat, 26 Oct 2013 07:25:22 +0000 (15:25 +0800)]
Added some more tests

11 years agoMerge pull request #66 from Callum-/master
Callum [Sat, 26 Oct 2013 07:15:58 +0000 (00:15 -0700)]
Merge pull request #66 from Callum-/master

More camera Stuff

11 years agoadded original image
Callum [Sat, 26 Oct 2013 07:13:14 +0000 (15:13 +0800)]
added original image

11 years agotesting images, with line imposed
Callum [Sat, 26 Oct 2013 07:08:54 +0000 (15:08 +0800)]
testing images, with line imposed

11 years agorenamed functions to microscope, redid Read fnctn
Callum [Sat, 26 Oct 2013 06:59:22 +0000 (14:59 +0800)]
renamed functions to microscope, redid Read fnctn

11 years agoMinor changes
Jeremy Tan [Sat, 26 Oct 2013 04:46:20 +0000 (12:46 +0800)]
Minor changes

11 years agoAdd links to the relevant help page for SBD
Jeremy Tan [Sat, 26 Oct 2013 04:02:20 +0000 (12:02 +0800)]
Add links to the relevant help page for SBD

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Sat, 26 Oct 2013 03:55:58 +0000 (11:55 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

11 years agoUpdate the block diagram
Jeremy Tan [Sat, 26 Oct 2013 03:55:26 +0000 (11:55 +0800)]
Update the block diagram

11 years agoAutomatic commit of irc logs
Sam Moore [Fri, 25 Oct 2013 17:00:06 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agomore reporting
Jeremy Tan [Fri, 25 Oct 2013 12:39:20 +0000 (20:39 +0800)]
more reporting

11 years agoAutomatic commit of irc logs
Sam Moore [Thu, 24 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMore updates to report
Jeremy Tan [Thu, 24 Oct 2013 14:44:48 +0000 (22:44 +0800)]
More updates to report

11 years agoMerge pull request #65 from jtanx/master
Jeremy Tan [Thu, 24 Oct 2013 11:53:01 +0000 (04:53 -0700)]
Merge pull request #65 from jtanx/master

Add POST handling and properly URL Decode GET/POST requests

11 years agofix some gui stuff
Jeremy Tan [Thu, 24 Oct 2013 11:50:50 +0000 (19:50 +0800)]
fix some gui stuff

11 years agoOnly use POST for login, and only if the GET string is empty
Jeremy Tan [Thu, 24 Oct 2013 11:37:32 +0000 (19:37 +0800)]
Only use POST for login, and only if the GET string is empty
Fix 'friendly name' too.

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Thu, 24 Oct 2013 11:17:51 +0000 (19:17 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

11 years agoAdd POST handling and URLDecode POST/GET request data. Switch Login to use POST inste...
Jeremy Tan [Thu, 24 Oct 2013 11:17:27 +0000 (19:17 +0800)]
Add POST handling and URLDecode POST/GET request data. Switch Login to use POST instead of GET.

Hopefully this doesn't introduce any new bugs.

11 years agoMerge pull request #64 from justinjessada/master
Sam Moore [Thu, 24 Oct 2013 09:51:07 +0000 (02:51 -0700)]
Merge pull request #64 from justinjessada/master

Modified data page and added some report stuff

11 years agoWork on report
Jeremy Tan [Thu, 24 Oct 2013 06:12:43 +0000 (14:12 +0800)]
Work on report

11 years agoAutomatic commit of irc logs
Sam Moore [Wed, 23 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoModified data page and added some report stuff
Justin Kruger [Wed, 23 Oct 2013 16:52:04 +0000 (00:52 +0800)]
Modified data page and added some report stuff

11 years agoFix button disable bug
Jeremy Tan [Wed, 23 Oct 2013 14:42:57 +0000 (22:42 +0800)]
Fix button disable bug

11 years agoWriteup stuff. blah blah blah
Jeremy Tan [Wed, 23 Oct 2013 14:29:36 +0000 (22:29 +0800)]
Writeup stuff. blah blah blah

11 years agoAdd in live values data page + minor gui fixes
Jeremy Tan [Wed, 23 Oct 2013 12:56:47 +0000 (20:56 +0800)]
Add in live values data page + minor gui fixes

11 years agotemp
Jeremy Tan [Wed, 23 Oct 2013 12:54:22 +0000 (20:54 +0800)]
temp

11 years agofix gitignore
Jeremy Tan [Wed, 23 Oct 2013 11:38:02 +0000 (19:38 +0800)]
fix gitignore

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Wed, 23 Oct 2013 08:13:51 +0000 (16:13 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

Conflicts:
server/actuators/pregulator.c
server/sensors/strain.c
testing/MCTXWeb/public_html/control.html
testing/MCTXWeb/public_html/static/mctx.control.js

11 years agostuff
Jeremy Tan [Wed, 23 Oct 2013 08:12:04 +0000 (16:12 +0800)]
stuff

11 years agoypo typo
Jeremy Tan [Wed, 23 Oct 2013 02:43:41 +0000 (10:43 +0800)]
ypo  typo

11 years agofixes
Jeremy Tan [Wed, 23 Oct 2013 02:38:12 +0000 (10:38 +0800)]
fixes

11 years agominor mod
Jeremy Tan [Wed, 23 Oct 2013 02:34:02 +0000 (10:34 +0800)]
minor mod

11 years agoExperiment with unblurring the captured image
Jeremy Tan [Tue, 22 Oct 2013 14:12:32 +0000 (22:12 +0800)]
Experiment with unblurring the captured image

11 years agoAdd legend + save image works better
Jeremy Tan [Tue, 22 Oct 2013 13:45:25 +0000 (21:45 +0800)]
Add legend + save image works better

11 years agoMerge branch 'report' of github:szmoore/MCTX3420 into report
Sam Moore [Tue, 22 Oct 2013 13:36:53 +0000 (21:36 +0800)]
Merge branch 'report' of github:szmoore/MCTX3420 into report

11 years agoWork on report
Sam Moore [Tue, 22 Oct 2013 13:36:02 +0000 (21:36 +0800)]
Work on report

Add actuator/sensor thread flow charts.
Add results of thread performance test (best case) of Python and C

11 years agoIgnore static libs
Jeremy Tan [Tue, 22 Oct 2013 11:47:30 +0000 (19:47 +0800)]
Ignore static libs

11 years agoAdd samplerate control to control page
Jeremy Tan [Tue, 22 Oct 2013 11:45:12 +0000 (19:45 +0800)]
Add samplerate control to control page

11 years agomf
Jeremy Tan [Tue, 22 Oct 2013 11:41:18 +0000 (19:41 +0800)]
mf

11 years agoMerge pull request #63 from jtanx/report
Jeremy Tan [Tue, 22 Oct 2013 11:18:03 +0000 (04:18 -0700)]
Merge pull request #63 from jtanx/report

Start report (server/client comms)

11 years agoStart report (server/client comms)
Jeremy Tan [Tue, 22 Oct 2013 10:07:07 +0000 (18:07 +0800)]
Start report (server/client comms)

11 years agoAdd chapters and draft outline
Sam Moore [Tue, 22 Oct 2013 06:28:12 +0000 (14:28 +0800)]
Add chapters and draft outline

11 years agoAdd sensor thread flow chart
Sam Moore [Tue, 22 Oct 2013 05:54:39 +0000 (13:54 +0800)]
Add sensor thread flow chart

11 years agoAdd README's to empty subdirectories
Sam Moore [Tue, 22 Oct 2013 03:52:30 +0000 (11:52 +0800)]
Add README's to empty subdirectories

11 years agoCreate Report Template
Sam Moore [Tue, 22 Oct 2013 03:50:18 +0000 (11:50 +0800)]
Create Report Template

11 years agoAutomatic commit of irc logs
Sam Moore [Mon, 21 Oct 2013 17:00:08 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoFix everything
Sam Moore [Mon, 21 Oct 2013 09:36:46 +0000 (17:36 +0800)]
Fix everything

Jeremy helped*

* He did most of it.

11 years agoAutomatic commit of irc logs
Sam Moore [Tue, 22 Oct 2013 17:00:08 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMerge pull request #62 from firefields/master
firefields [Mon, 21 Oct 2013 06:54:49 +0000 (23:54 -0700)]
Merge pull request #62 from firefields/master

Added new GUI with refreshing interface.

11 years agoAdded new GUI with refreshing interface.
firefields [Mon, 21 Oct 2013 06:48:50 +0000 (14:48 +0800)]
Added new GUI with refreshing interface.

11 years agoMerge pull request #61 from jtanx/master
Jeremy Tan [Mon, 21 Oct 2013 04:23:32 +0000 (21:23 -0700)]
Merge pull request #61 from jtanx/master

modified version to get control key

11 years agomodified version to get control key
Jeremy Tan [Mon, 21 Oct 2013 04:22:50 +0000 (12:22 +0800)]
modified version to get control key

11 years agoAutomatic commit of irc logs
Sam Moore [Sun, 20 Oct 2013 17:00:06 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoSwitch to named cookies (mctxkey)
Jeremy Tan [Sun, 20 Oct 2013 14:19:11 +0000 (22:19 +0800)]
Switch to named cookies (mctxkey)

11 years agoAdd gmail chat log
Sam Moore [Sun, 20 Oct 2013 14:00:14 +0000 (22:00 +0800)]
Add gmail chat log

We should just keep using IRC :P

11 years agoBegin modifying UserCake
Sam Moore [Sun, 20 Oct 2013 13:35:12 +0000 (21:35 +0800)]
Begin modifying UserCake

Create admin upload page for uploading / purging users. Incomplete.
Note that this page needs to be secured somehow.

Realised that we probably need to add the UserCake install scripts as well, so we can
customise the database and other things when it is installed.

Modified something in the server too apparently.
I love it when I forget what I actually did...

11 years agoMerge pull request #60 from Callum-/master
Callum [Sun, 20 Oct 2013 10:16:52 +0000 (03:16 -0700)]
Merge pull request #60 from Callum-/master

updated dilatometer

11 years agoadded canny edge
Callum [Sun, 20 Oct 2013 10:14:41 +0000 (18:14 +0800)]
added canny edge

11 years agoModify FastCGI server to use MySQL for auth
Sam Moore [Sun, 20 Oct 2013 08:36:01 +0000 (16:36 +0800)]
Modify FastCGI server to use MySQL for auth

Made some general improvements to Login_Handler and how the "auth_uri" is dealt with.
Called strsep, but it's not (that) evil since it doesn't do anything I wouldn't have done with boilerplate anyway.

MySQL for auth tested and appears to work. Using SHA6 instead of md5 (!) hashes.

11 years agoMerge remote-tracking branch 'upstream/master'
Callum [Sun, 20 Oct 2013 08:00:44 +0000 (16:00 +0800)]
Merge remote-tracking branch 'upstream/master'

11 years agoAdd UserCake
Sam Moore [Sun, 20 Oct 2013 05:02:54 +0000 (13:02 +0800)]
Add UserCake

We might be able to build on this to make a user management system.

UserCake Version: 2.0.2
http://usercake.com

This commit includes the original UserCake source.
Many files will need to be removed and/or rewritten.

UserCake uses MySQL for storing user information.
There is a C API for interfacing with MySQL. Hopefully that will work.

11 years agoAutomatic commit of irc logs
Sam Moore [Sat, 19 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoFix sensor header
Sam Moore [Sat, 19 Oct 2013 15:46:08 +0000 (23:46 +0800)]
Fix sensor header

Added averaging to sensors but forgot to commit sensor.h
Got overwritten in previous merge.

11 years agoMerge branch 'master' of github:szmoore/MCTX3420
Sam Moore [Sat, 19 Oct 2013 15:40:22 +0000 (23:40 +0800)]
Merge branch 'master' of github:szmoore/MCTX3420

Conflicts:
server/control.c

11 years agoAdd define for compiling under RTLinux
Sam Moore [Sat, 19 Oct 2013 15:35:36 +0000 (23:35 +0800)]
Add define for compiling under RTLinux

Tested on amd64; doesn't really improve sampling consistency over vanilla.
But whatever.

11 years agoMerge pull request #59 from jtanx/master
Jeremy Tan [Sat, 19 Oct 2013 14:54:04 +0000 (07:54 -0700)]
Merge pull request #59 from jtanx/master

Control updates and stuff

11 years agoSomewhat done control page
Jeremy Tan [Sat, 19 Oct 2013 14:50:26 +0000 (22:50 +0800)]
Somewhat done control page
Todo: Add in values for sensors

One problem is that we don't distinguish between the
whole 'strain' vs 'explode' experiment, and you can
pretty much set the pressure to whatever you like.

That should probably be changed??

Blegh javascript.

11 years agoFix another graph bug + some more work on control page
Jeremy Tan [Sat, 19 Oct 2013 13:19:00 +0000 (21:19 +0800)]
Fix another graph bug + some more work on control page

11 years agoadd back check
Jeremy Tan [Sat, 19 Oct 2013 07:49:08 +0000 (15:49 +0800)]
add back check

11 years agoUse experiment folders instead of chdir
Jeremy Tan [Sat, 19 Oct 2013 07:45:30 +0000 (15:45 +0800)]
Use experiment folders instead of chdir

11 years agoIncrease precision of timestamps
Sam Moore [Sat, 19 Oct 2013 07:30:11 +0000 (15:30 +0800)]
Increase precision of timestamps

Since we have nanosecond resolution. Theoretically.

11 years agofix fix fix
Jeremy Tan [Sat, 19 Oct 2013 07:01:33 +0000 (15:01 +0800)]
fix fix fix

11 years agoChange from usleep and gettimeofday to clock_nanosleep and clock_gettime
Sam Moore [Sat, 19 Oct 2013 06:56:39 +0000 (14:56 +0800)]
Change from usleep and gettimeofday to clock_nanosleep and clock_gettime

Requires -std=gnu99 instead of -std=c99

11 years agoFix brackets
Jeremy Tan [Sat, 19 Oct 2013 06:51:57 +0000 (14:51 +0800)]
Fix brackets

11 years agoFix two bugs in mctx.gui.js ++
Jeremy Tan [Sat, 19 Oct 2013 06:49:42 +0000 (14:49 +0800)]
Fix two bugs in mctx.gui.js ++

11 years agoGet most of the stuff down for controls
Jeremy Tan [Sat, 19 Oct 2013 02:38:45 +0000 (10:38 +0800)]
Get most of the stuff down for controls

11 years agoAutomatic commit of irc logs
Sam Moore [Fri, 18 Oct 2013 17:00:08 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Fri, 18 Oct 2013 13:57:49 +0000 (21:57 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

11 years agoSort of make a start on control page
Jeremy Tan [Fri, 18 Oct 2013 13:57:10 +0000 (21:57 +0800)]
Sort of make a start on control page
Refactor other stuff in gui
although this will probably be erased anyway

11 years agoAdd python based GUI as proof of concept
Sam Moore [Fri, 18 Oct 2013 13:37:18 +0000 (21:37 +0800)]
Add python based GUI as proof of concept

Uses matplotlib.pyplot, numpy and requests
Interfaces with existing server API.

Could potentially be expanded using Tkinter or something.
TKinter won't look as pretty as a jQuery GUI though.

Also I have no idea how cookies work with requests.
At the moment you have to disable the login check in fastcgi.c to test this.

11 years agoAutomatic commit of irc logs
Sam Moore [Thu, 17 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Thu, 17 Oct 2013 09:11:17 +0000 (17:11 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

11 years agoAllow only one camera on at a time.
Debian User [Thu, 17 Oct 2013 02:04:07 +0000 (10:04 +0800)]
Allow only one camera on at a time.

This fixes a crash if both cameras are activated at once.

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420
Debian User [Thu, 17 Oct 2013 01:58:58 +0000 (09:58 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420

11 years agoModify image capture routine
Debian User [Thu, 17 Oct 2013 01:57:58 +0000 (09:57 +0800)]
Modify image capture routine

11 years agoAutomatic commit of irc logs
Sam Moore [Wed, 16 Oct 2013 17:00:06 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoAutomatic commit of irc logs
Sam Moore [Tue, 15 Oct 2013 17:00:06 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoAutomatic commit of irc logs
Sam Moore [Mon, 14 Oct 2013 17:00:07 +0000 (01:00 +0800)]
Automatic commit of irc logs

11 years agoMerge branch 'master' of https://github.com/szmoore/MCTX3420.git
Jeremy Tan [Mon, 14 Oct 2013 14:37:03 +0000 (22:37 +0800)]
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

11 years agoWork on user based control
Sam Moore [Mon, 14 Oct 2013 14:32:02 +0000 (22:32 +0800)]
Work on user based control

Test file shadow (password matches username *cough*) for login purposes.

When a user gains FCGI_LockControl, a directory is created (if it doesn't exist).
Control_Handler will operate from the directory of the currently logged in user.

The user who owns the currently running experiment must match a user who wants to control it.
Alternately an administrator can pass "force"

Consider generalising this to also apply to actuators (since any user can change the actuator control :S).

Also it's horribly messy and terrible and all in the Control_Handler at the moment.

FCGI_Context should probably store a lot of the information that the g_controls structure is storing at the moment? Merge/replace?

11 years agoadd crappy download link (not really)
Jeremy Tan [Mon, 14 Oct 2013 11:22:09 +0000 (19:22 +0800)]
add crappy download link (not really)

UCC git Repository :: git.ucc.asn.au