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

Fix custom fields #1300

Closed
wants to merge 122 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
6a859b5
Update color scheme and fix font loading issue
gdarko Jan 27, 2024
aef8b22
Replace logo, rebuild assets
gdarko Jan 27, 2024
6b80b5f
Change namespace
gdarko Jan 27, 2024
3721e5d
Update config references
gdarko Jan 27, 2024
17351ef
Remove old database updates
gdarko Jan 27, 2024
a57fdfc
Add ext-json to dependencies
gdarko Jan 27, 2024
bd8283d
Replace magic property access with proper get() call
gdarko Jan 27, 2024
650644d
Update other old references
gdarko Jan 27, 2024
06a1960
Update frontend locales
gdarko Jan 27, 2024
cec86c3
Update logo/screenshots
gdarko Jan 28, 2024
e691593
Update favicon
gdarko Jan 28, 2024
b11d9ec
Update build
gdarko Jan 28, 2024
a388dba
Update readme
gdarko Jan 28, 2024
f44e55d
Update readme
gdarko Jan 28, 2024
35e897a
Update readme.md
gdarko Jan 28, 2024
cd9df54
Upgrade to Laravel 10, Vite 5+
gdarko Jan 28, 2024
7b3dd02
Update build
gdarko Jan 28, 2024
4cf7055
Upgrade vue, vue3-flatpickr, vue-i18n, vue-router to the latest versions
gdarko Jan 28, 2024
518cac6
Drop vue3-colorpicker unused component
gdarko Jan 28, 2024
1884bff
Upgrade NPM/JS packages, remove deprecations
gdarko Jan 28, 2024
07d8415
Update build
gdarko Jan 28, 2024
573138f
Update modules package
gdarko Jan 28, 2024
ef02e01
Use the old heroicons version for now
gdarko Jan 28, 2024
c7d3bfd
Rename .eslitrc.js to .mjs to utilize it as ES Module
gdarko Jan 28, 2024
e2b0259
Update build
gdarko Jan 28, 2024
edd506b
Merge pull request #1 from InvoiceShelf/initial-cleanup
gdarko Jan 28, 2024
e7caf83
Update readme.md
gdarko Jan 28, 2024
cd1b4ef
Update CODE_OF_CONDUCT.md
gdarko Jan 28, 2024
597ff17
Update SECURITY.md
gdarko Jan 28, 2024
dce2a57
Replace old references
gdarko Jan 28, 2024
e43ddee
Fix wrong rollback in add_overdue_to_invoices_table migration
gdarko Jan 28, 2024
fdb4627
Fix database migration rollback
gdarko Nov 6, 2021
d02e0b8
Fix hashids issue related to the length parameter type
gdarko Jan 28, 2024
257cfb3
Update docker images
gdarko Jan 28, 2024
f156f5c
Fix add installation page logo
gdarko Jan 28, 2024
1cd00ae
Fix profile image size on Installation page
gdarko Jan 28, 2024
ce2d250
Fix button/menu item border
gdarko Jan 29, 2024
bec0113
Update build
gdarko Jan 29, 2024
aa113d6
Remove ide-helper'sprovider from config.app because it is auto-discov…
gdarko Jan 29, 2024
e71256b
Update mariadb docker image version
gdarko Jan 29, 2024
d86d92a
Merge pull request #3 from InvoiceShelf/updates-2
gdarko Jan 29, 2024
fe09d2e
Fix failing unit test after upgrading Pest to latest version
gdarko Jan 29, 2024
fedfea9
Fix duplicate character in generated hashes
gdarko Jan 29, 2024
57a0951
Fix french translation
gdarko Jan 29, 2024
448231f
Add support for Bosnia and Herzegovina Convertible Mark currency
gdarko Jan 29, 2024
cd63aa5
Fix payment note Amount field display
gdarko Jan 29, 2024
c285c16
Add support for Turkmen manat currency
gdarko Jan 29, 2024
ae6ce85
Fix hardcoded ? in nginx rewrite rule
gdarko Jan 29, 2024
9676924
Merge pull request #4 from InvoiceShelf/updates-3
gdarko Jan 29, 2024
613d6c2
Refactor CI, Build docker on push
gdarko Jan 29, 2024
f877051
Replace ? with ''
gdarko Jan 29, 2024
3a39dde
Merge pull request #5 from InvoiceShelf/dockerhub-ci
gdarko Jan 29, 2024
8de34ef
Update version
gdarko Jan 29, 2024
4ab9247
Setup pint & run code style fix
gdarko Jan 29, 2024
88f60fc
Update CI workflow & remove php-cs-fixer config
gdarko Jan 29, 2024
a6b54d9
Update cron docker image to use Debian
gdarko Jan 29, 2024
07998a4
Remove run number from docker versions
gdarko Jan 29, 2024
3b868ee
Update issue template bug report
gdarko Jan 29, 2024
424343c
Update docker build platforms
gdarko Jan 29, 2024
0f75405
Update docker version
gdarko Jan 29, 2024
548f5fa
Remove uffizzi
gdarko Jan 30, 2024
a85c682
Update workflows
gdarko Jan 30, 2024
89f6f02
Move docker to a separate repository
gdarko Jan 30, 2024
8e510d6
Update readme
gdarko Jan 30, 2024
24cf0f0
Reduce validation to at least two chracaters when creating/editing Un…
gdarko Jan 30, 2024
8ed447b
Fix company/user profile image
gdarko Jan 30, 2024
1f05b70
Fix logo
gdarko Jan 30, 2024
9128a2d
Remove build directory
gdarko Feb 4, 2024
8981066
Ignore public/build directory
gdarko Feb 4, 2024
aa68332
Improve installed database detection
gdarko Feb 4, 2024
a114a2a
Add missing required extensions and bump minimum php version
gdarko Feb 4, 2024
8a4a971
Update the ui-updater code to download from invoiceshelf's site
gdarko Feb 4, 2024
b2dc5b8
Improve formatting in Updater
gdarko Feb 4, 2024
e7c2bd6
Rename code-workspace config file
gdarko Feb 4, 2024
6443f9a
Fix old name leftovers
gdarko Feb 4, 2024
3daa767
Compile the front-end when running unit tests
gdarko Feb 4, 2024
2060eea
Merge pull request #12 from InvoiceShelf/v1-release-updates
gdarko Feb 4, 2024
c0ff832
Upgrade phpunit to 10
gdarko Feb 5, 2024
49a11f0
Improvements to the Install Utilities
gdarko Feb 8, 2024
e7e9c57
Improvements to the menu generation, add safety checks
gdarko Feb 8, 2024
acf3ca2
Fix Discord link
gdarko Feb 8, 2024
e14a248
Fix: Status set incorrectly after updating invoice
gdarko Feb 8, 2024
36424bb
Update code style
gdarko Feb 8, 2024
b819440
feat: allow negative taxes
danybmx Feb 8, 2024
91d3767
Merge pull request #25 from danybmx/18-allow-negative-taxes
gdarko Feb 9, 2024
8918ea5
Fix image extension validation
gdarko Feb 10, 2024
b85538d
Fix code style
gdarko Feb 10, 2024
b806efd
Refactor EnvironmentManager to fix weird installation issues
gdarko Feb 11, 2024
c7c70dd
Encoide .env value in case of spaces or special characters
gdarko Feb 11, 2024
2358969
Add release migration and fix some old database leftovers
gdarko Feb 11, 2024
d2ad222
Fix code style
gdarko Feb 11, 2024
020a074
Add error logging to install process :: db marker utilities
gdarko Feb 11, 2024
29ed7f4
Fix code style
gdarko Feb 11, 2024
e017613
Remove unecessary db install flag delete call
gdarko Feb 11, 2024
7d7b48a
Merge pull request #28 from InvoiceShelf/installer-improvements-phase1
gdarko Feb 11, 2024
39879cb
Merge pull request #29 from InvoiceShelf/database/old-leftovers
gdarko Feb 11, 2024
b9d5b82
Fix: Wrong migration name
gdarko Feb 11, 2024
44153c2
Improve 110 migration rollback
gdarko Feb 11, 2024
5ba8639
Added expires_at column to personal_access_tokens table
dariuszz123 Feb 17, 2024
1c72742
Lock silber/bouncer to 1.0.1 for now
gdarko Feb 17, 2024
e73ab3d
Override the default bouncer scope class with a temporary hotfix to t…
gdarko Feb 17, 2024
20a489e
Merge pull request #35 from dariuszz123/bugfix/missing-access-token-t…
gdarko Feb 17, 2024
d2559c8
Fix formatting
gdarko Feb 17, 2024
0d00684
Merge pull request #37 from InvoiceShelf/bouncer-hotfix
gdarko Feb 18, 2024
8788f3d
Tax calculation issue (#38)
gdarko Feb 18, 2024
9bb4963
Fixes/backup issues (#51)
gdarko Mar 27, 2024
223678e
Fix locales issue #43 (#46)
mchev Mar 27, 2024
1831560
Fix language switching. It now switches instantly
gdarko Apr 16, 2024
db4396f
Remove duplicate noLabel in dialog store
gdarko Apr 16, 2024
df85fd6
Fix base multi select open direction top (#55)
Timo972 Apr 16, 2024
093b2ac
Merge branch 'master' of github.com:InvoiceShelf/InvoiceShelf
gdarko Apr 16, 2024
dc8a855
Support S3 compatible storage services (#56)
Timo972 Apr 16, 2024
8c83df5
Add Company VAT-ID and Tax-ID (#54)
Timo972 Apr 20, 2024
bb580f4
Restore open-direction top in Account language picker
gdarko Apr 16, 2024
2784318
Migrate polymorphic relationships (#58)
Timo972 Apr 20, 2024
6ea112c
fix EnvironmentManager updateEnv (#60)
Timo972 May 4, 2024
ecb0297
Add Libyan Dinar (LD) (#63)
gdarko May 4, 2024
8570252
Add missing migration
gdarko May 4, 2024
fa777d6
Update release migration rollback to point to 1.2.0
gdarko May 4, 2024
1e530e0
Include lang directory in the dist build (#65)
gdarko May 4, 2024
dbf9cbd
Create 2024_05_22_223547_replace_crater_custom_fields.php
azaricstefan May 22, 2024
5354774
Merge pull request #1 from azaricstefan/azaricstefan-fix-custom-fields
azaricstefan May 22, 2024
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
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions .dockerignore

This file was deleted.

15 changes: 9 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ APP_ENV=production
APP_KEY=base64:kgk/4DW1vEVy7aEvet5FPp5un6PIGe/so8H0mvoUtW0=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://crater.test
APP_URL=http://invoiceshelf.test

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=crater
DB_USERNAME=crater
DB_PASSWORD="crater"
DB_DATABASE=invoiceshelf
DB_USERNAME=invoiceshelf
DB_PASSWORD="invoiceshelf"

BROADCAST_DRIVER=log
CACHE_DRIVER=file
Expand All @@ -28,12 +28,15 @@ MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=

MAIL_FROM_NAME=
MAIL_FROM_ADDRESS=

PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=

SANCTUM_STATEFUL_DOMAINS=crater.test
SESSION_DOMAIN=crater.test
SANCTUM_STATEFUL_DOMAINS=invoiceshelf.test
SESSION_DOMAIN=invoiceshelf.test

TRUSTED_PROXIES="*"

Expand Down
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ MAIL_PORT=587
MAIL_USERNAME=ff538f0e1037f4
MAIL_PASSWORD=c04c81145fcb73
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="admin@craterapp.com"
MAIL_FROM_ADDRESS="admin@invoiceshelf.com"
MAIL_FROM_NAME="John Doe"
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Please complete the following information:**
- Crater version:
- InvoiceShelf version:
- PHP version:
- Database type and version:

Expand Down
139 changes: 139 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
name: Check

# Run this workflow every time a new commit pushed to your repository
on:
push:
paths-ignore:
- '**/*.md'
- 'public/build/*.js'
- 'public/build/**/*.js'
pull_request:
paths-ignore:
- '**/*.md'
- 'public/build/*.js'
- 'public/build/**/*.js'
# Allow manually triggering the workflow.
workflow_dispatch:

jobs:
kill_previous:
name: 0️⃣ Kill previous runs
runs-on: ubuntu-latest
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push to the branch.
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

php_syntax_errors:
name: 1️⃣ PHP Code Style errors
runs-on: ubuntu-latest
needs:
- kill_previous
steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2

- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
uses: ramsey/composer-install@v2

- name: Check source code for syntax errors
run: ./vendor/bin/pint --test

tests:
name: 2️⃣ PHP ${{ matrix.php-version }} Tests
needs:
- php_syntax_errors
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.2
- 8.3
env:
extensions: bcmath, curl, dom, gd, imagick, json, libxml, mbstring, pcntl, pdo, pdo_mysql, zip

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

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.extensions }}
coverage: xdebug
tools: pecl, composer

- name: Install Composer dependencies
uses: ramsey/composer-install@v2

- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install
run: npm install

- name: Compile Front-end
run: npm run build

- name: Apply tests ${{ matrix.php-version }}
run: php artisan test

createReleaseFile:
name: 3️⃣ Build / Upload - Release File
if: github.ref_type == 'tag'
needs:
- tests
runs-on: ubuntu-latest
env:
extensions: bcmath, curl, dom, gd, imagick, json, libxml, mbstring, pcntl, pdo, pdo_mysql, zip

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: ${{ env.extensions }}
coverage: none

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
composer-options: --no-dev

- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install
run: npm install

- name: Compile Front-end
run: npm run build

- name: Build Dist
run: |
make clean dist

- name: Upload package
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ github.token }}
file: InvoiceShelf.zip
asset_name: InvoiceShelf.zip
tag: ${{ github.ref }}
overwrite: true
37 changes: 0 additions & 37 deletions .github/workflows/ci.yaml

This file was deleted.

Loading
Loading