Commit Graph

65 Commits

Author SHA1 Message Date
David Bomba 72aadc0c16 php-cs-fixer 2024-06-14 17:09:44 +10:00
David Bomba f65567a637 Update copyright 2024-04-12 14:15:41 +10:00
David Bomba ba4cd4508b Fixes for restoring deleted user 2024-03-21 08:01:13 +11:00
David Bomba 3ebcbc034e Prevent owner user from being deleted 2023-12-15 14:53:00 +11:00
David Bomba 6e64a9c74a Static Analysis Cleanup 2023-08-08 19:44:52 +10:00
David Bomba 68ce3be42b Updates for static analysis 2023-08-06 17:35:19 +10:00
David Bomba dc1d23067c Fixes for tests 2023-08-04 18:13:26 +10:00
David Bomba b09f1a7d07 Updates for Static Analysis 2023-08-04 16:40:44 +10:00
David Bomba dd61b41919 Updates for silent migrations 2023-07-10 12:55:21 +10:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 2f9fcbd42e Ensure companies have the correct size when there are heterogeneous user permissions 2023-01-30 19:50:27 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba dff9c9566c Fixes for phone validation 2022-12-08 10:38:52 +11:00
David Bomba 18ce82ceed clean up for user 2022-11-07 08:20:14 +11:00
David Bomba b3e02c8a70 Override phone number with international format 2022-11-03 17:31:46 +11:00
David Bomba e06563c00f Override phone number with international format 2022-11-03 17:26:52 +11:00
David Bomba f557a93533 Catch and remove updates for oauth_provider_id 2022-08-29 17:04:48 +10:00
David Bomba 5cd8307686 Fixes for users 2022-08-05 17:42:54 +10:00
David Bomba 96191ff1f1 Fixes for company token generation 2022-08-05 17:27:17 +10: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 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba 2b95f2a0d4 Fixes for resolving correct company user 2022-03-13 19:48:57 +11:00
David Bomba f66c3076f1 fixes for adding users into the production system 2022-01-11 19:08:08 +11:00
David Bomba e2a6cd65cc Refactor invitation links 2021-11-06 11:46:12 +11:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 0b71bc03b0 Fixes for User Route 2021-05-24 10:53:04 +10:00
David Bomba f3a56c8174 Add activities to entities 2021-05-07 07:41:37 +10:00
David Bomba 85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
David Bomba 7e3a9205b9 Add event listeners for Subscriptions + fix user actioning the event() 2021-04-13 09:52:17 +10:00
David Bomba fd24449f95 Fixes for deleting / restoring / removing users 2021-03-26 19:07:43 +11:00
= 6360f62ef3 Integrate phantom js secret default value into config 2021-03-07 17:27:44 +11:00
David Bomba 20440189d2 Fixes for password protection middleware 2021-03-04 16:03:28 +11:00
= c23b9b147d Fixes for attaching a user to different companies 2021-03-03 18:22:14 +11:00
David Bomba 7d46ec489a User Activities 2021-01-14 14:44:52 +11:00
Benjamin Beganović 603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
= 6c098160df Allow a user to change only their own password 2021-01-01 20:11:21 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 13a00fc897 Redundant code cleanup 2020-11-04 00:27:41 +11:00
= e4b326c423 Removing is_migrating 2020-11-01 14:21:39 +11:00
= dfb55dbd8b remove is_migrating 2020-11-01 14:19:03 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba 5c0776cf14 Working on Delete user bug 2020-09-28 12:56:11 +10:00
David Bomba 8471c2689f Fix for user_confirmation code 2020-09-16 09:56:10 +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 f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba ffa3550e4a
Hosted version - add user rules. (#3653)
* Add users in hosted platform

* Increment num_users when adding a user on enterprised hosted plan

* Fixes for user repo
2020-04-23 08:54:10 +10:00
Benjamin Beganović 6a0ddd6c38
Migrate company_user with users (#3598) 2020-04-08 06:43:44 +10:00
David Bomba eba0c19824
Fixes for Migration (#3572)
* Remove \Log::, fixes for tests, and fixes for migration

* Debugging migration

* Fixes for Migration
2020-04-01 19:54:22 +11:00
David Bomba 6a7079b0be
Implement Github actions (#3547)
* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update .env.ci

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Update phpunit.yml

* Force /setup if system requirements are not met

* Update .env.ci

* Update phpunit.yml

* Minor changes for github actions"

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* Fixes for github actions

* cs-fixer

* cs-fixer

* Fixes for github actions

* db ports github actions

* Refactor the template engine
2020-03-26 14:23:57 +11:00