51 Commits

Author SHA1 Message Date
Joshua Dwire
40c30cce2f Laravel 6 support 2021-09-25 20:13:01 -04:00
Hillel Coren
2d02e4f569 Update open source references 2021-06-20 08:55:25 +03:00
David Bomba
aefe133ba0
fix permissions (#2637) 2019-01-30 22:25:37 +11:00
David Bomba
5ccf7369ca Rebase to v4.5.9 2019-01-30 21:45:46 +11:00
David Bomba
942b06f999
Update BaseAPIController.php 2018-07-22 13:22:38 +10:00
Hillel Coren
fe1362eef4 Changes for mobile app 2018-07-07 22:14:34 +03:00
Hillel Coren
c15a13b987 Support filtering API to active 2018-06-17 13:01:43 +03:00
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
9664b0531d Eager load API data 2018-02-26 12:04:25 +02:00
David Bomba
df8b896cf3
Update BaseAPIController.php
Refactor If blocks.
2018-01-31 13:16:30 +11:00
David Bomba
62c018835a
Update BaseAPIController.php
force == comparator
2018-01-31 13:04:31 +11:00
Hillel Coren
ec8c05a13f Undo task change 2018-01-09 13:07:32 +02:00
Hillel Coren
faad8e36bb Fix for start/stop task with API 2018-01-09 09:05:29 +02:00
Hillel Coren
0b7f3aa92f Remove per page API limit for self hosters 2017-12-31 20:57:22 +02:00
Hillel Coren
854d2ee955 Change from .dev to .test 2017-12-31 11:08:46 +02:00
Hillel Coren
482b5ed0e3 Add mark_sent to the API 2017-10-01 21:25:59 +03:00
Hillel Coren
763c5e08a5 Clean up error logs from API 2017-07-12 23:56:31 +03:00
Hillel Coren
3594d1bea0 API optimizations 2017-07-04 12:04:21 +03:00
Hillel Coren
7cfcaa72ec Add credit support to the API 2017-05-30 13:56:51 +03:00
Hillel Coren
827b93e40c Add 'action' to API docs 2017-05-22 12:16:27 +03:00
Hillel Coren
31cc9226a5 Merge pull request #1390 from chez-nestor/add_contact_api
Add a Contact API
2017-03-17 11:46:08 +02:00
Louis-Rémi Babé
79702cbf90 Fix header name for API token 2017-03-17 10:28:46 +01:00
Louis-Rémi Babé
d7f3ac8d2c Fix swagger's operationId for all API endpoints 2017-03-09 18:12:35 +01: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
59969a4677 Fix for API pagination 2016-07-17 13:31:31 +03:00
Hillel Coren
36e50e7bcb Fixes for the API 2016-07-15 16:47:18 +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
725522ea21 API changes for Zapier 2016-06-23 12:38:06 +03:00
Hillel Coren
fba37171ae Support query counter in webapp as well as API 2016-05-13 12:08:41 +03:00
Hillel Coren
5d00d18601 Added support for filtering API lists by updated_at 2016-05-05 00:26:39 +03:00
Hillel Coren
32bf47aacf Added support for filtering API lists by updated_at 2016-05-04 23:49:20 +03:00
Hillel Coren
db9d75ceff Changed vendorcontacts to vendor_contacts 2016-05-04 15:16:49 +03:00
Hillel Coren
2d878b6480 API optimizations 2016-05-03 23:02:29 +03:00
Hillel Coren
bf4c4d0ce5 Add user permissions to API delete 2016-05-03 11:53:00 +03:00
Hillel Coren
be420ad1fc API optimizations 2016-05-03 11:39:10 +03:00
Hillel Coren
6cd4ff025e API optimizations 2016-05-03 09:46:24 +03:00
Hillel Coren
65d70c620e Enabled setting per_page for API results 2016-05-02 23:06:36 +03:00
Hillel Coren
1d6011caad Working on permissions in the API 2016-05-02 11:38:01 +03:00
Hillel Coren
1b92f66482 Adding permissions to the API 2016-05-02 09:33:48 +03:00
Hillel Coren
4db5a19885 Refactored API index methods 2016-05-01 23:55:13 +03:00
David Bomba
1ab4bb636f Improving error reporting API 2016-02-17 08:48:10 +11:00
Hillel Coren
049c20f062 Zapier improvements 2016-02-16 17:30:09 +02:00
David Bomba
f8fee3e8cd Error handling for API 2016-02-15 21:24:06 +11:00
David Bomba
c0545be0d4 update account from API 2016-02-01 14:42:05 +11:00
steenrabol
dba3a39559 Vendor management 2016-01-06 15:23:58 +01:00
Hillel Coren
cf458c52a2 Working on the API 2015-11-27 14:55:28 +02:00
Hillel Coren
57245211d8 Added Swagger 2015-11-08 22:34:26 +02:00
Hillel Coren
ba90eb45ad Working on the API 2015-11-08 11:43:32 +02:00
Hillel Coren
cb243fec0a Working on the API 2015-11-05 10:44:48 +02:00