Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
363 commits
Select commit Hold shift + click to select a range
c3cc731
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Sep 29, 2021
e8c9d55
wip
Cannonb4ll Sep 30, 2021
f2f2441
sponsors
Cannonb4ll Sep 30, 2021
85f8544
Wip snoozing
Cannonb4ll Oct 1, 2021
04418b1
More room
Cannonb4ll Oct 1, 2021
d33e8f0
Fix composer
Cannonb4ll Oct 1, 2021
fb122b8
Merge pull request #33 from LaraBug/snooze
Cannonb4ll Oct 1, 2021
5fcb097
Fix for InertiaJS unauthenticated blade view, package updates
Cannonb4ll Oct 1, 2021
69b9f65
Add more details to exception
Cannonb4ll Oct 1, 2021
03134dd
Add search to api
Cannonb4ll Oct 1, 2021
298fc34
improve sorting
Cannonb4ll Oct 1, 2021
ea21b9d
save last mobile login at to users table
Cannonb4ll Oct 1, 2021
cd66109
Register FCM token
Cannonb4ll Oct 1, 2021
72ccb5e
fix
Cannonb4ll Oct 1, 2021
4e44cc2
Added FCM to notification class
Cannonb4ll Oct 1, 2021
816173b
bugfix notification
Cannonb4ll Oct 1, 2021
9b39084
Small woopsie
Cannonb4ll Oct 1, 2021
19888d0
Change notification details
Cannonb4ll Oct 1, 2021
8e96311
send exception data with notification
Cannonb4ll Oct 1, 2021
941680f
Update app.js to use the new createInertiaApp() factory method
krekas Oct 2, 2021
831501e
Merge pull request #35 from krekas/createInertiaApp-factory-method
Cannonb4ll Oct 2, 2021
9a7e49a
temp fix test
Cannonb4ll Oct 2, 2021
ac4a69f
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Oct 2, 2021
4385578
Set correct page titles in panel pages
krekas Oct 2, 2021
7a4c4b4
wip
Cannonb4ll Oct 2, 2021
747ff3b
dont report request exceptions
Cannonb4ll Oct 2, 2021
57b6148
Merge pull request #36 from krekas/page-titles
Cannonb4ll Oct 2, 2021
efe8e06
wip
Cannonb4ll Oct 2, 2021
0280098
Merge pull request #37 from LaraBug/manage-fcm-tokens-profile
Cannonb4ll Oct 2, 2021
c3ed9fe
Bugfix
Cannonb4ll Oct 2, 2021
6a20ad4
Display device name in tokens
Cannonb4ll Oct 2, 2021
1987e61
Convert forms to inertia form helper
krekas Oct 2, 2021
14eb8b6
Merge pull request #38 from krekas/intertia-form-helper
Cannonb4ll Oct 3, 2021
f92fb35
Inertia form helper for use change password
krekas Oct 3, 2021
74720f0
Add title to mobile devices page
krekas Oct 3, 2021
54ff1d1
Add validation to projects custom webhook url
krekas Oct 3, 2021
5ba968c
Merge pull request #39 from krekas/intertia-form-helper
Cannonb4ll Oct 3, 2021
75d7087
Merge pull request #40 from krekas/title-for-mobile-devices-page
Cannonb4ll Oct 3, 2021
51e3fe8
Merge pull request #41 from krekas/validation-for-custom-webhook-url
Cannonb4ll Oct 3, 2021
5d13121
Fix columns
Cannonb4ll Oct 3, 2021
c179436
Added option to disable registration.
ricklambrechts Oct 3, 2021
644d1c9
Use form requests
krekas Oct 3, 2021
37c4909
Merge pull request #42 from ricklambrechts/master
Cannonb4ll Oct 3, 2021
c7d89c1
Merge pull request #43 from krekas/form-requests
Cannonb4ll Oct 3, 2021
05501b2
Fixed link behind Installation breadcrumb.
ricklambrechts Oct 3, 2021
245922d
Fixed link behind Exception name breadcrumb.
ricklambrechts Oct 3, 2021
08edf9c
Merge pull request #44 from ricklambrechts/master
Cannonb4ll Oct 4, 2021
85592a6
Added headless ui package.
ricklambrechts Oct 4, 2021
1e99290
Added notifications_disabled field to Project.
ricklambrechts Oct 4, 2021
fc95852
Updated project create and edit views to show notifications toggle.
ricklambrechts Oct 4, 2021
2d52672
Updated project request and controller to handle notifications toggle.
ricklambrechts Oct 4, 2021
9ad7800
Updated Exception to only send notification when notifications are en…
ricklambrechts Oct 4, 2021
5f082f9
Updated MailExceptions command to only send notifications to projects…
ricklambrechts Oct 4, 2021
2a7dcfd
Merge branch 'LaraBug:master' into master
ricklambrechts Oct 4, 2021
3d028ae
Bug fix in created handler of Exception.
ricklambrechts Oct 4, 2021
c243925
Added test to validate that no notifications are sent when notificati…
ricklambrechts Oct 4, 2021
0431513
Removed headless ui.
ricklambrechts Oct 4, 2021
9a7ffc4
Updated migrations file to have notification fields.
ricklambrechts Oct 4, 2021
360a663
Added extra enabled fields on Project.
ricklambrechts Oct 4, 2021
16cc875
Updated layout of project create and edit pages.
ricklambrechts Oct 4, 2021
c99ebc4
Show project title on dashboard page in panel
krekas Oct 4, 2021
b8a9026
Merge pull request #46 from krekas/projects-title-in-dashboard
Cannonb4ll Oct 5, 2021
c14088d
Merge pull request #45 from ricklambrechts/master
Cannonb4ll Oct 5, 2021
3fe4897
Added project title to exception resource
SebastiaanKloos Oct 5, 2021
38e7cb2
Merge pull request #47 from LaraBug/add-project-title-to-exception-re…
SebastiaanKloos Oct 5, 2021
40cc694
Disable button when submitting
krekas Oct 5, 2021
170f74d
Merge pull request #48 from krekas/disabled-button
Cannonb4ll Oct 5, 2021
89f8d0a
wip
Cannonb4ll Oct 5, 2021
ee94d7f
Add request validation for api project creation
Cannonb4ll Oct 5, 2021
437eb49
Run PSR formatter and fixed php cs fixer
Cannonb4ll Oct 5, 2021
179f7a5
Added a toolbar to the exceptions details page
SebastiaanKloos Oct 6, 2021
1466acd
Removed stale code
SebastiaanKloos Oct 7, 2021
81c4c8e
Merge pull request #49 from LaraBug/feature/toolbar-for-buttons
Cannonb4ll Oct 7, 2021
324ce23
Only show bullet when type is js
SebastiaanKloos Oct 7, 2021
e535ffa
Merge pull request #51 from LaraBug/feature/only-show-bullet-on-dashb…
Cannonb4ll Oct 7, 2021
9aa5bcc
Added commit to enable webhooks if url is not empty.
ricklambrechts Oct 7, 2021
41c32cb
Merge pull request #52 from ricklambrechts/master
Cannonb4ll Oct 7, 2021
85010ea
WIP
SebastiaanKloos Oct 13, 2021
fb8858a
Merge branch 'master' into bugfixing-and-tweaks
Cannonb4ll Oct 13, 2021
df3a9bd
Merge pull request #54 from LaraBug/bugfixing-and-tweaks
Cannonb4ll Oct 13, 2021
09c5732
Fix
SebastiaanKloos Oct 14, 2021
a6165e7
Merge pull request #55 from LaraBug/feature/project-version
Cannonb4ll Oct 14, 2021
e5399f7
:rocket:
lloricode Oct 15, 2021
70b7580
:construction: Try to fix github action
lloricode Oct 15, 2021
c29583b
:construction: Remove --coverage
lloricode Oct 15, 2021
ca87aba
:anchor: Try to fix --coverage by adding xdebug mode
lloricode Oct 15, 2021
ef85b15
Revert ":anchor: Try to fix --coverage by adding xdebug mode"
lloricode Oct 15, 2021
6ba20c6
:books: Update readme
lloricode Oct 15, 2021
d31f05e
:white_check_mark: Use expect api
lloricode Oct 16, 2021
b3cb4f8
wip
Cannonb4ll Oct 29, 2021
45577f8
Merge pull request #60 from LaraBug/add-android
Cannonb4ll Oct 29, 2021
921b57e
update packages
Cannonb4ll Oct 29, 2021
5395980
Merge pull request #61 from LaraBug/update-packages
Cannonb4ll Oct 29, 2021
bb1cb96
improve rotating
Cannonb4ll Nov 6, 2021
37b002b
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Nov 6, 2021
b5af98c
psr
Cannonb4ll Nov 6, 2021
5ab9c44
WIP
SebastiaanKloos Nov 6, 2021
544cd82
Add is admin to columns
SebastiaanKloos Nov 6, 2021
06fe311
WIP
SebastiaanKloos Nov 6, 2021
87c9e73
Add function to check if a user has an ability or not
SebastiaanKloos Nov 6, 2021
6aa25f7
Dep updates
SebastiaanKloos Nov 6, 2021
7c6f6b1
Merge remote-tracking branch 'origin/feature/filament-statistics' int…
SebastiaanKloos Nov 6, 2021
2c1bc83
Fix for migration
SebastiaanKloos Nov 6, 2021
58773ff
Merge pull request #57 from lloricode/bugfix/pest-test-suites
Cannonb4ll Nov 9, 2021
7faf7e9
wip
Cannonb4ll Nov 9, 2021
f03ae1e
Merge branch 'master' into feature/improve-filament
Cannonb4ll Nov 9, 2021
64f5ceb
new lockfile
Cannonb4ll Nov 9, 2021
9cbbf01
Merge pull request #62 from LaraBug/feature/improve-filament
Cannonb4ll Nov 9, 2021
1df8c6c
wip
Cannonb4ll Nov 9, 2021
d13d2d6
wip
Cannonb4ll Nov 9, 2021
db2f4bc
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Nov 9, 2021
397bcfc
Smashed a bug 🐛
SebastiaanKloos Nov 9, 2021
f291bcf
Update TotalExceptions.php
SebastiaanKloos Nov 9, 2021
e7a5ebc
Update TotalUsers.php
SebastiaanKloos Nov 9, 2021
695e16b
Update TotalProjects.php
SebastiaanKloos Nov 9, 2021
e2e70c2
Upgrade Filament to v2
danharrin Dec 6, 2021
b09b5d5
Update to official release
danharrin Dec 7, 2021
abfc0de
Merge pull request #65 from danharrin/upgrade/filament-v2
Cannonb4ll Dec 7, 2021
3ec4cf3
Moved logout button
Glennmen Jan 2, 2022
a83cd31
Fix GitHub being cased incorrectly
stayallive Jan 20, 2022
40f24be
Merge pull request #67 from stayallive/fix-typos
Cannonb4ll Jan 21, 2022
fd2cdd8
Fixes #71
SebastiaanKloos Mar 1, 2022
08feb92
Fixes #69
SebastiaanKloos Mar 1, 2022
d0c7727
move button to the end (as destructive action)
Cannonb4ll Mar 1, 2022
2c136f2
No exclamation mark
Cannonb4ll Mar 1, 2022
ae2c60c
Merge pull request #72 from LaraBug/feature/ui-enhancements
Cannonb4ll Mar 1, 2022
bda7b67
Finished glenns job
Cannonb4ll Mar 1, 2022
2be6eb4
Merge pull request #66 from LaraBug/improvement/move-logout
Cannonb4ll Mar 1, 2022
b93a7b6
Laravel 9 upgrade
Cannonb4ll Mar 1, 2022
82611b7
Cleaning
Cannonb4ll Mar 1, 2022
2f4f0d2
Add line for @Glennmen
Cannonb4ll Mar 1, 2022
3085130
Design updates
Cannonb4ll Mar 1, 2022
c6a8ced
ohdear
Cannonb4ll Mar 1, 2022
ecb753a
wip
Cannonb4ll Mar 1, 2022
2d60568
TW 3.0 & Ploi link
Cannonb4ll Mar 1, 2022
85a7172
Closes #70, #74
Cannonb4ll Mar 8, 2022
2d3ac19
PHP 8.1
Cannonb4ll Mar 8, 2022
77672cf
wip
Cannonb4ll Mar 8, 2022
f77a6c9
what’s wrong with my eyes
Cannonb4ll Mar 8, 2022
2c14ad7
Ploi’s horizon support
Cannonb4ll Mar 8, 2022
0fa64d8
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Mar 8, 2022
e1a1851
config fix
Cannonb4ll Mar 8, 2022
d199fbe
Email verification
Cannonb4ll Mar 23, 2022
559198c
optinal middleware here
Cannonb4ll Mar 23, 2022
66e8517
Fixes #75
Cannonb4ll Mar 23, 2022
88bfed8
Check if user is verified via log api
Cannonb4ll Apr 1, 2022
30993d2
Fix tests :)
Cannonb4ll Apr 1, 2022
ae8de7d
Removed the feedback section as it’s panel is also missing
SebastiaanKloos Apr 6, 2022
6c5e289
WIP
SebastiaanKloos Apr 6, 2022
a35bc93
Fix
SebastiaanKloos Apr 6, 2022
8e6ee5a
WIP
SebastiaanKloos Apr 6, 2022
ca50f83
WIP
SebastiaanKloos Apr 6, 2022
ef7bd12
FIx
SebastiaanKloos Apr 6, 2022
b3e4654
IP
SebastiaanKloos Apr 6, 2022
5a590e6
Merge pull request #78 from LaraBug/feature/only-show-feedback-when-e…
Cannonb4ll Apr 7, 2022
be51f68
Updated filament and turned off the collapsible sidebar
SebastiaanKloos Apr 7, 2022
9f49a76
WIP
SebastiaanKloos Apr 7, 2022
8e57ed9
Merge pull request #80 from LaraBug/features/filament-improvements
Cannonb4ll Apr 9, 2022
b48e9b1
Authentication tests
lewislarsen May 22, 2022
3da8414
Merge pull request #81 from LewisLarsen/tests
Cannonb4ll May 23, 2022
12d7f82
Fixed ExceptionLayout sidebar to be sticky
Wulfheart Jun 10, 2022
8f32b4e
Fixed to use tailwind class instead of arbitrary pixel value
Wulfheart Jun 10, 2022
9625b2a
Merge pull request #89 from Wulfheart/fix/sidebar
Cannonb4ll Jun 14, 2022
505433f
wip
SebastiaanKloos Jun 23, 2022
9ad2c99
wip
SebastiaanKloos Jun 23, 2022
d64c1be
wip
SebastiaanKloos Jun 23, 2022
4e718bb
wip
SebastiaanKloos Jun 23, 2022
7b22071
Merge remote-tracking branch 'origin/master' into feature/preparing-i…
SebastiaanKloos Jun 23, 2022
abe5f52
issue nav icon for exception layout
SebastiaanKloos Jun 24, 2022
91dc7f4
view issue button
SebastiaanKloos Jun 24, 2022
f803c92
update issue status based on exception status changes
SebastiaanKloos Jun 24, 2022
7a19063
sync statusses
SebastiaanKloos Jun 24, 2022
bd801a5
added notifications for issue status changes
SebastiaanKloos Jun 24, 2022
8d00898
upgraded required PHP version
SebastiaanKloos Jun 24, 2022
1c50326
fixed
SebastiaanKloos Jun 24, 2022
2e4cd2e
Merge pull request #90 from LaraBug/feature/preparing-issues
Cannonb4ll Jun 24, 2022
8f7eb3d
fix readme
Cannonb4ll Jun 24, 2022
33dbd5d
fix
SebastiaanKloos Jun 24, 2022
56770ff
fix
SebastiaanKloos Jun 24, 2022
1e44350
update
SebastiaanKloos Jun 24, 2022
f0ffdd2
tst
Cannonb4ll Jun 24, 2022
8d2dddb
tst
Cannonb4ll Jun 24, 2022
cd973d3
revert
Cannonb4ll Jun 24, 2022
bbde6b7
f
Cannonb4ll Jun 24, 2022
212cdbc
fx
Cannonb4ll Jun 24, 2022
86f03b5
fx
Cannonb4ll Jun 24, 2022
0da58fb
w
Cannonb4ll Jun 24, 2022
2c965c8
Improve horizon
Cannonb4ll Jun 27, 2022
2583258
Merge branch 'master' of https://github.com/LaraBug/larabug-app
Cannonb4ll Jun 27, 2022
b07c394
w
Cannonb4ll Jun 27, 2022
3b87ed0
fix
Cannonb4ll Jun 27, 2022
25c2b0f
removes stale blade files
imanghafoori1 Jun 27, 2022
6fac0e2
remove nova files
imanghafoori1 Jun 29, 2022
b182df1
Merge pull request #94 from imanghafoori1/remove_nova_config
SebastiaanKloos Jun 29, 2022
10478f4
remove nova related blade files
imanghafoori1 Jun 29, 2022
2553c09
Merge pull request #95 from imanghafoori1/remove_nova_blade
SebastiaanKloos Jun 29, 2022
3dff852
call query method in eloquent queries
imanghafoori1 Jun 30, 2022
28bcc0f
Merge pull request #96 from imanghafoori1/query
SebastiaanKloos Jun 30, 2022
310d9b4
Merge pull request #93 from imanghafoori1/remove_dead_code
Cannonb4ll Jul 1, 2022
52cf5ea
fix deprecation of php 8.1
imanghafoori1 Jul 1, 2022
9236ea7
change cs fixer rules
imanghafoori1 Jul 1, 2022
b9b51b6
fix
Cannonb4ll Jul 7, 2022
ecdfe64
Merge pull request #97 from imanghafoori1/fix_deprication
Cannonb4ll Jul 8, 2022
12f23fd
remove groupController
imanghafoori1 Jul 9, 2022
c2db885
fix project routes
imanghafoori1 Jul 9, 2022
6085012
remove contact us stuff
imanghafoori1 Jul 9, 2022
d53ba16
enhamce helpers
imanghafoori1 Jul 9, 2022
2308ee9
Merge pull request #100 from imanghafoori1/group_ctrl
Cannonb4ll Jul 10, 2022
a22f82a
Merge pull request #101 from imanghafoori1/project_routes
Cannonb4ll Jul 10, 2022
e033c84
Merge pull request #102 from imanghafoori1/remove_contact
Cannonb4ll Jul 10, 2022
0dd650b
Merge pull request #103 from imanghafoori1/helpers
Cannonb4ll Jul 10, 2022
3fb299a
use named constants for http status codes
imanghafoori1 Jul 10, 2022
bbc34fa
Merge pull request #104 from imanghafoori1/http_status
Cannonb4ll Jul 12, 2022
8ba7576
Merge pull request #98 from imanghafoori1/cs_fixer
Cannonb4ll Jul 12, 2022
4fb84b4
Fix PostgreSQL supports
balthild Jul 14, 2022
5ab370d
Merge pull request #108 from balthild/patch-1
Cannonb4ll Jul 27, 2022
1178309
required updates
Cannonb4ll Aug 15, 2022
fe91e10
fx
Cannonb4ll Aug 15, 2022
7efc19a
fixes
Cannonb4ll Aug 15, 2022
f247077
wip
Cannonb4ll Aug 15, 2022
57e5c9c
Added Docker
Glennmen Oct 22, 2022
dd31339
Fixed github action error
Glennmen Oct 22, 2022
4a7f32e
Install doctrine/dbal
Glennmen Oct 22, 2022
1dc98d3
Made composer validate a little less strict on version constraints
Glennmen Oct 22, 2022
00347e7
Merge pull request #111 from Glennmen/docker-support
Cannonb4ll Oct 23, 2022
9653ba1
Merge pull request #112 from Glennmen/fix-pest-tests
Cannonb4ll Oct 23, 2022
67b5306
Added phpmyadmin to docker
Glennmen Oct 29, 2022
f608eab
Merge pull request #113 from Glennmen/docker-phpmyadmin
Cannonb4ll Oct 30, 2022
da232cc
use json for body data
lpheller Nov 1, 2022
a536dba
Merge pull request #115 from lpheller/patch-1
Cannonb4ll Nov 2, 2022
1424b38
Should email exceptions
Cannonb4ll Nov 23, 2022
1fc38b0
Rename phpunit.xml to phpunit.xml.dist
imanghafoori1 Feb 16, 2023
f4cb960
ignore phpunit.xml
imanghafoori1 Feb 16, 2023
2637b6d
Merge pull request #116 from imanghafoori1/patch-1
Cannonb4ll Feb 23, 2023
337bcf9
Upgrade & new sponsor
Cannonb4ll Jun 6, 2023
2fcff20
Upgrade action
Cannonb4ll Jun 6, 2023
e5a996b
Update readme
Cannonb4ll Jun 6, 2023
b304eca
fileprem
voxsar Jan 27, 2026
cd32b0b
Bump the npm_and_yarn group across 1 directory with 18 updates
dependabot[bot] Jan 27, 2026
57c99bb
Refactor exception handling and update documentation for unlimited re…
voxsar Jan 27, 2026
02d2779
Merge pull request #8 from artslabcreatives/dependabot/npm_and_yarn/n…
voxsar Jan 27, 2026
9396fbf
Bump the npm_and_yarn group across 1 directory with 5 updates
dependabot[bot] Jan 27, 2026
251f57d
Merge pull request #9 from artslabcreatives/dependabot/npm_and_yarn/n…
voxsar Jan 27, 2026
5381bdc
Bump the composer group across 1 directory with 9 updates
dependabot[bot] Jan 27, 2026
7f67d05
Merge pull request #10 from artslabcreatives/dependabot/composer/comp…
voxsar Jan 27, 2026
9b92bd9
Fix: Provide default values for LB_KEY and LB_PROJECT_KEY in larabug …
voxsar Jan 27, 2026
6f14959
D
voxsar Jan 27, 2026
4e2c620
Implement feature X to enhance user experience and optimize performance
voxsar Jan 27, 2026
8275238
updated js
voxsar Jan 27, 2026
b520e5a
chore: update build assets and project dependencies
janaka99 Jun 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 13 additions & 6 deletions .babelrc
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"plugins": [
"@babel/plugin-proposal-class-properties",
["prismjs", {
"languages": ["php"],
"plugins": ["line-numbers", "line-highlight"],
"css": true
}]
[
"prismjs",
{
"languages": [
"php"
],
"plugins": [
"line-numbers",
"line-highlight"
],
"css": true
}
]
]
}
10 changes: 8 additions & 2 deletions .env.example
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
MINIMAL_FRONTEND=false
SHOULD_EMAIL_EXCEPTIONS=true

CASHIER_MODEL=App\Models\User

Expand Down Expand Up @@ -39,7 +41,7 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_MAILER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
Expand All @@ -58,4 +60,8 @@ GITHUB_CALLBACK=${APP_URL}/login/github/callback
STRIPE_KEY=your-stripe-key
STRIPE_SECRET=your-stripe-secret
STRIPE_STARTER_ID=
STRIPE_UNLIMITED_ID=
STRIPE_UNLIMITED_ID=

AUTH_REGISTER_ENABLED=true

HORIZON_TOKEN=
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .github/CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified .github/FUNDING.yml
100644 → 100755
Empty file.
45 changes: 45 additions & 0 deletions .github/workflows/php_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: PHP Composer

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
php: ['8.2']

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Validate composer.json and composer.lock
run: composer validate --no-check-all --strict

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Generate key
run: php artisan key:generate

- name: Run npm install
run: npm install

- name: Run npm run prod
run: npm run prod

- name: Run test suite
run: ./vendor/bin/pest
19 changes: 13 additions & 6 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/node_modules
/public/storage
/vendor
/.idea
Homestead.json
Expand All @@ -12,8 +11,16 @@ _ide_helper.php
.phpstorm.meta.php
.php_cs.cache
public/sitemap.xml
<<<<<<< HEAD
.php_cs.cache
=======
/public/js/resources*.js
>>>>>>> b5617108e7b7382948c366d400d81f1d6174b096
/public/storage
.phpunit.result.cache
phpunit.xml
.php-cs-fixer.cache

# Ignore compiled frontend code
/public/css/*.css
/public/js/*.js
/public/mix-manifest.json
rr
.rr.yaml

/docker/db-data
162 changes: 162 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
<?php

// updated at 2022/07/02 july-2th version.
// https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

$rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => ['=>' => null],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
'blank_line_before_statement' => [
'statements' => ['return'],
],
'braces' => true,
'cast_spaces' => true,
'class_attributes_separation' => [
'elements' => [
'const' => 'one',
'method' => 'one',
'property' => 'one',
'trait_import' => 'none',
],
],
'class_definition' => [
'multi_line_extends_each_single_line' => true,
'single_item_single_line' => true,
'single_line' => true,
],
'concat_space' => [
'spacing' => 'none',
],
'constant_case' => ['case' => 'lower'],
'declare_equal_normalize' => true,
'elseif' => true,
'encoding' => true,
'full_opening_tag' => true,
'fully_qualified_strict_types' => true, // added by Shift
'function_declaration' => true,
'function_typehint_space' => true,
'general_phpdoc_tag_rename' => true,
'heredoc_to_nowdoc' => true,
'include' => true,
'increment_style' => ['style' => 'post'],
'indentation_type' => true,
'linebreak_after_opening_tag' => true,
'line_ending' => true,
'lowercase_cast' => true,
'lowercase_keywords' => true,
'lowercase_static_reference' => true, // added from Symfony
'magic_method_casing' => true, // added from Symfony
'magic_constant_casing' => true,
'method_argument_space' => [
'on_multiline' => 'ignore',
],
'multiline_whitespace_before_semicolons' => [
'strategy' => 'no_multi_line',
],
'native_function_casing' => true,
'no_alias_functions' => true,
'no_extra_blank_lines' => [
'tokens' => [
'extra',
'throw',
'use',
],
],
'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true,
'no_closing_tag' => true,
'no_empty_phpdoc' => true,
'no_empty_statement' => true,
'no_leading_import_slash' => true,
'no_leading_namespace_whitespace' => true,
'no_mixed_echo_print' => [
'use' => 'echo',
],
'no_multiline_whitespace_around_double_arrow' => true,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => [
'positions' => ['inside', 'outside'],
],
'no_spaces_inside_parenthesis' => true,
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_unneeded_control_parentheses' => [
'statements' => ['break', 'clone', 'continue', 'echo_print', 'return', 'switch_case', 'yield'],
],
'no_unreachable_default_argument_value' => true,
'no_useless_return' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'normalize_index_brace' => true,
'not_operator_with_successor_space' => true,
'object_operator_without_whitespace' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha'],
'psr_autoloading' => true,
'phpdoc_indent' => true,
'phpdoc_inline_tag_normalizer' => true,
'phpdoc_no_access' => true,
'phpdoc_no_package' => true,
'phpdoc_no_useless_inheritdoc' => true,
'phpdoc_scalar' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => false,
'phpdoc_to_comment' => false, // override to preserve user preference
'phpdoc_tag_type' => true,
'phpdoc_trim' => true,
'phpdoc_types' => true,
'phpdoc_var_without_name' => true,
'self_accessor' => true,
'short_scalar_cast' => true,
'simplified_null_return' => false, // disabled as "risky"
'single_blank_line_at_eof' => true,
'single_blank_line_before_namespace' => true,
'single_class_element_per_statement' => [
'elements' => ['const', 'property'],
],
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_style' => [
'comment_types' => ['hash'],
],
'single_quote' => true,
'space_after_semicolon' => true,
'standardize_not_equals' => true,
'switch_case_semicolon_to_colon' => true,
'switch_case_space' => true,
'ternary_operator_spaces' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => ['method', 'property'],
],
'whitespace_after_comma_in_array' => true,
'no_unused_imports' => true,
];


$finder = Symfony\Component\Finder\Finder::create()
->notPath('vendor')
->notPath('bootstrap')
->notPath('storage')
->notPath('nova')
->in(__DIR__)
->name('*.php')
->ignoreVCS(true)
->ignoreDotFiles(true)
->notName('*.blade.php');

return (new PhpCsFixer\Config)
->setRiskyAllowed(true)
->setRules($rules)
->setFinder($finder);
19 changes: 0 additions & 19 deletions .php_cs

This file was deleted.

Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
29 changes: 26 additions & 3 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository contains the actual code on https://www.larabug.com

## Requirements

* PHP >= 7.3
* PHP 8.2 or higher
* Git
* Composer
* MySQL (>=5.7) or PostgreSQL (>=9.4)
Expand All @@ -29,16 +29,39 @@ Configure your database in the `.env` file and then run:
php artisan migrate
```

###Docker

### Getting up and running...

Go into the docker folder and run:
`docker-compose up -d --build`

Set your database .env variables:
```
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=larbug
DB_USERNAME=root
DB_PASSWORD=secret
```

Running artisan commands:

`docker exec -it larabug php artisan <command>`

The Application will be running on `localhost:1337` and PhpMyAdmin is running on `localhost:8010`

## Important to know

This project is created by me [back in 2016](https://laraveldaily.com/dennis-larabug-growing-faster-imagine/), it is very old, and the code doesn't even look remotely to what I code now. The point here
is that there are no tests, and some stuff might look cumbersome. You're more than welcome to clean code
is that there are no tests, and some stuff might look cumbersome, however the code works beautifully and like intented. You're more than welcome to clean code
and generalize stuff better.

## Testing

```bash
composer test
./vendor/bin/pest
```

## Changelog
Expand Down
Empty file modified app/Console/Commands/CheckExpiredPlans.php
100644 → 100755
Empty file.
Empty file modified app/Console/Commands/CheckExpiredTrials.php
100644 → 100755
Empty file.
Empty file modified app/Console/Commands/GenerateSitemap.php
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion app/Console/Commands/MailExceptions.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ class MailExceptions extends Command

public function handle()
{
$users = User::where('receive_email', true)
$users = User::query()->where('receive_email', true)
->whereHas('projects', function ($query) {
return $query
->where('notifications_enabled', true)
->where('receive_email', true)
->whereHas('exceptions', function ($query) {
return $query->where('mailed', false);
Expand All @@ -27,6 +28,7 @@ public function handle()
->with(['projects' => function ($query) {
return $query
->select('id', 'title')
->where('notifications_enabled', true)
->where('receive_email', true)
->whereHas('exceptions', function ($query) {
return $query->where('mailed', false);
Expand Down
Loading