Nafies Luthfi
223ae30e93
Fixed some missing whitespace
8 years ago
Nafies Luthfi
d031cbb4ac
Fixed some docblock spaces
8 years ago
Nafies Luthfi
503567a216
Drop support for laravel 5.4
8 years ago
Nafies Luthfi
f4245386fb
Update cancel button to have query strings
The cancel button will returns user to exact same page
even if they have search query or paginate pages
8 years ago
Nafies Luthfi
ee61a11c4f
Update simple crud, move delete button to edit form
8 years ago
Nafies Luthfi
196c33bc67
Update Api Controller and Feature Test generator
8 years ago
Nafies Luthfi
58deee3511
Add comment block on route stubs
8 years ago
Nafies Luthfi
70cb13add5
Update show view stub
8 years ago
Nafies Luthfi
1b6f48fb57
Update ModelPolicyTest stub
8 years ago
Nafies Luthfi
d4672b7a47
Use crud-api command can use existing models
8 years ago
Nafies Luthfi
79225ff7e4
Remove id attribute call on model unit test
Laravel will automatically recognize the route key
name attribute for the model, so we dont need to
specify the id attribute on the named route call
8 years ago
Nafies Luthfi
5e451a831b
Update readme for crud-api command usage
8 years ago
Nafies Luthfi
92c74eddcd
Update api route, controller and feature test class
8 years ago
Nafies Luthfi
e373149d0d
Add show method on api controller, update docblock
8 years ago
Nafies Luthfi
fadfd746df
Generate feature test for crud-api command
8 years ago
Nafies Luthfi
37ef240f39
Update browserkit base test class
8 years ago
Nafies Luthfi
cb85c48b22
Generate Api route for crud-api command
Rename WebRouteGenerator into RouteGenerator
8 years ago
Nafies Luthfi
09e7c36c5d
Remove view generation on crud-api command
8 years ago
Nafies Luthfi
108596431a
Create new command make:crud-api
Generate Api Controller
8 years ago
Nafies Luthfi
cac2849a69
Add support for laravel 5.6
8 years ago
Nafies Luthfi
b6495396b4
Update test feature simple stub
8 years ago
Nafies Luthfi
b8f649533e
Fix docblock based on PSR2
8 years ago
Nafies Luthfi
45c238feba
Add edit form validation test
8 years ago
Nafies Luthfi
ea21376dac
Add create form validation test
8 years ago
Nafies Luthfi
60282b75b3
Update model stub for nameLink method
Changed $this->id to $this, so laravel will figured out
the route name key by it self
8 years ago
Nafies Luthfi
bd45d63ccc
Update form views to for syntax consistency
8 years ago
Nafies Luthfi
23d701bb31
Remove variabel that cause invalid redirection
Model variable in update method on controller.full.stub
will always return 1, so it will cause invalid redirection
on every model update action
Remove unused variable on controller update method
8 years ago
Nafies Luthfi
b00af7f027
Update feature test stub to use submitForm method
8 years ago
Nafies Luthfi
72713e74f6
Add creator relation on created model
Add creator_id on model table migration file
Update controller to add auth()->id() as model creator
8 years ago
Nafies Luthfi
b9485fefc8
Remove editableModel query on full controller stub
editableModel query only used on simple version of CRUD
8 years ago
Nafies Luthfi
eb5e4684da
Add authorization check on show and edit page
8 years ago
Nafies Luthfi
c5934ad7e8
Add authorization check on create page
8 years ago
Nafies Luthfi
a70e86e42e
Update stub files to fix usage failure tests on laravel 5.5
8 years ago
Nafies Luthfi
c9b3f8eba5
Add show and edit view stub for full crud
8 years ago
Nafies Luthfi
7c1ed11bce
Fixed after make:crud (full) usage failure on laravel 5.5
8 years ago
Nafies Luthfi
e8b6d95ab8
Update proper tests assertion after generated form view changes
8 years ago
Nafies Luthfi
633a01bf48
Add edit view stub for full crud
8 years ago
Nafies Luthfi
93c3802c2e
Add create view stub for full crud
8 years ago
Nafies Luthfi
eefaaafadf
Update view index for full crud
8 years ago
Nafies Luthfi
e11acbedcf
Separate crud-simple view generator test
8 years ago
Nafies Luthfi
276cfe2a88
Update correct make:crud test and stub for feature test generator
Separate make:crud-simple test for feature test generator
8 years ago
Nafies Luthfi
149b211446
Add make:crud-simple command with separated tests
Add crud type on BaseGenerator@generate method
Add controller.full.stub for full controller
Update ControllerGeneratorTest to adopt controller.full.stub
8 years ago
Nafies Luthfi
e90f043499
Update simple controller stub name
8 years ago
Nafies Luthfi
b64868b940
Refactor file generator classes
8 years ago
Nafies Luthfi
aa3b34b3be
Refactor CrudMake class and create CrudCommand abstract class
8 years ago
Nafies Luthfi
e7e8aba961
Fixed proper can directive on form view
8 years ago
Nafies Luthfi
8333c118cb
Add user authorization check on forms and index views
8 years ago
Nafies Luthfi
cbd79a8d63
Add authorization on store, update and destroy controller methods
8 years ago
Nafies Luthfi
ecb420d612
Fixed failed test on namespaced model class content
8 years ago
Nafies Luthfi
1a7bac77b9
Add proper form field label on view-forms stub
8 years ago