Nafies Luthfi
e386b3e78f
Add @param on on the controller index method's docblock
5 years ago
Nafies Luthfi
8898d6e8fb
Add orderBy on index model query
5 years ago
Nafies Luthfi
500edb79c7
Update unit tests based on the new implementation
5 years ago
Nafies Luthfi
40bbca2feb
wip: Change name attribute to title
5 years ago
Nafies Luthfi
b27fce1aef
Fix tests according to the new implementation for laravel 8.x
5 years ago
Nafies Luthfi
0842a88f0f
Update stubs to inject request class on destroy action
7 years ago
Nafies Luthfi
8ee19da978
Change form request variable name on controller stub
7 years ago
Nafies Luthfi
0dc629fab1
Remove unused generated scripts
7 years ago
Nafies Luthfi
66591d9e33
Add use statement on "form request"-ed controller
7 years ago
Nafies Luthfi
297539bad8
Add full-formrequests controller stub
7 years ago
Nafies Luthfi
a31ee6ea6b
Change controller name convention to singular
7 years ago
Nafies Luthfi
ee34521d30
Move controller stubs to stubs/controller directory
8 years ago
Nafies Luthfi
fb9be0f0a3
Change model query on Controller@index method
8 years ago
Nafies Luthfi
f15c45bb18
Update Full Controller stub code
Using laravel 5.5 request object validation
8 years ago
Nafies Luthfi
51141ee874
Update Full Controller stub docblocks
8 years ago
Nafies Luthfi
d031cbb4ac
Fixed some docblock spaces
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
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
7c1ed11bce
Fixed after make:crud (full) usage failure on laravel 5.5
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
cbd79a8d63
Add authorization on store, update and destroy controller methods
8 years ago
Nafies Luthfi
15fa99dce8
Add full model name modelNames attribute on CrudMake
8 years ago
Nafies Luthfi
e3d0ae0b19
Support for two-words model name
8 years ago
Nafies Luthfi
ad2c6b938c
Apply record search query on name attribute
Description attribute not required and nullable
Add pagination link on index page
8 years ago
Nafies Luthfi
52b42d88d3
Add searchable and paged model update and deletation
Remove flash function call
8 years ago
Nafies Luthfi
4a5515c8d2
Set correct controller and feature test stub
8 years ago
Nafies Luthfi
d33a521f6d
CrudMake refactor to simplify stub string replacements
8 years ago
Nafies Luthfi
fb5b423255
Fixed controller generator string replacements
8 years ago
Nafies Luthfi
1af21bdd0f
Fixed controller generator to create correct controller names
8 years ago
Nafies Luthfi
b762c98e4b
Fixed controller creator to use controller.model.stub
8 years ago