Commit graph

35 commits

Author SHA1 Message Date
Steffen Vogel
64e374a9b1 fixed empty data bug in json view 2010-06-09 21:11:58 +02:00
Steffen Vogel
0c162cfede simplified dynamic class instantiation 2010-06-09 21:11:26 +02:00
Steffen Vogel
58240b8ceb Merge branch 'master' of git+ssh://github.com/volkszaehler/volkszaehler.org 2010-06-09 19:37:46 +02:00
Steffen Vogel
984306304b introduced new view system (also introduced new api version 0.2) 2010-06-09 19:34:29 +02:00
Steffen Vogel
eabac78a6a increased version number (0.1 prototype => 0.2 new api draft) 2010-06-09 19:32:50 +02:00
f10
b9a90cb8d3 frontend: quick'n'dirty fix for bad bug at summer winter time change 2010-06-09 19:13:58 +02:00
f10
f8ee815e30 frontend: sry, I forgot to delete a debug option 2010-06-08 21:28:18 +02:00
f10
a2ad3b68cc adapt fronted to new backend 2010-06-08 21:26:02 +02:00
Steffen Vogel
9dc4986f6d refactor $readings -> $data 2010-06-08 19:57:42 +02:00
Steffen Vogel
c3027bc4f6 Merge branch 'master' of git+ssh://github.com/volkszaehler/volkszaehler.org 2010-06-08 19:43:23 +02:00
Steffen Vogel
53446529d2 adapted 1-wire logging script to new timestamp and controller definitions 2010-06-08 19:22:09 +02:00
f10
78fcb6ee9b change json request to correct API calls 2010-06-08 19:13:17 +02:00
Steffen Vogel
888fc0aa1a fixed getBy*() 2010-06-08 19:01:45 +02:00
Steffen Vogel
56b56dd93b improved output and headers 2010-06-08 15:42:00 +02:00
Steffen Vogel
cc7d33eed6 fixed sql group by statement
added some exception throwing in invalid arguments
2010-06-08 15:41:02 +02:00
Steffen Vogel
d20ba8b589 introduced DataController
reorganized Views
2010-06-08 15:39:31 +02:00
Steffen Vogel
1dae152814 added getMin(), getMax(), getAverage() and getData() to Meter class (backend based calculations) 2010-06-08 12:24:29 +02:00
Steffen Vogel
3cf30a3dc0 added DrUUID RFC4122 library for PHP5 by J. King (http://jkingweb.ca/) 2010-06-08 02:29:51 +02:00
Steffen Vogel
b9b639b6a0 moved Channel::toJson to JsonView (future redesign in View needed) 2010-06-08 02:10:48 +02:00
Steffen Vogel
c7a2c4390e added uuid and ugid 2010-06-08 02:10:19 +02:00
Steffen Vogel
4894f690f1 added uuid and ugid fields 2010-06-08 01:56:06 +02:00
Steffen Vogel
32540097c5 renamed GPL licence file accoring to recommendation of the FSF (http://www.gnu.org/licenses/gpl-howto.html) 2010-06-07 21:54:49 +02:00
Steffen Vogel
91adac34a2 direct call to controller actions from frontcontroller
added UserController (to be fully implemented)
2010-06-07 21:48:49 +02:00
Steffen Vogel
8884656ea7 improved exception & error handling 2010-06-07 21:47:51 +02:00
Steffen Vogel
b2331e7d6c completed sql dumps 2010-06-07 21:16:59 +02:00
Steffen Vogel
c419ecb4a4 updated gits ignore patterns 2010-06-07 12:33:24 +02:00
Steffen Vogel
d87cbe2c95 restricted direct backend access by using .htaccess 2010-06-07 12:32:44 +02:00
Steffen Vogel
2adbdf9a24 separeted frontend from backend
adjusted include paths of tools
2010-06-07 12:11:51 +02:00
Steffen Vogel
782a1c2ee2 fixed loading of configuration (thx to f10) 2010-06-07 10:52:17 +02:00
Steffen Vogel
29cc78bc1b renamed controller and view function calls 2010-06-07 02:14:15 +02:00
Steffen Vogel
71e8d9f9a1 introduced view component of MVC pattern
implemented JsonView
2010-06-07 02:13:05 +02:00
Steffen Vogel
dc7d96206a beautified instantiation with ReflectionClass 2010-06-07 01:03:53 +02:00
Steffen Vogel
36abb3b7ea moved addChannel() to ChannelController
done some code cleanup and added comments
2010-06-07 00:42:25 +02:00
Steffen Vogel
62ff0c614d moved ressources into new directory structure according to the MVC pattern
improved class autoloading with preg_replace()
2010-06-07 00:34:46 +02:00
Steffen Vogel
29c9157cc1 first commit to project repository, lets work together!
import of my reworked version of justins code
merged f10's frontend (some work nescessary)
2010-06-06 16:05:46 +02:00