Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
d304628
MeasurementController - Revert feature clean weight
pvgennip Apr 10, 2026
85b0036
MeasurementController - Enable net_weight_kg only
pvgennip Apr 10, 2026
cc3a0ea
MeasurementController - measurements do not force recalculate sensor …
pvgennip Apr 10, 2026
8899b4e
MeasurementController - Measurement disable clean_weight
pvgennip Apr 10, 2026
b545920
MeasurementController - measurements only recalculate calibrations if on
pvgennip Apr 10, 2026
6398716
Update MeasurementController.php
pvgennip Apr 10, 2026
8a728ff
Revert "Update MeasurementController.php"
pvgennip Apr 10, 2026
376a30d
MeasurementController - Add debug log
pvgennip Apr 10, 2026
d677cae
Update MeasurementController.php
pvgennip Apr 10, 2026
baf25ff
Update MeasurementController.php
pvgennip Apr 10, 2026
c756630
Device - Fix sensor definition if changed
pvgennip Apr 10, 2026
79842d0
MeasurementController - Enable clean_weight again
pvgennip Apr 10, 2026
a606a7e
Apply Laravel coding style
laravel-shift May 26, 2026
94c8dab
Convert string references to `::class`
laravel-shift May 26, 2026
13f1214
Shift core files
laravel-shift May 26, 2026
92389b4
Use generic `Throwable` type hint
laravel-shift May 26, 2026
926b0f3
Add laravel/ui dependency
laravel-shift May 26, 2026
9a9351c
Unindent vendor mail templates
laravel-shift May 26, 2026
131c219
Shift config files
laravel-shift May 26, 2026
1e91231
Default config files
laravel-shift May 26, 2026
82b0379
Bump Composer dependencies
laravel-shift May 26, 2026
8d5ea26
Shift cleanup
laravel-shift May 26, 2026
e8ba282
Add framework testing folder to storage
laravel-shift May 26, 2026
8c3114c
herd.yml
JuliaBD May 26, 2026
c6ddee0
Merge branch 'master' into shift-137373
JuliaBD May 26, 2026
18aae7f
attempt fix influxdb 500 error for Device.php
JuliaBD May 28, 2026
a9e9c81
attempt fix influxdb 500 error for Device.php - via HCS code
JuliaBD May 28, 2026
69933c1
change tray-labs/laravel-influxdb version to 1.0.12
JuliaBD May 28, 2026
df89416
change Influx to InfluxDB (via HCS code)
JuliaBD May 28, 2026
53cb6ea
Apply Laravel coding style
laravel-shift May 28, 2026
f7d4a7a
Shift core files
laravel-shift May 28, 2026
957ce1e
Shift exception handler
laravel-shift May 28, 2026
0a7fa8d
Shift HTTP kernel and middleware
laravel-shift May 28, 2026
f13bce6
Replace deprecated `HEADER_X_FORWARDED_ALL` constant
laravel-shift May 28, 2026
b073c73
Shift service providers
laravel-shift May 28, 2026
4fb3b03
Convert route options to fluent methods
laravel-shift May 28, 2026
aa42de4
Adopt class based routes
laravel-shift May 28, 2026
5c8b1bd
Shift console routes
laravel-shift May 28, 2026
790267a
Ignore temporary framework files
laravel-shift May 28, 2026
7a4e4a5
Shift to class based factories
laravel-shift May 28, 2026
464108f
Namespace seeders
laravel-shift May 28, 2026
4c00121
PSR-4 autoload database factories and seeders
laravel-shift May 28, 2026
ec3b486
Shift config files
laravel-shift May 28, 2026
ebcb5c1
Default config files
laravel-shift May 28, 2026
b986353
Bump Composer dependencies
laravel-shift May 28, 2026
4fc13d8
Shift cleanup
laravel-shift May 28, 2026
b72b793
Merge pull request #210 from beepnl/shift-174902
JuliaBD May 28, 2026
d2d2105
update composer.lock & phpunit.xml for Laravel v8.x
JuliaBD May 28, 2026
1f8d5a6
restore token driver + replace iatstuti/laravel-cascade-soft-deletes …
JuliaBD May 28, 2026
5bdc0f6
Move `resources/lang` folder
laravel-shift May 28, 2026
7528224
Shift registered middleware
laravel-shift May 28, 2026
8fcf24b
Remove `fruitcake/laravel-cors` dependency
laravel-shift May 28, 2026
e74424c
Streamline `$commands` property
laravel-shift May 28, 2026
4de094e
Upgrade to Flysystem 3.0
laravel-shift May 28, 2026
e022b71
Shift core files
laravel-shift May 28, 2026
1e3b5ae
Convert `optional()` to nullsafe operator
laravel-shift May 28, 2026
a469308
Use Faker methods
laravel-shift May 28, 2026
9a1f343
Shift config files
laravel-shift May 28, 2026
ae89ddc
Default config files
laravel-shift May 28, 2026
39ee269
Bump Composer dependencies
laravel-shift May 28, 2026
828be6c
Use `<env>` tags for configuration
laravel-shift May 28, 2026
b045d26
Adopt anonymous migrations
laravel-shift May 28, 2026
342418e
Shift cleanup
laravel-shift May 28, 2026
8935952
composer install with php upgraded to 8.0.30 in composer.json
JuliaBD Jun 1, 2026
7201a3a
Slim `lang` files
laravel-shift Jun 1, 2026
9934643
Remove explicit call to register policies
laravel-shift Jun 1, 2026
0deef5c
Shift core files
laravel-shift Jun 1, 2026
cd0b027
Shift config files
laravel-shift Jun 1, 2026
51e4298
Default config files
laravel-shift Jun 1, 2026
2fadbb7
Bump Composer dependencies
laravel-shift Jun 1, 2026
b0e6777
Rename `password_resets` table
laravel-shift Jun 1, 2026
7be28ca
Add type hints for Laravel 10
laravel-shift Jun 1, 2026
1a75ec4
Add type hints from DocBlocks
laravel-shift Jun 1, 2026
52fee5f
Remove redundant typing from DocBlocks
laravel-shift Jun 1, 2026
b0d0e50
Shift cleanup
laravel-shift Jun 1, 2026
051d837
php to 8.2 + mcamara/laravel-localization to 2.3.0 + cast DB::raw() e…
JuliaBD Jun 1, 2026
eb788e9
composer update
JuliaBD Jun 1, 2026
94924d1
Remove default `app` files
laravel-shift Jun 1, 2026
2a856c8
Shift core files
laravel-shift Jun 1, 2026
0ce9767
Streamline config files
laravel-shift Jun 1, 2026
6be51db
Set new `ENV` variables
laravel-shift Jun 1, 2026
dfaeaf1
Default new `bootstrap/app.php`
laravel-shift Jun 1, 2026
00c4694
Re-register HTTP middleware
laravel-shift Jun 1, 2026
c0f3fba
Consolidate service providers
laravel-shift Jun 1, 2026
a339f9b
Re-register service providers
laravel-shift Jun 1, 2026
98a56d8
Re-register routes
laravel-shift Jun 1, 2026
f98e9d7
Re-register scheduled commands
laravel-shift Jun 1, 2026
21be297
Bump Composer dependencies
laravel-shift Jun 1, 2026
949774c
Convert `$casts` property to method
laravel-shift Jun 1, 2026
9cffc4b
Mark base controller as `abstract`
laravel-shift Jun 1, 2026
06809b7
Shift cleanup
laravel-shift Jun 1, 2026
a27622c
Swap dependency
laravel-shift Jun 2, 2026
a1980cb
Convert `Form` facade
laravel-shift Jun 2, 2026
e14561f
update to laratrust 8.x + add providers to auth.php + install influxd…
JuliaBD Jun 2, 2026
e3b267d
fix GET groups 500 error - remove BelongsToMany return type
JuliaBD Jun 2, 2026
57868e8
Apply Laravel coding style
laravel-shift Jun 2, 2026
434f6b3
Shift core files
laravel-shift Jun 2, 2026
33287f3
Validate via object directly within Controllers
laravel-shift Jun 2, 2026
83efeef
Use `Gate` facade for controller authorization
laravel-shift Jun 2, 2026
00e4152
Modernize controller middleware
laravel-shift Jun 2, 2026
6a67ffa
Dispatch jobs directly
laravel-shift Jun 2, 2026
f8d5d2b
Remove base controller inheritance
laravel-shift Jun 2, 2026
c28070c
Default config files
laravel-shift Jun 2, 2026
5e6ae1e
Shift `ENV` variables
laravel-shift Jun 2, 2026
00c572e
Add Laravel `composer run` scripts
laravel-shift Jun 2, 2026
3bbba89
Add `storage/app/private` folder
laravel-shift Jun 2, 2026
afaf085
Bump Composer dependencies
laravel-shift Jun 2, 2026
075e31b
Adopt Laravel type hints
laravel-shift Jun 2, 2026
44d09f9
Shift cleanup
laravel-shift Jun 2, 2026
ce238e0
migrate knuckleswtf/scribe to v5 (+move from require-dev to require d…
JuliaBD Jun 2, 2026
2bec4dd
Ignore PHPUnit cache folder
laravel-shift Jun 2, 2026
ee2b01a
Define test classes as `final`
laravel-shift Jun 2, 2026
56c31d4
auto-upgrade config file phpunit
JuliaBD Jun 2, 2026
dbc7a6b
fix assets url (AWS_URL) by adding /
JuliaBD Jun 2, 2026
d3fa1a1
Merge branch 'shift-175164-PHPunit' into shift-175158-Laravel-12
JuliaBD Jun 2, 2026
8c06102
Shift core files
laravel-shift Jun 2, 2026
bd3ec47
Adopt PHP attributes for class properties
laravel-shift Jun 2, 2026
4f99772
Refactor deprecated request access
laravel-shift Jun 2, 2026
3bc7aa0
Bump Composer dependencies
laravel-shift Jun 2, 2026
246b2b7
Rename Bootstrap 3 pagination templates
laravel-shift Jun 2, 2026
81b652d
Default core files
laravel-shift Jun 2, 2026
5412da3
Shift cleanup
laravel-shift Jun 2, 2026
e48bdaa
Removed incompatible appzcoder/crud-generator but composer install fa…
JuliaBD Jun 2, 2026
7d56add
composer update
JuliaBD Jun 2, 2026
2baf568
remove crud-generator functionality as not really needed + not compat…
JuliaBD Jun 4, 2026
46c61a2
upgrade jquery to 3.0.0 to fix console errors + fix font awesome icon…
JuliaBD Jun 4, 2026
1d781f1
bug fix - add prefix to api routes to prevent collisions with web routes
JuliaBD Jun 4, 2026
a041c25
Merge branch 'shift-175166-Laravel-13' into shift-137373
JuliaBD Jun 4, 2026
f46df49
Bump PHPUnit dependencies
laravel-shift Jun 4, 2026
9562b4b
composer update
JuliaBD Jun 4, 2026
2917c8e
fix scribe v5 documentation in /docs (auth required)
JuliaBD Jun 4, 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
  •  
  •  
  •  
24 changes: 18 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,22 @@ APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_NAME=BEEP

APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database
# PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=12
APP_LOCALE=en

BETA=false
ALLOWED_ORIGINS="*"

LOG_CHANNEL=stack
WEBHOOK_URL=
LOG_STACK=single
LOG_SLACK_WEBHOOK_URL=

DB_CONNECTION=mysql
DB_HOST=mysql
Expand All @@ -33,11 +42,14 @@ INFLUXDB_UDP_PORT=4444
INFLUXDB_DBNAME=bee_data
INFLUXDB_PASSWORD=pass_influx

BROADCAST_DRIVER=log
CACHE_DRIVER=redis
BROADCAST_CONNECTION=log
CACHE_STORE=redis
QUEUE_CONNECTION=sync
SESSION_DRIVER=redis
SESSION_LIFETIME=126
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_CONNECTION=default

MEMCACHED_HOST=127.0.0.1
Expand All @@ -52,12 +64,12 @@ REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
MAIL_SCHEME=null

PUSHER_APP_ID=
PUSHER_KEY=
Expand All @@ -81,7 +93,7 @@ AWS_ACCESS_KEY_ID=null
AWS_SECRET_ACCESS_KEY=null
AWS_DEFAULT_REGION=eu-central-1
AWS_BUCKET=null
AWS_URL=https://assets.beep.nl
AWS_URL=https://assets.beep.nl/

IMAGE_STORAGE=public
IMAGE_RESIZE_PIXELS=2000
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.log

/vendor
!resources/views/vendor/
Expand All @@ -24,7 +25,7 @@ Homestead.json
Homestead.yaml
.env
.env.docs
.phpunit.result.cache
/.phpunit.cache
.DS_Store
.phpintel
.log
Expand All @@ -33,8 +34,10 @@ Homestead.yaml
npm-debug.log
yarn-error.log
/.idea
/.nova
/.vscode
/.vagrant

/node_modules
dump.rdb
/storage/pail
11 changes: 5 additions & 6 deletions app/BeeRace.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

namespace App;

use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Attributes\Guarded;
use Illuminate\Database\Eloquent\Model;

class BeeRace extends Model
{
protected $fillable = ['name', 'type', 'synonyms', 'continents'];
protected $guarded = ['id'];

}
#[Fillable('name', 'type', 'synonyms', 'continents')]
#[Guarded('id')]
class BeeRace extends Model {}
Loading