Commit Graph

52 Commits

Author SHA1 Message Date
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 1bae14c337 Add updated_at filter 2023-02-10 09:25:26 +11:00
paulwer 98d4d62f82 spacing 2023-01-30 07:08:26 +01:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 0c86e828a4 Refactor and code cleanup for filters 2023-01-16 10:05:44 +11:00
David Bomba 5320b953db Fix for data leak on products route when using the ?with filter 2023-01-12 13:40:26 +11:00
David Bomba 5790dc8a7b add vendor id filter 2023-01-04 00:39:52 +11:00
David Bomba 27df35ef81 Fixes for created_at query 2022-12-21 20:04:41 +11:00
David Bomba d0f18647ed Add finer grained resolution to created_at query 2022-12-21 19:45:27 +11:00
David Bomba cfe2d397da Fixes for created_at queries 2022-12-21 19:44:01 +11:00
David Bomba 0b5178561b Add finer grained resolution to created_at query 2022-12-21 18:14:22 +11:00
David Bomba ad57700a41 Refactor for created_at query 2022-12-21 17:45:38 +11:00
David Bomba bc1f4bd2f8 Fixes for created_at queryfilter 2022-12-21 17:41:36 +11:00
David Bomba c95384fe0c Updates for payment filters 2022-12-16 10:10:47 +11:00
David Bomba 9d09424e5e Merg PDFs 2022-10-30 10:28:59 +11:00
Benjamin Beganović eaddb9c8b6 The "with" filter for the QueryFilters 2022-07-28 10:16:15 +02:00
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba c08cdc4927 Ensure query parameter is a string 2022-05-27 12:17:59 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba e452c04214 coerce string to int 2022-04-13 00:32:39 +10:00
David Bomba fb1e27ba7d Clean up for due date days recurring invoices 2022-02-16 13:24:10 +11:00
David Bomba 189ccb7290 Updates for Estonian language 2022-01-19 13:14:38 +11:00
David Bomba b9cb231773 Fixes for Project Filters 2022-01-11 09:31:08 +11:00
David Bomba ae3a5e72eb Slow down Gmail API requests 2021-10-31 22:21:27 +11:00
David Bomba a21b53bb7b Improve query filters 2021-10-18 10:25:43 +11:00
David Bomba 741e43ddbe version bump 2021-10-17 22:30:48 +11:00
David Bomba f962e3a2fa Refactor for payment failure mailers 2021-10-17 22:21:56 +11:00
David Bomba ddf6e94c43 Make client_id query filter a global filter option 2021-09-06 07:43:01 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 8a582f7800 Fixes for reset password 2021-05-13 20:18:30 +10:00
David Bomba 62dd4a0a93 Fixes for Stripe Connect 2021-05-11 21:04:32 +10:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba 3c9a8fdd35 Fixes for query filters 2020-12-15 20:38:12 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba c1c016a5b2
Included trashed records (#3200) 2020-01-07 20:59:24 +11:00
David Bomba 957ac9f5d8
Fix for password protected authorization (#3198)
* Remove unnecessary save() on invoice

* Update copyright

* Working on Credit Repository

* Implement credits as a paymentable entity

* Add credit_id to transformer

* fix rules for update payment

* Fix random deleted_at keys in transformers

* Fix for password_protect check
2020-01-07 11:13:47 +11:00
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba 89797b0991 Handle list filters from Contact Routes 2019-07-10 13:10:18 +10:00
David Bomba 9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba 0f19056b8f Obfuscate primary ID 2019-04-03 11:09:22 +11:00
David Bomba 6c874274b6 doc blocks 2019-03-28 21:20:08 +11:00
David Bomba d2e5563dbe Filter scope to company 2019-03-28 21:16:41 +11:00
David Bomba fd8c19d911 implement filterable query models 2019-03-28 21:07:45 +11:00
David Bomba 25b26a2e5d Working on determining the current company the best way using the API 2019-03-28 16:03:18 +11:00
David Bomba 545a8df362 DocBlocks 2019-01-27 10:22:57 +11:00
David Bomba 0c1fc0d904
List views (#2609)
* Wire up Create Entity Button to create route

* Refactor permissions, we must also ensure the user company id and entity id matches at the Gate::

* Add translations for Status filters

* Bug fix for initial list view not displaying

* Apply actions to menu for list items

* Wire up list view actions, individual

* Place permission filters on datatable lists
2019-01-20 16:00:50 +11:00
David Bomba cc53d08b4d
Bulk Actions (#2606)
* Wired up Bulk Archive / Delete / Restore button with reactivity on checkbox actions

* Working on POSTing bulk actions

* Working on Filtering by status

* Add Action Entity

* Implement Vuex for state management

* Implement Vuex storage & list view bulk actions

* Clean up console logs

* Configure entity list views server side
2019-01-19 21:35:21 +11:00
David Bomba 77969243fa
Revert "Implement Bulk Actions (#2605)" (#2607)
This reverts commit b635f3b32e.
2019-01-19 21:34:58 +11:00