Commit Graph

35 Commits

Author SHA1 Message Date
Benjamin Beganović 350bdeee31 update cors headers 2024-10-02 18:32:45 +02:00
Benjamin Beganović ff4de1a901 add x-socket-id to cors middlewawre 2024-10-01 16:45:52 +02:00
David Bomba 40086db271 cs fixer 2024-01-14 15:05:00 +11:00
David Bomba 6b837b9e57 v5.6.17 2023-07-09 17:33:51 +10:00
David Bomba 0afbb1947e Redirect to the appropriate AP depending on headers 2023-06-04 16:11:40 +10:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 2203403818 add filename to headers for inline files 2023-01-23 09:49:40 +11:00
David Bomba 9f061ad0bb add filename to headers for inline files 2023-01-23 09:43:46 +11: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 548510d686 Improvements for credits 2022-01-28 16:30:40 +11:00
David Bomba 4c0c770c56 Fixes for CORS 2021-06-02 13:14:40 +10:00
David Bomba 30e0d4a6ab Fixes for CORS 2021-06-02 12:39:44 +10:00
David Bomba 37de17cf38 Fixes for CORS 2021-06-02 10:48:48 +10:00
David Bomba 5252f83ec6 Fixes for CORS 2021-06-01 23:08:32 +10:00
David Bomba 92ad3621de Fixes for CORS 2021-06-01 21:43:36 +10:00
David Bomba e69cd0699e Fixes for CORS 2021-06-01 20:51:38 +10:00
David Bomba 20eca600e3 Fixes for CORS 2021-06-01 20:06:46 +10:00
David Bomba 16c5665cc6 Recurring Invoice history / activities 2021-05-10 20:20:52 +10:00
David Bomba ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10: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 fd97aff3f1 Fixes for routes"
git push
2020-07-28 23:24:01 +10:00
David Bomba fb34f2654a Allow additional headers 2020-07-28 22:55:40 +10:00
David Bomba 43618e40a0 Fixes for delete company 2020-06-25 07:44:25 +10:00
David Bomba dbff1ab6ab remove x-api-version and replace with x-minimum-client-version 2020-06-22 07:30:25 +10:00
David Bomba 1dd73e3a06 Add expose headers 2020-06-13 07:37:36 +10:00
David Bomba db88d6a50d
Fixes for V2 (#3408)
* Refactor for user

* payment notifications

* Fixes for contact request

* Fix validation for contacts

* Fixes for base repo

* Fixes for Invoice Repo

* hide password field on clientcontact
2020-03-02 21:22:37 +11:00
David Bomba 1ac2a73b2a
Update CORS fields (#3371)
* Working on invoice invitations

* Credit invitations

* Update CORS
2020-02-25 19:33:53 +11:00
David Bomba f57339f185
Fixes and Refactors for Invoice Emails. (#3339)
* Working on emailing invoices

* Working on emailing and displaying email

* Working on emailing and displaying email

* Email invoices

* Fixes for html emails

* Ensure valid client prior to store

* Ensure client exists when storing an entity

* Update variable name send -> send_email for client_contacts

* Mailable download files

* Extend timeouts of password protected routes when a protected route is hit

* Add default portal design to company settings

* Minor fixes

* Fixes for Tests

* Fixes for invoicing emails

* Refactors for InvoiceEmail

* Implement abstractservice

* Refactors for services

* Refactors for emails

* Fixes for Invoice Emails
2020-02-17 20:37:44 +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 0908893180
Fixes for client currency id (#3092)
* Fix for CORs error where file download were being prevented by headers

* Fixes for CORs and File downloads

* give contextual error messages for invalid route actions

* Clean up LoginController for OAuth Testing

* Quote Actions

* Invoice and Quote Actions

* Fix for client currency
2019-11-25 20:38:55 +11:00
David Bomba b3262b00b7
Fixes for CORS (#3068)
* fix regression in company name

* HasOneThrough for company user

* Validation rules for contact email addresses

* Force a blank contact if no contacts passed in client

* Fixes for COR

* Fixes for COR

* Fixes for CORS
2019-11-13 22:39:53 +11:00
David Bomba 62a616fbdc
Fixes for CORS (#3066)
* fix regression in company name

* HasOneThrough for company user

* Validation rules for contact email addresses

* Force a blank contact if no contacts passed in client

* Fixes for COR
2019-11-13 22:36:39 +11:00
David Bomba 12dc613b9b
Remove headers (#3063) 2019-11-13 08:54:06 +11:00
David Bomba 5e950ba5cd
Add additional headers (#3062) 2019-11-13 08:50:12 +11:00
David Bomba 6c089f994b
Add Cors functionality and Company Settings Saver (#3060)
* Cleanup for settings remove from entities

* Fixes for saving and transforming company settings

* CompanySettingsSaver

* Add Cors
2019-11-13 08:32:28 +11:00