David Bomba
6d8ac6aa35
Minor fixes
2021-07-29 13:37:23 +10:00
David Bomba
b91af0dc69
Client Contact password reset links
2021-07-29 12:19:56 +10:00
David Bomba
bcc286e537
Handle base64 encoded passwords
2021-07-19 10:57:13 +10:00
David Bomba
108512068e
Form validation for contact password reset
2021-07-09 07:57:31 +10:00
David Bomba
19bd957256
Dont forget to SET the user after OAuth SignUp
2021-07-08 12:51:17 +10:00
David Bomba
a1b7a795e0
Fixes for contact login logo for custom domains
2021-07-07 12:54:59 +10:00
David Bomba
58547faf3e
Fixes for client portal page
2021-07-04 20:53:32 +10:00
Benjamin Beganović
e9d2d7d7f2
Show logo on the login screen if account whitelabel or official subdomain
2021-07-01 18:29:32 +02:00
David Bomba
28e3defc83
Fixes for dissociated default_company
2021-06-24 18:42:45 +10:00
David Bomba
293b12e348
Fixes for login where the user is not attached to an account
2021-06-22 21:14:08 +10:00
David Bomba
1b303f9559
Fixes for subscription service
2021-06-21 20:53:34 +10:00
David Bomba
1c052a7431
change user login event
2021-06-20 20:35:26 +10:00
David Bomba
36f6cbbcc9
Update license in codebase
2021-06-16 16:58:16 +10:00
David Bomba
1397c9ab1c
Fixes logic for hosted login
2021-06-14 17:04:15 +10:00
David Bomba
4675cc92b5
Inject delays in emails to allow enough time for attachment resources to upload when using S3 type storage
2021-06-10 19:01:30 +10:00
David Bomba
af68794823
Resolve access token from refresh token - gmail
2021-06-10 18:35:58 +10:00
David Bomba
4ef26723c1
Gmail offline_access
2021-06-10 17:38:07 +10:00
David Bomba
8a89973d7c
Gmail offline_access
2021-06-10 17:17:02 +10:00
David Bomba
d1e92060bd
Fixes for scopes
2021-06-10 16:57:18 +10:00
David Bomba
185986e819
Fix for missing method property
2021-06-10 15:06:28 +10:00
David Bomba
9c8618ac34
Oauth
2021-06-10 14:05:49 +10:00
David Bomba
5d04ab724b
Fixes for login
2021-06-08 18:42:37 +10:00
David Bomba
968f512aec
Fixes for orphan users with no tokens
2021-06-08 18:30:54 +10:00
=
8703bcc5f6
Fixes for .register bug
2021-06-05 20:59:53 +10:00
Benjamin Beganović
23e23918b4
Show register link on the login page
2021-06-01 14:06:47 +02:00
David Bomba
1ddf220448
Fixes for gmail oauth
2021-06-01 19:57:05 +10:00
David Bomba
0e210e6635
Minor fixes
2021-06-01 17:24:51 +10:00
David Bomba
b581a749f2
Minor fixes
2021-06-01 16:06:00 +10:00
David Bomba
1d4f982245
Gmail Oauth
2021-06-01 15:24:47 +10:00
David Bomba
ee6c0468b2
Minor fixes
2021-06-01 10:24:20 +10:00
David Bomba
cd594914b7
fixes for password reset screen
2021-06-01 09:02:30 +10:00
David Bomba
c125dca154
Fixes for client portal login/auth/register pages
2021-05-27 09:14:21 +10:00
David Bomba
e76567f337
Fixes for creating an account using OAuth
2021-05-26 16:14:47 +10:00
David Bomba
0e61a6f491
Fixes for random subdomain generator
2021-05-24 19:39:21 +10:00
David Bomba
10a0812ead
Refactor for login flow
2021-05-24 07:23:30 +10:00
David Bomba
3b7bf352a7
Fixes for trait inclusion
2021-05-23 18:59:09 +10:00
David Bomba
9d21b4fd57
Refactor LoginController
2021-05-23 18:43:50 +10:00
David Bomba
c5a24fd9d9
Fixes for OAuth using logging in over user/pass combinations
2021-05-23 07:57:53 +10:00
David Bomba
601d795ace
Fixes for reset password
2021-05-22 14:45:09 +10:00
David Bomba
264477a2de
Fixes for reset password
2021-05-22 14:31:48 +10:00
David Bomba
49b3cab7d7
Refactor system logger to enable multidb
2021-05-19 11:12:55 +10:00
David Bomba
52c3d63349
Refactor system logger to enable multidb
2021-05-19 11:12:23 +10:00
David Bomba
777c2dd24a
Reorder middleware to allow route model binding to be delayed
2021-05-13 22:41:32 +10:00
David Bomba
8a582f7800
Fixes for reset password
2021-05-13 20:18:30 +10:00
=
daff65de01
Working on password reset throttling
2021-05-13 19:13:51 +10:00
David Bomba
e4fabfbf2d
Export data
2021-05-13 16:01:12 +10:00
David Bomba
ac77100981
New login notification
2021-05-12 16:31:02 +10:00
David Bomba
f60b9c30eb
Add new login notification
2021-05-12 16:18:32 +10:00
David Bomba
3b01190bc2
Return error when the user isn't attached to a company
2021-05-11 14:57:36 +10:00
David Bomba
991fa7079e
Fixes for password protection
2021-05-05 16:44:31 +10:00
David Bomba
b9fece424f
Minor fixes for password protection cache
2021-05-05 15:56:54 +10:00
=
7d01858b3a
Current_company=true
2021-04-29 21:36:34 +10:00
=
bdbcacb872
Add current_company filter on refresh route
2021-04-29 21:29:10 +10:00
David Bomba
deb55dd6c8
Add in constrained queries
2021-04-29 11:31:04 +10:00
David Bomba
61828d412a
Customize the login return request
2021-04-29 08:44:40 +10:00
David Bomba
810ed113c7
Invoice / Quote / Credit created notification
2021-04-28 10:02:31 +10:00
David Bomba
5700da5323
Fixes for password protection
2021-03-22 22:18:57 +11:00
David Bomba
5d28271df9
Fixes for default timeouts
2021-03-22 22:12:12 +11:00
David Bomba
793247e0f7
Fixes for default timeouts
2021-03-22 21:55:09 +11:00
David Bomba
c97dea08d2
Connected Gmail Account
2021-03-22 09:52:39 +11:00
=
4285b5f6fc
Minor fixes for oauth login
2021-03-21 21:38:57 +11:00
=
5288893220
Small fixes for 2FA
2021-03-20 11:46:42 +11:00
=
b158fb430f
Small fixes for 2FA
2021-03-20 11:41:41 +11:00
David Bomba
10f7b1a309
Fixes for 2fa
2021-03-18 22:46:58 +11:00
David Bomba
0422c95e13
Cache password protection on login
2021-03-16 23:10:15 +11:00
David Bomba
6bb71dc33b
Fixes for connected account
2021-03-16 22:29:16 +11:00
David Bomba
92f729c10d
Catch if an OAuth user doesn't exist and attempts to login
2021-02-28 19:54:14 +11:00
Benjamin Beganović
10733418c6
Allow default company registration without company key in the URL
2021-02-17 12:13:27 +01:00
David Bomba
120d2c21ab
Refactor password reset for admin users
2021-02-15 10:39:40 +11:00
=
85df91a6e8
Add redirect URI to google auth requests
2021-02-10 21:43:32 +11:00
David Bomba
934610a01c
Update copyright + version bump + set canadian dollar symbol to $
2021-01-04 08:54:54 +11:00
Benjamin Beganović
ae88d5e08e
php-cs-fixer format
2020-11-25 15:19:52 +01:00
David Bomba
3bec5a4044
Refactor login routes
2020-11-13 20:09:20 +11:00
David Bomba
9aeb2d7a5b
Psalm cleanup
2020-10-28 21:10:49 +11:00
David Bomba
a13b97b0cb
Fixes for api docs
2020-10-10 23:07:52 +11:00
David Bomba
0e5199e052
Working on contact auth using contact key
2020-09-23 11:45:07 +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
7feae1fd45
Add is_deleted to client_gateway_tokens table
2020-08-12 08:17:32 +10:00
David Bomba
71449392de
Fix for regression
2020-08-11 20:57:45 +10:00
=
731001baf5
Refactor refresh route resolution of company_user
2020-08-08 10:32:47 +10:00
=
1be45a4e38
Wind back changes to login route
2020-08-08 09:58:10 +10:00
=
6751654216
Refactor login route
2020-08-08 09:50:32 +10:00
David Bomba
b4f669ad59
Update refresh route to filter all subqueries by updated_at
2020-07-10 09:28:09 +10:00
David Bomba
f3572a5d11
Refactor for events
2020-07-08 22:02:16 +10:00
David Bomba
245980ce4b
Send company with all events
2020-06-30 09:35:17 +10:00
Benjamin Beganović
fae29a8dfe
Logo, show more fields
2020-06-22 10:47:55 +02:00
Benjamin Beganović
01094a2b5e
Merge remote-tracking branch 'upstream/v2' into v2-2805-client-signup
2020-06-22 10:27:35 +02:00
Benjamin Beganović
871d1057c7
Client registration logic
2020-06-22 10:26:48 +02: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
45d21eabb4
Update last logged in for client contact
2020-06-19 07:07:54 +10:00
Benjamin Beganović
6f34e083ae
wip - registration client
2020-06-18 17:09:28 +02:00
Benjamin Beganović
b5a36bad14
support domain registration
2020-05-28 17:48:03 +02:00
Benjamin Beganović
41c76e55bc
client register wip
2020-05-28 17:39:38 +02:00
David Bomba
84a64773a6
Adjustments for OAuth ( #3707 )
...
* Fixes for null values in custom values
* Refactor mailing
* Working on send emails from GMail API
* Fixes for tests
* Test for GMail
* Adjustments for storing oauth token
2020-05-16 20:26:16 +10:00
David Bomba
d05bd7d2c1
Test for Gmail ( #3706 )
...
* Fixes for null values in custom values
* Refactor mailing
* Working on send emails from GMail API
* Fixes for tests
* Test for GMail
2020-05-16 12:04:24 +10:00
David Bomba
956c06c430
Fixes for OAuth ( #3695 )
2020-05-13 19:02:38 +10:00
David Bomba
fb5a923639
Working on OAuth ( #3693 )
2020-05-13 16:33:50 +10:00
David Bomba
350b61dc3f
Working on OAuth ( #3692 )
2020-05-13 16:20:05 +10:00
David Bomba
c3c39ffae2
Working on OAuth ( #3691 )
2020-05-13 15:40:55 +10:00
David Bomba
47f7cce6ff
Working on OAuth ( #3690 )
...
* Working on OAuth
* Working on OAuth
2020-05-13 15:38:42 +10:00
David Bomba
e4c2455267
Working on OAuth ( #3689 )
2020-05-13 15:30:17 +10:00
David Bomba
1e323a5770
Working on OAuth. ( #3688 )
...
* Working on OAuth
* Fixes for gmail transport
* Working on oauth
2020-05-13 14:51:16 +10:00
David Bomba
d9d2e21f93
Subscriptions ( #3682 )
...
* Working on subscriptions
* Implement return type in models
* Subscription implementation
* Improvements to handling importation of large accountS
* Loggin imports
* Activate collector
* Improve memory usage of import script
* Quote actions
* Send Quotes
* Fixes for seg faults!
* Minor fixes
* Fixes for client contact scopes
2020-05-09 08:35:49 +10:00
David Bomba
42ccfe0700
Checkout stubs ( #3672 )
...
* minor fixes for name spaces, collector facade and composer version bump
* Fixes for invoiceworkflowsettings
* Add more context to support emails
* Working on Firing Subscriptions
* Minor fixes
* Fixes for gateway filtering
* Checkout Driver
2020-05-04 21:13:46 +10:00
David Bomba
d7b22ba1db
Add analytics engine ( #3664 )
2020-04-30 22:33:57 +10:00
David Bomba
6d7b7ca9a3
Invoice Deletion - Ledger ( #3590 )
...
* Fixes when implementing
* php_cs
* Clean up
* Clean up
* Working on adjusting ledger when an invoice is deleted
2020-04-04 21:32:42 +11:00
David Bomba
cfafd65be0
Performance improvements for eager loading ( #3584 )
...
* Fixes for Sentry
* performance improvements for eager loading
2020-04-02 20:02:39 +11:00
Benjamin Beganović
ac5525c9ac
[V2] Client portal rework ( #3516 )
...
* Client login, reset and update password page
* Client dashboard, sidebar, PortalComposer.php
* wip
* Personal page & update for details
* Invoices, paying & pagination.blade.php
* Invoices, recurring invoice & buttons
* Payments, link component
* Payment methods
* Breadcrums, clean up & wrap up
* Remove format_date() method to formatDate on object
* Payments
- $this->render is now proxy for render()
- Removed logic from Controller.php to ClientPortal.php
- Added MakesDates to ClientGatewayToken.php
- StripePaymentDriver.php now returns correct views
- Refactor of adding new payment method
- Ignoring all local builds for public/js/clients/*
* Signature, wip
* Fix "Pay now" on single invoice
* Payments:
- Added ProcessInvoicesInBulk request class
- Refactor InvoiceController::bulk()
- Displaying terms & payments
- New signature.blade.php
- Removed comment from webpack.mix.js
* Quotes:
- Refactor ProcessInvoicesInBulk.php to ProcessInvoicesInBulkRequest.php
- Add new 'Quotes' field inside of PortalComposer.php
- Added MakesDates to Quote.php
- Added Quote::badgeForStatus()
- Cleanup payment.blade.php
- Quote showing and approving
- New resource 'quotes' in client.php
- New image for quotes, align-left.svg
* Credits:
- New 'credits' resource in client.php
- Fixes for client.php typo
* Breadcrumbs:
- Quotes
- Credits
* Placeholder for translations.
* Restore whereIn & client scope
Co-authored-by: David Bomba <turbo124@gmail.com>
2020-03-24 04:10:42 +11:00
David Bomba
43e57d0117
Fixes for self-update ( #3514 )
...
* minor fix for payment notifications
* styleci
* Limit Self updating to self hosters only
:
* Fixes for designs
* Minor fixes for self-update
2020-03-21 16:37:30 +11:00
Benjamin Beganović
aad9f81e93
(Daily sync) Password reset pages & client portal rework ( #3492 )
...
* Dependency clearing
* Tailwind & templates cleanup
* Password reset pages & more features:
- New $this->render() method
- Password reset pages
- Tailwind CSS scaffold
- New styles for buttons, inputs, alerts
- Changed to shorthand syntax for language file (en)
- Added app.css and app.js which will be main endpoint
- Added new 'theme' field inside of ninja.php
- Scaffold for 'ninja2020' theme: both client and global theme
- Ignoring local builds of assets, until purgeCSS is there
- Overall cleanup
* Switch back default template to 'default'
* Remove app.css build
* Fix Codacy
* Fix Codacy 'doublequote' issues
2020-03-14 08:17:08 +11:00
David Bomba
f20b0f7720
Fixes for company tokens. ( #3375 )
...
* Testing Company Ledger
* Fixes for company ledger
* Fixes for company ledger
* Company ledger testS
* Fixes for user / client / contacts transformers
* Fixes for tests
* Fixes for tokens
2020-02-26 14:26:07 +11:00
David Bomba
4f82f1b903
Improve eager loads ( #3289 )
...
* Working on invoice designs
* Working on Invoice Designs
* Improve eager loads
2020-02-06 20:35:51 +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
a2cf42766d
Minor fixes for Gmail API ( #3125 )
2019-12-04 16:26:07 +11:00
David Bomba
bc85bcd747
Test Gmail Sending using oauth ( #3121 )
...
* Reset DB connection after a DB scan in the same request
* Testing Gmail Oauth Email
2019-12-04 13:27:28 +11:00
David Bomba
c71f49a6db
Fix property name on user model ( #3120 )
2019-12-04 13:03:51 +11:00
David Bomba
329a9ffb73
Update OAuth token on Auth. ( #3119 )
...
* Fixes for OAuth
* Update token on OAuth login
2019-12-04 13:00:59 +11:00
David Bomba
fb2ca5dbe9
Fixes for OAuth ( #3118 )
2019-12-04 12:26:57 +11:00
David Bomba
0d15926e02
OAuth Token support ( #3117 )
...
* Add oauth->token to users table
* Add oauth->token to fillableon model
2019-12-04 12:14:55 +11:00
David Bomba
4bc92a7aa1
Stub GMail Driver ( #3099 )
...
* fix for blank client settings
* Force all custom fields to strings
* Fixes for bulk actions
* Fixes for company POST route..
* Change text from Bitcoin to CRYPTO
* Implement default_gateway_type_id in transformer
* use scopes for company filtering
* Implement validation for portal_domain
* Add Google API client
* Add activities to company transformer
2019-11-27 20:47:59 +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
5c9ada0f77
V2 ( #3089 )
...
* Set default templates in Company Settings
* Working on Company User creation
* Working on company_user relationship
* Fixes for company_user relation
* Clean up
2019-11-23 08:10:53 +11:00
David Bomba
a6f928b181
Fixes for settings, implement invitations from invoice request ( #3047 )
...
* Fixes for client portal localization
* Replace Invoice Ninja Logo with user defined logo and website URL in client portal
* Minor Fixes
* Refactor for invitations on invoices
* Fixes for settings
2019-11-07 09:57:09 +11:00
David Bomba
9050d4e564
Template Controller ( #3042 )
...
* Request Cancellation
* Add fields to settings
* Recurring invoice cancellation request
* Stub Template controller
2019-11-05 07:50:10 +11:00
David Bomba
b7d3f4e7aa
Client Portal conditionals ( #3039 )
...
* Fixes for tests
* add additional fields for company settings
* fixes for travis
* update company settings schema
* Disable client portal
* Client Portal middleware
* Working on client portal
* hide portal
* Implement notification channgels for User and ClientContact models
* Push notifications onto queue
* Force authentication if client portal is password protected
2019-11-04 11:22:59 +11:00
David Bomba
5bbc274a48
Fixes for api-headeR
2019-10-07 17:31:26 +11:00
David Bomba
6d81f981f8
Invoices OpenAPI
2019-10-07 09:00:02 +11:00
David Bomba
165182266a
OpenAPI
2019-10-06 23:24:15 +11:00
David Bomba
febe32b7d8
OpenAPI
2019-10-06 23:18:22 +11:00
David Bomba
65757f4b71
OpenAPI
2019-10-06 23:09:56 +11:00
David Bomba
ac96a01c03
OpenAPI
2019-10-06 22:51:33 +11:00
David Bomba
897e4855c1
OpenAPI
2019-10-06 22:24:54 +11:00
David Bomba
59abbd04f9
Integrating OpenAPI documentation
2019-10-06 17:05:46 +11:00
David Bomba
2c05f5a47e
Refresh route
2019-09-25 21:49:43 +10:00
David Bomba
3860e770f6
Add reset link to API
2019-09-23 08:24:25 +10:00
David Bomba
c79211c4f4
Mitigate nulls in database
2019-09-17 15:42:10 +10:00
David Bomba
2f164d6a76
Add account to login response
2019-09-12 22:02:25 +10:00
David Bomba
da0c0080a5
Fixes for login api
2019-09-12 21:46:09 +10:00
David Bomba
4536bc0566
API fixes
2019-09-11 20:15:44 +10:00
David Bomba
ac19a4bb12
Working on cascading settings
2019-09-11 15:32:47 +10:00
David Bomba
42e54d0bd5
include statics with login response
2019-09-11 10:37:53 +10:00
David Bomba
a840136575
API cleanup
2019-09-11 09:31:55 +10:00
David Bomba
1c2ba3a53e
force status codes to be returned
2019-09-10 19:31:51 +10:00
David Bomba
2df2ec44ba
View Composer for Client Portal
2019-07-19 14:32:51 +10:00
David Bomba
f63803fe7b
Finished - Client auth + password reset + mailables
2019-07-18 09:45:18 +10:00
David Bomba
7e4294fcc5
Client password resets
2019-07-17 14:52:54 +10:00
David Bomba
7448ef9b0a
Client-Contact password reset stubs
2019-07-17 14:15:25 +10:00
David Bomba
99a535eed8
Default skin client auth
2019-07-17 13:09:37 +10:00
David Bomba
241cb02a86
Start Front End of Client Portal - Authentication
2019-07-16 12:38:11 +10:00