1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00
Commit Graph

102 Commits

Author SHA1 Message Date
David Bomba
a9f2d0d855
This PR implements Create/View/Edit permissions based on ENTITY TYPE (ie invoice/expense/client). (#2150)
* migration for new permissions schema

* update permissions across data tables

* refactor migrations to prevent duplicate attribute

* update permissions in views

* Product Permissions

* permissions via controllers

* Refactor to use Laravel authorization gate

* Doc Blocks for EntityPolicy

* check permissions conditional on create new client

* Bug Fixes

* Data table permissions

* working on UI

* settings UI/UX finalised

* Datatable permissions

* remove legacy permissions

* permission fix for viewing client

* remove all instances of viewByOwner

* refactor after PR

* Bug fix for Functional test and implementation of Functional tests for Permissions

* fix for tests
2018-06-07 20:08:34 +10:00
Hillel Coren
fcbab2fd02 Working on tests 2018-03-11 12:36:24 +02:00
Hillel Coren
694929cc3d Working on tests 2018-03-11 12:25:49 +02:00
Hillel Coren
bf5ba05943 Working on tests 2018-03-11 12:10:29 +02:00
Hillel Coren
5cfa19a5c8 Working on tests 2018-03-11 11:55:54 +02:00
Hillel Coren
9b9a27a38b Working on tests 2018-03-11 08:50:11 +02:00
Hillel Coren
9c21178413 Working on tests 2018-03-11 00:37:45 +02:00
Hillel Coren
99e65906b2 Working on tests 2018-03-11 00:28:17 +02:00
Hillel Coren
ef250ec78f Use parseFloat to parse payment amount 2018-02-16 11:58:07 +02:00
Hillel Coren
26f4cf16c9 Create credit if overpaying with API 2017-10-24 13:16:46 +03:00
Hillel Coren
2b92f41f26 Optionally send email when refunding a payment #1570 2017-07-23 23:35:21 +03:00
Hillel Coren
047a0fb2be Support bulk downloading PDFs 2017-07-19 12:59:56 +03:00
Hillel Coren
8f43eb02b3 Check gateway supports refunding payment 2017-05-16 12:20:35 +03:00
Hillel Coren
fe3710fe4b Notify user if auto bill fails 2017-03-23 15:55:46 +02:00
Hillel Coren
5fb0ee1393 Payment amount greater than invoice amount #1317 2017-03-01 11:51:27 +02:00
Hillel Coren
b432cb55ba Fix for tests 2017-02-09 14:34:26 +02:00
Hillel Coren
403a30685e Check for default payment method 2017-02-02 08:53:40 +02:00
Hillel Coren
c0fbaf1e89 php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
Hillel Coren
1eb83a2642 php-cs-fixer clean up 2017-01-30 18:05:31 +02:00
Hillel Coren
18c8dfefb1 Support recurring invoices in Zapier 2017-01-29 13:30:57 +02:00
Hillel Coren
f9fef333ec Support refunding manual payment 2017-01-16 14:51:43 +02:00
Hillel Coren
00ae1d4a1c Support entering payment for draft invoice 2017-01-13 13:53:06 +02:00
Hillel Coren
67b7d6ff21 Make sure invoice is emailed if auto-billing fails 2016-12-22 19:42:21 +02:00
Hillel Coren
8bac6b6c27 Working on adding bulk actions to client page 2016-11-24 11:22:37 +02:00
Hillel Coren
147df1ef91 Standardize archive/deleted behaviors 2016-10-10 11:40:04 +03:00
Hillel Coren
32f341f448 Fix for payment refund 2016-10-06 08:44:19 +03:00
Hillel Coren
a0817d8de3 Check for payment driver 2016-07-19 20:15:03 +03:00
Hillel Coren
9d4c6a12dd Use credits when autobilling invoices 2016-07-19 20:12:28 +03:00
Hillel Coren
401851e212 Working on buy now buttons 2016-07-12 23:46:41 +03:00
Holger Lösken
0fbda85a59 Code Refactoring
- Removed unused uses
- Type hinting for method parameters
- Removed commented code
- Introduced comments for classes and methods
- Short array syntax
2016-07-03 16:19:22 +00:00
Hillel Coren
6ad49cf281 Fixing payment hooks 2016-06-23 16:15:52 +03:00
Hillel Coren
c9a19cbd76 Fixes for WePay 2016-06-21 19:10:22 +03:00
Hillel Coren
5ff69c6f29 Payments refactor 2016-06-20 17:14:43 +03:00
Hillel Coren
1e837c2368 Clarified/documented refund logic 2016-06-07 10:54:20 +03:00
Joshua Dwire
5eb76df20e Fix refunds on Stripe 2016-06-05 15:06:34 -04:00
Joshua Dwire
1c119fe35a ACH autobill bug fixes 2016-05-26 15:22:09 -04:00
Joshua Dwire
c9f00274b1 Support storing WePay bank tokens 2016-05-25 15:04:58 -04:00
Joshua Dwire
d19a3715f9 Warn user when editing an ACH auto bill invoice 2016-05-25 11:07:20 -04:00
Joshua Dwire
a5fdb88d79 Add support for auto bill on due date 2016-05-24 22:49:06 -04:00
Joshua Dwire
1f11d88d6b Store ip addresses for payments and payment methods 2016-05-24 18:00:59 -04:00
Hillel Coren
406df6f3d8 Fix for payment datatable list 2016-05-23 21:10:40 +03:00
Hillel Coren
e7bf0599db Separated out entity datatable classes 2016-05-23 19:52:20 +03:00
Joshua Dwire
f0d276be4c Listen for WePay IPNs 2016-05-18 09:51:20 -04:00
Joshua Dwire
43fade2339 Support app fees and Canadian users 2016-05-17 11:32:17 -04:00
Joshua Dwire
a482c63ee3 Payments bug fixes 2016-05-15 16:27:56 -04:00
Joshua Dwire
919aec2192 Better refund handling 2016-05-14 23:03:39 -04:00
Joshua Dwire
65feee34e3 Fox expiration off-by-one error 2016-05-14 22:43:55 -04:00
Joshua Dwire
8bc8b384c5 Fix auto bill error when the user hasn't entered payment information 2016-05-14 22:38:09 -04:00
Joshua Dwire
1524447cd4 WePay fixes; support account updater 2016-05-14 22:22:06 -04:00
Joshua Dwire
ce04c994dd Support payments and storing cards via WePay. 2016-05-13 09:30:22 -04:00