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

Merge V4 #92

Merged
merged 171 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
8490b88
Use psr-4 directory structure
sampoyigi May 18, 2022
7105b83
wip
sampoyigi May 26, 2022
16b2043
Directory structure the laravel way
sampoyigi May 28, 2022
543802d
wip
sampoyigi Jun 7, 2022
aa201e7
wip
sampoyigi Jun 11, 2022
f824a89
wip
sampoyigi Jun 12, 2022
5c4e173
wip
sampoyigi Nov 22, 2022
0f945f6
wip
sampoyigi Nov 23, 2022
3f584ba
Remove redundant controller view files
sampoyigi Nov 26, 2022
143c503
Change composer package type
sampoyigi Nov 26, 2022
b075bc9
Move database migrations files from src/Database/Migrations/ and into…
sampoyigi Nov 26, 2022
fceb963
Remove namespace on database migrations
sampoyigi Nov 27, 2022
5409e8a
Revert: Merge menu item options database tables
sampoyigi Nov 28, 2022
bdfd916
Remove flame library dependency
sampoyigi Feb 19, 2023
c389fcd
Bring reviews chart from core
sampoyigi Feb 20, 2023
c59ec22
Revert replacing @partial to @themePartial in mail templates
sampoyigi Mar 4, 2023
d44f897
Add phpstan pest and pint
sampoyigi Apr 25, 2023
fe55e54
PHP Linting (Pint) - Fix styling
sampoyigi Apr 25, 2023
df40d3e
Fix errors from merge conflicts
sampoyigi Apr 25, 2023
19c77c2
Fix errors from merge conflicts
sampoyigi Apr 25, 2023
56f62fe
PHP Linting (Pint) - Fix styling
sampoyigi Apr 25, 2023
b2b3664
Fix errors from merge conflicts
sampoyigi Apr 25, 2023
4bd3100
Minor fix
sampoyigi Apr 27, 2023
e28cfbd
Use composer scripts to format code, execute tests, to execute static…
sampoyigi May 3, 2023
4b3d10d
Fix tests, update phpstan-baseline.neon file with new error messages.
sampoyigi May 7, 2023
fda50bc
Add Request suffix to all request classes
sampoyigi May 20, 2023
3871d3c
Refactor to use whereIsEnabled instead of isEnabled and add Switchabl…
sampoyigi Jun 10, 2023
5edcafc
Refactor to use new Query Modifier
sampoyigi Jun 10, 2023
b31208a
Refactor to use new Defaultable methods
sampoyigi Jun 10, 2023
ecb512b
Refactor to use migrated classes and logic from core
sampoyigi Jun 12, 2023
ff28c8e
Fix phpstan errors
sampoyigi Jun 12, 2023
c36aaf8
Added new LocationPicker main menu widget
sampoyigi Jun 30, 2023
706412e
Remove redundant locations filter scope to use location picker instead
sampoyigi Jul 1, 2023
79f9294
Refactor location options as registered location settings
sampoyigi Jul 3, 2023
c937a18
Move order type logic into cart extension
sampoyigi Jul 4, 2023
5e65507
Refactor More... location form tab
sampoyigi Jul 4, 2023
df6f98f
Remove AdminLocation and use Location class instead.
sampoyigi Jul 5, 2023
329e151
Minor refactor
sampoyigi Jul 8, 2023
54ba2d3
PHP Linting (Pint) - Fix styling
sampoyigi Jul 8, 2023
f84ce90
Fix phpstan errors
sampoyigi Jul 8, 2023
3f34d8c
Refactor CheckLocation middleware to set $location to null when there…
sampoyigi Jul 15, 2023
58ac554
PHP Linting (Pint) - Fix styling
sampoyigi Jul 15, 2023
3ed1bb8
Refactor delivery and collection logic in Location.php.
sampoyigi Jul 15, 2023
37117f1
Refactored CSS code, classes, template files to improve admin dashboa…
sampoyigi Jul 18, 2023
5ff98ff
Minor refactor
sampoyigi Jul 29, 2023
af50114
Refactor CSS and class attributes in various files to improve styling…
sampoyigi Jul 29, 2023
3bc5c59
Minor refactor
sampoyigi Jul 29, 2023
e12e2d1
PHP Linting (Pint) - Fix styling
sampoyigi Jul 29, 2023
98f9c3f
Refactored styles and class names to improve UI and functionality.
sampoyigi Jul 29, 2023
0909c77
Regroup permissions
sampoyigi Jul 29, 2023
0eb7a40
Avoid catching exceptions within Ajax handlers, use exception handler…
sampoyigi Jul 29, 2023
348781c
Improve back button to reduce code duplication and minor UI adjustments
sampoyigi Aug 1, 2023
c045e47
Fix phpstan errors
sampoyigi Aug 9, 2023
d559d32
Minor refactor
sampoyigi Sep 17, 2023
a845eca
PHP Linting (Pint) - Fix styling
sampoyigi Sep 17, 2023
0f5dd72
Minor refactor
sampoyigi Oct 19, 2023
80aa5f9
Fix phpstan errors
sampoyigi Oct 19, 2023
7750db9
Minor fix
sampoyigi Nov 21, 2023
956fd04
Update method to share review settings across all views
sampoyigi Dec 8, 2023
426906c
PHP Linting (Pint) - Fix styling
sampoyigi Dec 8, 2023
3718321
Use button instead of dropdown when in single location mode
sampoyigi Dec 9, 2023
f2755c2
Fix phpstan errors
sampoyigi Dec 9, 2023
1825a72
Add $showReviews as a shared view data
sampoyigi Dec 31, 2023
cacbdb3
Always include unassigned locationables
sampoyigi Jan 2, 2024
fcd13a3
PHP Linting (Pint) - Fix styling
sampoyigi Jan 2, 2024
655cea5
Move component classes, view files and language strings into orange t…
sampoyigi Jan 3, 2024
3fdc7da
Improve error handling
sampoyigi Jan 7, 2024
927ac14
Refactor code to use parameter, return type hints
sampoyigi Jan 14, 2024
5a66c46
PHP Linting (Pint) - Fix styling
sampoyigi Jan 14, 2024
d7df67c
Code refactor
sampoyigi Jan 14, 2024
d7d1f10
Add reservation extension as composer dep
sampoyigi Jan 14, 2024
9ac48da
Minor refactor
sampoyigi Jan 14, 2024
b3eb8b3
PHP Linting (Pint) - Fix styling
sampoyigi Jan 14, 2024
6d2a62b
Avoid static method when throwing exception for better trace log
sampoyigi Jan 18, 2024
2c7ec25
Refactor
sampoyigi Jan 19, 2024
bed4336
Refactor `Manager.php` to use optional chaining and null coalescing o…
sampoyigi Jan 20, 2024
0c332b7
Initialize model properties with null in ScheduleEditor and SettingsE…
sampoyigi Jan 26, 2024
ee333a5
Refactor
sampoyigi Feb 2, 2024
ba9b655
Merge branch 'master' into v4
sampoyigi Feb 4, 2024
187742e
Refactor
sampoyigi Feb 4, 2024
6e98b11
Revert build assets restructure
sampoyigi Feb 7, 2024
38b5cd8
Refactor code to use the allowReviews method in ReviewSettings for be…
sampoyigi Feb 8, 2024
afae0c8
PHP Linting (Pint) - Fix styling
sampoyigi Feb 8, 2024
1560f98
Replace 'valid_time' validation rule with 'date_format:H:i' and 'vali…
sampoyigi Feb 9, 2024
e021900
Minor refactor
sampoyigi Feb 9, 2024
a92bb31
Set default days for ScheduleItem.php
sampoyigi Feb 10, 2024
d8d0934
Minor refactor
sampoyigi Feb 21, 2024
0173e7a
Update validation message for street address input, add reviews to Lo…
sampoyigi Feb 26, 2024
5a530a8
Fix phpstan errors
sampoyigi Feb 28, 2024
66dae2c
Simplify isset check for location_lat and location_lng in getAddress …
sampoyigi Feb 29, 2024
e7de86f
Update GitHub workflow settings and minor tweaks
sampoyigi Feb 29, 2024
6bc9fac
Remove unused js libraries
sampoyigi Mar 8, 2024
9c98552
Renamed @componentPartial to @themeComponent for consistency
sampoyigi Apr 12, 2024
2498e10
Update dependencies
sampoyigi Apr 16, 2024
ca7bc09
PHP Linting (Pint) - Fix styling
sampoyigi Apr 16, 2024
dea3bf1
Bring back version constraints to composer deps
sampoyigi Apr 24, 2024
f8d75b9
Move documentation for migrated components into orange theme
sampoyigi Apr 24, 2024
0e9ddba
Code refactor
sampoyigi Apr 24, 2024
1e700e9
Remove extensions directory
sampoyigi Apr 24, 2024
1401c6a
Adjust permission group names
sampoyigi May 9, 2024
a1e9f4e
Update docs to v4
sampoyigi May 9, 2024
1a11534
Minor refactor after updating docs
sampoyigi May 9, 2024
5e0ebfc
Bring back locations admin page
sampoyigi May 9, 2024
1cd1b61
fix phpstan error
sampoyigi May 9, 2024
73eede7
Move business logic out of components into extensions
sampoyigi May 11, 2024
ba6bc56
PHP Linting (Pint) - Fix styling
sampoyigi May 11, 2024
52888fb
fix phpstan errors
sampoyigi May 11, 2024
8109c4c
Add more sorters to query modifier
sampoyigi May 15, 2024
ba914b1
Code refactor
sampoyigi May 17, 2024
ca5821a
Fix phpstan errors
sampoyigi May 18, 2024
34719ec
Code refactor
sampoyigi May 19, 2024
a60d9e4
PHP Linting (Pint) - Fix styling
sampoyigi May 19, 2024
d79740e
Update pint rules
sampoyigi May 19, 2024
640ebf8
Code refactor
sampoyigi May 19, 2024
d11e131
Update docs
sampoyigi May 21, 2024
d48f39f
Fix markdownlint errors
sampoyigi May 23, 2024
626ac53
Add factory for review model
sampoyigi May 23, 2024
0ac75a4
Add extension code to composer extra
sampoyigi May 23, 2024
4f1002b
Move Requests into Http\Requests
sampoyigi May 29, 2024
51cc666
Code refactor
sampoyigi May 29, 2024
6f248f7
Code refactor
sampoyigi May 30, 2024
29f470c
Remove score types
sampoyigi May 30, 2024
c9e74c9
Update pest tests action name
sampoyigi May 30, 2024
143d6b2
Code refactor
sampoyigi Jun 2, 2024
9489042
Code refactor
sampoyigi Jun 5, 2024
8cecc2e
PHP Linting (Pint) - Fix styling
sampoyigi Jun 5, 2024
ed0236f
Address changes to Carbon::diffIn* methods
sampoyigi Jun 8, 2024
01a96e2
Add tests
sampoyigi Jun 15, 2024
c0f9c80
PHP Linting (Pint) - Fix styling
sampoyigi Jun 15, 2024
203c6c9
Fix tests
sampoyigi Jun 15, 2024
23afa01
Fix tests
sampoyigi Jun 15, 2024
bbc23fb
Code refactor
sampoyigi Jun 24, 2024
f5623fb
PHP Linting (Pint) - Fix styling
sampoyigi Jun 24, 2024
dde2dbf
Code refactor
sampoyigi Jul 9, 2024
b24b631
Code refactor
sampoyigi Jul 17, 2024
3ce2daa
Update phpstan baseline
sampoyigi Jul 18, 2024
13210cb
v4-beta release prepping
sampoyigi Aug 10, 2024
7d6b096
Limit pipeline to branches
sampoyigi Aug 10, 2024
2f7b0f7
Limit pipeline to branches
sampoyigi Aug 10, 2024
b81b04a
v4-beta release prepping
sampoyigi Aug 10, 2024
6640f8f
PHP Linting (Pint) - Fix styling
sampoyigi Aug 10, 2024
3cd85b1
v4-beta release prepping
sampoyigi Aug 10, 2024
0d024fb
chore: remove obsolete workflow files and create a new pipeline
sampoyigi Oct 20, 2024
6a7eb7b
feat: update pipeline.yml to fix :package_name typo
sampoyigi Oct 20, 2024
7866366
feat: update composer.json to remove prefer-stable config
sampoyigi Oct 20, 2024
bddc9ce
fix: update PHPStan baseline
sampoyigi Oct 20, 2024
5fa3ffa
Minor fix
sampoyigi Oct 27, 2024
5b69b35
refactor: add tests for extension class
sampoyigi Nov 24, 2024
a0983b6
fix: make migrations compatible with sqlite & postgres
sampoyigi Dec 23, 2024
ce07bed
Refactor imports to use Support\Facades\Igniter for consistency.
sampoyigi Dec 28, 2024
051ad09
Update test scripts for improved coverage and precision settings.
sampoyigi Dec 28, 2024
a876b92
Minor fix
sampoyigi Dec 28, 2024
6c8f85f
Minor fix
sampoyigi Dec 30, 2024
e49fa88
Minor fix
sampoyigi Dec 30, 2024
de4527d
fix: update README with badges
sampoyigi Dec 31, 2024
c617973
chore: add method annotations for facades
sampoyigi Jan 1, 2025
4f3cd53
chore: add property annotations to models
sampoyigi Jan 3, 2025
d2fea19
fix: update PHPStan baseline
sampoyigi Jan 3, 2025
a756ff5
fix: minor
sampoyigi Jan 4, 2025
6ab086d
feat: add static method first() to Location model
sampoyigi Feb 19, 2025
2a2ec5d
feat: add strict types declaration, improve property types
sampoyigi Feb 21, 2025
4deb7a5
fix: update PHPDoc return type for getOrderType and simplify orderDat…
sampoyigi Feb 22, 2025
a88dc7f
refactor: enforce strict types and improve type hints across multiple…
sampoyigi Feb 24, 2025
9597003
fix: remove invalid PHPDoc tag message from phpstan baseline file
sampoyigi Feb 24, 2025
c65bc76
PHP Linting (Pint) - Fix styling
sampoyigi Feb 24, 2025
2ceda2c
feat: replace LocationInterface with LocationModel in Location facade…
sampoyigi Feb 26, 2025
f4c9a73
fix: update method signatures to include return types and refactor er…
sampoyigi Feb 27, 2025
3b00cde
PHP Linting (Pint) - Fix styling
sampoyigi Feb 27, 2025
a9a3f27
feat: enhance review timestamps and refactor migration and model code
sampoyigi Feb 27, 2025
1ced096
PHP Linting (Pint) - Fix styling
sampoyigi Feb 27, 2025
e603f32
fix(dependencies): update version constraints for packages in compose…
sampoyigi Mar 4, 2025
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
63 changes: 63 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Contributing

Contributions are **welcome** and will be fully **credited**.

Please read and understand the contribution guide before creating an issue or pull request.

## Etiquette

This project is open source, and as such, the maintainers give their free time to build and maintain the source code
held within. They make the code freely available in the hope that it will be of use to other developers. It would be
extremely unfair for them to suffer abuse or anger for their hard work.

Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the world that
developers are civilized and selfless people.

It's the duty of the maintainer to ensure that all submissions to the project are of sufficient quality to benefit the
project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do
not be upset or abusive if your submission is not used.

## Viability

When requesting or submitting new features, first consider whether it might be useful to others. Open source projects
are used by many developers, who may have entirely different needs to your own. Think about whether or not your feature
is likely to be used by other users of the project.

## Procedure

Before filing an issue:

- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
- Check to make sure your feature suggestion isn't already present within the project.
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.
- Check the pull requests tab to ensure that the feature isn't already in progress.

Before submitting a pull request:

- Check the codebase to ensure that your feature doesn't already exist.
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.

## Requirements

If the project maintainer has any additional requirements, you will find them listed here.

- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)**
- The easiest way to apply the conventions is to
install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).

- **Add tests!** - Your patch won't be accepted if it doesn't have tests.

- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept
up-to-date.

- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs
is not an option.

- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.

- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make
multiple intermediate commits while developing,
please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages)
before submitting.

**Happy coding**!
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
32 changes: 32 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: dependabot-auto-merge
on: pull_request_target

permissions:
pull-requests: write
contents: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:

- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Auto-merge Dependabot PRs for semver-minor updates
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Auto-merge Dependabot PRs for semver-patch updates
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
19 changes: 19 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Local CI Pipeline

on: [ push, pull_request, workflow_dispatch ]

jobs:
php-lint:
uses: tastyigniter/workflows/.github/workflows/php-lint.yml@main
with:
composer: update --no-interaction --no-progress
php-tests:
needs: php-lint
if: ${{ always() && needs.php-lint.result == 'success' }}
strategy:
matrix:
php: [ '8.2', '8.3' ]
uses: tastyigniter/workflows/.github/workflows/php-tests.yml@main
with:
php-version: ${{ matrix.target }}
composer: update --no-interaction --no-progress
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
.php_cs
.php_cs.cache
.phpunit.result.cache
build
.phpunit.cache
/build
composer.lock
coverage
docs
phpunit.xml
psalm.xml
vendor
/vendor
.php-cs-fixer.cache
node_modules/
npm-debug.log
yarn-error.log
Loading
Loading