Permalink
Browse files

added GPL license info to all applicable files.

  • Loading branch information...
1 parent 355fd43 commit 5d78e35c015bb549de5806c2d07e54c3d709d64e Zach Hoeken committed Aug 5, 2012
Showing with 1,518 additions and 19 deletions.
  1. +674 −0 LICENSE
  2. +29 −12 ROADMAP
  3. +17 −0 classes/daemon.php
  4. +17 −0 classes/json.php
  5. +17 −0 classes/utility.php
  6. +17 −0 classes/verify.php
  7. +17 −0 controllers/admin.php
  8. +17 −0 controllers/ajaxtemplate.php
  9. +17 −0 controllers/auth.php
  10. +17 −0 controllers/bot.php
  11. +17 −0 controllers/browse.php
  12. +17 −0 controllers/email.php
  13. +17 −0 controllers/form.php
  14. +17 −0 controllers/help.php
  15. +17 −0 controllers/htmltemplate.php
  16. +17 −0 controllers/main.php
  17. +17 −0 controllers/queue.php
  18. +17 −0 controllers/upload.php
  19. +17 −0 controllers/user.php
  20. +17 −0 extensions/config-example.php
  21. +17 −0 extensions/global.php
  22. +17 −0 extensions/session.php
  23. +17 −0 framework/cachebot.php
  24. +17 −0 framework/collection.php
  25. +17 −0 framework/config.php
  26. +17 −0 framework/controller.php
  27. +16 −0 framework/db.php
  28. +17 −0 framework/exceptions.php
  29. +17 −0 framework/file.php
  30. +17 −1 framework/global.php
  31. +17 −3 framework/model.php
  32. +17 −0 framework/schematracker.php
  33. +17 −0 framework/view.php
  34. +15 −0 install/apache.conf
  35. +17 −0 install/createdb.sql
  36. +20 −1 install/first_boot.sh
  37. +1 −0 install/oauth.ini
  38. +17 −0 models/activity.php
  39. +17 −0 models/bot.php
  40. +17 −0 models/comment.php
  41. +17 −0 models/email.php
  42. +17 −0 models/job.php
  43. +17 −0 models/queue.php
  44. +17 −0 models/s3file.php
  45. +17 −0 models/shortcode.php
  46. +17 −0 models/token.php
  47. +17 −0 models/user.php
  48. +15 −1 web/.htaccess
  49. +17 −1 web/assets/botqueue.css
  50. +17 −0 web/assets/botqueue.js
  51. +17 −0 web/dispatcher.php
View
View
@@ -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
View
@@ -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
View
@@ -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()
View
@@ -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(
View
@@ -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)
View
@@ -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()
@@ -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()
View
@@ -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()
View
@@ -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()
@@ -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()
View
@@ -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()
View
@@ -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()
View
@@ -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()
@@ -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()
View
@@ -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()
View
@@ -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()
@@ -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()
Oops, something went wrong. Retry.

0 comments on commit 5d78e35

Please sign in to comment.