Skip to content

Commit

Permalink
added GPL license info to all applicable files.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed Aug 5, 2012
1 parent 355fd43 commit 5d78e35
Show file tree
Hide file tree
Showing 51 changed files with 1,518 additions and 19 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

41 changes: 29 additions & 12 deletions ROADMAP
@@ -1,18 +1,35 @@
v1 Release

* Basic site infrastructure: registration, login, etc.
* Upload gcode file
* API for workers to get / complete jobs
* Machine registration
* Queue creation
* Queue view / edit / delete / reorder
* Individual job view / edit
* Basic Daemon for mac / win / linux
* Website:
* Add licenses to all PHP files and top level.
* Nice looking template
* Machine registration
* Queue creation
* Queue view / edit / delete / reorder
* Individual job view / edit
* Upload gcode file / create job
* API flow through OAuth
* Machine status / dashboard
* Print statistics (% pass / fail, # of hours, etc)
* Test Amazon bootup script.

* Files - GCode that is ready to print.
* Queues - Holds all jobs that need to be completed.
* Bots - Individual machines capable of handling jobs.
* Jobs - Process to be completed. Associated w/ queue and has a single gcode file to execute.
* API
* OAuth flow for apps to register and get active.
* Workers can grab jobs.
* Workers can finish jobs.
* Get information on a job.
* Get a list of user queues
* Get a list of jobs in a queue
* active
* pending
* completed
* failed

* App
* Basic Daemon for mac / win / linux
* Use pronterface backend for reprap / gcode style machines
* Use s3g python interface for MakerBot machines
* Use pronterface for smoothie style machines? TBD

v2 Release

Expand Down
17 changes: 17 additions & 0 deletions classes/daemon.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

require_once("PEAR/Log.php");

class Daemon
Expand Down
17 changes: 17 additions & 0 deletions classes/json.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class JSON
{
private function __construct()
Expand Down
17 changes: 17 additions & 0 deletions classes/utility.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class Utility
{
public static $currencyNames = array(
Expand Down
17 changes: 17 additions & 0 deletions classes/verify.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class Verify
{
public static function username($username, &$reason)
Expand Down
17 changes: 17 additions & 0 deletions controllers/admin.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class AdminController extends Controller
{
public function home()
Expand Down
17 changes: 17 additions & 0 deletions controllers/ajaxtemplate.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class AjaxTemplateController extends Controller
{
public function main()
Expand Down
17 changes: 17 additions & 0 deletions controllers/auth.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class AuthController extends Controller
{
public function login()
Expand Down
17 changes: 17 additions & 0 deletions controllers/bot.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class BotController extends Controller
{
public function register()
Expand Down
17 changes: 17 additions & 0 deletions controllers/browse.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class BrowseController extends Controller
{
public function pagination_info()
Expand Down
17 changes: 17 additions & 0 deletions controllers/email.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class EmailController extends Controller
{
public function lost_pass()
Expand Down
17 changes: 17 additions & 0 deletions controllers/form.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class FormController extends Controller
{
private function _global()
Expand Down
17 changes: 17 additions & 0 deletions controllers/help.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class HelpController extends Controller
{
public function home()
Expand Down
17 changes: 17 additions & 0 deletions controllers/htmltemplate.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class HTMLTemplateController extends Controller
{
public function main()
Expand Down
17 changes: 17 additions & 0 deletions controllers/main.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class MainController extends Controller
{
public function home()
Expand Down
17 changes: 17 additions & 0 deletions controllers/queue.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class QueueController extends Controller
{
public function create()
Expand Down
17 changes: 17 additions & 0 deletions controllers/upload.php
@@ -1,4 +1,21 @@
<?
/*
This file is part of BotQueue.
BotQueue is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
BotQueue is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with BotQueue. If not, see <http://www.gnu.org/licenses/>.
*/

class UploadController extends Controller
{
public function uploader()
Expand Down

0 comments on commit 5d78e35

Please sign in to comment.