Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v3 branch #195

Merged
merged 249 commits into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
8ee36e9
added Backpack v4 support
tabacitu Sep 12, 2019
664a171
Apply fixes from StyleCI
tabacitu Sep 12, 2019
2bdb113
composer json update
tabacitu Sep 12, 2019
c0036ab
Merge branch 'v4' of https://github.com/Laravel-Backpack/Generators i…
tabacitu Sep 12, 2019
3536cab
fixed generators for backpack v4
tabacitu Sep 12, 2019
00d3a63
travis ci update for v4
tabacitu Sep 12, 2019
302fe49
composer test command
tabacitu Sep 12, 2019
459895d
protected setupXxxOperation methods
tabacitu Sep 12, 2019
d2910ce
added operation generation command
tabacitu Sep 17, 2019
b58a4c8
Apply fixes from StyleCI
tabacitu Sep 17, 2019
9bc6512
fixed Str error; made $guarded the default in generated models now
tabacitu Sep 28, 2019
cf024be
Apply fixes from StyleCI
tabacitu Sep 28, 2019
7c1c056
removed applyConfigurationFromSettings call from operation stub
tabacitu Sep 28, 2019
e6aa1c3
fixed name to work with dummy_class lower string
iMokhles Nov 11, 2019
a25518c
Merge branch 'iMokhles-patch-3'
tabacitu Nov 11, 2019
94a58c9
Apply fixes from StyleCI
tabacitu Nov 11, 2019
6887f5b
Change crud attribute type annotation to FQCN for better code hint.
Jan 6, 2020
a316009
Merge pull request #58 from liquid207/change_crud_type_annotation_to_…
tabacitu Jan 6, 2020
7aa8a27
changelog:
tabacitu Jan 6, 2020
18df6d3
Merge pull request #59 from Laravel-Backpack/wtf-is-this
tabacitu Jan 6, 2020
47d8dd4
Update phpunit/phpunit requirement from 4.* to 9.*
dependabot-preview[bot] Mar 1, 2020
44c29df
added release drafter probot
tabacitu Mar 5, 2020
be55f2d
bumped phpunit version
tabacitu Mar 5, 2020
3d6d38f
Merge branch 'master' into dependabot/composer/phpunit/phpunit-9.star
tabacitu Mar 5, 2020
e3ee647
fixed merge conflicts
tabacitu Mar 5, 2020
b658ea6
travisci
tabacitu Mar 5, 2020
abeb8c9
Merge pull request #62 from Laravel-Backpack/dependabot/composer/phpu…
tabacitu Mar 5, 2020
7011e79
Update CHANGELOG.md
tabacitu Mar 5, 2020
08af722
added chart and chart-controller commands; removed laravel helpers
tabacitu Apr 2, 2020
538c247
Apply fixes from StyleCI
tabacitu Apr 2, 2020
73a0d9b
Added support for Backpack 4.1
tabacitu Apr 2, 2020
338e6c9
Merge branch '4.1' of https://github.com/Laravel-Backpack/Generators …
tabacitu Apr 2, 2020
0836789
Update composer.json
tabacitu Apr 2, 2020
561e270
added new icons library use to sidemenu items
iMokhles Apr 26, 2020
27c7877
Merge pull request #77 from iMokhles/patch-4
tabacitu Apr 27, 2020
d797a81
Update composer.json
tabacitu May 6, 2020
6978ebf
add names to routes
iMokhles May 7, 2020
7a57f7c
Merge pull request #80 from iMokhles/patch-5
tabacitu May 8, 2020
c355345
Merge pull request #68 from Laravel-Backpack/4.1
tabacitu May 8, 2020
6aa74c5
Added notice that we're no longer using the changelog file
tabacitu May 8, 2020
76716d4
add CrudTrait to models that exist, but don't have it
tabacitu May 15, 2020
6d54244
Apply fixes from StyleCI
tabacitu May 15, 2020
2d8f078
Generate CrudControllers with actual fields and columns instead of se…
tabacitu May 15, 2020
8bb309c
Apply fixes from StyleCI
tabacitu May 15, 2020
ef13473
removed unused method
tabacitu May 15, 2020
d061d0a
fixes #76 - adds backpack:build command to generate CRUDs for all models
tabacitu May 15, 2020
7acd940
Apply fixes from StyleCI
tabacitu May 15, 2020
3bda2b9
added quotes to $kebabName variable
iMokhles May 15, 2020
fa0305e
Update CrudModelBackpackCommand.php
tabacitu May 20, 2020
b247873
Merge pull request #83 from Laravel-Backpack/generate-crud-for-existi…
tabacitu May 20, 2020
2a2e7a1
Merge pull request #85 from Laravel-Backpack/build-command
tabacitu May 20, 2020
12a44a2
Update README.md
tabacitu May 20, 2020
881b624
Merge branch 'master' into generating-crud-controllers-with-explicit-…
tabacitu May 29, 2020
ac48480
use CRUD facade instead of this crud object in controllers by default
tabacitu May 30, 2020
71f20ad
Merge branch 'generating-crud-controllers-with-explicit-fields-and-co…
tabacitu May 30, 2020
feea329
added docblocks and comments about the fluent syntax to the crud-cont…
tabacitu Jun 6, 2020
e9ebc0a
Merge pull request #84 from Laravel-Backpack/generating-crud-controll…
tabacitu Jun 6, 2020
da477e6
Update support.yml
tabacitu Jun 20, 2020
48621e1
Merge pull request #86 from iMokhles/patch-6
tabacitu Jun 22, 2020
f08a7c0
fixed '$kebabName' (T_VARIABLE), expecting ']'
iMokhles Jun 22, 2020
17a37c9
Merge pull request #92 from iMokhles/patch-7
tabacitu Jun 22, 2020
0210e18
fix #98 - adding CrudTrait to Model generates error on Windows OS
tabacitu Sep 14, 2020
2dd97c9
Update README.md
tabacitu Oct 6, 2020
de9f46a
Merge pull request #100 from Laravel-Backpack/fix-98
tabacitu Oct 13, 2020
a596017
Proper validation for models on app or models namespace
promatik Jan 8, 2021
1f19518
Apply fixes from StyleCI
tabacitu Jan 8, 2021
ee788cd
Update src/Console/Commands/CrudModelBackpackCommand.php
tabacitu Jan 11, 2021
6bcc66f
Update src/Console/Commands/CrudModelBackpackCommand.php
tabacitu Jan 11, 2021
13f8693
change tense is some of the outputs so it's consisent
tabacitu Jan 11, 2021
1ef1f88
use yellow output when nothing is done
tabacitu Jan 11, 2021
c52decf
Merge branch 'validate-models-namespace'
tabacitu Jan 11, 2021
c95760b
remove notice on how to load the service provider because old version…
tabacitu Jan 11, 2021
cc27219
Fixed wrong condition causing fields and columns to not be filled
promatik Jan 23, 2021
ef496d3
Merge pull request #104 from Laravel-Backpack/fix-95
tabacitu Jan 27, 2021
daf9310
use correct field function rather than column for fields
iMokhles Feb 6, 2021
4fa1620
Update model.stub
maarten00 Feb 7, 2021
32d3e09
Merge pull request #107 from iMokhles/patch-8
tabacitu Feb 8, 2021
dec8b6f
Merge pull request #108 from maarten00/maarten00-patch-2
tabacitu Feb 8, 2021
fc889ea
clear route cache when adding routes
pxpm Mar 30, 2021
170038e
Apply fixes from StyleCI
tabacitu Mar 30, 2021
7177831
Merge pull request #111 from Laravel-Backpack/clear-cached-routes
tabacitu Mar 30, 2021
313b012
Update README.md
tabacitu Mar 30, 2021
cbdbc1a
Update composer.json
tabacitu Apr 8, 2021
292d523
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] Apr 29, 2021
e3153fe
Merge pull request #112 from Laravel-Backpack/dependabot/add-v2-confi…
tabacitu May 3, 2021
8597e4e
Fix for multiple word crud command
promatik May 23, 2021
aab127f
fix license on readme
tabacitu May 24, 2021
39a70f0
Replace MIT License with YUMMY License to fix inconsistency
tabacitu May 24, 2021
9b020e8
Fix entity names to lower case
promatik Jun 17, 2021
779210d
Merge pull request #114 from Laravel-Backpack/fix-multiple-word-crud
tabacitu Jun 22, 2021
5cb564a
Update README.md
tabacitu Jun 22, 2021
a0cc4f5
Reverted `Str::of()` to support Laravel 6
promatik Aug 14, 2021
0c72a89
Merge pull request #116 from Laravel-Backpack/fix-str-of-laravel-6-su…
tabacitu Aug 23, 2021
93499a4
Re-Sort Create functions
egyjs Sep 23, 2021
56ec44c
Models should have a `HasFactory` trait
egyjs Sep 25, 2021
8c838a2
Merge pull request #117 from egyjs/patch-1
tabacitu Oct 12, 2021
027a2c6
Apply fixes from StyleCI
tabacitu Oct 12, 2021
b28c7f7
Create pull_request_template.md
tabacitu Dec 3, 2021
0082614
use escaped double-slash to avoid inner single slash
pxpm Dec 23, 2021
17b0e20
Update stale.yml
tabacitu Jan 9, 2022
69d6d2e
add support for Backpack v5
tabacitu Feb 4, 2022
100a05d
Update composer.json
tabacitu Feb 4, 2022
ecb95a0
Merge pull request #127 from Laravel-Backpack/v5-support
tabacitu Feb 4, 2022
49b7fd9
remove unused namespace file import.
pxpm Feb 28, 2022
ca7f840
Merge pull request #128 from Laravel-Backpack/remove-unused-namespace…
tabacitu Feb 28, 2022
f6e9464
Fix location for where model is generated
AbbyJanke Mar 21, 2022
4dd4962
Update src/Console/Commands/ModelBackpackCommand.php
AbbyJanke Mar 23, 2022
6899de6
Update crud-model.stub
tabacitu Mar 28, 2022
bef8e91
Merge pull request #126 from Laravel-Backpack/fix-inner-single-slash
tabacitu Apr 14, 2022
7743215
use the camelcased version of operation name
pxpm May 2, 2022
a472003
Create add-to-project.yml
tabacitu May 17, 2022
c7aa969
Prettier backpack:crud command
promatik Aug 8, 2022
1e65afd
Apply fixes from StyleCI
StyleCIBot Aug 8, 2022
e9883b2
Merge branch 'master' into prettier-backpack-crud-command
promatik Aug 8, 2022
5c117e2
Merge branch 'prettier-backpack-crud-command' of github.com:Laravel-B…
promatik Aug 8, 2022
0214e48
renamed "not needed" to "already existed"
tabacitu Aug 9, 2022
3e97955
slimmer CRUD confirmation message
tabacitu Aug 9, 2022
4599134
Merge pull request #136 from Laravel-Backpack/prettier-backpack-crud-…
tabacitu Aug 9, 2022
66d5db5
Create Page Command
promatik Aug 22, 2022
18c6658
Update src/Console/stubs/page.stub
tabacitu Aug 23, 2022
8931740
Apply fixes from StyleCI
StyleCIBot Aug 23, 2022
59dae1a
button cmd
karandatwani92 Aug 27, 2022
a36a90c
fix
karandatwani92 Aug 27, 2022
ab6f2c9
Update src/Console/stubs/button.stub
karandatwani92 Aug 30, 2022
68e166d
fix desc
karandatwani92 Aug 30, 2022
915f18a
button cmd
karandatwani92 Aug 30, 2022
d1e116e
Replaced BaseController with Illuminate\Routing\Controller
promatik Aug 30, 2022
5000d7f
View name is now underscored snake case
promatik Aug 31, 2022
280ad5a
Minor fixes on name case
promatik Aug 31, 2022
631a2f2
Merge pull request #140 from Laravel-Backpack/create-page-command
tabacitu Sep 1, 2022
ff6667f
add docs for page command
tabacitu Sep 1, 2022
c5c6e8b
Update src/GeneratorsServiceProvider.php
tabacitu Sep 1, 2022
93b0d96
Merge branch 'Laravel-Backpack:main' into button-cmd
karandatwani92 Sep 1, 2022
3fe2088
Converted namespaces into file links on backpack:crud command
promatik Sep 4, 2022
0ed1045
Apply fixes from StyleCI
StyleCIBot Sep 4, 2022
59e1d2c
Accept validation option on backpack:crud command, or interactively a…
promatik Sep 5, 2022
2274f4f
Apply fixes from StyleCI
StyleCIBot Sep 5, 2022
ad4f3a4
Merge pull request #142 from Laravel-Backpack/file-links-on-crud-command
tabacitu Sep 5, 2022
e0ea969
Merge branch 'main' of https://github.com/Laravel-Backpack/Generators…
tabacitu Sep 5, 2022
736128d
Merge branch 'Laravel-Backpack:main' into button-cmd
karandatwani92 Sep 6, 2022
f48e2a5
cmd info
karandatwani92 Sep 6, 2022
bd24540
display path fix
karandatwani92 Sep 6, 2022
97b8cd4
Update src/Console/Commands/CrudBackpackCommand.php
promatik Sep 6, 2022
3582e8d
Update composer.json
promatik Sep 6, 2022
e450fb6
Avoid deleteLines when in no interaction mode
promatik Sep 7, 2022
5f2a49a
Merge branch 'interactive-validation' of github.com:Laravel-Backpack/…
promatik Sep 7, 2022
31e3d82
Apply fixes from StyleCI
StyleCIBot Sep 7, 2022
58ec2aa
init
karandatwani92 Sep 7, 2022
77594cd
Merge pull request #143 from Laravel-Backpack/interactive-validation
tabacitu Sep 8, 2022
48aeafa
Merge pull request #141 from karandatwani92/button-cmd
tabacitu Sep 8, 2022
1c39495
Apply fixes from StyleCI
StyleCIBot Sep 8, 2022
0bf3d90
Fixed CRUD Controller generated fields and columns
promatik Sep 8, 2022
48ffb0c
Apply fixes from StyleCI
StyleCIBot Sep 8, 2022
1c134f1
Load models by namespace instead of assuming it's a model just by fil…
promatik Sep 8, 2022
bffe3e3
Default validation as request for the backpack:crud command
promatik Sep 8, 2022
f0f9344
Merge branch 'Laravel-Backpack:main' into cmd-new-field
karandatwani92 Sep 9, 2022
1ccc846
namespace support
karandatwani92 Sep 10, 2022
faa8323
Merge pull request #147 from Laravel-Backpack/default-validation-request
tabacitu Sep 11, 2022
eceda18
cleaned up field stub
tabacitu Sep 11, 2022
bdd96b2
Apply fixes from StyleCI
StyleCIBot Sep 11, 2022
62d3f2d
Merge branch 'cmd-new-field'
tabacitu Sep 11, 2022
0c61786
Merge branch 'main' of https://github.com/Laravel-Backpack/Generators
tabacitu Sep 11, 2022
f7c7127
add field command docs
tabacitu Sep 11, 2022
d85e527
Merge pull request #145 from Laravel-Backpack/fix-crud-generated-fiel…
tabacitu Sep 11, 2022
89e0d3f
remove l8 breaking code
pxpm Sep 12, 2022
5bfd7ae
Merge pull request #149 from Laravel-Backpack/remove-lcfirst-calls
tabacitu Sep 12, 2022
e1f9860
Merge branch 'main' into load-models-by-namespace
promatik Sep 13, 2022
0aacf2c
Used Reflection
promatik Sep 17, 2022
5410827
Apply fixes from StyleCI
StyleCIBot Sep 17, 2022
92d12f5
crud-operation is now more consistent comparing to the default operat…
promatik Sep 17, 2022
6a1e757
Replaced quotes on crud-operation.stub
promatik Sep 17, 2022
bd71feb
Used CRUD Facade on crud-operation.stub
promatik Sep 17, 2022
d844a49
Merge pull request #151 from Laravel-Backpack/camelCase-operation-nam…
tabacitu Sep 18, 2022
3afc35a
Merge pull request #133 from Laravel-Backpack/camelCase-operation-names
tabacitu Sep 18, 2022
d547090
init
karandatwani92 Sep 26, 2022
d6ea017
Apply fixes from StyleCI
StyleCIBot Sep 26, 2022
f93957e
Merge pull request #152 from Laravel-Backpack/cmd-new-column
tabacitu Sep 26, 2022
b5abcb0
init
karandatwani92 Sep 27, 2022
8bde368
Apply fixes from StyleCI
StyleCIBot Sep 27, 2022
7e06acc
init
karandatwani92 Sep 27, 2022
a98ca55
Merge pull request #153 from Laravel-Backpack/cmd-new-filter
tabacitu Sep 28, 2022
739830c
Merge pull request #154 from Laravel-Backpack/cmd-new-widget
tabacitu Sep 28, 2022
da74e3b
Update README.md
tabacitu Sep 28, 2022
0099aa8
Fixes on create/publish views commands
promatik Oct 6, 2022
eb52215
Apply fixes from StyleCI
StyleCIBot Oct 6, 2022
f1e87eb
Minor fixes on field stub
promatik Oct 5, 2022
0697b83
Merge branch 'create-publish-views' of github.com:Laravel-Backpack/Ge…
promatik Oct 6, 2022
1a773bf
Merge pull request #155 from Laravel-Backpack/create-publish-views
tabacitu Oct 6, 2022
19794c0
Get the "name" from "--from" when it's not given
promatik Oct 9, 2022
679eb91
Update src/Console/Commands/BuildBackpackCommand.php
promatik Oct 9, 2022
a7b4306
Apply fixes from StyleCI
StyleCIBot Oct 9, 2022
24cb2ce
Merge pull request #158 from Laravel-Backpack/allow-no-name
tabacitu Oct 10, 2022
81ad641
Moved publish or create views to a common namespace
promatik Oct 16, 2022
49528bb
Apply fixes from StyleCI
StyleCIBot Oct 16, 2022
7058ac4
Allow relative file paths on --from option
promatik Oct 16, 2022
2156bfc
Apply fixes from StyleCI
StyleCIBot Oct 16, 2022
dc35d9a
Merge branch 'refactor-view-commands' into allow-relative-absolute-fr…
promatik Oct 16, 2022
4dd2065
Merge branch 'allow-relative-absolute-from-paths' of github.com:Larav…
promatik Oct 16, 2022
dd81e59
Merge pull request #160 from Laravel-Backpack/refactor-view-commands
tabacitu Oct 17, 2022
20691d0
Merge pull request #161 from Laravel-Backpack/allow-relative-absolute…
tabacitu Oct 17, 2022
f82f446
Allow absolute paths outside of app scope
promatik Oct 19, 2022
f3d49a3
Merge pull request #162 from Laravel-Backpack/allow-relative-absolute…
tabacitu Oct 21, 2022
ad4f68a
Fix for absolute paths in Unix file systems
promatik Oct 24, 2022
8208022
Apply fixes from StyleCI
StyleCIBot Oct 24, 2022
d71a594
Merge pull request #164 from Laravel-Backpack/fix-absolute-paths
tabacitu Oct 25, 2022
7a19980
Override widget path
promatik Oct 25, 2022
d810369
Merge pull request #165 from Laravel-Backpack/override-widget-path
tabacitu Oct 25, 2022
8ea8abd
Added route and layout options to PageBackpackCommand
promatik Nov 7, 2022
967d6b9
Merge pull request #166 from Laravel-Backpack/fixes-page-command
tabacitu Nov 8, 2022
341394c
Make sure view names use snake case
promatik Nov 18, 2022
c894247
Replaced value with toString()
promatik Nov 23, 2022
cecedf7
Used string cast instead of toString() method
promatik Nov 24, 2022
788189f
Merge pull request #168 from Laravel-Backpack/replace-value-tostring
tabacitu Nov 26, 2022
df37d2b
Merge pull request #167 from Laravel-Backpack/fixes-page-command
tabacitu Dec 13, 2022
92f9618
change default menu icon for generated CRUDs
tabacitu Dec 16, 2022
5f1f960
Merge pull request #170 from Laravel-Backpack/change-crud-icon
tabacitu Dec 16, 2022
6383103
Merge pull request #146 from Laravel-Backpack/load-models-by-namespace
tabacitu Dec 20, 2022
47ca61d
First commit
maurohmartinez Dec 22, 2022
b5ae5c7
Apply fixes from StyleCI
StyleCIBot Dec 22, 2022
50c1ebb
Adjust to work with all separated artisan calls
maurohmartinez Dec 22, 2022
68171e5
Merge remote-tracking branch 'origin/generate_nested_controllers_and_…
maurohmartinez Dec 22, 2022
e7b5583
Apply fixes from StyleCI
StyleCIBot Dec 22, 2022
3a1f34b
Merge branch 'main' into generate_nested_controllers_and_models
maurohmartinez Dec 23, 2022
310ee4b
Convert BackpackCommand from abstract to regular Class
maurohmartinez Jan 18, 2023
7cad4b6
Merge pull request #171 from Laravel-Backpack/generate_nested_control…
tabacitu Jan 19, 2023
42d2304
Merge pull request #130 from Laravel-Backpack/AJanke-ModelLocate
tabacitu Jan 19, 2023
59183e2
Merge pull request #119 from egyjs/patch-3
tabacitu Jan 19, 2023
92ca0a4
hotfix
pxpm Jan 19, 2023
3c22727
Merge pull request #174 from Laravel-Backpack/hotfix
pxpm Jan 19, 2023
46d6c46
Update LICENSE.md
tabacitu Jan 24, 2023
16f5f2d
Merge pull request #176 from Laravel-Backpack/Mit-license
tabacitu Jan 24, 2023
b757e02
Fix deprecation warning
mattsches Feb 15, 2023
fb2f799
Added PHP 7.4 as a min. version requirement
o15a3d4l11s2 Feb 16, 2023
c5543d2
Make PHP 7.4 as minimum version
pxpm Feb 16, 2023
e84c379
Fix deprecation warning message
diogogomeswww Feb 24, 2023
d506b43
fix add crudtrait to crud
pxpm Feb 27, 2023
cdc6057
Merge pull request #182 from diogogomeswww/main
tabacitu Feb 28, 2023
99eecb5
use fluent strings, add crud trait, fix blank row
pxpm Feb 28, 2023
20fa6ee
fix windows vs linux eols
pxpm Feb 28, 2023
98071ac
Apply fixes from StyleCI
StyleCIBot Feb 28, 2023
ec7f69d
Merge pull request #183 from Laravel-Backpack/fix-add-crudtrait-to-model
tabacitu Mar 1, 2023
4ae93dc
use namespace to insert crud trait
pxpm Mar 1, 2023
eb68956
Merge branch 'main' of https://github.com/Laravel-Backpack/Generators
pxpm Mar 1, 2023
04cf649
Apply fixes from StyleCI
StyleCIBot Mar 1, 2023
a3b7040
fix build stringable value bug
tabacitu Mar 2, 2023
195dbc2
Apply fixes from StyleCI
StyleCIBot Mar 2, 2023
062d4fd
Merge pull request #185 from Laravel-Backpack/fix-build-stringable-va…
tabacitu Mar 2, 2023
5f2675c
Merge pull request #184 from Laravel-Backpack/use-namespace
pxpm Mar 3, 2023
679a8bc
Merge pull request #179 from mattsches/patch-1
pxpm Mar 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 10
27 changes: 27 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## WHY

### BEFORE - What was wrong? What was happening before this PR?

??

### AFTER - What is happening after this PR?

??


## HOW

### How did you achieve that, in technical terms?

??



### Is it a breaking change or non-breaking change?

??


### How can we test the before & after?

??
42 changes: 42 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

name-template: 'v$NEXT_PATCH_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- 'added'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- 'fixed'
- title: '⚙️ Changes'
labels:
- 'changed'
- 'dependencies'
- title: '🧰 Removed'
label: 'removed'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
## Changes

$CHANGES
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://probot.github.io/apps/stale/

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 120
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
Expand Down
2 changes: 1 addition & 1 deletion .github/support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ supportComment: >

Here are all the Backpack communication mediums:
- Long questions (_I have done X and Y and it won't do Z wtf_) - [Stackoverflow](https://stackoverflow.com/questions/tagged/backpack-for-laravel), using the ```backpack-for-laravel``` tag; this is recommended for most questions, since other developers can then find the answer on a simple Google search; also, people get points for answering - and who doesn't like StackOverflow points?!
- Quick help (_How do I do X_) - [Gitter Chatroom](gitter.im/BackpackForLaravel/Lobby);
- Quick help (_How do I do X_) - [Gitter Chatroom](https://gitter.im/BackpackForLaravel/Lobby);
- Bug Reports, Feature Requests - Github Issues (here);

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or StackOverflow is thanks to our awesome _awesome_ community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add new bugs & PRs to This Week project

on:
issues:
types:
- opened
- transferred
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add new bugs and PRs to This Week project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/Laravel-Backpack/projects/13
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea/
vendor/
node_modules/
.DS_Store
.composer.lock
composer.lock
.phpunit.result.cache
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- nightly

matrix:
allow_failures:
- php: nightly
- php: 7.2
- php: 8.0

sudo: false

Expand Down
68 changes: 57 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,82 @@

All Notable changes to `Backpack Generators` will be documented in this file

## NEXT - YYYY-MM-DD
------------
IMPORTANT
------------

Starting with version 3, the changelog is kept inside the Releases tab in our this repo's Github page. Please check https://github.com/Laravel-Backpack/Generators/releases

------------

## 2.0.7 - 2020-03-05

### Fixed
- Upgraded PHPUnit;


## 2.0.6 - 2020-01-06

### Fixed
- CrudController typehint;


## 2.0.5 - 2019-11-11

### Fixed
- when generating CRUDs, route name should only have lowercase letters;


## 2.0.4 - 2019-09-28

### Fixed
- removed applyConfigurationFromSettings() call from operation stub, since it's now being called automatically by CrudController, before it reaches that method;


## 2.0.3 - 2019-09-28

### Fixed
- fixed crud command had Class 'Str' not found error in CrudBackpackCommand:53;
- models are now generated with ```$guarded``` instead of ```$fillable``` by default, since the CRUDs now only save what fields have been added by CRUD, not everything that's inside the Request; this should speed up CRUD generation A LOT, by not having to edit the model before you edit the CRUD; it's an opinionated way to do things though - some people prefer $fillable, others $guarded; both work; it's just the default that has changed;


## 2.0.2 - 2019-09-17

### Added
- Nothing
- command to generate a CRUD operation; ex: ```php artisan backpack:crud-operation Moderate```

### Deprecated
- Nothing

## 2.0.1 - 2019-09-12

### Fixed
- Nothing
- it's better for ```setupXxxOperation()``` methods to be ```protected```;


## 2.0.0 - 2019-09-12

### Added
- Backpack v4 support;
- ```php artisan backpack:crud``` now also generates route and sidebar item;

### Removed
- Nothing
- Backpack v3 support;

### Security
- Nothing

------------

## 1.2.7 - 2019-02-27

## Added
### Added
- Backpack\Base 1.1 compatibility;

## 1.2.6 - 2019-01-16

## Added
### Added
- CrudPanel reference to CrudController stb, for IDE code completion;

## 1.2.5 - 2018-11-22

## Added
### Added
- support for Backpack/Base 1.0.0

## 1.2.4 - 2018-08-27
Expand Down
38 changes: 19 additions & 19 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# The MIT License (MIT)
MIT License

Copyright (c) 2016 Cristian Tone <[email protected]>
Copyright (c) 2022 Cristian Tabacitu

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading