Commit Graph

5 Commits

Author SHA1 Message Date
Pliable Pixels
1f7cd3111b Added CRUD plugin 2015-06-10 15:42:48 +00:00
Kyle Johnson
e7472a126f Rework the Options / Config page (again)
We're now grabbing only the json from the api, passing it through
the Crud plugin so that ints stay as ints, and then assigning the
json to the scope via app.js resolve.

 * Saving Config is not tested here.
 * This commit may deprecate the ConfigParserComponent
 * Options must be saved before changing the tab, lest they are lost.
 * That'll be fixed in another commit.
2015-03-05 08:03:15 -05:00
Kyle Johnson
8c8ae6ae6f Replace configs/keyvalue functionality with CRUD 2015-02-27 11:20:45 -05:00
Kyle Johnson
80b1a61a12 Add CakePHP Crud plugin to the API
I wish I knew about this plugin months ago.

By default PDO and CakePHP cast int as string.  This prevents me
from using `<input type="number">`, as the modle that the input
is bound to is actually a string, not an int.

Crud by default casts int back to int via ApiTransformationListener

It also has a bunch of other features which makes the life of a
REST / CRUD developer easier.
2015-02-25 10:28:24 -05:00
Kyle Johnson
f1f3de6d7d Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00